1 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
3 * cursor.C (bruteFind2): convert relative to absolute co-ordinates
4 for correct in-mathed positioning
6 2006-02-03 Martin Vermeer <martin.vermeer@hut.fi>
8 * rowpainter.C (paintForeignMark): fix foreign blue line under
11 2006-01-30 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13 * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start
14 pit of the uno range (bug 2022).
16 2006-01-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
18 * messages.C (get): Only warn once if setlocale fails (bug 2177)
20 2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
22 * text2.C (setCharFont): take inset's own font settings into account
23 when defining the font to reduce to, fixes 2019
25 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
27 * bufferview_funcs.C (coordOffset): remove the check for
28 collapsed collapsables (fix for bug 2094). This is now done
29 on a more general level (cursor.C).
31 * dociterator.[Ch] (forwardPos): add an optional argument
32 bool "ignorecollapsed" (default false), which lets forwardPos
33 skip collapsed insets.
35 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
36 (fixes bug 2241 and 2094).
38 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
40 * buffer.C: change tracking (dvipost) doesn't require
43 * LaTeXFeatures.C (getPackages): no need for the color
44 option "usenames" (bug 2169).
46 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
47 * buffer_funcs.C: Trivial fix - added {} around
48 the statements to be affected by a if-test. Now
49 label in a minipage in a float looks ok on screen again.
51 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
53 * text2.C: fix bug 2015: on screen fonts in nested environments
56 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
58 * converter.C (convert): handle unknown formats
60 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
62 * cursor.C (goUpDown): comment out some debug messages.
64 * counters.C (newCounter): make error messages more explicit
65 (these appear with some textclasses like beamer)
67 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
70 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
71 have origin set to KEYBOARD. (bug 2221)
73 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
75 * rowpainter.C (isCursorOnRow): do not exclude endpos().
77 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
79 * cursor.C (macroModeClose): returns true if an inset actually got
80 inserted; revert faulty fix to bug 2034.
82 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
84 * tabular.C (getLabelList): remove (not used anymore).
86 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
88 * outputparams.[Ch]: add new flag inComment
90 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
92 * text2.C (deleteEmptyParagraphMechanism): since we delete a
93 paragraph, recordUndo should span two paragraphs (bug 2155).
95 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
97 * rowpainter.C (paintPar): always repaint the row with the
100 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
106 * vspace.h: fix syntax error
108 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
110 * text3.C (dispatch): Force refresh if typing into inset changes its
113 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
118 * rowpainter.C: Speed up rendering by only re-painting rows that
119 have changed. When selection or whole-screen update active, all rows
120 are repainted, as are all rows within insets.
122 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
124 * version.C.in: Use PACKAGE_VERSION instead of VERSION
126 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
128 * tabular.C (toggleFixedWidth): Use default layout of text class
129 instead of hardcoded "Standard"
131 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
133 * lyxfunc.C (dispatch): do not call getStatus again to determine
134 whether a lfun is disabled (bug 2172).
136 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
138 * cursor.C (macroModeClose): set the cursor inside the new math
139 atom if relevant (think \frac{}{}) (bug 2034)
141 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
145 * text3.C (Delete, backspace): force update when merging paragraphs
147 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * BufferView.C (mouseSetCursor): clear the selection properly (bug
152 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
154 * text.C (redoParagraph): honor inset->noFontChange()
155 * rowpainter.C (paintInset): ditto
157 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
159 * lyx_main.C (priv_exec): don't initialize Math on startup
160 (initMath() has been moved to math_hullinset).
162 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
164 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
165 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
166 * paper.h: dispose dead PAPER_PACKAGES enum.
168 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
170 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
173 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
175 * exporter.C (Export): Don't try to copy a file if it does not exist
178 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
180 * text2.C (makeFontEntriesLayoutSpecific): remove.
183 * text.C (insertChar): remove bogus caching of fonts (did not do
186 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
187 ALL_SANE). (bug 2146)
189 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
191 * rowpainter.C (paintFirst): fix centering of
192 LABEL_CENTERED_TOP_ENVIRONMENT.
194 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * BufferView.C (mouseSetCursor): new method. Calls
197 deleteEmptyParagraphMechanism if necessary.
199 * lyxtext.h: make deleteEmptyParagraphMechanism public.
201 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
202 BufferView::mouseSetCursor (bug 2109).
203 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
205 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
207 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
208 do not remove it (this inset behaves differently from the others).
210 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
214 * BufferView_pimpl.C (getStatus): it is only possible to insert a
215 file in a text inset.
217 * buffer.C (readDocument): remove pit argument and code releated
218 to it; set the inset owner correctly (unrelated, but useful).
219 (readFile): get rid of pit argument.
221 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
222 textclass instead of a selection index.
223 (pasteParagraphList): new function.
224 (pasteSelection): make it a wrapper around pasteParagraphList.
226 * BufferView_pimpl.C (MenuInsertLyXFile): use
227 cap::pasteParagraphList to insert a file.
229 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
231 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
233 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
235 * exporter.C: fix typo in text message
237 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
239 * text2.C (setLayout): move recUndo call to other setLayout method
240 * tabular.C (toggleFixedWidth): new, handle cell width changes
241 * tabular.C (setColumnPWidth): move some code from insettabular.C here
242 and use toggleFixedWidth
243 * tabular.C (setMColumnPWidth): ditto
245 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
247 * paragraph.C (asString): use new inset->textString method (fix
250 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
252 * CutAndPaste.C (numberOfSelections): new helper function.
254 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
256 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
257 LyXFunc::getStatus; implement LFUN_PASTE.
259 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
261 * dociterator.[Ch]: new member realInset() that returns the cell
262 for tabulars and the inset for the rest (bug 1952).
263 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
266 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
268 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
270 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
274 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
277 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
279 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
280 line after typing ctrl-enter
282 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
284 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
285 math insets do not return a proper editable() state yet (bug 2124).
287 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
289 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
290 docs containing very large paragraphs.
292 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
294 * cursor.C (selectionBegin, selectionEnd):
295 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
296 cursor at different depths.
298 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
300 * bufferview_funcs.C (coordOffset): do not call cursorPos
301 for collapsed collapsables (fix bug 2094).
303 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
305 * paragraph.C (fontSpan): make sure that the FontSpan does not
306 span across beginOfBody (bug 1947).
308 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
310 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
312 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
314 * messages.C: fix crash and localization on MinGW/Windows platform
316 2005-11-02 Angus Leeming <leeming@lyx.org>
319 * lyxtextclass.C: trivial fixes to some MSVS warnings.
321 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
323 * text3.C (getStatus): re-enable disabled code. (bug 2081)
325 * BranchList.h (empty): constify.
327 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 * text3.C (getStatus):
330 * MenuBackend.C (expandBranches): take the branch list from the
331 master document (bug 2092).
333 * MenuBackend.C (expandBranches):
334 * bufferparams.C (writeFile): use BranchList type.
336 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
338 * text3.C (dispatch, getStatus):
339 * LyXAction.C (init):
340 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
342 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
344 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
346 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
348 * text.C (insertChar): do not reset boundary (bug 2061)
350 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
352 * dociterator.C (updateInsets): new method. Updates the inset_
353 cache of all the slices of the iterator.
355 * text2.C (deleteEmptyParagraphMechanism): compare also containing
356 insets when comparing pit/pos; pass the right cursor to
357 recordUndo; when a paragraph has been deleted, compare `old.top()' to
358 the right cursor slice of `cur'; use updateInsets on cur to make
359 sure that the inset caches are correct; general cleanup.
361 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
363 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
364 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
365 containg inset. If this does not work, the same command will be
366 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
368 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
371 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
373 * lyxtextclass.C (Read): convert layout file if the format is wrong
374 * lyxtextclass.C (layout2layout): new, needed for the above
376 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
378 * messages.C: do not forget to include <cerrno>.
380 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
382 * dociterator.h (StableDocIterator): add access to pos().
383 * undo.C (samePar): new method to check if two
384 iterators are in the same paragraph
385 * undo.C (recordUndo): check for samePar instead of cell identity
386 (which includes pos() and is too strict) (fixes bug 2097)
388 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
390 * text.C (setCursorFromCoordinates): return a bool telling whether
393 * text3.C (cursorPrevious): update if needed after
394 setCursorFromCoordinates (when dEPM triggered).
396 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
397 (otherwise the anchor may be completely wrong and make dEPM assert).
399 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
401 * buffer.C: version upgrade to 245.
402 * bufferparams.C: remove \quotes_times (bug 2090).
403 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
404 quotation marks as default.
406 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
408 * CutAndPaste.C (nrOfParagraphs): remove (unused)
409 * CutAndPaste.C (cutSelection): Remove debug message
410 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
411 undo information and only copy if this is a real cut
412 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
414 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
416 * CutAndPaste.C (eraseSelection): prevent cursor corruption
417 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
418 superflous cur.selection() setting
419 * CutAndPaste.[Ch] (grabSelection): take a const cursor
420 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
422 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
424 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
427 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
429 * BufferView_pimpl.C: comment layout change
431 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
435 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
436 by bibliography managers (bug 2071).
438 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
440 * BufferView_pimpl.C (update): choose arguments to update call so
441 that single-par update works most times
442 * text3.C (dispatch): carefully tune updating separately for
443 whole-screen and current-paragraph
444 * rowpainter.C (paintText): 1) replace painting by caching for
445 the two extra paragraphs, because we can;
446 2) suppress greying out of areas below/above drawn area in case of
448 * lyxfunc.C (dispatch): remove superfluous update
449 * LyXAction.[Ch]: introduce SingleParUpdate
451 2005-10-05 Angus Leeming <leeming@lyx.org>
453 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
454 always initialised before use.
456 * text.C (setHeightOfRow): squash warning about comparison
457 of signed and unsigned types.
459 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
461 * text.C (cursorX): two fixes involving RtL text drawing
463 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
465 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
466 items, not only large ones (part of bug 2057)
468 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
470 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
471 argument, use "newcommand".
473 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
475 * cursor.C (setSelection): do not open collapsable insets;
476 the insets do by themselves now (autoopen).
478 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
480 * buffer.C: format is up to 244.
482 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
484 * text.C (redoParagraph): fix calcultation of inset width wrt
485 leftMargin (bug 1957).
487 * text3.C (dispatch): leave inset to the right when hitting ESC
490 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
495 * messages.C: include <boost/current_function.hpp>
497 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
499 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
500 when command is internal. (bug 1941)
502 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
504 * text2.C (cursorRight): do not honor boundary when at the end of
505 a paragraph. (bug 2010 again)
507 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
509 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
511 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
513 * rowpainter.C (paintText): fix RtL space width display bug (2029)
515 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
517 * text2.C (setCursor): remove the unused 'boundary' parameter for
518 the CursorSlice version; adapt the LCursor version.
521 * paragraph_pimpl.C (markErased):
522 * cursor.C (bruteFind2, bruteFond3): fix warnings.
524 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
526 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
527 as is already done for "chapter".
529 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
531 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
532 textclass; do not record undo if nothing is changed.
534 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
536 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
538 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
540 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
542 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
544 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
545 combox, it is necessary to search for the topmost paragraph in the
546 cursor stack (bug 1926)
548 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
550 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
551 end of paragraph. (bug 2010)
553 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
555 * text.C (leftMargin): check for inInset == 0
557 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
559 * text.C (leftMargin): test for insetbase's new neverIndent()
560 bool instead of listing each and every inset that does not
561 wish par indendation.
563 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
565 * buffer_funcs.C (setCounter): put the code to compute enum label
566 here (where it belongs).
568 * counters.C (enumLabel): move code to buffer_funcs.C.
570 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
572 * outputparams.[Ch]: store local_font instead of local_language
573 * paragraph.C (simpleTeXOnePar): adapt to the change above
575 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
578 * counters.[Ch]: clean up special code for Hebrew.
580 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
582 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
585 2005-09-08 Angus Leeming <leeming@lyx.org>
588 * lyxrc.C: correct grammar describing invocation of the
591 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
593 * text.C (read): remove unused variable.
594 (readParToken): remove static Change variable (never good in
595 recursive settings...); add it as a parameter instead.
597 * paragraph_pimpl.C (acceptChange): make debug info conditional.
599 * metricsinfo.C (PainterInfo): add new member erased_.
601 * rowpainter.C (RowPainter): add erased_ member, initialized from
603 (paintInset): pass erased_ to Inset::draw.
605 * lyxfunc.C (lookupChange): new function. Tells whether change
606 tracking is disabled at a given postion.
607 (getStatus): disable some actions when in deleted text with change
610 2005-08-03 John Levon <levon@movementarian.org>
612 * tabular.C (appendColumn, setMultiColumn): adapt to change to
615 * paragraph_pimpl.C (markErased): add bool argument and handle it.
616 Also make sure to mark insets recursively.
617 (rejectChange, erase): be recursive
619 * paragraph.C (markErased): add bool argument.
620 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
622 * lyxfind.C (findNextChange): tiny cleanup.
624 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
625 change tracking with the cursor in an inset; make sure the first
626 change is not skipped.
628 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
630 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
631 tabularStackDirty to work around bug 1919 (tabular needs
632 to know whether its own cell paste buffer or the one of
634 * CutAndPaste.C: mark tabular_stack_ clean after copy.
636 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
638 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
640 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
642 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
643 use old deleteion algorithm when changetracking is on.
645 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
647 * messages.C (get): add debug output.
649 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
651 * text.C (cursorX): fix bug 1965: cursor movement at
652 line end broken in RtL.
653 (drawSelection): fix bug 1970: drawing of single-line
654 selection broken for RtL.
656 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
660 * dociterator.h (clear, push_back, pop_back): change from
663 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
664 and changed to just return the value of the item depth; take a
665 ParIterator as argument; take the itemdepth at outer nesting level
666 in account if necessary; cleanup and comment the code.
667 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
668 and changed to just return true if reset is needed; take a
669 ParIterator as argument; cleanup and comment the code.
670 (setCounter): adapt to above changes.
672 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
674 * text3.C (dispatch): make debug message optional
676 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
678 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
681 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
683 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
685 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
687 * text.C (insertChar):
688 * text2.C (deleteEmptyParagraphMechanism): take care whether
689 a blank has been deleted (in change tracking mode) (bug 1254).
691 2005-07-20 John Levon <levon@movementarian.org>
693 * text2.C (insertStringAsLines): remove old dubious code,
696 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
698 * MenuBackend.C (expandToc): use Floating::listName() as title of
701 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
703 * toc.[Ch]: Do not use translatable strings (bug 1870).
705 2005-07-20 John Levon <levon@movementarian.org>
707 * tabular.C: fix 1748 - setting multicolumn adds
708 left line to the first cell
710 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
713 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
716 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
718 * messages.C: supress some lyxerr messages
720 2005-07-18 Juergen Vigna <jug@lyx.org>
722 * text.C (drawSelection): honor boundary when asking for cursorX.
724 2005-07-17 José Matos <jamatos@fc.up.pt>
726 * tabular.C (recalculateMulticolumns): fix handling of one column
729 2005-07-17 Juergen Vigna <jug@lyx.org>
731 * text.C (Delete, backspace): fixed so that paragraph with the
732 same layout can be merged by Delete/Backspace.
734 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
736 * text.C (readParToken): fix spelling.
738 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
740 * text2.C: fix counter update for DEPM problem reported by
743 2005-07-17 Juergen Vigna <jug@lyx.org>
745 * BufferView_pimpl.C (setBuffer): save/restore the
746 cursor/selection when switching buffers
749 * buffer.C (saveCursor): add saveDocumentIterators to save the
750 cursor when switching buffer.
752 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
755 * buffer.C: clarify message
757 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
759 * dociterator.C (DocIterator): fix initialization order
761 2005-07-17 Juergen Vigna <jug@lyx.org>
763 * text2.C (cursorHome):
764 * text.C (drawSelection, cursorX):
765 * dociterator.C (textRow): add boundary to getRow() call
767 * paragraph.C (getRow): implementation of below
769 * paragraph.h: add parameter boundary for getRow() function
771 2005-07-17 José Matos <jamatos@fc.up.pt>
775 * tex-strings.[Ch]: new file format, remove support for a4.sty,
776 a4wide.sty and a4widemargins.
778 2005-07-17 Juergen Vigna <jug@lyx.org>
780 * text2.C (cursorLeft): fix one of error
782 2005-07-17 Juergen Vigna <jug@lyx.org>
784 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
786 more fixes for boundary handling
788 * text3.C (dispatch): don't reset cursor if boundary has changed
791 2005-07-16 Juergen Vigna <jug@lyx.org>
793 * text2.C (getColumnNearX): hopefully got it right now,
794 check if we are on column 0 for special case.
796 2005-07-16 Juergen Vigna <jug@lyx.org>
798 * text2.C (getColumnNearX): handle special case Newline Inset
800 * text.C (singleWidth): Just remove bogus check
802 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
804 * funcrequest.C (split): avoid reading uninitialized char c
806 2005-07-16 José Matos <jamatos@fc.up.pt>
812 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
813 single papersize variable.
815 2005-07-16 Juergen Vigna <jug@lyx.org>
817 * text3.C (dispatch): honor boundary when checking if a cursor
818 movement has been done
820 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
821 (setCursor, setCursorIntern): fix cursor movement with boundary
823 2005-07-16 Juergen Vigna <jug@lyx.org>
825 * text.C (currentState): output the actual Boundary
827 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
829 * factory.C (createInset): fix bad logic for tabular creation
831 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
833 * lyx_main.C (init): change some reLyX reference to tex2lyx
835 2005-07-16 Juergen Vigna <jug@lyx.org>
837 * dociterator.C (DocIterator): initialize boundary
839 2005-07-16 Juergen Vigna <jug@lyx.org>
841 * text2.C (getColumnNearX): Consider rows without trailing blank.
843 2005-07-16 André Pönitz <poenitz@gmx.net>
845 * lyxfont.h: Change order of declarations to give the compiler
846 a better chance to inline things
848 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
849 questions on unsaved docs for better scritability
851 2005-07-16 André Pönitz <poenitz@gmx.net>
853 * paragraph.h (getChar): remove asserts as the same kind of security
854 can be achieved by using a suitable standard library implementation
855 and the function was in the critical path (25.9% in profiler)
857 2005-07-16 Juergen Vigna <jug@lyx.org>
859 * cursor.C (bruteFind2):
860 * bufferview_funcs.C (coordOffset):
861 * text.C (cursorX,cursorY): Handle cursor position after last char
862 in row before a inset which uses a whole row.
864 2005-07-15 José Matos <jamatos@lyx.org>
866 * output_plaintext.[Ch] (writeFileAscii): control reference title
868 (asciiParagraph): noparbreak was already deal and was incorrectly
871 2005-07-15 Juergen Vigna <jug@lyx.org>
873 * lyxfunc.C (dispatch): save and restore the cursor after a
876 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
878 * text.C (backspace): bug 806 for empty keepempty paragraphs we
879 change the layout to default before letting DEPM do its thing.
881 * paragraph_funcs.C (breakParagraph): dont reset the layout on
884 * text.C (setCursorFromCoordinates): add a debug statement
886 * text2.C (getColumnNearX): bug 1825 make sure that we don't
887 return a pos that is not on the row
889 * output_latex.C (TeXDeeper): get rid of potential dereferencing
890 of past the end iterator
892 2005-07-14 André Pönitz <poenitz@gmx.net>
894 * undo.C (recordUndoFullBuffer): implement undo for
897 2005-07-14 André Pönitz <poenitz@gmx.net>
899 * cursor.C (setSelection): open insets when selection is set there
900 to avoid crashs with cold coord cache
902 2005-07-14 André Pönitz <poenitz@gmx.net>
904 * trans_mgr.C (insert): move cursor to the right after inserting
907 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
909 * BufferView_pimpl.C (update): dampen some of the debug blabbering
910 * factory.C (readInset): ditto
911 * text.C, text2.C: ditto
913 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
915 * buffer.C: format incremented to 242. There is no file format per
916 se, but the "frenchb" language has been removed from lib/language
917 and has to be translated to "french" by lyx2lyx.
919 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
921 * cursor_slice.h, dociterator.h: add some documentation
922 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
924 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
926 * text.C (leftMargin): do not add identation to display() style
927 insets, because they are always centered (bug 1293).
929 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
931 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
932 formatted_time methods in support/lyxtime.
934 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
936 * toc.[Ch]: new method getGuiName, which is used by the frontends
937 to set the toc combo (fixes bug 1870). Make TOC string translatable.
939 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
941 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
942 StableDocIterator const &)
943 * undo.C (recordUndo): use the above instead of cell.size() comparison
944 (fixes bug 1808; instructed by Andr�.
946 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
949 * dociterator.h: Fix the assert when copying rows/cols in math
951 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
953 * BufferView_pimpl.C:
955 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
957 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
958 (findInset): new functions, refactored from goto Inset that return
959 the position of a certain inset without setting the buffer's cursor
961 (gotoInset): rewrite to call findInset and then set the cursor
964 2005-06-16 Angus Leeming <leeming@lyx.org>
966 * lyxrc.C (output, read): wrap all input and output of paths with
967 calls to os::internal_path and os::external_path, respectively.
968 (output): wrap bind_file inside quotes.
970 * format.C (view): enable the viewer to use the '$$s' placeholder.
972 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
974 * LColor.[Ch] (getFromLaTeXName): new
976 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
978 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
980 2005-06-14 Angus Leeming <leeming@lyx.org>
982 * lyx_main.C (init): ensure that the LyX binary dir is the first
983 element in the PATH on non-POSIX builds.
985 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
987 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
989 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
991 * rowpainter.C (paintInset, paintHebrewComposeChar)
992 (paintArabicComposeChar, paintChars): add a LyXFont argument.
993 (paintChars): use getFontSpan to reduce calls to getFont to a
994 minimum; use Paragraph::lookupChange instead of isXXXText.
995 (paintForeignMark): rename LyXFont argument.
996 (paintFromPos): pass a LyXFont object to the various paintXXX
999 * FontIterator.C (FontIterator, operator++): use
1000 Paragraph::getFontSpan
1002 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1003 version that returns the font span as a pair.
1005 2005-06-09 Angus Leeming <leeming@lyx.org>
1007 * converter.C (convert): Don't forget "outfile = real_outfile" as
1008 the final step in a conversion where the input and output file names
1009 are the same. Otherwise, future conversion steps won't work...
1011 2005-06-09 Angus Leeming <leeming@lyx.org>
1013 * lyxsocket.C: remove stub code as it isn't needed by
1014 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1016 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1018 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1019 effectively disabled -x
1021 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1023 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1024 when it actually makes sense.
1026 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1028 * BufferView_pimpl.C: revert to showCursor in connection with
1029 Lars's front-end stack
1031 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1033 * text.C (redoParagraph): move cursor right after a bibitem
1036 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1038 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1040 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1043 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1045 * BufferView.[Ch] (update):
1046 * BufferView_pimpl.[Ch] (update, metrics):
1047 * dimension.h (operator==):
1048 * lyxfunc.C (dispatch):
1049 * metricsinfo.h (ViewMetricsInfo):
1050 * rowpainter.C (paintText):
1052 * text.C (redoParagraph):
1053 * text3.C (dispatch): Make LyX only repaint current paragraph in
1054 case of character insert --> speedup. Also fix cursor draw
1057 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1059 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1060 avoid a crash (bug 1891)
1062 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1066 * text2.C (getStringToIndex): constify cur argument.
1068 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1069 argument has been given
1070 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1071 try to invoke LFUN_INSET_APPLY).
1073 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1074 if no inset was created by doInsertInset
1075 (doInsertInset): return true if an inset has been inserted.
1077 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1079 * vspace.C (asGUIName): new method. A version of the space
1080 suitable for showing on screen.
1082 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1085 * lyxrc.C: rename "ASCII" to "Plain Text"
1087 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1089 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1090 translate the labelstring.
1091 (setCounter): translate labelstring as needed.
1093 * output_docbook.C (makeCommand): fix expandLabel invokation
1095 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1097 * BufferView.C: fix dialog title
1099 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1101 * lyx_main.C (priv_exec): fix logic error with help from Angus
1102 * lyx_main.C (parse_execute): set is_gui = false and remove now
1103 obsolete comment about a segfault
1105 2005-05-18 Angus Leeming <leeming@lyx.org>
1107 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1109 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1111 * tabular.[hC]: added setCellInset to fix tabular paste.
1113 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1115 * buffer.C (save): check if destination is writable before trying
1118 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1120 * BufferView_pimpl.C (update): fix processEvents -caused update
1123 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1125 * buffer_funcs.C (setCounter): fix test for numbering of
1128 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1129 depth correctly; use optional argument when it exists
1131 * lyxtextclass.C: remove unused MaxCounterTags enum
1132 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1133 (max_toclevel, min_toclevel): new methods.
1135 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1136 the smallest depth in toc.
1138 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1139 layouts that should not appear in a table of contents.
1141 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1143 * cursor.h (undispatched, noUpdate): add comments from Andr�
1144 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1148 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1150 2005-05-07 André Pönitz <poenitz@gmx.net>
1152 * cursor.[Ch] (leaveInset): new function
1154 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1156 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1158 2005-05-04 Angus Leeming <leeming@lyx.org>
1160 * lyxfunc.C (getStatus): disable the spell checker dialog if
1161 none of USE_[AIP]SPELL are defined.
1163 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1165 * tabular.C (setWidthOfCell): remove obsolete comment
1167 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1169 * paragraph.C (bibitem):
1170 * buffer_funcs.C (setCounter):
1171 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1173 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1175 * text3.C (getStatus): immediately return after setOnOff
1177 * rowpainter.C: fix drawing of appendix start
1179 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1181 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1182 SwitchBetweenClasses and remove the unused return value.
1183 Handle character styles, too
1185 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1187 * factory.C (createInset): handle undefined character styles
1189 2005-05-02 Angus Leeming <leeming@lyx.org>
1191 * buffer.C: protect the #include of utime.h with a preprocessor
1194 2005-05-02 Angus Leeming <leeming@lyx.org>
1196 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1197 function so that auto-saving works, albeit in a blocking manner.
1199 * Makefile.am: make compilation of the client sub directory, of
1200 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1201 on conditionals set at configure time.
1203 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1204 it can be compiled in its own right but has no-op functionality.
1206 * aspell.C, pspell.C: remove preprocessor guards. The files should
1207 be compiled only if the necessary functionality exists.
1209 * lyxserver.C, lyxsocket.C: disable on Windows.
1211 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1213 * text.C (leftMargin): Fix the parindent use bug (1764)
1216 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1218 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1221 2005-04-25 Angus Leeming <leeming@lyx.org>
1229 include <config.h> in .C files, not .h ones.
1231 protect headers inside preprocessor guards.
1233 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1235 * FuncStatus.h (StatusCodes): document
1237 2005-04-21 André Pönitz <poenitz@gmx.net>
1239 * FuncStatus.h (enabled, onoff): document
1241 2005-04-19 Angus Leeming <leeming@lyx.org>
1243 * BufferView_pimpl.C (cursorToggle): no longer test whether
1244 any child processes have been reaped before calling
1245 handleCompletedProcesses().
1247 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1249 * text3.C (dispatch): fix, finally fix, the language problem in
1250 new lyxtexts, without disabling on-the-fly font changes (Helge's
1253 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1255 * text3.C (dispatch): set cursor on double/triple click events
1258 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1260 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1261 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1263 * rowpainter.C (paintFirst): simplify the code a little bit. In
1264 particular, remove the test for secnumdepth.
1265 * text.C (setHeightOfRow): only allocate space for chapter number
1266 when updateCounters provided an actual label, instead of looking
1267 at secnumdepth directly.
1269 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1271 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1272 paragraphs when secnumdepth is large enough or, for environments,
1273 when they are not the first in a sequence.
1275 2005-04-17 Angus Leeming <leeming@lyx.org>
1277 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1278 containing space and '~' characters with a call to latex_path().
1280 2005-04-17 Angus Leeming <leeming@lyx.org>
1282 * converter.C (convert): protect all args of convertDefault.sh
1285 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1287 * text3.C (dispatch): change the layout to "Caption" after inserting
1290 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1292 * text3.C (dispatch): fix language problem in newly created
1293 textinsets (and main text) in non-english docs
1295 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1297 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1298 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1299 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1301 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1305 * text2.C (getFont):
1306 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1309 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1311 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1312 output of \item arguments without trailing text.
1314 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1316 * FontIterator.C (operator*): avoid a copy of the font.
1318 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1320 * rowpainter.C (getFont): fix language bug from previous fix
1322 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1324 * rowpainter.C (RowPainter, getFont): fix font inside inset
1327 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1329 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1330 preventing inserted font, deco, delim insets jumping to start of
1333 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1335 * lyxfunc.C (dispatch): translate message before sending it to the
1338 2005-03-29 Angus Leeming <leeming@lyx.org>
1340 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1341 to LyX on the command line.
1343 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1345 * vc-backend.C: use QuoteName to protect file names wherever
1348 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1351 * BranchList.h: fix bugs 1844,1845: document settings don't
1354 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1356 * lyxrc.C (setDefaults, read, output, getDescription): add support
1357 for tex_allows_spaces.
1359 * exporter.C (Export): allows files in directory containing spaces
1360 if tex_allows_spaces is true.
1362 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1363 output it in double quotes.
1365 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1367 * rowpainter.C: use default text height for drawing change tracker
1370 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1372 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1374 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1376 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1377 directory is missing.
1379 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1381 * text2.C: fixed the fix, extended to other case.
1383 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1385 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1387 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1389 * text2.C (cursorUp): get rid of a crash
1390 * text.C (x2pos): add an assert
1392 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1394 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1398 * dociterator.C: include <boost/current_function.hpp>, which is
1399 needed when assertions are disabled.
1401 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1403 * text2.C: fix for stuck cursor when traversing two
1404 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1406 2005-02-25 Andreas Vox <avox@arcor.de>
1408 * output_docbook.C (makeParagraph): suppress trailing newline
1409 after a run of paragraphs
1411 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1413 * paragraph.C: fix for confused change tracker when pasting
1414 text that begins with a lineseparator. [bug 1827]
1415 (setChange(0, Change::INSERTED);)
1417 * paragraph_funcs.C: fix for lost changes on triple-paste
1418 in change tracking mode [bug 1827] (par.setChange()).
1420 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1422 * text2.C (updateCounters, setCounter, expandLabel): move to
1425 * buffer_funcs.C (updateCounters): turn into a free standing
1426 function and add a buffer parameter. Remove dead code for tracking
1428 (setCounter): change into a free-standing function which gets a
1429 dociterator as argument. Use this iterator to fix captions in a
1430 simple way. When no float is found above the caption, use the
1431 labelstring of the caption layout as default.
1433 * text.C (breakParagraph, backspace):
1434 * text2.C (init, setLayout, changeDepth):
1435 * text3.C (dispatch):
1436 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1439 * dociterator.C (forwardPar): make it much faster by calling
1440 forwardPos() only when really necessary.
1442 * output_docbook.C (makeCommand): adapt to expandLabel move.
1444 * cursor.C: remove unused variable
1446 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1448 * paragraph_funcs.C: fix crash when pasting insets in change
1449 tracking mode [bug 1277] (honour change type in moveItem).
1451 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1453 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1455 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1457 * BufferView.C (setCursor): change to use a DocIterator.
1458 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1459 (putSelectionAt): adapt to BufferView::setCursor change.
1461 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1462 moved here from LyXText and rewritten to use proper cursor
1463 methods. Fixes bug 1787, 616 and 835.
1465 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1466 when inside an inset (part of bug 781).
1467 (dispatch): adapt to change of BufferView::setCursor.
1468 (getStatus, dispatch): handle LFUN_GOTOERROR,
1469 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1471 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1472 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1473 * text3.C (gotoNextInset, gotoInset): removed.
1475 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1477 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1479 2005-02-15 Angus Leeming <leeming@lyx.org>
1481 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1482 can be used meaningfully in a comparison.
1484 2005-02-13 André Pönitz <poenitz@gmx.net>
1486 * bufferview_funcs.C (coordOffset): improve cursor drawing
1488 2005-02-13 André Pönitz <poenitz@gmx.net>
1490 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1491 * Cursor.C (dispatch): use fixIfBroken
1492 * lyxfunc.C (getStatus): use fixIfBroken
1494 2005-02-15 Angus Leeming <leeming@lyx.org>
1496 * lyx_main.C (error_handler):
1498 * lyxrc.C (setDefaults):
1500 #include "environment.h".
1502 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1504 2005-02-15 Angus Leeming <leeming@lyx.org>
1506 * lyxserver.C (startPipe): squash MSVC warning "local variable
1507 'fd' used without having been initialized".
1509 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1511 * BufferView_pimpl.C: revert accidental commit.
1513 2005-02-14 André Pönitz <poenitz@gmx.net>
1515 * dociterator.[Ch]: new member forwardPosNoDescent(),
1516 which doesn't enter nested insets.
1517 * text2.C (setFont): use forwardPosNoDescent() instead
1518 of ForwardPos() (fixes crash on font change).
1520 2005-02-13 Angus Leeming <leeming@lyx.org>
1522 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1523 only if lyxrc.path_prefix is not empty.
1525 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1527 * bufferparams.C (readGraphicsDriver): prevent crash
1529 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1531 * text2.C (setCounter): check for inInset() == 0
1533 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1535 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1536 but use update() to get correct screen display; use convert
1537 instead of istringstream.
1538 (getStatus): handle LFUN_GOTO_PARAGRAPH
1540 * lyxfunc.C (dispatch, getStatus): do not handle
1541 LFUN_GOTO_PARAGRAPH here.
1543 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1545 * text3.C (dispatch): size() -> depth()
1547 * text2.C: remove some debug output
1549 * paragraph.C: ws changes only
1551 * lyxfunc.C (getStatus): size() -> depth()
1553 * dociterator.h (clear, push_back, pop_back, internalData,
1554 operator[], resize, empty): new functions
1555 Make StableDocIterator and operator== be friends. Don't inherit
1556 from std::vector use a privat class variable slices_ instead.
1559 * dociterator.C: update because of not inheriting from std::vector
1560 anymore. Call explictly to slices_ instead. Use depth() instead of
1561 size() and top() instead of back()
1563 * cursor.C: chagne size() -> depth and back() -> top(). Also
1564 remove some direct operator[](i) calls in favour of foo[i]
1565 (getFont): remove some dead code
1567 * bufferview_funcs.C (coordOffset): size() -> depth()
1569 * buffer.C: ws changes only
1571 * CutAndPaste.C (eraseSelection): back() -> top()
1573 * BufferView_pimpl.C (selectionRequested): back() -> top()
1575 * BufferView.C (setCursor): size() -> depth()
1577 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1579 * text3.C (cursorPrevious): return true if depm changed something
1581 (dispatch): rename sl to oldTopSlice, remove moving use the new
1582 NoUpdate func attrib instead. Make sure that needsUpdate is set
1583 for function that have NoUpdate, but where depm might have changed
1586 * text2.C (cursorLeft): make us return true if depm changed
1588 (cursorRight): ditto
1589 (cursorUpParagraph): ditto
1590 (curosrDownParagraph): ditto
1591 (cursorUp, cursorDown): ditto, make sure to read comments in code
1592 (deleteEmptyParagraphMechanism): remove an assert, also return
1593 true if just a single char was deleted.
1595 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1596 cursor that we modify, to avoid modifying an active cursor before
1597 we call setCursor. This allows depm to run. Also return true if
1598 depm deleted something.
1600 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1601 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1602 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1603 something was changed in the buffer because of them (ie. depm run)
1605 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1606 debug messages. Make update by default be false. Make sure that
1607 the result of update is retained throught several calls down to
1610 * LyXAction.h: add a new func_attrib: NoUpdate
1612 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1613 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1614 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1616 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1618 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1620 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1621 bv_->owner(), bv_->buffer() by direct references to the private
1623 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1624 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1625 (fitCursor): center() is in BufferView::Pimpl.
1626 (getStatus, trackChanges, dispatch): no need for a temporary buf
1628 (fitCursor, workAreaDispatch): use workarea().workheight()
1630 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1632 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1634 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1636 * buffer.C: format up to 241.
1637 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1638 break if pasting into ERT
1639 * lyxfunc.C (getStatus): suppress mathpanel and
1640 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1642 2005-02-01 Angus Leeming <leeming@lyx.org>
1644 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1646 2005-02-01 Angus Leeming <leeming@lyx.org>
1648 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1649 calling fs::is_directory().
1651 2005-01-31 Angus Leeming <leeming@lyx.org>
1653 * lyx_main.C (priv_exec): specify explicitly the relative location
1654 of the top level build directory when run in-place.
1656 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1658 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1659 LyXText containing the cursor, not the top-level one.
1661 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1663 (insertStringAsLines): rename par to pit; use temporary variable
1664 par to hold a Paragraph; do not store par.layout() in a variable,
1665 since the pointer may die when breaking paragraphs; pass pars to
1666 breakParagraph() instead of Buffer::paragraphs().
1668 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1670 * lyxlex_pimpl.h: #include <fstream>.
1672 * BufferView.[Ch] (getLyXText): add a const version.
1674 * BufferView_pimpl.C: add debug aids.
1679 * paragraph_funcs.h: add commentary explaining what the class does.
1682 * coordcache.[Ch]: add lots of commentary.
1683 (startUpdating, doneUpdating): debug aids.
1684 (arrays, insets, parPos, getParPos): accessors to private data.
1686 * cursor_slice.[Ch] (text): add a const version.
1687 * dociterator.[Ch] (text, innerText): add const versions.
1689 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1692 * paragraph.C (getRow, pos2ros): add asserts.
1694 * paragraph.h: add commentary. Lots of.
1696 * paragraph.[Ch] (metrucs, draw): removed.
1699 * rowpainter.[Ch]: const-correct changes.
1701 * text.C: various obvious clean-ups. Removal of ancient cruft.
1704 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1706 * vc-backend.C (find_file): rewrite to use boost.filesystem
1709 * main.C (main): set default name check for boost.filesystem to
1712 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1715 (actOnUpdatedPrefs): ditto
1717 * lyx_main.C (init): rewrite to use boost.filesystem
1718 (queryUserLyXDir): ditto
1720 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1721 (getContentsOfAsciiFile): ditto
1723 * lastfiles.C (readFile): rewrite to use boost.filesystem
1725 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1727 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1728 (loadLyXFile): ditto
1730 * buffer.C (Buffer): adjust for destroydir
1731 (getLogName): rewrite to use boost.filesystem
1732 (setFileName): ditto
1733 (save): use fs::copy_file (from fs_extras)
1735 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1737 * LaTeX.C (run): rewrite to use boost.filesystem
1738 (scanAuxFiles): ditto
1739 (handleFoundFile): ditto
1741 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1743 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1745 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1747 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1749 * lyxlayout.[Ch]: change some vars from float to double
1751 * buffer.C (readFile): make a local var const
1753 * Several files: use convert<> instead of atoi,strToXXX and friends
1755 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1757 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1758 holds the contents of packages.lst. New functions getAvailable
1759 and isAvailable to parse and check that list, resp.
1763 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1765 * bufferparams.[Ch]: new param output_changes.
1767 * Buffer.C: increase file format to 240.
1768 Use output_changes and isVailable.
1772 * paragraph_pimpl.C: Use output_changes and isVailable.
1774 2005-01-23 Angus Leeming <leeming@lyx.org>
1776 * output_latex.C: #include "insetbibitem.h", rather than
1777 forward declare function bibitemWidest.
1779 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1781 * lyx_main.C (init): make it compile on the Mac.
1783 2005-01-20 Angus Leeming <leeming@lyx.org>
1785 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1786 (setLyXMisc): (char string literal) != (char string literal) is
1787 performing a comparison on the addresses. Convert one operand
1788 explicitly to string to guarantee expected behaviour.
1791 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1794 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1796 * output_plaintext.C: remove unneeded #include gzstream.h.
1798 2005-01-20 Angus Leeming <leeming@lyx.org>
1800 * SpellBase.h: rename some of the elements of the Result enum.
1807 * pspell.C (check): ditto
1809 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1811 * buffer.C: add #include <fstream>.
1813 * lyx_main.C (init): Compile fix.
1815 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1817 2005-01-20 Angus Leeming <leeming@lyx.org>
1819 * mover.h: change commentary to reflect the changed meaning of
1820 the $$s placeholder.
1822 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1824 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1826 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1828 2005-01-20 Angus Leeming <leeming@lyx.org>
1830 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1831 printing diagnostic data by not dereferecing an iterator past the
1834 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1836 * buffer.C (readHeader): use "&&" rather than "and".
1838 * lyxserver.h (inPipeName, outPipeName): make these const.
1840 2005-01-19 Angus Leeming <leeming@lyx.org>
1842 * lyx_main.C (error_handler, init): protect SIGHUP with
1843 #ifdef SIGHUP guards.
1845 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1847 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1849 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1851 * text.C (setHeightOfRow): add a margin at the top and bottom of
1852 the document (bug 1761)
1854 2005-01-17 Angus Leeming <leeming@lyx.org>
1856 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1857 with "python ". Workaround for a brain-dead Windows.
1859 2005-01-16 Angus Leeming <leeming@lyx.org>
1861 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1862 for MacOSX and Windows to use prependEnvPath.
1863 Strip out the hard-coded block to add elements to the PATH for
1864 MacOSX and replace it with a call to prependEnvPath using the
1865 contents of LyXRC::path_prefix.
1866 (queryUserLyXDir): strip out the code to run reconfigure, instead
1867 returning a boolean indicating the necessity to do so.
1868 (reconfigureUserLyXDir): contains the code to reconfigure the
1869 user support directory. Is now called after the various LyXRC data
1870 files have been read.
1872 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1874 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1876 * converter.[Ch] (convert): take a new parameter try_default. Use
1877 a default converter (imagemagick) if try_default is true.
1879 2005-01-13 Angus Leeming <leeming@lyx.org>
1881 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1882 os::cygwin_path_fix.
1883 (write): output LyXRC::cygwin_path_fix as necessary.
1885 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1888 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1890 2005-01-12 Angus Leeming <leeming@lyx.org>
1892 * lyx_main.C (init): set the PATH variable to include the
1893 directory containing the LyX binary when running on Mac or Windows.
1895 2005-01-12 Angus Leeming <leeming@lyx.org>
1897 * lyx_main.C (init): remove cruft that purports to set the locale
1898 dir. It doesn't and is not needed anyway.
1900 2005-01-10 Angus Leeming <leeming@lyx.org>
1902 * Makefile.am: remove the lyx_main.C special casing.
1904 * BufferView_pimpl.C:
1910 * messages.C: use support/package.h to provide the paths to the
1911 various directories used by LyX.
1913 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1915 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1916 layout if pasting into an empty paragraph)
1918 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1920 * tex-accent.C: add <string>
1922 2005-01-06 José Matos <jamatos@lyx.org>
1924 * ParagraphParameters.C (write): put every parameter in its own line.
1925 * paragraph.C (write): reduce number of consecutive empty lines exported.
1926 * buffer.C (LYX_FORMAT): increase file format to 239.
1928 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1930 * everywhere: change support/tostr.h -> support/convert.h
1932 * tabular.C: make all write_attributes templates, tostr -> convert
1934 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1935 (emptyTag): and -> &&, and fix type for ret from getChar
1936 (getFirstWord): fix type for ret from getChar
1937 (onlyText): and -> &&
1938 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1941 * toc.C (goTo, action):
1942 * text3.C (dispatch):
1943 * text.C (currentState):
1944 * tex-accent.C (DoAccent):
1947 * lyxfunc.C (menuNew):
1948 * lyxfinc.C (replace):
1949 * counters.C (laberItem):
1950 * bufferview_funcs.C (font2string):
1951 * bufferparams.C (writeFile):
1952 * buffer.C (readFile):
1954 * MenuBackend.C: tostr -> convert
1956 * LaTeX.C (runMessage): fix format
1957 (scanAuxFiles): tostr -> convert
1959 * BufferView_pimpl.C (savePosition): fix format
1960 (restorePosition): ditto
1963 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1965 * Spacing.[Ch]: New method getValueAsString().
1969 * ParagraphParameters.C:
1972 * text3.C: store/read spacing value as string.
1974 * rowpainter.C: change float value (spacing_val) to double.
1976 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1977 broken custom document spacing).
1979 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1981 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1982 namespace, also more use of temp references and const
1984 * cursor.[Ch] (getStatus): move to lyxfunc.C
1986 * bufferparams.C: reformat slightly
1988 * bufferview_funcs.C (font2string): constify arg
1994 * buffer_funcs.C: (many funcs): constify arg on function
1995 definitions, also make more local vars const, also add ASSERTS on
1998 * buffer.C (LYX_FORMAT): put const in correct place
1999 (many funcs): constify arg on function definitions, also make
2000 more local vars const
2002 * aspell_local.h: remove "struct" from typdef setup
2004 * aspell.C (check): make word_ok const
2005 (nextMiss): simplify slightly
2008 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2010 * lyxrc.[Ch]: store all float values as strings.
2011 use int (not float) for lyxrc.dpi.
2013 2005-01-04 Angus Leeming <leeming@lyx.org>
2015 * lyx_cb.C (Reconfigure):
2016 * lyx_main.C (queryUserLyXDir):
2017 to run the <system_lyxdir>/configure correctly on Windows, prefix
2018 the path to the script with "sh " when generating the string that
2019 is passed to system().
2021 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2023 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2025 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2027 * lyxlength.C (asLatexString): get rid of setprecision
2029 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2031 * text2.C (setLayout): remove unused variable endpit.
2032 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2034 * paragraph.C (onlyText): remove unused variable style.
2036 * cursor.C (bruteFind): remove unused variables beg and end.
2038 * Makefile.am (dist_noinset_DATA): not needed anymore
2040 * cheaders/*: remove.
2042 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2044 * text3.C: fix LFUN_MATH_MODE.
2046 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2048 * buffer_funcs.C (countWords): new function. Counts words between
2051 * BufferView_pimpl.C (getStatus, dispatch): handle
2054 * LyXAction.C (init):
2055 * lfuns.h: add LFUN_WORDS_COUNT.
2057 2004-12-19 Angus Leeming <leeming@lyx.org>
2059 * buffer.C (save): s/slashify_path/internal_path/.
2061 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2063 * lyxfind.C (findChange): do not search for end of pars, because
2064 the change tracker cannot handle this (fixes bug 1719).
2066 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2068 * paragraph.[Ch] (autoBreakRows): remove
2070 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2072 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2073 avoid using the paragraph one
2075 * text2.C (LyXText, insertStringAsLines): adjust
2077 2004-12-16 Angus Leeming <leeming@lyx.org>
2081 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2083 2004-12-14 Angus Leeming <leeming@lyx.org>
2085 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2087 * bufferlist.C (emergencyWrite):
2088 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2091 2004-12-14 Angus Leeming <leeming@lyx.org>
2093 * main.C: (main): no longer pass pointers to os::init.
2095 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2097 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2098 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2100 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2103 * text3.C: remove selection_possible global flag
2105 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2107 * text2.C (getSelectionSpan): remove
2108 (changeDepth, changeDepthAllowed): adjust
2110 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2112 * Makefile.am (BOOST_LIBS): use boost variables
2114 2004-12-03 José Matos <jamatos@lyx.org>
2116 * buffer.C: format up to 238.
2118 2004-12-03 José Matos <jamatos@lyx.org>
2120 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2122 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2124 * cursor.C (goUpDown): remove call to idxUpDown2
2126 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2128 * tabular.[Ch]: use size_t-like types for cell, row and column
2131 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2133 * lyxfunc.C (getStatus): do not lose previous information when
2134 calling BufferView::getStatus; do not set a default "Command
2135 disabled" message at the beginning, but just before returning.
2137 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2139 * cursor.h (getStatus): add better comment from src/cursor.C
2141 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2143 * text3.C (getStatus): return false when the lfun is not handled
2145 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2147 * broken_headers.h: remove
2149 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2151 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2153 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2154 offset_ref accessors
2156 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2157 top_y_, merge fitcursor with update
2158 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2160 (metrics): introduce
2161 (workAreaDispatch): adapt to new coord scheme
2162 (redoCurrentBuffer): remove
2164 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2166 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2169 * coordcache.[Ch]: add paragraph cache and helpers
2171 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2174 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2175 (targetX, setTargetX): introduce
2177 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2178 baseline -> ascent, as the rest of lyx
2180 * lyxtext.h: remove redoParagraphs, updateParPositions,
2181 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2182 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2183 have ascent/descent (ascent is ascent of first par)
2185 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2188 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2190 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2192 * pariterator.C: fix infinite loop introduced in par->pit renaming
2194 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2195 in insets and LyXText, draw two off-screen paragraphs using
2196 NullPainter, and adapt to new coord scheme
2200 * text3.C: adapt lfun handlers to the new coord scheme, which
2201 means: there's only guaranteed coord information for onscreen pars
2202 plus one above and one below. This implies that one can do search
2203 from y coordinates in the range [-1,workHeight]
2205 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2207 * rename a lot of InsetOld to InsetBase
2209 2004-11-25 Angus Leeming <leeming@lyx.org>
2211 * BufferView_pimpl.C:
2213 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2215 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2217 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2218 call BufferView::getStatus if LCursor::getStatus did nothing
2219 (setStatusMessage, getStatusMessage): removed.
2221 * FuncStatus.C (message): new methods. Used to provide an error
2222 message indicating why a command is disabled.
2223 (clear, |=, FuncStatus): update for message.
2225 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2227 * lyxfunc.C (dispatch): always call sendDispatchMessage
2229 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2232 * BufferView_pimpl.C:
2237 * cursor_slice.[Ch]:
2240 * paragraph_funcs.C:
2246 * undo.C: par->pit renaming
2248 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2250 * tabular.C (cellstruct): use initialization, store a shared_ptr
2251 to insettext instead of the insettext directly, adjust to fit.
2252 (operator=): new function
2253 (swap): new function
2254 (rowstruct): use initialization
2255 (columnstruct): use initialization
2256 (ltType): use initialization
2259 * lyxlength.h (swap): new function
2261 * LColor.[Ch] (operator=): use the common semantics
2263 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2265 * lyxfind.C (findNextChange): update the bufferview after setting
2268 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2270 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2271 number of InsetOptArgs has already been inserted.
2273 * output_latex.C (latexOptArgInsets): new method. This outputs all
2274 the optarg insets, up to the limit defined in the layout file.
2275 (optArgInset): removed
2276 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2278 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2280 * paragraph.C (isLetter): remove special spellchecker-related
2281 code; return true also for digits
2282 (isWord, isKomma): remove
2284 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2285 * lyxfind.C (MatchString()): use isLetter instead of isWord
2287 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2289 * pariterator.h (operatir=): comment out un-implemented member
2292 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2295 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2297 * lyxfont.h: include LColor.h to satisfy concept checks.
2299 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2301 * pariterator.h: add typdefs for value_type, difference_type,
2302 pointer and reference to satisfy concept checks. Also add default
2303 constructor for same reason.
2305 * pariterator.C (operator++): add post-increment operator to
2306 satisfy concept checks.
2308 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2311 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2313 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2314 checks. Also rename base_type to BaseType to follow naming
2317 * FloatList.h: include Floating.h to satisfy concept checks.
2319 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2321 * lyxfunc.C (getStatus): when the origin of the request is menu or
2322 toolbar, and the LyXView does not have focus, do as if there was
2323 no buffer (bug 1720)
2325 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2326 FuncRequest to individual entries of LFUN_SEQUENCE
2328 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2330 * output_latex.C (TeXOnePar): override runparams.moving_arg
2331 according to the needprotect value of the current paragraph (bug
2334 * paragraph.C (simpleTeXOnePar): no need to override
2335 runparams.moving_args here
2337 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2339 * vspace.C: fix off-by-one-error, related to fix #1682
2341 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2343 * lengthcommon.C: a more general fix for bug 1682
2345 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2347 * text.C (backspace): fix crash
2349 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2351 * format.[Ch] (getFormatFromFile): new method
2352 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2354 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2356 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2358 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2360 * lyxfunc.C (dispatch): remove the verbose argument
2361 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2364 * kbmap.C (defkey): set the origin of func to KEYBOARD
2366 * MenuBackend.C (MenuItem):
2367 * ToolbarBackend.C (add): set the origin of func to UI
2369 * funcrequest.[Ch]: add origin member, which indicates which part
2370 of LyX requests an action
2372 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2374 * converter.C (move): don't lie in the error message
2375 * converter.h (isReachable, move): document
2377 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2379 * buffer.C: remove unused using lyx::support::atoi
2380 * paragraph_funcs.C: ditto
2382 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2384 * bufferlist.C (exists): use bind and equal_to instead of
2387 * lyxtextclasslist.C (NumberOfClass): ditto
2389 * cursor.C (insert): use for_each instead of explicit for loop
2391 * bufferlist.C (getFileNames): use std::transform and
2392 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2394 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2397 * buffer.C (changeLanguage): use for_each instead of explicit for
2399 (hasParWithID): implement using getParFromID
2401 * LaTeXFeatures.C: ws change only
2403 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2406 * BufferView_pimpl.C (trackChanges): use for_each instead of
2409 2004-11-04 André Pönitz <poenitz@gmx.net>
2412 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2414 * dociterator.C (asDocIterator): use hard assert again.
2416 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2418 * lyxlength.C (asLatexString): rewrite so that it does not use
2421 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2423 * text3.C (specialChar, dispatch): make sure cursor moves to the
2424 right after inserting an inset
2426 2004-11-02 José Matos <jamatos@lyx.org>
2428 * output_docbook.C (docbook):
2429 * paragraph.C (getID):
2430 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2431 garantee that the output is always legal.
2433 * tabular.C (docbook):
2434 * outputprams.[Ch]: remove mixed contents.
2436 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2438 * text2.C (setCounter): prevent endless loop
2440 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2442 * exporter.C (copyFile): use the mover instead of support::copy()
2443 * exporter.C (Export): pass format and latex name to copyFile()
2444 * exporter.h (addExternalFile): document
2445 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2447 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2449 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2451 2004-10-30 José Matos <jamatos@lyx.org>
2453 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2454 text and no inset or font change. This allows to use CDATA
2455 sections just for the whole paragraph.
2457 2004-10-30 José Matos <jamatos@lyx.org>
2459 * paragraph.C (getFirstWord): remove unused variable.
2461 2004-10-30 José Matos <jamatos@lyx.org>
2463 * paragraph.C (getFirstWord): the content should always be escaped
2465 (simpleDocBookOnePar):
2466 * output_docbook.C (makeEnvironment): replace reference to CDATA
2469 2004-10-30 José Matos <jamatos@lyx.org>
2471 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2473 2004-10-30 José Matos <jamatos@lyx.org>
2475 * output_docbook.C (makeParagraphs):
2476 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2477 standard paragraph has only a given type of content drop the wrapper.
2479 2004-10-29 José Matos <jamatos@lyx.org>
2481 * output_docbook.C (makeEnvironment):
2483 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2485 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2487 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2488 (cleanID): sanitize any id.
2490 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2492 * buffer.C, lyxlex_pimpl.C:
2493 * lyxlex_pimpl.C (setFile):
2494 s/getExtFromContents/getFormatFromContents/
2496 2004-10-28 José Matos <jamatos@lyx.org>
2498 * output_docbook.C (makeEnvironment): move id to broadest possible
2501 * sgml.C (openTag): apply substitution of <> for all attributes.
2503 2004-10-28 José Matos <jamatos@lyx.org>
2505 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2506 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2507 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2509 * sgml.[Ch]: new version for open and closeTag for paragraph and
2510 for strings. Now they handle the ids of paragraphs.
2512 2004-10-26 Angus Leeming <leeming@lyx.org>
2514 * Makefile.am: add mover.[Ch].
2516 * converter.C (convert, move): use the new Movers to move external
2517 files to the temp directory.
2519 * lyx_main.C (init): ensure that the global system_movers data
2522 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2525 * mover.[Ch]: new files, defining a Mover as a utility to move an
2526 external file between directories and, if necessary, manipulate this
2527 file using a helper script.
2529 2004-10-25 José Matos <jamatos@lyx.org>
2531 * output_docbook.C (makeCommand): merge two if's that tested the
2534 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2536 * sgml.C (escapeString): fix warning in a better way
2538 2004-10-25 José Matos <jamatos@lyx.org>
2540 * sgml.C (escapeString): import the require boosts header file for
2541 tie, and avoid a signed unsigned comparison.
2543 2004-10-25 José Matos <jamatos@lyx.org>
2545 * sgml.h: add #include <string>
2547 2004-10-25 José Matos <jamatos@lyx.org>
2549 * sgml.[Ch] (escapeString): new function to escape all the string.
2551 2004-10-24 José Matos <jamatos@lyx.org>
2553 * paragraph.[Ch] (getFirstWord): new function to get the first
2554 word. Useful for description.
2555 (simpleDocBookOnePar): remove depth argument, add another that
2556 says where to start the paragraph.
2558 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2559 use the new functions to fix cleanly the support for descriptions.
2561 2004-10-24 José Matos <jamatos@lyx.org>
2563 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2564 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2565 * output_linuxdoc.C (linuxdocParagraphs):
2566 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2567 add buffer as argument.
2569 2004-10-24 José Matos <jamatos@lyx.org>
2571 * output_docbook.C (makeEnvironment, searchEnvironment): place
2572 CDATA inside paragraphs and fix scope for listitems.
2574 2004-10-24 José Matos <jamatos@lyx.org>
2576 * output_docbook.C: remove using statement for stack.
2578 2004-10-23 José Matos <jamatos@lyx.org>
2580 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2581 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2582 docbook. The new scheme is recursive and makes use of iterators, the
2583 same as latex export works.
2584 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2585 directly with the paragraph contents. This code was moved up to
2586 output_docbook.C (docbookParagraphs).
2587 * sgml.C (openTag, closeTag): removed unneeded newlines.
2588 (closeEnvTags) removed.
2590 2004-10-23 André Pönitz <poenitz@gmx.net>
2592 * undo.C (textUndoOrRedo):
2593 * dociterator.C (asDocIterator): work around crash
2595 * cursor.C (getStatus): replace ASSERT by more verbose error message
2596 and manual correction of the problem. Should increase stability
2597 while providing more sensible information.
2599 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2601 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2603 * bufferlist.C (previous, next): new methods
2606 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2608 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2610 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2611 entities to preamble.
2613 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2615 * messages.C (Pimpl): strip off translation context information
2617 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2619 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2620 the cursor is correct (bug 1694)
2622 2004-10-13 José Matos <jamatos@lyx.org>
2624 * output_docbook.C (docbookParagraphs): fix closing tags in the
2625 end of the document.
2627 2004-10-09 José Matos <jamatos@lyx.org>
2629 * buffer.C: format up to 237.
2630 * bufferparams.C (write): use tostr to convert booleans to strings.
2632 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2634 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2636 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2638 * LaTeX.C: implement use of babel language in xindy.
2640 2004-10-05 José Matos <jamatos@lyx.org>
2642 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2643 Add new translators to help reading and writing the lyx file.
2645 2004-10-05 José Matos <jamatos@lyx.org>
2647 * ParagraphParameters.C (read):
2648 * text.C (readParToken): replace nexToken by more appropriate lex
2651 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2653 * LaTeX.C (runMakeIndex):
2654 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2655 (usually 'makeindex') configurable.
2657 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2658 with a variable rather than with a number.
2660 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2662 * output_latex.C (TeXOnePar): make sure font setting is the first
2663 thing that gets output (and the last at the end). Should fix bug
2666 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2668 * pch.h: use proper signal include
2670 * LaTeX.h: Use preferred calling of Boost.Signal
2673 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2675 * pch.h: dont include <boost/function/function0.hpp>
2677 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2679 * paragraph_pimpl.h: remove usage of ShareContainer
2681 * paragraph_pimpl.C: remove initialization of ShareContainer.
2683 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2687 * BufferView.C (putSelectionAt): change the semantics when
2688 backwards == true: now, this just swaps cursor and anchor wrt the
2691 * BufferView.h (putSelectionAt): add some documentation
2693 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2694 make sure backwardChar is done at least once (to avoid getting
2696 (findNextChange): use putSelectionAt in the forward direction
2697 (operator()): use Paragraph::isWord
2699 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2701 * Spacing.C (set): c_str fix
2703 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2705 * lyx_cb.C (Reconfigure): quote the name of configure script in
2706 case it contains spaces
2708 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2712 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2713 (BOOST_LIBS): use top_buildir when looking for the file
2715 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2717 * pch.h: do not use include boost/format.hpp, multiple symbols
2718 will result (gcc bug)
2721 2004-08-23 José Matos <jamatos@lyx.org>
2723 * bufferparams.C (readToken): fix reading of the author field.
2725 2004-08-20 José Matos <jamatos@lyx.org>
2727 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2729 2004-08-20 José Matos <jamatos@lyx.org>
2731 * lyxlex.[Ch] (findToken): remove function.
2733 * ParagraphParameters.C (findToken):
2734 * bufferparams.C (findToken): replace call for previous function
2735 with local copy. This local function has one more argument, the
2736 read string argument.
2738 2004-08-16 José Matos <jamatos@lyx.org>
2740 * ParagraphParameters.C (write):
2741 * Spacing.C (writeFile):
2742 * bufferparams.C (writeLaTeX):
2743 * lyx_cb.C (Reconfigure):
2744 * paragraph.C (write):
2745 * tabular.C (write): remove unnecessary space at end of line.
2748 2004-08-16 José Matos <jamatos@lyx.org>
2750 * text.C (readParagraph): remove debug message.
2752 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2754 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2757 * output_plaintext.C (asciiParagraph): set depth correctly
2759 * outputparams.h: add member depth
2761 * paragraph_funcs.C (ownerPar): remove.
2763 * text2.C (setCounter): remove first_pit; comment out some
2764 non-working code that uses ownerPar
2766 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2769 2004-08-16 José Matos <jamatos@lyx.org>
2771 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2772 For the same level of importance use the same chanel to report problems.
2773 (read): add code to deal with \begin_body and \end_body.
2776 2004-08-15 José Matos <jamatos@lyx.org>
2778 * lyxlex.C (getString): fix comment, buffer::readBody is now
2779 buffer:readDocument.
2781 * tex-strings.C (string_papersize): Default -> default,
2782 Custom -> custom, for consistency with other options.
2784 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2788 * Makefile.am: support pch
2790 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2792 * text.C (readParToken): remove the static LyXFont variable and
2793 pass it as a parameter instead. This fixes a nasty bug where an
2794 inset will be inserted with a bad font in some situations
2795 (readParagraph): adapt
2797 * text2.C (setCounter): reduce number of calls to pars_[pit]
2799 * text.C (singleWidth): add an assert, fix a test
2801 * rowpainter.C (paintText): reduce number of calls to singleWidth
2803 * paragraph.C (isHfill):
2804 (isNewline): ws only
2806 2004-08-14 André Pönitz <poenitz@gmx.net>
2811 * lyxtext.h (several functions): use a Paragraph & argument
2814 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2816 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2818 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2820 * text.C (singleWidth): remove useless test
2822 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2824 * tabular.h: remove bogus comments
2826 * tabular.C (getDescentOfRow):
2827 (isPartOfMultiColumn): add assertions
2829 * lyxlength.C (inPixels): remove #warning
2831 2004-08-14 André Pönitz <poenitz@gmx.net>
2833 * paragraph.h: inline getChar()
2835 * BufferView.h: remove unused declarations
2837 2004-08-14 José Matos <jamatos@lyx.org>
2839 * Buffer.[Ch] (readDocument): new name for old readBody.
2840 * Buffer.C: new file format, new keywords: \begin_document,
2841 \begin_header, \begin_body, \end_body.
2843 * bufferparams.C (readToken): replace all calls to lex.nextToken
2844 by lex.next(). Do the same to eatLine except where really needed.
2846 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2847 line when writing to the lyx file.
2849 * output_plaintext.C (asciiParagraph): fix Bibliography style
2852 * text.C (read): fix end of file handling.
2854 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2856 * MenuBackend.C (Menu::operator[]): new method to access
2857 individual menu items
2858 (Menu::hasFunc): new method. search for an item that corresponds
2860 (MenuBackend::specialMenu): new method
2861 (MenuBackend::expand): if a special menu has been set, skip
2862 entries whose func() appears in this menu
2864 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2866 * text3.C: use Debug::DEBUG a bit more
2868 * text.C (leftMargin): try to simplify a tiny bit change var x to
2869 l_margin. Dont output the wide margins always.
2870 (rightMargin): no margin in inner texts
2872 * rowpainter.h (nestMargin): new func
2873 (changebarMargin): new func
2874 (rightMargin): new func
2876 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2880 * factory.C (createInset): modify setDrawFrame
2882 * cursor.C: use Debug::DEBUG a bit more
2884 2004-08-14 André Pönitz <poenitz@gmx.net>
2887 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2888 cache for all insets in (at least partially) visible (top-level)
2891 * BufferView_pimpl.C: reset external coord cache before every update.
2892 This means the coord cache only contains valid entries.
2894 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2897 * BufferView_pimpl.C (getInsetByCode): move function out of class
2898 and change in to a template in anon namespace. Also fix to do what
2901 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2904 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2906 (breakParagraph): rename par to par_offset and use a local
2907 reference. Add code to keep the language over a rebreak.
2908 (breakParagraphConservative): rename par to par_offset, use a
2910 (mergeParagraph): ditto
2912 (isFirstInSequence): ditto
2913 (outerFont): rename pit to par_offset
2915 * paragraph.C: ws change
2916 * paragraph.h: ditto
2920 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2922 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2925 * paragraph.C (simpleTeXOnePar): when we have a \item with
2926 optional argument, enclose the argument with curly brackets (in
2927 case it contains a closing square bracket)
2931 * text3.C (checkInsetHit): constify
2933 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2935 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2936 documents (bug 1629)
2938 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2940 Fix toggling of collapsable insets with the mouse (bug 1558)
2942 * lyxfunc.C (dispatch): adapt to LCursor changes
2944 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2945 make sure that dispatch is not invoked twice
2947 * cursor.C (needsUpdate): new method
2948 (dispatch): return void
2949 (result): new method, to access the DispatchResult of the cursor.
2951 2004-08-13 José Matos <jamatos@lyx.org>
2953 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2955 2004-08-13 André Pönitz <poenitz@gmx.net>
2957 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2959 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2962 2004-08-12 André Pönitz <poenitz@gmx.net>
2964 * text3.C: take out the 'cursor right' form insertInset and only
2965 do it in those places when it is really needed. Fixes crash on
2968 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2970 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2972 * BufferView_pimpl.C (setBuffer): initialize the current font of
2973 the underlying LyXText
2975 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2977 * kbsequence.C (print): use UI native formatting for menu
2980 * text.C (insertChar): call Paragraph::insertChar with a font
2983 * paragraph.C (insertInset, insertChar): the version that takes a
2984 LyXFont argument is now a wrapper around the other one (the
2985 opposite used to be true).
2987 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2988 argument. Font setting is done in Paragraph now.
2990 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2992 * outputparams.h: add new members intitle and lang.
2994 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2995 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2997 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2999 * text3.C (dispatch): remove special handling of button 4 and 5,
3000 it is now taken care of in the frontend code.
3002 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3004 * Spacing.h: add <string> (STLPort compile fix)
3006 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3008 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3010 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3012 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3015 * converter.C (showMessage): inherit from unary_function, make
3018 * buffer.C (writeFile): initialize retval
3020 * InsetList.h: rename private variable list to list_
3021 * InsetList.[Ch]: adjust accordingly.
3023 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3025 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3026 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3027 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3028 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3029 * ParagraphParameters.C, LaTeXFeatures.C: replace
3030 "support/std_sstream.h" with <sstream>
3032 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3034 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3035 * lyxsocket.C (LyXServerSocket): ditto
3036 (serverCallback): ditto
3038 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3040 * LaTeXFeatures.C: check release date when loading jurabib.
3042 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3044 * lyxserver.C (startPipe): call register_socket_callback
3045 (endPipe): call unregister_socket_callback
3047 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3049 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3050 (LyXServerSocket): register the callback
3051 (LyXServerSocket): unregister the callback
3052 (fd): delete function
3053 (serverCallback): improve error checking and setup the callbacks.
3054 (dataCallback): change arg to fd.
3055 (writeln): new func (copied fro the client socket) used for server
3057 (LyXDataSocket): simplify
3058 (~LyXDataSocket): close ann unregiser callback
3059 (server): delete function
3060 (fd): delete function
3061 (readln): small changes, improve some std::string usage
3062 (writeln): constify a bit
3064 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3066 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3069 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3071 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3072 after it has been populated
3074 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3076 * text2.C (insertInset): move cursor when inserting inset.
3078 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3080 * kbmap.C (findbindings): a couple of new methods. returns a
3081 container of kb_sequence objects. The real work is done by the
3082 private recursive version
3083 (printbindings): uses findbindings to print out a bracketed list
3084 of bindings (renamed from findbinding).
3086 * MenuBackend.C (binding): use kb_keymap::findbindings
3088 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3090 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3092 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3094 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3096 * paragraph.C (isWord): return true on insets that report
3099 * text.C (getWord): use Paragraph::isWord to decide what is in a
3100 word and what is not; fix bug 1609.
3102 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3104 * tex-strings.C: add "none" to string_paperpackages[], fixes
3105 off-by-one-error in the paperpackage selection.
3108 * tex-strings.[Ch]: char const * string[n]
3109 -> char const * const string[]
3111 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3113 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3114 command, return early.
3116 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3118 * debug.h: add DEBUG to enum and fix size of ANY.
3120 * debug.C: add support for Debug::DEBUG
3121 (showTags): cast errorTags.level to unsigned int
3123 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3124 (redoCurrentBuffer): ditto
3125 (updateScrollbar): ditto
3126 * cursor.C (dispatch): ditto
3127 * text2.C (setLayout): ditto
3129 (updateCounters): ditto
3131 (deleteEmptyParagraphMechanism): ditto
3133 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3135 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3136 annotations to cleanup the Makefile slightly.
3138 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3140 * lyxrc.C: do not set user_email to a default value but use empty
3141 instead. The entry used to be translated, which does not work
3142 since at the point where lyxrc is constructed there is no
3143 translation service available
3145 * messages.C (getLocaleDir): remove and use directly
3146 lyx_localedir() instead
3148 2004-06-02 Angus Leeming <leeming@lyx.org>
3150 Fix crash caused by dereferencing null pointer 'exportdata' in
3151 OutputParams by creating a new ExportData variable on the heap,
3152 storing it in a boost::shared_ptr.
3153 The crash was triggered when generating an Instant Preview
3154 of an external inset.
3156 * Makefile.am: add outputparams.C
3158 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3159 (c-tor): allocate memory to it.
3161 * exporter.C (c-tor): associated changes.
3163 2004-06-01 Angus Leeming <leeming@lyx.org>
3165 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3166 contains data before calling isInset(0). (Bug 1513.)
3168 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3170 * exporter.C (checkOverwrite): new method
3171 * exporter.C (copyFile): new method
3172 * exporter.C (Export): copy referenced files to the document dir
3173 * exporter.[Ch]: new class ExportedFile
3174 * exporter.[Ch]: new class ExportData. Contains currently the
3175 names of referenced external files
3176 * outputparams.h: add exportdata member.
3178 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3180 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3183 2004-05-19 Angus Leeming <leeming@lyx.org>
3188 * lyxfunc.C: small changes due to the introduction of namespace
3189 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3191 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3193 * text3.C (dispatch): supress update when only moving the cursor
3194 * cursor.C (selHandle): remove commented code
3196 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3198 * paragraph.C (startTeXParParams): correct column count
3199 * CutAndPaste.C (pasteSelection): remove const_cast
3200 * output_docbook.C (docbookParagraphs): remove const_cast
3201 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3202 const_cast and return ParagraphList::const_iterator
3203 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3204 * output_plaintext.C (writeFileAscii): remove const_cast
3205 * paragraph.[Ch] (simpleTeXOnePar): make const
3206 * paragraph_funcs.C (outerPar): use const iterators
3207 * paragraph_pimpl.C (validate): use const iterators
3208 * text.C (setHeightOfRow): use const iterators
3210 2004-05-17 Angus Leeming <leeming@lyx.org>
3213 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3215 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3216 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3217 if the citation engine has changed.
3219 2004-05-14 José Matos <jamatos@lyx.org>
3221 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3222 if the textclass does not provide it. Have it different for sgml and
3224 support the language of document.
3225 * output_docbook.C (docbookParagraphs):
3226 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3227 first anchor as the id of the paragraph, remove special case code.
3228 * sgml.C (escapeChar): escape only < & >.
3230 2004-05-14 Angus Leeming <leeming@lyx.org>
3232 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3233 dependencies on src/frontends/controllers/biblio.h. Define a
3234 CiteEngine_enum wrapper class to enable the enum to be forward
3237 2004-05-12 Angus Leeming <leeming@lyx.org>
3239 * buffer.C: up LYX_FORMAT to 234.
3240 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3241 use_numerical_citations with a single biblio::CiteEngine cite_engine
3243 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3245 2004-05-13 José Matos <jamatos@lyx.org>
3248 * converter.C (Converter, readFlags): add xml member.
3249 * outputparams.h: add XML flavor.
3250 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3252 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3254 * lyxfunc.C (dispatch):
3255 (getStatus): fix handling of LFUN_SEQUENCE
3257 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3259 * debug.C (showLevel): do not forget the end-of-line marker
3261 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3263 * kbmap.C (read): do not stop parsing a bind file when an error
3266 2004-04-29 Angus Leeming <leeming@lyx.org>
3271 * text2.C: wrap a bunch of #warning statements
3272 inside #ifdef WITH_WARNINGS blocks.
3274 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3276 * buffer.C: increment format to 233.
3278 2004-04-28 Angus Leeming <leeming@lyx.org>
3280 * BufferView_pimpl.C:
3283 s/updateToolbar()/updateToolbars()/
3284 s/Toolbar.h/Toolbars.h/
3286 2004-04-28 Angus Leeming <leeming@lyx.org>
3288 * BufferView.[Ch] (c-tor):
3289 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3290 No longer passes these data to the WorkArea generator.
3292 2004-04-28 Angus Leeming <leeming@lyx.org>
3294 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3296 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3298 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3300 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3302 * output_latex.C (TeXEnvironment): make sure that there is a line
3303 break before \end{foo} for the last paragraph of a document
3304 (TeXOnePar): if the paragraph is at the end of the document (or
3305 inset) and the language has to be reset, then make sure that the
3306 line break is _before_ the language command, not after (fixes bug
3307 1225); also make sure that the language reset command is the first
3308 thing after the paragraph (to ensure proper nesting of
3309 environments and thus fix bug 1404)
3311 2004-04-21 John Levon <levon@movementarian.org>
3314 * ToolbarBackend.C: make "name" be a programmatic name
3315 and a gui_name field.
3317 * lyxfunc.C: display the minibuffer on M-x
3319 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3321 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3324 2004-04-19 Angus Leeming <leeming@lyx.org>
3326 * BufferView_pimpl.C (setBuffer): changed preview interface.
3328 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3331 2004-04-19 John Levon <levon@movementarian.org>
3333 * BufferView_pimpl.C:
3334 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3336 2004-04-05 Angus Leeming <leeming@lyx.org>
3338 * text.C (redoParagraphs): add call to updateCounters(), thereby
3339 fixing the missing "Figure #:" label from the caption of a
3342 2004-04-13 Angus Leeming <leeming@lyx.org>
3344 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3345 cursor is clicked out of an inset.
3347 2004-04-13 Angus Leeming <leeming@lyx.org>
3349 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3350 than an InsetOld one.
3352 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3354 * format.[Ch]: add editor to Format
3355 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3356 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3358 2004-04-08 André Pönitz <poenitz@gmx.net>
3360 * metricsinfo.h: remove PainterInfo::width member
3362 2004-04-08 Angus Leeming <leeming@lyx.org>
3364 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3365 "\providecommand" rather than "\newcommand", thereby preventing
3366 clashes with packages that define "\boldsymbol" themselves.
3369 2004-04-08 Angus Leeming <leeming@lyx.org>
3371 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3372 thereby squashing an unnecessary warning.
3374 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3376 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3379 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3381 * BufferView.C (setCursor): call redoParagraph (some insets could
3383 (putSelectionAt): remove the 'double update' trick
3385 * BufferView_pimpl.C (fitCursor): call refreshPar
3386 (workAreaDispatch): remove an uneeded update call
3387 (dispatch): remove some manual update calls
3389 * cursor.[Ch]: remove cached_y_, updatePos
3390 (selHandle): set noUpdate when appropriate
3392 * lyxfunc.C (dispatch): track if we need an update
3394 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3396 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3397 (paintSelection): cheap optimization, do not call cursorX when not
3399 (paintPars): change signature
3402 (paintTextInset): adjust
3406 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3408 * lengthcommon.C: compilation fix: remove explicit array size from
3409 unit_name[] and friends
3411 2004-04-05 Angus Leeming <leeming@lyx.org>
3413 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3415 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3416 present only for the preferences dialog.
3417 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3419 2004-04-05 Angus Leeming <leeming@lyx.org>
3421 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3422 to enable the frontends to export changes to lyxrc correctly.
3424 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3426 2004-04-07 André Pönitz <poenitz@gmx.net>
3428 * cursor.[Ch] (selClear, adjust): remove math
3430 * cursor_slice.C: more agressive assert
3433 * BufferView_pimpl.C: rework mouse event dispatch
3440 2004-04-05 André Pönitz <poenitz@gmx.net>
3442 * cursor.[Ch] (valign, halign...): remove unneeded functions
3444 2004-04-05 Angus Leeming <leeming@lyx.org>
3446 * lyxlength.[Ch] (unit_name et al.): const-correct.
3448 2004-04-05 Angus Leeming <leeming@lyx.org>
3450 * BufferView_pimpl.C:
3459 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3461 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3463 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3465 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3467 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3468 * BufferView_pimpl.[Ch] (getStatus)
3469 * BufferView.[Ch] (getStatus): add
3470 * lyxfunc.C (getStatus): move lfuns handled in
3471 BufferView::dispatch to te function above
3472 * Cursor.C (setSelection): set selection() = true
3474 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3476 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3478 2004-03-31 Angus Leeming <leeming@lyx.org>
3480 * lyxfunc.C (dispatch): Fall through to the generic
3481 Dialogs::show("preamble").
3483 2004-03-31 Angus Leeming <leeming@lyx.org>
3485 * lyxfunc.C (dispatch): Fall through to the generic
3486 Dialogs::show("spellchecker").
3488 2004-03-31 Angus Leeming <leeming@lyx.org>
3490 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3493 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3498 * insetiterator.[Ch]:
3503 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3505 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3507 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3508 insets where we are putting the cursor.
3510 2004-03-31 Angus Leeming <leeming@lyx.org>
3513 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3515 * lyxrc.[Ch] (read, write): overloaded member functions taking
3516 a std::[io]stream arguments.
3518 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3520 2004-03-31 Angus Leeming <leeming@lyx.org>
3522 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3523 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3525 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3526 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3528 2004-03-31 Angus Leeming <leeming@lyx.org>
3530 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3531 the LFUN_ALL_INSETS_TOGGLE code.
3533 2004-03-30 Angus Leeming <leeming@lyx.org>
3535 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3536 has died. Fall through to the generic Dialogs::show("document").
3538 2004-03-30 Angus Leeming <leeming@lyx.org>
3541 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3542 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3544 * lyxfunc.C (getStatus, dispatch): define the actions for these
3545 lfuns. Little more than a cut and pste job from ControlDocument.C
3547 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3549 2004-03-30 Angus Leeming <leeming@lyx.org>
3552 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3553 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3555 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3556 open/closed state of ollapsable insets. Usage:
3558 all-inset-toggle <state> <name>, where
3559 <state> == "open" || "closed" || "toggle" and
3560 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3562 * lyxtext.h, text2.C (toggleInset): removed.
3564 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3565 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3566 now passes LFUN_INSET_TOGGLE to the found inset.
3568 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3569 is now invoked as "all-insets-toggle toggle branch".
3571 2004-03-30 Angus Leeming <leeming@lyx.org>
3575 * pariterator.[Ch]: added/corrected header blurb.
3577 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3579 * dociterator.[Ch]: add an inset_ member
3580 (backwardPos): implemented
3581 (backwardPos, forwardPos): use inset_ when the stack is empty.
3582 (doc_iterator_begin, doc_iterator_end): implemented
3583 * pariterator.[Ch]: adjust, add begin, end
3584 * insetiterator.[Ch]: adjust, add begin, end
3588 * BufferView_pimpl.C:
3589 * CutAndPaste.C: adjust
3591 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3593 * buffer.C: increment file format to 232.
3594 * LaTeXFeatures.C: add bibtopic package.
3595 * bufferparams.[Ch]: param \use_bibtopic.
3597 * lyxrc.[Ch]: add lyxrc bibtex_command
3598 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3600 * buffer.C: increment file format to 231.
3602 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3604 * dociterator.C: implement forwardPar
3605 * iterators.[Ch]: remove, replaced by
3606 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3608 * BufferView_pimpl.C:
3611 * bufferview_funcs.C:
3617 * Makefile.am: adjust
3619 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3621 * CutAndPaste.C (pasteSelection): fix 2 crashes
3622 (eraseSelection): fix a crash
3623 * paragraph_funcs.C: remove a warning
3625 2004-03-28 Angus Leeming <leeming@lyx.org>
3628 * LyXAction.C (init): new LFUN_PRINT.
3630 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3632 2004-03-27 Angus Leeming <leeming@lyx.org>
3635 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3637 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3639 2004-03-27 Angus Leeming <leeming@lyx.org>
3641 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3642 insetlist always contains non-null pointers to insets.
3644 2004-03-26 Angus Leeming <leeming@lyx.org>
3646 * src/BufferView_pimpl.C:
3647 * src/CutAndPaste.C:
3650 * src/output_plaintext.C:
3651 * src/outputparams.h:
3652 * src/paragraph_funcs.C:
3656 * src/frontends/controllers/ControlErrorList.C:
3657 * src/frontends/gtk/FileDialogPrivate.C:
3658 * src/frontends/gtk/GPainter.C:
3659 * src/frontends/gtk/GToolbar.C:
3660 * src/frontends/qt2/QRef.C:
3661 * src/mathed/math_scriptinset.C: squash compiler warnings.
3663 2004-03-26 Angus Leeming <leeming@lyx.org>
3665 * ispell.C (LaunchIspell::start):
3666 * lyx_cb.C (AutoSaveBuffer::start):
3667 invoke run(DontWait) rather than runNonBlocking().
3669 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3671 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3673 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3675 * kbsequence.C (print): adjust
3677 * kbmap.C (printKeySym): rename and change signature
3678 (printKey): use LyXKeySym::print()
3680 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3682 * undo.C: add using std::advance to compile for stlport
3684 2004-03-24 Angus Leeming <leeming@lyx.org>
3686 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3687 it leads to a crash when no buffer is present.
3689 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3690 Martin Vermeer <martin.vermeer@hut.fi>
3692 * lyxfunc.C (dispatch):
3693 * bufferparams.C (readToken): use the new LColor::setColor
3695 * LColor.[Ch] (setColor): new version that takes two strings as
3696 argument and creates a new color entry if necessary
3698 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3700 * buffer.C (makeLaTeXFile): if the main latex file that is
3701 processed is usually a subdocument of some master, then pretend
3702 for a while that it is actually the master
3704 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3706 * buffer.C (getLabelList):
3707 (getBibkeyList): use getMasterBuffer()
3708 (getMasterBuffer): new method. Returns the main document in the
3709 case where one is using included documents.
3711 2004-03-25 André Pönitz <poenitz@gmx.net>
3715 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3717 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3719 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3720 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3722 * ParameterStruct.h: merge with ParagraphParameters
3724 * lyxtext.h: remove LyXText::parOffset() and getPar()
3726 * text3.C: Remove all 'manual' update calls. We do now one per user
3727 interaction which is completely sufficient.
3731 * BufferView_pimpl.C:
3732 * FontIterator.[Ch]:
3734 * ParagraphParameters.[Ch]:
3739 * cursor_slice.[Ch]:
3746 * output_docbook.[Ch]:
3747 * output_latex.[Ch]:
3748 * output_linuxdoc.[Ch]:
3749 * output_plaintext.[Ch]:
3751 * paragraph_funcs.[Ch]:
3752 * paragraph_pimpl.[Ch]:
3760 * frontends/controllers/ControlDocument.C:
3761 * frontends/controllers/ControlErrorList.C:
3762 * frontends/controllers/ControlSpellchecker.C:
3765 * insets/insetbase.h:
3766 * insets/insetbibitem.C:
3767 * insets/insetbox.C:
3768 * insets/insetbranch.C:
3769 * insets/insetcaption.C:
3770 * insets/insetcharstyle.C:
3771 * insets/insetcharstyle.h:
3772 * insets/insetcollapsable.C:
3773 * insets/insetcollapsable.h:
3774 * insets/insetert.C:
3775 * insets/insetfloat.C:
3776 * insets/insetfoot.C:
3777 * insets/insetmarginal.C:
3778 * insets/insetnote.C:
3779 * insets/insetoptarg.C:
3780 * insets/insettabular.C:
3781 * insets/insettext.C:
3782 * insets/insettext.h:
3783 * insets/insetwrap.C:
3784 * mathed/math_mboxinset.C:
3785 * mathed/math_nestinset.C:
3786 * mathed/math_scriptinset.C:
3787 * mathed/math_scriptinset.h:
3790 2004-03-24 Angus Leeming <leeming@lyx.org>
3792 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3793 deal with any child processes that have finished but are waiting to
3794 communicate this fact to the rest of LyX.
3796 2004-03-24 Angus Leeming <leeming@lyx.org>
3798 64-bit compile fixes.
3800 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3801 (c-tor): pass lyx::pos_types rather than ints.
3803 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3806 * text.C (Delete): compile fix.
3807 (getPar): ensure that function declaration is the same as that in
3810 2004-03-23 Angus Leeming <leeming@lyx.org>
3812 * ispell.C (LaunchIspell):
3813 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3814 a boost::shred_ptr rather than a std::auto_ptr.
3816 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3818 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3819 handle LFUN_FILE_INSERT_*
3821 * lyxrc.C (setDefaults, getDescription, output, read):
3822 * lyxrc.h: remove ps_command
3824 2004-03-22 Angus Leeming <leeming@lyx.org>
3826 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3827 Ensure that error_handler is processed once only and that all data
3828 is saved before attempting to output any warning messages.
3830 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3832 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3834 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3836 2004-03-19 André Pönitz <poenitz@gmx.net>
3838 * cursor.[Ch] (reset): take main text inset as argument
3840 * BufferView: adjust
3841 * BufferView_pimpl.C: adjust
3843 * paragraph.[Ch]: fix completely broken operator=()
3845 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3847 * LColor.C (getFromLyXName): make sure that the color name is used
3850 2004-03-17 Angus Leeming <leeming@lyx.org>
3853 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3855 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3856 dialog and to kill a forked process.
3858 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3860 * text2.C (setCursorFromCoordinates): fix font problem
3862 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3864 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3865 bogus "rebuild cursor" code
3867 2004-03-11 André Pönitz <poenitz@gmx.net>
3869 * buffer.[Ch]: use InsetText instead of LyXText as container for
3872 * dociterator.[Ch]: drop the BufferView * member which is not needed
3873 anymore after the change to buffer.C
3875 * paragraph_funcs.C:
3879 * BufferView_pimpl.[Ch]:
3881 * cursor_slice.[Ch]: adjust
3883 * text3.C: fix bug in mathDispatch
3885 2004-03-08 André Pönitz <poenitz@gmx.net>
3887 * undo.[Ch]: use 'StableDocumentIterator' as base for
3890 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3893 * bufferparams.[Ch]: add jurabib support and param.
3895 * LaTeX.C: add FIXME/comment.
3897 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3899 * buffer.C: increment file format to 230.
3901 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3903 * cursor.C (dispatch): avoid infinite loops
3905 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3907 * rowpainter.C (paintSelection): fix x coordinates
3909 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3911 * text.C (rowBreakPoint): fix breaking before displayed insets
3913 2004-03-01 André Pönitz <poenitz@gmx.net>
3915 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3917 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3921 * BufferView_pimpl.C:
3929 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3935 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3936 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3938 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3940 * Bidi.[Ch] (computeTables): const correctness
3941 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3942 fill_hfill, fill_label_hfill and x from Row
3943 * lyxtext.h: prepareToPrint returns a RowMetrics
3944 * rowPainter.C: adjust
3945 * text.C (prepareToPrint): use width, not textWidth. adjust
3946 (redoParagraphInternal, cursorX): adjust
3947 * text2.C (getColumnNearX): adjust
3948 (init): put a default value to the top LyXText::width
3950 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3952 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3954 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3956 * lyxtext.h: add FontIterator class
3958 * text.C (FontIterator, operator*, operator->, operator++): add
3959 (rowBreakPoint, setRowWidth): adjust (fixing a
3962 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3964 * BufferView_pimpl.C (workAreaDispatch): allow also
3965 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3967 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3969 * text.C (rowBreakPoint): fix a bug showing with very large insets
3971 2004-02-25 André Pönitz <poenitz@gmx.net>
3974 * cursor.[Ch]: move some mathed specific code to mathed
3976 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3978 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3979 use_tempdir in preferences
3980 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3982 * lyx_main.C: ensure that tempdir is valid
3983 * lyxlex.h: correct typo
3984 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3985 * paragraph.[Ch] (isMultiLingual): make const
3986 * cursor.[Ch] (openable): make const
3988 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3990 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3992 2004-02-20 André Pönitz <poenitz@gmx.net>
3994 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3996 * cursor.[Ch]: prepare for localized getStatus()
4002 * text3.C: streamlines the LyXText cursor movement handlers a bit.
4004 2004-02-20 André Pönitz <poenitz@gmx.net>
4006 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4008 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4010 * text2.C (setCursorFromCoordinates): switch to absolute coords
4012 (cursorDown): adjust
4013 * text3.C (dispatch): adjust
4015 2004-02-16 André Pönitz <poenitz@gmx.net>
4017 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4020 * cursor_slice.[Ch]: remove unneeded acessor function
4022 * lyxtext.h: rename rtl() to isRTL()
4030 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4032 * rowpainter.C (paintSelection): coord fix
4034 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4036 * Spacing.C: compile fix
4038 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4040 * cursor.C (dispatch): restore current_ before returning
4042 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4044 * text2.C (cursorUp, cursorDown): fix coords
4047 2004-02-12 André Pönitz <poenitz@gmx.net>
4052 * text3.C: add LCursor & parameter to most cursor movement functions
4053 remove usage of LyXText::cursorRow() and cursorPar()
4055 * cursor.[Ch]: add textRow() needed members
4058 * BufferView_pimpl.C:
4061 * BufferView_pimpl.C: adjust
4063 2004-02-11 André Pönitz <poenitz@gmx.net>
4067 * BufferView_pimpl.C: shift undo/redo handling
4069 * cursor.[Ch]: fix mathed crash
4072 * lyxtext.h: move selectionAsText to LCursor
4080 * rowpainter.C: fix excessive drawing
4082 2004-02-06 André Pönitz <poenitz@gmx.net>
4085 * BufferView_pimpl.[Ch]:
4086 * text3.C: move some text specific LFUN handling
4088 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4090 * text3.C (checkInsetHit): adjust coords
4091 * text2.C (getColumnNearX): adjust coords
4092 (edit): adjust coords
4093 * text.C (getRowNearY): add two asserts
4095 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4098 * format.C: add using std::distance to compile on gcc 2.95/stlport
4100 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4102 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4104 2004-02-04 André Pönitz <poenitz@gmx.net>
4106 * BufferView.[Ch] (insertInset):
4107 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4112 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4114 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4115 on the default clause of the switch
4116 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4117 wasn't catched by LCursor::dispatch
4119 2004-02-03 André Pönitz <poenitz@gmx.net>
4122 * cursor.[Ch]: some additional asserts
4124 * undo.[Ch]: remove LyXText dependency in interface
4128 * lyxtext.h (firstPar, lastPar): remove dead functions
4133 * paragraph.[Ch]: adjust
4135 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4137 * lyxfind.C (find): fix argument order in call to ::find
4139 2004-02-02 André Pönitz <poenitz@gmx.net>
4141 * cursor.[Ch]: remove direct access to anchor
4143 * text.C: remove findText() hack
4145 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4147 * iterators.[Ch] (lockPath): remove in favour of...
4148 * BufferView.[Ch] (setCursor): this addition
4149 * BufferView.C (putSelectionAt): adjust
4150 * undo.C (performUndoOrRedo): adjust
4151 * lyxfunc.C (dispatch): adjust
4153 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4155 * iterators.C (lockPath): add a missing slice
4156 * undo.C (performUndoOrRedo): remove redundant positioning code
4158 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4160 * vc-backend.C (scanMaster): ";" -> ';'
4162 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4164 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4165 std::binary_function
4167 * lyxtextclass.C (compare_name): rename to...
4168 (LayoutNamesEqual): ...this
4170 * lyxlex_pimpl.C (compare_tags): inherit from
4171 std::binary_function, put back into anon namespace
4173 * lyxfind.C (MatchString): inherig from std::binary_function
4174 (findChange): use empty() istead of !size()
4176 * format.C (FormatNamesEqual): new functor
4183 * converter.C (compare_Converter): rename to...
4184 (ConverterEqual): ...this, and fixup a bit.
4185 (getConverter): use it, and make function const
4186 (getNumber): use it, and make function const
4190 * bufferlist.C: add using boost::bind
4192 * MenuBackend.C (MenuNamesEqual): new functor
4193 (hasMenu): use it, and make function const
4194 (hasSubmenu): use nested bind to get rid of compare_memfun.
4196 2004-01-30 André Pönitz <poenitz@gmx.net>
4198 * BufferView_pimpl.C:
4201 * cursor_slice.[Ch]:
4204 * paragraph_funcs.C:
4205 * paragraph_funcs.h:
4209 * text3.C: move some of the edit(x,y) handling to the insets
4210 some coordinate changes.
4212 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4214 * text.C: add using statements for std::advance and std::distance
4216 * paragraph.C: add using statement for std::distance
4218 * lyxfind.C: add using statement for std::advance
4220 * cursor.C (region): remove std:: from swap
4221 (openable): use nucleus in stead of operator->
4223 * BufferView.C: add using statements for std::distance and std::swap
4225 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4227 * iterators.C: Remove the pimple, move the needed structures to
4228 the header file. Create accessor for the positions stack.
4229 (asPosIterator): remove function
4231 * PosIterator.C (PosIterator): move constructors to top of file
4232 (PosIterator): reimplement the constructor taking a ParIterator in
4234 (setFrom): new function
4235 (operator!=): inline it
4237 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4239 * lyxfind.C (replaceAll): use std::advance
4241 * iterators.h: inherit from std::iterator.
4243 * PosIterator.C (advance, distance): remove
4244 * PosIterator.h: interit from std::iterator.
4246 2004-01-26 André Pönitz <poenitz@gmx.net>
4249 * BufferView_pimpl.[Ch]:
4253 * bufferview_funcs.C:
4263 * output_linuxdoc.C:
4264 * output_plaintext.C:
4266 * paragraph_funcs.[Ch]:
4267 * paragraph_pimpl.[Ch]:
4273 * text3.C: more IU: dumps most of the rest of the mathcursor
4274 implementation into cursor.[Ch]; "globalize" a bit of it.
4276 2004-01-25 Angus Leeming <leeming@lyx.org>
4278 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4280 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4282 * LaTeXFeatures.h: add nice_ and nice() const
4283 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4285 2004-01-20 André Pönitz <poenitz@gmx.net>
4288 * BufferView_pimpl.C:
4290 * bufferview_funcs.C:
4292 * cursor_slice.[Ch]:
4303 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4304 LCursor and mathcursor parts to LCursor and InsetBase.
4306 2004-01-15 André Pönitz <poenitz@gmx.net>
4308 * cursor_slice.[Ch]: add a few covienience functions
4310 * funcrequest.[Ch]: remove BufferView * member
4312 * BufferView_pimpl.C:
4319 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4321 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4323 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4324 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4326 2004-01-13 André Pönitz <poenitz@gmx.net>
4329 * lyxtext.h: hide cursor and selection anchor behind accessor function
4332 * BufferView_pimpl.[Ch]:
4334 * bufferview_funcs.C:
4344 * cursor_slice.[Ch]: some integer type changes for inset unification
4346 * lyxcursor.[hC]: remove, it's CursorSlice now.
4349 * BufferView_pimpl.[Ch]:
4350 * bufferview_funcs.C:
4356 * textcursor.[Ch]: adjust
4358 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4360 * text2.C (undoSpan): add and use
4361 * text.C (breakParagraph): use undoSpan (fix bug 578)
4364 2004-01-08 Angus Leeming <leeming@lyx.org>
4366 * BufferView_pimpl.C (MenuInsertLyXFile):
4367 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4368 * lyxfunc.C (menuNew, open, doImport):
4369 FileFilterList change to the FileDialog open and save functions.
4371 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4373 * ShareContainer.h: make isEqual and isUnique adaptable
4375 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4377 2004-01-07 Angus Leeming <leeming@lyx.org>
4380 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4382 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4384 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4385 functions replacing find, replace and replaceAll.
4387 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4388 LFUN_WORDFIND(FORWARD|BACKWARD).
4390 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4392 * text.C (breakParagraph): remove an outdated #warning
4394 2004-01-07 André Pönitz <poenitz@gmx.net>
4396 * lyxfind.C: somewhat clearer logic
4398 * text.C: prevent crash in cursorX on unitialized row cache
4400 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4402 * lyxcursor.[Ch] (operator>): add
4403 * textcursor.C (selStart, selEnd): use std::min and std::max
4405 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4407 * Chktex.C: include boost/format.hpp
4409 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4411 * InsetList.C: replace functor MathcIt with adaptable functor
4413 (insetIterator): modify accordingly
4415 * BranchList.h: move the BranchNamesEqual functor here from...
4416 * BranchList.C: ... to here
4418 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4420 (add): replace a finding loop with std::find_if.
4422 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4424 * output_docbook.C: moving LatexParam functionality into
4427 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4429 * buffer.C: increment format to 229.
4431 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4434 * lyx_sty.[Ch]: remove minipageindent_def
4440 * text3.C: remove LFUN_INSET_MINIPAGE
4442 2003-12-28 Angus Leeming <leeming@lyx.org>
4444 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4446 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4448 * text2.C (setParagraph): fix off-by-one crash
4450 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4452 * output_docbook.C: header stuff for AGU
4454 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4456 * text2.C (redoCursor): remove
4459 * BufferView_pimpl.C: remove calls to redoCursor and
4460 setCursor(cursor.par(), cursor.pos()) all around
4462 2003-12-15 Angus Leeming <leeming@lyx.org>
4464 * buffer.C: up the format to 228.
4466 2003-12-15 André Pönitz <poenitz@gmx.net>
4468 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4473 * BufferView_pimpl.C:
4482 2003-12-15 Angus Leeming <leeming@lyx.org>
4484 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4485 than getFromGUIName to manipulate the color.
4487 2003-12-14 Angus Leeming <leeming@lyx.org>
4489 * BranchList.[Ch]: minimize the API.
4490 (Branch::getBranch, getColor): now return a 'const &'.
4491 (Branch::setSelected) now returns a bool set to true if the
4492 selection status changes.
4493 (BranchList::clear, size, getColor, setColor, setSelected,
4494 allBranches, allSelected, separator): removed.
4495 (BranchList::find): new functions, returning the Branch with
4497 (BranchList::add, remove): return a bool indicating that
4498 the operation was successful.
4500 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4501 new InsetBranch::isBranchSlected member function.
4503 * LColor.[Ch]: mimimize the API.
4504 (fill): renamed as addColor and made private.
4505 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4506 versions of these functions taking a string arg have been removed.
4508 * bufferparams.C (readToken):
4509 * lyxfunc.C (dispatch):
4510 * lyxrc.C (read): changes due to the altered BranchList and
4513 * factory.C (createInset, readInset): changes due to altered
4516 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4519 * lyxfunc.C: remove insetminipage. "minipage-insert"
4520 now produces a frameless minipage box inset.
4522 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4524 * textcursor.[Ch] (selStart,selEnd): add new methods
4525 remove selection::start, end, use LyXCursor::operator<
4526 * lyxcursor.[Ch] (operator<): add
4527 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4528 * BufferView.[Ch] (unsetXSel): add
4529 * text2.C (clearSelection): use unsetXSel,adjust
4532 * rowpainter.C: adjust
4533 * bufferview_funcs.C (put_selection_at): adjust
4535 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4537 * BufferView_pimpl.C: small coord. correction
4539 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4541 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4542 dragging over the splash screen.
4544 2003-12-11 Angus Leeming <leeming@lyx.org>
4546 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4547 as it is now handled in LyXText::dispatch.
4549 * text3.C (doInsertInset): remove a level of nesting.
4551 2003-12-11 Angus Leeming <leeming@lyx.org>
4553 * factory.C (createInset): changes due to the changed interface to
4554 InsetCommandMailer::string2params.
4556 2003-12-10 Angus Leeming <leeming@lyx.org>
4558 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4559 'dialog-show-new-inset <inset name>'
4561 2003-12-10 Angus Leeming <leeming@lyx.org>
4563 * buffer.C: up the format to 227.
4565 * factory.C: the box inset is now identified simply by 'Box'.
4567 2003-12-10 Angus Leeming <leeming@lyx.org>
4569 * buffer.C: up the format to 226.
4571 * factory.C: the note inset is now identified simply by 'Note'.
4573 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4575 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4576 when a pit is enough. Standarize a couple of loops.
4578 2003-12-05 Angus Leeming <leeming@lyx.org>
4580 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4581 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4582 data to the re-worked "log" dialog.
4584 2003-12-03 André Pönitz <poenitz@gmx.net>
4590 * paragraph_funcs.C:
4592 * text2.C: use Inset::getText instead of Inset::getParagraph
4594 2003-12-03 André Pönitz <poenitz@gmx.net>
4598 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4599 InsetText::read() as LyXText::read()
4601 2003-12-02 Angus Leeming <leeming@lyx.org>
4603 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4604 type. Add a comment in the implementation that the function uses
4605 the stream's bad() function rather than fail() as the std::streams
4608 2003-12-02 André Pönitz <poenitz@gmx.net>
4610 * lyxlex.[Ch]: make interface more similar to std::stream
4612 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4614 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4616 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4618 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4620 * vspace.[Ch]: remove VSpace::NONE
4622 2003-12-01 André Pönitz <poenitz@gmx.net>
4625 * lyxtext.h: move ParagraphList member to LyXText
4626 rename LyXText::ownerParagraphs to LyXText::paragraph
4629 * bufferview_funcs.C:
4639 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4641 * undo.C: fix cursor positioning
4643 2003-12-01 John Levon <levon@movementarian.org>
4645 * BufferView_pimpl.C: fix a crash on exit with
4648 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4650 * BranchList.C: fix setSelected() method.
4652 2003-11-28 André Pönitz <poenitz@gmx.net>
4654 * ParagraphParameters.[Ch]:
4655 * ParameterStruct.h: remove space above/below from Paragraph to
4658 * BufferView_pimpl.C:
4664 * paragraph_funcs.C:
4670 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4672 * factory.C: Syntax change for CharStyles
4674 2003-11-28 André Pönitz <poenitz@gmx.net>
4679 * buffer.[Ch]: move LyXText member
4681 2003-11-28 André Pönitz <poenitz@gmx.net>
4683 * BufferView.[Ch]: make LyXText * text a private member
4685 * BufferView_pimpl.C:
4696 * output_plaintext.C: cleanup
4698 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4701 * lyxtextclass.[Ch]: parametrize SGML document header
4703 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4706 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4709 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4711 * text2.C (setFont): rework using PosIterator (no more recursive)
4712 (setCharFont): no more needed
4713 (setLayout): no more selection cursors fiddling (done by redoCursor)
4714 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4715 destroy remaining ones)
4717 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4719 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4721 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4724 * text3.C: adjust + re-allow multi par depth changes
4725 * textcursor.C: simplify a bit
4727 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4733 * src/output_docbook.C:
4734 * src/output_latex.C:
4739 * src/text2.C: Introducing a number of tags parametrizing various
4740 XML formats that we may want to support
4742 2003-11-25 André Pönitz <poenitz@gmx.net>
4744 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4746 * lyxtext.h (leftMargin/rightMargin): simplify interface
4753 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4755 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4756 master file to any child files. Fixes bug 546.
4758 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4760 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4762 2003-11-24 André Pönitz <poenitz@gmx.net>
4764 * rowpainter.C: simplification
4766 * text2.C (updateCounters): remove call to redoParagraph on
4767 changed labels as this is far too expensive.
4769 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4771 * converter.C (convert): fix a crash: this function gets
4772 called with buffer == 0 from importer code.
4774 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4776 * text3.C (cursorPrevious): make sure that we do not compare
4777 iterators form different containers.
4780 * rowpainter.C (paintSelection): make sure that we do not compare
4781 iterators from different containers.
4783 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4784 iterators from different ParagraphList containers.
4787 * text2.C (LyXText): change order of initialization slightly
4788 (operator=): new function. copy all variables except cache_par_
4789 (moveUp): make sure that we do not compare iterators from
4790 different ParagraphList constainers.
4793 * text.C (firstPar): new function
4794 (lastPar): new function
4795 (endPar): new function
4797 * lyxtext.h: move things around and group public functions, public
4798 variables, private functions, private variables
4800 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4802 * factory.C: change call to InsetERT constructor to avoid
4803 additional invocation of method status
4804 * text2.C (toggleInset): remove redundant update() call
4805 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4806 instead of a Bufferview pointer
4808 2003-11-21 André Pönitz <poenitz@gmx.net>
4810 * rowpainter.C: simplification
4812 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4814 * text3.C (dispatch): make possible to extend a word/row selection
4817 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4819 * lyxtext.h: x0_,y0_ -> xo_,yo_
4820 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4821 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4822 * rowpainter.C (paintRows): paint full paragraphs
4824 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4826 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4829 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4831 * lyxtext.h: add x0_, y0_
4832 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4833 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4835 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4837 * text2.C (setCursorIntern): move the x_target update here *
4838 * text3.C: change some bv() to true/false in calls to
4839 cursorUp/Down/Right/Left
4840 * cursor.C: use helper function.
4842 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4844 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4845 * paragraph_funcs.[Ch]: correct comment
4846 * rowpainter.C: do not paint selections away from bv->cursor()
4847 Fix a long standing selection painting bug.
4848 * text3.C: generalize mouse-selection code to LyXTexts other that
4850 * textcursor.C: do not use y coords if we can use par offsets
4852 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4854 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4855 cursor position after e.g. inset insert)
4857 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4859 * lyxfind.C (replace): adjust to locking removal + some
4862 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4864 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4867 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4870 * output_docbook.C: XML sanitation: new layout
4871 parameters InnerTag and CommandDepth
4873 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4875 * BufferView_pimpl.C:
4877 * text3.C: Fix the insertion and modification of button-style
4880 2003-11-13 André Pönitz <poenitz@gmx.net>
4882 * InsetList.[Ch]: remove deleteLyXText
4884 * paragraph.[Ch]: cache beginOfBody position
4889 * text3.C: remove superfluous update() calls
4893 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4895 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4896 * BufferView.C (fitLockedInsetCursor): remove
4897 * cursor.[Ch] (getDim): add
4898 * text.C (getRowNearY): add faster version
4899 * text3.C: remove some update calls
4901 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4913 * text3.C: The Character Style /XML short element patch.
4915 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4918 * factory.C: Small step to solving 'unable to insert some insets'
4921 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4923 * cursor.[Ch] (updatePos): new function for updating the y
4924 position of the tip inset
4925 * bufferview_funcs.C (put_selection_at):
4926 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4928 2003-11-11 André Pönitz <poenitz@gmx.net>
4930 * text.C: remove big comment on invalid Paragraph pointers as it is
4933 2003-11-11 André Pönitz <poenitz@gmx.net>
4935 * text_funcs.[Ch]: merge with ...
4943 * Makefile.am: remove text_funcs.[Ch]
4945 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4947 * cursor.C (getPos): return absolute cached y coord
4949 * BufferView_pimpl.C (fitCursor): new simplistic code
4950 (workAreaDispatch): add a fitCursor call
4952 2003-11-10 André Pönitz <poenitz@gmx.net>
4955 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4957 2003-11-10 André Pönitz <poenitz@gmx.net>
4959 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4960 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4961 indicate that the cursor needs to leave an inset
4963 * lyxtext.h: remove inset locking
4965 * cursor.[Ch]: re-implement functionality provided by inset locking
4968 * BufferView_pimpl.[Ch]:
4970 * bufferview_funcs.[Ch]:
4982 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4984 * PosIterator.[Ch]: replace the stack with a vector, add inset
4986 * iterators.[C]: adjust
4988 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4990 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4992 * paragraph_funcs.C (readParToken): put the correct id in the
4993 error item, not the id of the top paragraph
4995 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4997 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4998 * bufferview_funcs.C (put_selection_at): use the above
5000 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5002 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5004 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5006 * output_linuxdoc.h:
5007 * output_plaintext.h:
5009 * output_docbook.h: add #include statements
5011 2003-11-05 José Matos <jamatos@lyx.org>
5013 * output_docbook.[Ch]:
5014 * output_latex.[Ch]:
5015 * output_linuxdoc.[Ch]:
5016 * output_plaintext.[Ch]: New files for output formats.
5017 * output.[Ch]: New file for helper functions.
5020 * paragraph_funcs.[Ch]: output functions moved to new files.
5022 * outputparams.h: rename of latexrunparams.h
5030 * paragraph_funcs.[Ch]:
5031 * paragraph_pimpl.[Ch]:
5032 * tabular.[Ch]: rename ascii to plaintext
5033 and LatexRunParams to OutputParams.
5035 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5037 * iterators.[Ch] (text): require bv argument
5038 * undo.C (recordUndo):
5039 * lyxfunc.C (dispatch):
5040 * bufferview_funcs.C (put_selection_at): adjust
5042 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5044 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5046 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5048 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5051 2003-11-04 André Pönitz <poenitz@gmx.net>
5053 * cursor.[Ch]: restructure
5056 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5058 * iterators.[Ch] (asCursor): remove
5060 * lfuns.h: remove LFUN_INSET_EDIT
5066 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5068 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5070 * lyxfind.[Ch]: complete overhaul
5071 * BufferView_pimpl.C:
5073 * paragraph.[Ch] (insert): add
5075 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5079 * text.C: remove dead spellcheck code
5081 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5083 * dispatchresult.h: add a val setter
5085 * cursor.C (dispatch): use a tempvar for data_[i]
5087 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5089 * PosIterator.[Ch]: compile fix
5091 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5093 * text.C (cursorPar): deactivate the cursor cache
5095 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5097 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5099 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5101 * text3.C (dispatch): adjust for new DisptchResult semantics.
5103 * lyxfunc.C (dispatch): handle update when return from
5104 Cursor::dispatch, adjust for new DispatchResult semantics.
5106 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5107 DispatchResult(true) mean to not update. Add class functions for
5108 setting dispatched and update, as well as reading.
5110 * cursor.C (dispatch): don't handle update here
5112 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5114 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5115 * trans_mgr.C: adjust
5117 * paragraph_funcs.C (readParToken): exception safety
5119 * lyxvc.h: store the vcs pointer in a scoped_ptr
5122 * lyxsocket.C (serverCallback): exception safety
5124 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5126 * ispell.C (clone): make it return a auto_ptr
5128 * factory.C (createInset): exception safety
5129 (readInset): exception safety
5131 * bufferlist.C (newBuffer): exception safety
5133 * Thesaurus.C (Thesaurus): use initialization for aik_
5135 * MenuBackend.C (expandToc): exception safety.
5137 2003-11-03 André Pönitz <poenitz@gmx.net>
5141 * bufferview_funcs.C: remove getInsetFromId()
5144 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5150 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5152 * PosIterator.C (distance, advance): new
5153 * bufferview_funcs.[Ch] (put_selection_at): new
5154 * iterators.[Ch] (lockPath): new
5156 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5158 * iterators.[Ch] (asPosIterator): added
5159 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5160 * PosIterator.[Ch]: added
5162 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5166 * cursor.C (dispatch):
5167 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5169 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5170 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5171 contructor, add a class function dispatched. Remove operator>=
5173 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5175 * debug.C: only use the default constructor for debugstream
5178 * main.C (main): include debug.h and setup the lyxerr streambuf
5181 2003-10-31 José Matos <jamatos@lyx.org>
5183 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5185 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5186 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5187 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5188 * paragraph_pimpl.C (simpleTeXSpecialC):
5189 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5190 add LatexRunParams argument.
5192 * exporter.C (Export): change call accordingly.
5194 * latexrunparams.h: add new member to take care of the other backends.
5195 2003-10-30 José Matos <jamatos@lyx.org>
5197 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5198 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5199 factorise code for paragraph output.
5201 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5204 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5206 * text3.C (dispatch):
5207 * lyxfunc.C (dispatch):
5208 * cursor.C (dispatch):
5209 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5211 * dispatchresult.h: make the dispatch_result_t ctor explicit
5213 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5216 * buffer.C: small refactoring of docbook stuff
5218 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5220 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5223 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5225 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5226 operator dispatch_result_t, and operators for == != and >=
5228 * cursor.C (dispatch): adjust for operator dispatch_result_t
5229 removal. comment out call to update
5231 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5233 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5241 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5244 * dispatchresult.h: new file, DispatchResult broken out of
5247 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5249 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5251 * text.C (rowBreakPoint): put a hack inside #if 0
5253 2003-10-28 André Pönitz <poenitz@gmx.net>
5257 * paragraph_funcs.C:
5260 * text2.C: general cleanup (lots of small stuff)
5262 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5264 * text2.C (cursorEnd): simple fix to the "end key goes to one
5265 before the end on last row" bug
5267 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5269 * text.C (backspace): fix the "zombie characters"
5271 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5273 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5275 2003-10-27 André Pönitz <poenitz@gmx.net>
5277 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5279 * factory.C: handle new InsetPagebreak, InsetLine
5281 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5282 and move handling into new InsetPagebreak, InsetLine
5284 * BufferView_pimpl.C:
5286 * ParagraphParameters.C:
5287 * ParameterStruct.h:
5292 * paragraph_funcs.C:
5293 * paragraph_pimpl.C:
5299 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5302 * lyxrow_funcs.[Ch]:
5308 * text3.C: remove lastPos uses in favour of Row::endpos
5310 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5312 * undo.C (performUndoOrRedo): fix two crashes by setting a
5313 cursor by hand and reordering some calls. Use bv->lockInset instead
5314 of inset->edit because the latter loses cursor information
5316 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5318 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5320 (rowBreakPoint): fix width. change point to point + 1.
5321 Add a missing check.
5323 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5326 * lyxfunc.C: fix (at least partly) the problems
5327 with the Nav menu and headers inside branch insets
5330 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5332 * paragraph.C (getChar): add strong asserts
5334 * lyxrow_funcs.C (lastPos): remove hideous hack
5336 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5337 (fill): adjust to that (avoid an infinite loop)
5339 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5341 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5343 2003-10-23 André Pönitz <poenitz@gmx.net>
5345 * RowList_fwd.h: change list<> to vector<> to gain speed
5346 after suggestion from Alfredo
5348 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5350 * lyxtext.h: move the bidi stuff from here...
5353 * Bidi.[Ch]: ... to here
5355 2003-10-23 André Pönitz <poenitz@gmx.net>
5358 * text.C (isLastRow, isFirstRow): new functions
5360 * paragraph.h: new width cache member
5362 * rowpainter.C: replace RowList::iterator with Row & where possible
5364 * lyxfunc.C: replace several view()->text with a single call
5366 * toc.C: fix 'unused' warning
5368 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5370 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5371 when woring with stream::pos_type
5372 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5374 2003-10-22 André Pönitz <poenitz@gmx.net>
5377 * text.C: use Row & instead of RowList::iterator
5379 * lyxrow.h: rename end() to endpos()
5385 2003-10-22 Angus Leeming <leeming@lyx.org>
5387 * buffer.[Ch] (fully_loaded): new member function, returning true
5388 only when the file has been loaded fully.
5389 Used to prevent the premature generation of previews and by the
5390 citation inset to prevent computation of the natbib-style label.
5392 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5393 templates are all set up.
5395 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5397 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5399 * text.C: fixed an "oops" in the "is a bit silly"
5402 2003-10-21 André Pönitz <poenitz@gmx.net>
5404 * FuncStatus.[Ch]: small stuff, whitespace
5406 * lyxfont.[Ch]: operator<<() for debug reasons
5410 * lyxtext.h: whitespace, spelling
5412 * paragraph.C: naming of variables
5415 * text2.C: small stuff
5418 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5420 * text.C: (1) finish off the inset display() work;
5421 (2) fix the "is a bit silly" bug (accessing char
5424 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5426 * text.C: re-introduce display() for insets, fixing the
5427 various bugs (stretch of line above, math inset
5430 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5432 * text.C (rightMargin): remove spurious semicolon
5434 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5437 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5439 * text3.C: fix one crash due to wrong cursor def
5441 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5443 * vc-backend.C (scanMaster): make the regex static
5445 * LaTeX.C (scanAuxFile): make the regexs static
5447 * text3.C (doInsertInset, dispatch, dispatch):
5448 * text2.C (cursorUp, cursorDown):
5449 * text.C (selectNextWordToSpellcheck):
5450 * BufferView_pimpl.C (dispatch):
5451 * lyxfunc.C (dispatch): localDispatch -> dispatch
5453 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5455 * lyxsocket.C: include <cerrno>
5457 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5459 * lyxfunc.C (dispatch): remove textcache stuff
5461 * bufferlist.C (release): remove textcache stuff
5464 * TextCache.C: delete file
5465 * TextCache.h: delete file
5467 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5469 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5470 delete of the bv_->text.
5471 (resizeCurrentBuffer): remove texcache stuff
5472 (workAreaResize): ditto
5474 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5476 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5479 2003-10-16 André Pönitz <poenitz@gmx.net>
5486 * text3.C: speed up by storing y positions per paragraph plus per-row
5487 offset instead of having a 'full' y position in the row.
5489 2003-10-15 André Pönitz <poenitz@gmx.net>
5493 * undo.[Ch]: make undo aware of inner insets
5495 2003-10-14 Angus Leeming <leeming@lyx.org>
5497 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5498 static member functions LyX::ref() and LyX::cref.
5499 (lastfiles): new accessor functions for the new lastfiles_ member var.
5500 (addLyXView, views_): add a new LyXView to the list of views_.
5501 (updateInset): loop over all LyXViews to call their own updateInset
5502 member function, returning a pointer to the Buffer owning the inset.
5504 * BufferView_pimpl.C (loadLyXFile):
5505 * MenuBackend.C (expandLastfiles):
5506 * bufferlist.C (MenuWrite, QuitLyX):
5507 lastfiles is no longer a global variable.
5508 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5510 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5511 static function. Access through LyX::cref().emergencyCleanup().
5513 2003-10-14 André Pönitz <poenitz@gmx.net>
5515 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5517 * undo.[Ch]: restoring part of 'undo in insets'
5520 * undo_funcs.[Ch]: merge with undo.[Ch]
5522 * tabular.C: small cleansing stuff
5524 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5526 * paragraph_funcs.C (readParToken): report unknown insets as error
5527 boxes. Use the outer paragraph as location (also for unknown
5530 * factory.C (readInset): do not abort on reading an unknown inset.
5531 Eat it and return 0.
5533 2003-10-13 Angus Leeming <leeming@lyx.org>
5535 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5537 * lyxrc.C: displayTranslator is now a function,
5538 declared in GraphicsTypes.h.
5540 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5542 * format.C: new placeholder $$a to pass the socket address.
5544 * bufferlist.[Ch]: new function getBufferFromTmp.
5546 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5547 files in the temporary dir.
5549 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5551 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5553 * Makefile.am: add lyxsocket.[Ch].
5555 * lyx_main.C (error_handler): handle SIGPIPE.
5557 2003-10-13 André Pönitz <poenitz@gmx.net>
5559 * BufferView_pimpl.C:
5564 * undo_funcs.[Ch]: use paroffset_type instead of
5565 ParagraphList::iterators to prevent multiple conversion
5566 (and get a more robust interface)
5568 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5570 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5572 * text3.C (dispatch): ditto
5574 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5576 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5577 move the onlyfile, use onlyfile instead of foundfile in a couple
5580 * DepTable.C (update): flush the error stream a bit more
5582 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5584 * lyxserver.C (callback): adjust
5586 * lyxfunc.C (getStatus): add a missing brace in commented code
5587 (ensureBufferClean): reindent
5588 (dispatch): delete version taking a string
5590 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5592 * LaTeX.C (deplog): move found file handlig from here...
5593 (handleFoundFile): .. to new function here.
5594 (deplog): make sure to discover several files mentioned on the
5597 2003-10-10 André Pönitz <poenitz@gmx.net>
5604 * text3.C: fix some of the tabular crashes
5606 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5608 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5610 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5612 2003-10-09 André Pönitz <poenitz@gmx.net>
5614 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5617 * BufferView_pimpl.C:
5618 * bufferview_funcs.C:
5629 * undo_funcs.C: adjust
5631 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5633 * text2.C (incrementItemDepth): new function, use a backtracking
5634 algorithm to discover the correct item depth.
5635 (resetEnumCounterIfNeeded): new function, use a backtracking
5636 algorithm to discover if counter reset is needed.
5637 (setCounter): use them. Simplify a bit. Add different labels for
5638 different item depths for itemize.
5640 * paragraph.C (Paragraph): remove initialization of enumdepth
5643 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5644 enumerate and itemize. Change the type of itemdepth to signed char.
5646 2003-10-08 André Pönitz <poenitz@gmx.net>
5648 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5653 * tabular.[Ch]: fix crash after 'row-insert'
5655 2003-10-08 Angus Leeming <leeming@lyx.org>
5657 Fix doxygen warnings.
5659 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5660 Remove CutAndPaste:: prefix from header file declaration.
5662 * LColor.h (fill): remove LColor:: prefix from declaration.
5664 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5665 use lyx::depth_type rather than Paragraph::depth_type so that
5666 header file and .C file match.
5668 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5670 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5671 * aspell.C: \file aspell_local.C -> \file aspell.C
5672 * gettext.C: \file gettext.C -> \file src/gettext.C
5673 * gettext.h: \file gettext.h -> \file src/gettext.h
5674 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5675 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5676 * text.C: \file text.C -> \file src/text.C
5678 * toc.C: move comment so that doxygen is not confused.
5680 2003-10-07 Angus Leeming <leeming@lyx.org>
5682 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5684 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5687 * aspell_local.h: add forgotten std::string's.
5689 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5696 * text3.C: The Box patch. Fancybox support, minipage, parbox
5698 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5704 * ParagraphParameters.h:
5714 * lyxtextclasslist.h:
5717 * paragraph_pimpl.C:
5718 * textcursor.h: add <string> and other small fixes to make Lars'
5719 std::string patch compile with STLport.
5721 2003-10-06 Angus Leeming <leeming@lyx.org>
5723 * LColor.h: Add missing #include <string>.
5725 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5727 * All most all file in all subdirs: Make <string> be the prefered
5728 way of getting to std::string, add using declarations.
5730 2003-10-06 André Pönitz <poenitz@gmx.net>
5732 * metricsinfo.C: initialize LyXFont before changing attribute.
5733 (fixes the 'math in \emph is upright' bug)
5735 2003-10-06 André Pönitz <poenitz@gmx.net>
5737 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5739 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5742 * paragraph_pimpl.C: Small fixes to build using STLport
5744 2003-10-02 André Pönitz <poenitz@gmx.net>
5747 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5749 2003-10-01 André Pönitz <poenitz@gmx.net>
5751 * factory.C: assert early
5753 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5755 * lyx_main.C: remove the global debug object
5757 * debug.h: adjust for new debugstream
5759 * debug.C: adjust for new debugstream and keep the global debug
5762 2003-09-22 Angus Leeming <leeming@lyx.org>
5764 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5765 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5766 an incomplete class LyXFont.
5768 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5770 * factory.C: bug fix in branches
5772 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5774 * lyxfunc.C (processKeySym): adjust
5776 (dispatch): change arg name from ev to func, adjust
5777 (sendDispatchMessage): ditto
5779 * lyx_main.C (defaultKeyBindings): adjust keybindings
5780 (deadKeyBindings): ditto
5782 * kbsequence.C (addkey): return a FuncRequest
5784 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5786 * kbmap.C (bind): take a FuncRequest as arg, adjust
5789 (defkey): change to take a FuncRequest as arg, adjust
5790 (findbinding): take a FuncRequest as arg, adjust.
5792 * funcrequest.h (operator=): added
5794 * funcrequest.C (FuncRequest): default kb_action changed from
5795 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5797 * buffer.C (dispatch): simplify
5798 (dispatch): adjust to take a FuncRequest as arg, adjust
5800 * boost.C (assertion_failed): change assertion message slightly
5802 * ToolbarBackend.C (read): simplify
5804 * MenuBackend.C (binding): adjust call to findbinding, add a
5805 message if no binding is found.
5807 (expandToc): correct by adding a empty FuncRequest
5809 * LyXAction.C: include <boost/assert.hpp>
5810 (isPseudoAction): delete function
5811 (LookupFunc): change name to...
5812 (lookupFunc): this. change return type to FuncRequest.
5813 (getActionName): take kb_action as arg, simplify
5814 (funcHasFlag): add an assert, simplify.
5816 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5818 * toc.C (action): return a FuncRequest, simplify
5820 * lyxfunc.C (processKeySym): adjust
5821 (getStatus): delete version that takes an int.
5823 (dispatch): delete version that takes action as int
5825 (sendDispatchMessage): simplify and adjust
5827 * funcrequest.C (getArg): take unsigned int as arg
5829 * ToolbarBackend.C (read): adjust
5830 (add): delete version that takes func as a string.
5831 (getIton): take a FuncRequest as arg
5833 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5836 * MenuBackend.C (MenuItem): add a new construct that only takes a
5837 Kind, simplify the constructor use for submenus.
5839 (expandLastfiles): adjust
5840 (expandDocuments): adjust
5841 (expandFormats): adjust
5842 (expandFloatListInsert): adjust
5843 (expandFloatInsert): adjust
5844 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5846 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5847 Remove class variables lyx_pseudo_map and lyx_arg_map
5849 * LyXAction.C (searchActionArg): delete function
5850 (getPseudoAction): delete function
5851 (retrieveActionArg): delete function
5852 (LookupFunc): make it return kb_action, simplify.
5853 (getActionName): simplify
5855 * factory.C (createInset): fix new bug
5857 2003-09-19 Angus Leeming <leeming@lyx.org>
5859 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5860 masterFilename_ parameter in the include inset.
5862 * factory.C (createInset): changes due to the changes to InsetInclude.
5864 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5866 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5868 2003-09-18 Angus Leeming <leeming@lyx.org>
5871 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5872 Inset::fillWithBibKeys.
5873 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5875 2003-09-18 Angus Leeming <leeming@lyx.org>
5877 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5879 (ctor): pass and store a 'Buffer const &'
5880 (buffer): new member function.
5882 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5883 '*this' to the LaTeXFeatures ctor.
5885 2003-09-18 Angus Leeming <leeming@lyx.org>
5891 * text.C: rename EnumLColor as LColor_color.
5893 2003-09-18 Angus Leeming <leeming@lyx.org>
5895 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5896 remove #include "insets/insetbase.h" from cursor.h.
5898 2003-09-18 Angus Leeming <leeming@lyx.org>
5900 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5901 InsetOld_code to remove #include "inset.h".
5903 * iterators.C: add #include "insets/inset.h"
5905 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5907 * BufferView.C: remove more locking stuff that apparently doesn't
5908 do anything sensible.
5910 2003-09-16 André Pönitz <poenitz@gmx.net>
5913 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5916 2003-09-16 Angus Leeming <leeming@lyx.org>
5918 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5920 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5923 * paragraph.h: remove #include "lyxfont.h". Forward declare
5926 2003-09-16 Angus Leeming <leeming@lyx.org>
5928 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5929 of support/textutils.h.
5930 (isWord): move the contents of support/textutils.h's IsWordChar here.
5936 * text2.C: add #include "paragraph.h".
5939 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5941 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5947 * LaTeX.C: use namespace alias for lyx::support::os
5949 2003-09-16 Angus Leeming <leeming@lyx.org>
5952 * bufferview_funcs.C:
5955 * paragraph_pimpl.C:
5957 * text.C: add #include "LColor.h".
5959 2003-09-16 Angus Leeming <leeming@lyx.org>
5961 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5962 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5964 Store the FontBits::color variable as an int rather than as an
5965 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5968 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5969 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5970 string calls together.
5972 * lyxrc.C: add #include "LColor.h".
5974 2003-09-15 Angus Leeming <leeming@lyx.org>
5976 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5979 2003-09-15 Angus Leeming <leeming@lyx.org>
5981 * LColor.h: add an EnumLColor wrapper for LColor::color.
5983 * lyxfont.[Ch] (color, setColor, realColor):
5984 * lyxtext.h, text.C (backgroundColor):
5985 pass EnumLColor args to/from the functions, rather than LColor::color
5989 * lyxtext.h: forward declare EnumLColor.
5991 * lyx_main.C: add #include "LColor.h".
5993 2003-09-15 Angus Leeming <leeming@lyx.org>
5995 * .cvsignore: add lyx-gtk.
5997 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6002 * ParagraphParameters.C
6006 * bufferview_funcs.C
6016 * vc-backend.C: remove usage of STRCONV
6018 2003-09-15 Angus Leeming <leeming@lyx.org>
6020 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6021 explicitly define the color passed to the painter.
6023 2003-09-15 Angus Leeming <leeming@lyx.org>
6025 * bufferparams.C (BufferParams): reorder member initializers to avoid
6028 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6030 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6031 * text.C (updateRowPositions): remove an unusual nop
6033 2003-09-12 André Pönitz <poenitz@gmx.net>
6035 * BufferView_pimpl.C:
6044 * Counters.[Ch]: finish the 'automatic counters' job
6046 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6048 * aspell.C: include <boost/assert.cpp> (compile fix)
6050 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6052 * boost.C (assertion_failed): use lyx::support::abort instead of
6055 2003-09-10 Angus Leeming <leeming@lyx.org>
6057 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6058 with their _fwd progeny.
6060 2003-09-09 Angus Leeming <leeming@lyx.org>
6062 134 files throughtout the source tree: replace 'using namespace abc;'
6063 directives with the appropriate 'using abc::xyz;' declarations.
6065 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6067 * boost.C (emergencyCleanup): moved here from LAssert.c
6068 (assertion_failed): new function, called by BOOST_ASSERT
6070 * several files: change Assert to BOOST_ASSERT
6072 2003-09-09 Angus Leeming <leeming@lyx.org>
6074 * buffer.[Ch]: Add an Impl class and move Buffer's member
6075 variables into it. As a result move several header files out of
6078 Add header files to lots of .C files all over the tree as a result.
6080 2003-09-09 Angus Leeming <leeming@lyx.org>
6082 * buffer.[Ch]: make Buffer's member variables private. Add
6085 Lots of changes all over the tree as a result.
6087 2003-09-08 Angus Leeming <leeming@lyx.org>
6089 * graph.C: #include <config.h>.
6091 2003-09-08 Angus Leeming <leeming@lyx.org>
6095 * BufferView_pimpl.C:
6124 * toc.C: remove redundant using directives.
6126 2003-09-07 Angus Leeming <leeming@lyx.org>
6128 * LaTeXFeatures.h: remove #include "support/types.h".
6129 * ToolbarBackend.h: remove #include <algorithm>.
6130 * changes.h: remove #include <ctime>.
6131 * debug.h: remove #include <iosfwd>.
6132 * graph.h: remove #include "support/std_string.h".
6133 * lyx_main.h: remove #include <csignal>.
6134 * lyxlex_pimpl.h: remove #include <fstream>.
6135 * sgml.h: remove #include <algorithm>, <utility>.
6136 * toc.h: remove #include "support/std_ostream.h".
6137 Add #include <iosfwd>.
6139 2003-09-07 Angus Leeming <leeming@lyx.org>
6141 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6143 * converter.h: forward declare LatexRunParams.
6144 * encoding.h: remove #include "lyxrc.h".
6145 * lyxtext.h: remove #include "LColor.h".
6146 * lyxtextclass.h: remove #include "support/types.h".
6147 * trans.h: remove #include "tex-accent.h".
6148 * trans_mgr.h: remove #include "tex-accent.h".
6149 * insets/inset.h: remove #include "support/types.h", <vector>.
6150 * insets/insetcollapsable.h: remove #include "LColor.h".
6151 * insets/insetinclude.h: remove #include "dimension.h".
6152 * insets/insetlatexaccent.h: remove #include "dimension.h".
6153 * insets/insetoptarg.h:: remove #include "insettext.h".
6154 * insets/insettext.h: remove #include "dimension.h",
6155 <boost/shared_ptr.hpp>
6157 * insets/renderers.h: add #include "dimension.h".
6158 * insets/updatableinset.h: add #include "support/types.h".
6160 * many .C files: Associated changes.
6162 2003-09-06 Angus Leeming <leeming@lyx.org>
6164 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6165 one, inside testInvariant.
6167 * PrinterParams.C: new file.
6168 * PrinterParams.[Ch]: move the function bodies out of line.
6170 2003-09-06 Angus Leeming <leeming@lyx.org>
6172 * ParagraphParameters.h: forward declare ParameterStruct rather than
6173 including its header file.
6174 (depth): moved out-of-line.
6176 2003-09-06 Angus Leeming <leeming@lyx.org>
6178 * BufferView_pimpl.h:
6181 * lyxfunc.h: forward declare LyXKeySym rather than
6182 #include "frontends/LyXKeySym.h".
6184 * BufferView_pimpl.C:
6187 * lyxfunc.C: associated changes.
6189 2003-09-06 Angus Leeming <leeming@lyx.org>
6191 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6192 As a result, can remove the #include "insets/inset.h" from BufferView.h
6194 2003-09-06 Angus Leeming <leeming@lyx.org>
6196 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6197 As a result, can remove the #include "insets/inset.h" from BufferView.h
6199 2003-09-06 Angus Leeming <leeming@lyx.org>
6205 * bufferview_funcs.C:
6206 * BufferView_pimpl.C:
6211 * ParagraphParameters.C:
6216 * frontends/controllers/ControlDocument.C:
6217 * insets/insetcaption.C: rearrange the #includes into some sort of
6220 * buffer.h: remove #includes ErrorList.h, undo.h
6222 2003-09-06 Angus Leeming <leeming@lyx.org>
6224 * support/types.h: add a 'depth_type' typedef, used to store the
6225 nesting depth of a paragraph.
6228 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6229 defining explicitly.
6232 * paragraph_funcs.h:
6233 * ParagraphParameters.h:
6234 * sgml.h: use lyx::depth_type rather than Paragraph or
6235 ParameterStruct's depth_type.
6238 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6241 * BufferView_pimpl.C:
6243 * ParagraphParameters.C:
6246 * bufferview_funcs.C:
6253 * frontends/LyXView.C:
6254 * frontends/controllers/ControlDocument.C:
6255 * frontends/controllers/ControlErrorList.C:
6256 * insets/insetbibitem.C:
6257 * insets/insetbranch.C:
6258 * insets/insetcaption.C:
6259 * insets/insetcollapsable.C:
6260 * insets/insetenv.C:
6261 * insets/insetert.C:
6262 * insets/insetfloat.C:
6263 * insets/insetfoot.C:
6264 * insets/insetfootlike.C:
6265 * insets/insetnewline.C:
6266 * insets/insetquotes.C:
6267 * insets/insettabular.C:
6268 * insets/insettext.C:
6269 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6271 * frontends/controllers/ControlChanges.C: #include "changes.h".
6273 2003-09-06 Angus Leeming <leeming@lyx.org>
6275 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6276 than #including paragraph.h.
6279 * RowList.h: deleted. Superfluous.
6289 * insets/insettext.h: use ParagraphList_fwd.h rather than
6292 * paragraph.h: don't forward declare ParagraphList.
6295 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6296 rather than ParagraphList.h. paragraph.h is still needed for the
6297 Paragraph::depth_type parameters.
6299 * textcursor.h: enable it to compile stand-alone in light of the
6302 * bufferview_funcs.C:
6314 * frontends/controllers/ControlParagraph.C:
6315 * frontends/controllers/ControlTabular.C:
6316 * insets/insetmarginal.C:
6317 * insets/insetminipage.C:
6318 * insets/insetnote.C:
6319 * insets/insetoptarg.C: add header files needed to compile again.
6321 2003-09-06 Angus Leeming <leeming@lyx.org>
6323 * RowList_fwd.h: new file, forward-declaring Row rather than
6324 #including lyxrow.h.
6329 * insets/insettext.h: use it instead of RowList.h
6331 * bufferview_funcs.C:
6338 * text3.C: #include "RowList.h".
6340 2003-09-05 Angus Leeming <leeming@lyx.org>
6342 * factory.C (createInset):
6343 * vspace.C (c-tor): replace sscanf call with an istringstream.
6344 * ispell.C: re-add missing HP/UX headers.
6345 * lyxserver.C: re-add missing os2 headers.
6347 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6356 * text3.C: re-add missing system headers, needed for 2.95.2.
6358 2003-09-05 Angus Leeming <leeming@lyx.org>
6360 Changes most place everywhere due to the removal of using directives
6361 from support/std_sstream.h.
6363 2003-09-05 Angus Leeming <leeming@lyx.org>
6365 Replace LString.h with support/std_string.h,
6366 Lsstream.h with support/std_sstream.h,
6367 support/LIstream.h with support/std_istream.h,
6368 support/LOstream.h with support/std_ostream.h.
6370 Changes resulting throughout the tree.
6372 2003-09-05 Angus Leeming <leeming@lyx.org>
6374 * sgml.h: ensure that the header file can be compiled stand-alone.
6375 * *.C: strip out redundant #includes. (320 in total.)
6377 2003-09-04 Angus Leeming <leeming@lyx.org>
6379 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6380 here (from getPackages).
6382 * debug.[Ch]: add a new EXTERNAL tag.
6384 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6386 * text2.C (cursorEnd): simplify
6388 (getColumnNearX): adjust
6390 * text.C (computeBidiTables): adjust
6393 * rowpainter.C (paintChars): adjust
6394 (paintSelection): adjust
6395 (paintChangeBar): adjust
6398 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6400 (numberOfSeparators): adjust
6402 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6408 * text3.C: Restricts the mouse click functionality
6409 of insets like bibtex, include, toc and floatlist to the visible
6410 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6411 up the dialogs. Cursor has to be in front of the inset (i.e.
6412 start of row) for this to function.
6414 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6416 * bufferview_funcs.C (currentState): output row information
6418 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6420 * bufferview_funcs.C (currentState): output paragraph position
6422 2003-09-04 Angus Leeming <leeming@lyx.org>
6424 * FloatList.h: move out #include "Floating.h".
6425 * LaTeX.h: move out #include "DepTable.h".
6426 * LyXAction.h: move out #include "funcrequest.h".
6427 * buffer.h: move out #include "author.h", "iterators.h".
6428 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6429 * lyx_main.h: move out #include "errorlist.h".
6430 * lyxfunc.h: move out #include "FuncStatus.h".
6431 * lyxtext: move out #include "lyxcursor.h".
6432 * paragraph_pimpl.h: move out #include "counters.h".
6434 2003-09-03 Angus Leeming <leeming@lyx.org>
6436 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6437 preamble_snippets list, enabling us to add snippets to the preamble
6438 only if the snippet was not there already.
6440 2003-09-04 Angus Leeming <leeming@lyx.org>
6442 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6444 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6446 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6449 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6451 * BranchList.C: point fix, earlier forgotten
6453 2003-09-02 Angus Leeming <leeming@lyx.org>
6455 * box.C (contains): renamed from 'contained' after a fantastic
6458 2003-09-02 John Levon <levon@movementarian.org>
6464 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6466 2003-09-02 John Levon <levon@movementarian.org>
6468 * text2.C: simplification of cursorEnd(), including partial
6471 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6473 * buffer.C (readFile): add a space
6475 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6477 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6479 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6481 * buffer.C (readFile): new function, take a filename and a
6482 ParagraphList::iterator
6484 (readFile): adjust, make it private. don't use setStream, make
6485 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6486 always contain the filename.
6488 * BufferView.C (insertLyXFile): simplify and make it work for
6491 2003-08-30 John Levon <levon@movementarian.org>
6493 * Makefile.am: fix dist (from Kayvan)
6495 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6497 * most files: change to use const Buffer refs
6499 2003-08-27 André Pönitz <poenitz@gmx.net>
6501 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6502 on top of ownerPar().
6504 2003-08-27 John Levon <levon@movementarian.org>
6506 * funcrequest.C: properly initialise POD members
6508 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6510 * lyxtext.h (top_y): move top_y from here
6515 * BufferView_pimpl.[Ch]: to here
6516 * frontends/screen.C:
6517 * insets/insettabular.C:
6518 * insets/insettext.C: adjust
6519 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6521 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6524 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6526 2003-08-26 André Pönitz <poenitz@gmx.net>
6528 * paragraph_func.[Ch] (outerPar): new function
6531 * paragraph_funcs.C:
6532 * paragraph_funcs.h:
6533 * paragraph_pimpl.C:
6534 * text2.C: remove Inset::par_owner
6536 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6541 * text2.C: eliminates the needFullRow/display() stuff
6542 altogether, putting the logic in metrics/draw in the insets.
6544 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6546 * text2.C (redoParagraphInternal, redoParagraphs):
6547 * text.C (redoParagraph): add a call to updateRowPositions at the
6548 end of each 'metrics-like' call. Remove all others.
6549 (getRow): remove the 'y-computing' version.
6550 (getRowNearY): do not compute nor return the real y. Solve the
6551 'y < 0' problem and simplify.
6553 2003-08-22 Angus Leeming <leeming@lyx.org>
6555 * *.[Ch]: clean-up of licence and author blurbs.
6556 Also move config.h out of a few .h files and into a few .C files.
6558 2003-08-22 André Pönitz <poenitz@gmx.net>
6560 * lyxrow.[Ch]: add x_ and *fill_ members
6565 * text2.C: adjust/remove prepareToPrint() calls
6567 2003-08-22 André Pönitz <poenitz@gmx.net>
6569 * lyxrow.[Ch]: add end_ member
6571 * lyxrow_funcs.C: use LyXRow::end_
6573 * lyxtext.h (singleWidth): add LyXFont parameter
6576 * text2.C: adjust LyXText::singleWidth() calls
6578 * text.C (redoParagraph): simplify row breaking logic
6581 2003-08-19 André Pönitz <poenitz@gmx.net>
6583 * funcrequest.C: initialize button_ member
6586 * rowpainter.[Ch]: interface consolidation
6588 2003-08-18 André Pönitz <poenitz@gmx.net>
6591 * BufferView_pimpl.C:
6593 * paragraph_funcs.C:
6595 * text3.C: remove LyXScreen::draw() and fitCursor calls
6597 * BranchList.h: remove spurious semicolons
6599 * MenuBackend.C: fix branchlist related crash
6601 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6609 * bufferparams.[Ch]:
6613 * text3.C: implements the 'branch inset'
6614 idea. This allows the output of various versions of a document
6615 from a single source version, selectively outputing or suppressing
6616 output of parts of the text.
6617 This implementation contains a 'branch list editor' in a separate
6618 tab of the document settings dialog. Branches are user definable
6619 and have a "display colour" to distinguish them on-screen.
6621 ColorHandler was somewhat cleaned up.
6622 (1) make possible a dynamically growing LColor list by allowing
6623 the graphic context cache to grow along (vector);
6624 (2) eliminate an IMHO unnecessary step in colour allocation.
6626 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6628 * BufferView_pimpl.C: compile fix
6630 2003-08-15 André Pönitz <poenitz@gmx.net>
6632 * rowpainter.C: remove extra metrics calls
6634 * lyxtext.h: merge the two constructors into a single one,
6635 pass reference to owner's par list
6637 * BufferView_pimpl.C:
6641 2003-08-15 André Pönitz <poenitz@gmx.net>
6643 * lyxrow_funcs.[Ch]:
6646 * paragraph_funcs.C:
6651 * text_funcs.C: split LyXText::rowlist_ into individual
6652 Paragraph::rows_ chunks
6655 * BufferView_pimpl.[Ch]:
6658 * text3.C: remove toggleSelection()
6660 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6662 * bufferlist.C: beautify two alerts (shorter text of buttons)
6663 * buffer.C: Remove redundant ' ' from message
6665 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6666 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6667 rename VALIGN_CENTER to VALIGN_MIDDLE
6669 2003-08-11 André Pönitz <poenitz@gmx.net>
6671 * lyxtext.h (getPar):
6672 * text.C: new function
6674 2003-08-11 André Pönitz <poenitz@gmx.net>
6677 * tracer.[Ch]: remove unneeded files
6679 * InsetList.[Ch]: remove resizeInsetsLyXText()
6684 * text3.C: merge insertParagraphs() and appendParagraph()
6685 remove breakAgain(), update()
6687 * BufferView_pimpl.[Ch]:
6688 * bufferview_funcs.[Ch]:
6692 * tabular.C: adjust after text & InsetList changes.
6694 2003-08-08 André Pönitz <poenitz@gmx.net>
6696 * text.C (insertChar, backspace): replace rowlist fiddling
6697 with rebreak of full par
6700 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6701 checkParagraph, updateInset): removed
6703 2003-08-07 André Pönitz <poenitz@gmx.net>
6706 * text3.C: merge some LFUN handlers, remove dead code
6708 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6710 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6712 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6714 * text2.C (DEPM): fix part of bug 1255 and 1256
6716 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6718 * BufferView_pimpl.C (workAreaDispatch): change to use
6719 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6720 that are no mouse related.
6722 2003-08-05 André Pönitz <poenitz@gmx.net>
6725 * BufferView_pimpl.[Ch]:
6726 * bufferview_funcs.C:
6728 * text3.C: rip out "deep update"
6730 * textcursor.[Ch] (last_sel_cursor): remove unused member
6732 2003-08-04 André Pönitz <poenitz@gmx.net>
6735 * BufferView_pimpl.[Ch]:
6736 * ParagraphParameters.C:
6737 * bufferview_funcs.C:
6743 * text3.C: replace "complicated" BufferView::update(...) calls with
6746 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6748 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6750 * Makefile.am (lyx_SOURCES): add paper.h
6752 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6754 * Makefile.am: move things around so that both lyx-qt and
6755 lyx-xforms can be built (according to --with-frontend). Then lyx
6756 is a symbolic link to lyx-[firstfrontend]
6758 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6760 * Always use std::endl with lyxerr
6762 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6764 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6766 2003-08-01 André Pönitz <poenitz@gmx.net>
6769 * BufferView_pimpl.[Ch]:
6771 * text3.C: merge BufferView::repaint() and BufferView::update()
6773 2003-08-01 José Matos <jamatos@lyx.org>
6775 * buffer.[Ch]: file_format is no longer a buffer data element.
6777 2003-08-01 André Pönitz <poenitz@gmx.net>
6782 * text2.C: make redoParagraph more independent of current cursor
6784 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6786 * text2.C: remove unneeded members
6788 2003-07-30 André Pönitz <poenitz@gmx.net>
6790 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6792 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6793 create a single function...
6795 * paragraph_funcs.C (moveItem): ... here.
6798 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6800 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6802 * LColor.[Ch]: Add comment and greyedout logical colors.
6804 2003-07-30 André Pönitz <poenitz@gmx.net>
6806 * tabular.C: don't use Assert too heavily. This crashes where it
6809 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6811 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6812 is disabled (bug 1232)
6814 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6816 * factory.C: limited 'arg' scope
6818 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6820 * factory.C: fixed Note submenu issues
6822 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6824 * factory.C: submenu for Note/Comment/Greyedout
6826 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6829 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6831 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6834 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6835 greyedout. Patch provided by Jürgen Spitzmüller.
6837 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6839 * kbmap.C (read): fix error message when reading bind files
6841 2003-07-29 Angus Leeming <leeming@lyx.org>
6843 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6844 certainly does not do what it purports to do. I am doing it, and
6845 us, a favour by killing it.
6847 2003-07-28 José Matos <jamatos@lyx.org>
6849 * buffer.C (readBody, do_writeFile):
6850 * paragraph.C(readParagraph): \end_document replaces \the_end.
6852 2003-07-29 André Pönitz <poenitz@gmx.net>
6855 * BufferView_pimpl.[Ch]:
6859 * textcursor.[Ch]: remove toggleToggle & Co
6861 2003-07-28 José Matos <jamatos@fep.up.pt>
6863 * buffer.C (readParagraph):
6864 * params_func (readParToken, readParagraph):
6865 * paragraph.C (write): \layout -> \begin_layout.
6867 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6869 * lyxlex_pimpl.C (setFile): clean up slightly.
6871 * bufferparams.h: add compressed var
6873 * buffer_funcs.C (readFile): adjust for LyXLex change
6874 (newFile): ditto + simplify
6876 * buffer.C (writeFile): handle writing of compressed files
6878 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6879 Check if the file is compressed and set a bufferparm if so.
6881 * Makefile.am (lyx_LDADD): remove explicit -lz
6883 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6885 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6886 makeDocBookFile): put the real LyX version in the first line of
6890 * version.C.in: remove lyx_docversion
6892 * tabular.C (write_attribute): add a template-based version to
6893 write enums properly
6895 2003-07-28 André Pönitz <poenitz@gmx.net>
6900 * text3.C: use doubles again for x-coordinates. They are needed.
6902 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6904 * messages.C (getLocaleDir): use lyx_localedir()
6906 * lyxlex_pimpl.C (setFile): compress stuff
6908 * buffer.C (writeFile): add some compression stuff
6909 (do_writeFile): new func, dont call expliti close... will this
6912 * Makefile.am (lyx_LDADD): add -lz
6914 2003-07-28 José Matos <jamatos@fep.up.pt>
6916 * buffer.C: increment file format.
6917 * paragraph_funcs (readParagraph, readParToken):
6918 * paragraph.C (readParagraph): add \end_layout.
6920 2003-07-27 Angus Leeming <leeming@lyx.org>
6922 * Makefile.am: remove special casing for configure-time setting of
6923 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6925 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6926 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6928 2003-07-26 André Pönitz <poenitz@gmx.net>
6930 * paragraph_func.[Ch]:
6931 * paragraph.C (realizeFont): inline it whereever it is used
6936 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6939 2003-07-26 André Pönitz <poenitz@gmx.net>
6943 * text2.C: get rid of LyXText::need_break_row
6945 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6947 * toc.[Ch]: put namespace toc inside namespace lyx
6949 * MenuBackend.C (expandToc2): adjust for lyx::toc
6952 * lyxfunc.C (dispatch): adjust for lyx::find
6954 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6955 lyx::find instead. Reorganize a bit.
6956 (LyXReplace): rename to replace
6957 (LyXFind): rename to find
6959 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6962 2003-07-26 André Pönitz <poenitz@gmx.net>
6964 * text.C (setHeightOfRow): restrict scope of temporary variable
6966 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6967 code (never has been used?)
6969 2003-07-27 Asger Alstrup <alstrup@local>
6971 * text.C (fill): Optimise algorithm to exploit that we can reuse
6972 the LyXFont for many characters.
6973 (setHeightOfRow): Same thing.
6974 (rowBreakPoint): Same thing.
6976 2003-07-26 Asger Alstrup <alstrup@local>
6978 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6980 * text.C (singleWidth): Spurious font copying in hot-spot
6981 singleWidth avoided. Reorder tests for arabic for efficiency.
6983 * text.C (fill): handle empty paragraphs better.
6985 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6988 * encoding.h: add includes
6990 * lyxrc.C: remove reading of bind files
6992 * lyx_main.C (init): setup bindings and menus only if we have a
6995 * kbmap.C (read): new method. Do the actual reading of bind
6998 * converter.C (dvipdfm_options):
7001 (output): adapt PAPER_* enums.
7003 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7005 * bufferparams.h: remove paper-related enums from there
7007 * paper.h: New file. A trivial header file to hold paper-related
7008 enums. It should later expand to contain many paper-related
7011 * lyxrc.C: declare extern displayTranslator
7013 2003-07-27 José Matos <jamatos@fep.up.pt>
7015 * tabular.[Ch] (linuxdoc): add support for tables and figures
7018 2003-07-27 José Matos <jamatos@fep.up.pt>
7020 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7021 consistency in both functions.
7022 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7024 2003-07-26 Asger Alstrup <alstrup@local>
7026 * rowpainter.C (paintRows): Change algorithm to work directly on
7027 the insets rather than asking every character in the document
7028 whether its an inset.
7030 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7032 * buffer.C (openFileWrite): factorize some code
7034 2003-07-26 Angus Leeming <leeming@lyx.org>
7037 * lyx_main.[Ch]: replace occurances of system_tempdir with
7040 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7042 * rename Inset to InsetOld
7044 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7046 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7047 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7048 which I think is a bit clearer. EDIT is gone, since it was
7049 premature optimisation, and broken for mathed anyway.
7050 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7051 with cursor positioning in insets as well (math insets still do not
7052 work, but that's a different story anyway.) It mysteriously
7053 crashes sometimes with undo in the first paragraph, but I'm fairly
7054 confident that this is a compiler bug.
7056 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7058 * paragraph.C (Paragraph): adjust for new clone return type
7060 (copyIntoMinibuffer): ditto
7062 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7064 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7065 by not having a special case, and always doing a full rebreak of
7066 the document after undo.
7068 2003-07-23 Angus Leeming <leeming@lyx.org>
7070 * factory.C (createInset): InsetExternal::setParams now takes a
7073 2003-07-23 Angus Leeming <leeming@lyx.org>
7075 * factory.C (createInset): changed interface to the external and
7076 graphics mailers' string2params functions.
7078 2003-07-23 Angus Leeming <leeming@lyx.org>
7080 * factory.C (createInset): pass a
7081 Buffer const * parameter to InsetExternalMailer's string2params.
7083 2003-07-22 John Levon <levon@movementarian.org>
7085 * Thesaurus.h: include the right aiksaurus header
7087 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7089 * MenuBackend.C (expand): check menu shortcuts unconditionally
7091 2003-07-21 Angus Leeming <leeming@lyx.org>
7093 * factory.C (createInset): pass a
7094 buffer_path parameter to InsetGraphicsMailer's string2params.
7096 2003-07-21 Angus Leeming <leeming@lyx.org>
7098 * BufferView_pimpl.C (buffer):
7101 * lyxfunc.C (dispatch):
7102 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7103 rather than the grfx shortcut.
7105 2003-07-21 André Pönitz <poenitz@gmx.net>
7107 * rowpainter.C: remove unused variables
7110 * tabular_funcs.h: move to tabular.C
7111 * Makefile.am: adjust
7113 * tabular.[Ch]: basic optical cleaning
7115 * author.h: pass references, not values
7117 2003-07-18 André Pönitz <poenitz@gmx.net>
7125 * text3.C: two-phase drawing for InsetText and InsetTabular
7126 some float -> int changes.
7128 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7130 * lyx_main.C: fix the fix
7132 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7134 * lyx_main.C: fix a crash in batch mode if no files specified
7137 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7139 * format.[Ch] (papersize): moved to BufferParams
7140 * converter.[Ch] (dvips_options): moved to BufferParams
7141 (dvipdfm_options): moved to anon namespace
7142 * bufferparams.[Ch]: added above functions.
7144 2003-07-17 André Pönitz <poenitz@gmx.net>
7148 * text2.C: don't call inset->update() anymore
7150 * metricsinfo.[Ch]: add convenience constructor
7152 2003-07-16 André Pönitz <poenitz@gmx.net>
7157 * text2.C: replace the LyXCursor::irow_ member with
7158 on-demand computation of the value
7160 2003-07-16 John Levon <levon@movementarian.org>
7162 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7164 2003-07-15 André Pönitz <poenitz@gmx.net>
7167 * text2.C: remove no more needed refresh_row
7169 2003-07-15 André Pönitz <poenitz@gmx.net>
7174 * text3.C: refresh_status tristate -> need_update bool
7176 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7178 * lyxtext.h (init): remove reinit argument (act as if always true)
7179 * text2.C: adjust to that
7181 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7183 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7184 * text3.C: use it to delete selections in some cases
7185 (bugs 441, 673, 702, 954).
7187 2003-07-14 André Pönitz <poenitz@gmx.net>
7189 * rowpainter.[Ch]: reduce interface
7191 2003-07-14 André Pönitz <poenitz@gmx.net>
7193 * BufferView_pimpl.C:
7194 * text2.C: adjust after removing unused BufferView * argument
7196 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7198 * text2.C (init): fix a crash fired on resize
7200 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7202 * buffer.[Ch]: added new closing signal
7203 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7204 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7205 BufferView::Pimpl via the closing the signal
7207 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7209 * buffer.[Ch]: take out all bv-related from buffer
7211 * BufferView_pimpl.[Ch]: connect to new signals
7212 * CutAndPaste.C: removed useless asserts
7213 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7216 * lyxfunc.C: moved view-related funciontality from vc here
7217 * paragraph.C: removed outdated comments
7220 2003-07-10 André Pönitz <poenitz@gmx.net>
7222 * BufferView_pimpl.C:
7226 * text2.C: remove InsetText::InnerCache, clean up consequences
7228 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7230 * ispell.C: fix two typos in error messages
7232 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7234 * Extend Note inset to other forms of annotation like Comment
7235 and Greyedout. Right button click gives dialog.
7237 Files modified or added (+):
7241 * ControlNote.[Ch] +
7243 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7244 frontends/controllers
7248 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7250 * aspell.C: add missing namespace lyx::support
7252 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7254 * BufferView.[Ch] (newFile): Add
7255 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7256 * LaTeX.[Ch] (message): added this signal and use it
7257 * buffer.[Ch] (busy, message): added these signals and use them
7258 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7262 * importer.C: use buffer signals instead of direct bv calling
7263 * lyx_cb.[Ch] (ShowMessage): removed
7266 * paragraph_funcs.C:
7267 * text2.C: use buffer signals
7269 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7271 * introduce namespace lyx::graphics
7273 2003-07-02 André Pönitz <poenitz@gmx.net>
7275 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7277 2003-07-01 André Pönitz <poenitz@gmx.net>
7284 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7285 text*.C to text_func.C
7287 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7289 * introduce namespace lyx::support
7291 2003-06-30 André Pönitz <poenitz@gmx.net>
7296 * text.C: re-enable --with-included-string
7298 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7300 * textcursor.C: add <config.h>
7302 * text.C (getWord): remove const from word_location arg
7304 * lyxvc.C (getLogFile): fix const type order
7306 * lyxtext.h: remove const from word_location arg, add arg name
7308 * lyxlayout.h: currect type on labeltype.
7310 * importer.C: correct \file
7312 * converter.C (intToFormat): use std:: on ret val, ws changes
7314 * bufferlist.h: correct \file
7316 * buffer.C (makeLinuxDocFile): fix const type order
7317 (makeDocBookFile): ditto
7318 (fillWithBibKeys): use std:: on stdlib args.
7320 * CutAndPaste.C: fix authors.
7321 (availableSelections): use std:: on return vector
7323 2003-06-27 André Pönitz <poenitz@gmx.net>
7325 * BufferView_pimpl.C:
7326 * bufferview_funcs.C:
7334 * text3.C: remove LyXCursor::row_ member
7337 * text.C: rename fullRebreak() to partialRebreak() and implement
7338 a fullRebreak() that really bereks fully
7340 * textcursor.h: new struct for cursor-related data
7342 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7344 * lyx_main.C (LyX): get full path of document loaded on the
7347 2003-06-26 André Pönitz <poenitz@gmx.net>
7349 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7350 remove unused/broken operator>,<,>=.
7352 * text.C: remove only use of broken operator<= in an Assert().
7354 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7356 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7357 moved errorlist_.clear to showErrorList
7359 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7361 * converter.C (scanLog, runLaTeX):
7362 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7363 move the bv->showErrorList call to the callers
7364 * lyxfunc.C: i.e. here...
7366 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7367 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7368 namespace, the second to...
7369 * buffer_funcs (BufferFormat, parseErrors): added
7370 * errorlist.C (ErrorList(TeXErrors const &)): removed
7372 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7374 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7376 2003-06-24 "Garst R. Reese" <reese@isn.net>
7380 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7382 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7384 * version.C.in: change docversion to 1.4
7386 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7388 * buffer.C: fix a bug just introduced
7390 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7392 * buffer.[Ch]: added the parseError signal and use it, removed
7394 * BufferView.[Ch] (addError): moved to ...
7395 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7396 to the Buffer::parseError signal to catch (guess what) parse errors
7397 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7399 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7401 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7402 ability to create a buffer and to return an existing one from
7403 the list. Moved these functions to...
7404 * buffer_funcs.[Ch]: added
7405 * BufferView.[Ch] (loadLyXFile): added
7406 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7407 job removed from bufferlist::loadLyXFile.
7408 * buffer.C (setReadOnly): make it work without view
7409 (i.e added an if (users))
7411 2003-06-19 Angus Leeming <leeming@lyx.org>
7414 * LyXAction.C (init):
7415 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7416 with LFUN_DIALOG_SHOW <name> <data>.
7418 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7420 * CutAndPaste.C (availableSelections): small compilation fix for
7421 ancient (gcc 2.9x) compilers
7423 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7425 * text3.C (cursorNext): add tmp var
7427 * text2.C (updateCounters): for function calling out of for clause
7428 (replaceSelectionWithString): ditto
7429 (insertStringAsParagraphs): ditto
7430 (getColumnNearX): add tmp var
7431 (setCursorFromCoordinates): add tmp var
7432 (cursorDownParagraph): add tmp var
7433 (deleteEmptyParagraphMechanism): add tmp var
7435 * text.C (insertChar): add tmp var
7437 * rowpainter.C (paintDepthBar): add tmp var
7439 * CutAndPaste.C (availableSelections): potentially check all
7440 paragraphs in a cut to fill the shown strings.
7442 2003-06-18 André Pönitz <poenitz@gmx.net>
7444 * kbmap.[Ch]: use vector<> instead of list<>
7446 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7448 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7449 pasteSelection with index
7451 * text2.C (pasteSelection): modify, call pasteSelection with index
7453 * paragraph.C (asString): reimplement version with no interval to
7454 call the one with interval.
7456 * lyxtext.h: add index arg to pasteSelection
7458 * MenuBackend.C (MenuItem): handle PasteRecent
7459 (Menu::read::Menutags): add md_pasterecent
7461 (expandPasteRecent): new function
7464 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7466 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7468 (availableSelections): new function
7470 2003-06-17 Angus Leeming <leeming@lyx.org>
7472 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7474 2003-06-17 Angus Leeming <leeming@lyx.org>
7477 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7479 * lyxfunc.C (dispatch): invoke it.
7481 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7483 * iterators.C (operator++, ParPosition): reintroduce some
7484 const_cast for the benefit of older compilers.
7486 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7488 * text3.C (dispatch): do not modify clipboard when doing
7489 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7490 LFUN_DELETE_SKIP on a selection selection
7492 2003-06-16 André Pönitz <poenitz@gmx.net>
7498 * tabular.[Ch]: IU of clone() and getLabelList();
7500 2003-06-13 André Pönitz <poenitz@gmx.net>
7502 * tabular.h: compactification
7504 2003-06-12 André Pönitz <poenitz@gmx.net>
7508 * tabular_funcs.h: some renaming plus whitespace
7510 2003-06-12 André Pönitz <poenitz@gmx.net>
7513 * BufferView_pimpl.C:
7519 * toc.C: Return a Paragraph & for ParIterator::operator*()
7521 2003-06-11 John Levon <levon@movementarian.org>
7525 * ToolbarBackend.C: add "Toolbars" section and
7528 2003-06-10 Angus Leeming <leeming@lyx.org>
7531 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7533 * lyxfunc.C (dispatch): invoke it.
7535 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7537 * main.C: protect <ios> with HAVE_IOS
7538 (main): protect sync_with_stdio with HAVE_IOS
7540 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7542 * text2.C (cutSelection): adjust
7543 (pasteSelection): adjust
7545 * messages.C: handle get of empty string
7547 * main.C (main): use sync_with_stdio(false)
7549 * lyxfunc.C (dispatch): adjust
7551 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7552 (WriteAs): remove unneeded BufferView arg.
7554 * bufferparams.h: use correct types on papersize, papersize2 and
7557 * bufferparams.C (readToken): adjust for type
7558 (writeLaTeX): add missing cases to switch.
7560 * bufferlist.C (quitWriteBuffer): adjust
7563 * buffer.C (asciiParagraph): remove some commented code.
7565 * CutAndPaste.C: remove current_view extern variable.
7566 (cutSelection): add BufferParams arg.
7567 (eraseSelection): add BufferParams arg.
7568 (pasteSelection): add Buffer const & arg
7570 2003-06-07 John Levon <levon@movementarian.org>
7573 * paragraph_funcs.C:
7574 * paragraph_pimpl.C:
7578 * paragraph.C: allow InsetERT to freely space lines,
7579 and some consolidation of code
7581 2003-06-06 José Matos <jamatos@fep.up.pt>
7583 * buffer.C (makeDocBookFile): fix bug #821
7585 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7587 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7589 2003-06-04 Angus Leeming <leeming@lyx.org>
7591 * buffer.C: bump format to 224.
7593 2003-06-05 André Pönitz <poenitz@gmx.net>
7595 * text2.C (redoParagraphs): remove two const_cast<>
7597 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7599 * ParagraphList.h: remove last remnants of NO_STD_LIST
7601 2003-06-03 Angus Leeming <leeming@lyx.org>
7603 * factory.C (createInset): small change to the way InsetExternal's params
7606 2003-06-04 André Pönitz <poenitz@gmx.net>
7608 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7610 * paragraph_pimpl.h:
7611 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7613 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7615 * undo_funcs.C: make some simple cases of undo work again
7617 2003-06-03 John Levon <levon@movementarian.org>
7619 * ispell.C: HPUX doesn't have sys/select.h
7622 2003-06-03 John Levon <levon@movementarian.org>
7624 * CutAndPaste.C: update tabular and include inset
7629 * paragraph.C: remove owningBuffer(), don't pass Buffer
7632 * factory.C: insetGraphicsParams changed
7634 2003-06-02 John Levon <levon@movementarian.org>
7640 * text3.C: remove insetparent
7642 2003-06-02 John Levon <levon@movementarian.org>
7645 * buffer.C: fix inset_iterator.end(), move out of line
7648 2003-06-01 John Levon <levon@movementarian.org>
7650 * text3.C: use a proper cut/paste when doing inset
7651 insert (from Jürgen Spitzmüller)
7653 2003-06-01 John Levon <levon@movementarian.org>
7655 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7657 2003-05-30 André Pönitz <poenitz@gmx.net>
7659 * rowpainter.C: unify second drawing phase
7661 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7663 * trans_mgr.C: remove one case of current_view
7665 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7667 * paragraph_funcs.h: remove paragraph.h include
7669 * paragraph.h: delete NO_STD_LIST stuff
7671 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7673 * buffer.h: remove paragraph.h include
7675 * ParagraphList.C: delete file
7677 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7679 * toc.C (getTocList): adjust
7681 * paragraph_pimpl.C (validate): adjust
7683 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7685 * paragraph.C (Paragraph): adjust
7686 (getPositionOfInset): use const_iterator, adjust
7687 (bibitem): use const_iterator, adjust
7688 (setInsetOwner): adjust
7690 * iterators.C (operator++): adjust
7692 * InsetList.[Ch]: Replace selfmade iterator with standard
7693 vector::iterator also introduce const_iterator. Remove getPos,
7694 getInset and setInset from InsetTable. Adjust accordingly.
7696 * BufferView.C (lockInset): adjust
7697 (ChangeInsets): adjust
7699 * tabular.[Ch]: delete commented same_id functions
7701 2003-05-28 John Levon <levon@movementarian.org>
7703 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7705 2003-05-28 André Pönitz <poenitz@gmx.net>
7707 * metricsinfo.[Ch]: remove 'fullredraw' member
7709 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7711 * lyxtextclass.C (operator): remove caching.
7713 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7717 * text2.C (cursorBottom): adjust
7718 (setCounter): use ParagraphList::find, adjust
7720 * text.C (workWidth): use ParagraphList::find, adjust
7722 * lyxcursor.C (LyXCursor): adjust
7724 * buffer.C (inset_iterator): adjust
7726 * ParagraphList.h: make iterator(value_type) private, make
7727 ParagraphList a friend of iterator.
7729 * ParagraphList.C (find): new function
7731 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7733 2003-05-27 André Pönitz <poenitz@gmx.net>
7735 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7737 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7739 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7741 2003-05-26 John Levon <levon@movementarian.org>
7743 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7745 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7747 * remove same_id from function signatures, adjust.
7749 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7751 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7753 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7755 * paragraph.C (Paragraph): get rid of same_ids parameter
7757 * ParagraphList.C (insert): adjust
7760 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7762 * paragraph_funcs.C (breakParagraph): adjust
7763 (breakParagraphConservative): adjust
7765 * buffer.C (readParagraph): adjust
7767 * ParagraphList.C (insert): take a reference instead of a pointer
7770 * paragraph.[Ch] (id): new function
7772 * bufferlist.C (newFile): adjust
7774 * ParagraphList.C (ParagraphList): adjust
7776 (push_back): take a reference instead of a pointer.
7778 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7780 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7783 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7784 set else use old code.
7786 * ParagraphList.C: remove all NO_NEXT code and only compile this
7787 code of NO_STD_LIST is set.
7789 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7791 * BufferView_pimpl.C:
7801 * graphics/GraphicsConverter.C:
7802 * graphics/PreviewLoader.C: header adjustment
7804 2003-05-23 Angus Leeming <leeming@lyx.org>
7806 * LaTeXFeatures.[Ch] (useBabel): new method.
7807 * bufferparams.C (writeLaTeX): use it.
7809 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7811 * ParagraphList.h (set): remove unused function.
7813 2003-05-23 André Pönitz <poenitz@gmx.net>
7816 * BufferView_pimpl.C:
7820 * undo_funcs.C: setUndo reworked
7822 * iterators.[Ch]: add access to topmost ParagraphList
7824 * lyxtext.[Ch] (workWidth): add a const
7826 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7828 * texrow.[Ch] (increasePos): remove function
7829 * exporter.C (export): removed unused var and outdated comment
7831 2003-05-23 Angus Leeming <leeming@lyx.org>
7833 * latexrunparams.h: rename fragile as moving_arg.
7834 * paragraph.C (simpleTeXOnePar): ditto.
7835 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7837 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7839 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7841 (textUndoOrRedo): comment out a currently unused var.
7843 * paragraph.h (NO_NEXT): enable NO_NEXT
7845 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7847 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7849 * exporter.C (Export): adjust for removeAutoInsets removal.
7851 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7853 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7855 * BufferView.[Ch] (removeAutoInsets): delete function
7857 2003-05-22 Angus Leeming <leeming@lyx.org>
7859 * latexrunparams.h: add a free_spacing variable.
7861 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7862 to pass moving_arg, as the data is stored in runparams.fragile.
7864 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7865 to Inset::latexOptional or to simpleTeXOnePar.
7867 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7868 free_spacing arg to Inset::latexOptional.
7870 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7873 2003-05-22 Angus Leeming <leeming@lyx.org>
7875 * latexrunparams.h: add fragile and use_babel variables.
7877 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7878 * buffer.C (makeLaTeXFile): store this returned value in
7879 runparams.use_babel, thus passing it to the inset::latex methods.
7881 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7882 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7884 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7885 longer has a fragile arg, as it is stored in runparams.fragile.
7887 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7888 moving_arg parameter as the data is stored in runparams.fragile.
7890 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7891 a fragile parameter as the data is stored in runparams.fragile.
7893 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7895 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7897 2003-05-22 Angus Leeming <leeming@lyx.org>
7899 * latexrunparams.h: add a 'bool nice' which defaults to false.
7901 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7902 now encapsulated within runparams.
7904 * bufferlist.C (updateIncludedTeXfiles):
7905 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7907 2003-05-22 Angus Leeming <leeming@lyx.org>
7909 * latexrunparams.h: new file containing struct LatexRunParams.
7910 * Makefile.am: add new file.
7912 * LaTeX.[Ch] (c-tor, run):
7913 * buffer.[Ch] (makeLaTeXFile):
7914 * bufferlist.[Ch] (updateIncludedTeXfiles):
7915 * converter.C (convert, scanLog):
7916 * converter.[Ch] (runLaTeX):
7917 * exporter.C (Export):
7918 * paragraph.[Ch] (simpleTeXOnePar):
7919 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7920 * paragraph_funcs.[Ch] (latexParagraphs):
7921 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7922 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7923 pass around a LatexRunParams parameter.
7925 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7927 * paragraph.[Ch]: remove unused constructor
7929 * ParagraphList.C (erase): new function, taking two iterators
7931 2003-05-22 André Pönitz <poenitz@gmx.net>
7933 * undo_funcs.C: remove duplicated code
7935 * iterator.[Ch]: operator=
7937 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7939 * tabular.C (SetMultiColumn): ws changes
7941 * rowpainter.C (paintFirst): get rid of a ->previous
7943 * lyx_cb.C (getPossibleLabel): parlist simplification
7945 * BufferView.C (ChangeInsets): simplify slightly.
7947 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7949 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7950 * lfuns.h: new LFUN_SPACE
7951 * lyxfunc.C: protected space has a new lfun
7952 * paragraph_funcs.C: read new space insets
7954 * factory.C: handle new space insets
7956 2003-05-22 André Pönitz <poenitz@gmx.net>
7959 * BufferView_pimpl.C:
7962 * undo_funcs.C: return a ParIterator from getParFromID.
7964 * iterators.[Ch]: add two const's
7966 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7968 * toc.C (getTocList): adjust
7970 * iterators.[Ch]: rework for parlist
7972 * buffer.C (par_iterator_begin): adjust
7973 (par_iterator_end): adjust
7975 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7977 * BufferView.C (removeAutoInsets): adjust
7978 (ChangeInsets): adjust
7980 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7982 * text.C (top_y): fix bug 1110
7984 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7986 * errorlist.[Ch]: added
7989 * BufferView_pimpl.C:
7990 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7993 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7995 * Makefile.am: ensure that lyx is relinked upon changes to the
7996 various "convenience" libs.
7998 2003-05-20 Angus Leeming <leeming@lyx.org>
8000 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8001 files are compiled in alphabetical order again.
8003 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8005 2003-05-19 Angus Leeming <leeming@lyx.org>
8007 * gettext.[Ch]: remove "char const * _(char const *)".
8009 2003-05-19 André Pönitz <poenitz@gmx.net>
8011 * dimension.[Ch]: promote from mathed/dimension.[Ch]
8020 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8022 2003-05-19 André Pönitz <poenitz@gmx.net>
8026 * lyxtextclass.[Ch]:
8028 * paragraph_funcs.[Ch]:
8030 * text3.C: more insetenv work
8032 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8034 * ParagraphParameters.C (params2string): small bug fixed
8036 2003-05-16 André Pönitz <poenitz@gmx.net>
8039 * bufferview_funcs.C: patch from Kornel Benko to prevent
8040 crash when _(...) is called twice in a statement
8042 2003-05-16 André Pönitz <poenitz@gmx.net>
8049 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8051 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8053 * lyx_main.C (init): remove spurious static_cast
8055 2003-05-14 André Pönitz <poenitz@gmx.net>
8057 * BufferView.C: fix format string
8059 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8061 * BufferView.[Ch] (insertErrors): removed
8062 * BufferView.[Ch] (showErrorList): added
8063 * buffer.C (runChkTeX):
8064 * converter.C (scanLog): call showErrorList instead of inserterrors
8066 2003-05-13 André Pönitz <poenitz@gmx.net>
8068 * BufferView_pimpl.C:
8070 * bufferview_func.C:
8077 * tabular_funcs.h: tostr() from its own header
8079 * ParagraphParameters.C:
8084 * text3.C: STRCONV()
8086 2003-05-12 André Pönitz <poenitz@gmx.net>
8089 * BufferView_pimpl.C:
8093 * ParagraphParameters.C:
8097 * bufferview_funcs.C:
8110 * paragraph_funcs.C:
8114 * text3.C: boost::format -> bformat all over the place
8117 2003-05-09 André Pönitz <poenitz@gmx.net>
8119 * LColor.[Ch]: Pimpl the #include <map> away
8121 2003-05-09 John Levon <levon@movementarian.org>
8123 * bufferlist.C: never remove emergency saves
8125 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8127 * Makefile.am: better lib building
8129 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8131 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8133 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8134 (simpleTeXSpecialChars): adjust
8135 (simpleTeXSpecialChars): adjust
8136 * paragraph.C (simpleTeXOnePar): adjust
8137 * buffer.C (makeLaTeXFile): adjust
8139 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8141 * text2.C (changeDepth): parlist cleanup
8142 (getColumnNearX): ditto
8144 * rowpainter.C (getLabelFont): parlist cleanup
8146 * bufferlist.C (newFile): parlist cleanup
8148 * CutAndPaste.C (eraseSelection): parlist cleanup
8150 * BufferView_pimpl.C (trackChanges): parlist cleanup
8153 * BufferView.C (lockInset): parlist cleanup.
8154 (ChangeInsets): ditto
8156 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8158 * CutAndPaste.h: Update file header.
8160 * CutAndPaste.C: Update file header.
8161 Store the parts cut out of the Document in a limited_stack.
8162 (copySelection): adjust
8163 (pasteSelection): new function, takes the index in the limited stack.
8164 (nrOfParagraphs): adjust
8165 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8166 simplify error inset insertion.
8167 (checkPastePossible): adjust
8169 2003-05-06 John Levon <levon@movementarian.org>
8171 * text2.C: don't cast wrap inset to float
8173 2003-05-05 André Pönitz <poenitz@gmx.net>
8176 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8178 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8179 few naked Paragraph *.
8181 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8183 * bufferparams.C: Output warning if a document with missing
8184 TeX document class is loaded
8185 * exporter.C: Disable TeX exports if the document class is missing
8188 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8189 isTeXClassAvailable()
8191 2003-05-03 John Levon <levon@movementarian.org>
8194 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8195 explicit cursor show/hide
8197 * BufferView_pimpl.h:
8198 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8199 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8201 * lyxfunc.C: hide cursor before dispatching.
8206 * text3.C: remove explicit cursor hides
8208 2003-05-02 André Pönitz <poenitz@gmx.net>
8210 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8213 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8216 * text2.C: tiny whitespace
8218 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8220 * undo_funcs.C: almost only ws changes.
8222 * ParagraphList.C (splice): just return if pl is empty.
8224 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8226 * ParagraphList.C (splice): new function.
8228 * CutAndPaste.C (pasteSelection): use it
8230 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8232 * CutAndPaste.C (pasteSelection): remove the last next and
8233 previous from this file.
8235 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8237 * CutAndPaste.C (pasteSelection): more clean up, user proper
8238 ParagraphList functions for pasteing.
8240 * ParagraphList.C (insert): new function, three arg insert
8242 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8244 * ParagraphList.C (insert): new function, three arg insert
8246 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8249 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8251 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8253 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8255 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8257 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8259 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8260 (copySelection): clean up a bit.
8261 (pasteSelection): use make_pair
8263 * ParagraphList.C (ParagraphList): implement copy constructor
8264 (operator=): implement, base on copy constructor.
8267 * paragraph.C (erase): return a bool
8269 * paragraph_pimpl.C (erasePos): remove function, move contents...
8270 (erase): ... here. Return a bool.
8271 (erase): call erase instead of erasePos.
8273 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8275 * ParagraphList.h: define PitPosPair
8276 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8277 ParagraphList, fix a bug on pasting multiple pars
8278 * text2.C: change interface to C&P
8280 2003-04-30 André Pönitz <poenitz@gmx.net>
8282 * undo_func.C: revert part of yesterday's patch 2
8284 2003-04-30 John Levon <levon@movementarian.org>
8286 * LColor.C: s/tabular/table/
8288 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8290 * text3.C (dispatch): do not convert iterator -> pointer
8291 * undo_funcs.C (setCursorParUndo): ditto
8292 * text_funcs.C (transposeChars): ditto
8294 * text2.C (setLayout): ws changes only
8296 * text.C (breakParagraph): do not convert iterator -> pointer
8298 (acceptChange): ditto
8299 (rejectChange): ditto
8304 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8307 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8309 * text3.C (gotoInset): YABG (yet another bad getChar)
8311 2003-04-29 André Pönitz <poenitz@gmx.net>
8313 * paragraph.h: make operator= private unimplemented as long as
8316 * ParagraphList.C: whitespace
8319 * paragraph_pimpl.[Ch]:
8320 * paragraph_funcs.C:
8322 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8325 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8327 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8329 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8330 * paragraph.[Ch] (erase):
8331 * paragraph_pimpl.[Ch] (erase): change return type and value
8332 * text2.C (cutSelection): some rework
8334 2003-04-28 John Levon <levon@movementarian.org>
8336 * bufferlist.C: changes for unsaved changes dialog
8338 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8340 * bufferlist.C (newFile): set language (messages_) for new
8343 * buffer.C (readFile): ws changes only.
8345 2003-04-28 André Pönitz <poenitz@gmx.net>
8350 * BufferView_pimpl.C:
8351 * BufferView.C: getParFromID related ParagraphList::iterator changes
8353 2003-04-28 André Pönitz <poenitz@gmx.net>
8355 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8358 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8360 * messages.C: remove one more localedir class variable.
8362 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8364 * messages.C (getLocaleDir): singleton generation function
8366 (Messages): add a default constructor.
8368 * main.C (main): do not setup localedir here, do not call
8371 * gettext.C (_): use it.
8372 (gettext_init): delete funciton
8374 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8376 * gettext.C (getLyXMessages): new singleton generating function.
8378 * buffer.C (updateDocLang): adjust
8380 * Makefile.am (messages.o): add target
8381 (main.o): remove target
8383 2003-04-27 John Levon <levon@movementarian.org>
8388 * lyxvc.C: specify cancel button in Alert::prompt
8390 2003-04-26 John Levon <levon@movementarian.org>
8395 * LyXAction.C: add LFUN_INSET_SETTINGS
8397 * lyxfunc.C: don't enable tabular-feature when there's
8398 just any locking inset
8400 2003-04-26 John Levon <levon@movementarian.org>
8402 * bufferlist.C: re-add Cancel to buffer close question
8404 * lyxfunc.C: fix import UI a bit
8406 2003-04-25 John Levon <levon@movementarian.org>
8408 * gettext.C: remove the broken asserts for now
8410 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8412 * messages.C: make case where setlocale cannot comply work better.
8414 * buffer.C (updateDocLang): new function
8415 (changeLanguage): use it
8418 * text2.C (setCounter): use B_ a bit.
8420 * lyxlayout.C (Read): be sure to trim the label strings.
8422 * messages.C (Messages): fix typo in comment
8424 * buffer.C (readFile): set message_ after file is loaded.
8425 (makeDocBookFile): remove double return
8426 (changeLanguage): reset message_ upon language change.
8427 (B_): new func, use this to get translated buffer strings.
8429 * main.C: add myself and Jean Marc as authors.
8431 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8433 * messages.[hC]: pimplify Messages, and three different pimpls to be
8434 used in different circumstances.
8436 * gettext.[Ch]: change for use with new message code.
8438 2003-04-24 André Pönitz <poenitz@gmx.net>
8440 * factory.C: support for eqref
8442 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8444 * messages.[Ch]: add missing char
8446 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8448 * messages.[Ch]: New files
8450 2003-04-18 John Levon <levon@movementarian.org>
8454 * BufferView_pimpl.C:
8458 * text2.C: remove layout-copy/paste (bug 778)
8460 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8462 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8464 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8466 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8467 if they succeed. Act accordingly.
8469 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8471 * text2.C (setCharFont): adjust
8472 (setCounter): adjust
8473 (insertStringAsLines): adjust
8475 * text.C (leftMargin): adjust
8476 (setHeightOfRow): adjust
8478 * rowpainter.C (paintFirst): adjust
8481 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8483 (isFirstInSequence): ditto
8484 (getEndLabel): ditto
8487 * paragraph.C (getParLanguage): comment out some hard stuff.
8489 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8491 (simpleDocBookOnePar): ditto
8492 (makeDocBookFile): use ParagraphList::iterator
8494 * CutAndPaste.C (pasteSelection): adjust
8496 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8498 * text2.C (getFont): adjust
8499 (getLayoutFont): adjust
8500 (getLabelFont): adjust
8502 * paragraph_funcs.C (TeXOnePar): adjust
8504 * buffer.C (simpleLinuxDocOnePar): adjust
8505 (simpleDocBookOnePar): adjust
8507 * CutAndPaste.C (pasteSelection): adjust
8509 * BufferView.C (getEncoding): adjust
8511 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8513 2003-04-16 John Levon <levon@movementarian.org>
8515 * lyxfind.C: use parlist stuff for search/changes
8517 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8519 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8521 * text2.C (deleteEmptyParagraphMechanism): adjust
8523 * text2.[Ch] (ownerParagraph): delete func (both of them
8525 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8527 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8529 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8531 * ParagraphList.C: prepare for NO_NEXT
8533 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8535 * text2.C (getFont): adjust
8536 (getLayoutFont): adjust
8537 (getLabelFont): adjust
8539 * paragraph.C (getFont): adjust
8540 (getLabelFont): adjust
8541 (getLayoutFont): adjust
8543 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8545 2003-04-15 John Levon <levon@movementarian.org>
8549 * lyx_main.C: handle Include in .ui files
8551 2003-04-15 John Levon <levon@movementarian.org>
8553 * MenuBackend.C: make the doc files length shorter
8556 * ToolbarBackend.C: handle toolbar placement flags,
8559 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8561 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8564 * paragraph_funcs.C (TeXOnePar): adjust
8566 * paragraph.C (getLabelFont): add outerfont arg, adjust
8567 (getLayoutFont): ditto
8568 (simpleTeXOnePar): adjust
8570 * paragraph_pimpl.C (realizeFont): delete func
8572 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8574 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8575 row argument, constify cur argument.
8577 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8579 * text2.C (getFont): adjust
8580 (getLayoutFont): adjust
8581 (getLabelFont): adjust
8583 * paragraph_funcs.C (TeXOnePar): adjust
8584 (outerFont): new func...
8585 (realizeFont): ...moved out from here, changed this to facilitate
8588 * paragraph.C (getFont): take outerfont as arg, adjust
8589 (simpleTeXOnePar): add outerfont arg, adjust
8591 * buffer.C (simpleLinuxDocOnePar): adjust
8592 (simpleDocBookOnePar): adjust
8594 * CutAndPaste.C (pasteSelection): adjust
8596 * BufferView.C (getEncoding): adjust
8598 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8600 * text2.C (setCharFont): adjust
8601 (setCounter): adjust
8603 * text.C (leftMargin): adjust
8604 (setHeightOfRow): adjust
8606 * rowpainter.C (paintFirst): adjust
8609 * paragraph_pimpl.C (realizeFont): adjust
8611 * paragraph.C (isFirstInSequence): move from here...
8612 * paragraph_funcs.C (isFirstInSequence): ...to here
8614 * paragraph.C (outerHook): move from here...
8615 * paragraph_funcs.C (outerHook): ...to here
8617 * paragraph.C (depthHook): move from here...
8618 * paragraph_funcs.C (depthHook): ...to here
8620 * paragraph.C (getEndLabel): move from here...
8621 * paragraph_funcs.C (getEndLabel): ...to here
8623 * text2.C (realizeFont): move from here...
8624 * paragraph_funcs.C (realizeFont): ...to here
8626 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8628 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8630 2003-04-14 Angus Leeming <leeming@lyx.org>
8632 * LColor.[Ch]: scrap LColor mathcursor.
8634 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8636 * lyxlex.[Ch] (text): delete function
8637 * trans.C (Load): adjust
8638 * paragraph_funcs.C (readParToken): adjust
8640 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8642 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8643 vector<char> instead of a char[].
8645 * lyxlex_pimpl.C (getString): adjust
8647 (lex): use getString
8651 * lyxlex.C (text): use pimpl_->getString()
8655 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8657 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8658 (makeFontEntriesLayoutSpecific): temp var for par.size()
8659 (setLayout): temp var for ownerParagraphs().end()
8660 (fullRebreak): temp var for rows().end()
8661 (selectionAsString): temp var for boost::next(startpit), realize
8662 that the while really is a regular for loop.
8663 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8664 setCursor in one place.
8665 (setParagraph): temp vr for ownerParagraphs().end()
8666 (updateCounters): make the while loop a for loop
8667 (cutSelection): temp var for ownerParagraphs().end()
8668 (updateInset): make the do {} while() a regular for loop
8669 (getCursorX): use temp vars
8670 (setCurrentFont): use temp vars
8671 (getColumnNearX): use temp vars
8673 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8675 * text.C (transformChar): use temp var for getChar
8676 (computeBidiTables): use temp var for row->par()
8677 (fill): move temp vars for row->par() and pit->layout() earlier in
8679 (labelFill): use temp var for row->par()
8680 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8681 asc and desc, realize that pit never changes and that firstpit is
8682 just a duplicate and not needed. Exchange rit->par() with pit in a
8684 (breakAgain): use a temp var for boost::next(rit)
8685 (breakAgainOneRow): ditto
8686 (breakParagraph): use a temp var for rows().begin()
8687 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8688 (cursorRightOneWord): use temp var for cursor.par() and
8689 cursor.pos(), remove usage of tmpcursor.
8690 (cursorLeftOneWord): use temp var for cursor.par() and
8691 cursor.pos() only set cur at end of function.
8693 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8695 * text.C, text2.C: exchange all usage of Paragraph::next with
8696 boost::next(ParagraphList::iterator)
8698 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8700 * text2.C (cursorTop): simplify implementation
8701 (cursorBottom): ditto
8702 (setParagraph): use ParagraphList::iterator
8703 (setCurrentFont): adjust
8704 (getColumnNearX): adjust
8705 (cursorRight): adjust
8706 (cursorLeft): remove usage of Paragraph::previous
8707 (cursorUpParagraph): ditto
8708 (deleteEmptyParagraphMechanism): slight cleanup
8710 * text.C (isBoundary): take a Paragraph const & instead of a
8712 (addressBreakPoint): ditto
8713 (leftMargin): remove usage of Paragraph::previous.
8714 (setHeightOfRow): ditto
8715 (cursorLeftOneWord): ditto
8716 (selectNextWordToSpellcheck): ditto
8719 (breakParagraph): remove one usage of Paragraph::next
8720 (redoParagraph): ditto
8721 (acceptChange): ditto
8722 (insertChar): adjust
8723 (rowBreakPoint): adjust
8725 * bufferview_funcs.C (toggleAndShow): adjust
8727 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8729 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8730 methods to access it.
8732 * text.C: Added updateRowPositions to compute all row positions.
8733 Make top_y and getRowNearY() to use the cached y position
8735 2003-04-11 John Levon <levon@movementarian.org>
8737 * text.C (rowBreakPoint): reintroduce the labelEnd
8738 checks, code copied from the row fill stuff. Deep voodoo.
8740 * text.C (fill): add a comment and debugging for the
8743 2003-04-11 John Levon <levon@movementarian.org>
8745 * text.C: make sure fullrow insets get wrapped to the next line,
8746 even when they're in a manual label
8748 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8750 * text2.C (insertParagraph): make it take ParagraphList::iterator
8752 (setLayout): make it return ParagraphList::iterator
8753 (redoParagraphs): ditto
8755 (checkParagraph): ditto
8757 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8759 * text2.C: adjust several funcs.
8760 (realizeFont): take a ParagraphList::iterator as arg.
8761 (getLayoutFont): ditto
8762 (getLabelFont): ditto
8763 (setCharFont): ditto
8765 * text.C: adjust several funcs.
8767 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8769 * text.C (selectNextWordToSpellcheck): don't accidentally
8772 2003-04-10 John Levon <levon@movementarian.org>
8774 * ToolbarBackend.C (getIcon): special handling for
8777 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8779 * text2.C (cursorRight): a getChar assert fixed
8781 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8783 * text2.C (getFont): change to take a ParagraphList::iterator
8784 instead of Paragraph*
8785 Adjust several functions.
8787 * text.C (transformChar): change to take a ParagraphList::iterator
8788 instead of Paragraph*
8789 (singleWidth): ditto
8790 Adjust several functions.
8792 * rowpainter.C: adjust several functions
8793 * rowpainter.h:store a ParagraphList::iterator and not a
8797 2003-04-09 John Levon <levon@movementarian.org>
8802 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8803 and the "help" bits as well
8805 2003-04-09 John Levon <levon@movementarian.org>
8808 * ToolbarBackend.C: allow multiple toolbars
8810 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8812 * undo_funcs.C (setCursorParUndo): adjust
8814 * text_funcs.C (transposeChars): adjust
8816 * text3.C (gotoNextInset): adjust
8819 * text2.C (setLayout): adjust
8820 (changeDepth): adjust
8822 (redoParagraphs): adjust
8823 (selectionAsString): adjust
8824 (setParagraph): adjust
8825 (insertInset): adjust
8826 (cutSelection): adjust
8827 (copySelection): adjust
8828 (pasteSelection): adjust
8829 (insertStringAsLines): adjust
8830 (updateInset): adjust
8831 (setCursor): change to take a ParagraphList::iterator parameter
8832 (setCursorIntern): change to take a ParagraphList::iterator parameter
8833 (setCurrentFont): adjust
8834 (cursorLeft): adjust
8835 (cursorRight): adjust
8836 (deleteEmptyParagraphMechanism): adjust
8838 * text.C (breakParagraph): adjust
8839 (insertChar): adjust
8840 (acceptChange): adjust
8841 (rejectChange): adjust
8842 (selectNextWordToSpellcheck): adjust
8843 (changeCase): adjust
8847 * lyxfind.C (SearchForward): adjust
8848 (SearchBackward): adjust
8849 (nextChange): adjust
8851 * lyxcursor.C (par): adjust
8853 * lyxcursor.h: store a ParagraphList::iterator instead of a
8856 * lyx_cb.C (getPossibleLabel): adjust
8858 * bufferview_funcs.C (toggleAndShow): adjust
8860 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8863 * BufferView.C (removeAutoInsets): adjust
8864 (lockedInsetStoreUndo): adjust
8866 2003-04-09 John Levon <levon@movementarian.org>
8868 * ToolbarBackend.C: try icon without argument
8869 if with argument fails
8871 2003-04-08 John Levon <levon@movementarian.org>
8874 * ToolbarBackend.C: add getIcon(), handle tooltip,
8875 and change from "Icon" to "Item".
8877 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8879 * BufferView.C (lockInset): another bad getchar crunched
8881 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8883 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8886 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8888 * lyxfind.C (searchForward, searchBackwards): bug 782
8890 2003-04-07 John Levon <levon@movementarian.org>
8892 * paragraph.C: remove dead comment
8894 * text.C: remove troublesome depth-fiddling code
8895 in leftMargin() and rightMargin() (bug 1017)
8897 * text.C: fix breaking of rows in nested lists
8900 * text2.C (updateCounters): fix up depth values
8903 2003-04-07 John Levon <levon@movementarian.org>
8905 * BufferView_pimpl.C: clear message when doc finishes resizing,
8906 and after a mouse event
8908 * lyxfunc.C: clear message after exiting inset
8910 2003-04-07 John Levon <levon@movementarian.org>
8912 * bufferview_funcs.C: show math status not outside
8913 status in the statusbar
8915 2003-04-07 John Levon <levon@movementarian.org>
8917 * lyxfunc.C: note status changed after a depth change
8919 2003-04-04 Angus Leeming <leeming@lyx.org>
8921 * LaTeX.h: move AuxInfo operator==, != out of line.
8922 Remove LaTeX virtual destructor; nothing derives from it.
8923 Move operator()() out of public area and rename it startscript().
8924 Change protected for private.
8926 2003-04-04 Angus Leeming <leeming@lyx.org>
8929 * text2.C: remove unneeded #includes.
8931 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8933 * text2.C (dEPM): fix the heigth of the next row
8935 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8937 * text.C: squashed an invalid getChar requester + some ws changes
8939 2003-04-03 John Levon <levon@movementarian.org>
8941 * bufferview_funcs.h:
8942 * bufferview_funcs.C:
8945 * text2.C: make getStatus work for the env depth lfuns
8947 2003-04-03 John Levon <levon@movementarian.org>
8949 * bufferview_funcs.h:
8950 * bufferview_funcs.C:
8953 * text2.C: parlistize decDepth(), by merging it with incDepth()
8955 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8957 * lyxrow.h: store a ParagraphList::iterator instead of a
8958 Paragraph* and adjust other class functions to suit.
8960 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8963 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8965 * text2.C (setCursor): do not anchor to cursor row for the time being
8967 2003-04-02 John Levon <levon@movementarian.org>
8974 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8976 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8978 * paragraph.h: make ParagraphList and ParagraphList::iterator
8979 friends of Paragraph.
8981 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8983 * ParagraphList.C: Use the private next_ and previous_ from
8986 2003-04-01 John Levon <levon@movementarian.org>
8990 * Makefile.am: rename, remove defaults gunk
8993 * MenuBackend.C: remove defaults gunk
8996 * Languages.C: remove defaults gunk
8999 * lyx_main.C: error out if files couldn't be found.
9001 2003-04-02 John Levon <levon@movementarian.org>
9003 * text2.C: make incDepth() use parlist
9005 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9007 * undo_funcs.C (firstUndoParagraph): adjust
9009 * text3.C (gotoInset): adjust
9010 (dispatch): adjust, and rewrite loop.
9012 * text2.C (init): adjust, and rewrite loop.
9013 (redoParagraphs): adjust
9014 (updateInset): adjust, and rewrite loop.
9015 (deleteEmptyParagraphMechanism): adjust
9017 * tabular.C (LyXTabular): adjust
9018 (SetMultiColumn): adjust
9021 * lyxtext.[Ch] (ownerParagraph): delete function
9022 (ownerParagraphs): new function returns a ParagraphList.
9024 * BufferView.C (removeAutoInsets): adjust
9025 (insertErrors): adjust
9026 (setCursorFromRow): adjust
9028 2003-04-01 Angus Leeming <leeming@lyx.org>
9030 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9033 2003-04-02 John Levon <levon@movementarian.org>
9039 * text_funcs.C: make transposeChars a free function
9041 * lyxrow_funcs.C: remove wrong comment
9043 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9046 * rowpainter.C: adjust
9051 * lyxrow_funcs. [Ch]: new files
9053 * lyxrow.[Ch]: remove next and previous pointers
9054 (next,previous): remove accessor functions
9055 (isParEnd): move to lyxrow_funcs
9056 (lastPos): move to lyxrow_funcs
9057 (nextRowIsAllInset): move to lyxrow_funcs
9058 (lastPrintablePos): move to lyxrow_funcs
9059 (numberOfSeparators): move to lyxrow_funcs
9060 (numberOfHfills): move to lyxrow_funcs
9061 (numberOfLabelHfills): move to lyxrow_funcs
9062 (hfillExpansion): move to lyxrow_funcs
9066 * bufferview_funcs.C (toggleAndShow): adjust
9068 * RowList.h: Remove class RowList from file leave just a
9071 * RowList.C: delete file
9073 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9076 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9078 * text3.C (cursorPrevious): adjust
9079 (cursorNext): adjust
9082 * text2.C (redoHeightOfParagraph): adjust
9083 (redoDrawingOfParagraph): adjust
9086 * text.C (breakParagraph): adjust
9087 (insertChar): adjust
9090 * rowpainter.C (RowPainter): adjust
9091 (leftMargin): simplify and adjust
9092 (most rowpainter functions): adjust.
9094 * rowpainter.h: store the row as RowList::iterator not as Row*
9096 * lyxcursor.C (row): taka RowList::iterator as arg
9099 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9102 2003-04-01 Angus Leeming <leeming@lyx.org>
9104 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9105 stuff like bool Bool.
9107 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9109 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9112 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9114 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9117 * lyxtext.h (rows): drop one version and leve a const variant that
9118 returns a RowList::iterator.
9120 2003-03-31 Angus Leeming <leeming@lyx.org>
9122 * text.C (fill): ensure that the signature is the same as that in the
9125 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9127 * text2.C (redoParagraphs): adjust
9128 (updateCounters): adjust
9129 (checkParagraph): adjust
9130 (getColumnNearX): adjust and reformat a bit.
9132 * text.C (top_y): adjust
9134 (leftMargin): adjust
9135 (prepareToPrint): adjust
9137 (getRowNearY): adjust
9139 * lyxtext.h: make rowlist_ mutable.
9141 * RowList.h: add const_iterator
9142 * RowList.C: adjust for RowList::const_iterator.
9144 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9147 2003-03-31 John Levon <levon@movementarian.org>
9150 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9152 * lyx_main.C: set default fonts from using lyx_gui funcs
9154 * exporter.C: pdf_mode moved from lyxrc
9157 * lyxfunc.C: changes from above
9159 2003-03-31 John Levon <levon@movementarian.org>
9161 * lyx_main.C: fix to the last fix
9163 2003-03-31 John Levon <levon@movementarian.org>
9165 * bufferlist.C: "Load original" -> "Load Original"
9171 * format.C: more Alert cleanups
9173 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9175 * text2.C (removeParagraph): make it take a RowList::iterator as
9177 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9178 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9180 * text.C (anchor_row): make it take a RowList::iterator as arg,
9182 (computeBidiTables): make it take a const reference to Row instead
9183 of Row pointer, adjust.
9184 (leftMargin): make it take a RowList::iterator as arg, adjust.
9185 (rowBreakPoint): adjust
9186 (breakAgainOneRow): make it take a RowList::iterator as arg,
9188 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9190 * bufferview_funcs.C (toggleAndShow): adjust
9192 2003-03-30 John Levon <levon@movementarian.org>
9196 * boost-inst.C: moved to support
9198 * several files: changes as a result
9200 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9202 * text2.C (LyXText): adjust.
9204 (removeRow): make it take a RowList::iterator as arg, adjust.
9205 (fullRebreak): adjust
9206 (deleteEmptyParagraphMechanism): adjust
9207 (clearPaint): adjust
9210 * text.C (top_y): adjust
9211 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9212 (breakAgain): make it take a RowList::iterator as arg, adjust.
9213 (breakParagraph): adjust
9214 (insertChar): adjust
9217 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9218 need_break_row, and refresh_row.
9220 * text3.C (dispatch): adjust
9222 * text2.C (checkParagraph): adjust
9224 (setCursorFromCoordinates): adjust
9226 * text.C (top_y): adjust
9228 (getRow): make it return a RowList::iterator, adjust
9229 (getRowNearY): make it return a RowList::iterator, adjust
9231 * text2.C (init): adjust
9232 (insertRow): remove function
9233 (insertParagraph): adjust
9234 (redoParagraphs): adjust
9235 (fullRebreak): adjust
9236 (updateCounters): adjust
9238 * text.C (top_y): rewrite to use RowList iterators.
9240 (setHeightOfRow): rewrite to sue RowList iterators.
9241 (appendParagraph): adjust
9242 (breakAgain): adjust
9243 (breakAgainOneRow): adjust
9244 (breakParagraph): adjust
9246 (getRowNearY): adjust, and remove commented code.
9248 * lyxtext.h (firstRow): delete function
9249 (lastRow): delete function
9250 (rows): new function (const and non-const versions.)
9251 (insertRow): delete function
9253 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9255 2003-03-29 John Levon <levon@movementarian.org>
9257 * BufferView_pimpl.C: always update scrollbar top
9258 because pasting text when we're anchored could mean we
9259 miss an update altogether
9261 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9263 * text2.C (init): use rowlist_.end() and not 0.
9264 (insertRow): change to take a RowList::iterator as arg, adjust
9266 (insertParagraph): change to take a RowList::iterator as arg,
9268 (redoParagraphs): remove some debug msgs.
9270 * text.C (appendParagraph): change to take a RowList::iterator
9271 arg, adjust for this.
9272 (breakAgain): add an assert
9273 (breakAgainOneRow): ditto
9275 2003-03-29 John Levon <levon@movementarian.org>
9277 * text2.C: do not clear selection after inc/decDepth
9280 2003-03-29 John Levon <levon@movementarian.org>
9283 * buffer.C: fix broken strerrors according to Lars
9285 2003-03-29 John Levon <levon@movementarian.org>
9287 * converters.C: more Alert cleanups
9289 2003-03-29 John Levon <levon@movementarian.org>
9291 * bufferview_funcs.C: remove pointless Alert
9293 * buffer.C: fix confusing error message when
9294 a template is chmoded 000
9296 2003-03-29 John Levon <levon@movementarian.org>
9300 * BufferView_pimpl.C: Alert fixes
9304 * tabular-old.C: remove unused table compat reading
9306 2003-03-29 John Levon <levon@movementarian.org>
9311 * lyx_cb.C: more Alert cleanups
9313 * lyxfunc.C: don't allow chktex if not latex document
9315 2003-03-29 John Levon <levon@movementarian.org>
9319 * buffer.C: warnings pushed down from support/,
9322 2003-03-29 John Levon <levon@movementarian.org>
9324 * lyxfunc.C: safety check for C-r (revert)
9326 2003-03-29 John Levon <levon@movementarian.org>
9329 * bufferlist.C: several UI fixes using Alert::prompt.
9330 Fix the pointless looping quit code. Fix stupid revert
9335 * lyx_cb.C: use Alert::prompt
9337 * lyx_main.C: remove a silly question
9339 * lyxfunc.C: remove a couple of silly questions,
9342 2003-03-28 John Levon <levon@movementarian.org>
9344 * text2.C: fix bug 974 (End on empty par)
9346 2003-03-28 John Levon <levon@movementarian.org>
9348 * BufferView_pimpl.C:
9350 * lfuns.h: remove do-nothing math greek lfuns
9352 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9354 * lyxgluelength.h (isValidGlueLength): add default arg on
9355 parameter 2. Remove default arg from friend in class.
9357 * lyxlength.h (isValidLength): add default arg on parameter 2.
9358 Remove default arg from friend in class.
9360 * text2.C (LyXText): adjust, initialize refresh_row.
9364 (insertParagraph): adjst
9365 (redoParagraphs): adjust
9366 (fullRebreak): adjust
9367 (updateCounters): adjust
9368 (deleteEmptyParagraphMechanism): first attempt at fixing a
9371 * text.C (top_y): adjust
9372 (setHeightOfRow): adjust
9374 (getRowNearY): adjust
9376 * lyxtext.h: include RowList.h
9377 (~LyXText): not needed anymore, deleted.
9378 (firstRow): modify for RowList
9379 (lastRow): new function
9380 Delete firstrow and lastrow class variables, add a Rowlist
9381 rowlist_ class variable.
9383 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9386 * RowList.C (insert): fix case where it == begin().
9388 2003-03-26 Angus Leeming <leeming@lyx.org>
9390 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9391 the thesaurus dialog.
9393 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9395 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9397 * RowList.[Ch]: new files
9399 * ParagraphList.C (erase): handle the case where it == begin
9402 2003-03-25 John Levon <levon@movementarian.org>
9406 * aspell.C: add new aspell support
9409 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9412 2003-03-25 Angus Leeming <leeming@lyx.org>
9415 * LyXAction.C (init): new LFUN_INSET_INSERT.
9417 * BufferView_pimpl.C (dispatch): split out part of the
9418 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9420 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9423 2003-03-25 Angus Leeming <leeming@lyx.org>
9425 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9427 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9430 * text3.C: remove useless row->height(0)
9432 2003-03-25 John Levon <levon@movementarian.org>
9436 * text3.C: rename the refreshing stuff to better names
9438 2003-03-24 John Levon <levon@movementarian.org>
9440 * BufferView_pimpl.h:
9441 * BufferView_pimpl.C: update layout choice on a mouse
9444 2003-03-23 John Levon <levon@movementarian.org>
9446 * Makefile.am: fix commandtags.h reference
9448 2003-03-22 John Levon <levon@movementarian.org>
9450 * BufferView_pimpl.C:
9455 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9457 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9460 * text.C: take the rtl methods out of line
9462 2003-03-21 André Pönitz <poenitz@gmx.net>
9464 * metricsinfo.[Ch]: new files containing structures to be passed around
9465 during the two-phase-drawing...
9467 2003-03-21 André Pönitz <poenitz@gmx.net>
9469 * lyxtextclass.C: read 'environment' tag.
9471 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9473 * text2.C (removeRow): fix bug 964
9475 2003-03-20 John Levon <levon@movementarian.org>
9479 * text2.C: paint cleanups. Inset::update() dropped font
9482 2003-03-19 John Levon <levon@movementarian.org>
9484 * lyxfunc.C: only fitcursor/markDirty if available()
9486 2003-03-19 John Levon <levon@movementarian.org>
9488 * commandtags.h: rename to ...
9490 * lfuns.h: ... this, and renumber / cleanup
9492 2003-03-19 John Levon <levon@movementarian.org>
9494 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9495 fit the cursor after an lfun
9499 * BufferView_pimpl.h:
9500 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9502 * LyXAction.C: layout-character should have ReadOnly
9504 * ParagraphParameters.C:
9506 * bufferview_funcs.C:
9513 * undo_funcs.C: changes from above
9515 2003-03-18 John Levon <levon@movementarian.org>
9517 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9518 remove it from update()
9520 * lyxfunc.C: update layout choice after an lfun
9522 * text3.C: remove extra updateLayoutChoice()s
9524 2003-03-18 John Levon <levon@movementarian.org>
9526 * text.C: top_y change means full repaint, fix
9527 a drawing bug with cursor movement
9529 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9533 * text2.C: anchor row on setCursor
9535 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9537 * lyxtext.h: remove almost all mutable keywords
9540 * text3.C: remove const keywords accordingly
9542 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9544 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9546 (TeXEnvironment): ditto
9549 2003-03-17 John Levon <levon@movementarian.org>
9551 * text.C (rowBreakPoint): remove attempt to fix displayed
9552 math insets inside a manual label
9554 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9556 * lyxtext.h: remove BufferView* as first arg from almost all class
9558 * other files: adjust.
9560 2003-03-17 John Levon <levon@movementarian.org>
9564 * text2.C: more paint cleanups
9566 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9569 * rowpainter.C: remove "smart" background painting code
9571 2003-03-16 John Levon <levon@movementarian.org>
9576 * text3.C: add helper functions for setting refresh_row/y
9578 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9580 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9581 newline inset which *can* get inserted in the pass_thru layouts.
9582 This is primarily for literate documents.
9584 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9586 * buffer.C: increment LYX_FORMAT to 223
9588 2003-03-14 André Pönitz <poenitz@gmx.net>
9590 * textclass.h: prepare for environment handling, ws changes
9591 * lyxlayout.C: read latexheader and latexfooter tags
9593 2003-03-14 John Levon <levon@movementarian.org>
9595 * text2.C: rewrite ::status() a bit
9597 2003-03-13 John Levon <levon@movementarian.org>
9599 * lyxtext.h: add some docs
9601 2003-03-13 John Levon <levon@movementarian.org>
9606 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9608 2003-03-13 John Levon <levon@movementarian.org>
9610 * text3.C: fix appendix redrawing
9612 2003-03-13 John Levon <levon@movementarian.org>
9614 * text.C (setHeightOfRow):
9616 * rowpainter.C: make appendix mark have the text
9617 "Appendix" so the user knows what it is
9620 * LColor.C: s/appendixline/appendix/ from above
9622 2003-03-13 John Levon <levon@movementarian.org>
9624 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9626 * text.C: fix a getChar(pos) bug properly
9628 2003-03-13 Angus Leeming <leeming@lyx.org>
9631 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9632 Probably only temporary. Let's see how things pan out.
9634 * BufferView.C (unlockInset):
9635 * BufferView_pimpl.C (fitCursor):
9636 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9638 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9639 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9641 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9642 new functions that convert ParagraphParameters to and from a string.
9644 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9645 BufferView::Pimpl's dispatch.
9646 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9648 2003-03-13 André Pönitz <poenitz@gmx.net>
9652 * factory.C: make it aware of InsetEnv
9654 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9656 * text2.C (setCursor): never ask for one past last
9657 (setCursor): add some debugging messages.
9659 * text.C (singleWidth): never ask for one past last
9660 (singleWidth): ditto
9662 (rightMargin): ditto
9663 (rowBreakPoint): ditto
9664 (setHeightOfRow): ditto
9665 (prepareToPrint): ditto
9667 * rowpainter.C (paintBackground): never ask for one past last
9668 (paintText): never ask for one past last
9670 * paragraph_pimpl.C (getChar): make the assert stricter, never
9671 allow the one past last pos to be taken
9673 * paragraph.C (getChar): ws changes only
9675 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9676 (numberOfSeparators): ditto
9677 (numberOfHfills): ditto
9679 2003-03-12 John Levon <levon@movementarian.org>
9685 * paragraph_funcs.C: fix per-buffer authorlists
9687 2003-03-12 John Levon <levon@movementarian.org>
9689 * text.C: fix newline in right address
9691 2003-03-12 Angus Leeming <leeming@lyx.org>
9693 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9694 duplicate those in LyXFunc::dispatch.
9698 * ToolbarDefaults.C:
9699 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9700 Add LFUN_FONTFREE_UPDATE.
9702 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9703 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9705 * bufferview_func.[Ch]: several new functions to facilliate
9706 transfer of data to and from the character dialog.
9708 2003-03-12 John Levon <levon@movementarian.org>
9713 * paragraph_funcs.C:
9714 * paragraph_pimpl.C:
9718 * text3.C: remove META_NEWLINE in favour of an inset
9721 * rowpainter.C: remove paintNewline (done by inset)
9723 2003-03-12 John Levon <levon@movementarian.org>
9725 * paragraph_pimpl.C: complain about bad getChar()s
9726 for a while at least
9728 2003-03-12 John Levon <levon@movementarian.org>
9731 * buffer.C: move paragraph read into a separate function,
9732 a little renaming to reflect that.
9735 * bufferparams.C: remove the author_ids map, not necessary now
9738 * factory.C: moved Buffer::readInset to here
9740 * paragraph_funcs.h:
9741 * paragraph_funcs.C: readParagraph free function moved from
9744 * tabular.C: name change
9746 2003-03-12 John Levon <levon@movementarian.org>
9749 * ParagraphParameters.C: move par params input to
9752 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9753 behave like a normal read from the stream wrt reading
9754 a line vs. a \\token
9756 2003-03-12 John Levon <levon@movementarian.org>
9759 * ParagraphParameters.h:
9760 * ParagraphParameters.C: move output code to a
9763 2003-03-12 John Levon <levon@movementarian.org>
9765 * BufferView.C (insertLyXFile):
9768 * tabular.C: use a parlist iterator for creating the
9771 2003-03-12 John Levon <levon@movementarian.org>
9773 * buffer.C: make current_change static local not
9776 2003-03-12 John Levon <levon@movementarian.org>
9778 * buffer.C: fix insertStringAsLines for change tracking
9780 2003-03-12 John Levon <levon@movementarian.org>
9787 * bufferparams.C: move author list into params. Rename some
9788 functions. Move the header reading into a separate token
9789 loop. Move the header token reading into BufferParams.
9791 2003-03-12 John Levon <levon@movementarian.org>
9793 * changes.C: put debug inside lyxerr.debugging() checks
9795 2003-03-11 André Pönitz <poenitz@gmx.net>
9797 * factory.C: make it aware of InsetHFill
9799 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9801 * buffer.C (latexParagraphs): move function from here...
9802 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9805 2003-03-10 Angus Leeming <leeming@lyx.org>
9807 * LyXAction.C (init): fix bug in poplating array with multiple entries
9808 with the same LFUN (spotted by JMarc).
9810 2003-03-10 John Levon <levon@movementarian.org>
9813 * text2.C: move getColumnNearX() near its
9816 2003-03-10 John Levon <levon@movementarian.org>
9818 * text.C: fix break before a minipage
9820 2003-03-10 John Levon <levon@movementarian.org>
9822 * text.C: fix the last commit
9824 2003-03-09 John Levon <levon@movementarian.org>
9828 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9829 bug 365 (don't break before insets unless needed). Don't
9830 return a value > last under any circumstances.
9832 2003-03-09 Angus Leeming <leeming@lyx.org>
9834 * BufferView_pimpl.C (trackChanges, dispatch): call
9835 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9837 2003-03-09 Angus Leeming <leeming@lyx.org>
9839 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9840 than Dialogs::showAboutlyx().
9842 2003-03-09 Angus Leeming <leeming@lyx.org>
9844 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9845 than Dialogs::showTabularCreate().
9847 2003-03-09 John Levon <levon@movementarian.org>
9851 * text2.C: 3rd arg to nextBreakPoint was always the same.
9854 2003-03-08 John Levon <levon@movementarian.org>
9861 * text2.C: Remove the "main" bit from the "main body"
9864 2003-03-08 John Levon <levon@movementarian.org>
9866 * text.C (leftMargin): The left margin of an empty
9867 manual label paragraph should not include the label width
9870 * text.C (prepareToPrint): don't attempt to measure hfills
9871 for empty manual label paragraphs - the answer should be 0
9873 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9875 * CutAndPaste.C: remove commented code and reindent.
9877 2003-03-08 John Levon <levon@movementarian.org>
9880 * lyxfunc.C: move reloadBuffer()
9883 * BufferView.C: to here
9885 * lyxvc.C: add comment
9888 * vc-backend.C: call bv->reload() to avoid
9889 getStatus() check on MENURELOAD
9891 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9893 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9894 to an old format .dep file.
9896 2003-03-07 Angus Leeming <leeming@lyx.org>
9898 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9899 when the LFUN_MOUSE_RELEASE should have been handled by
9900 inset->localDispatch.
9902 2003-03-07 Angus Leeming <leeming@lyx.org>
9904 * BufferView_pimpl.C (dispatch):
9905 * LyXAction.C (init):
9906 * ToolbarDefaults.C (init):
9908 * lyxfunc.C (getStatus):
9909 remove LFUN_INSET_GRAPHICS.
9911 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9913 2003-03-07 Angus Leeming <leeming@lyx.org>
9916 * LyXAction.C (init):
9917 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9919 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9922 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9924 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9925 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9927 2003-03-07 Angus Leeming <leeming@lyx.org>
9929 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9932 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9934 * ParagraphList.C (front): new function
9937 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9939 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9940 and top_row_offset_. removed var first_y.
9942 * text2.C (LyXText, removeRow):
9944 * BufferView_pimpl.C:
9945 use these methods instead of using first_y
9947 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9949 * text2.C (pasteSelection): adjust for checkPastePossible
9951 * CutAndPaste.C: remove Paragraph * buf and replace with
9952 ParagraphList paragraphs.
9953 (DeleteBuffer): delete
9954 (cutSelection): change the tc type to textclass_type
9955 (copySelection): change the tc type to textclass_type
9956 (copySelection): adjust for ParagraphList
9957 (pasteSelection): change the tc type to textclass_type
9958 (pasteSelection): adjust for Paragraphlist
9959 (nrOfParagraphs): simplify for ParagraphList
9960 (checkPastePossible): simplify for ParagraphList
9961 (checkPastePossible): remove unused arg
9963 * ParagraphList.C (insert): handle the case where there are no
9966 * CutAndPaste.h: make CutAndPaste a namespace.
9968 * text3.C (dispatch): adjust
9970 * text.C (breakParagraph): add a ParagraphList as arg
9972 * paragraph_funcs.C (breakParagraph): change to take a
9973 BufferParams and a ParagraphList as args.
9974 (breakParagraphConservative): ditto
9975 (mergeParagraph): ditto
9976 (TeXDeeper): add a ParagraphList arg
9977 (TeXEnvironment): ditto
9980 * buffer.C (readLyXformat2): adjust
9981 (insertStringAsLines): adjust
9982 (latexParagraphs): adjust
9984 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9985 (cutSelection): adjust
9986 (pasteSelection): adjust
9988 * BufferView_pimpl.C (insertInset): adjust
9990 2003-03-05 Angus Leeming <leeming@lyx.org>
9993 * LyXAction.C (init):
9994 * BufferView_pimpl.C (dispatch):
9995 * lyxfunc.C (getStatus):
9996 remove LFUN_CHILD_INSERT.
9998 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10000 2003-03-05 Angus Leeming <leeming@lyx.org>
10003 * LyXAction.C (init):
10004 * src/factory.C (createInset):
10005 * lyxfunc.C (getStatus):
10006 * text3.C (dispatch):
10007 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10009 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10011 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10013 * ParagraphList.C (insert): handle insert right before end()
10014 (erase): fix cases where it can be first or last paragraph.
10016 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10018 * paragraph_funcs.C (TeXEnvironment): remove all usage of
10019 Paragraph::next and Paragraph::previous
10022 * text.C (breakParagraph): adjust
10024 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10025 BufferParams& as arg.
10026 (breakParagraph): use ParagraphList::insert
10027 (breakParagraphConservative): take a Buffer* instead of a
10028 BufferParams& as arg.
10029 (breakParagraphConservative): use ParagraphList::insert.
10031 * buffer.C (insertStringAsLines): un-const it
10032 (insertStringAsLines): adjust
10034 * ParagraphList.C (insert): new function
10036 * CutAndPaste.C (pasteSelection): adjust
10038 * text.C (backspace): adjust
10040 * tabular.C (SetMultiColumn): adjust
10042 * CutAndPaste.C (cutSelection): adjust
10043 (pasteSelection): adjust
10045 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10046 Buffer const * as arg
10048 * ParagraphList.C (erase): new function
10049 * paragraph_funcs.C (mergeParagraph): use it
10050 (mergeParagraph): make it take a Buffer* instead of a
10051 BufferParams* as arg
10053 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10055 (breakParagraphConservative): ditto
10057 * paragraph.h: remove the breakParagraph friend
10059 * paragraph.C (eraseIntern): new function
10060 (setChange): new function
10062 * paragraph_funcs.C (mergeParagraph): make it take a
10063 ParagraphList::iterator instead of a Paragraph *, adjust
10066 * paragraph.h: move an #endif so that the change tracking stuff
10067 also works in the NO_NEXT case.
10069 2003-03-04 Angus Leeming <leeming@lyx.org>
10072 * LyXAction.C: new LFUN_INSET_MODIFY.
10074 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10075 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10077 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10079 * several files: ws changes only
10081 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10082 (TeXEnvironment): ditto
10085 * buffer.C (makeLaTeXFile): adjust
10086 (latexParagraphs): make it take ParagraphList::iterator as args
10088 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10090 * buffer.C (latexParagraphs): adjust
10092 * paragraph.C (TeXOnePar): move function...
10093 (optArgInset): move function...
10094 (TeXEnvironment): move function...
10095 * paragraph_pimpl.C (TeXDeeper): move function...
10096 * paragraph_funcs.C: ...here
10098 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10100 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10102 * buffer.C (readInset): remove compability code for old Figure and
10105 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10107 * buffer.C: ws changes
10110 * BufferView_pimpl.C: ditto
10113 * bufferlist.h: ditto
10117 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10119 * converter.[Ch]: split into itself +
10122 * Makefile.am: += graph.[Ch] + format.[Ch]
10129 * lyxrc.C: added #include "format.h"
10131 2003-02-27 Angus Leeming <leeming@lyx.org>
10133 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10136 * factory.C (createInset): add "label" to the factory.
10138 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10139 string and do no more.
10141 2003-02-27 Angus Leeming <leeming@lyx.org>
10144 * LyXAction.C (init):
10145 * factory.C (createInset):
10146 * BufferView_pimpl.C (dispatch):
10147 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10149 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10151 * lyxfunc.C (dispatch):
10152 * text3.C (dispatch): pass name to params2string.
10154 2003-02-26 Angus Leeming <leeming@lyx.org>
10156 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10158 Rearrange the ~includes. Strip out the unnecessary ones.
10160 * factory.C (createInset): reformat.
10161 create new insets for the various LFUN_XYZ_APPLY lfuns.
10163 2003-02-26 John Levon <levon@movementarian.org>
10166 * lyxrow.C: add isParStart,isParEnd helpers
10168 * paragraph.h: make isInserted/DeletedText take refs
10170 * paragraph_funcs.h:
10171 * paragraph_funcs.C: remove #if 0'd code
10176 * text.C: use lyxrow helpers above.
10177 Move draw and paint routines to RowPainter.
10178 Make several methods use refs not pointers.
10179 Make backgroundColor() const.
10180 Add markChangeInDraw(), isInInset().
10181 Merge changeRegionCase into changeCase.
10182 Make workWidth() shouldn't-happen code into an Assert.
10185 * rowpainter.C: new class for painting a row.
10188 * vspace.C: make inPixels take a ref
10190 2003-02-26 Angus Leeming <leeming@lyx.org>
10192 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10195 2003-02-25 John Levon <levon@movementarian.org>
10197 * ispell.C: give the forked command a more accurate name
10199 2003-02-22 John Levon <levon@movementarian.org>
10202 * toc.C: make TocItem store an id not a Paragraph *
10205 2003-02-21 Angus Leeming <leeming@lyx.org>
10207 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10208 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10209 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10210 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10211 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10212 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10214 * BufferView_pimpl.C (dispatch):
10215 * LyXAction.C (init):
10216 * factory.C (createInset):
10217 * lyxfunc.C (getStatus, dispatch):
10218 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10220 2003-02-21 Angus Leeming <leeming@lyx.org>
10222 * BufferView_pimpl.C (MenuInsertLyXFile):
10223 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10224 * lyxfunc.C (menuNew, open, doImport):
10225 no longer pass a LyXView & to fileDlg.
10227 2003-02-21 Angus Leeming <leeming@lyx.org>
10229 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10230 * LyXAction.C: change, BIBKEY to BIBITEM.
10231 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10232 Change InsetBibKey to InsetBibitem.
10233 Change BIBKEY_CODE to BIBITEM_CODE.
10234 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10235 * factory.C: replace insetbib.h with insetbibitem.h.
10236 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10237 * paragraph.C: replace insetbib.h with insetbibitem.h.
10238 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10239 Change bibkey() to bibitem().
10240 * text.C: remove insetbib.h.
10241 * text2.C: replace insetbib.h with insetbibitem.h.
10242 change bibkey() to bibitem().
10243 * text3.C: remove insetbib.h.
10244 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10246 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10248 * lyxrc.C (output): enclose user email in quotes (in case there are
10251 2003-02-18 John Levon <levon@movementarian.org>
10253 * buffer.h: add std::
10255 2003-02-17 John Levon <levon@movementarian.org>
10261 * pspell.C: reworking. Especially in ispell, a large
10262 number of clean ups and bug fixes.
10264 * lyxfunc.C: fix revert to behave sensibly
10266 2003-02-17 André Pönitz <poenitz@gmx.net>
10269 * commandtags.h: new LFUN_INSERT_BIBKEY
10279 * paragraph_func.C: remove special bibkey handling
10281 2003-02-17 John Levon <levon@movementarian.org>
10283 * text.C (Delete): fix case where delete at the end of
10284 the very first paragraph would not merge the pars
10286 2003-02-17 John Levon <levon@movementarian.org>
10288 * lyxrow.C: fix lastPrintablePos()
10290 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10292 * bufferparams.C (writeLaTeX): add a std:here
10294 * buffer.C: and remove a using directive there
10296 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10298 * buffer.C (makeLaTeXFile): move the code that generates the
10301 * bufferparams.C (writeLaTeX): ... in this new method
10303 * LaTeXFeatures.C (getEncodingSet): make const
10304 (getLanguages): make const
10306 * MenuBackend.C (binding): returns the binding associated to this
10308 (add): sets the status of each item by calling getStatus. Adds
10310 (read): add support for OptSubMenu
10311 (expand): remove extra separator at the end of expanded menu
10313 2003-02-15 John Levon <levon@movementarian.org>
10316 * BufferView_pimpl.C:
10318 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10319 inset code that had no actual effect. Remove unneeded status
10322 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10324 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10327 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10329 * text.C (drawLengthMarker): also draw an arrow marker for
10330 symbolic lengths (medskip...)
10332 2003-02-14 John Levon <levon@movementarian.org>
10335 * tabular.C: better method names
10337 2003-02-14 John Levon <levon@movementarian.org>
10339 * BufferView_pimpl.C:
10344 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10345 it's a more accurate name. Remove some pointless uses.
10347 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10349 * text2.C (LyXText): change order of initilizers to shut off
10352 2003-02-14 John Levon <levon@movementarian.org>
10354 * buffer.C: use ParIterator for getParFromID()
10358 * paragraph_pimpl.h:
10359 * paragraph_pimpl.C: remove unused getParFromID()
10361 2003-02-14 John Levon <levon@movementarian.org>
10363 * buffer.C: remove some very old #if 0'd parse code
10365 2003-02-13 John Levon <levon@movementarian.org>
10369 * text2.C: move hfillExpansion(), numberOfSeparators(),
10370 rowLast(), rowLastPrintable(), numberofHfills(),
10371 numberOfLabelHfills() ...
10374 * lyxrow.C: ... to member functions here.
10379 * text.C: remove LyXText::beginningOfMainBody(), and call
10380 p->beginningOfMainBody() directly. Move the check for
10381 LABEL_MANUAL into the latter.
10388 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10394 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10395 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10397 2003-02-13 John Levon <levon@movementarian.org>
10399 * CutAndPaste.C: remove debug
10401 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10403 * paragraph.C (asString): remove two unused variables
10405 * lyxtextclass.C (readTitleType):
10407 (LyXTextClass): handle new members titletype_ and titlename_
10409 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10411 2003-02-09 John Levon <levon@movementarian.org>
10414 * buffer.C: replace hand-coded list with a map for the dep clean
10416 2003-02-08 John Levon <levon@movementarian.org>
10418 * LaTeX.C: consolidate code into showRunMessage() helper
10420 2003-02-08 John Levon <levon@movementarian.org>
10425 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10426 and pass the size in explicitly
10428 * BufferView_pimpl.h:
10429 * BufferView_pimpl.C:
10431 * BufferView.C: add getCurrentChange()
10433 * BufferView_pimpl.h:
10434 * BufferView_pimpl.C: handle change lfuns
10436 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10437 for changes. Mark pasted paragraphs as new.
10439 * support/lyxtime.h:
10440 * support/lyxtime.C:
10441 * DepTable.C: abstract time_t as lyx::time_type
10444 * LColor.C: add colours for new text, deleted text, changebars
10446 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10447 package use "usenames" option.
10451 * LyXAction.C: add change lfuns
10455 * author.C: author handling
10458 * buffer.C: add a per-buffer author list, with first entry as
10459 current author. Handle new .lyx tokens for change tracking. Output
10460 author list to .lyx file. Output dvipost stuff to .tex preamble.
10461 Bump lyx format to 222.
10464 * bufferlist.C: add setCurrentAuthor() to reset current author details
10468 * bufferparams.C: add param for tracking
10470 * bufferview_funcs.C: output change info in minibuffer
10474 * changes.C: add change-tracking structure
10477 * debug.C: add CHANGES debug flag
10480 * lyxfind.C: add code for finding the next change piece
10483 * lyxrc.C: add user_name and user_email
10486 * lyxrow.C: add a metric for the top of the text line
10489 * text.C: implement accept/rejectChange()
10492 * text.C: paint changebars. Paint new/deleted text in the chosen
10493 colours. Strike through deleted text.
10497 * paragraph_pimpl.h:
10498 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10499 in the current change to the insert functions. Rework erase to
10500 mark text as deleted, adding an eraseIntern() and a range-based
10501 erase(). Implement per-paragraph change lookup and
10504 * paragraph_funcs.C: Fixup paste for change tracking.
10506 * tabular.C: mark added row/columns as new.
10508 * text.C: fix rowLast() to never return -1. Don't allow
10509 spellchecking of deleted text. Track transpose changes. Don't
10510 allow paragraph break or merge where appropriate.
10512 * text2.C: leave cursor at end of selection after a cut.
10514 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10516 * text.C (getLengthMarkerHeight):
10517 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10518 visible on screen too.
10520 2003-02-07 John Levon <levon@movementarian.org>
10522 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10524 2003-02-05 Angus Leeming <leeming@lyx.org>
10526 * lyxserver.C (read_ready): revert my patch of 11 September last year
10527 as it sends PC cpu through the roof. Presumably this means that
10528 the lyxserver will no longer run on an Alpha...
10530 2003-01-30 Angus Leeming <leeming@lyx.org>
10532 * factory.C (createInset): create an InsetCommandParam of type "index"
10533 and use it to 'do the right thing'.
10535 * text2.C (getStringToIndex): ensure that cursor position is always
10536 reset to the reset_cursor position.
10538 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10540 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10543 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10547 * lyxfunc.C: Output messages with identical spelling, punctuation,
10550 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10552 * MenuBackend.C (expandFormats): List only viewable export formats
10555 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10558 * lyxfunc.C (getStatus): Make sure that formats other than
10559 "fax" can also be disabled
10561 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10563 * text3.C (dispatch): put the lfuns that insert insets in 3
10564 groups, and call doInsertInset with appropriate arguments.
10565 (doInsertInset): new function, that creates an inset and inserts
10566 it according to some boolean parameters.
10568 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10570 * buffer.C (readFile): remember to pass on 'par' when calling
10571 readFile recursively.
10573 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10575 * MenuBackend.C (expandFormats): add "..." to import formats.
10577 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10579 * paragraph.C (asString): Remove XForms RTL hacks.
10581 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10582 * buffer.C: fix typo
10584 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10586 * Makefile.am (LIBS): delete var
10587 (lyx_LDADD): add @LIBS@ here instead.
10589 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10591 * Clarify the meaning of "wheel mouse jump"
10593 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10595 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10598 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10600 * importer.C (Loaders): do not preallocate 3 elements in the
10601 vector, since one ends up with 6 elements otherwise
10603 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10605 * DepTable.C (write): write the file name as last element of the
10606 .dep file (because it may contain spaces)
10607 (read): read info in the right order
10609 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10611 * paragraph_pimpl.C (simpleTeXBlanks):
10612 (simpleTeXSpecialChars):
10613 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10615 * tabular.C (latex): add some missing case statements. Reindent.
10617 * MenuBackend.C (expandToc): remove unused variable.
10619 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10628 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10631 2003-01-05 John Levon <levon@movementarian.org>
10634 * BufferView.C: add getEncoding()
10637 * kbsequence.C: do not store last keypress
10640 * lyxfunc.C: store last keypress here instead. Pass encoding
10643 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10645 * lyx_main.C (init): remove annoying error message when following
10646 symbolic links (bug #780)
10648 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10650 * text.C (insertChar):
10651 * lyxrc.C (getDescription): remove extra spaces
10653 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10655 * lyxrc.C (getDescription): remove extra spaces
10657 2002-12-20 John Levon <levon@movementarian.org>
10659 * text3.C: hack fix for page up/down across tall rows
10661 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10663 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10666 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10668 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10669 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10670 thesaurus is not compiled in
10672 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10674 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10676 2002-12-16 Angus Leeming <leeming@lyx.org>
10679 * lyx_main.C (init): remove override_x_deadkeys stuff.
10681 2002-12-12 John Levon <levon@movementarian.org>
10683 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10684 insert. Only remove shift modifier under strict
10687 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10689 * MenuBackend.C (expandToc): fix crash.
10691 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10693 * MenuBackend.C (expandToc): gettext on float names.
10695 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10697 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10698 implement bool empty() [bug 490]
10700 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10702 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10704 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10706 * several files: ws changes
10708 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10710 * text2.C (setCounter): clean up a bit, use boost.format.
10711 (updateCounters): initialize par upon declaration.
10713 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10714 if the layout exists. We do not just store the layout any more.
10715 (SwitchLayoutsBetweenClasses): use boost.format
10717 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10719 * converter.C (convert): if from and to files are the same, use a
10720 temporary files as intermediary
10722 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10725 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10727 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10729 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10731 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10733 * tabular.C (asciiPrintCell): use string(size, char) instead of
10736 * sgml.C (openTag): fix order of arguments to string constructor
10739 * lyxfunc.C (dispatch): use boost.format
10741 * lots of files: change "c" -> 'c'
10743 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10745 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10747 2002-11-25 Angus Leeming <leeming@lyx.org>
10749 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10751 * lyx_main.C (init): compile fix.
10753 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10755 * lyx_cb.C (start): boost.formatify
10756 do not include <iostream>
10758 * lengthcommon.C: ws only
10760 * boost-inst.C,BoostFormat.h: add more explict instantations
10762 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10764 * lots of files: handle USE_BOOST_FORMAT
10766 2002-11-21 John Levon <levon@movementarian.org>
10768 * pspell.C: fix compile
10770 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10772 * lyxfunc.C (dispatch): use boost::format
10776 * lyxfont.C (stateText): use boost::format
10778 * lyx_main.C (LyX): use boost::format
10780 (queryUserLyXDir): ditto
10781 (readRcFile): ditto
10783 (typedef boost::function): use the recommened syntax.
10785 * importer.C (Import): use boost::format
10787 * debug.C (showLevel): use boost::format
10789 * converter.C (view): use boost::format
10794 * bufferview_funcs.C (currentState): use boost::format
10796 * bufferlist.C (emergencyWrite): use boost::format
10798 * buffer.C (readLyXformat2): use boost::format
10799 (parseSingleLyXformat2Token): ditto
10801 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10803 * LaTeX.C (run): use boost::format
10805 * Chktex.C (scanLogFile): use boost::format
10807 * BufferView_pimpl.C (savePosition): use boost::format
10808 (restorePosition): ditto
10809 (MenuInsertLyXFile): ditto
10811 * BoostFormat.h: help file for explicit instation.
10813 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10815 * tabular.C (latex): Support for block alignment in fixed width
10818 2002-11-17 John Levon <levon@movementarian.org>
10820 * BufferView_pimpl.C:
10822 * lyxfunc.C: split filedialog into open/save
10824 2002-11-08 Juergen Vigna <jug@sad.it>
10826 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10827 by my last patch (hopefully).
10829 2002-11-08 John Levon <levon@movementarian.org>
10838 * toc.C: ParConstIterator, and use it (from Lars)
10840 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10842 * lyxtextclass.[Ch]: revise and add doxygen comments
10844 2002-11-07 John Levon <levon@movementarian.org>
10846 * text.C: fix progress value for spellchecker
10848 * toc.C: fix navigate menu for insetwrap inside minipage
10850 * paragraph_funcs.C: added FIXME for suspect code
10852 2002-11-07 John Levon <levon@movementarian.org>
10854 * BufferView_pimpl.C: fix redrawing of insets
10857 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10859 * text2.C (updateCounters): fix bug 668
10861 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10863 * text3.C (dispatch): Do not make the buffer dirty when moving the
10866 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10868 * vc-backend.C: STRCONV
10869 (scanMaster): ditto
10871 * text2.C (setCounter): STRCONV
10873 * paragraph.C (asString): STRCONV
10875 * lyxlength.C (asString): STRCONV
10876 (asLatexString): ditto
10878 * lyxgluelength.C (asString): STRCONV
10879 (asLatexString): ditto
10881 * lyxfunc.C (dispatch): STRCONV
10884 * lyxfont.C (stateText): STRCONV
10886 * importer.C (Import): STRCONV
10888 * counters.C (labelItem): STRCONV
10889 (numberLabel): ditto
10890 (numberLabel): remove unused ostringstream o
10895 * bufferview_funcs.C (currentState): STRCONV
10897 * buffer.C (readFile): STRCONV
10898 (asciiParagraph): ditto
10899 (makeLaTeXFile): ditto
10901 * Spacing.C (writeEnvirBegin): STRCONV
10903 * LaTeXFeatures.C (getLanguages): STRCONV
10904 (getPackages): ditto
10906 (getBabelOptions): ditto
10907 (getTClassPreamble): ditto
10908 (getLyXSGMLEntities): ditto
10909 (getIncludedFiles): ditto
10913 (scanAuxFile): ditto
10916 * LString.h: add the STRCONV macros
10918 * BufferView_pimpl.C (savePosition): STRCONV
10919 (restorePosition): ditto
10920 (MenuInsertLyXFile): ditto
10922 * vc-backend.C (scanMaster): change from submatch[...] to
10925 * funcrequest.C: include config.h
10927 * factory.C: include config.h
10929 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10931 * box.C: include config.h
10933 * LaTeX.C (scanAuxFile): change from submatch[...] to
10937 2002-10-25 Angus Leeming <leeming@lyx.org>
10939 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10941 * ispell.[Ch] (setError): new method.
10942 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10943 Use setError() insetead of goto END.
10945 * lyx_cb.C (AutoSave): move out child process into new class
10948 2002-10-30 John Levon <levon@movementarian.org>
10950 * text3.C: make start appendix undoable
10952 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10954 * lyxlength.C (inPixels): Fix returned value.
10956 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10959 2002-10-24 Angus Leeming <leeming@lyx.org>
10961 * lyxgluelength.h: no need to forward declare BufferParams
10962 or BufferView, so don't.
10964 2002-10-21 John Levon <levon@movementarian.org>
10966 * BufferView.C: menuUndo ->undo, redo
10968 * BufferView.h: document, remove dead, make some methods private
10970 * paragraph_funcs.h:
10971 * paragraph_funcs.C:
10972 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10977 * sgml.C: move sgml open/close tag into sgml.C
10979 * bufferview_funcs.h: unused prototype
10982 * lyxfunc.C: remove unused
10985 * text.C: remove unused
10987 2002-10-21 John Levon <levon@movementarian.org>
10991 * BufferView_pimpl.h:
10992 * BufferView_pimpl.C: fix mouse wheel handling based on
10993 patch from Darren Freeman
10995 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10997 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10999 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
11001 * lyxlength.C (inPixels): Fix hanfling of negative length.
11002 Fix LyXLength::MU case.
11004 2002-10-16 John Levon <levon@movementarian.org>
11006 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11008 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11010 * converter.C (view): add support for $$i (file name) and $$p
11011 (file path) for the viewer command. If $$i is not specified, then
11012 it is appended to the command (for compatibility with old syntax)
11014 2002-10-14 Juergen Vigna <jug@sad.it>
11016 * undo_funcs.C (textHandleUndo): alter the order in which the
11017 new undopar is added to the LyXText, as we have to set first
11018 the right prev/next and then add it as otherwise the rebuild of
11019 LyXText is not correct. Also reset the cursor to the right paragraph,
11020 with this IMO we could remove the hack in "redoParagraphs()".
11022 2002-10-09 Angus Leeming <leeming@lyx.org>
11024 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11025 to turn off an optimisation if a new inset is to be inserted.
11027 2002-10-11 André Pönitz <poenitz@gmx.net>
11029 * lyxtext.h: make some functions public to allow access
11030 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11032 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11034 * text3.C (dispatch): when changing layout, avoid an infinite loop
11037 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11039 * lyxrc.C (read): treat a viewer or converter command of "none" as
11042 * MenuBackend.C (expandFormats): for an update, also allow the
11043 formats that are not viewable
11045 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11046 script if it is newer than the lyxrc.defaults in user directory
11048 2002-10-07 André Pönitz <poenitz@gmx.net>
11050 * text.C: Vitaly Lipatov's small i18n fix
11052 2002-09-25 Angus Leeming <leeming@lyx.org>
11054 * ispell.h: doxygen fix.
11056 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11058 * buffer.h (readFile): Add a new argument to the method, to allow
11059 reading of old-format templates.
11061 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11063 * toc.C (getTocList): Get TOC from InsetWrap.
11065 2002-09-16 John Levon <levon@movementarian.org>
11067 * lyxfunc.C: check tabular for cut/copy too
11069 2002-09-12 John Levon <levon@movementarian.org>
11071 * LyXAction.C: tidy
11074 * factory.C: add header
11076 * paragraph_funcs.h:
11077 * paragraph_funcs.C: cleanup
11079 2002-09-11 John Levon <levon@movementarian.org>
11081 * PrinterParams.h: odd/even default to true
11083 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11085 * PrinterParams.h: update printer parameters for new xforms dialog
11087 2002-09-11 Angus Leeming <leeming@lyx.org>
11089 * lyxserver.C (read_ready): re-write to make it more transparent
11090 and to make it work in coherent fashion under Tru64 Unix.
11092 2002-09-11 André Pönitz <poenitz@gmx.net>
11096 * text3.C: implement LFUN_WORDSEL
11098 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11100 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11101 make floatlist_ a boost::shared_ptr<FloatList>
11103 * lyxtextclass.C: include FloatList.h
11104 (LyXTextClass): initialize floatlist_
11105 (TextClassTags): add TC_NOFLOAT
11106 (Read): match "nofloat" to TC_NOFLOAT and use it.
11107 (readFloat): modify call to floatlist_
11111 * FloatList.[Ch] (FloatList): remove commented out float
11113 (erase): new function
11115 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11117 * MenuBackend.C (expandToc): fix crash when there is no document
11120 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11122 * many files: Add insetwrap.
11124 2002-09-09 John Levon <levon@movementarian.org>
11126 * text2.C: remove confusing and awkward depth wraparound
11128 2002-09-09 John Levon <levon@movementarian.org>
11130 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11133 * buffer.C: remove getIncludeonlyList()
11136 * lyxfunc.C: remove headers
11138 2002-09-09 Juergen Vigna <jug@sad.it>
11140 * text.C (getColumnNearX): fix form Michael this is most
11141 probably a cut&paste bug.
11143 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11145 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11147 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11148 references, ws changes.
11150 * text2.C (init): update counters after init
11151 (insertParagraph): no need to set counter on idividual paragraphs.
11152 (setCounter): access the counters object in the textclass object
11153 on in the buffer object.
11154 (updateCounters): ditto
11156 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11157 shared_ptr<Counters> to avoid loading counters.h in all
11159 (LyXTextClass): initialize ctrs_
11160 (TextClassTags): add TC_COUNTER, and ...
11161 (Read): use it here.
11162 (CounterTags): new tags
11163 (readCounter): new function
11164 (counters): new funtion
11165 (defaultLayoutName): return a const reference
11167 * counters.C (Counters): remove contructor
11168 (newCounter): remove a couple of unneeded statements.
11169 (newCounter): simplify a bit.
11170 (numberLabel): some small formatting changes.
11172 * buffer.[Ch]: remove all traces of counters, move the Counters
11173 object to the LyXTextClass.
11175 2002-09-06 Alain Castera <castera@in2p3.fr>
11177 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11178 package to set the horizontal alignment on fixed width columns.
11181 * lyx_sty.h: added tabularnewline macro def.
11183 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11185 2002-09-06 John Levon <levon@movementarian.org>
11187 * LyXAction.C: tooltips for sub/superscript
11189 * MenuBackend.C: a bit more verbose
11191 * lyxfunc.C: tiny clean
11193 * undo_funcs.C: document undo_frozen
11195 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11197 * counters.C (Counters): add missing algorithm counter.
11199 * text2.C (setCounter): lookup the counter with layouts latexname
11200 instead of by section number.
11201 (setCounter): use a hackish way to lookup the correct enum
11203 a float name->type change
11204 reset enum couners with counter name directly instead of depth value.
11206 * counters.C (Counters): remove the push_backs, change to use the
11207 float type not the float name.
11208 (labelItem): remove unused string, float name->type change
11210 * counters.h: don't include vector, loose the enums and sects vectors
11212 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11214 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11215 (Read): add float->TC_FLOAT to textclassTags
11216 (Read): and handle it in the switch
11217 (readFloat): new function
11219 * FloatList.C (FloatList): comment out the hardcoded float
11222 * lyxlayout.h: ws change.
11224 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11226 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11228 2002-09-03 Angus Leeming <leeming@lyx.org>
11230 * BufferView_pimpl.h: qualified name is not allowed in member
11231 declaration: WorkArea & Pimpl::workarea() const;
11233 * factory.C: added using std::endl directive.
11235 * text3.C: added using std::find and std::vector directives.
11237 2002-08-29 André Pönitz <poenitz@gmx.net>
11240 * text2.C: remove unused member number_of_rows
11243 * BufferView2.C: remove file, move contents to...
11244 * BufferView.C: ... here
11246 * BufferView_pimpl.C:
11247 * factory.C: move more inset creation to factory
11249 * vspace.C: avoid direct usage of LyXText, ws changes
11252 don't provide direct access to WorkArea, use two simple
11253 acessors haveSelction() and workHeight() instead
11256 2002-08-29 John Levon <levon@movementarian.org>
11258 * BufferView_pimpl.C (dispatch): do not continue when
11261 2002-08-28 André Pönitz <poenitz@gmx.net>
11263 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11266 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11268 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11270 * buffer.C: increment LYX_FORMAT to 221
11272 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11273 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11275 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11277 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11279 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11281 * factory.C (createInset): use LyXTextClass::floats
11283 * MenuBackend.C (expandFloatListInsert):
11284 (expandFloatInsert):
11287 * text2.C (setCounter):
11289 * LaTeXFeatures.C (useFloat):
11290 (getFloatDefinitions):
11292 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11294 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11295 floatlist_, with accessor floats().
11297 * FloatList.h: remove global FloatList
11299 2002-08-26 André Pönitz <poenitz@gmx.net>
11301 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11305 * BufferView_pimpl.C:
11306 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11308 2002-08-25 John Levon <levon@movementarian.org>
11310 * LyXAction.C: fix margin note description
11312 2002-08-24 John Levon <levon@movementarian.org>
11316 * bufferview_funcs.C:
11318 * undo_funcs.C: cleanups
11320 * lyxfunc.C: disable CUT/COPY when no selection
11322 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11324 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11325 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11327 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11328 Add backward compatibility to "mono", "gray" and "no".
11330 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11332 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11333 (and file_format >= 200).
11335 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11337 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11339 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11341 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11343 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11345 * BufferView_pimpl.C:
11352 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11353 inset and code to make it work with the paragraph code. The inset
11354 can be anywhere in the paragraph, but will only do the expected
11355 thing in LaTeX if the layout file contains the parameter line
11357 (or more generally, a nonzero value) for that layout.
11359 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11361 * paragraph.h: remove the declaration of undefined counters class
11364 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11366 * text2.C (setCounter): fixed enumeration mis-count as reported by
11367 Dr. Richard Hawkins.
11369 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11371 * paragraph_funcs.h: remove some unneeded includes
11373 * text.C (backspace): pasteParagraph now in global scipe
11375 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11376 (pasteSelection): ditto
11378 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11379 * paragraph_funcs.C (pasteParagraph): ... here
11381 2002-08-20 André Pönitz <poenitz@gmx.net>
11383 * commandtags.h: new LFUNs for swapping/copying table row/colums
11386 * lyxfunc.C: support for new lfuns
11388 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11391 * buffer.[Ch]: remove NO_COMPABILITY stuff
11393 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11395 * boost.C (throw_exception): new file, with helper function for
11396 boost compiled without exceptions.
11401 * ParameterStruct.h:
11402 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11404 * bufferlist.C (emergencyWriteAll): use boost bind
11406 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11408 * text.C: include paragraph_funcs.h
11409 (breakParagraph): breakParagraph is now in global scope
11411 * paragraph_funcs.[Ch]: new files
11413 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11416 * buffer.C: include paragraph_funcs.h
11417 (insertStringAsLines): breakParagraph is now in global scope
11419 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11422 * CutAndPaste.C: include paragraph_funcs.h
11423 (cutSelection): breakParagraphConservative is now in global scope
11424 (pasteSelection): ditto
11426 * buffer.h: declare oprator== and operator!= for
11427 Buffer::inset_iterator
11429 * bufferlist.C (emergencyWrite): don't use fmt(...)
11431 * text3.C: add using std::endl
11433 * BufferView.C (moveCursorUpdate): remove default arg
11435 2002-08-20 André Pönitz <poenitz@gmx.net>
11437 * buffer.[Ch]: move inline functions to .C
11440 * BufferView_pimpl.C:
11442 * buffer.[Ch]: use improved inset_iterator
11445 * paragraph.[Ch]: write one paragraph at a time
11447 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11449 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11450 style if style is not specified.
11452 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11454 * text2.C (setCounter): when searching for right label for a
11455 caption, make sure to recurse to parent insets (so that a caption
11456 in a minipage in a figure float works) (bug #568)
11458 2002-08-20 André Pönitz <poenitz@gmx.net>
11460 * text3.C: new file for LyXText::dispatch() and helpers
11462 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11464 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11466 2002-08-19 André Pönitz <poenitz@gmx.net>
11469 * text.C: new LyXText::dispatch()
11471 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11473 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11475 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11477 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11480 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11482 * Makefile.am: use $(variables) instead of @substitutions@
11484 2002-08-15 André Pönitz <poenitz@gmx.net>
11487 * BufferView_pimpl.C: streamlining mathed <-> outer world
11491 * LyXAction.C: remove unused LFUN_MATH
11493 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11495 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11497 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11499 * paragraph.C (Paragraph): reformat a bit
11500 (cutIntoMinibuffer): use builtin InsetList function instad of
11504 * buffer.C: include boost/bind.hpp, add using std::for_each
11505 (writeFileAscii): use ParagraphList iterators
11506 (validate): use for_each for validate traversal of paragraphs
11507 (getBibkeyList): use ParagraphList iterators
11508 (resizeInsets): use for_each to resizeInsetsLyXText for all
11510 (getParFromID): use ParagraphList iterators
11512 * BufferView2.C (lockInset): use paragraph list and iterators
11514 2002-08-14 John Levon <levon@movementarian.org>
11516 * lyxserver.C: remove spurious xforms include
11518 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11520 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11522 2002-08-13 André Pönitz <poenitz@gmx.net>
11525 * lyxfunc.C: further cleaning
11527 2002-08-13 André Pönitz <poenitz@gmx.net>
11529 * funcrequest.h: new constructor
11531 * funcrequest.C: move stuff here from .h
11534 * BufferView_pimpl.C:
11537 * lyxfunc.C: subsequent changes
11539 * lyxfunc.h: new view() member function
11541 * lyxfunc.C: subsequent changes
11543 2002-08-13 Angus Leeming <leeming@lyx.org>
11546 * BufferView_pimpl.C:
11554 changes due to the changed LyXView interface that now returns references
11555 to member variables not pointers.
11557 2002-08-13 Angus Leeming <leeming@lyx.org>
11559 * WordLangTuple (word, lang_code): return references to strings,
11564 * lyxtext.h: forward-declare WordLangTuple.
11569 * text.C: #include "WordLangTuple.h".
11572 * text.C: (selectNextWordToSpellcheck): constify return type.
11574 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11580 * paragraph_pimpl.h:
11583 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11584 suggested by Angus.
11585 Made updateCounter always count from start of buffer, and removed
11586 second argument (par).
11587 Reverted floats number display to '#'. Perhaps I'll try again when the
11588 code base is sanitized a bit.
11590 2002-08-12 Angus Leeming <leeming@lyx.org>
11592 * buffer.[Ch] (getLabelList): constify.
11594 2002-08-07 André Pönitz <poenitz@gmx.net>
11596 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11598 * funcrequest.h: extension to keep mouse (x,y) position
11600 2002-08-12 Juergen Vigna <jug@sad.it>
11602 * BufferView2.C (insertErrors): forbid undo when inserting error
11605 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11607 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11609 * ParagraphList.[Ch]: new files
11611 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11613 * BufferView2.C (lockInset): ParagraphList changes
11616 * bufferlist.C: ditto
11620 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11622 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11623 unused class variable counter_,
11625 * paragraph.[Ch] (getFirstCounter): delete unused function
11627 * counters.C: include LAssert.h
11628 (reset): add a new function with no arg, change other version to
11629 not have def. arg and to not allow empty arg.
11631 * text2.C (setCounter): remove empty arg from call to Counters::reset
11633 2002-08-11 John Levon <levon@movementarian.org>
11635 * Makefile.am: add WordLangTuple.h
11637 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11639 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11640 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11642 * insets/insettext.C: InsetList changes
11644 * graphics/GraphicsSupport.C (operator()): InsetList changes
11646 * toc.C (getTocList): InsetList changes
11648 * paragraph_pimpl.[Ch]: InsetList changes
11650 * paragraph.[Ch]: InsetList changes
11652 * buffer.C (inset_iterator): InsetList changes
11653 (setParagraph): ditto
11654 * buffer.h (inset_iterator): ditto
11655 * iterators.C (operator++): ditto
11656 * iterators.h: ditto
11658 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11660 * InsetList.[Ch]: new files, most InsetList handling moved out of
11663 * BufferView2.C (removeAutoInsets): InsetList changes
11665 (ChangeInsets): ditto
11667 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11669 * paragraph_pimpl.h (empty): new function
11671 * paragraph.[Ch] (empty): new function
11673 * other files: use the new Paragraph::empty function
11675 2002-08-09 John Levon <levon@movementarian.org>
11677 * lyxtext.h: remove unused refresh_height
11679 2002-08-09 John Levon <levon@movementarian.org>
11686 * paragraph.C: move sgml char escaping out of paragraph
11689 * paragraph.C: remove id setter
11693 * paragraph_pimpl.C: remove dead tex_code_break_column
11695 * bufferview_funcs.C: small cleanup
11697 * lyxfunc.C: remove dead proto
11699 * lyxtext.h: make some stuff private. Remove some dead stuff.
11701 * lyxgluelength.C: make as[LyX]String() readable
11703 2002-08-08 John Levon <levon@movementarian.org>
11708 * ToolbarDefaults.C:
11711 * toc.C: lyxaction cleanup
11713 2002-08-08 John Levon <levon@movementarian.org>
11715 * BufferView2.C: small cleanup
11718 * lyxfind.C: move unnecessary header into the .C
11720 2002-08-08 John Levon <levon@movementarian.org>
11722 * funcrequest.h: just tedious nonsense
11725 * lyx_main.C: cleanups
11728 * vspace.C: remove dead header lyx_main.h
11730 2002-08-07 Angus Leeming <leeming@lyx.org>
11733 * paragraph_pimpl.h:
11734 Forward declare class Counters in paragraph.h by moving the ctrs member
11735 variable into Paragraph::Pimpl.
11736 (counters): new method, returning a reference to pimpl_->ctrs.
11738 * text2.C: ensuing changes.
11740 2002-08-07 John Levon <levon@movementarian.org>
11742 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11744 * BufferView_pimpl.C: announce X selection on double/triple
11747 * lyx_main.C: use correct bool in batch dispatch
11749 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11751 2002-08-07 André Pönitz <poenitz@gmx.net>
11753 * funcrequest.h: new class to wrap a kb_action and its argument
11756 * BufferView_pimpl[Ch]:
11760 * lyxrc.C: subsequent changes
11763 2002-08-07 John Levon <levon@movementarian.org>
11765 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11766 document options change.
11768 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11773 * makefile.am: move counters functionality over from
11774 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11776 2002-08-06 John Levon <levon@movementarian.org>
11778 * WordLangTuple.h: new file for word + language code tuple
11789 * BufferView2.C: use WordLangTuple
11792 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11794 2002-08-06 John Levon <levon@movementarian.org>
11796 * lyx_main.C: fix cmdline batch handling
11798 2002-08-06 André Pönitz <poenitz@gmx.net>
11800 * lyxrc.C: set default for show_banner to true
11802 2002-08-06 John Levon <levon@movementarian.org>
11804 * pspell.C: fix a crash, and allow new aspell to work
11806 2002-08-06 John Levon <levon@movementarian.org>
11809 * kbmap.C: small cleanup
11812 * vspace.C: add const
11814 2002-08-05 John Levon <levon@movementarian.org>
11816 * LyXAction.C: back to tabular-insert
11818 2002-08-04 John Levon <levon@movementarian.org>
11821 * BufferView.C: cosmetic change
11823 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11833 * BufferView2.C: purge all "Lyx" not "LyX" strings
11836 * lyxcursor.C: attempt to add some documentation
11841 * ToolbarDefaults.C:
11842 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11843 merge with LFUN_TABULAR_INSERT
11850 * pspell.C: split up i/pspell implementations into separate
11851 files, many cleanups
11853 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11855 * text2.C: some cleanup
11857 * lyxfunc.C: don't check for isp_command == "none" any more, it
11858 didn't make any sense
11860 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11865 * makefile.am: move counters functionality over
11866 from text2.C/paragraph.[Ch] to counters.[Ch], and
11868 2002-08-02 John Levon <levon@movementarian.org>
11870 * buffer.C: s/lyxconvert/lyx2lyx/
11872 2002-08-02 Angus Leeming <leeming@lyx.org>
11874 * lyxlex.C: revert John's change as it breaks reading of the user
11877 2002-08-02 Angus Leeming <leeming@lyx.org>
11879 * importer.C (Import):
11880 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11881 changes due to LyXView::view() now returning a boost::shared_ptr.
11883 2002-08-02 John Levon <levon@movementarian.org>
11885 * lyxlex.C: small cleanup
11887 2002-08-02 John Levon <levon@movementarian.org>
11889 * text2.C (status): small cleanup, no logic change
11891 2002-08-01 John Levon <levon@movementarian.org>
11894 * buffer.C (writeFile): don't output alerts, caller
11898 * lyx_cb.C: from above
11900 * lyxfunc.C: allow to open non-existent files
11902 2002-07-31 John Levon <levon@movementarian.org>
11904 * lyxserver.C: don't let incidental errors get
11907 2002-07-30 John Levon <levon@movementarian.org>
11909 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11911 2002-07-30 John Levon <levon@movementarian.org>
11914 * lyxserver.C: remove I/O callback too
11916 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11918 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11921 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11923 * many files: strip,frontStrip -> trim,ltrim,rtrim
11925 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11927 * PrinterParams.h: remove extern containsOnly, and include
11928 support/lstrings.h instead.
11930 * LaTeX.C (scanAuxFile): modify because of strip changes
11932 * buffer.C (makeLaTeXFile): ditto
11933 * bufferparams.C (writeFile): ditt
11934 * lyxfont.C (stateText): ditto
11935 * lyxserver.C (read_ready): ditto
11936 * vc-backend.C (scanMaster): ditto
11938 * BufferView_pimpl.h: ws changes
11940 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11942 2002-07-26 André Pönitz <poenitz@gmx.net>
11944 * kb_sequence.C: remove unnedred usings
11946 2002-07-26 Juergen Vigna <jug@sad.it>
11948 * lyxfind.C (LyXReplace): we have to check better if the returned
11949 text is not of theLockingInset()->getLockingInset().
11951 2002-07-25 Juergen Vigna <jug@sad.it>
11953 * lyxfind.C (LyXReplace): don't replace if we don't get the
11956 * undo_funcs.C (createUndo): remove debugging code.
11958 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11960 * buffer.C (parseSingleLyXformat2Token): Use default placement
11961 when reading old floats.
11963 * FloatList.C (FloatList): Change the default placement of figure
11964 and tables to "tbp".
11966 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11968 * MenuBackend.C: using std::max
11970 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11972 * MenuBackend.C (expandToc):
11973 (expandToc2): code moved from xforms menu frontend. It is now
11974 generic and TOCs are transparent to menu frontends.
11976 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11978 * toc.C (getTocList): protect against buf=0
11980 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11981 Menu as first parameter. Now, this calls itself recursively to
11982 expand a whole tree (this will be useful for TOC handling)
11983 (expandFloatInsert): remove 'wide' version of floats
11985 * MenuBackend.h (submenuname): returns the name of the submenu.
11986 (submenu): returns the submenu itself, provided it has been
11987 created by MenuBackend::expand
11989 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11991 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11992 insets which have noFontChange == true. (bug #172)
11994 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11996 * BufferView_pimpl.C: add connection objects and use them...
11999 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12001 * MenuBackend.C (expandLastfiles):
12004 (expandFloatListInsert):
12005 (expandFloatInsert):
12006 (expand): split expand in parts
12008 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12010 * lyx_gui.C: use lyx_gui::exit()
12012 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12014 * LyXAction.C: show the failing pseudo action
12016 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
12018 * buffer.C (readFile): Run the lyxconvert script in order to read
12021 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12025 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12027 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12031 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12033 2002-07-22 Herbert Voss <voss@lyx.org>
12036 * lyxlength.[Ch]: add support for the vertical lengths
12038 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12040 * toc.[Ch]: std:: fixes
12042 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12044 * lyxrc.C: do not include lyx_main.h
12046 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12052 * BufferView2.C: include "lyxlex.h"
12055 * bufferparams.h: do not #include "lyxlex.h"
12057 * lyxtextclasslist.C (Add): remove method
12058 (classlist): renamed to classlist_
12060 * paragraph_pimpl.C:
12064 * bufferview_funcs.C:
12069 * toc.C (getTocList): use BufferParams::getLyXTextClass
12071 * toc.C (getTocList): use InsetFloat::addToToc
12073 * toc.[Ch]: new files, containing helper functions to handle table
12076 * lyxfunc.C (dispatch): no need to remove spaces around command
12078 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12079 first command of the sequence; it is not very clever, but I do not
12080 have a better idea, actually
12082 * LyXAction.C (LookupFunc): make sure to remove space at the
12083 beginning and end of the command
12085 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12087 * MenuBackend.C (getMenubar): new method: return the menubar of
12089 (read): treat differently reading of menu and menubar (in
12090 particular, the menubar has no name now)
12091 (Menu::menubar): remove
12093 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12096 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12098 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12099 a bibitem inset in a RTL paragraph.
12101 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12103 * paragraph_pimpl.C: constify
12105 * BufferView_pimpl.C:
12107 * lyxfunc.C: fix dispatch in a nicer way
12109 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12111 * lyxfunc.C (dispatch):
12112 * BufferView_pimpl.C:
12113 * BufferView_pimpl.h:
12115 * BufferView.h: rename Dispatch() to dispatch()
12117 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12119 * lyxlayout.C (Read): honor DependsOn tag
12121 * lyxlayout.[Ch] (depends_on): new method
12123 * version.C.in: update lyx_docversion
12125 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12127 * paragraph.C (validate): remove from here...
12128 * paragraph_pimpl.C (validate): ... and move here
12129 (isTextAt): make it const
12131 * buffer.C (getLists): ws cleanup
12133 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12135 * language.C (read): Use iso8859-1 encoding in latex_lang
12136 (this prevents LyX from crashing when using iso10646-1 encoding).
12138 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12140 * text2.C (toggleInset): if cursor is inside an inset, close the
12141 inset and leave cursor _after_ it
12143 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12145 * lyxfunc.C: move minibuffer completion handling out of here
12147 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12149 * BufferView_pimpl.C:
12150 * LaTeX.C: fix dispatch calls
12152 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12154 * text.C (drawChars): Fix Arabic text rendering.
12156 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12160 * lyxfunc.C: remove message-push/pop
12164 * lyxfunc.C: rationalise some code by removing verboseDispatch
12165 in favour of a bool argument to dispatch()
12167 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12169 * lyx_main.C (init): make sure to read symlinks as absolute paths
12171 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12174 * lyxfunc.C: no need for commandshortcut to be a member
12176 2002-07-15 André Pönitz <poenitz@gmx.net>
12178 * converter.C: add support for $$s (scripts from lib/scripts dir)
12179 * lyx_main.C: white space
12181 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12185 * lyxrc.C: remove second exit confirmation
12187 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12192 * BufferView_pimpl.h:
12193 * BufferView_pimpl.C:
12194 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12196 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12198 * MenuBackend.C (expand): add numeric shortcuts to document menu
12200 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12202 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12204 * lyxfont.C (setLyXFamily):
12211 * buffer.C (asciiParagraph): use ascii_lowercase
12213 2002-07-15 Mike Fabian <mfabian@suse.de>
12215 * lyxlex_pimpl.C (search_kw):
12216 * lyxlex.C (getLongString):
12217 * converter.h (operator<):
12218 * converter.C (operator<):
12219 * buffer.C (parseSingleLyXformat2Token):
12221 * ToolbarDefaults.C (read):
12222 * MenuBackend.C (checkShortcuts):
12224 * LColor.C (getFromGUIName):
12225 (getFromLyXName): use the compare_ascii_no_case instead of
12226 compare_no_case, because in turkish, 'i' is not the lowercase
12227 version of 'I', and thus turkish locale breaks parsing of tags.
12229 2002-07-16 Angus Leeming <leeming@lyx.org>
12231 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12232 now takes a Buffer const & argument.
12234 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12236 * BufferView.C (resize): check there's a buffer to resize
12238 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12240 * lyxfunc.C: remove dead code
12243 * lyxserver.C: use lyx_guii::set_read_callback
12245 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12247 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12248 an inset in a RTL paragraph.
12250 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12252 * lyxfunc.C: repaint after a font size update
12254 2002-07-15 André Pönitz <poenitz@gmx.net>
12256 * lyxlength.C: inBP should be able to return negative values
12258 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12260 * lyxfunc.C: use lyx_gui::update_fonts()
12262 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12264 * lyxfunc.C: use lyx_gui::update_color()
12266 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12272 * lyxrc.C: remove file->new asks for name option, and let
12273 buffer-new take an argument
12275 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12277 * BufferView_pimpl.C: remove unneeded extra repaint()
12279 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12281 * LyXAction.C: allow command-sequence with NoBuffer
12283 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12285 2002-07-10 Angus Leeming <leeming@lyx.org>
12287 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12289 2002-07-09 Angus Leeming <leeming@lyx.org>
12291 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12293 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12295 * lengthcommon.h: whitespace
12297 * lyxfunc.C: update scrollbar after goto paragraph
12299 * lyxtext.h: factor out page break drawing, and fix it so
12300 page break/added space paints as selected nicely
12302 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12304 * BufferView_pimpl.C: add FIXMEs, clean up a little
12306 2002-07-09 André Pönitz <poenitz@gmx.net>
12308 * lyxfont.[Ch]: support for wasy symbols
12310 2002-07-08 André Pönitz <poenitz@gmx.net>
12312 * BufferView_pimpl.C: apply John's patch for #93.
12314 2002-07-05 Angus Leeming <leeming@lyx.org>
12316 * BufferView_pimpl.C (buffer): generate previews if desired.
12318 * LColor.h: add "preview" to the color enum.
12320 * LColor.C (LColor): add a corresponding entry to the items array.
12322 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12325 2002-07-05 Angus Leeming <leeming@lyx.org>
12327 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12328 The body of the code is now in the method that is passed an ostream &
12329 rather than a file name.
12330 Pass an additional only_preamble parameter, useful for the forthcoming
12333 2002-07-03 André Pönitz <poenitz@gmx.net>
12335 * lyxfunc.C: simplify getStatus() a bit for math stuff
12337 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12339 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12341 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12343 * text.C (changeRegionCase): do not change case of all the
12344 document when region ends at paragraph end (bug #461)
12346 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12348 * paragraph.C (startTeXParParams):
12349 (endTeXParParams): add \protect when necessary
12351 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12353 * BufferView_pimpl.C (workAreaExpose): remove warning
12355 2002-06-27 Angus Leeming <leeming@lyx.org>
12357 * Makefile.am: add lyxlayout_ptr_fwd.h.
12359 2002-06-26 André Pönitz <poenitz@gmx.net>
12361 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12363 2002-06-25 Angus Leeming <leeming@lyx.org>
12365 * lyxfunc.C (dispatch): Comment out the call to
12366 grfx::GCache::changeDisplay. The method no longer exists now that the
12367 pixmap generation part of the graphics loader has been moved into
12370 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12372 * text2.C: layout as layout
12374 * text.C: layout as layout
12376 * tabular.C (OldFormatRead): layout as layout
12378 * paragraph_pimpl.C (TeXDeeper): layout as layout
12379 (realizeFont): layout as layout
12381 * paragraph.C (writeFile): layout as layout
12382 (validate): layout as layout
12383 (getFont): layout as layout
12384 (getLabelFont): layout as layout
12385 (getLayoutFont): layout as layout
12386 (breakParagraph): layout as layout
12387 (stripLeadingSpaces): layout as layout
12388 (getEndLabel): layout as layout
12389 (getMaxDepthAfter): layout as layout
12390 (applyLayout): layout as layout
12391 (TeXOnePar): layout as layout
12392 (simpleTeXOnePar): layout as layout
12393 (TeXEnvironment): layout as layout
12394 (layout): layout as layout
12395 (layout): layout as layout
12397 * lyxtextclass.C (compare_name): new functor to work with
12398 shared_ptr, layout as layout
12399 (Read): layout as layout
12400 (hasLayout): layout as layout
12401 (operator): layout as layout
12402 (delete_layout): layout as layout
12403 (defaultLayout): layout as layout
12405 * lyxlayout_ptr_fwd.h: new file
12407 * lyxlayout.C (Read): layout as layout
12409 * lyx_cb.C (MenuInsertLabel): layout as layout
12411 * bufferlist.C (newFile): layout as layout
12413 * buffer.C (readLyXformat2): layout as layout
12414 (parseSingleLyXformat2Token): layout as layout
12415 (insertStringAsLines): layout as layout
12416 (asciiParagraph): layout as layout
12417 (latexParagraphs): layout as layout
12418 (makeLinuxDocFile): layout as layout
12419 (simpleLinuxDocOnePar): layout as layout
12420 (makeDocBookFile): layout as layout
12421 (simpleDocBookOnePar): layout as layout
12422 (getLists): layout as layout
12424 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12426 * CutAndPaste.C (cutSelection): layout as layout
12427 (pasteSelection): layout as layout
12428 (SwitchLayoutsBetweenClasses): layout as layout
12430 * BufferView_pimpl.C (Dispatch): layout as layout
12431 (smartQuote): layout as layout
12433 * BufferView2.C (unlockInset): layout as layout
12435 2002-06-24 André Pönitz <poenitz@gmx.net>
12437 * lyxfunc.C: fix #487
12439 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12443 * lyxfunc.C: remove display_shortcuts, show_banner
12445 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12447 * Buffer_pimpl.C: oops, update on resize
12449 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12456 * BufferView.C: use repaint()
12458 * BufferView_pimpl.h:
12459 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12460 as it's a clearer description. Remove superfluous
12463 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12465 * text.C: fix bug 488. Not ideal, but getting
12466 getWord() to work properly for the insets that
12467 matter is more difficult ...
12469 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12471 * BufferView_pimpl.C:
12474 * lyxfunc.C: remove the six million index lyxfuncs to just
12475 one, and DTRT (bug 458)
12477 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12481 * BufferView_pimpl.h:
12482 * BufferView_pimpl.C: clean up resize() stuff,
12483 and unnecessary updateScreen()s
12485 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12489 * BufferView_pimpl.h:
12490 * BufferView_pimpl.C:
12493 * minibuffer.C: remove focus management of workarea,
12494 not needed. Use screen's greyOut()
12496 2002-06-17 Herbert Voss <voss@lyx.org>
12498 * converter.C: (convert) do not post a message, when converting
12499 fails, let the calling function decide what to do in this case
12501 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12503 * lyxfunc.C: tidy up a little
12505 2002-06-16 <alstrup@diku.dk>
12507 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12508 Got rid of FORMS_H_LOCATION include. Now we are
12511 2002-06-15 LyX Development team <lyx@rilke>
12513 * buffer.[Ch] (sgmlOpenTag):
12514 (sgmlCloseTag): Added support for avoiding pernicious mixed
12515 content. Return number of lines written.
12517 (makeLinuxDocFile):
12518 (makeDocBookFile): Fixed calls to sgml*Tag.
12519 Simple white space clean.
12521 (simpleDocBookOnePar): Simple white space clean.
12523 * tabular.[Ch] (docBook): Renamed to docbook and got another
12524 argument to related with the pernicious mixed content.
12526 (docbookRow): Fixed calls for docbook inset method.
12528 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12530 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12531 so it's X11 independent.
12535 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12537 2002-06-15 Lyx Development team <lyx@electronia>
12539 * intl.h: Renamed getTrans to getTransManager.
12541 2002-06-14 Angus Leeming <leeming@lyx.org>
12543 * Makefile.am: nuke forgotten stl_string_fwd.h.
12545 2002-06-12 Angus Leeming <leeming@lyx.org>
12547 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12549 2002-06-13 Angus Leeming <leeming@lyx.org>
12552 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12554 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12556 * kbmap.C (getiso): add support for cyrillic and greek
12558 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12562 * BufferView_pimpl.h:
12563 * BufferView_pimpl.C: move bogus scrolling logic
12566 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12569 * BufferView_pimpl.C: view->resize() change
12571 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12573 * BufferView_pimpl.C: topCursorVisible
12576 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12580 * lyx_gui.C: move to frontends/
12584 * lyx_main.C: changes from above
12586 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12593 * lyx_main.C: minor tidy
12595 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12597 * BufferView_pimpl.h:
12598 * BufferView_pimpl.C:
12600 * BufferView.C: make painter() const,
12603 * BufferView2.C: use screen() accessor
12606 * lyx_main.C: some minor cleanup
12608 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12610 * BufferView_pimpl.h:
12611 * BufferView_pimpl.C: remove enter/leaveView,
12614 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12619 * BufferView_pimpl.h:
12620 * BufferView_pimpl.C: only construct screen once,
12623 * lyxrc.C: remove pointless comment
12625 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12628 * BufferView.C: remove active() and belowMouse()
12630 * BufferView_pimpl.h:
12631 * BufferView_pimpl.C: use workarea() not workarea_,
12632 and make it use a scoped_ptr instead
12634 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12636 * lyx_gui.C: add debug message on BadWindow
12638 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12640 * sp_spell.C: fdopen is not part of the C++ standard.
12642 * paragraph.C (InsetIterator): use >= instead of ==
12644 2002-06-07 Angus Leeming <leeming@lyx.org>
12646 Fixes needed to compile with Compaq cxx 6.5.
12647 * BufferView_pimpl.C:
12654 * lyxtextclasslist.C:
12659 all c-library variables have been moved into namespace std. Wrap
12660 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12665 Add a using std::abs declaration.
12667 * kbmap.h (modifier_pair):
12668 * paragraph.h (InsetTable, InsetList):
12669 * lyxfont.h (FontBits):
12670 type definition made public.
12672 * bufferlist.C (emergencyWriteAll): the compiler complains that
12673 there is more than one possible lyx::class_fun template to choose from.
12674 I re-named the void specialisation as lyx::void_class_fun.
12676 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12678 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12679 the compiler is is unable to find tostr in write_attribute.
12681 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12683 * buffer.C (sgmlError): hide #warning
12685 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12687 * xtl/*: get rid of xtl, which is not in use anyway
12689 * LyXAction.C (init):
12690 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12691 were unimplemented xtl experimentation
12693 2002-06-04 André Pönitz <poenitz@gmx.net>
12695 * lyxfunc.C: disable array operation on simple formulae
12697 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12699 * converter.C: constify a bit
12701 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12703 * lyx_gui.C: check xforms version correctly
12705 2002-04-30 Herbert Voss <voss@lyx.org>
12707 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12710 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12712 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12713 attempt to register it with a VCS)
12715 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12717 * lyx_main.C (init): honor variables LYX_DIR_13x and
12720 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12724 * lyx_main.C: fix a crash on bad command line,
12725 and give a useful exit status on error
12727 * lyxfunc.C (doImport): allow -i lyx to work
12729 2002-03-30 André Pönitz <poenitz@gmx.net>
12731 * lyxfunc.C: mathed font changes
12733 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12748 * trans_mgr.h: srcdocs, and some minor cleanups
12750 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12752 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12753 call getFont all the time)
12755 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12757 * switch from SigC signals to boost::signals
12759 2002-05-29 André Pönitz <poenitz@gmx.net>
12761 * paragraph_pimpl.C (getChar): don't call size() too often...
12763 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12765 * paragraph_pimpl.C (insertChar): do not try to update tables when
12766 appending (pos == size())
12768 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12769 in order to reduce drastically the number of comparisons needed to
12770 parse a large document
12772 2002-05-29 André Pönitz <poenitz@gmx.net>
12778 * textclasslist.[Ch]:
12779 * sp_ispell.h: whitespace change
12781 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12783 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12784 lyxaction directly now.
12786 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12790 * lyxvc.C: remove unused headers
12792 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12799 * undo_funcs.C: some cleanups. Use shared_ptr
12800 and a template for the undo stacks.
12802 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12804 * BufferView_pimpl.h:
12805 * BufferView_pimpl.C:
12812 * text2.C: use key_state/mouse_state
12814 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12816 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12819 * chset.C: change include order
12820 (loadFile): use boost regex and get rid of LRegex and LSubstring
12822 * Makefile.am (BOOST_LIBS): new variable
12823 (lyx_LDADD): use it
12825 * LaTeX.C: change include order.
12826 (scanAuxFile): use boost regex and get rid of LRegex and
12830 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12835 * FontInfo.C: moved to frontends/xforms/
12838 * FontLoader.C: moved into frontends for GUIIzation
12843 * lyxfunc.C: changes from above
12845 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12847 * LColor.C: remove spurious X include
12849 * BufferView_pimpl.C:
12854 * text2.C: move font metrics to frontends/
12856 2002-05-24 Juergen Vigna <jug@sad.it>
12858 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12859 setting the undo_cursor.
12861 * ParagraphParameters.h: include local includes first.
12863 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12865 * BufferView_pimpl.C:
12866 * BufferView_pimpl.h:
12870 * screen.C: move WorkArea into frontends/
12876 * BufferView2.C: move LyXScreen into frontends/
12880 * lyx_gui.C: move lyxlookup into frontends/xforms/
12882 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12885 * BufferView_pimpl.C:
12895 * bufferview_funcs.C:
12908 * vc-backend.C: move LyX/XFormsView into frontends/
12910 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12922 * text2.C: move Painter to frontends/
12924 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12926 * buffer.C: comment out some some code that depend upon lyx_format
12929 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12930 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12932 * buffer.h (NO_COMPABILITY): turn off compability
12934 * ColorHandler.C: include scoped_array.hpp
12936 * font.C: Use more specific smart_ptr header.
12939 * ShareContainer.h: ditto
12940 * lyx_main.h: ditto
12942 * FontInfo.h: ditto
12943 * BufferView_pimpl.h: ditto
12944 * ColorHandler.h: ditto
12946 * kbmap.C (defkey): change call to shared_ptr::reset
12948 2002-05-21 Juergen Vigna <jug@sad.it>
12950 * buffer.C (insertErtContents): fix to insert ert asis if it is
12951 non empty. Skip it completely if it contains only whitespaces.
12953 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12955 * BufferView_pimpl.C:
12956 * BufferView2.C: clear selection on paste (bug 393)
12958 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12960 * DepTable.C: include ctime
12962 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12964 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12966 2002-05-14 Juergen Vigna <jug@sad.it>
12968 * text.C (breakParagraph): fixed function to honor the keepempty
12969 layout in the right maner and also to permit the right breaking
12970 algorithm on empty or non empyt keepempty paragraphs.
12972 * paragraph.C (breakParagraph): we have to check also if the par
12973 is really empty (!size()) for isempty otherwise we do the wrong
12976 2002-05-10 Juergen Vigna <jug@sad.it>
12978 * buffer.[Ch] : The following are only changes to the ert
12979 compatibility read reading old LaTeX layout and font stuff and
12980 convert it to ERTInsets.
12982 * buffer.h: added isErtInset().
12984 * buffer.C (struct ErtComp): add a fromlayout bool to check
12985 if we're inside a LaTeX layout.
12986 (isErtInset): new helper function.
12987 (insertErtContents): look for other ert insets before this one
12988 and insert the contents there, so that we don't have subsequent
12989 ERT insets with nothing between them. This way we create only one
12990 inset with multiple paragraphs. Also check if we don't insert only
12991 spaces ' ' as they are ignored anyway afterwards in the .tex file
12992 so if we have only spaces we will ignore this latex part in the
12994 (parseSingleLyXformat2Token \\layout): better compatibility when
12995 reading layout-latex stuff.
12996 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12998 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12999 stuff after reading the inset only get the information back from
13002 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
13004 * buffer.C (makeLaTeXFile): Put language options after loading babel.
13006 * LaTeXFeatures.C (getBabelOptions): New method.
13008 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13010 * BufferView_pimpl.C (Dispatch): work around missing argument for
13013 2002-05-08 Juergen Vigna <jug@sad.it>
13015 * text.C (leftMargin): handle paragraph leftindent.
13017 * paragraph.C (writeFile): write the new \\leftindent tag.
13018 (validate): handle leftindent code.
13019 (TeXEnvironment): handle paragraphleftindent code again.
13021 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13023 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13024 for paragrap_extra indent code and new token \\leftindent.
13025 (latexParagraphs): handle the leftindent as environment.
13027 * ParameterStruct.h: added leftindent support.
13029 * ParagraphParameters.C (leftIndent): added support functions for
13030 the paragraph left indent.
13032 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13035 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13037 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13040 * text.C (computeBidiTables): No bidi in insetERT.
13042 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13045 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13047 * version.C.in: pre 5
13049 2002-05-02 José Matos <jamatos@fep.up.pt>
13050 * buffer.C (makeDocBookFile): white space changes, add newline to
13052 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13054 * tabular.C (docBook): fix typo.
13056 2002-05-03 Juergen Vigna <jug@sad.it>
13058 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13059 change in LyXText as we can not be sure it was not freed.
13060 (drawOneRow): remove unused code.
13062 * text.C (drawInset): redo the calculation of the need_break_row as
13063 it could have a row which was already freed.
13064 (draw): look at the return value of drawInset and return false if
13065 it also returned false.
13066 (paintRowText): look at the return value of draw and return false if
13067 it also returned false.
13069 * lyxtext.h: added bool return type to drawInset() and draw() so that
13070 if we have a change in the row so that the rowbreak has to be redone
13071 we abort drawing as it will be called again.
13073 2002-05-02 Juergen Vigna <jug@sad.it>
13075 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13076 a change in the maintext also if we're inside an inset.
13077 (Dispatch): set the cursor again after a break line and after the
13078 screen has been updated as it could be we're in a different row.
13080 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13081 to set the cursor behind the pargraph with > size().
13082 (setCursor): check also for the same paragraph when checking where
13083 to put the cursor if we have a NFR inset.
13085 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13086 parts of layout read further up as it still was in the wrong
13089 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13091 * screen.C (drawFromTo): change sine fullRebreak always return
13094 * buffer.C (parseSingleLyXformat2Token): reindent some
13096 * BufferView_pimpl.C (update): change since fullRebreak always
13098 (Dispatch): git rid of the last hardcoded "Standard"s.
13100 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13102 * text2.[Ch] (fullRebreak): make it return void now that we always
13105 2002-04-30 Juergen Vigna <jug@sad.it>
13107 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13108 ert compatibility check for "latex" layout.
13110 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13112 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13113 minipages: use col% instead of p%, and also use the current font.
13114 (makeLaTeXFile): Fix use babel condition.
13115 (parseSingleLyXformat2Token): Correct font when reading old floats.
13117 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13119 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13120 inserting list of floats.
13122 2002-04-25 Herbert Voss <voss@lyx.org>
13124 * MenuBackend.C (expand): don't add the graphics extensions to the
13127 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13129 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13130 non-existing layout, do not complain if it was the default layout
13131 of the original class (bug #342)
13133 2002-04-24 Juergen Vigna <jug@sad.it>
13135 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13136 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13138 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13140 * buffer.C (getBibkeyList): If using \bibliography, return the
13141 option field with the reference itself. Enables us to provide natbib
13142 support when using \bibliography.
13144 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13146 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13148 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13149 natbib is provided by the LaTeX class.
13151 2002-04-23 Juergen Vigna <jug@sad.it>
13153 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13156 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13158 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13160 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13162 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13163 ensuremath around textordmasculine, textordfeminine and
13166 2002-04-19 Juergen Vigna <jug@sad.it>
13168 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13169 reinitializing the buffer otherwise row-dimensions may be wrong.
13170 (update): reset also the selection cursors if they do exits otherwise
13171 their x/y positions may be wrong.
13173 * text2.C (cursorDown): don't enter the inset if we came from a row
13174 above and are one row over the inset.
13176 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13177 really leaving an inset.
13179 2002-04-18 Juergen Vigna <jug@sad.it>
13181 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13182 of the selected paragraph does not have the selected layout also if
13185 * text2.C (setLayout): fixed bug which did not change last selected
13188 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13189 changed the read and substituted \\end_float with \\end_inset!
13191 * BufferView_pimpl.C (cursorPrevious):
13192 (cursorNext): fixed to make it work with rows heigher than the work
13193 area without moving the cursor only the draw of the row.
13194 (workAreaMotionNotify): fix jumping over high rows.
13196 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13198 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13201 2002-04-16 Juergen Vigna <jug@sad.it>
13203 * text2.C (setCursor): set also the irow().
13204 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13206 (cursorDown): support for locking an inset if the x_fix value goes
13207 inside it. That way I can transverse insets too with cursor up/down.
13209 * lyxrow.h: added irow helper function same as other (i) functions.
13211 * BufferView_pimpl.C (cursorPrevious):
13212 (cursorNext): fixed for insets!
13214 2002-04-15 Juergen Vigna <jug@sad.it>
13216 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13217 position otherwise it is wrong in some cases.
13219 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13220 inside the inset before the call.
13222 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13224 * buffer.[Ch] (getBibkeyList): make it const.
13226 2002-04-12 Juergen Vigna <jug@sad.it>
13228 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13230 * text2.C (getCursorX): new helper function
13231 (setCursor): compute also ix_
13232 (setCursorFromCoordinates): set also ix.
13234 * lyxcursor.h: added ix_ and helper functions.
13236 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13238 * buffer.C (insertStringAsLines): dont break paragraph if the this
13239 paragraph is inside an inset which does not permit it!
13241 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13242 also with no chars on this paragraph.
13243 (paintRowText): only paint stuff if it's inside the workarea!
13245 * paragraph.C (breakParagraph): honor keepempty flag and break the
13246 paragraph always below not above.
13248 * BufferView2.C (unlockInset): update the paragraph layout on inset
13249 unlock as we changed paragraph in such a case.
13251 * lyxfind.C (LyXFind): clear the former selection if not found!
13253 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13254 again called in insertChar().
13256 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13257 an inset which uses the whole row!
13258 (rightMargin): ditto.
13259 (insertChar): force a rebreak if we inserted an inset!
13261 2002-03-28 Herbert Voss <voss@lyx.org>
13263 * lyxlength.[Ch]: add inBP() to get the right PS-point
13264 units (BigPoint). With inPixels we have rounding errors
13266 2002-04-11 Juergen Vigna <jug@sad.it>
13268 * text2.C (setCursorFromCoordinates): set iy to the right value.
13269 (setCursor): add check if row->previous exists!
13271 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13272 an old float_type as this was the case in the old code!
13274 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13276 * BufferView2.C (showLockedInsetCursor): use iy
13277 (fitLockedInsetCursor): ditto
13279 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13280 locked insets as there we have the right value now.
13282 * lyxcursor.C: added iy_ variable and iy functions to set to the
13283 baseline of cursor-y of the locked inset.
13285 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13286 (setCursor): fixed for insets which need a full row.
13288 * text.C (rowLastPrintable): don't ignore the last space when before
13289 an inset which needs a full row.
13290 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13291 as last character of a row when before a inset which needs a full row.
13293 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13295 * version.C.in: update date
13297 * text2.C (fullRebreak): try to always return true and see what
13300 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13302 * MenuBackend.C (expand): use Floating::listName
13304 * FloatList.C (FloatList): add listName argument to the built-in
13307 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13308 text associated with the float.
13310 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13312 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13314 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13316 * ShareContainer.h: add a couple of missing typenames.
13318 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13320 * lyxrc.C (getDescription): use _() correctly rather than N_().
13322 2002-03-28 Herbert Voss <voss@lyx.org>
13324 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13325 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13327 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13329 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13330 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13332 2002-03-29 Juergen Vigna <jug@sad.it>
13334 * lyxfunc.C (dispatch): add a missing fitCursor call.
13336 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13337 it was scrolled by a cursor move, so return the bool status.
13339 * BufferView.C (fitCursor): return the bool flag also to the outside
13340 world as this is needed.
13342 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13344 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13345 call the edit() as it is not needed (and wrong) IMO.
13346 (workAreaButtonPress): set the screen_first variable before evt.
13347 unlock the inset as this may change screen_first and then we have
13348 a wrong y position for the click!
13350 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13352 * MenuBackend.C (expand): another translation that I missed
13354 2002-03-28 Juergen Vigna <jug@sad.it>
13356 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13358 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13360 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13362 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13364 * MenuBackend.C (expand): fix export/view/update when there is no
13367 2002-03-27 Herbert Voss <voss@lyx.org>
13369 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13372 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13374 * bufferview_funcs.C (currentState): only show paragraph number
13375 for is DEVEL_VERSION is set.
13377 * lyxfunc.C (dispatch): put warning in INFO channel
13379 * MenuBackend.C (expand): translate the name of floats
13381 * FloatList.C (FloatList): mark the float names for translation
13383 * converter.C (convert): use LibScriptSearch
13385 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13387 * MenuBackend.C (defaults): fix default menu (we might as well get
13390 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13392 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13395 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13397 * lyxvc.C: reorder includes.
13399 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13401 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13404 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13406 * CutAndPaste.C: change layouts earlier on paste
13407 to avoid crashing when calling getFont()
13409 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13411 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13414 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13416 * WorkArea.C: remove 'Pending' debug message.
13418 * most files: ws cleanup
13420 * buffer.[Ch]: ws changes
13422 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13424 2002-03-21 Juergen Vigna <jug@sad.it>
13426 * tabular.C (SetMultiColumn): collapse also the contents of the
13427 cells and set the last border right. Added a Buffer const * param.
13429 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13431 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13434 2002-03-19 Juergen Vigna <jug@sad.it>
13436 * text2.C (clearSelection): reset also xsel_cache.
13438 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13439 where it needs to be called (John tells us to do so too :)
13440 (selectionLost): reset sel_cache.
13442 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13444 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13446 * text2.C (setCursorIntern): put debuging code in INSETS channel
13448 2002-03-19 André Pönitz <poenitz@gmx.net>
13450 * lyxfunc.C: tiny whitespace change
13452 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13454 * ToolbarDefaults.C (init):
13455 * LyXAction.C (init):
13457 * BufferView_pimpl.C (Dispatch):
13458 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13460 2002-03-19 Allan Rae <rae@lyx.org>
13462 * exporter.C (Export): removeAutoInsets before doing anything else.
13463 While I've just introduced a dependency on BufferView this really is
13464 the best place to clean the buffer otherwise you need to cleanup in
13465 a dozen places before calling export or cleanup in a dozen functions
13468 * converter.C (runLaTeX):
13469 (scanLog): Better handling of removeAutoInsets and screen updates.
13471 * lyxfunc.C (dispatch): small whitespace changes
13473 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13475 * WorkArea.C (C_WorkAreaEvent): return a value.
13476 (event_cb): return 1 if we handled the event, 0 otherwise.
13478 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13480 2002-03-18 Juergen Vigna <jug@sad.it>
13482 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13483 (GetAdditionalWidth): ditto.
13484 (RightLine): ditto.
13487 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13488 inset if we're there actually (probably not used right now but this
13489 is the direction to go for unifying code).
13490 (paste): disable code to clear the selection.
13492 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13493 inside an InsetText and move the check further up as it is in the
13496 * text2.C (pasteSelection): set a selection over the pasted text.
13498 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13500 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13501 and libgraphics to build on Cygwin.
13503 2002-03-15 Juergen Vigna <jug@sad.it>
13505 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13506 inserting an Inset into the paragraph. I know this is not the best
13507 fix but we already use current_view in CutAndPaste so we will remove
13508 all of it's using at the same time.
13510 * buffer.C (sgmlError): deactivated function till it is rewritten in
13511 the right mode, now it can create problems.
13513 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13514 before accessing it.
13516 2002-03-14 Juergen Vigna <jug@sad.it>
13518 * undo_funcs.C (textHandleUndo): do the right thing when updating
13519 the inset after the undo/redo.
13521 * text2.C (setCursor): just some testcode for #44 not ready yet.
13523 * undo_funcs.C (textHandleUndo): set the next() and previous()
13524 pointers of the paragraph to 0 before deleting otherwise we have
13525 problems with the Paragraph::[destructor].
13527 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13528 on a paragraph insertion.
13530 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13532 * buffer.C (asciiParagraph): use += operator for char append to
13535 * paragraph.C (getFontSettings): compare >= not just >
13536 (highestFontInRange): ditto
13539 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13541 * paragraph.C: change several algorithm to be more appripriate for
13542 the problem domain. This is lookip in FontList and in the InsetList.
13544 2002-03-13 André Pönitz <poenitz@gmx.net>
13547 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13549 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13554 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13556 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13558 * Painter.C (display): anon helper function, adjust code for this
13560 (pixmap): remove function.
13562 * Painter.h: remove private display variable.
13564 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13566 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13568 * WorkArea.[Ch]: remove figinset_canvas cruft.
13570 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13572 * lyxtextclass.C (operator): add one item cache optimization.
13574 * bufferlist.h: doxy changes
13576 * bufferlist.C: ws changes
13578 * DepTable.[Ch] (ext_exist): place const in the right spot.
13580 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13582 (workAreaExpose): call resizeInsets when the with BufferView changes.
13583 (Dispatch): adjust for protectedBlank removal
13584 (specialChar): call updateInset if the insert went ok.
13586 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13587 specialChar instead.
13589 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13591 * BufferView.h: doxy change
13593 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13595 * lyxtextclass.C (operator[]): remove non-const version
13596 (defaultLayout): remove non-const version
13598 2002-03-12 Juergen Vigna <jug@sad.it>
13600 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13601 did resize the LyXText too.
13603 * buffer.C (readLyXformat2): set layout information on newly allocated
13606 * tabular.C (OldFormatRead): set layout information on the paragraph.
13608 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13610 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13612 2002-03-11 Juergen Vigna <jug@sad.it>
13614 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13616 (resizeCurrentBuffer): force also the insets to resize themselfes.
13617 (moveCursorUpdate): fixed up for InsetText.
13619 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13622 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13623 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13624 value of Dialogs::tooltipsEnabled().
13625 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13627 2002-03-08 Juergen Vigna <jug@sad.it>
13629 * BufferView_pimpl.C (updateInset): update inset inside inset also
13630 if it isn't inside theLockingInset().
13632 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13634 * buffer.C (asciiParagraph): redo some of the word and line length
13636 (getLists): look for Caption instead of caption.
13638 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13640 * buffer.C (Buffer): initialize niceFile to true
13642 (makeLinuxDocFile):
13643 (makeDocBookFile): make sure niceFile is true on exit
13645 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13647 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13649 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13651 * LyXSendto.C: remove.
13652 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13653 * lyx_gui.C: remove now-redundant comment.
13654 * ColorHandler.h: remove forward declaration of class WorkArea.
13655 * lyxfunc.C: remove #include "WorkArea.h".
13657 2002-03-07 Juergen Vigna <jug@sad.it>
13659 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13660 got moved away with the DEPM and also set the inset_owner always
13661 right which before could have been omitted.
13663 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13665 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13666 wanted layout is not found.
13668 2002-03-07 Juergen Vigna <jug@sad.it>
13670 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13672 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13674 * paragraph.C (breakParagraph): use default layout not layout of
13676 (Paragraph): clear ParagraphParameters.
13678 2002-03-06 Juergen Vigna <jug@sad.it>
13680 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13681 otherwise it would not be a valid lenght. Fixed a special case in
13682 the minipage compatibility read where we end the document with a
13685 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13686 was set as it could be 0 for InsetTexts first entry.
13688 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13690 * paragraph.C (writeFile): if layout is empty write out
13691 defaultLayoutName().
13693 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13694 file without named layout we set layout to defaultLayoutName().
13696 2002-03-06 Juergen Vigna <jug@sad.it>
13698 * CutAndPaste.C (copySelection): set layout for new paragraph.
13700 * text.C (prepareToPrint): leave ERT inset left aligned
13701 (leftMargin): don't indent paragraphs inside ERT insets
13703 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13705 * paragraph.C (breakParagraph): dont call clear do the work manually
13707 * paragraph.[Ch] (clear): remove function
13709 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13711 * paragraph.C (Paragraph): dont call clear, the work has already
13714 * lyxtextclass.C (operator): assert if n is empty
13716 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13717 work manually instead.
13719 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13721 * BufferView_pimpl.C: protect selectionLost against text == 0
13723 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13725 * text.C (breakParagraph): fix a setting layout to '0' problem.
13727 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13729 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13730 final location of file, for the included files, and graphics.
13732 2002-03-05 Juergen Vigna <jug@sad.it>
13734 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13736 2002-03-04 Juergen Vigna <jug@sad.it>
13738 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13740 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13741 last column of multicolumn cells.
13742 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13744 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13746 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13747 file if it doesn't go to a temporary file.
13749 * buffer.C (sgmlOpenTag):
13750 (sgmlCloseTag): remove extra newline insertion.
13752 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13754 * text.C (getRowNearY): comment out debug msg
13756 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13758 * text2.C: first -> first_y
13760 * text.C (getRowNearY): add some attemts at a possible
13761 optimization, not working.
13763 * tabular.[Ch]: add BufferParams to several function so that newly
13764 created paragraph can be initialized to he default layotu for the
13767 * tabular-old.C (ReadOld): add buf->params to call of Init
13769 * screen.C: rename text->first to text->first_y
13771 * paragraph.C (breakParagraph): always set layout in the broken
13774 * lyxtextclass.C (Read): remove lowercase
13777 (delete_layout): ditto
13779 * lyxtext.h: rename first -> first_y
13781 * lyxlayout.C (Read): remove lowercase
13784 (obsoleted_by): ditto
13786 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13788 * buffer.C (insertErtContents): add params are to InsetERT
13789 (parseSingleLyXformat2Token): add code to check if a paragraphs
13790 layout really exist.
13791 (parseSingleLyXformat2Token): add params to several inset
13793 (asciiParagraph): remove lowercase, do the layout comparisons with
13796 * BufferView_pimpl.C (cursorNext): first -> first_y
13797 (resizeCurrentBuffer): first -> first_y
13798 (updateScrollbar): first -> first_y
13799 (scrollCB): first -> first_y
13800 (workAreaMotionNotify): first -> first_y
13801 (workAreaButtonPress): first -> first_y
13802 (checkInsetHit): first -> first_y
13803 (cursorPrevious): first -> first_y
13804 (cursorNext): first -> first_y
13805 (Dispatch): add buffer_->params to severl inset contructors
13807 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13809 * lyxlayout.C (Read): remove some debug info that I forgot.
13811 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13812 clean up the code slightly.
13813 (makeLinuxDocFile): ditto
13814 (makeDocBookFile): ditto
13816 * text2.C: layout as string
13818 * text.C: layout as string
13820 * paragraph_pimpl.C: layout as string
13822 * paragraph.[Ch]: layout as string
13824 * lyxtextclasslist.[Ch]: layout as string
13826 * lyxtextclass.[Ch]: layout as string
13828 * lyxtext.h: layout as string
13830 * lyxlayout.[Ch]: layout as string
13832 * lyx_cb.C: layout as string
13834 * bufferview_funcs.C: layout as string
13836 * bufferparams.C: layout as string
13838 * buffer.C: layout as string
13840 * LyXView.[Ch]: layout as string
13842 * LaTeXFeatures.[Ch]: layout as string
13844 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13846 * BufferView_pimpl.C: change current_layout to string, remove
13851 (workAreaButtonRelease): layout as string
13853 * BufferView2.C (unlockInset): adjust
13855 * vspace.C (asLatexCommand): use an explict temp variable.
13857 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13859 * Makefile.am: use FRONTEND_*
13861 2002-03-01 Juergen Vigna <jug@sad.it>
13863 * tabular.C (SetWidthOfMulticolCell): changed to something better
13864 I hope but still work in progress.
13865 (recalculateMulticolumnsOfColumn): renamed function from
13866 recalculateMulticolCells as it is more appropriate now.
13867 (SetWidthOfCell): calculate multicols better.
13869 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13871 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13873 * lyxfunc.C (processKeySym): print sequence also if it is
13874 `deleted' (complete)
13876 * kbsequence.C (print): print sequence even if it is deleted
13877 (complete would be a better word, actually).
13879 * lyxfunc.C (dispatch): print complete options after a prefix key
13881 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13883 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13885 * text2.C (setCharFont): eliminate setCharFont code duplication.
13887 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13889 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13890 LFUN_TABULAR_FEATURE (bug #177)
13892 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13894 * Makefile.am: remove figure.h
13896 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13898 * Bufferview_pimpl.C:
13910 * text2.C: remove #include "lyx_gui_misc.h".
13912 * LaTeX.C: added #include <cstdio>
13914 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13916 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13917 that the paragraph following this one can have.
13919 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13921 * vspace.C (asLatexCommand): fix bogus gcc warning
13923 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13925 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13927 * text2.C (setLayout): get rid of redundant code
13929 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13931 * text2.C (incDepth): make sure depth cannot be increased beyond
13934 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13936 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13937 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13939 * PainterBase.h (image):
13940 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13941 a LyXImage const *.
13943 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13947 * BufferView_pimpl.C:
13948 * BufferView_pimpl.h:
13968 * sp_spell.C: remove fig inset, and the crap house of
13969 cards that follows it
13971 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13976 * os2_errortable.h:
13977 * nt_defines.h: move .h into support/
13979 * vms_defines.h: remove
13981 * WorkArea.C: add space in debug output
13985 * buffer.C: add WITH_WARNINGS
13989 * bufferlist.C: s/retrive/retrieve/, add docs
13998 * chset.C: add docs
14000 * lyxgui.C: add ID to X error handler
14002 * lyxtestclass.c: fix typo
14004 2002-02-26 Juergen Vigna <jug@sad.it>
14006 * tabular_funcs.C (write_attribute): changed so that some default
14007 attributes are not written at all.
14008 (getTokenValue): set default values before trying to read the
14009 value so we have the return value always set as default if we don't
14010 find the token we search for.
14012 * tabular.C (Write): write bools as bools not as strings!
14014 2002-02-22 Juergen Vigna <jug@sad.it>
14016 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14017 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14019 * text.C (leftMargin): don't add an indent for paragraphs inside
14020 tabular cells (fix #208).
14022 2002-02-21 José Matos <jamatos@fep.up.pt>
14024 * tabular.C (docBook): fixed support for long tables.
14026 2002-02-20 Juergen Vigna <jug@sad.it>
14028 * text2.C (getFont): get the drawing font of the Inset if this
14029 paragraph is inside an inset (only important for InsetERT for now).
14031 * buffer.C (insertErtContents): use new lanugage params in ERT
14034 * CutAndPaste.C: commenting out seemingly uneeded code.
14036 2002-02-19 Allan Rae <rae@lyx.org>
14038 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14039 Iterators might be simple to use but they also get invalidated.
14040 (removeAutoInsets): renamed saved cursor tracking variables and added
14041 some comments to clarify what everything does.
14043 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14050 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14051 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14054 * vc-backend.h: remove #include "support/syscall.h"
14058 * converter.C: rearrange #includes in Lars' approved fashion.
14060 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14061 forward declare class Timeout in the header file.
14063 * XFormsView.C: changes due to the above.
14065 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14066 similar to LyXView.
14068 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14069 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14071 2002-02-18 José Matos <jamatos@fep.up.pt>
14073 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14076 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14078 * a lot of small ws changes
14079 * add a lot of using std::XXX
14080 * use std construcs some places where approp.
14081 * use some exisint stuff from lyxfunctional where approp.
14082 * Make file changes to use partial linking (lets test this now...)
14084 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14088 remove #include "support/syscontr.h" as it's redundant. Always has been.
14096 change Systemcalls::System to Systemcalls::Wait and
14097 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14098 No change of functionality, just reflects the stripped down Systemcalls
14101 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14103 * debug.[Ch]: add a GRAPHICS type to the enum.
14105 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14107 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14109 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14112 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14114 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14115 match the changes below.
14117 * text2.C (toggleInset): if there is not editable inset at cursor
14118 position, try to see if cursor is _inside_ a collapsable inset
14121 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14123 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14124 document menu has a nice checkbox
14126 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14128 * lyxlength.C (asLatexString): change PW to output as percent of
14131 * lengthcommon.C: change '%' to 't%'
14133 * lyxfunc.C (dispatch): a few comments from Martin
14135 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14139 * BufferView_pimpl.h:
14140 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14143 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14145 * vspace.C (inPixels): fix compiler warning
14147 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14149 * lyxfunc.C (getStatus): fix status message for disabled commands.
14151 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14153 * BufferView_pimpl.C: fix crash on close buffer
14154 during selection (#227)
14156 2002-01-27 Herbert Voss <voss@lyx.org>
14158 * buffer.C: link old Figure to new graphic inset
14160 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14162 * FontLoader.C (getFontinfo): Change the latex font names in order
14163 to match the names of type1inst.
14165 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14167 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14169 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14170 (extchanged): ditto
14172 (remove_files_with_extension): ditto
14173 (remove_file): ditto
14176 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14177 document is smaller than the work area height. Do not initialize
14178 static variables to 0.
14180 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14182 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14184 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14185 LFUN_LAYOUT_PARAGRAPHS.
14187 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14188 tabular. It is possible to provide a possible cell, which will
14189 typically be the actcell from the corresponding insettabular
14191 * lyxfunc.C (getStatus): small cleanup; disable
14192 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14195 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14197 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14199 * paragraph.C (startTeXParParams):
14200 (endTeXParParams): new methods. The LaTeX code to
14201 start/end paragraph formatting
14202 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14203 empty (fixes bug #200)
14205 * vspace.C (inPixels): adapt to the change below
14206 (inPixels): [later] more cleanups (remove unused variables)
14208 * lyxlength.C (inPixels): change to use a width and a height as
14211 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14213 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14214 Replaced with \paperwidth
14216 * DepTable.C (insert): add std:: qualifier
14218 2002-01-18 Allan Rae <rae@lyx.org>
14220 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14223 * text.C (drawInset): Turned out I didn't know enough about how
14224 rebreaking worked. This fixes most of the redraw problems. I see
14225 an occasional cursor trail when a line is broken now and the cursor
14226 placement can seem out by a few pixels also after a rebreak.
14228 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14230 * buffer.C (parseSingleLyXformat2Token): update because minipage
14231 width is now a LyXLength
14233 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14235 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14238 2002-01-17 Juergen Vigna <jug@sad.it>
14240 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14242 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14243 is set correctly and the inset is updated correctly.
14245 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14247 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14248 the beginning of the loop.
14250 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14252 * lyxrc.C: improve help for use_scalable_fonts
14254 2002-01-17 Allan Rae <rae@lyx.org>
14256 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14258 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14260 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14261 make sure to set their inset_owner to the right value (bug #171)
14263 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14266 * DepTable.C: Implement mtime checking to reduce time spent doing
14269 2002-01-16 Juergen Vigna <jug@sad.it>
14271 * tabular.C (GetAdditionalHeight): one of error fixed.
14273 * lyxrc.C (output): small fix in writing use_pspell.
14275 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14277 * sp_base.h: #include LString.h
14279 2002-01-16 Allan Rae <rae@lyx.org>
14281 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14282 Can someone check this please?
14284 * text.C (drawInset): It was possible that p.row would be removed by
14285 breakAgainOneRow upsetting a few other settings. There may be another
14286 small tweak possible by setting need_break_row = 0 when p.row has been
14287 removed but I don't know enough about the logic here.
14289 2002-01-15 Allan Rae <rae@lyx.org>
14291 * text.C (insertChar): removed conditional truism.
14293 * BufferView2.C (removeAutoInsets): More tweaks.
14294 cur_par_prev could be a stray pointer. Check for trailing empty line
14295 in case last line was cur_par and only had an error inset on it.
14297 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14299 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14302 * vc-backend.C (most methods):
14303 * exporter.C (Export):
14304 * converter.C (convert):
14306 * LyXSendto.C (SendtoApplyCB):
14307 * lyxfunc.C (dispatch):
14311 * lyx_cb.C (AutoSave):
14313 * BufferView_pimpl.C (MenuInsertLyXFile):
14314 * buffer.C (runChktex): use Buffer::filePath().
14316 * buffer.h: rename filename to filename_; rename filepath to
14317 filepath_ and make it private
14318 (filePath): new method
14320 * buffer.C (writeFile): use fileName()
14323 * lyx_main.C (init): fix starting of LyX when the binary is a
14324 link from so,ewhere else.
14326 * minibuffer.C: include <cctype> for isprint
14328 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14330 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14331 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14332 name clash with InsetCollapsable's width function.
14334 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14336 * lastfiles.C: include <iterator>
14338 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14340 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14343 * buffer.C (makeLaTeXFile): ditto.
14344 Also make loop operation more transparent.
14346 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14348 * ToolbarDefaults.C: remove trailing comma closing namespace.
14350 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14352 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14355 * trans.C (Load): comment out unused variable, allowed.
14357 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14359 * minibuffer.[Ch] (append_char): new method to recieve input from the
14360 drop-down completion browser. If a key was pressed, then recieve this
14361 char and append it to the existing string.
14362 (peek_event): modify the positioning data passed to the completion
14363 browser so that it can be placed above the minibuffer rather than below.
14364 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14366 * LyXAction.C (init): alloe error-next for readonly documents.
14368 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14371 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14373 * bufferlist.C (readFile): create the buffer _after_ checking that
14376 * lyxfunc.C (verboseDispatch): fix handling of arguments
14378 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14380 * lyxrc.C: use string::erase() instead of initializing to "".
14383 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14385 * BufferView_pimpl.h:
14386 * BufferView_pimpl.C:
14389 * text2.C: tell X when we have made a selection for copying
14391 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14393 * BufferView_pimpl.C (MenuInsertLyXFile):
14394 * lyxfunc.C (menuNew):
14396 (doImport): add shortcuts to directory buttons
14398 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14401 * lyxfunc.C (setStatusMessage):
14402 (getStatusMessage): new methods
14403 (getStatus):use setStatusMessage instead of setErrorMessage
14404 (dispatch): when function is disabled, set error message here
14405 [instead of in getStatus previously]
14407 * BufferView_pimpl.C (workAreaButtonRelease): update
14408 toolbar/menubar here too.
14410 2002-01-13 Allan Rae <rae@lyx.org>
14412 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14413 Now seems indestructible. Remaining task is to audit all other
14414 code affected by deleteEmptyParagraphMechanism. One small quirk
14415 left is that an empty document with an error in the preamble can
14416 be made to report an error but no error box appears. I don't know
14418 (removeAutoInsets): Improved comments.
14420 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14423 * Thesaurus.C: update for Aiksaurus 0.14
14425 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14427 * text2.C (firstParagraph): removed member function, all uses
14428 replaces with ownerParagraph
14429 (redoParagraphs): here
14430 (updateInset): here
14431 (toggleAppendix): here
14432 * BufferView2.C (insertErrors): here
14433 (setCursorFromRow): here
14435 2002-01-13 Allan Rae <rae@lyx.org>
14437 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14438 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14439 There is still a way to segfault this although you may have to do this
14440 multiple times: Have an InsetERT with an unknown command in it.
14441 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14442 <down-arrow>, <Enter> again, View->DVI, BANG!
14444 * text2.C (setCursor):
14445 (deleteEmptyParagraphMechanism):
14446 * lyxtext.h (setCursor):
14447 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14448 Making use of the return value may help fix other bugs.
14450 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14452 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14454 * LyXView.C (updateMenubar): call MenuBar::update here
14455 (updateToolbar): but not here
14456 (showState): do not update toolbar/menubar
14458 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14459 should need to care about that.
14461 * lyxfunc.C (verboseDispatch): simplify a bit
14462 (getStatus): have a version which takes a pseudoaction, and
14463 another which requires a (kb_action,string).
14465 * LyXAction.C (retrieveActionArg): make it work also when action
14466 is not a pseudo-action.
14467 (getActionName): simplify a bit
14470 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14472 * lyxfunc.C (verboseDispatch): new families of methods with
14473 several ways to specify a command and a bool to indicate whether
14474 the command name and shortcut should be displayed in minibuffer
14475 (eventually, we could extend that to a finer bitmask like
14476 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14477 (dispatch): the pristine dispatch command which just, well,
14478 dispatchs! Note it still sets its result to minibuffer; I'm not
14481 * lyxfunc.h: remove setHintMessage
14483 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14485 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14487 * BufferView_pimpl.C (specialChar): delete new inset if we have
14488 not been able to insert it.
14490 * kbmap.C: revert to using int instead of kb_action, since all we
14491 are dealing with is pseudo-actions.
14493 * LyXAction.C (searchActionArg): change to return int instead of
14494 kb_action, since the result is a pseudoaction.
14496 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14498 * buffer.C (insertErtContents): Fix (partially) the font bug.
14500 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14502 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14503 as the other one is broken on my machine!
14505 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14508 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14510 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14512 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14513 reflect their actual use. Provide compatibility code for older lyxrc
14516 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14518 change names of popup font variables in line with the changes to lyxrc.C
14520 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14522 * buffer.C (asciiParagraph): avoid outputing a word twice after
14525 * lyxrc.C (getDescription): document that document_path and
14526 template_path can be empty.
14528 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14530 * LaTeXFeatures.C (getMacros):
14531 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14533 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14535 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14537 (getPackages): rename feature "floats" to "float". Use an array to
14538 iterate over 'simple' features (i.e. just a \usepackage). Add
14539 handling of "amsmath" (renamed from "amsstyle").
14541 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14543 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14546 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14548 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14549 FuncStaus::FuncStatus & FuncStaus::some_method().
14551 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14553 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14554 of the func_satus stuff. Edited and massaged in various ways by
14557 * lyxfunc.C (getStatus): use FuncStatus
14559 2002-01-08 Juergen Vigna <jug@sad.it>
14561 * text.C (nextBreakPoint): use function Inset::isChar().
14563 * paragraph.C (TeXOnePar): use function
14564 Inset::forceDefaultParagraphs.
14566 * buffer.C (latexParagraphs): use function
14567 Inset::forceDefaultParagraphs.
14569 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14571 * lyx_gui.C (init): set the style of the menu popups to
14572 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14574 2002-01-07 Juergen Vigna <jug@sad.it>
14576 * text.C (setHeightOfRow): small fix
14577 (prepareToPrint): don't look at alignment if we don't have the place
14580 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14582 * box.C: New file. Move the Box methods and functions out of box.h,
14583 following Lars' suggestion.
14585 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14587 * box.h: #include "support/LOstream.h", needed for inlined function.
14590 * lyxtextclasslist.C: added some using std declarations.
14592 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14594 * box.h: make signed dimensions to allow insets wider than
14595 the screen (bug #162)
14597 * BufferView_pimpl.C: add some insetHit debug
14599 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14601 * vc-backend.C: add FIXME
14603 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14605 * lyxfunc.C (getStatus): enable code for showing math font status
14608 2002-01-07 Juergen Vigna <jug@sad.it>
14610 * text.C (nextBreakPoint): removed debug output not needed anymore.
14612 2002-01-06 Juergen Vigna <jug@sad.it>
14614 * text.C (nextBreakPoint): fixed up this function we had this bug
14615 since ever but now hopefully we break row better.
14616 (insertChar): we have to check if an inset is the next char as it
14617 could now happen that a large inset is causing a break.
14619 2002-01-05 Juergen Vigna <jug@sad.it>
14621 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14622 if it doesn't like to be drawed.
14624 2002-01-04 Juergen Vigna <jug@sad.it>
14626 * BufferView2.C (lockInset): forgot to set a cursor.
14628 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14630 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14632 * FormMathsPanel.C:
14635 * form_maths_panel.C:
14636 * form_maths_panel.h:
14637 * form_maths_panel.fd: implemented sub- and super- buttons in math
14640 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14641 (or ^ space) to be used as in TeX (req'd by Andr�.
14643 * lyxfunc.C: Allow ^ and _ again to be used both as
14644 super/subscript (mathed) and as themselves (in text).
14646 2002-01-03 Allan Rae <rae@lyx.org>
14648 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14649 "LyX" or the filename of the current buffer if it has one. This is a
14650 modified form of John Levon's patch.
14652 * XFormsView.C (setWindowTitle): also set icon title.
14654 * LyXView.h (setWindowTitle): signature changed.
14655 * XFormsView.h (setWindowTitle): ditto.
14657 2002-01-02 Juergen Vigna <jug@sad.it>
14659 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14661 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14663 * screen.C (topCursorVisible): introduce a temp var for
14664 text->cursor.row(), handle the case where this row is null. (kindo
14667 * text2.C (setCursor): add a couple of asserts.
14669 * paragraph.h (inset_iterator): add -> operator
14671 * paragraph.[Ch] (autoDeleteInsets): remove member function
14673 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14674 cursor pos correctly and handle inset deletion by itself.
14675 (insertErrors): move iterator declaration out of for expression
14677 * lyxtextclass.C: add <algorithm>
14679 * Makefile.am: added the new files to sources, removed layout.C
14681 * layout.C: removed file
14683 * layout.h: remove LYX_DUMMY_LAYOUT
14685 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14689 * lyxtextclass.[Ch]:
14690 * lyxtextclasslist.[Ch]: new files
14692 * include order changes to a lot of files, also changes because of
14695 2001-12-27 Juergen Vigna <jug@sad.it>
14697 * buffer.C (asciiParagraph): more fixes.
14699 * tabular.C (ascii): make ascii export support export of only the
14700 data separated by a column-delimiter.
14701 (ascii): better support for ascii export.
14703 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14705 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14707 * tabular_funcs.C: use a "using std::getline" instead of the
14708 previous fix from Angus (necessary for cxx + lyxstring)
14710 2001-12-24 Juergen Vigna <jug@sad.it>
14712 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14714 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14715 problems. First check a minipage also if we have some ert-contents
14716 (not only on par->size(), second set the right depth of the paragraph
14717 on the relink to the root-paragraph-list!
14719 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14720 which then did not anymore update the main paragraphs on undo/redo!
14722 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14724 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14725 code. Support all font-changing funcs (even those which are not in
14726 menu currently). Support for reporting font settings in
14727 mathed (disabled until Andre provides a function on mathed's side).
14729 * func_status.h (toggle): small helper function to set toggle
14732 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14734 * tabular_funcs.C: getline -> std::getline
14736 2001-12-21 Juergen Vigna <jug@sad.it>
14738 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14739 accessed and could be 0 (I couldn't generate this but it seems
14742 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14744 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14745 * tabular_funcs.h: here and include iosfwd
14747 2001-12-20 Juergen Vigna <jug@sad.it>
14749 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14750 inside inset but undo_par was.
14752 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14754 * Thesaurus.C: always include <config.h> in sources.
14758 * box.h: do not include <config.h> in header files
14760 * text.C (paintLastRow): remove unused variable
14762 * text.C (transformChar):
14764 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14766 * Painter.C (text):
14767 * font.C (width): rewrite to use uppercase() instead of
14770 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14772 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14774 * lyxfind.C: clean up of find failure position change
14776 2001-12-20 Juergen Vigna <jug@sad.it>
14778 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14780 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14781 (TeXRow): added to LaTeX a single tabular row.
14782 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14783 (Latex): simplified and finally good LT-h/f support.
14784 (various_functions): just small adaptions for LT-h/f support.
14786 * tabular_funcs.[hC]: added and moved here all not classfunctions
14789 2001-12-19 Juergen Vigna <jug@sad.it>
14791 * tabular.[Ch]: better support for longtabular options (not finished
14794 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14796 * text.C (paintLastRow): use the label font instead of the font of
14797 the last character to compute the size of *_BOX. This makes more
14798 sense and avoids a crash with empty paragraphs.
14799 Use Painter::rectangle to draw EMPTY_BOX.
14801 2001-12-19 Juergen Vigna <jug@sad.it>
14803 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14804 the paragraphs if the replaced paragraph is not the first one!
14805 Tried to delete not used paragraphs but does not work yet so for
14806 now it's inside #ifdef's and by default off!
14808 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14810 * MenuBackend.C: include "lyx_main.h" instead of declaring
14811 lastfiles (actually was declared as LastFiles* instead of a
14814 2001-12-17 Juergen Vigna <jug@sad.it>
14816 * tabular.C (AppendColumn): applied John's fix
14818 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14822 * BufferView_pimpl.h:
14823 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14826 * box.h: new start of class for above
14828 * lyxfunc.C: ignore space-only minibuffer dispatches.
14829 Show the command name when it doesn't exist
14831 * minibuffer.C: don't add empty lines to the history
14833 * minibuffer.C: add a space on dropdown completion
14835 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14837 * text.C: fix line above/below drawing in insets
14839 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14841 * lyxlength.C (LyXLength): Initialize private variables.
14843 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14845 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14846 when inserting error insets.
14848 2001-12-13 Juergen Vigna <jug@sad.it>
14850 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14851 actually sometimes the before-paragraph.
14852 (setUndo): don't clear the redostack if we're not actually undoing!
14854 2001-12-06 Juergen Vigna <jug@sad.it>
14856 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14857 and fixed redoing of main paragraph, so we can use it now ;)
14859 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14861 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14863 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14866 2001-12-13 André Pönitz <poenitz@gmx.net>
14869 * undo_func.C: minor cleanup
14871 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14873 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14874 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14875 font in urw-fonts package which is marked as -urw-fontspecific and
14876 does not work (incidentally, changing the encoding in the
14877 fonts.dir of this package to -adobe-fontspecific fixes the
14880 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14881 is a crash when undoing first paragraph (Juergen, please take a
14882 look). THis does not mean the undo fix is wrong, just that it
14885 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14886 the (Paragraph*) version when needed instead of duplicating the
14889 * text.C (workWidth): use Inset::parOwner to find out where the
14890 inset has been inserted. This is a huge performance gain for large
14891 documents with lots of insets. If Inset::parOwner is not set, fall
14892 back on the brute force method
14894 * paragraph_pimpl.C (insertInset):
14895 * paragraph.C (Paragraph):
14896 (cutIntoMinibuffer): set parOwner of insets when
14897 inserting/removing them
14899 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14901 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14907 * mathed/formulabase.C:
14908 * mathed/math_cursor.[Ch]:
14909 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14912 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14914 * lyxlength.[Ch] (operator!=): new function
14916 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14918 * text.C (workWidth): use Inset::parOwner to find out where the
14919 inset has been inserted. This is a huge performance gain for large
14920 documents with lots of insets. If Inset::parOwner is not set, fall
14921 back on the brute force method
14923 * paragraph_pimpl.C (insertInset):
14924 * paragraph.C (Paragraph):
14925 (cutIntoMinibuffer): set parOwner of insets when
14926 inserting/removing them
14928 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14930 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14932 * tabular-old.C (getTokenValue):
14933 * tabular.C (getTokenValue):
14934 (write_attribute): new versions for LyXLength
14935 (everywhere): adjust the use of widths
14937 * tabular.h: change the type of widths from string to LyXLength
14939 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14941 * paragraph.C: fixed missing line number count when exporting
14942 Environments to LaTeX file
14944 * buffer.C: added informational message for checking line numbers.
14946 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14948 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14949 paragraph, do the 'double space' part, but not the 'empty
14952 * text.C (workWidth): small optimization
14953 (getLengthMarkerHeight): use minimal size for negative lengths.
14955 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14957 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14959 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14961 2001-12-11 André Pönitz <poenitz@gmx.net>
14964 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14966 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14968 * text2.C: keep selection on a setFont()
14970 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14972 * lyx_cb.C: another bv->text misuse, from insert label
14974 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14977 * kbsequence.C: re-instate nmodifier mask
14979 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14981 * lyx_main.h: make lyxGUI private.
14983 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14985 * lyxfind.C: place the cursor correctly on failed search
14987 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14989 * text.C (getLengthMarkerHeight): for small heights, the arrows
14990 are not always on top/bottom of the text
14991 (drawLengthMarker): smaller arrows; take the left margin in
14992 account; draw also vfills.
14994 (paintLastRow): remove special code for vfill and standard spaces,
14995 since everything is handled in drawLengthMarker now.
14997 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14999 * buffer.C (insertErtContents): try to handle font and language
15000 interaction a bit better.g
15002 * ColorHandler.C (updateColor): change the hash to cover the whole
15003 LColor enum, ws cleanup
15004 (getGCLinepars): ditto
15005 (getGCLinepars): only lookup in the linecache once.
15007 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
15009 * iterators.C (operator++): Make the iterator more robust
15011 * BufferView2.C (removeAutoInsets): Use paragraph iterators
15013 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15015 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15018 * text.C: better added space drawing
15020 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15023 * BufferView2.C: fix layout combo update on inset unlock
15025 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15027 * Makefile.am: don't compile unused files
15029 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15033 * LyXAction.C: remove old LFUN_LAYOUTNO
15035 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15037 * paragraph_pimpl.h:
15038 * paragraph_pimpl.C: isTextAt() doesn't need font param
15040 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15043 * lyxlex.C: little cleanup
15045 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15047 * BufferView_pimpl.C: fix insertAscii for insets
15049 2001-12-05 Juergen Vigna <jug@sad.it>
15051 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15052 set the right font on the "multi" paragraph paste!
15054 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15060 * lyxlength.C: remove out-commented code.
15062 * BufferView_pimpl:
15076 * vc-backend.C: change "while(" to "while ("
15078 * lyxlength.[Ch]: add zero function to check if length is zero or
15080 * lyxgluelength.C: use it
15082 2001-12-05 Allan Rae <rae@lyx.org>
15084 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15085 Works for 2.95.3, from what I understand of Garst's reports this should
15086 work for other g++ versions. We're screwed if the abs(int) definition
15087 changed between bugfix releases of gcc.
15089 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15091 * text.C: fix chapter label offset !
15093 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15096 * text.C: fix hfill at end of line, clean up
15098 2001-12-04 Juergen Vigna <jug@sad.it>
15100 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15101 that we force an update of the inset and it's owners if neccessary.
15103 2001-12-03 Juergen Vigna <jug@sad.it>
15105 * text.C (rowLast): simplified code
15107 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15109 * lyxfunc.C: fix show options on timeout
15111 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15113 * screen.C (topCursorVisible): scroll half a page when the cursor
15114 reached top of bottom of screen
15116 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15118 * minibuffer.C: deactivate on loss of focus
15120 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15122 * vspace.[Ch] (operator!=): add operator.
15124 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15126 * BufferView_pimpl.C: refuse to open an inset when
15127 there's a selection.
15129 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15131 * BufferView_pimpl.C: allow to click on RHS of full row insets
15133 2001-11-30 Juergen Vigna <jug@sad.it>
15135 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15136 insets for undo reasons.
15138 2001-11-28 André Pönitz <poenitz@gmx.net>
15140 * vspace.[Ch]: cosmetical changes
15142 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15152 * kbsequence.C: part re-write of old kb code
15155 * WorkArea.C: remove Lgb_bug_find_hack
15157 2001-11-30 José Matos <jamatos@fep.up.pt>
15159 * buffer.C (makeDocBookFile): add a comment to point a hack.
15160 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15161 Fixed a double write of labels.
15163 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15166 * LaTeX.h Fixed bug in LaTeX class where it would not
15167 re-run latex if no depfiles were changed, but the .dvi was removed.
15169 2001-11-28 André Pönitz <poenitz@gmx.net>
15171 * all the files from the change on 2001/11/26:
15172 use lyx::layout_type instead of LyXTextClass::size_type
15173 use lyx::textclass_type instead of LyXTextClassList::size_type
15175 2001-11-29 Juergen Vigna <jug@sad.it>
15177 * text.C: added support for paragraph::isFreeSpacing()
15179 * buffer.C: same as above
15181 * paragraph.h: inserted isFreeSpacing() function to enable
15182 FreeSpacing inside InsetERT.
15184 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15185 of the paragraph's in the cut/copy buffer to 0!
15187 * text2.C (removeRow): remove the assert as it can!
15189 * lyxtext.h: added helper function firstRow returning firstrow and
15190 made firstrow private again.
15192 * BufferView2.C (lockInset): don't relock if we're already locked!
15194 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15195 the only paragraph.
15196 (removeRow): added Assert::(firstrow)
15198 * debug.C: forgot to add INSETTEXT here.
15200 2001-11-28 Juergen Vigna <jug@sad.it>
15202 * sp_spell.C (initialize): changed error text to more general
15203 spellchecker command use (not only ispell!)
15205 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15207 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15209 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15211 * vspace.C: initialise lyxgluelength on failure
15213 2001-11-28 Allan Rae <rae@lyx.org>
15215 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15216 declaration & definition that looks like a function declaration.
15218 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15220 * BufferView2.C (copy):
15221 (copyEnvironment): do not clear the selection when doing a copy.
15223 * text.C (paintFirstRow): compilation fix
15225 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15227 * tabular.C (Latex): correct line count when writing latex.
15229 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15231 * paragraph_pimpl.h:
15232 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15235 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15239 * LColor.C: change vfillline->added_space
15241 * text.C: add markers and text for added space
15243 * vspace.C: fix comment
15245 2001-11-28 André Pönitz <poenitz@gmx.net>
15247 * paragraph.C: whitespace changes
15248 * all the other files from the change on 2001/11/26:
15249 change *::pos_type into lyx::pos_type
15251 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15253 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15254 language of the document when inserting error insets.
15256 2001-11-26 André Pönitz <poenitz@gmx.net>
15258 * BufferView_pimpl.[Ch]:
15266 * paragraph_pimpl.[Ch]:
15269 * text2.C: reduce header dependencies, introduce type for positions
15271 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15273 * <various>: change to use Alert.h
15275 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15277 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15278 when encountering an unknown token.
15279 (readLyXformat2): Show an error message if there were unknown tokens.
15281 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15284 * BufferView_pimpl.C:
15288 * text2.C: use par->isInset()
15290 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15292 * paragraph_pimpl.h:
15293 * paragraph_pimpl.C: cleanup
15295 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15297 * text2.C (removeRow):
15298 * text.C (setHeightOfRow): remove useless (and costly) call to
15301 2001-11-20 Allan Rae <rae@lyx.org>
15303 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15304 Now need Inset*::checkInsertChar() to return true for appropriate
15305 cases so that the characters in the minibuffer will actually be
15308 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15310 * text.C: change the order of the includes.
15311 (workWidth): initialize it at once.
15312 (workWidth): make maxw unsigned
15313 (setHeightOfRow): remove unused variable (inset)
15314 (selectSelectedWord): remove unused variable (inset)
15315 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15317 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15319 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15320 server is not running.
15322 (closeConnection): add debug info when server is disabled.
15324 * ColorHandler.C (getGCForeground): send debug message to GUI
15327 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15329 * kbmap.C (bind): modify because return conventions of
15330 kb_sequence::parse have changed.
15332 * kbsequence.C (parse): only ignore spaces and not any stupid
15333 control character. This avoids tests like s[i] <= ' ', which are
15334 guaranteed to fail with 8bit characters and signed chars.
15335 Change return code to string::npos when there have been no error
15336 (0 was a bad idea when error is at first character)
15338 2001-11-14 José Matos <jamatos@fep.up.pt>
15341 * buffer.C (simpleDocBookOnePar): removed unused argument.
15343 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15345 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15346 insets which are part of a word. Paragraph::isLetter takes care of
15347 that now. Use Paragraph::isInset to identify insets.
15348 (selectSelectedWord): do not test for hyphenation break.
15350 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15351 that protected spaces are considered as spaces.
15353 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15356 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15359 * lyxserver.C: fix it. and small cleanup.
15361 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15363 * BufferView_pimpl.C: use inline helpers
15366 * LaTeXFeatures.C: fix typos
15369 * Spacing.C: move spacing_string into class
15371 * ToolbarDefaults.C: move stuff into namespace anon
15373 * layout.h: update enum
15375 * lyxfunc.C: use better debug
15377 * minibuffer.h: fix typo
15381 * WorkArea.C: add and use Debug::WORKAREA
15385 * text2.C: code re-organisation, inline helpers
15387 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15389 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15390 std::vector.empty().
15392 2001-11-09 Allan Rae <rae@lyx.org>
15394 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15395 '\n's after tables. Tabular and ERT inset work now makes this no
15398 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15401 * minibuffer.C: fix crash, improve drop-down completion
15403 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15406 * lyxserver.C: invalidate fd's when doing endPipe()
15408 2001-11-08 José Matos <jamatos@fep.up.pt>
15410 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15411 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15414 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15416 2001-11-07 José Matos <jamatos@fep.up.pt>
15419 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15422 * buffer.C (sgmlOpenTag):
15423 * buffer.C (sgmlCloseTag): removed debug info.
15425 * buffer.h (sgmlOpenTag):
15426 * buffer.h (sgmlCloseTag): made public.
15428 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15430 * buffer.C (saveParamsAsDefaults):
15431 * lyx_cb.C (MenuLayoutSave): remove
15433 * LyXAction.C (init):
15435 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15437 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15439 * buffer.C (setPaperStuff): removed from here...
15441 * bufferparams.C (setPaperStuff): ... and moved there.
15443 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15447 * XFormsView.C: add support for drop-down completion
15449 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15451 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15454 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15456 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15459 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15461 * lyx_main.C: change ref to known bugs
15463 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15465 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15466 to work around older babel problems.
15468 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15470 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15472 2001-10-24 Juergen Vigna <jug@sad.it>
15474 * tabular-old.C (ReadOld): below variable changes reflected.
15476 * tabular.[Ch]: added ltType struct for longtable header/footer
15477 defines and changed all instances where they are used. Added
15478 future support for double top/bottom rows.
15480 2001-10-24 José Matos <jamatos@fep.up.pt>
15482 * buffer.h (docbookHandleCaption):
15483 * buffer.C (docbookHandleCaption): removed unused function.
15484 (makeDocBookFile): moved docbook supported version to v4.1.
15486 2001-10-24 José Matos <jamatos@fep.up.pt>
15489 * tabular.C (docbookRow): new function to export docbook code of a row.
15490 (DocBook): now honors the longtable flags.
15492 2001-10-23 José Matos <jamatos@fep.up.pt>
15495 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15496 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15498 * buffer.C (makeLinuxDocFile):
15499 (makeDocBookFile): reworked the preamble, more clean, and with
15500 support for lyx defined entities. Changed the document declaration
15501 to be more XML friendly.
15503 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15504 if we need to output XML that should be done with a filter.
15506 2001-10-22 Juergen Vigna <jug@sad.it>
15508 * sp_pspell.h (class PSpell): add alive function needed in the
15509 controller to see if the spellchecker could be started.
15511 2001-10-22 Juergen Vigna <jug@sad.it>
15513 * buffer.C (insertStringAsLines): modify the font for inserting
15514 chars in certain conditions by calling checkInsertChar(font).
15516 2001-10-19 Juergen Vigna <jug@sad.it>
15518 * text.C (workWidth): use getRow instead of wrong algorithm.
15519 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15521 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15526 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15528 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15530 * text.C (workWidth): do not search for the exact row when
15531 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15532 optimization for big documents.
15534 2001-10-18 Juergen Vigna <jug@sad.it>
15536 * text.C (workWidth): new function with added Inset * parameter.
15538 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15540 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15542 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15543 change return type of getColumnNearX.
15546 * text.C (changeRegionCase): use uppercase/lowercase instead of
15549 (rightMargin): simplify code by factoring out the uses of
15554 (appendParagraph): use Paragraph::size_type
15556 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15558 * vspace.C (asLatexString): add a missing break
15560 2001-10-15 Herbert Voss <voss@perce.de>
15562 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15564 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15566 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15569 2001-10-10 André Pönitz <poenitz@gmx.net>
15571 * lyxfunc.C: removed greek_kb_flag.
15573 2001-10-10 Herbert Voss <voss@perce.de>
15575 * lyx_main.C: delete global string help_lyxdir.
15577 2001-10-09 Herbert Voss <voss@perce.de>
15579 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15581 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15583 * lyx_main.C: added global string help_lyxdir.
15585 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15587 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15589 * lyxrc.C (set_font_norm_type): support iso8859-4
15591 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15593 * LaTeX.C (deplog): add another regex for MikTeX
15595 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15597 * lyxrc.C (set_font_norm_type): support iso8859-3
15599 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15601 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15603 * LaTeXFeatures.C: remove special case of french and index
15605 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15606 before \begin{document}). This solves several incompatibilities.
15608 2001-10-03 Garst Reese <reese@isn.net>
15610 * lyx_cb.C: change CheckTex error msg.
15612 2001-10-03 José Matos <jamatos@fep.up.pt>
15614 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15616 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15618 * .cvsignore: update
15620 * lyx_main.C (commandLineVersionInfo): use new style version info.
15622 * buffer.C (writeFile):
15624 (makeLinuxDocFile):
15625 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15627 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15629 * version.h: update to use stuff in version.C
15631 * version.C.in: new file. Contains version information determined
15632 at compile time. This is a merging of version.h and
15635 2001-10-03 Juergen Vigna <jug@sad.it>
15637 * BufferView_pimpl.C (update): don't change "dirty" status in
15640 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15642 * WorkArea.C (c-tor): re-position version string slightly.
15644 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15646 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15647 revert to previous code.
15649 WorkArea.[Ch]: (show, destroySplash): methods removed.
15651 WorkArea.C: rework code so that it's an amalgam of the codes before and
15652 after the splash screen was moved to WorkArea.
15654 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15657 * vspace.C (inPixels):
15660 * buffer.C (insertStringAsLines):
15661 (asciiParagraph): fix types to be large enough
15663 * lyxlex_pimpl.h: change member status from short to int
15665 * layout.h: fix type of endlabeltype
15668 * kbsequence.C (parse): change return type to string::size_type
15670 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15673 * Bullet.C (bulletSize):
15674 (bulletEntry): do not use short ints as parameters
15676 * BufferView2.C (insertLyXFile): change a char to an int.
15678 * WorkArea.C (WorkArea): remove unneeded floats in computation
15680 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15682 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15684 * paragraph.C (asString): Do not ignore newline/hfill chars when
15685 copying to the clipboard.
15687 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15689 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15690 after a multi-line inset.
15692 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15694 * paragraph.C (validate): Set NeedLyXFootnoteCode
15696 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15698 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15699 and decrease-error to decrease.
15701 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15703 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15704 it more readable (should be equivalent)
15706 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15708 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15710 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15712 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15713 of a cursor (row, etc.) after a character has been deleted
15714 (deleteEmptyParagraphMechanism): call the method above on _all_
15715 cursors held by the LyXText when a double space has been
15718 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15720 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15722 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15724 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15725 background. Use greyOut() and the new show() methods to toggle between
15726 the foreground and background. Add code to remove the splash after
15727 its initial showing.
15729 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15730 (create_forms): no longer call Dialogs::showSplash.
15732 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15734 * .cvsignore: add version_info.h
15736 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15738 * version_info.h.in: new file
15740 * Makefile.am: add version_info.h.in
15742 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15743 version_info.h instead of VERSION_INFO
15745 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15747 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15748 The ERT inset now returns string().
15750 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15752 * lyxtext.h, text.C (selectNextWord): renamed as
15753 selectNextWordToSpellcheck.
15755 * text.C (selectNextWordToSpellcheck): Modified to not select
15756 words inside an ERT inset.
15758 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15760 * lyx_cb.C (MenuLayoutSave): change a bit the question
15762 * sp_base.h: include <sys/types.h>
15764 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15766 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15768 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15770 * several files: fix typos in user-visible strings
15772 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15774 * text2.C (pasteSelection): do not set the selection, since it
15775 will be cleared later. Actually, the intent was to fix the way the
15776 selection was set, but I figured rmoving the code was just as good.
15778 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15780 * FontLoader.C (available): Check if font is available without
15783 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15785 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15787 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15789 * lyxrc.[Ch]: added display_graphics variable and associated code.
15791 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15793 * bufferparams.C (hasClassDefaults): new method. Returns true if
15794 the buffer parameters correspond to known class defaults
15796 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15798 * XFormsView.C (show): set minimum size to the main window.
15800 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15802 * text2.C (copySelection):
15804 * lyxfind.C (LyXReplace):
15805 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15806 LyXText::selectionAsString.
15808 * paragraph.C (asString): add "label" argument to the second form
15810 * text2.C (selectionAsString): add "label" argument and pass it to
15811 Paragraph::asString.
15813 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15815 * lyx_main.C (commandLineHelp): remove version information
15817 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15819 * lyx_main.C: add -version commandline option
15821 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15823 * paragraph.h: make the optional constructor arg required instead.
15824 some modifications to other files because of this.
15826 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15828 * lyxserver.C (C_LyXComm_callback): make it static
15830 * lyx_main.C (error_handler): make it static
15832 * lyx_gui.C (LyX_XErrHandler): make it static
15834 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15836 * WorkArea.C: make the extern "C" methods static.
15838 * Makefile.am (lyx_LDADD): simplify
15840 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15842 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15843 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15845 * LyXAction.C (init):
15846 * lyxfunc.C (dispatch): associated code removal.
15848 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15850 * lyxfont.h (isSymbolFont): shut off warning
15852 * text.C (setHeightOfRow):
15853 (getVisibleRow): fix crash with empty paragraphs which have a
15856 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15858 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15861 2001-09-04 José Matos <jamatos@fep.up.pt>
15864 * tabular.C (docbook): rename docBook method to docbook.
15866 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15868 * Makefile.am: add dependencies to main.o.
15870 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15872 * FontLoader.C (available): Return false if !lyxrc.use_gui
15874 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15876 * FontInfo.C (query):
15877 * converter.C (view):
15878 * importer.C (Import):
15879 * exporter.C (Export): Can not -> cannot.
15881 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15883 * BufferView_pimpl.C: allow to create index inset even if
15886 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15888 * buffer.C (getLists): replace boost::tie code with an explicit pair
15889 as boost::tie can break some compilers.
15891 * iterators.h: Added a std:: declaration to the return type of
15894 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15896 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15899 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15901 * iterators.[Ch]: New files. Provide paragraph iterators.
15903 * buffer.C (changeLanguage): Use paragraph iterators.
15904 (isMultiLingual): ditto
15906 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15908 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15910 * FontLoader.C: Support for cmr font.
15912 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15914 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15915 (available): New method.
15917 * FontInfo.C (getFontname): Use scalable fonts even when
15918 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15921 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15923 * converter.C (Formats::view): reverted! Incorrect fix.
15925 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15927 * converter.C (Formats::view): only output the -paper option
15928 if the dvi viewer is xdvi, thereby fixing bug #233429.
15930 2001-08-23 Herbert Voss <voss@perce>
15932 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15934 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15936 * Spacing.h (Spacing): Set space to Default on in the default
15939 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15941 * vc-backend.h (RCS::versionString): add RCS to version
15942 (CVS::versionString): add CVS to version
15944 * vc-backend.C (scanMaster): do not add CVS to version.
15945 (scanMaster): do not add RCS to version
15947 * lyxvc.C (versionString): new method
15949 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15951 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15953 * Spacing.C (set): initialize fval
15955 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15957 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15960 2001-08-16 Juergen Vigna <jug@sad.it>
15962 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15964 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15966 * BufferView_pimpl.C:
15969 * text2.C: setParagraph takes linespacing now
15971 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15973 * LyxAction.C: add internal LFUN_CITATION_INSERT
15975 * LyXView.C: actually apply fix
15977 * bufferlist.C: fix open non-existent file
15979 * lyxfind.C: fix indentation
15981 * lyxfunc.C: remove unneeded assert, fix typo
15983 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15985 * MenuBackend.C: use "Floatname List"
15987 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15989 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15990 when converting LaTeX layout to insetERT.
15991 Generate a non-collapsed float when reading old float
15993 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15995 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15998 2001-08-13 Juergen Vigna <jug@sad.it>
16000 * text.C (fill): return 0 instead of 20 as this seems to be the more
16003 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
16005 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16008 2001-08-13 Juergen Vigna <jug@sad.it>
16010 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16012 (SearchBackward): comment out the unlocking of the inset_owner this
16013 should not be needed!
16015 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
16017 * Many files: Remove inherit_language, and add latex_language
16019 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16020 collapsible insets.
16022 2001-08-10 Juergen Vigna <jug@sad.it>
16024 * text.C (prepareToPrint): fixed hfill-width in draw!
16026 * BufferView2.C (selectLastWord): save the selection cursor as this
16027 now is cleared in the function LyXText::clearSelection!
16029 2001-08-08 Juergen Vigna <jug@sad.it>
16031 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16032 BACKSPACE type functions.
16034 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16035 is only cutted from the document but not put in the cut-buffer, where
16036 still the old stuff should be.
16038 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16040 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16042 * tabular.C (SetWidthOfCell): fixed special case where the width
16044 (LeftLine): handle '|' in align_special.
16046 (LeftAlreadyDrawed): ditto
16047 (SetWidthOfCell): ditto
16049 2001-08-07 Juergen Vigna <jug@sad.it>
16051 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16053 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16055 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16056 * lyxlex.[hC]: ditto
16058 2001-08-06 Juergen Vigna <jug@sad.it>
16060 * text.C (getVisibleRow): fix up row clearing a bit.
16062 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16064 * minibuffer.C: make sure the X server sees the changes in the input.
16066 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16068 * paragraph.C (getFont): split into...
16069 (getLabelFont): this
16070 (getLayoutFont): and this
16071 * paragraph_pimpl.C (realizeFont): calling this
16073 * text2.C (getFont): split into...
16074 (getLayoutFont): this
16075 (getLabelFont): and this
16076 (realizeFont): all three calling this
16078 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16081 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16083 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16085 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16087 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16088 layouts from the Quote inset insertion.
16090 2001-08-03 Juergen Vigna <jug@sad.it>
16092 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16094 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16095 only if status not is already CHANGED_IN_DRAW (second level).
16097 * text.C (draw): don't set the need_break_row when inside an
16100 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16102 * buffer.C (parseSingleLyXformat2Token): handle more latex
16105 * bufferview_funcs.[hC]: change function names to
16106 begin with small char, adjust other files.
16108 2001-08-02 André Pönitz <poenitz@gmx.net>
16111 BufferView_pimpl.C: remove broken special code for math-greek
16113 2001-08-02 Juergen Vigna <jug@sad.it>
16115 * BufferView_pimpl.C (update): redone this function so that we
16116 update the text again if there was a CHANGE_IN_DRAW.
16118 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16119 (drawFromTo): added a new internal bool which is used by draw() and
16121 (general): some cursor drawing problems fixed.
16123 2001-08-01 Juergen Vigna <jug@sad.it>
16125 * lyxfind.C (LyXFind): fixed
16126 (SearchForward): ditto
16127 (SearchBackward): ditto
16129 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16130 spurius drawing of the cursor in the main area.
16132 * text2.C (status): small fix which could lead to a segfault!
16133 (clearSelection): remove unneeded BufferView param.
16135 2001-08-01 André Pönitz <poenitz@gmx.net>
16137 * lyxfunc.C: small change due to changed mathed interface
16139 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16141 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16143 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16145 * lyxfunc.c: fail gracefully if file doesn't exist
16150 * BufferView_pimpl.C: IsDirWriteable() proto changed
16152 * LyXView.C: fix updateWindowTitle() to store the last title
16154 2001-07-31 Juergen Vigna <jug@sad.it>
16156 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16157 the font (wrong since using of Paragraph::highestFontInRange).
16159 * paragraph.C (highestFontInRange): added a default_size parameter.
16161 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16162 (setHeightOfRow): reformat
16164 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16166 * converter.[hC] + affected files: move to (inital-char)lowercase
16169 * ParagraphParameters.C (ParagraphParameters): remove commented code
16171 * PainterBase.[Ch]: remove commented code
16173 * LaTeXFeatures.h: add "bool floats" for float.sty
16175 * LaTeXFeatures.C (LaTeXFeatures): init floats
16176 (require): handle float
16177 (getPackages): do it with floats
16179 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16181 * BufferView_pimpl.C (Dispatch): improve handling of
16182 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16184 * commandtags.h: #include lyxfont.h here temporarily to avoid
16187 * bufferlist.h: include LString.h here.
16189 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16191 * text2.C (getStringToIndex): new method.
16193 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16195 * *: Reduced header file dependencies all over.
16197 2001-07-30 Baruch Even <baruch@lyx.org>
16199 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16201 2001-07-29 Baruch Even <baruch@lyx.org>
16203 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16205 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16207 * ParameterStruct.h (endif): add a default constructor to make
16208 sure that all variables is initialized.
16210 * ParagraphParameters.C (ParagraphParameters): adjust
16212 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16214 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16215 index; also, check that there is something to index, and that it
16216 does not span over several paragraphs.
16217 (doubleClick): use WHOLE_WORD_STRICT for double click.
16219 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16221 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16224 2001-07-26 Baruch Even <baruch@lyx.org>
16226 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16227 an InsetFig figure, backwards compatible reading of old figure code.
16229 2001-07-27 Juergen Vigna <jug@sad.it>
16231 * text2.C: font.realize function adaption.
16233 * text.C (draw): add a warnings lyxerr text if needed.
16235 * layout.C: font.realize function adaption.
16237 * language.C: add inherit_language and implement it's handlings
16239 * bufferview_funcs.C (StyleReset): remove language parameter from
16240 font creation (should be language_inherit now).
16242 * bufferparams.C (writeFile): handle ignore_language.
16244 * paragraph.C (getFontSettings): the language has to be resolved
16245 otherwise we have problems in LyXFont!
16247 * lyxfont.C (lyxWriteChanges): added document_language parameter
16248 (update): removed unneeded language parameter
16250 * paragraph.C (validate): fixed wrong output of color-package when
16251 using interface colors for certain fonts in certain environments,
16252 which should not seen as that on the final output.
16254 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16256 * BufferView_pimpl.C:
16261 * LyXAction.C: add thesaurus support
16264 * lyxfind.C: add "once" parameter, for thesaurus, to not
16265 move to the next match
16267 2001-07-26 Juergen Vigna <jug@sad.it>
16269 * lyxfont.C (realize): honor ignore_language too!
16272 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16274 * text.C (draw): one place more for ignore_language to not draw
16277 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16279 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16281 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16283 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16284 the minipage conversion problem.
16286 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16288 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16291 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16293 * BufferView.h: don't forward declare WorkArea
16295 * BufferView.C: don't include WorkArea.h
16297 2001-07-25 André Pönitz <poenitz@gmx.net>
16301 * lyxfunc.C: new LFUN 'math-space'
16303 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16305 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16307 * text2.C (toggleInset): call open/close
16309 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16311 * lyxfunc.C (dispatch): add debug for the disabled case
16313 * font.C (buttonText): make similar to rectText
16315 * buffer.C (readInset): comment out parsing of insetlist and
16318 * PainterBase.C (rectText): small correction
16320 * BufferView_pimpl.C: comment out insettheorem and insetlist
16321 * LyXAction.C: ditto
16322 * commandtags.h: ditto
16324 2001-07-24 Juergen Vigna <jug@sad.it>
16326 * text.C (draw): honor the ignore_language.
16328 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16330 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16332 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16335 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16337 * lyxtext.h: remove unused (and unimplemented) methods
16339 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16341 * text.C (getVisibleRow): honor background color
16344 * Painter.h: remove default color argument for fillRectangle
16346 * text.C (backgroundColor): new method
16348 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16350 * text.C (getVisibleRow): adjust
16352 * font.[Ch] (rectText): new method, metrics
16353 (buttonText): new method, metrics
16355 * PainterBase.[hC]: make rectText and buttonText always draw and take
16358 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16360 * ToolbarDefaults.C (read):
16361 * MenuBackend.C (read): allow escaping in all strings
16363 * BufferView_pimpl.C (insertAndEditInset): new method.
16364 (Dispatch): use insertAndEditInset whenever appropriate.
16366 * BufferView_pimpl.C (insertNote): removed
16368 * BufferView_pimpl.C (smartQuote): new method, moved from
16369 BufferView; if an insetquote cannot be inserted, insert a '"'
16372 * BufferView2.C: remove insertCorrectQuote();
16374 * lyxfunc.C (getStatus): Add support for all remaingin
16375 inset-insert lfuns.
16377 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16379 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16380 command (necessary to pass " as parameter of self-insert.
16382 * text.C (selectWordWhenUnderCursor):
16383 (selectWord): add word_location parameter
16384 (selectWordWhenUnderCursor): same + remove special code for word
16386 (selectNextWord): use kind() to guess type of insetspecialchar,
16389 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16390 (insertErtContents): create ert insets as collapsed.
16391 (readInset): better compatibility code for Info inset.
16393 2001-07-20 Juergen Vigna <jug@sad.it>
16395 * lyxfunc.C (dispatch): use always LyXFind now!
16397 * text2.C (init): add a reinit flag so that the LyXText can be
16398 reinited instead of deleted and reallocated (used in InsetText).
16400 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16406 2001-07-18 Juergen Vigna <jug@sad.it>
16408 * text.C (selectNextWord): handle insets inside inset by calling
16409 always the bv->text functions so that we can go up the_locking_inset!
16411 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16412 in strange locations when inside an inset!
16414 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16415 handling to include insets.
16417 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16419 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16421 * LyXAction.C (init):
16423 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16424 LIGATURE_BREAK, since the name is so stupid.
16426 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16428 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16431 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16433 * sp_form.[Ch]: remove.
16435 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16437 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16440 * src/buffer.C (readInset): ditto.
16442 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16444 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16445 menuSeparator(), endOfSentenceDot(), ldots() and
16446 hyphenationPoint(), which are therefore removed.
16447 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16449 * LyXAction.C (init):
16450 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16452 * paragraph.C (getWord): removed.
16454 * BufferView_pimpl.C (Dispatch): use last word or selection for
16455 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16457 * lyx_main.C (queryUserLyXDir): do not ask before creating
16458 user_dir, except if it has been named explicitely.
16460 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16462 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16463 a document of zero size.
16465 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16467 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16468 approriately in the c-tor and in require().
16469 (getPackages): output the appropriate LaTeX for natbib support.
16471 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16472 variables "use_natbib" and "use_numerical_citations" when reading the
16474 (readInset): read the various natbib cite commands.
16475 (validate): white-space change.
16477 * bufferparams.[Ch]: new variables "bool use_natbib" and
16478 "bool use_numerical_citations".
16479 (writeFile): output them in the LyX file.
16481 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16483 * lyxfunc.C (getStatus): add support for all the inset insertion
16486 * text2.C (insertInset):
16487 * paragraph.C (insetAllowed):
16488 * BufferView_pimpl.C (insertInset): update to take in account the
16489 renaming of insertInsetAllowed
16491 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16493 * text2.C (getInset): new method. returns inset at cursor position.
16495 * BufferView_pimpl.C (Dispatch): changes because of this.
16497 * LyXAction.C (init): rename open-stuff to inset-toggle.
16499 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16501 * text2.C (toggleInset): renamed from openStuff; use
16504 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16506 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16508 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16510 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16512 * buffer.C (readLyXformat2): Add filename to the error dialog
16514 2001-07-18 Juergen Vigna <jug@sad.it>
16516 * tabular.C (GetCellNumber): put an assert here instead of the check!
16518 2001-07-17 Juergen Vigna <jug@sad.it>
16520 * BufferView_pimpl.C (toggleSelection): adapted too.
16522 * text.C (selectNextWord): adapted for use with insets.
16523 (selectSelectedWord): ditto
16525 2001-07-17 Juergen Vigna <jug@sad.it>
16527 * sp_spell.C (PSpell): fix initialitation order.
16529 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16531 * paragraph.C: spacing
16533 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16535 * sp_spell.C: repair language selection for pspell
16537 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16539 * lyxfunc.h: change more methods to begin with lower char.
16541 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16543 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16544 for unknown layouts.
16546 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16548 * buffer.C (readLyXformat2): Generate an error dialog if there are
16551 2001-07-16 Juergen Vigna <jug@sad.it>
16553 * sp_spell.C: always compile ISpell part.
16555 * lyxrc.C: added use_pspell entry and it's handling.
16557 2001-07-13 Juergen Vigna <jug@sad.it>
16559 * sp_spell.C: removed double includes.
16561 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16563 Consistent use of Lsstream.h:
16564 * Lsstream.h: added using std::stringstream for consistencies sake.
16566 * buffer.C: removed using std::stringstream
16568 * lyxfont.C (stateText):
16569 * paragraph.C (asString):
16570 * text.C (selectNextWord, selectSelectedWord):
16571 * text2.C (setCounter):
16572 * vspace.C (asString, asLatexString):
16573 std::ostringstream -> ostringstream.
16575 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16577 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16578 * commandtags.h: add LFUN_HELP_ABOUTLYX
16579 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16581 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16583 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16585 * lyx_gui_misc.C: remove spellchecker
16586 * lyxfunc.C: showSpellchecker
16588 * sp_ispell.h: added
16589 * sp_pspell.h: added
16590 * sp_spell.C: added
16591 * sp_form.[Ch]: removed
16592 * spellchecker.[Ch]: removed
16594 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16596 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16598 (simpleTeXSpecialChars): Simply print the input character without
16599 any special translation if pass_thru is set.
16601 * layout.h: Added bool pass_thru to layout class for being able to
16602 implement pass through of a paragraph for Literate Programming.
16604 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16605 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16606 * layout.C (Read): add "passthru" to list of layout tags and add
16607 code to set the pass_thru boolean when it is read.
16609 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16611 * trans_decl.h: remove allowed from KmodInfo
16613 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16614 remove allowed code
16617 * paragraph_pimpl.C (erase): use boost::prior
16619 * Painter.C (text): use data() instead of c_str() when length is
16621 * WorkArea.C (putClipboard): ditto
16622 * font.h (width): ditto
16624 * BufferView2.C: use it-> instead of (*it). for iterators
16626 * paragraph_pimpl.C: ditto
16627 * paragraph.C: ditto
16628 * minibuffer.C: ditto
16629 * language.C: ditto
16631 * encoding.C: ditto
16632 * counters.C: ditto
16633 * converter.C: ditto
16635 * Variables.C: ditto
16636 * TextCache.C: ditto
16637 * MenuBackend.C: ditto
16638 * LyXAction.C: ditto
16640 * FloatList.C: ditto
16641 * DepTable.C: ditto
16642 * ColorHandler.C (LyXColorHandler): ditto
16644 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16646 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16648 * text2.C (openStuff): reintroduce this method (which had been
16649 nuked in NEW_INSETS frenzy).
16651 * lyxfunc.C (Dispatch): when an action has not been handled, use
16652 its name in the error message, not its number.
16654 * paragraph.C (inInset): change method name to begin with lowercase.
16657 * text2.C: updates because of this.
16659 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16661 * ToolbarDefaults.C (add): add spaces in error message
16663 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16665 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16666 (readLyXformat2): rename return_par to first_par, use lyxlex's
16667 pushToken and remove the manual push handling.
16668 (parseSingleLyXformat2Token): add another ert comp. variable:
16669 in_tabular, rename return_par to first_par. handle newlines better
16671 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16673 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16675 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16677 * text2.C (getParFromID): removed
16679 * buffer.C (getParFromID): new method moved form lyxtext.
16680 * BufferView2.C (insertErrors): adjust
16681 (setCursorFromRow): adjust
16682 * BufferView_pimpl.C (restorePosition): adjust
16683 * lyxfunc.C (Dispatch): adjust
16684 * undo_funcs.C (textUndo): adjust
16686 (textHandleUndo): adjust
16687 (textHandleUndo): adjust
16689 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16691 * buffer.C: up' the LYX_FORMAT
16693 * lyxfont.h: turn NO_LATEX on as default
16695 * buffer.C (insertErtContents): new methods of tex style compability.
16696 (parseSingleLyXformat2Token): use it several places.
16697 * tabular.C (OldFormatRead): and here
16699 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16701 * text2.C: remove some commented code.
16704 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16705 * trans.C: changes because of the above.
16707 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16709 * text2.C (setCounter): Fix counters bug with bibliography layout.
16711 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16713 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16714 own member functions
16715 (simpleTeXSpecialChars): ditto
16717 2001-07-06 Juergen Vigna <jug@sad.it>
16719 * a lot of files: changed the access to LyXText::status and the
16720 call of undo-functions.
16722 * undo.[Ch]: added a inset_id to the undo informations.
16724 * undo_funcs.[Ch]: added and moved here all undo functions.
16726 * lyxtext.h: give the status enum a weight, made status_ a private
16727 variable and made accessor functions for it, removed the whole bunch
16728 of undo-functions as they are now in their own file, make some
16729 functions publically available. Added function ownerParagraph with
16732 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16733 made InInset() a const function, added getParFromID() function.
16735 * buffer.[Ch]: added const version for inset_iterator functions,
16736 added getInsetFromID() function.
16738 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16739 changed undo functions for new version.
16741 2001-07-05 Juergen Vigna <jug@sad.it>
16743 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16744 unknow mechanism does not call the proper constructor but only this
16745 one also if I request the other!?
16747 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16749 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16751 * text2.C (LyXText): use initialization lists.
16753 * lyxtext.h (Selection): initialize set_ and mark_
16754 (init): remove method
16756 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16758 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16760 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16762 * screen.[Ch]: change method names to begin with lowercase
16764 * BufferView_pimpl.C (updateScrollbar): simplify further and
16765 hopefully make it a bit faster.
16767 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16769 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16770 calling directly xforms functions.
16772 * Painter.C (Painter):
16773 * lyx_cb.C (MenuWrite):
16774 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16777 * lyx_gui.C: remove bogus guiruntime extern declaration.
16779 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16781 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16783 (redoDrawingOfParagraph): ditto
16784 (redoParagraphs): ditto
16785 (cutSelection): don't create a object for CutAndPaste use the
16786 static method directly
16787 (pasteSelection): ditto
16789 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16792 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16794 * modifications to some other files because of this.
16796 * Makefile.am (lyx_SOURCES): add XFormsView
16798 * XFormsView.[Ch]: new files
16800 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16801 the main window. Move the gui dependent stuff to XFormsView
16803 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16805 * tabular.C (GetCellInset): update cur_cell also in the row/col
16806 version of this function.
16808 * lyxfunc.C: no need to include figure_form.h here.
16814 * lyxvc.C: no need to include forms.h here.
16816 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16818 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16820 * lyxfunc.C (Dispatch):
16822 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16823 constructor argument.
16825 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16827 * paragraph.C (Paragraph): dont't clear, and just set layout.
16828 (makeSameLayout): use params's copy contructor.
16830 * ParagraphParameters.[Ch] (makeSame): delete method
16832 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16834 * Variables.[Ch]: fix indentation, rename set to isSet
16836 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16838 * lyxfunc.C (Dispatch): fix typo
16840 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16842 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16845 * bufferlist.C: include assert.h for emergencyWrite().
16847 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16849 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16850 give up at last (bug #425202) !
16852 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16858 * spellchecker.C: strip spellchecker options and bring up
16859 preferences tab instead
16861 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16863 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16864 the istringstream constructor
16866 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16868 * paragraph.C (getLayout): fix return value
16870 * paragraph.h: do not declare getLayout as inline.
16872 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16874 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16876 * lyxcursor.h (operator<): new func
16877 (operator>): new func
16878 (operator>=): new func
16879 (operator<=): new func
16881 * text.C (changeCase): use selection.start and selection.end
16882 (changeRegionCase): require from to be <= to. Require par to be a
16885 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16887 2001-06-27 Juergen Vigna <jug@sad.it>
16889 * text.C (cursorLeftOneWord): changed to return the cursor and added
16890 overlay with BufferView * parameter which calls this one.
16892 (selectWord): use new getWord function.
16893 (changeCase): renamed from changeWordCase as and extended to work
16894 also on selections.
16896 * lyxtext.h: added enum word_location
16898 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16899 changeCase as this operates now also on selections.
16901 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16903 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16905 * many files: send debug output to Debug::INFO instead of
16908 * converter.C (View):
16910 (Move): send debug output to Debug::FILES instead of console.
16912 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16914 * lyxfunc.C (getStatus): use func_status
16916 * func_status.h: new header, describing the results of
16917 LyXFunc::getStatus;
16919 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16922 2001-06-25 The LyX Project <jug@sad.it>
16924 * buffer.C (sgmlOpenTag):
16926 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16928 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16930 * text2.C: remove some dead code
16932 * tabular.C (GetCellInset): store the last cell checked (gotten)
16934 * tabular.h: add the helper for the speedup
16936 * lyxtext.h: remove some dead code
16938 2001-06-26 The LyX Project <Asger>
16940 * paragraph.C: Change export to LaTeX of alignment to
16941 \begin{center} and family for better roundtrip work with reLyX.
16943 * Tune the math drawing a bit.
16945 2001-06-25 The LyX Project <Asger>
16947 * LColor.C (LColor): New color for math background. New color
16950 2001-06-25 The LyX Project <jug@sad.it>
16952 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16954 * lyxfunc.C (Open):
16955 * bufferlist.C (newFile): do not restrict to files ending with
16958 * BufferView_pimpl.C (MenuInsertLyXFile):
16960 2001-06-24 The LyX Project <jug@sad.it>
16962 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16965 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16967 * lyxtext.h: rename most methods to begin with a small char.
16968 Lots of changes because of this.
16970 * paragraph.C (Paragraph): do not call fitToSize
16971 (erase): call Pimpl::erase
16972 (insertChar): call Pimpl::insertChar
16973 (insertInset): call Pipl::insertInset
16974 (breakParagraph): do not call fitToSize
16975 (breakParagraphConservative): do not call fitToSize
16976 (fitToSize): remove method
16978 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16980 2001-06-24 The LyX Project <Asger>
16982 * Fix Qt compilation^2
16984 2001-06-24 The LyX Project <jug@sad.it>
16986 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16987 depthHook(getDepth()-1).
16990 * ParagraphParameters.h:
16991 * ParameterStruct.h: change type of depth to unsigned int ==
16992 depth_type. Many adaptations to other files before of that.
16994 2001-06-24 The LyX Project <Asger>
16996 * Fix Qt compilation.
16998 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17000 * paragraph.h: renamed several methods to begin with small letter.
17001 several changes to many parts of the code because of this.
17003 2001-06-23 The LyX Project <jug@sad.it>
17005 * text2.C (InsertStringAsLines): renamed from InsertStringA;
17006 rewritten to discard all double spaces when KeepEmpty is off
17007 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17008 to only handle newlines but not fiddle with spaces and friends.
17010 * lyxfunc.C (MenuNew): when doing 'new from template', use
17011 template_path as default directory
17013 2001-06-23 The LyX Project <Asger>
17015 * Clean-up of header file includes all over
17016 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17018 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17020 * paragraph.h: renamed from lyxparagraph.h
17022 2001-06-23 Asger <lyx@violet.home.sad.it>
17024 * Buffer.h: Removed Buffer::resize
17025 * BufferList.h: Removed BufferList::resize
17026 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17027 the document lazily when we change the width, or the font settings.
17029 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17031 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17033 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17035 * buffer.h: remove out of date comment
17037 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17040 * screen.C: fix "theoretical" GC leak
17042 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17044 * LaTeX.C (scanAuxFile):
17045 (deplog): remove trailing \r when reading stream (useful under
17048 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17050 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17051 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17052 and BufferView::theLockingInset(Inset*), so should use them and not
17053 access bv_->text->the_locking_inset directly.
17055 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17057 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17060 * tex-defs.h: remove old unused file
17062 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17064 * BufferView_pimpl.C: fix typo, remove minibuffer message
17065 when buffer has loaded
17067 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17069 * lyxfunc.C (Dispatch): use stringstream
17070 (MenuNew): use stringstream
17071 (Open): use stringstream
17073 * importer.C (Import): use stringstream
17075 * bufferview_funcs.C (CurrentState): use stringstream
17077 * LaTeX.C (run): use stringstream
17079 * BufferView_pimpl.C (savePosition): use stringstream
17080 (restorePosition): use stringstream
17081 (MenuInsertLyXFile): use stringstream
17083 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17096 * vspace.C: removed // -*- C++ -*- as first line.
17099 * version.h: added // -*- C++ -*- as first line.
17101 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17103 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17105 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17108 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17110 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17113 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17115 * gettext.C: include LString.h even when --disable-nls is on.
17117 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17119 * converter.h (Get): changed argument type from int to
17120 FormatList::size_type to avoid unnecessary conversion.
17122 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17125 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17127 * gettext.h: include LString.h even when --disable-nls is on.
17129 2001-06-07 Juergen Vigna <jug@sad.it>
17131 * text.C (BreakAgain): subst spaces with tabs.
17133 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17134 (resizeInsetsLyXText): set force on resizeLyXText.
17136 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17138 * gettext.h (gettext_init):
17139 (locale_init): use a real definition instead of a macro
17141 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17143 * Bufferview_pimpl.C:
17145 * LColor.C: further lcolor tidies
17147 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17149 * BufferView_pimpl.C (updateScrollbar): simplify.
17151 * BufferView2.C: don't include insets/insetinfo.h, change
17152 prototype for insertInset and call the Pimpl version. let
17153 updateInset call Pimpl version.
17155 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17156 gotoInset to BufferView::Pimpl
17158 2001-06-01 Juergen Vigna <jug@sad.it>
17160 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17161 inside a LockingInset (is the update needed at all?).
17163 2001-05-31 Juergen Vigna <jug@sad.it>
17165 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17166 here not the old one otherwise how should we compare it afterwards
17169 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17174 * FontInfo.C: bring C functions into global namespace when
17177 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17179 * LString.h: make sure config.h has been loaded before LString.h.
17181 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17182 (one for each char read by EatLine!).
17184 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17187 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17189 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17190 to the same as the par we break from
17192 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17194 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17196 * MenuBackend.C (expand): also create menu entries for wide
17197 versions of the floats.
17199 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17201 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17203 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17204 frontends/Makefile.am
17210 * tabular.C (getTokenValue): add std::
17212 * tabular-old.C (getTokenValue): add std::
17213 (getTokenValue): ditto
17214 (getTokenValue): ditto
17216 * screen.C (ToggleSelection): adjust
17218 * lyxtext.h: put selection cursors inside a Selection struct.
17220 * lyxfunc.C (moveCursorUpdate): adjust
17222 * lyxfont.C (latexWriteStartChanges): add std::
17224 * lyxfind.C: adjust
17226 * font.h: delete with(char const *, LyXFont const &)
17228 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17230 * FontInfo.C (getFontname): add std::
17232 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17233 (workAreaButtonPress): adjust
17234 (tripleClick): adjust
17236 (moveCursorUpdate): adjust
17239 * BufferView2.C (gotoInset): adjust
17241 2001-05-30 Juergen Vigna <jug@sad.it>
17243 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17244 to check pspell I add this as default as I now have new pspell
17245 libraries and they seem to use this.
17247 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17249 * text2.C (CutSelection): make the cursor valid before the call to
17252 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17254 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17255 relied on 0 terminated strings and other horrors. Bug found due to
17256 the new assert in lyxstring!
17258 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17261 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17263 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17266 * lyxfunc.C (processKeySym): change method of getting to the
17269 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17270 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17271 * BufferView_pimpl.[Ch]: here as private methods.
17273 2001-05-28 Juergen Vigna <jug@sad.it>
17275 * text.C (SetHeightOfRow): added the update() call again as it is
17276 needed to initialize inset dimensions!
17278 2001-05-16 Juergen Vigna <jug@sad.it>
17280 * text2.C (SetCharFont): Add new function with BufferView * and
17281 bool toggleall parameters for setting insets internal fonts.
17282 (SetFont): Freeze the undo as we may change fonts in Insets and
17283 all this change should be inside only one Undo!
17285 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17286 setting font's in insets as for them we have the SetFont function!
17288 2001-05-15 Juergen Vigna <jug@sad.it>
17290 * text2.C (ClearSelection): to be sure we REALLY don't have any
17293 * tabular.C (TeXCellPreamble): fixed the left border problem for
17296 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17298 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17301 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17303 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17304 LFUN_BREAKPARAGRAPH.
17306 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17307 help test to "internal only", similar for LFUN_INSERT_URL
17309 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17310 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17311 auto_region_delete and deadkeys.
17313 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17316 * LColor.C: remove some dead entries, tidy a little
17318 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17320 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17322 (Dispatch): implement LFUN_ESCAPE
17324 * commandtags.h: add LFUN_ESCAPE
17326 * LyXAction.C (init): add entry for LFUN_ESCAPE
17328 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17329 Remove commented code.
17330 (insertNote): moved here
17331 (open_new_inset): moved here
17333 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17336 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17338 * kbmap.C (findbinding): clean it up and make it work correctly.
17340 * lyx_main.C (init): do not pass argc and argv as parameters
17342 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17344 * buffer.C: fix path for OS/2 & Win32
17348 * lyx_main.C: Added os:: class.
17350 * os2_defines.h: update
17352 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17354 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17355 better by trying again with reduced state.
17357 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17359 * lyxrc.C (read): print error about invalid key sequence only when
17360 debugging (because not all latinX keysyms are known to some X
17363 * kbsequence.C (getiso): add a few std:: qualifiers
17364 (getiso): comment out extra return statement.
17366 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17368 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17370 (Dispatch): enhance the accent inset a bit. (not perfect)
17372 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17374 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17376 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17378 * bufferlist.C (emergencyWrite): fix assert() call
17380 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17382 * text.C (InsertChar): Added trivial patch to only send the "you
17383 can not do multiple spaces this way" message once during a
17386 2001-05-08 Baruch Even <baruch@lyx.org>
17388 * Makefile.am: Changed order of libraries to get LyX to link properly
17389 with the gnome frontend.
17391 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17393 * LaTeXFeatures.h: add a std:: qualifier
17395 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17397 * paragraph.C (String): use stringstream
17399 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17401 * paragraph.C (writeFile): remove footflag arg
17403 * buffer.C (makeLaTeXFile): use stringstream
17404 (latexParagraphs): remove footnot gurba
17406 * LaTeXFeatures.C (getPackages): use stringstream
17407 (getMacros): likewise
17408 (getTClassPreamble): likewise
17409 (getFloatDefinitions): new method
17411 * paragraph.C (writeFile): reindent
17414 * WorkArea.h: revert the xpos + etc changes.
17416 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17418 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17420 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17421 (pasteSelection): likewise
17422 * text2.C (CreateUndo): likewise
17424 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17426 * minibuffer.C (peek_event): temporarily reduce the functionality
17427 of the minibuffer (to allow args on lfuns)
17429 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17430 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17432 * buffer.C (readInset): add compability reading of old float
17433 lists, add reading of new style float list.
17434 (readInset): avoid reevaluation of inscmd.getCmdName()
17435 (getLists): reindent
17437 * MenuBackend.C (MenuItem): implement parsing of
17438 md_floatlistinsert and md_floatinsert.
17439 (expand::LastFiles): move initalizaton of iterators out of loop,
17440 avoid reevaluation.
17441 (expand::Documents): introduce typdedef vector<string> Strings,
17443 (expand::ExportFormats): introduce typedef vector<Format const *>
17444 Formats, and use it.
17445 (expand): implement FloatListInsert and FloatInsert.
17447 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17448 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17449 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17451 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17453 (Dispatch::LFUN_FLOAT_LIST): implement
17455 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17457 * LaTeX.C (run): Fix problem with --export code.
17459 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17461 * BufferView.[Ch] (workarea): removed.
17462 (getClipboard) new method; wrapper for workarea()->getClipboard()
17464 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17467 * WorkArea.h (width, height, xpos, ypos): These methods all
17468 returned the dimensions of the work_area sub-area of WorkArea,
17469 resulting in a position error if the WorkArea were resized. Now
17470 return the dimensions of the entire WorkArea.
17472 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17474 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17476 * LaTeX.C (deplog): correct the syntax of regex reg1
17478 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17480 * undo.C: remove !NEW_INSETS cruft
17482 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17484 * text2.C: remove !NEW_INSETS cruft
17486 * text.C: remove !NEW_INSETS cruft
17488 * tabular.C: remove !NEW_INSETS cruft
17490 * spellchecker.C: remove !NEW_INSETS cruft
17492 * lyxtext.h: remove !NEW_INSETS cruft
17494 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17496 * lyxfunc.C: remove !NEW_INSETS cruft
17498 * lyxfind.C: remove !NEW_INSETS cruft
17500 * lyx_cb.C: remove !NEW_INSETS cruft
17502 * figureForm.C: remove !NEW_INSETS cruft
17504 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17506 * buffer.[Ch]: remove !NEW_INSETS cruft
17508 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17510 * CutAndPaste.C: remove !NEW_INSETS cruft
17512 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17514 * BufferView2.C: remove !NEW_INSETS cruft
17516 * BufferView.h: remove !NEW_INSETS cruft
17518 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17520 * Lsstream.h: include LString.h before the sstream headers to
17521 fix problem with gcc 2.95.3 and lyxstring
17523 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17525 * lyx_main.C: add using directives when needed for C functions
17526 declared in std:: namespace.
17528 2001-04-27 Juergen Vigna <jug@sad.it>
17530 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17531 (SetHeightOfRow): comment out the update call should not be needed!
17533 2001-04-13 Juergen Vigna <jug@sad.it>
17535 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17536 (LyXTabular): tried to minimize operator= operations (and realized
17537 hopfully Lars wish).
17539 2001-04-27 Juergen Vigna <jug@sad.it>
17541 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17543 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17545 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17547 * buffer.C (readInset): hack to make listof algorithm work
17549 * BufferView_pimpl.C: hack to make listof algorithm work
17551 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17553 * LyXAction.C: removed all !NEW_INSETS cruft
17554 (init): moved lfun_item in method
17556 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17558 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17560 * BufferView2.C (theLockingInset): white space.
17562 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17564 * minibuffer.C: include <iostream>
17566 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17568 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17570 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17572 * text.[Ch] (TransposeChars): new method
17574 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17576 * call message directly through LyXView instead of through LyXFunc
17577 * BufferView2.C: adjust
17578 * BufferView_pimpl.C: adjust
17579 * FontLoader.C: adjust
17581 * bufferview_funcs.C: adjust
17582 * converter.C: adjust
17583 * figureForm.C: adjust
17584 * importer.C: adjust
17586 * lyx_gui_misc.C: adjust
17587 * lyxfunc.C: adjust
17590 + more files in subdirs
17592 * lyxparagraph.h (size): move up int file
17595 * adjust all uses of Assert to lyx::Assert.
17597 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17598 lyxfunctional in namespace lyx
17599 * layout.C (hasLayout): ditto
17602 (delete_layout): ditto
17603 (NumberOfClass): ditto
17604 * converter.C (GetFormat): ditto
17609 * bufferlist.C (getFileNames): ditto
17610 (emergencyWriteAll): ditto
17613 * MenuBackend.C (hasSubmenu): ditto
17616 * BufferView_pimpl.C (getInsetByCode): ditto
17618 2001-04-18 Juergen Vigna <jug@sad.it>
17620 * vspace.C (asLatexString): fixed the 100% problem.
17622 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17624 * lyxfunc.C (Dispatch):
17626 * minibuffer.h: add a few std:: qualifiers
17628 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17630 * minibuffer.[Ch]: reimplement so that commands is initiated and
17631 run from lyxfunc, simplified som handling, and made the completion
17632 and history code for complete. wip.
17634 * lyxfunc.C (processKeySym): call message
17635 (miniDispatch): new temporary method
17636 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17637 (LFUN_MESSAGE): implement
17638 (LFUN_MESSAGE_PUSH): implement
17639 (LFUN_MESSAGE_POP): implement
17640 (initMiniBuffer): the initial/defualt minibuffer message.
17642 * lyxfont.[Ch]: inline some more getters
17644 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17646 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17648 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17649 (AutoSave): use LFUN_MESSAGE
17650 (Reconfigure): ditto
17652 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17654 * figureForm.C: use LFUN_MESSAGE
17656 * converter.C (runLaTeX): use LFUN_MESSAGE
17658 * bufferview_funcs.C: use LFUN_MESSAGE
17660 (changeDepth): ditto
17662 * bufferparams.h: use boost::
17664 * bufferlist.h: inherit privately from noncopyable
17666 * bufferlist.C (loadLyXFile): remove some commented code.
17668 * buffer.C (runChktex): use LFUN_MESSAGE
17670 * ShareContainer.h: inherit privately from noncopyable
17672 * ParagraphParameters.[hC] (depth): inline it.
17674 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17676 (message): new method
17677 (messagePush): ditto
17678 (messagePop): ditto
17679 (show): init minibuffer
17680 (showState): direct call
17682 * LaTeX.[Ch]: inherit privately from noncopyable
17683 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17684 instead of WriteStatus.
17686 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17688 * BufferView_pimpl.C (buffer): don't init minibuffer
17689 (workAreaButtonPress): use LFUN_MESSAGE
17690 (workAreaButtonRelease): ditto
17691 (savePosition): ditto
17692 (restorePosition): ditto
17693 (MenuInsertLyXFile): ditto
17694 (workAreaExpose): don't init minibuffer
17695 (update): remove commented code, simplify
17697 * BufferView2.C (openStuff): use LFUN_MESSAGE
17698 (toggleFloat): ditto
17701 (copyEnvironment): ditto
17702 (pasteEnvironment): ditto
17707 (updateInset): remove some commented code
17709 * lastfiles.h: inherit privately from noncopyable
17712 * lyx_main.h: ditto
17714 * lyxlex_pimpl.h: ditto
17716 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17717 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17718 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17720 * LyXAction.h: inherit privately from noncopyable, add methods
17721 func_begin, func_end, returning iterators to the func map.
17723 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17724 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17725 (func_begin): new method
17726 (func_end): new method
17728 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17730 (copySelection): ditto
17731 (pasteSelection): ditto
17733 * BufferView.C: whitespace change
17734 * BufferView.h: inherit privately from noncopyable
17736 2001-04-16 Allan Rae <rae@lyx.org>
17738 * tabular-old.C (l_getline):
17739 * spellchecker.C (sc_check_word):
17740 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17741 an unrecognised preprocessor directive. So ensure they're wrapped.
17743 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17745 * src/exporter.C (Export): Give an error message when path to file
17748 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17750 * LaTeX.C (deplog): Always check that foundfile exists.
17752 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17755 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17757 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17759 * tabular.[Ch] (getLabelList): implement new method
17761 * minibuffer.h: comment ouf setTiimer
17763 * minibuffer.C (ExecutingCB): constify res
17764 (peek_event): constify s
17765 (Set): constify ntext
17766 (Init): constify nicename
17768 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17770 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17771 (savePosition): use two params to Minibuffer::Set
17772 (restorePosition): ditto
17774 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17776 * lyx_main.C: include language.h
17778 * Makefile.am (lyx_main.o): add language.h
17780 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17786 * CutAndPaste.C: include gettext.h
17788 * lyxfont.h: remove old hack with ON and OFF.
17791 * lyxfont.h: do not include language.h...
17796 * bufferview_funcs.C:
17802 * paragraph.C: ... but do it here instead
17804 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17806 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17808 * tabular.C: small reformat
17810 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17813 (BreakParagraph): ditto
17814 (SetOnlyLayout): ditto
17817 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17820 * lastfiles.C: removed most using decl, add std:: where needed
17822 * buffer.C: ws changes
17824 * MenuBackend.C (class compare_format): put into anon namespace
17825 (expand): constify label, names, action, action2
17828 * text.C (SingleWidth): constify font
17829 (IsBoundary): constify rtl2
17830 (GetVisibleRow): constify ww
17832 * LaTeX.C (deplog): constify logfile
17834 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17836 (workAreaExpose): constify widthChange, heightChange
17838 * lyxrow.C (par): moved
17841 * lyxrow.h: as inlines here
17843 * lyxfont.h (shape): moved from lyxfont.C
17844 (emph): moved from lyxfont.C
17846 * lyxfont.C (LyXFont): use initialization list for all
17848 (shape): move to lyxfont.h as inline
17849 (emph): move to lyxfont.h as inline
17852 2001-04-04 Juergen Vigna <jug@sad.it>
17854 * vspace.C: had to include stdio.h for use of sscanf
17856 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17859 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17860 independent of xforms.
17862 2001-04-02 Juergen Vigna <jug@sad.it>
17864 * spellchecker.C: fixed namespace placing!
17866 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17868 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17869 the LyXParagraph * is 0.
17871 2001-03-29 Juergen Vigna <jug@sad.it>
17873 * vspace.C: added support for %, c%, p%, l%.
17874 (stringFromUnit): added helper function.
17875 (asLatexString): changed to give right results for the %-values.
17877 * buffer.C: convert the widthp in a width%.
17879 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17881 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17884 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17885 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17887 * lyx_cb.[Ch]: see above.
17889 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17893 * lyx.[Ch]: replaced by figure_form.[Ch].
17897 * lyxfunc.C: changed headers associated with above changes.
17899 2001-03-27 Juergen Vigna <jug@sad.it>
17901 * BufferView_pimpl.C: set the temporary cursor right!
17903 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17905 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17907 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17909 * LString.h: removed "using std::getline"!
17911 * BufferView_pimpl.C (Dispatch): changes due to changes in
17912 InsetInclude::Params.
17914 * buffer.C (tag_name): removed redundant break statements as they were
17915 producing lots of warnings with my compiler.
17917 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17919 * LString.h: add "using std::getline" when using the real <string>.
17921 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17923 * buffer.C: removed bitset usage.
17924 PAR_TAG moved to an anonymous name space.
17925 (tag_name): new funtion, also in the anonymous namespace.
17926 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17927 (makeDocBookFile): clean code. Completed transition from string arrays
17929 (SimpleDocBookOnePar): code clean.
17931 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17933 * tabular.C: add some comments.
17935 2001-03-22 Juergen Vigna <jug@sad.it>
17937 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17938 compatibility read a bit and fixed bug with minipage in different
17941 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17943 * buffer.C (pop_tag): removed.
17944 (push_tag): removed.
17945 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17946 array replaced with vector. Added support for CDATA sections.
17947 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17949 (makeDocBookFile): XML conformant declaration of CDATA section,
17950 fixed bug related to <emphasis> in the first paragraph char.
17951 (sgmlOpenTag): exclude empty tags.
17952 (sgmlCloseTag): ditto.
17954 * buffer.h (pop_tag): removed.
17955 (push_tag): removed.
17957 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17959 * language.h (Languages): added size_type and size().
17961 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17963 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17964 response on compability reading of minipages. One probliem is that
17965 the old usage of minipages was flertydig
17967 * several files here and in subdirs: don't use static at file
17968 scope use anon namespaces instead.
17970 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17972 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17973 LaTeX output. This is necessary for Literate document
17976 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17978 * buffer.C: insert hfill when needed.
17980 * tabular.C (l_getline): use string::erase, small whitespace change.
17982 * BufferView_pimpl.C: try the anon namespace.
17983 * WorkArea.C: ditto
17985 2001-03-16 Juergen Vigna <jug@sad.it>
17987 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17988 otherwise it won't open options-dialogs.
17990 * buffer.C: honor pextraWidth(p) on converting minipages.
17992 * tabular.C (l_getline): changed the functions to strip trailing \r.
17994 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17996 * BufferView_pimpl.C:
17997 * minibuffer..C: added "using SigC::slot" declaration.
17999 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18001 * lyxlex_pimpl.h: noncopyable is in namespace boost.
18007 * paragraph.C: ditto
18009 * lyxtext.h: NO_PEXTRA
18011 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18013 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18014 * ParameterStruct.h: ditto
18015 * ParagraphParameters.h: ditto
18016 * lyxparagraph.h: ditto
18018 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18020 * buffer.C: add compability for minipage alignment.
18021 (latexParagraphs): remove unwanted pextra check.
18023 * several files: remove CXX_WORKING_NAMESPACES
18025 * buffer.C (pop_tag): tie is in namespace boost
18027 * BufferView.h: noncopyable is in namespace boost
18029 * lyx_main.h: ditto
18032 * lastfiles.h: ditto
18033 * bufferlist.h: ditto
18034 * ShareContainer.h: ditto
18036 * LyXAction.h: ditto
18039 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18041 * Merging changes from BRANCH_MVC back into HEAD.
18043 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18045 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18047 * BufferView_pimpl.C: change from intl.C
18051 * Makefile.am: move combox.*
18057 * intl.C: remove dialog (covered by prefs)
18059 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18061 * lyxfunc.C (Dispatch): removed redundant break statement.
18063 2001-03-14 Juergen Vigna <jug@sad.it>
18065 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18067 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18069 * buffer.C: add hack to fix compability reading of minipages.
18071 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18073 * buffer.C (getLists): Cleanup.
18075 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18077 * lyxfont.C (update): don't honor toggleall on font size.
18079 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18083 * Makefile.am: moved to frontends/xforms/
18087 * BufferView_pimpl.C: changes for moved mathpanel
18089 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18091 * gettext.h: fix gettext_init() in --disable-nls
18093 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18095 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18097 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18100 * lyx.h: strip external form
18102 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18104 * BufferView_pimpl.C: add comment, destroySplash()
18106 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18108 * BufferView_pimpl.C:
18112 * lyxfunc.C: use re-worked insetinclude
18114 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18116 * buffer.C: add using std::stringstream.
18118 * lyx_cb.C: readd using std::ios.
18120 * buffer.C: add using std::map.
18122 * BufferView_pimpl.C: add using std::vector.
18124 * ShareContainer.h: add std:: to swap.
18126 * buffer.h: add some typedefs
18127 * buffer.C (getLists): use them
18128 (getLists): renamed from getTocList.
18129 add a counter for the different float types and use it in the
18131 (getLists): use the same counter for the NEW_INSETS and the "non"
18134 * lyx_cb.h: remove unused items, includes, using etc.
18136 * ShareContainer.h: remove some commented code, add more comments
18137 and "documentation".
18139 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18141 * buffer.C (getTocList): make the list also when NEW_INSETS is
18144 * buffer.h: remove TocType
18146 * buffer.C (getTocList): change to return a map<string,
18147 vector<TocItem> >, implement for dynamic number of list.
18149 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18150 * text2.C (PasteSelection): adjust
18151 * CutAndPaste.C (pasteSelection): adjust
18153 * FloatList.C (FloatList): update from the new_insets branch.
18154 * Floating.[Ch]: ditto
18155 * LaTeXFeatures.C: ditto
18157 * lyxlex_pimpl.C: ditto
18159 * paragraph.C (Last): remove when NEW_INSETS is defined.
18161 * other file: changes because of the above.
18163 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18165 * lyxparagraph.h: rename next to next_, previous to previous_,
18166 make them private for NEW_INSETS. Rename Next() to next(),
18167 Previous() to previous().
18169 * other files: changes because of the above.
18171 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18174 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18177 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18179 * main.C (main): pass lyx_localedir to gettext_init().
18181 * gettext.h: remove locale_init and gettext_init macros
18183 * gettext.C (locale_init): new function
18184 (gettext_init): new function
18186 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18189 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18191 * Moved credits to frontends:
18192 * credits.[Ch]: removed
18193 * credits_form.[Ch]: removed
18194 * lyx_gui_misc.C: remove credits stuff
18197 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18199 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18201 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18202 unneeded destructor.
18204 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18205 a standalone pointer again.
18207 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18209 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18215 * ToolbarDefaults.C:
18224 * BufferView_pimpl.C: use new file dialog in GUII
18227 * lyx_cb.C: remove LayoutsCB to Toolbar
18229 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18231 * ShareContainer.h (get): add std:: qualifier
18233 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18235 * ShareContainer.h: define a proper ShareContainer::value_type
18236 type (and use typename to please compaq cxx)
18238 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18240 * lyxparagraph.h: move serveral local vars to
18241 ParameterStruct/ParagraphParameters., use ShareContainer in
18242 FontTable., make vars in FontTable private and add getter and
18245 * paragraph.C: changes because of the above.
18247 * lyxfont.h: remove copy constructor and copy assignment. (the
18248 default ones is ok), move number inside FontBits. move inlines to
18251 * lyxfont.C: add number to initializaton of statics, move several
18252 inlines here. constify several local vars. some whitespace
18253 cleanup. Dont hide outerscope variables.
18255 * Spacing.h: add two new constructors to match the set methods.
18257 * ShareContainer.h: new file, will perhaps be moved to support
18259 * ParameterStruct.h: new file
18261 * ParagraphParameters.h: new file
18263 * ParagraphParameters.C: new file
18265 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18266 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18268 * BufferView_pimpl.C: ParagraphParameter changes.
18269 * buffer.C: Likewise.
18270 * bufferview_funcs.C: Likewise.
18271 * text.C: Likewise.
18272 * text2.C: Likewise.
18274 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18276 * lyxfind.C (LyXReplace): do not redefine default argument in
18278 (IsStringInText): ditto
18279 (SearchForward): ditto
18280 (SearchBackward): ditto
18282 2001-03-06 Juergen Vigna <jug@sad.it>
18284 * lyxfind.C (IsStringInText): put parentes around expressions.
18286 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18288 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18290 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18292 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18294 * stl_string_fwd.h: add comment
18296 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18299 * tabular.C: remove unused DocBook methods
18305 killed DO_USE_DEFAULT_LANGUAGE
18307 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18309 * lyx_gui.C: do not include language.h.
18311 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18312 arguments in function implementation.
18314 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18316 * BufferView_pimpl.C: add <ctime>
18318 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18320 * BufferView_pimpl.C: add using std::find_if
18322 2001-02-27 José Matos <jamatos@fep.up.pt>
18324 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18327 2001-02-11 José Matos <jamatos@fep.up.pt>
18329 * buffer.C (makeDocBookFile): command styles now have a parameter as
18330 "title" by default.
18332 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18334 * layout_forms.[Ch]: removed
18335 * lyx_cb.[Ch]: out character
18336 * lyx_gui.C: out character
18337 * lyx_gui_misc.C: out character
18338 * bufferview_funcs.C: : out character,
18339 added toggleall as parameter in ToggleAndShow
18341 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18343 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18345 * text2.C (SetCurrentFont): Disable number property at boundary.
18347 2001-02-26 Juergen Vigna <jug@sad.it>
18349 * lyxfunc.C (getStatus): added a string argument override function so
18350 that this is correctly called from LyXFunc::Dispatch if it contains a
18351 do_not_use_argument which is used!
18352 (Dispatch): added check for "custom" export and call appropriate func.
18354 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18356 * lyxrc.C: Add language_command_local, language_use_babel and
18357 language_global_options.
18359 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18361 * buffer.C (makeLaTeXFile): Use language_use_babel and
18362 language_global_options.
18364 2001-02-23 Juergen Vigna <jug@sad.it>
18366 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18367 which works with LyXText and putted it inside BufferView. Here now we
18368 only call for that part the BufferView::Dispatch() function.
18370 * BufferView.C (Dispatch): added.
18372 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18373 functions which needs to use a LyXText over from LyXFunc.
18374 (MenuInsertLyXFile): added
18375 (getInsetByCode): added
18376 (moveCursorUpdate): added
18377 (static TEXT): added
18379 2001-02-22 Juergen Vigna <jug@sad.it>
18381 * BufferView_pimpl.C (update): call a status update to see if LyXText
18384 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18386 * vc-backend.C (revert): implement for CVS
18387 (getLog): implement for CVS
18389 2001-02-20 Juergen Vigna <jug@sad.it>
18391 * text2.C (ClearSelection): added BufferView param for inset_owner call
18393 * lyxfunc.C (TEXT): added this function and use it instead of
18394 directly owner->view()-text of getLyXText().
18396 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18398 * src/layout_forms.C: out preamble
18399 * src/layout_forms.h: out preamble
18400 * src/lyx_cb.C: out preamble
18401 * src/lyx_cb.h: out preamble
18402 * src/lyx_gui.C: out preamble
18403 * src/lyx_gui_misc.C: out preamble
18404 * src/lyxfunc.C: connect with guii preamble
18406 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18408 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18410 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18412 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18413 whether to run bibtex.
18415 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18417 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18419 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18421 * Makefile.am (lyx_SOURCES): removed bibforms.h
18423 * vspace.h: doxygen
18425 * text.C (GetVisibleRow): make several local vars const
18427 * tabular.C: small cleanup.
18429 * lyxserver.C (callback): use compare instead of strncmp
18431 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18432 inlines to after class or to paragraph.C
18434 * lyxfont.h: remove friend operator!=
18436 * converter.h: move friend bool operator< to non friend and after
18439 * combox.h: small cleanup
18441 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18442 to inlines after class def.
18444 * buffer.C (pop_tag): use string operations instead of strcmp
18446 * bmtable.c: doxygen, small cleanup
18448 * LaTeX.h: remove friend operator==
18450 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18462 * BufferView_pimpl.C:
18463 * BufferView.[Ch]: remove cruft
18465 2001-02-14 Juergen Vigna <jug@sad.it>
18467 * lyxfunc.C: removed #if 0 unused code
18469 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18471 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18473 * text2.C (SetSelection): added a BufferView * parameter
18475 2001-02-13 Juergen Vigna <jug@sad.it>
18477 * lyxfunc.C (Dispatch): fixed protected blank problem.
18478 * BufferView2.C (protectedBlank): added LyxText * parameter.
18480 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18481 (AppendColumn): same as above for column_info.
18483 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18484 (moveCursorUpdate): use a LyXText param for support of InsetText.
18486 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18487 (tripleClick): ditto
18489 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18491 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18493 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18495 * text2.C (SetSelection): set correct update status if inset_owner
18496 (ToggleFree): ditto
18498 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18500 * tabular.C: remove some commented code.
18502 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18504 * BufferView_pimpl.C: call hideSplash()
18506 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18509 * bibforms.h: remove
18512 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18513 add LFUN_CHILD_CREATE
18515 * counters.h: fix tiny typo
18520 * lyx.C: move splash to frontends/xforms/
18522 * lyx_gui_misc.C: move Include and Bibform to frontends
18524 * lyxvc.h: clarify comment
18526 * vspace.C: tiny housekeeping
18528 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18530 * text.C (PrepareToPrint): RTL Fix.
18532 * paragraph.C (GetUChar): New method.
18533 (String): Use GetUChar.
18535 * buffer.C (asciiParagraph): Use GetUChar.
18537 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18539 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18541 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18544 * buffer.C: rename to getLogName(), handle
18545 build log / latex log nicely
18547 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18550 * MenuBackend.h: remove support for reference menuitem type.
18552 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18554 * BufferView_pimpl.C: housekeeping
18555 * BufferView_pimpl.h:
18560 * minibuffer.h: move Timeout GUI-I
18562 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18564 * lyxrc.C (read): Update converters data-structures.
18566 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18568 * LaTeX.h (operator!=): add operator != for Aux_Info
18570 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18572 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18574 * LaTeXLog.C: deleted, useful code moved to Buffer
18577 * buffer.C: new function getLatexLogName()
18583 * lyxfunc.C: use frontends for LaTeX and VC logs
18585 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18587 * LaTeX.h: yet another std:: that Allan forgot.
18589 * Variables.C (set): renamed from isset(), because this clashes
18590 with some HP-UX macros (grr).
18592 2001-02-06 Allan Rae <rae@lyx.org>
18594 * LaTeX.h: Another bug fix. Missing std:: this time.
18596 2001-02-04 Allan Rae <rae@lyx.org>
18598 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18599 floats problem. I've left it commented out because it's not quite
18600 correct. It should also test that the current object is a table or
18601 figure inset. But I haven't gotten around to figuring out how to do
18602 that. I *think* it'll be something like: "table" == inset.type()
18604 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18607 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18609 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18610 all the citation/databases/styles in the auxilary file.
18611 (run): Rerun latex if there was a babel language error.
18613 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18615 * text.C (Backspace): Preserve the font when changing newline char
18617 (BreakParagraph): If the cursor is before a space, delete the space.
18619 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18621 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18623 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18624 new argument (code).
18625 (ChangeCitationsIfUnique): New method.
18627 * paragraph.C (GetPositionOfInset): Handle bibkey.
18629 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18631 * BufferView_pimpl.h: change type of Position::par_pos to
18632 LyXParagraph::size_type.
18634 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18636 * BufferView_pimpl.C (savePosition, restorePosition): Write
18637 messages to minibuffer.
18639 2001-01-28 José Matos <jamatos@fep.up.pt>
18641 * buffer.C (makeDocBookFile): adds support for document language.
18642 A silly restriction on the name of LatexCommand types where removed.
18643 Added support for CDATA sections, allows to chars unescaped, used
18644 among others in code, to avoid escape < and >.
18646 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18648 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18649 saved positions instrad of a stack. Furthermore, a position is
18650 stored using paragraph id/paragraph position.
18652 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18653 Remove LFUN_REF_BACK.
18655 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18657 * converter.C (dvipdfm_options): New method.
18659 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18661 * vspace.C (isValidLength): Fix for empty input string.
18663 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18665 * LyXAction.C (init): change description of LFUN_FIGURE to
18668 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18670 * LaTeX.C: add using directive
18672 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18674 * MenuBackend.C (expand): Fix the sorting of the formats.
18676 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18678 * lyx_main.C: tiny error message fix
18680 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18682 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18683 calling fl_initialize(). This fixes the problem with ',' as
18684 decimal separator in text files.
18686 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18688 * trans.C (process): Fix the keymap bug.
18690 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18692 * LaTeX.C (scanAuxFiles): New method. Provides support for
18693 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18694 (scanLogFile) Scan for "run BibTeX" messages.
18696 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18697 OT1 font encoding. Also, load the aecompl package if the ae
18700 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18702 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18704 * texrow.C (increasePos): turn two error messages into debug
18707 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18709 * LaTeX.C (scanAux): Handle the \@input macro.
18710 (runBibTeX): Use scanAux().
18712 * language.C (latex_options_): New field.
18714 * LaTeXFeatures.C (getMacros): Add language macros.
18716 * buffer.C (makeLaTeXFile): Small fix.
18718 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18720 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18722 * text2.C: add a using directive.
18724 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18729 * lyxfunc.C: kill LyXBell.
18731 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18733 * text.C (IsBoundary): Remove the error message
18735 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18737 * lyxrc.C (setDefaults): Correct initialization value for
18740 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18742 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18745 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18746 and GotoNextNote().
18748 * src/LyXAction.C: Added reference-next.
18750 * text.C (InsertChar): Use contains instead of strchr.
18752 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18754 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18756 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18757 alignment commands (when needed).
18759 * text.C (InsertChar): Add ':' to number separator chars.