1 2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
3 * text2.C (setCharFont): take inset's own font settings into account
4 when defining the font to reduce to, fixes 2019
6 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8 * bufferview_funcs.C (coordOffset): remove the check for
9 collapsed collapsables (fix for bug 2094). This is now done
10 on a more general level (cursor.C).
12 * dociterator.[Ch] (forwardPos): add an optional argument
13 bool "ignorecollapsed" (default false), which lets forwardPos
14 skip collapsed insets.
16 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
17 (fixes bug 2241 and 2094).
19 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
21 * buffer.C: change tracking (dvipost) doesn't require
24 * LaTeXFeatures.C (getPackages): no need for the color
25 option "usenames" (bug 2169).
27 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
28 * buffer_funcs.C: Trivial fix - added {} around
29 the statements to be affected by a if-test. Now
30 label in a minipage in a float looks ok on screen again.
32 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
34 * text2.C: fix bug 2015: on screen fonts in nested environments
37 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
39 * converter.C (convert): handle unknown formats
41 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
43 * cursor.C (goUpDown): comment out some debug messages.
45 * counters.C (newCounter): make error messages more explicit
46 (these appear with some textclasses like beamer)
48 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
51 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
52 have origin set to KEYBOARD. (bug 2221)
54 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
56 * rowpainter.C (isCursorOnRow): do not exclude endpos().
58 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
60 * cursor.C (macroModeClose): returns true if an inset actually got
61 inserted; revert faulty fix to bug 2034.
63 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
65 * tabular.C (getLabelList): remove (not used anymore).
67 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
69 * outputparams.[Ch]: add new flag inComment
71 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
73 * text2.C (deleteEmptyParagraphMechanism): since we delete a
74 paragraph, recordUndo should span two paragraphs (bug 2155).
76 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
78 * rowpainter.C (paintPar): always repaint the row with the
81 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
87 * vspace.h: fix syntax error
89 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
91 * text3.C (dispatch): Force refresh if typing into inset changes its
94 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
99 * rowpainter.C: Speed up rendering by only re-painting rows that
100 have changed. When selection or whole-screen update active, all rows
101 are repainted, as are all rows within insets.
103 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
105 * version.C.in: Use PACKAGE_VERSION instead of VERSION
107 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
109 * tabular.C (toggleFixedWidth): Use default layout of text class
110 instead of hardcoded "Standard"
112 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
114 * lyxfunc.C (dispatch): do not call getStatus again to determine
115 whether a lfun is disabled (bug 2172).
117 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 * cursor.C (macroModeClose): set the cursor inside the new math
120 atom if relevant (think \frac{}{}) (bug 2034)
122 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
126 * text3.C (Delete, backspace): force update when merging paragraphs
128 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
130 * BufferView.C (mouseSetCursor): clear the selection properly (bug
133 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
135 * text.C (redoParagraph): honor inset->noFontChange()
136 * rowpainter.C (paintInset): ditto
138 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
140 * lyx_main.C (priv_exec): don't initialize Math on startup
141 (initMath() has been moved to math_hullinset).
143 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
145 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
146 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
147 * paper.h: dispose dead PAPER_PACKAGES enum.
149 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
151 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
154 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
156 * exporter.C (Export): Don't try to copy a file if it does not exist
159 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
161 * text2.C (makeFontEntriesLayoutSpecific): remove.
164 * text.C (insertChar): remove bogus caching of fonts (did not do
167 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
168 ALL_SANE). (bug 2146)
170 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
172 * rowpainter.C (paintFirst): fix centering of
173 LABEL_CENTERED_TOP_ENVIRONMENT.
175 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
177 * BufferView.C (mouseSetCursor): new method. Calls
178 deleteEmptyParagraphMechanism if necessary.
180 * lyxtext.h: make deleteEmptyParagraphMechanism public.
182 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
183 BufferView::mouseSetCursor (bug 2109).
184 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
186 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
188 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
189 do not remove it (this inset behaves differently from the others).
191 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
195 * BufferView_pimpl.C (getStatus): it is only possible to insert a
196 file in a text inset.
198 * buffer.C (readDocument): remove pit argument and code releated
199 to it; set the inset owner correctly (unrelated, but useful).
200 (readFile): get rid of pit argument.
202 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
203 textclass instead of a selection index.
204 (pasteParagraphList): new function.
205 (pasteSelection): make it a wrapper around pasteParagraphList.
207 * BufferView_pimpl.C (MenuInsertLyXFile): use
208 cap::pasteParagraphList to insert a file.
210 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
212 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
214 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
216 * exporter.C: fix typo in text message
218 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
220 * text2.C (setLayout): move recUndo call to other setLayout method
221 * tabular.C (toggleFixedWidth): new, handle cell width changes
222 * tabular.C (setColumnPWidth): move some code from insettabular.C here
223 and use toggleFixedWidth
224 * tabular.C (setMColumnPWidth): ditto
226 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
228 * paragraph.C (asString): use new inset->textString method (fix
231 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
233 * CutAndPaste.C (numberOfSelections): new helper function.
235 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
237 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
238 LyXFunc::getStatus; implement LFUN_PASTE.
240 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
242 * dociterator.[Ch]: new member realInset() that returns the cell
243 for tabulars and the inset for the rest (bug 1952).
244 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
247 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
249 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
251 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
255 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
258 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
260 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
261 line after typing ctrl-enter
263 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
265 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
266 math insets do not return a proper editable() state yet (bug 2124).
268 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
270 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
271 docs containing very large paragraphs.
273 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
275 * cursor.C (selectionBegin, selectionEnd):
276 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
277 cursor at different depths.
279 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
281 * bufferview_funcs.C (coordOffset): do not call cursorPos
282 for collapsed collapsables (fix bug 2094).
284 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
286 * paragraph.C (fontSpan): make sure that the FontSpan does not
287 span across beginOfBody (bug 1947).
289 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
291 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
293 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
295 * messages.C: fix crash and localization on MinGW/Windows platform
297 2005-11-02 Angus Leeming <leeming@lyx.org>
300 * lyxtextclass.C: trivial fixes to some MSVS warnings.
302 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
304 * text3.C (getStatus): re-enable disabled code. (bug 2081)
306 * BranchList.h (empty): constify.
308 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
310 * text3.C (getStatus):
311 * MenuBackend.C (expandBranches): take the branch list from the
312 master document (bug 2092).
314 * MenuBackend.C (expandBranches):
315 * bufferparams.C (writeFile): use BranchList type.
317 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
319 * text3.C (dispatch, getStatus):
320 * LyXAction.C (init):
321 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
323 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
325 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
327 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 * text.C (insertChar): do not reset boundary (bug 2061)
331 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * dociterator.C (updateInsets): new method. Updates the inset_
334 cache of all the slices of the iterator.
336 * text2.C (deleteEmptyParagraphMechanism): compare also containing
337 insets when comparing pit/pos; pass the right cursor to
338 recordUndo; when a paragraph has been deleted, compare `old.top()' to
339 the right cursor slice of `cur'; use updateInsets on cur to make
340 sure that the inset caches are correct; general cleanup.
342 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
344 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
345 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
346 containg inset. If this does not work, the same command will be
347 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
349 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
352 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
354 * lyxtextclass.C (Read): convert layout file if the format is wrong
355 * lyxtextclass.C (layout2layout): new, needed for the above
357 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
359 * messages.C: do not forget to include <cerrno>.
361 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
363 * dociterator.h (StableDocIterator): add access to pos().
364 * undo.C (samePar): new method to check if two
365 iterators are in the same paragraph
366 * undo.C (recordUndo): check for samePar instead of cell identity
367 (which includes pos() and is too strict) (fixes bug 2097)
369 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
371 * text.C (setCursorFromCoordinates): return a bool telling whether
374 * text3.C (cursorPrevious): update if needed after
375 setCursorFromCoordinates (when dEPM triggered).
377 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
378 (otherwise the anchor may be completely wrong and make dEPM assert).
380 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
382 * buffer.C: version upgrade to 245.
383 * bufferparams.C: remove \quotes_times (bug 2090).
384 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
385 quotation marks as default.
387 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
389 * CutAndPaste.C (nrOfParagraphs): remove (unused)
390 * CutAndPaste.C (cutSelection): Remove debug message
391 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
392 undo information and only copy if this is a real cut
393 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
395 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
397 * CutAndPaste.C (eraseSelection): prevent cursor corruption
398 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
399 superflous cur.selection() setting
400 * CutAndPaste.[Ch] (grabSelection): take a const cursor
401 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
403 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
405 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
408 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
410 * BufferView_pimpl.C: comment layout change
412 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
416 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
417 by bibliography managers (bug 2071).
419 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
421 * BufferView_pimpl.C (update): choose arguments to update call so
422 that single-par update works most times
423 * text3.C (dispatch): carefully tune updating separately for
424 whole-screen and current-paragraph
425 * rowpainter.C (paintText): 1) replace painting by caching for
426 the two extra paragraphs, because we can;
427 2) suppress greying out of areas below/above drawn area in case of
429 * lyxfunc.C (dispatch): remove superfluous update
430 * LyXAction.[Ch]: introduce SingleParUpdate
432 2005-10-05 Angus Leeming <leeming@lyx.org>
434 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
435 always initialised before use.
437 * text.C (setHeightOfRow): squash warning about comparison
438 of signed and unsigned types.
440 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
442 * text.C (cursorX): two fixes involving RtL text drawing
444 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
446 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
447 items, not only large ones (part of bug 2057)
449 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
451 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
452 argument, use "newcommand".
454 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
456 * cursor.C (setSelection): do not open collapsable insets;
457 the insets do by themselves now (autoopen).
459 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
461 * buffer.C: format is up to 244.
463 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
465 * text.C (redoParagraph): fix calcultation of inset width wrt
466 leftMargin (bug 1957).
468 * text3.C (dispatch): leave inset to the right when hitting ESC
471 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
476 * messages.C: include <boost/current_function.hpp>
478 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
481 when command is internal. (bug 1941)
483 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
485 * text2.C (cursorRight): do not honor boundary when at the end of
486 a paragraph. (bug 2010 again)
488 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
490 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
492 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
494 * rowpainter.C (paintText): fix RtL space width display bug (2029)
496 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
498 * text2.C (setCursor): remove the unused 'boundary' parameter for
499 the CursorSlice version; adapt the LCursor version.
502 * paragraph_pimpl.C (markErased):
503 * cursor.C (bruteFind2, bruteFond3): fix warnings.
505 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
507 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
508 as is already done for "chapter".
510 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
512 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
513 textclass; do not record undo if nothing is changed.
515 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
517 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
519 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
521 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
523 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
525 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
526 combox, it is necessary to search for the topmost paragraph in the
527 cursor stack (bug 1926)
529 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
531 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
532 end of paragraph. (bug 2010)
534 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
536 * text.C (leftMargin): check for inInset == 0
538 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
540 * text.C (leftMargin): test for insetbase's new neverIndent()
541 bool instead of listing each and every inset that does not
542 wish par indendation.
544 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
546 * buffer_funcs.C (setCounter): put the code to compute enum label
547 here (where it belongs).
549 * counters.C (enumLabel): move code to buffer_funcs.C.
551 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
553 * outputparams.[Ch]: store local_font instead of local_language
554 * paragraph.C (simpleTeXOnePar): adapt to the change above
556 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
559 * counters.[Ch]: clean up special code for Hebrew.
561 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
563 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
566 2005-09-08 Angus Leeming <leeming@lyx.org>
569 * lyxrc.C: correct grammar describing invocation of the
572 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
574 * text.C (read): remove unused variable.
575 (readParToken): remove static Change variable (never good in
576 recursive settings...); add it as a parameter instead.
578 * paragraph_pimpl.C (acceptChange): make debug info conditional.
580 * metricsinfo.C (PainterInfo): add new member erased_.
582 * rowpainter.C (RowPainter): add erased_ member, initialized from
584 (paintInset): pass erased_ to Inset::draw.
586 * lyxfunc.C (lookupChange): new function. Tells whether change
587 tracking is disabled at a given postion.
588 (getStatus): disable some actions when in deleted text with change
591 2005-08-03 John Levon <levon@movementarian.org>
593 * tabular.C (appendColumn, setMultiColumn): adapt to change to
596 * paragraph_pimpl.C (markErased): add bool argument and handle it.
597 Also make sure to mark insets recursively.
598 (rejectChange, erase): be recursive
600 * paragraph.C (markErased): add bool argument.
601 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
603 * lyxfind.C (findNextChange): tiny cleanup.
605 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
606 change tracking with the cursor in an inset; make sure the first
607 change is not skipped.
609 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
611 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
612 tabularStackDirty to work around bug 1919 (tabular needs
613 to know whether its own cell paste buffer or the one of
615 * CutAndPaste.C: mark tabular_stack_ clean after copy.
617 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
619 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
621 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
623 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
624 use old deleteion algorithm when changetracking is on.
626 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
628 * messages.C (get): add debug output.
630 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
632 * text.C (cursorX): fix bug 1965: cursor movement at
633 line end broken in RtL.
634 (drawSelection): fix bug 1970: drawing of single-line
635 selection broken for RtL.
637 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * dociterator.h (clear, push_back, pop_back): change from
644 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
645 and changed to just return the value of the item depth; take a
646 ParIterator as argument; take the itemdepth at outer nesting level
647 in account if necessary; cleanup and comment the code.
648 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
649 and changed to just return true if reset is needed; take a
650 ParIterator as argument; cleanup and comment the code.
651 (setCounter): adapt to above changes.
653 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
655 * text3.C (dispatch): make debug message optional
657 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
659 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
662 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
664 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
666 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
668 * text.C (insertChar):
669 * text2.C (deleteEmptyParagraphMechanism): take care whether
670 a blank has been deleted (in change tracking mode) (bug 1254).
672 2005-07-20 John Levon <levon@movementarian.org>
674 * text2.C (insertStringAsLines): remove old dubious code,
677 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
679 * MenuBackend.C (expandToc): use Floating::listName() as title of
682 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
684 * toc.[Ch]: Do not use translatable strings (bug 1870).
686 2005-07-20 John Levon <levon@movementarian.org>
688 * tabular.C: fix 1748 - setting multicolumn adds
689 left line to the first cell
691 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
694 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
697 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
699 * messages.C: supress some lyxerr messages
701 2005-07-18 Juergen Vigna <jug@lyx.org>
703 * text.C (drawSelection): honor boundary when asking for cursorX.
705 2005-07-17 José Matos <jamatos@fc.up.pt>
707 * tabular.C (recalculateMulticolumns): fix handling of one column
710 2005-07-17 Juergen Vigna <jug@lyx.org>
712 * text.C (Delete, backspace): fixed so that paragraph with the
713 same layout can be merged by Delete/Backspace.
715 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
717 * text.C (readParToken): fix spelling.
719 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
721 * text2.C: fix counter update for DEPM problem reported by
724 2005-07-17 Juergen Vigna <jug@lyx.org>
726 * BufferView_pimpl.C (setBuffer): save/restore the
727 cursor/selection when switching buffers
730 * buffer.C (saveCursor): add saveDocumentIterators to save the
731 cursor when switching buffer.
733 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
736 * buffer.C: clarify message
738 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
740 * dociterator.C (DocIterator): fix initialization order
742 2005-07-17 Juergen Vigna <jug@lyx.org>
744 * text2.C (cursorHome):
745 * text.C (drawSelection, cursorX):
746 * dociterator.C (textRow): add boundary to getRow() call
748 * paragraph.C (getRow): implementation of below
750 * paragraph.h: add parameter boundary for getRow() function
752 2005-07-17 José Matos <jamatos@fc.up.pt>
756 * tex-strings.[Ch]: new file format, remove support for a4.sty,
757 a4wide.sty and a4widemargins.
759 2005-07-17 Juergen Vigna <jug@lyx.org>
761 * text2.C (cursorLeft): fix one of error
763 2005-07-17 Juergen Vigna <jug@lyx.org>
765 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
767 more fixes for boundary handling
769 * text3.C (dispatch): don't reset cursor if boundary has changed
772 2005-07-16 Juergen Vigna <jug@lyx.org>
774 * text2.C (getColumnNearX): hopefully got it right now,
775 check if we are on column 0 for special case.
777 2005-07-16 Juergen Vigna <jug@lyx.org>
779 * text2.C (getColumnNearX): handle special case Newline Inset
781 * text.C (singleWidth): Just remove bogus check
783 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
785 * funcrequest.C (split): avoid reading uninitialized char c
787 2005-07-16 José Matos <jamatos@fc.up.pt>
793 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
794 single papersize variable.
796 2005-07-16 Juergen Vigna <jug@lyx.org>
798 * text3.C (dispatch): honor boundary when checking if a cursor
799 movement has been done
801 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
802 (setCursor, setCursorIntern): fix cursor movement with boundary
804 2005-07-16 Juergen Vigna <jug@lyx.org>
806 * text.C (currentState): output the actual Boundary
808 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
810 * factory.C (createInset): fix bad logic for tabular creation
812 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
814 * lyx_main.C (init): change some reLyX reference to tex2lyx
816 2005-07-16 Juergen Vigna <jug@lyx.org>
818 * dociterator.C (DocIterator): initialize boundary
820 2005-07-16 Juergen Vigna <jug@lyx.org>
822 * text2.C (getColumnNearX): Consider rows without trailing blank.
824 2005-07-16 André Pönitz <poenitz@gmx.net>
826 * lyxfont.h: Change order of declarations to give the compiler
827 a better chance to inline things
829 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
830 questions on unsaved docs for better scritability
832 2005-07-16 André Pönitz <poenitz@gmx.net>
834 * paragraph.h (getChar): remove asserts as the same kind of security
835 can be achieved by using a suitable standard library implementation
836 and the function was in the critical path (25.9% in profiler)
838 2005-07-16 Juergen Vigna <jug@lyx.org>
840 * cursor.C (bruteFind2):
841 * bufferview_funcs.C (coordOffset):
842 * text.C (cursorX,cursorY): Handle cursor position after last char
843 in row before a inset which uses a whole row.
845 2005-07-15 José Matos <jamatos@lyx.org>
847 * output_plaintext.[Ch] (writeFileAscii): control reference title
849 (asciiParagraph): noparbreak was already deal and was incorrectly
852 2005-07-15 Juergen Vigna <jug@lyx.org>
854 * lyxfunc.C (dispatch): save and restore the cursor after a
857 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
859 * text.C (backspace): bug 806 for empty keepempty paragraphs we
860 change the layout to default before letting DEPM do its thing.
862 * paragraph_funcs.C (breakParagraph): dont reset the layout on
865 * text.C (setCursorFromCoordinates): add a debug statement
867 * text2.C (getColumnNearX): bug 1825 make sure that we don't
868 return a pos that is not on the row
870 * output_latex.C (TeXDeeper): get rid of potential dereferencing
871 of past the end iterator
873 2005-07-14 André Pönitz <poenitz@gmx.net>
875 * undo.C (recordUndoFullBuffer): implement undo for
878 2005-07-14 André Pönitz <poenitz@gmx.net>
880 * cursor.C (setSelection): open insets when selection is set there
881 to avoid crashs with cold coord cache
883 2005-07-14 André Pönitz <poenitz@gmx.net>
885 * trans_mgr.C (insert): move cursor to the right after inserting
888 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
890 * BufferView_pimpl.C (update): dampen some of the debug blabbering
891 * factory.C (readInset): ditto
892 * text.C, text2.C: ditto
894 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
896 * buffer.C: format incremented to 242. There is no file format per
897 se, but the "frenchb" language has been removed from lib/language
898 and has to be translated to "french" by lyx2lyx.
900 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
902 * cursor_slice.h, dociterator.h: add some documentation
903 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
905 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
907 * text.C (leftMargin): do not add identation to display() style
908 insets, because they are always centered (bug 1293).
910 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
912 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
913 formatted_time methods in support/lyxtime.
915 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
917 * toc.[Ch]: new method getGuiName, which is used by the frontends
918 to set the toc combo (fixes bug 1870). Make TOC string translatable.
920 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
922 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
923 StableDocIterator const &)
924 * undo.C (recordUndo): use the above instead of cell.size() comparison
925 (fixes bug 1808; instructed by Andr�.
927 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
930 * dociterator.h: Fix the assert when copying rows/cols in math
932 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
934 * BufferView_pimpl.C:
936 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
938 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
939 (findInset): new functions, refactored from goto Inset that return
940 the position of a certain inset without setting the buffer's cursor
942 (gotoInset): rewrite to call findInset and then set the cursor
945 2005-06-16 Angus Leeming <leeming@lyx.org>
947 * lyxrc.C (output, read): wrap all input and output of paths with
948 calls to os::internal_path and os::external_path, respectively.
949 (output): wrap bind_file inside quotes.
951 * format.C (view): enable the viewer to use the '$$s' placeholder.
953 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
955 * LColor.[Ch] (getFromLaTeXName): new
957 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
959 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
961 2005-06-14 Angus Leeming <leeming@lyx.org>
963 * lyx_main.C (init): ensure that the LyX binary dir is the first
964 element in the PATH on non-POSIX builds.
966 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
968 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
970 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
972 * rowpainter.C (paintInset, paintHebrewComposeChar)
973 (paintArabicComposeChar, paintChars): add a LyXFont argument.
974 (paintChars): use getFontSpan to reduce calls to getFont to a
975 minimum; use Paragraph::lookupChange instead of isXXXText.
976 (paintForeignMark): rename LyXFont argument.
977 (paintFromPos): pass a LyXFont object to the various paintXXX
980 * FontIterator.C (FontIterator, operator++): use
981 Paragraph::getFontSpan
983 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
984 version that returns the font span as a pair.
986 2005-06-09 Angus Leeming <leeming@lyx.org>
988 * converter.C (convert): Don't forget "outfile = real_outfile" as
989 the final step in a conversion where the input and output file names
990 are the same. Otherwise, future conversion steps won't work...
992 2005-06-09 Angus Leeming <leeming@lyx.org>
994 * lyxsocket.C: remove stub code as it isn't needed by
995 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
997 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
999 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1000 effectively disabled -x
1002 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1004 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1005 when it actually makes sense.
1007 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1009 * BufferView_pimpl.C: revert to showCursor in connection with
1010 Lars's front-end stack
1012 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1014 * text.C (redoParagraph): move cursor right after a bibitem
1017 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1019 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1021 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1024 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1026 * BufferView.[Ch] (update):
1027 * BufferView_pimpl.[Ch] (update, metrics):
1028 * dimension.h (operator==):
1029 * lyxfunc.C (dispatch):
1030 * metricsinfo.h (ViewMetricsInfo):
1031 * rowpainter.C (paintText):
1033 * text.C (redoParagraph):
1034 * text3.C (dispatch): Make LyX only repaint current paragraph in
1035 case of character insert --> speedup. Also fix cursor draw
1038 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1040 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1041 avoid a crash (bug 1891)
1043 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1047 * text2.C (getStringToIndex): constify cur argument.
1049 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1050 argument has been given
1051 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1052 try to invoke LFUN_INSET_APPLY).
1054 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1055 if no inset was created by doInsertInset
1056 (doInsertInset): return true if an inset has been inserted.
1058 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1060 * vspace.C (asGUIName): new method. A version of the space
1061 suitable for showing on screen.
1063 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1066 * lyxrc.C: rename "ASCII" to "Plain Text"
1068 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1070 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1071 translate the labelstring.
1072 (setCounter): translate labelstring as needed.
1074 * output_docbook.C (makeCommand): fix expandLabel invokation
1076 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1078 * BufferView.C: fix dialog title
1080 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1082 * lyx_main.C (priv_exec): fix logic error with help from Angus
1083 * lyx_main.C (parse_execute): set is_gui = false and remove now
1084 obsolete comment about a segfault
1086 2005-05-18 Angus Leeming <leeming@lyx.org>
1088 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1090 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1092 * tabular.[hC]: added setCellInset to fix tabular paste.
1094 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1096 * buffer.C (save): check if destination is writable before trying
1099 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1101 * BufferView_pimpl.C (update): fix processEvents -caused update
1104 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1106 * buffer_funcs.C (setCounter): fix test for numbering of
1109 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1110 depth correctly; use optional argument when it exists
1112 * lyxtextclass.C: remove unused MaxCounterTags enum
1113 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1114 (max_toclevel, min_toclevel): new methods.
1116 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1117 the smallest depth in toc.
1119 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1120 layouts that should not appear in a table of contents.
1122 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1124 * cursor.h (undispatched, noUpdate): add comments from Andr�
1125 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1129 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1131 2005-05-07 André Pönitz <poenitz@gmx.net>
1133 * cursor.[Ch] (leaveInset): new function
1135 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1137 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1139 2005-05-04 Angus Leeming <leeming@lyx.org>
1141 * lyxfunc.C (getStatus): disable the spell checker dialog if
1142 none of USE_[AIP]SPELL are defined.
1144 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1146 * tabular.C (setWidthOfCell): remove obsolete comment
1148 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1150 * paragraph.C (bibitem):
1151 * buffer_funcs.C (setCounter):
1152 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1154 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1156 * text3.C (getStatus): immediately return after setOnOff
1158 * rowpainter.C: fix drawing of appendix start
1160 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1162 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1163 SwitchBetweenClasses and remove the unused return value.
1164 Handle character styles, too
1166 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1168 * factory.C (createInset): handle undefined character styles
1170 2005-05-02 Angus Leeming <leeming@lyx.org>
1172 * buffer.C: protect the #include of utime.h with a preprocessor
1175 2005-05-02 Angus Leeming <leeming@lyx.org>
1177 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1178 function so that auto-saving works, albeit in a blocking manner.
1180 * Makefile.am: make compilation of the client sub directory, of
1181 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1182 on conditionals set at configure time.
1184 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1185 it can be compiled in its own right but has no-op functionality.
1187 * aspell.C, pspell.C: remove preprocessor guards. The files should
1188 be compiled only if the necessary functionality exists.
1190 * lyxserver.C, lyxsocket.C: disable on Windows.
1192 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1194 * text.C (leftMargin): Fix the parindent use bug (1764)
1197 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1199 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1202 2005-04-25 Angus Leeming <leeming@lyx.org>
1210 include <config.h> in .C files, not .h ones.
1212 protect headers inside preprocessor guards.
1214 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1216 * FuncStatus.h (StatusCodes): document
1218 2005-04-21 André Pönitz <poenitz@gmx.net>
1220 * FuncStatus.h (enabled, onoff): document
1222 2005-04-19 Angus Leeming <leeming@lyx.org>
1224 * BufferView_pimpl.C (cursorToggle): no longer test whether
1225 any child processes have been reaped before calling
1226 handleCompletedProcesses().
1228 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1230 * text3.C (dispatch): fix, finally fix, the language problem in
1231 new lyxtexts, without disabling on-the-fly font changes (Helge's
1234 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1236 * text3.C (dispatch): set cursor on double/triple click events
1239 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1241 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1242 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1244 * rowpainter.C (paintFirst): simplify the code a little bit. In
1245 particular, remove the test for secnumdepth.
1246 * text.C (setHeightOfRow): only allocate space for chapter number
1247 when updateCounters provided an actual label, instead of looking
1248 at secnumdepth directly.
1250 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1252 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1253 paragraphs when secnumdepth is large enough or, for environments,
1254 when they are not the first in a sequence.
1256 2005-04-17 Angus Leeming <leeming@lyx.org>
1258 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1259 containing space and '~' characters with a call to latex_path().
1261 2005-04-17 Angus Leeming <leeming@lyx.org>
1263 * converter.C (convert): protect all args of convertDefault.sh
1266 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1268 * text3.C (dispatch): change the layout to "Caption" after inserting
1271 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1273 * text3.C (dispatch): fix language problem in newly created
1274 textinsets (and main text) in non-english docs
1276 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1278 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1279 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1280 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1282 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1286 * text2.C (getFont):
1287 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1290 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1292 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1293 output of \item arguments without trailing text.
1295 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1297 * FontIterator.C (operator*): avoid a copy of the font.
1299 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1301 * rowpainter.C (getFont): fix language bug from previous fix
1303 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1305 * rowpainter.C (RowPainter, getFont): fix font inside inset
1308 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1310 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1311 preventing inserted font, deco, delim insets jumping to start of
1314 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1316 * lyxfunc.C (dispatch): translate message before sending it to the
1319 2005-03-29 Angus Leeming <leeming@lyx.org>
1321 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1322 to LyX on the command line.
1324 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1326 * vc-backend.C: use QuoteName to protect file names wherever
1329 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1332 * BranchList.h: fix bugs 1844,1845: document settings don't
1335 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1337 * lyxrc.C (setDefaults, read, output, getDescription): add support
1338 for tex_allows_spaces.
1340 * exporter.C (Export): allows files in directory containing spaces
1341 if tex_allows_spaces is true.
1343 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1344 output it in double quotes.
1346 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1348 * rowpainter.C: use default text height for drawing change tracker
1351 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1353 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1355 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1357 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1358 directory is missing.
1360 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1362 * text2.C: fixed the fix, extended to other case.
1364 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1366 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1368 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1370 * text2.C (cursorUp): get rid of a crash
1371 * text.C (x2pos): add an assert
1373 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1375 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1379 * dociterator.C: include <boost/current_function.hpp>, which is
1380 needed when assertions are disabled.
1382 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1384 * text2.C: fix for stuck cursor when traversing two
1385 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1387 2005-02-25 Andreas Vox <avox@arcor.de>
1389 * output_docbook.C (makeParagraph): suppress trailing newline
1390 after a run of paragraphs
1392 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1394 * paragraph.C: fix for confused change tracker when pasting
1395 text that begins with a lineseparator. [bug 1827]
1396 (setChange(0, Change::INSERTED);)
1398 * paragraph_funcs.C: fix for lost changes on triple-paste
1399 in change tracking mode [bug 1827] (par.setChange()).
1401 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1403 * text2.C (updateCounters, setCounter, expandLabel): move to
1406 * buffer_funcs.C (updateCounters): turn into a free standing
1407 function and add a buffer parameter. Remove dead code for tracking
1409 (setCounter): change into a free-standing function which gets a
1410 dociterator as argument. Use this iterator to fix captions in a
1411 simple way. When no float is found above the caption, use the
1412 labelstring of the caption layout as default.
1414 * text.C (breakParagraph, backspace):
1415 * text2.C (init, setLayout, changeDepth):
1416 * text3.C (dispatch):
1417 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1420 * dociterator.C (forwardPar): make it much faster by calling
1421 forwardPos() only when really necessary.
1423 * output_docbook.C (makeCommand): adapt to expandLabel move.
1425 * cursor.C: remove unused variable
1427 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1429 * paragraph_funcs.C: fix crash when pasting insets in change
1430 tracking mode [bug 1277] (honour change type in moveItem).
1432 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1434 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1436 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1438 * BufferView.C (setCursor): change to use a DocIterator.
1439 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1440 (putSelectionAt): adapt to BufferView::setCursor change.
1442 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1443 moved here from LyXText and rewritten to use proper cursor
1444 methods. Fixes bug 1787, 616 and 835.
1446 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1447 when inside an inset (part of bug 781).
1448 (dispatch): adapt to change of BufferView::setCursor.
1449 (getStatus, dispatch): handle LFUN_GOTOERROR,
1450 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1452 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1453 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1454 * text3.C (gotoNextInset, gotoInset): removed.
1456 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1458 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1460 2005-02-15 Angus Leeming <leeming@lyx.org>
1462 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1463 can be used meaningfully in a comparison.
1465 2005-02-13 André Pönitz <poenitz@gmx.net>
1467 * bufferview_funcs.C (coordOffset): improve cursor drawing
1469 2005-02-13 André Pönitz <poenitz@gmx.net>
1471 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1472 * Cursor.C (dispatch): use fixIfBroken
1473 * lyxfunc.C (getStatus): use fixIfBroken
1475 2005-02-15 Angus Leeming <leeming@lyx.org>
1477 * lyx_main.C (error_handler):
1479 * lyxrc.C (setDefaults):
1481 #include "environment.h".
1483 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1485 2005-02-15 Angus Leeming <leeming@lyx.org>
1487 * lyxserver.C (startPipe): squash MSVC warning "local variable
1488 'fd' used without having been initialized".
1490 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1492 * BufferView_pimpl.C: revert accidental commit.
1494 2005-02-14 André Pönitz <poenitz@gmx.net>
1496 * dociterator.[Ch]: new member forwardPosNoDescent(),
1497 which doesn't enter nested insets.
1498 * text2.C (setFont): use forwardPosNoDescent() instead
1499 of ForwardPos() (fixes crash on font change).
1501 2005-02-13 Angus Leeming <leeming@lyx.org>
1503 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1504 only if lyxrc.path_prefix is not empty.
1506 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1508 * bufferparams.C (readGraphicsDriver): prevent crash
1510 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1512 * text2.C (setCounter): check for inInset() == 0
1514 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1516 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1517 but use update() to get correct screen display; use convert
1518 instead of istringstream.
1519 (getStatus): handle LFUN_GOTO_PARAGRAPH
1521 * lyxfunc.C (dispatch, getStatus): do not handle
1522 LFUN_GOTO_PARAGRAPH here.
1524 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1526 * text3.C (dispatch): size() -> depth()
1528 * text2.C: remove some debug output
1530 * paragraph.C: ws changes only
1532 * lyxfunc.C (getStatus): size() -> depth()
1534 * dociterator.h (clear, push_back, pop_back, internalData,
1535 operator[], resize, empty): new functions
1536 Make StableDocIterator and operator== be friends. Don't inherit
1537 from std::vector use a privat class variable slices_ instead.
1540 * dociterator.C: update because of not inheriting from std::vector
1541 anymore. Call explictly to slices_ instead. Use depth() instead of
1542 size() and top() instead of back()
1544 * cursor.C: chagne size() -> depth and back() -> top(). Also
1545 remove some direct operator[](i) calls in favour of foo[i]
1546 (getFont): remove some dead code
1548 * bufferview_funcs.C (coordOffset): size() -> depth()
1550 * buffer.C: ws changes only
1552 * CutAndPaste.C (eraseSelection): back() -> top()
1554 * BufferView_pimpl.C (selectionRequested): back() -> top()
1556 * BufferView.C (setCursor): size() -> depth()
1558 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1560 * text3.C (cursorPrevious): return true if depm changed something
1562 (dispatch): rename sl to oldTopSlice, remove moving use the new
1563 NoUpdate func attrib instead. Make sure that needsUpdate is set
1564 for function that have NoUpdate, but where depm might have changed
1567 * text2.C (cursorLeft): make us return true if depm changed
1569 (cursorRight): ditto
1570 (cursorUpParagraph): ditto
1571 (curosrDownParagraph): ditto
1572 (cursorUp, cursorDown): ditto, make sure to read comments in code
1573 (deleteEmptyParagraphMechanism): remove an assert, also return
1574 true if just a single char was deleted.
1576 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1577 cursor that we modify, to avoid modifying an active cursor before
1578 we call setCursor. This allows depm to run. Also return true if
1579 depm deleted something.
1581 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1582 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1583 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1584 something was changed in the buffer because of them (ie. depm run)
1586 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1587 debug messages. Make update by default be false. Make sure that
1588 the result of update is retained throught several calls down to
1591 * LyXAction.h: add a new func_attrib: NoUpdate
1593 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1594 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1595 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1597 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1599 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1601 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1602 bv_->owner(), bv_->buffer() by direct references to the private
1604 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1605 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1606 (fitCursor): center() is in BufferView::Pimpl.
1607 (getStatus, trackChanges, dispatch): no need for a temporary buf
1609 (fitCursor, workAreaDispatch): use workarea().workheight()
1611 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1613 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1615 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1617 * buffer.C: format up to 241.
1618 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1619 break if pasting into ERT
1620 * lyxfunc.C (getStatus): suppress mathpanel and
1621 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1623 2005-02-01 Angus Leeming <leeming@lyx.org>
1625 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1627 2005-02-01 Angus Leeming <leeming@lyx.org>
1629 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1630 calling fs::is_directory().
1632 2005-01-31 Angus Leeming <leeming@lyx.org>
1634 * lyx_main.C (priv_exec): specify explicitly the relative location
1635 of the top level build directory when run in-place.
1637 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1639 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1640 LyXText containing the cursor, not the top-level one.
1642 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1644 (insertStringAsLines): rename par to pit; use temporary variable
1645 par to hold a Paragraph; do not store par.layout() in a variable,
1646 since the pointer may die when breaking paragraphs; pass pars to
1647 breakParagraph() instead of Buffer::paragraphs().
1649 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1651 * lyxlex_pimpl.h: #include <fstream>.
1653 * BufferView.[Ch] (getLyXText): add a const version.
1655 * BufferView_pimpl.C: add debug aids.
1660 * paragraph_funcs.h: add commentary explaining what the class does.
1663 * coordcache.[Ch]: add lots of commentary.
1664 (startUpdating, doneUpdating): debug aids.
1665 (arrays, insets, parPos, getParPos): accessors to private data.
1667 * cursor_slice.[Ch] (text): add a const version.
1668 * dociterator.[Ch] (text, innerText): add const versions.
1670 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1673 * paragraph.C (getRow, pos2ros): add asserts.
1675 * paragraph.h: add commentary. Lots of.
1677 * paragraph.[Ch] (metrucs, draw): removed.
1680 * rowpainter.[Ch]: const-correct changes.
1682 * text.C: various obvious clean-ups. Removal of ancient cruft.
1685 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1687 * vc-backend.C (find_file): rewrite to use boost.filesystem
1690 * main.C (main): set default name check for boost.filesystem to
1693 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1696 (actOnUpdatedPrefs): ditto
1698 * lyx_main.C (init): rewrite to use boost.filesystem
1699 (queryUserLyXDir): ditto
1701 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1702 (getContentsOfAsciiFile): ditto
1704 * lastfiles.C (readFile): rewrite to use boost.filesystem
1706 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1708 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1709 (loadLyXFile): ditto
1711 * buffer.C (Buffer): adjust for destroydir
1712 (getLogName): rewrite to use boost.filesystem
1713 (setFileName): ditto
1714 (save): use fs::copy_file (from fs_extras)
1716 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1718 * LaTeX.C (run): rewrite to use boost.filesystem
1719 (scanAuxFiles): ditto
1720 (handleFoundFile): ditto
1722 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1724 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1726 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1728 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1730 * lyxlayout.[Ch]: change some vars from float to double
1732 * buffer.C (readFile): make a local var const
1734 * Several files: use convert<> instead of atoi,strToXXX and friends
1736 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1738 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1739 holds the contents of packages.lst. New functions getAvailable
1740 and isAvailable to parse and check that list, resp.
1744 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1746 * bufferparams.[Ch]: new param output_changes.
1748 * Buffer.C: increase file format to 240.
1749 Use output_changes and isVailable.
1753 * paragraph_pimpl.C: Use output_changes and isVailable.
1755 2005-01-23 Angus Leeming <leeming@lyx.org>
1757 * output_latex.C: #include "insetbibitem.h", rather than
1758 forward declare function bibitemWidest.
1760 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1762 * lyx_main.C (init): make it compile on the Mac.
1764 2005-01-20 Angus Leeming <leeming@lyx.org>
1766 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1767 (setLyXMisc): (char string literal) != (char string literal) is
1768 performing a comparison on the addresses. Convert one operand
1769 explicitly to string to guarantee expected behaviour.
1772 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1775 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1777 * output_plaintext.C: remove unneeded #include gzstream.h.
1779 2005-01-20 Angus Leeming <leeming@lyx.org>
1781 * SpellBase.h: rename some of the elements of the Result enum.
1788 * pspell.C (check): ditto
1790 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1792 * buffer.C: add #include <fstream>.
1794 * lyx_main.C (init): Compile fix.
1796 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1798 2005-01-20 Angus Leeming <leeming@lyx.org>
1800 * mover.h: change commentary to reflect the changed meaning of
1801 the $$s placeholder.
1803 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1805 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1807 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1809 2005-01-20 Angus Leeming <leeming@lyx.org>
1811 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1812 printing diagnostic data by not dereferecing an iterator past the
1815 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1817 * buffer.C (readHeader): use "&&" rather than "and".
1819 * lyxserver.h (inPipeName, outPipeName): make these const.
1821 2005-01-19 Angus Leeming <leeming@lyx.org>
1823 * lyx_main.C (error_handler, init): protect SIGHUP with
1824 #ifdef SIGHUP guards.
1826 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1828 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1830 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1832 * text.C (setHeightOfRow): add a margin at the top and bottom of
1833 the document (bug 1761)
1835 2005-01-17 Angus Leeming <leeming@lyx.org>
1837 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1838 with "python ". Workaround for a brain-dead Windows.
1840 2005-01-16 Angus Leeming <leeming@lyx.org>
1842 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1843 for MacOSX and Windows to use prependEnvPath.
1844 Strip out the hard-coded block to add elements to the PATH for
1845 MacOSX and replace it with a call to prependEnvPath using the
1846 contents of LyXRC::path_prefix.
1847 (queryUserLyXDir): strip out the code to run reconfigure, instead
1848 returning a boolean indicating the necessity to do so.
1849 (reconfigureUserLyXDir): contains the code to reconfigure the
1850 user support directory. Is now called after the various LyXRC data
1851 files have been read.
1853 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1855 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1857 * converter.[Ch] (convert): take a new parameter try_default. Use
1858 a default converter (imagemagick) if try_default is true.
1860 2005-01-13 Angus Leeming <leeming@lyx.org>
1862 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1863 os::cygwin_path_fix.
1864 (write): output LyXRC::cygwin_path_fix as necessary.
1866 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1869 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1871 2005-01-12 Angus Leeming <leeming@lyx.org>
1873 * lyx_main.C (init): set the PATH variable to include the
1874 directory containing the LyX binary when running on Mac or Windows.
1876 2005-01-12 Angus Leeming <leeming@lyx.org>
1878 * lyx_main.C (init): remove cruft that purports to set the locale
1879 dir. It doesn't and is not needed anyway.
1881 2005-01-10 Angus Leeming <leeming@lyx.org>
1883 * Makefile.am: remove the lyx_main.C special casing.
1885 * BufferView_pimpl.C:
1891 * messages.C: use support/package.h to provide the paths to the
1892 various directories used by LyX.
1894 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1896 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1897 layout if pasting into an empty paragraph)
1899 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1901 * tex-accent.C: add <string>
1903 2005-01-06 José Matos <jamatos@lyx.org>
1905 * ParagraphParameters.C (write): put every parameter in its own line.
1906 * paragraph.C (write): reduce number of consecutive empty lines exported.
1907 * buffer.C (LYX_FORMAT): increase file format to 239.
1909 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1911 * everywhere: change support/tostr.h -> support/convert.h
1913 * tabular.C: make all write_attributes templates, tostr -> convert
1915 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1916 (emptyTag): and -> &&, and fix type for ret from getChar
1917 (getFirstWord): fix type for ret from getChar
1918 (onlyText): and -> &&
1919 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1922 * toc.C (goTo, action):
1923 * text3.C (dispatch):
1924 * text.C (currentState):
1925 * tex-accent.C (DoAccent):
1928 * lyxfunc.C (menuNew):
1929 * lyxfinc.C (replace):
1930 * counters.C (laberItem):
1931 * bufferview_funcs.C (font2string):
1932 * bufferparams.C (writeFile):
1933 * buffer.C (readFile):
1935 * MenuBackend.C: tostr -> convert
1937 * LaTeX.C (runMessage): fix format
1938 (scanAuxFiles): tostr -> convert
1940 * BufferView_pimpl.C (savePosition): fix format
1941 (restorePosition): ditto
1944 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1946 * Spacing.[Ch]: New method getValueAsString().
1950 * ParagraphParameters.C:
1953 * text3.C: store/read spacing value as string.
1955 * rowpainter.C: change float value (spacing_val) to double.
1957 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1958 broken custom document spacing).
1960 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1962 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1963 namespace, also more use of temp references and const
1965 * cursor.[Ch] (getStatus): move to lyxfunc.C
1967 * bufferparams.C: reformat slightly
1969 * bufferview_funcs.C (font2string): constify arg
1975 * buffer_funcs.C: (many funcs): constify arg on function
1976 definitions, also make more local vars const, also add ASSERTS on
1979 * buffer.C (LYX_FORMAT): put const in correct place
1980 (many funcs): constify arg on function definitions, also make
1981 more local vars const
1983 * aspell_local.h: remove "struct" from typdef setup
1985 * aspell.C (check): make word_ok const
1986 (nextMiss): simplify slightly
1989 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1991 * lyxrc.[Ch]: store all float values as strings.
1992 use int (not float) for lyxrc.dpi.
1994 2005-01-04 Angus Leeming <leeming@lyx.org>
1996 * lyx_cb.C (Reconfigure):
1997 * lyx_main.C (queryUserLyXDir):
1998 to run the <system_lyxdir>/configure correctly on Windows, prefix
1999 the path to the script with "sh " when generating the string that
2000 is passed to system().
2002 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2004 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2006 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2008 * lyxlength.C (asLatexString): get rid of setprecision
2010 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2012 * text2.C (setLayout): remove unused variable endpit.
2013 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2015 * paragraph.C (onlyText): remove unused variable style.
2017 * cursor.C (bruteFind): remove unused variables beg and end.
2019 * Makefile.am (dist_noinset_DATA): not needed anymore
2021 * cheaders/*: remove.
2023 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2025 * text3.C: fix LFUN_MATH_MODE.
2027 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2029 * buffer_funcs.C (countWords): new function. Counts words between
2032 * BufferView_pimpl.C (getStatus, dispatch): handle
2035 * LyXAction.C (init):
2036 * lfuns.h: add LFUN_WORDS_COUNT.
2038 2004-12-19 Angus Leeming <leeming@lyx.org>
2040 * buffer.C (save): s/slashify_path/internal_path/.
2042 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2044 * lyxfind.C (findChange): do not search for end of pars, because
2045 the change tracker cannot handle this (fixes bug 1719).
2047 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2049 * paragraph.[Ch] (autoBreakRows): remove
2051 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2053 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2054 avoid using the paragraph one
2056 * text2.C (LyXText, insertStringAsLines): adjust
2058 2004-12-16 Angus Leeming <leeming@lyx.org>
2062 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2064 2004-12-14 Angus Leeming <leeming@lyx.org>
2066 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2068 * bufferlist.C (emergencyWrite):
2069 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2072 2004-12-14 Angus Leeming <leeming@lyx.org>
2074 * main.C: (main): no longer pass pointers to os::init.
2076 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2078 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2079 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2081 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2084 * text3.C: remove selection_possible global flag
2086 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2088 * text2.C (getSelectionSpan): remove
2089 (changeDepth, changeDepthAllowed): adjust
2091 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2093 * Makefile.am (BOOST_LIBS): use boost variables
2095 2004-12-03 José Matos <jamatos@lyx.org>
2097 * buffer.C: format up to 238.
2099 2004-12-03 José Matos <jamatos@lyx.org>
2101 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2103 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2105 * cursor.C (goUpDown): remove call to idxUpDown2
2107 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2109 * tabular.[Ch]: use size_t-like types for cell, row and column
2112 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2114 * lyxfunc.C (getStatus): do not lose previous information when
2115 calling BufferView::getStatus; do not set a default "Command
2116 disabled" message at the beginning, but just before returning.
2118 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2120 * cursor.h (getStatus): add better comment from src/cursor.C
2122 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2124 * text3.C (getStatus): return false when the lfun is not handled
2126 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2128 * broken_headers.h: remove
2130 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2132 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2134 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2135 offset_ref accessors
2137 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2138 top_y_, merge fitcursor with update
2139 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2141 (metrics): introduce
2142 (workAreaDispatch): adapt to new coord scheme
2143 (redoCurrentBuffer): remove
2145 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2147 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2150 * coordcache.[Ch]: add paragraph cache and helpers
2152 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2155 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2156 (targetX, setTargetX): introduce
2158 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2159 baseline -> ascent, as the rest of lyx
2161 * lyxtext.h: remove redoParagraphs, updateParPositions,
2162 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2163 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2164 have ascent/descent (ascent is ascent of first par)
2166 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2169 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2171 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2173 * pariterator.C: fix infinite loop introduced in par->pit renaming
2175 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2176 in insets and LyXText, draw two off-screen paragraphs using
2177 NullPainter, and adapt to new coord scheme
2181 * text3.C: adapt lfun handlers to the new coord scheme, which
2182 means: there's only guaranteed coord information for onscreen pars
2183 plus one above and one below. This implies that one can do search
2184 from y coordinates in the range [-1,workHeight]
2186 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2188 * rename a lot of InsetOld to InsetBase
2190 2004-11-25 Angus Leeming <leeming@lyx.org>
2192 * BufferView_pimpl.C:
2194 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2196 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2198 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2199 call BufferView::getStatus if LCursor::getStatus did nothing
2200 (setStatusMessage, getStatusMessage): removed.
2202 * FuncStatus.C (message): new methods. Used to provide an error
2203 message indicating why a command is disabled.
2204 (clear, |=, FuncStatus): update for message.
2206 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2208 * lyxfunc.C (dispatch): always call sendDispatchMessage
2210 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2213 * BufferView_pimpl.C:
2218 * cursor_slice.[Ch]:
2221 * paragraph_funcs.C:
2227 * undo.C: par->pit renaming
2229 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2231 * tabular.C (cellstruct): use initialization, store a shared_ptr
2232 to insettext instead of the insettext directly, adjust to fit.
2233 (operator=): new function
2234 (swap): new function
2235 (rowstruct): use initialization
2236 (columnstruct): use initialization
2237 (ltType): use initialization
2240 * lyxlength.h (swap): new function
2242 * LColor.[Ch] (operator=): use the common semantics
2244 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2246 * lyxfind.C (findNextChange): update the bufferview after setting
2249 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2251 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2252 number of InsetOptArgs has already been inserted.
2254 * output_latex.C (latexOptArgInsets): new method. This outputs all
2255 the optarg insets, up to the limit defined in the layout file.
2256 (optArgInset): removed
2257 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2259 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2261 * paragraph.C (isLetter): remove special spellchecker-related
2262 code; return true also for digits
2263 (isWord, isKomma): remove
2265 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2266 * lyxfind.C (MatchString()): use isLetter instead of isWord
2268 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2270 * pariterator.h (operatir=): comment out un-implemented member
2273 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2276 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2278 * lyxfont.h: include LColor.h to satisfy concept checks.
2280 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2282 * pariterator.h: add typdefs for value_type, difference_type,
2283 pointer and reference to satisfy concept checks. Also add default
2284 constructor for same reason.
2286 * pariterator.C (operator++): add post-increment operator to
2287 satisfy concept checks.
2289 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2292 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2294 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2295 checks. Also rename base_type to BaseType to follow naming
2298 * FloatList.h: include Floating.h to satisfy concept checks.
2300 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2302 * lyxfunc.C (getStatus): when the origin of the request is menu or
2303 toolbar, and the LyXView does not have focus, do as if there was
2304 no buffer (bug 1720)
2306 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2307 FuncRequest to individual entries of LFUN_SEQUENCE
2309 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2311 * output_latex.C (TeXOnePar): override runparams.moving_arg
2312 according to the needprotect value of the current paragraph (bug
2315 * paragraph.C (simpleTeXOnePar): no need to override
2316 runparams.moving_args here
2318 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2320 * vspace.C: fix off-by-one-error, related to fix #1682
2322 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2324 * lengthcommon.C: a more general fix for bug 1682
2326 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2328 * text.C (backspace): fix crash
2330 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2332 * format.[Ch] (getFormatFromFile): new method
2333 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2335 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2337 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2339 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2341 * lyxfunc.C (dispatch): remove the verbose argument
2342 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2345 * kbmap.C (defkey): set the origin of func to KEYBOARD
2347 * MenuBackend.C (MenuItem):
2348 * ToolbarBackend.C (add): set the origin of func to UI
2350 * funcrequest.[Ch]: add origin member, which indicates which part
2351 of LyX requests an action
2353 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2355 * converter.C (move): don't lie in the error message
2356 * converter.h (isReachable, move): document
2358 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2360 * buffer.C: remove unused using lyx::support::atoi
2361 * paragraph_funcs.C: ditto
2363 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2365 * bufferlist.C (exists): use bind and equal_to instead of
2368 * lyxtextclasslist.C (NumberOfClass): ditto
2370 * cursor.C (insert): use for_each instead of explicit for loop
2372 * bufferlist.C (getFileNames): use std::transform and
2373 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2375 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2378 * buffer.C (changeLanguage): use for_each instead of explicit for
2380 (hasParWithID): implement using getParFromID
2382 * LaTeXFeatures.C: ws change only
2384 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2387 * BufferView_pimpl.C (trackChanges): use for_each instead of
2390 2004-11-04 André Pönitz <poenitz@gmx.net>
2393 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2395 * dociterator.C (asDocIterator): use hard assert again.
2397 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2399 * lyxlength.C (asLatexString): rewrite so that it does not use
2402 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2404 * text3.C (specialChar, dispatch): make sure cursor moves to the
2405 right after inserting an inset
2407 2004-11-02 José Matos <jamatos@lyx.org>
2409 * output_docbook.C (docbook):
2410 * paragraph.C (getID):
2411 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2412 garantee that the output is always legal.
2414 * tabular.C (docbook):
2415 * outputprams.[Ch]: remove mixed contents.
2417 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2419 * text2.C (setCounter): prevent endless loop
2421 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2423 * exporter.C (copyFile): use the mover instead of support::copy()
2424 * exporter.C (Export): pass format and latex name to copyFile()
2425 * exporter.h (addExternalFile): document
2426 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2428 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2430 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2432 2004-10-30 José Matos <jamatos@lyx.org>
2434 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2435 text and no inset or font change. This allows to use CDATA
2436 sections just for the whole paragraph.
2438 2004-10-30 José Matos <jamatos@lyx.org>
2440 * paragraph.C (getFirstWord): remove unused variable.
2442 2004-10-30 José Matos <jamatos@lyx.org>
2444 * paragraph.C (getFirstWord): the content should always be escaped
2446 (simpleDocBookOnePar):
2447 * output_docbook.C (makeEnvironment): replace reference to CDATA
2450 2004-10-30 José Matos <jamatos@lyx.org>
2452 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2454 2004-10-30 José Matos <jamatos@lyx.org>
2456 * output_docbook.C (makeParagraphs):
2457 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2458 standard paragraph has only a given type of content drop the wrapper.
2460 2004-10-29 José Matos <jamatos@lyx.org>
2462 * output_docbook.C (makeEnvironment):
2464 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2466 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2468 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2469 (cleanID): sanitize any id.
2471 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2473 * buffer.C, lyxlex_pimpl.C:
2474 * lyxlex_pimpl.C (setFile):
2475 s/getExtFromContents/getFormatFromContents/
2477 2004-10-28 José Matos <jamatos@lyx.org>
2479 * output_docbook.C (makeEnvironment): move id to broadest possible
2482 * sgml.C (openTag): apply substitution of <> for all attributes.
2484 2004-10-28 José Matos <jamatos@lyx.org>
2486 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2487 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2488 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2490 * sgml.[Ch]: new version for open and closeTag for paragraph and
2491 for strings. Now they handle the ids of paragraphs.
2493 2004-10-26 Angus Leeming <leeming@lyx.org>
2495 * Makefile.am: add mover.[Ch].
2497 * converter.C (convert, move): use the new Movers to move external
2498 files to the temp directory.
2500 * lyx_main.C (init): ensure that the global system_movers data
2503 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2506 * mover.[Ch]: new files, defining a Mover as a utility to move an
2507 external file between directories and, if necessary, manipulate this
2508 file using a helper script.
2510 2004-10-25 José Matos <jamatos@lyx.org>
2512 * output_docbook.C (makeCommand): merge two if's that tested the
2515 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2517 * sgml.C (escapeString): fix warning in a better way
2519 2004-10-25 José Matos <jamatos@lyx.org>
2521 * sgml.C (escapeString): import the require boosts header file for
2522 tie, and avoid a signed unsigned comparison.
2524 2004-10-25 José Matos <jamatos@lyx.org>
2526 * sgml.h: add #include <string>
2528 2004-10-25 José Matos <jamatos@lyx.org>
2530 * sgml.[Ch] (escapeString): new function to escape all the string.
2532 2004-10-24 José Matos <jamatos@lyx.org>
2534 * paragraph.[Ch] (getFirstWord): new function to get the first
2535 word. Useful for description.
2536 (simpleDocBookOnePar): remove depth argument, add another that
2537 says where to start the paragraph.
2539 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2540 use the new functions to fix cleanly the support for descriptions.
2542 2004-10-24 José Matos <jamatos@lyx.org>
2544 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2545 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2546 * output_linuxdoc.C (linuxdocParagraphs):
2547 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2548 add buffer as argument.
2550 2004-10-24 José Matos <jamatos@lyx.org>
2552 * output_docbook.C (makeEnvironment, searchEnvironment): place
2553 CDATA inside paragraphs and fix scope for listitems.
2555 2004-10-24 José Matos <jamatos@lyx.org>
2557 * output_docbook.C: remove using statement for stack.
2559 2004-10-23 José Matos <jamatos@lyx.org>
2561 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2562 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2563 docbook. The new scheme is recursive and makes use of iterators, the
2564 same as latex export works.
2565 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2566 directly with the paragraph contents. This code was moved up to
2567 output_docbook.C (docbookParagraphs).
2568 * sgml.C (openTag, closeTag): removed unneeded newlines.
2569 (closeEnvTags) removed.
2571 2004-10-23 André Pönitz <poenitz@gmx.net>
2573 * undo.C (textUndoOrRedo):
2574 * dociterator.C (asDocIterator): work around crash
2576 * cursor.C (getStatus): replace ASSERT by more verbose error message
2577 and manual correction of the problem. Should increase stability
2578 while providing more sensible information.
2580 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2582 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2584 * bufferlist.C (previous, next): new methods
2587 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2589 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2591 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2592 entities to preamble.
2594 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2596 * messages.C (Pimpl): strip off translation context information
2598 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2600 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2601 the cursor is correct (bug 1694)
2603 2004-10-13 José Matos <jamatos@lyx.org>
2605 * output_docbook.C (docbookParagraphs): fix closing tags in the
2606 end of the document.
2608 2004-10-09 José Matos <jamatos@lyx.org>
2610 * buffer.C: format up to 237.
2611 * bufferparams.C (write): use tostr to convert booleans to strings.
2613 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2615 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2617 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2619 * LaTeX.C: implement use of babel language in xindy.
2621 2004-10-05 José Matos <jamatos@lyx.org>
2623 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2624 Add new translators to help reading and writing the lyx file.
2626 2004-10-05 José Matos <jamatos@lyx.org>
2628 * ParagraphParameters.C (read):
2629 * text.C (readParToken): replace nexToken by more appropriate lex
2632 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2634 * LaTeX.C (runMakeIndex):
2635 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2636 (usually 'makeindex') configurable.
2638 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2639 with a variable rather than with a number.
2641 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2643 * output_latex.C (TeXOnePar): make sure font setting is the first
2644 thing that gets output (and the last at the end). Should fix bug
2647 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2649 * pch.h: use proper signal include
2651 * LaTeX.h: Use preferred calling of Boost.Signal
2654 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2656 * pch.h: dont include <boost/function/function0.hpp>
2658 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2660 * paragraph_pimpl.h: remove usage of ShareContainer
2662 * paragraph_pimpl.C: remove initialization of ShareContainer.
2664 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2668 * BufferView.C (putSelectionAt): change the semantics when
2669 backwards == true: now, this just swaps cursor and anchor wrt the
2672 * BufferView.h (putSelectionAt): add some documentation
2674 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2675 make sure backwardChar is done at least once (to avoid getting
2677 (findNextChange): use putSelectionAt in the forward direction
2678 (operator()): use Paragraph::isWord
2680 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2682 * Spacing.C (set): c_str fix
2684 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2686 * lyx_cb.C (Reconfigure): quote the name of configure script in
2687 case it contains spaces
2689 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2693 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2694 (BOOST_LIBS): use top_buildir when looking for the file
2696 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2698 * pch.h: do not use include boost/format.hpp, multiple symbols
2699 will result (gcc bug)
2702 2004-08-23 José Matos <jamatos@lyx.org>
2704 * bufferparams.C (readToken): fix reading of the author field.
2706 2004-08-20 José Matos <jamatos@lyx.org>
2708 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2710 2004-08-20 José Matos <jamatos@lyx.org>
2712 * lyxlex.[Ch] (findToken): remove function.
2714 * ParagraphParameters.C (findToken):
2715 * bufferparams.C (findToken): replace call for previous function
2716 with local copy. This local function has one more argument, the
2717 read string argument.
2719 2004-08-16 José Matos <jamatos@lyx.org>
2721 * ParagraphParameters.C (write):
2722 * Spacing.C (writeFile):
2723 * bufferparams.C (writeLaTeX):
2724 * lyx_cb.C (Reconfigure):
2725 * paragraph.C (write):
2726 * tabular.C (write): remove unnecessary space at end of line.
2729 2004-08-16 José Matos <jamatos@lyx.org>
2731 * text.C (readParagraph): remove debug message.
2733 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2735 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2738 * output_plaintext.C (asciiParagraph): set depth correctly
2740 * outputparams.h: add member depth
2742 * paragraph_funcs.C (ownerPar): remove.
2744 * text2.C (setCounter): remove first_pit; comment out some
2745 non-working code that uses ownerPar
2747 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2750 2004-08-16 José Matos <jamatos@lyx.org>
2752 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2753 For the same level of importance use the same chanel to report problems.
2754 (read): add code to deal with \begin_body and \end_body.
2757 2004-08-15 José Matos <jamatos@lyx.org>
2759 * lyxlex.C (getString): fix comment, buffer::readBody is now
2760 buffer:readDocument.
2762 * tex-strings.C (string_papersize): Default -> default,
2763 Custom -> custom, for consistency with other options.
2765 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2769 * Makefile.am: support pch
2771 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2773 * text.C (readParToken): remove the static LyXFont variable and
2774 pass it as a parameter instead. This fixes a nasty bug where an
2775 inset will be inserted with a bad font in some situations
2776 (readParagraph): adapt
2778 * text2.C (setCounter): reduce number of calls to pars_[pit]
2780 * text.C (singleWidth): add an assert, fix a test
2782 * rowpainter.C (paintText): reduce number of calls to singleWidth
2784 * paragraph.C (isHfill):
2785 (isNewline): ws only
2787 2004-08-14 André Pönitz <poenitz@gmx.net>
2792 * lyxtext.h (several functions): use a Paragraph & argument
2795 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2797 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2799 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2801 * text.C (singleWidth): remove useless test
2803 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2805 * tabular.h: remove bogus comments
2807 * tabular.C (getDescentOfRow):
2808 (isPartOfMultiColumn): add assertions
2810 * lyxlength.C (inPixels): remove #warning
2812 2004-08-14 André Pönitz <poenitz@gmx.net>
2814 * paragraph.h: inline getChar()
2816 * BufferView.h: remove unused declarations
2818 2004-08-14 José Matos <jamatos@lyx.org>
2820 * Buffer.[Ch] (readDocument): new name for old readBody.
2821 * Buffer.C: new file format, new keywords: \begin_document,
2822 \begin_header, \begin_body, \end_body.
2824 * bufferparams.C (readToken): replace all calls to lex.nextToken
2825 by lex.next(). Do the same to eatLine except where really needed.
2827 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2828 line when writing to the lyx file.
2830 * output_plaintext.C (asciiParagraph): fix Bibliography style
2833 * text.C (read): fix end of file handling.
2835 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2837 * MenuBackend.C (Menu::operator[]): new method to access
2838 individual menu items
2839 (Menu::hasFunc): new method. search for an item that corresponds
2841 (MenuBackend::specialMenu): new method
2842 (MenuBackend::expand): if a special menu has been set, skip
2843 entries whose func() appears in this menu
2845 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2847 * text3.C: use Debug::DEBUG a bit more
2849 * text.C (leftMargin): try to simplify a tiny bit change var x to
2850 l_margin. Dont output the wide margins always.
2851 (rightMargin): no margin in inner texts
2853 * rowpainter.h (nestMargin): new func
2854 (changebarMargin): new func
2855 (rightMargin): new func
2857 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2861 * factory.C (createInset): modify setDrawFrame
2863 * cursor.C: use Debug::DEBUG a bit more
2865 2004-08-14 André Pönitz <poenitz@gmx.net>
2868 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2869 cache for all insets in (at least partially) visible (top-level)
2872 * BufferView_pimpl.C: reset external coord cache before every update.
2873 This means the coord cache only contains valid entries.
2875 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2878 * BufferView_pimpl.C (getInsetByCode): move function out of class
2879 and change in to a template in anon namespace. Also fix to do what
2882 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2885 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2887 (breakParagraph): rename par to par_offset and use a local
2888 reference. Add code to keep the language over a rebreak.
2889 (breakParagraphConservative): rename par to par_offset, use a
2891 (mergeParagraph): ditto
2893 (isFirstInSequence): ditto
2894 (outerFont): rename pit to par_offset
2896 * paragraph.C: ws change
2897 * paragraph.h: ditto
2901 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2903 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2906 * paragraph.C (simpleTeXOnePar): when we have a \item with
2907 optional argument, enclose the argument with curly brackets (in
2908 case it contains a closing square bracket)
2912 * text3.C (checkInsetHit): constify
2914 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2916 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2917 documents (bug 1629)
2919 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2921 Fix toggling of collapsable insets with the mouse (bug 1558)
2923 * lyxfunc.C (dispatch): adapt to LCursor changes
2925 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2926 make sure that dispatch is not invoked twice
2928 * cursor.C (needsUpdate): new method
2929 (dispatch): return void
2930 (result): new method, to access the DispatchResult of the cursor.
2932 2004-08-13 José Matos <jamatos@lyx.org>
2934 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2936 2004-08-13 André Pönitz <poenitz@gmx.net>
2938 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2940 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2943 2004-08-12 André Pönitz <poenitz@gmx.net>
2945 * text3.C: take out the 'cursor right' form insertInset and only
2946 do it in those places when it is really needed. Fixes crash on
2949 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2951 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2953 * BufferView_pimpl.C (setBuffer): initialize the current font of
2954 the underlying LyXText
2956 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2958 * kbsequence.C (print): use UI native formatting for menu
2961 * text.C (insertChar): call Paragraph::insertChar with a font
2964 * paragraph.C (insertInset, insertChar): the version that takes a
2965 LyXFont argument is now a wrapper around the other one (the
2966 opposite used to be true).
2968 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2969 argument. Font setting is done in Paragraph now.
2971 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2973 * outputparams.h: add new members intitle and lang.
2975 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2976 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2978 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2980 * text3.C (dispatch): remove special handling of button 4 and 5,
2981 it is now taken care of in the frontend code.
2983 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2985 * Spacing.h: add <string> (STLPort compile fix)
2987 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2989 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2991 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2993 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2996 * converter.C (showMessage): inherit from unary_function, make
2999 * buffer.C (writeFile): initialize retval
3001 * InsetList.h: rename private variable list to list_
3002 * InsetList.[Ch]: adjust accordingly.
3004 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3006 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3007 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3008 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3009 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3010 * ParagraphParameters.C, LaTeXFeatures.C: replace
3011 "support/std_sstream.h" with <sstream>
3013 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3015 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3016 * lyxsocket.C (LyXServerSocket): ditto
3017 (serverCallback): ditto
3019 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3021 * LaTeXFeatures.C: check release date when loading jurabib.
3023 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3025 * lyxserver.C (startPipe): call register_socket_callback
3026 (endPipe): call unregister_socket_callback
3028 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3030 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3031 (LyXServerSocket): register the callback
3032 (LyXServerSocket): unregister the callback
3033 (fd): delete function
3034 (serverCallback): improve error checking and setup the callbacks.
3035 (dataCallback): change arg to fd.
3036 (writeln): new func (copied fro the client socket) used for server
3038 (LyXDataSocket): simplify
3039 (~LyXDataSocket): close ann unregiser callback
3040 (server): delete function
3041 (fd): delete function
3042 (readln): small changes, improve some std::string usage
3043 (writeln): constify a bit
3045 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3047 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3050 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3052 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3053 after it has been populated
3055 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3057 * text2.C (insertInset): move cursor when inserting inset.
3059 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3061 * kbmap.C (findbindings): a couple of new methods. returns a
3062 container of kb_sequence objects. The real work is done by the
3063 private recursive version
3064 (printbindings): uses findbindings to print out a bracketed list
3065 of bindings (renamed from findbinding).
3067 * MenuBackend.C (binding): use kb_keymap::findbindings
3069 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3071 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3073 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3075 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3077 * paragraph.C (isWord): return true on insets that report
3080 * text.C (getWord): use Paragraph::isWord to decide what is in a
3081 word and what is not; fix bug 1609.
3083 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3085 * tex-strings.C: add "none" to string_paperpackages[], fixes
3086 off-by-one-error in the paperpackage selection.
3089 * tex-strings.[Ch]: char const * string[n]
3090 -> char const * const string[]
3092 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3094 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3095 command, return early.
3097 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3099 * debug.h: add DEBUG to enum and fix size of ANY.
3101 * debug.C: add support for Debug::DEBUG
3102 (showTags): cast errorTags.level to unsigned int
3104 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3105 (redoCurrentBuffer): ditto
3106 (updateScrollbar): ditto
3107 * cursor.C (dispatch): ditto
3108 * text2.C (setLayout): ditto
3110 (updateCounters): ditto
3112 (deleteEmptyParagraphMechanism): ditto
3114 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3116 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3117 annotations to cleanup the Makefile slightly.
3119 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3121 * lyxrc.C: do not set user_email to a default value but use empty
3122 instead. The entry used to be translated, which does not work
3123 since at the point where lyxrc is constructed there is no
3124 translation service available
3126 * messages.C (getLocaleDir): remove and use directly
3127 lyx_localedir() instead
3129 2004-06-02 Angus Leeming <leeming@lyx.org>
3131 Fix crash caused by dereferencing null pointer 'exportdata' in
3132 OutputParams by creating a new ExportData variable on the heap,
3133 storing it in a boost::shared_ptr.
3134 The crash was triggered when generating an Instant Preview
3135 of an external inset.
3137 * Makefile.am: add outputparams.C
3139 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3140 (c-tor): allocate memory to it.
3142 * exporter.C (c-tor): associated changes.
3144 2004-06-01 Angus Leeming <leeming@lyx.org>
3146 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3147 contains data before calling isInset(0). (Bug 1513.)
3149 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3151 * exporter.C (checkOverwrite): new method
3152 * exporter.C (copyFile): new method
3153 * exporter.C (Export): copy referenced files to the document dir
3154 * exporter.[Ch]: new class ExportedFile
3155 * exporter.[Ch]: new class ExportData. Contains currently the
3156 names of referenced external files
3157 * outputparams.h: add exportdata member.
3159 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3161 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3164 2004-05-19 Angus Leeming <leeming@lyx.org>
3169 * lyxfunc.C: small changes due to the introduction of namespace
3170 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3172 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3174 * text3.C (dispatch): supress update when only moving the cursor
3175 * cursor.C (selHandle): remove commented code
3177 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3179 * paragraph.C (startTeXParParams): correct column count
3180 * CutAndPaste.C (pasteSelection): remove const_cast
3181 * output_docbook.C (docbookParagraphs): remove const_cast
3182 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3183 const_cast and return ParagraphList::const_iterator
3184 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3185 * output_plaintext.C (writeFileAscii): remove const_cast
3186 * paragraph.[Ch] (simpleTeXOnePar): make const
3187 * paragraph_funcs.C (outerPar): use const iterators
3188 * paragraph_pimpl.C (validate): use const iterators
3189 * text.C (setHeightOfRow): use const iterators
3191 2004-05-17 Angus Leeming <leeming@lyx.org>
3194 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3196 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3197 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3198 if the citation engine has changed.
3200 2004-05-14 José Matos <jamatos@lyx.org>
3202 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3203 if the textclass does not provide it. Have it different for sgml and
3205 support the language of document.
3206 * output_docbook.C (docbookParagraphs):
3207 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3208 first anchor as the id of the paragraph, remove special case code.
3209 * sgml.C (escapeChar): escape only < & >.
3211 2004-05-14 Angus Leeming <leeming@lyx.org>
3213 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3214 dependencies on src/frontends/controllers/biblio.h. Define a
3215 CiteEngine_enum wrapper class to enable the enum to be forward
3218 2004-05-12 Angus Leeming <leeming@lyx.org>
3220 * buffer.C: up LYX_FORMAT to 234.
3221 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3222 use_numerical_citations with a single biblio::CiteEngine cite_engine
3224 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3226 2004-05-13 José Matos <jamatos@lyx.org>
3229 * converter.C (Converter, readFlags): add xml member.
3230 * outputparams.h: add XML flavor.
3231 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3233 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3235 * lyxfunc.C (dispatch):
3236 (getStatus): fix handling of LFUN_SEQUENCE
3238 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3240 * debug.C (showLevel): do not forget the end-of-line marker
3242 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3244 * kbmap.C (read): do not stop parsing a bind file when an error
3247 2004-04-29 Angus Leeming <leeming@lyx.org>
3252 * text2.C: wrap a bunch of #warning statements
3253 inside #ifdef WITH_WARNINGS blocks.
3255 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3257 * buffer.C: increment format to 233.
3259 2004-04-28 Angus Leeming <leeming@lyx.org>
3261 * BufferView_pimpl.C:
3264 s/updateToolbar()/updateToolbars()/
3265 s/Toolbar.h/Toolbars.h/
3267 2004-04-28 Angus Leeming <leeming@lyx.org>
3269 * BufferView.[Ch] (c-tor):
3270 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3271 No longer passes these data to the WorkArea generator.
3273 2004-04-28 Angus Leeming <leeming@lyx.org>
3275 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3277 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3279 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3281 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3283 * output_latex.C (TeXEnvironment): make sure that there is a line
3284 break before \end{foo} for the last paragraph of a document
3285 (TeXOnePar): if the paragraph is at the end of the document (or
3286 inset) and the language has to be reset, then make sure that the
3287 line break is _before_ the language command, not after (fixes bug
3288 1225); also make sure that the language reset command is the first
3289 thing after the paragraph (to ensure proper nesting of
3290 environments and thus fix bug 1404)
3292 2004-04-21 John Levon <levon@movementarian.org>
3295 * ToolbarBackend.C: make "name" be a programmatic name
3296 and a gui_name field.
3298 * lyxfunc.C: display the minibuffer on M-x
3300 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3302 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3305 2004-04-19 Angus Leeming <leeming@lyx.org>
3307 * BufferView_pimpl.C (setBuffer): changed preview interface.
3309 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3312 2004-04-19 John Levon <levon@movementarian.org>
3314 * BufferView_pimpl.C:
3315 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3317 2004-04-05 Angus Leeming <leeming@lyx.org>
3319 * text.C (redoParagraphs): add call to updateCounters(), thereby
3320 fixing the missing "Figure #:" label from the caption of a
3323 2004-04-13 Angus Leeming <leeming@lyx.org>
3325 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3326 cursor is clicked out of an inset.
3328 2004-04-13 Angus Leeming <leeming@lyx.org>
3330 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3331 than an InsetOld one.
3333 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3335 * format.[Ch]: add editor to Format
3336 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3337 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3339 2004-04-08 André Pönitz <poenitz@gmx.net>
3341 * metricsinfo.h: remove PainterInfo::width member
3343 2004-04-08 Angus Leeming <leeming@lyx.org>
3345 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3346 "\providecommand" rather than "\newcommand", thereby preventing
3347 clashes with packages that define "\boldsymbol" themselves.
3350 2004-04-08 Angus Leeming <leeming@lyx.org>
3352 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3353 thereby squashing an unnecessary warning.
3355 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3357 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3360 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3362 * BufferView.C (setCursor): call redoParagraph (some insets could
3364 (putSelectionAt): remove the 'double update' trick
3366 * BufferView_pimpl.C (fitCursor): call refreshPar
3367 (workAreaDispatch): remove an uneeded update call
3368 (dispatch): remove some manual update calls
3370 * cursor.[Ch]: remove cached_y_, updatePos
3371 (selHandle): set noUpdate when appropriate
3373 * lyxfunc.C (dispatch): track if we need an update
3375 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3377 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3378 (paintSelection): cheap optimization, do not call cursorX when not
3380 (paintPars): change signature
3383 (paintTextInset): adjust
3387 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3389 * lengthcommon.C: compilation fix: remove explicit array size from
3390 unit_name[] and friends
3392 2004-04-05 Angus Leeming <leeming@lyx.org>
3394 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3396 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3397 present only for the preferences dialog.
3398 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3400 2004-04-05 Angus Leeming <leeming@lyx.org>
3402 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3403 to enable the frontends to export changes to lyxrc correctly.
3405 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3407 2004-04-07 André Pönitz <poenitz@gmx.net>
3409 * cursor.[Ch] (selClear, adjust): remove math
3411 * cursor_slice.C: more agressive assert
3414 * BufferView_pimpl.C: rework mouse event dispatch
3421 2004-04-05 André Pönitz <poenitz@gmx.net>
3423 * cursor.[Ch] (valign, halign...): remove unneeded functions
3425 2004-04-05 Angus Leeming <leeming@lyx.org>
3427 * lyxlength.[Ch] (unit_name et al.): const-correct.
3429 2004-04-05 Angus Leeming <leeming@lyx.org>
3431 * BufferView_pimpl.C:
3440 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3442 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3444 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3446 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3448 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3449 * BufferView_pimpl.[Ch] (getStatus)
3450 * BufferView.[Ch] (getStatus): add
3451 * lyxfunc.C (getStatus): move lfuns handled in
3452 BufferView::dispatch to te function above
3453 * Cursor.C (setSelection): set selection() = true
3455 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3457 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3459 2004-03-31 Angus Leeming <leeming@lyx.org>
3461 * lyxfunc.C (dispatch): Fall through to the generic
3462 Dialogs::show("preamble").
3464 2004-03-31 Angus Leeming <leeming@lyx.org>
3466 * lyxfunc.C (dispatch): Fall through to the generic
3467 Dialogs::show("spellchecker").
3469 2004-03-31 Angus Leeming <leeming@lyx.org>
3471 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3474 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3479 * insetiterator.[Ch]:
3484 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3486 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3488 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3489 insets where we are putting the cursor.
3491 2004-03-31 Angus Leeming <leeming@lyx.org>
3494 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3496 * lyxrc.[Ch] (read, write): overloaded member functions taking
3497 a std::[io]stream arguments.
3499 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3501 2004-03-31 Angus Leeming <leeming@lyx.org>
3503 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3504 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3506 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3507 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3509 2004-03-31 Angus Leeming <leeming@lyx.org>
3511 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3512 the LFUN_ALL_INSETS_TOGGLE code.
3514 2004-03-30 Angus Leeming <leeming@lyx.org>
3516 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3517 has died. Fall through to the generic Dialogs::show("document").
3519 2004-03-30 Angus Leeming <leeming@lyx.org>
3522 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3523 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3525 * lyxfunc.C (getStatus, dispatch): define the actions for these
3526 lfuns. Little more than a cut and pste job from ControlDocument.C
3528 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3530 2004-03-30 Angus Leeming <leeming@lyx.org>
3533 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3534 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3536 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3537 open/closed state of ollapsable insets. Usage:
3539 all-inset-toggle <state> <name>, where
3540 <state> == "open" || "closed" || "toggle" and
3541 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3543 * lyxtext.h, text2.C (toggleInset): removed.
3545 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3546 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3547 now passes LFUN_INSET_TOGGLE to the found inset.
3549 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3550 is now invoked as "all-insets-toggle toggle branch".
3552 2004-03-30 Angus Leeming <leeming@lyx.org>
3556 * pariterator.[Ch]: added/corrected header blurb.
3558 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3560 * dociterator.[Ch]: add an inset_ member
3561 (backwardPos): implemented
3562 (backwardPos, forwardPos): use inset_ when the stack is empty.
3563 (doc_iterator_begin, doc_iterator_end): implemented
3564 * pariterator.[Ch]: adjust, add begin, end
3565 * insetiterator.[Ch]: adjust, add begin, end
3569 * BufferView_pimpl.C:
3570 * CutAndPaste.C: adjust
3572 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3574 * buffer.C: increment file format to 232.
3575 * LaTeXFeatures.C: add bibtopic package.
3576 * bufferparams.[Ch]: param \use_bibtopic.
3578 * lyxrc.[Ch]: add lyxrc bibtex_command
3579 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3581 * buffer.C: increment file format to 231.
3583 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3585 * dociterator.C: implement forwardPar
3586 * iterators.[Ch]: remove, replaced by
3587 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3589 * BufferView_pimpl.C:
3592 * bufferview_funcs.C:
3598 * Makefile.am: adjust
3600 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3602 * CutAndPaste.C (pasteSelection): fix 2 crashes
3603 (eraseSelection): fix a crash
3604 * paragraph_funcs.C: remove a warning
3606 2004-03-28 Angus Leeming <leeming@lyx.org>
3609 * LyXAction.C (init): new LFUN_PRINT.
3611 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3613 2004-03-27 Angus Leeming <leeming@lyx.org>
3616 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3618 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3620 2004-03-27 Angus Leeming <leeming@lyx.org>
3622 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3623 insetlist always contains non-null pointers to insets.
3625 2004-03-26 Angus Leeming <leeming@lyx.org>
3627 * src/BufferView_pimpl.C:
3628 * src/CutAndPaste.C:
3631 * src/output_plaintext.C:
3632 * src/outputparams.h:
3633 * src/paragraph_funcs.C:
3637 * src/frontends/controllers/ControlErrorList.C:
3638 * src/frontends/gtk/FileDialogPrivate.C:
3639 * src/frontends/gtk/GPainter.C:
3640 * src/frontends/gtk/GToolbar.C:
3641 * src/frontends/qt2/QRef.C:
3642 * src/mathed/math_scriptinset.C: squash compiler warnings.
3644 2004-03-26 Angus Leeming <leeming@lyx.org>
3646 * ispell.C (LaunchIspell::start):
3647 * lyx_cb.C (AutoSaveBuffer::start):
3648 invoke run(DontWait) rather than runNonBlocking().
3650 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3652 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3654 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3656 * kbsequence.C (print): adjust
3658 * kbmap.C (printKeySym): rename and change signature
3659 (printKey): use LyXKeySym::print()
3661 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3663 * undo.C: add using std::advance to compile for stlport
3665 2004-03-24 Angus Leeming <leeming@lyx.org>
3667 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3668 it leads to a crash when no buffer is present.
3670 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3671 Martin Vermeer <martin.vermeer@hut.fi>
3673 * lyxfunc.C (dispatch):
3674 * bufferparams.C (readToken): use the new LColor::setColor
3676 * LColor.[Ch] (setColor): new version that takes two strings as
3677 argument and creates a new color entry if necessary
3679 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3681 * buffer.C (makeLaTeXFile): if the main latex file that is
3682 processed is usually a subdocument of some master, then pretend
3683 for a while that it is actually the master
3685 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3687 * buffer.C (getLabelList):
3688 (getBibkeyList): use getMasterBuffer()
3689 (getMasterBuffer): new method. Returns the main document in the
3690 case where one is using included documents.
3692 2004-03-25 André Pönitz <poenitz@gmx.net>
3696 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3698 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3700 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3701 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3703 * ParameterStruct.h: merge with ParagraphParameters
3705 * lyxtext.h: remove LyXText::parOffset() and getPar()
3707 * text3.C: Remove all 'manual' update calls. We do now one per user
3708 interaction which is completely sufficient.
3712 * BufferView_pimpl.C:
3713 * FontIterator.[Ch]:
3715 * ParagraphParameters.[Ch]:
3720 * cursor_slice.[Ch]:
3727 * output_docbook.[Ch]:
3728 * output_latex.[Ch]:
3729 * output_linuxdoc.[Ch]:
3730 * output_plaintext.[Ch]:
3732 * paragraph_funcs.[Ch]:
3733 * paragraph_pimpl.[Ch]:
3741 * frontends/controllers/ControlDocument.C:
3742 * frontends/controllers/ControlErrorList.C:
3743 * frontends/controllers/ControlSpellchecker.C:
3746 * insets/insetbase.h:
3747 * insets/insetbibitem.C:
3748 * insets/insetbox.C:
3749 * insets/insetbranch.C:
3750 * insets/insetcaption.C:
3751 * insets/insetcharstyle.C:
3752 * insets/insetcharstyle.h:
3753 * insets/insetcollapsable.C:
3754 * insets/insetcollapsable.h:
3755 * insets/insetert.C:
3756 * insets/insetfloat.C:
3757 * insets/insetfoot.C:
3758 * insets/insetmarginal.C:
3759 * insets/insetnote.C:
3760 * insets/insetoptarg.C:
3761 * insets/insettabular.C:
3762 * insets/insettext.C:
3763 * insets/insettext.h:
3764 * insets/insetwrap.C:
3765 * mathed/math_mboxinset.C:
3766 * mathed/math_nestinset.C:
3767 * mathed/math_scriptinset.C:
3768 * mathed/math_scriptinset.h:
3771 2004-03-24 Angus Leeming <leeming@lyx.org>
3773 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3774 deal with any child processes that have finished but are waiting to
3775 communicate this fact to the rest of LyX.
3777 2004-03-24 Angus Leeming <leeming@lyx.org>
3779 64-bit compile fixes.
3781 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3782 (c-tor): pass lyx::pos_types rather than ints.
3784 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3787 * text.C (Delete): compile fix.
3788 (getPar): ensure that function declaration is the same as that in
3791 2004-03-23 Angus Leeming <leeming@lyx.org>
3793 * ispell.C (LaunchIspell):
3794 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3795 a boost::shred_ptr rather than a std::auto_ptr.
3797 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3799 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3800 handle LFUN_FILE_INSERT_*
3802 * lyxrc.C (setDefaults, getDescription, output, read):
3803 * lyxrc.h: remove ps_command
3805 2004-03-22 Angus Leeming <leeming@lyx.org>
3807 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3808 Ensure that error_handler is processed once only and that all data
3809 is saved before attempting to output any warning messages.
3811 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3813 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3815 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3817 2004-03-19 André Pönitz <poenitz@gmx.net>
3819 * cursor.[Ch] (reset): take main text inset as argument
3821 * BufferView: adjust
3822 * BufferView_pimpl.C: adjust
3824 * paragraph.[Ch]: fix completely broken operator=()
3826 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3828 * LColor.C (getFromLyXName): make sure that the color name is used
3831 2004-03-17 Angus Leeming <leeming@lyx.org>
3834 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3836 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3837 dialog and to kill a forked process.
3839 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3841 * text2.C (setCursorFromCoordinates): fix font problem
3843 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3845 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3846 bogus "rebuild cursor" code
3848 2004-03-11 André Pönitz <poenitz@gmx.net>
3850 * buffer.[Ch]: use InsetText instead of LyXText as container for
3853 * dociterator.[Ch]: drop the BufferView * member which is not needed
3854 anymore after the change to buffer.C
3856 * paragraph_funcs.C:
3860 * BufferView_pimpl.[Ch]:
3862 * cursor_slice.[Ch]: adjust
3864 * text3.C: fix bug in mathDispatch
3866 2004-03-08 André Pönitz <poenitz@gmx.net>
3868 * undo.[Ch]: use 'StableDocumentIterator' as base for
3871 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3874 * bufferparams.[Ch]: add jurabib support and param.
3876 * LaTeX.C: add FIXME/comment.
3878 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3880 * buffer.C: increment file format to 230.
3882 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3884 * cursor.C (dispatch): avoid infinite loops
3886 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3888 * rowpainter.C (paintSelection): fix x coordinates
3890 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3892 * text.C (rowBreakPoint): fix breaking before displayed insets
3894 2004-03-01 André Pönitz <poenitz@gmx.net>
3896 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3898 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3902 * BufferView_pimpl.C:
3910 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3916 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3917 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3919 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3921 * Bidi.[Ch] (computeTables): const correctness
3922 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3923 fill_hfill, fill_label_hfill and x from Row
3924 * lyxtext.h: prepareToPrint returns a RowMetrics
3925 * rowPainter.C: adjust
3926 * text.C (prepareToPrint): use width, not textWidth. adjust
3927 (redoParagraphInternal, cursorX): adjust
3928 * text2.C (getColumnNearX): adjust
3929 (init): put a default value to the top LyXText::width
3931 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3933 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3935 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3937 * lyxtext.h: add FontIterator class
3939 * text.C (FontIterator, operator*, operator->, operator++): add
3940 (rowBreakPoint, setRowWidth): adjust (fixing a
3943 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3945 * BufferView_pimpl.C (workAreaDispatch): allow also
3946 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3948 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3950 * text.C (rowBreakPoint): fix a bug showing with very large insets
3952 2004-02-25 André Pönitz <poenitz@gmx.net>
3955 * cursor.[Ch]: move some mathed specific code to mathed
3957 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3959 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3960 use_tempdir in preferences
3961 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3963 * lyx_main.C: ensure that tempdir is valid
3964 * lyxlex.h: correct typo
3965 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3966 * paragraph.[Ch] (isMultiLingual): make const
3967 * cursor.[Ch] (openable): make const
3969 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3971 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3973 2004-02-20 André Pönitz <poenitz@gmx.net>
3975 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3977 * cursor.[Ch]: prepare for localized getStatus()
3983 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3985 2004-02-20 André Pönitz <poenitz@gmx.net>
3987 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3989 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3991 * text2.C (setCursorFromCoordinates): switch to absolute coords
3993 (cursorDown): adjust
3994 * text3.C (dispatch): adjust
3996 2004-02-16 André Pönitz <poenitz@gmx.net>
3998 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4001 * cursor_slice.[Ch]: remove unneeded acessor function
4003 * lyxtext.h: rename rtl() to isRTL()
4011 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4013 * rowpainter.C (paintSelection): coord fix
4015 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4017 * Spacing.C: compile fix
4019 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4021 * cursor.C (dispatch): restore current_ before returning
4023 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4025 * text2.C (cursorUp, cursorDown): fix coords
4028 2004-02-12 André Pönitz <poenitz@gmx.net>
4033 * text3.C: add LCursor & parameter to most cursor movement functions
4034 remove usage of LyXText::cursorRow() and cursorPar()
4036 * cursor.[Ch]: add textRow() needed members
4039 * BufferView_pimpl.C:
4042 * BufferView_pimpl.C: adjust
4044 2004-02-11 André Pönitz <poenitz@gmx.net>
4048 * BufferView_pimpl.C: shift undo/redo handling
4050 * cursor.[Ch]: fix mathed crash
4053 * lyxtext.h: move selectionAsText to LCursor
4061 * rowpainter.C: fix excessive drawing
4063 2004-02-06 André Pönitz <poenitz@gmx.net>
4066 * BufferView_pimpl.[Ch]:
4067 * text3.C: move some text specific LFUN handling
4069 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4071 * text3.C (checkInsetHit): adjust coords
4072 * text2.C (getColumnNearX): adjust coords
4073 (edit): adjust coords
4074 * text.C (getRowNearY): add two asserts
4076 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4079 * format.C: add using std::distance to compile on gcc 2.95/stlport
4081 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4083 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4085 2004-02-04 André Pönitz <poenitz@gmx.net>
4087 * BufferView.[Ch] (insertInset):
4088 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4093 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4095 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4096 on the default clause of the switch
4097 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4098 wasn't catched by LCursor::dispatch
4100 2004-02-03 André Pönitz <poenitz@gmx.net>
4103 * cursor.[Ch]: some additional asserts
4105 * undo.[Ch]: remove LyXText dependency in interface
4109 * lyxtext.h (firstPar, lastPar): remove dead functions
4114 * paragraph.[Ch]: adjust
4116 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4118 * lyxfind.C (find): fix argument order in call to ::find
4120 2004-02-02 André Pönitz <poenitz@gmx.net>
4122 * cursor.[Ch]: remove direct access to anchor
4124 * text.C: remove findText() hack
4126 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4128 * iterators.[Ch] (lockPath): remove in favour of...
4129 * BufferView.[Ch] (setCursor): this addition
4130 * BufferView.C (putSelectionAt): adjust
4131 * undo.C (performUndoOrRedo): adjust
4132 * lyxfunc.C (dispatch): adjust
4134 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4136 * iterators.C (lockPath): add a missing slice
4137 * undo.C (performUndoOrRedo): remove redundant positioning code
4139 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4141 * vc-backend.C (scanMaster): ";" -> ';'
4143 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4145 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4146 std::binary_function
4148 * lyxtextclass.C (compare_name): rename to...
4149 (LayoutNamesEqual): ...this
4151 * lyxlex_pimpl.C (compare_tags): inherit from
4152 std::binary_function, put back into anon namespace
4154 * lyxfind.C (MatchString): inherig from std::binary_function
4155 (findChange): use empty() istead of !size()
4157 * format.C (FormatNamesEqual): new functor
4164 * converter.C (compare_Converter): rename to...
4165 (ConverterEqual): ...this, and fixup a bit.
4166 (getConverter): use it, and make function const
4167 (getNumber): use it, and make function const
4171 * bufferlist.C: add using boost::bind
4173 * MenuBackend.C (MenuNamesEqual): new functor
4174 (hasMenu): use it, and make function const
4175 (hasSubmenu): use nested bind to get rid of compare_memfun.
4177 2004-01-30 André Pönitz <poenitz@gmx.net>
4179 * BufferView_pimpl.C:
4182 * cursor_slice.[Ch]:
4185 * paragraph_funcs.C:
4186 * paragraph_funcs.h:
4190 * text3.C: move some of the edit(x,y) handling to the insets
4191 some coordinate changes.
4193 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4195 * text.C: add using statements for std::advance and std::distance
4197 * paragraph.C: add using statement for std::distance
4199 * lyxfind.C: add using statement for std::advance
4201 * cursor.C (region): remove std:: from swap
4202 (openable): use nucleus in stead of operator->
4204 * BufferView.C: add using statements for std::distance and std::swap
4206 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4208 * iterators.C: Remove the pimple, move the needed structures to
4209 the header file. Create accessor for the positions stack.
4210 (asPosIterator): remove function
4212 * PosIterator.C (PosIterator): move constructors to top of file
4213 (PosIterator): reimplement the constructor taking a ParIterator in
4215 (setFrom): new function
4216 (operator!=): inline it
4218 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4220 * lyxfind.C (replaceAll): use std::advance
4222 * iterators.h: inherit from std::iterator.
4224 * PosIterator.C (advance, distance): remove
4225 * PosIterator.h: interit from std::iterator.
4227 2004-01-26 André Pönitz <poenitz@gmx.net>
4230 * BufferView_pimpl.[Ch]:
4234 * bufferview_funcs.C:
4244 * output_linuxdoc.C:
4245 * output_plaintext.C:
4247 * paragraph_funcs.[Ch]:
4248 * paragraph_pimpl.[Ch]:
4254 * text3.C: more IU: dumps most of the rest of the mathcursor
4255 implementation into cursor.[Ch]; "globalize" a bit of it.
4257 2004-01-25 Angus Leeming <leeming@lyx.org>
4259 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4261 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4263 * LaTeXFeatures.h: add nice_ and nice() const
4264 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4266 2004-01-20 André Pönitz <poenitz@gmx.net>
4269 * BufferView_pimpl.C:
4271 * bufferview_funcs.C:
4273 * cursor_slice.[Ch]:
4284 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4285 LCursor and mathcursor parts to LCursor and InsetBase.
4287 2004-01-15 André Pönitz <poenitz@gmx.net>
4289 * cursor_slice.[Ch]: add a few covienience functions
4291 * funcrequest.[Ch]: remove BufferView * member
4293 * BufferView_pimpl.C:
4300 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4302 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4304 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4305 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4307 2004-01-13 André Pönitz <poenitz@gmx.net>
4310 * lyxtext.h: hide cursor and selection anchor behind accessor function
4313 * BufferView_pimpl.[Ch]:
4315 * bufferview_funcs.C:
4325 * cursor_slice.[Ch]: some integer type changes for inset unification
4327 * lyxcursor.[hC]: remove, it's CursorSlice now.
4330 * BufferView_pimpl.[Ch]:
4331 * bufferview_funcs.C:
4337 * textcursor.[Ch]: adjust
4339 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4341 * text2.C (undoSpan): add and use
4342 * text.C (breakParagraph): use undoSpan (fix bug 578)
4345 2004-01-08 Angus Leeming <leeming@lyx.org>
4347 * BufferView_pimpl.C (MenuInsertLyXFile):
4348 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4349 * lyxfunc.C (menuNew, open, doImport):
4350 FileFilterList change to the FileDialog open and save functions.
4352 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4354 * ShareContainer.h: make isEqual and isUnique adaptable
4356 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4358 2004-01-07 Angus Leeming <leeming@lyx.org>
4361 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4363 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4365 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4366 functions replacing find, replace and replaceAll.
4368 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4369 LFUN_WORDFIND(FORWARD|BACKWARD).
4371 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4373 * text.C (breakParagraph): remove an outdated #warning
4375 2004-01-07 André Pönitz <poenitz@gmx.net>
4377 * lyxfind.C: somewhat clearer logic
4379 * text.C: prevent crash in cursorX on unitialized row cache
4381 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4383 * lyxcursor.[Ch] (operator>): add
4384 * textcursor.C (selStart, selEnd): use std::min and std::max
4386 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4388 * Chktex.C: include boost/format.hpp
4390 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4392 * InsetList.C: replace functor MathcIt with adaptable functor
4394 (insetIterator): modify accordingly
4396 * BranchList.h: move the BranchNamesEqual functor here from...
4397 * BranchList.C: ... to here
4399 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4401 (add): replace a finding loop with std::find_if.
4403 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4405 * output_docbook.C: moving LatexParam functionality into
4408 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4410 * buffer.C: increment format to 229.
4412 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4415 * lyx_sty.[Ch]: remove minipageindent_def
4421 * text3.C: remove LFUN_INSET_MINIPAGE
4423 2003-12-28 Angus Leeming <leeming@lyx.org>
4425 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4427 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4429 * text2.C (setParagraph): fix off-by-one crash
4431 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4433 * output_docbook.C: header stuff for AGU
4435 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4437 * text2.C (redoCursor): remove
4440 * BufferView_pimpl.C: remove calls to redoCursor and
4441 setCursor(cursor.par(), cursor.pos()) all around
4443 2003-12-15 Angus Leeming <leeming@lyx.org>
4445 * buffer.C: up the format to 228.
4447 2003-12-15 André Pönitz <poenitz@gmx.net>
4449 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4454 * BufferView_pimpl.C:
4463 2003-12-15 Angus Leeming <leeming@lyx.org>
4465 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4466 than getFromGUIName to manipulate the color.
4468 2003-12-14 Angus Leeming <leeming@lyx.org>
4470 * BranchList.[Ch]: minimize the API.
4471 (Branch::getBranch, getColor): now return a 'const &'.
4472 (Branch::setSelected) now returns a bool set to true if the
4473 selection status changes.
4474 (BranchList::clear, size, getColor, setColor, setSelected,
4475 allBranches, allSelected, separator): removed.
4476 (BranchList::find): new functions, returning the Branch with
4478 (BranchList::add, remove): return a bool indicating that
4479 the operation was successful.
4481 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4482 new InsetBranch::isBranchSlected member function.
4484 * LColor.[Ch]: mimimize the API.
4485 (fill): renamed as addColor and made private.
4486 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4487 versions of these functions taking a string arg have been removed.
4489 * bufferparams.C (readToken):
4490 * lyxfunc.C (dispatch):
4491 * lyxrc.C (read): changes due to the altered BranchList and
4494 * factory.C (createInset, readInset): changes due to altered
4497 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4500 * lyxfunc.C: remove insetminipage. "minipage-insert"
4501 now produces a frameless minipage box inset.
4503 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4505 * textcursor.[Ch] (selStart,selEnd): add new methods
4506 remove selection::start, end, use LyXCursor::operator<
4507 * lyxcursor.[Ch] (operator<): add
4508 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4509 * BufferView.[Ch] (unsetXSel): add
4510 * text2.C (clearSelection): use unsetXSel,adjust
4513 * rowpainter.C: adjust
4514 * bufferview_funcs.C (put_selection_at): adjust
4516 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4518 * BufferView_pimpl.C: small coord. correction
4520 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4522 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4523 dragging over the splash screen.
4525 2003-12-11 Angus Leeming <leeming@lyx.org>
4527 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4528 as it is now handled in LyXText::dispatch.
4530 * text3.C (doInsertInset): remove a level of nesting.
4532 2003-12-11 Angus Leeming <leeming@lyx.org>
4534 * factory.C (createInset): changes due to the changed interface to
4535 InsetCommandMailer::string2params.
4537 2003-12-10 Angus Leeming <leeming@lyx.org>
4539 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4540 'dialog-show-new-inset <inset name>'
4542 2003-12-10 Angus Leeming <leeming@lyx.org>
4544 * buffer.C: up the format to 227.
4546 * factory.C: the box inset is now identified simply by 'Box'.
4548 2003-12-10 Angus Leeming <leeming@lyx.org>
4550 * buffer.C: up the format to 226.
4552 * factory.C: the note inset is now identified simply by 'Note'.
4554 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4556 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4557 when a pit is enough. Standarize a couple of loops.
4559 2003-12-05 Angus Leeming <leeming@lyx.org>
4561 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4562 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4563 data to the re-worked "log" dialog.
4565 2003-12-03 André Pönitz <poenitz@gmx.net>
4571 * paragraph_funcs.C:
4573 * text2.C: use Inset::getText instead of Inset::getParagraph
4575 2003-12-03 André Pönitz <poenitz@gmx.net>
4579 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4580 InsetText::read() as LyXText::read()
4582 2003-12-02 Angus Leeming <leeming@lyx.org>
4584 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4585 type. Add a comment in the implementation that the function uses
4586 the stream's bad() function rather than fail() as the std::streams
4589 2003-12-02 André Pönitz <poenitz@gmx.net>
4591 * lyxlex.[Ch]: make interface more similar to std::stream
4593 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4595 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4597 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4599 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4601 * vspace.[Ch]: remove VSpace::NONE
4603 2003-12-01 André Pönitz <poenitz@gmx.net>
4606 * lyxtext.h: move ParagraphList member to LyXText
4607 rename LyXText::ownerParagraphs to LyXText::paragraph
4610 * bufferview_funcs.C:
4620 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4622 * undo.C: fix cursor positioning
4624 2003-12-01 John Levon <levon@movementarian.org>
4626 * BufferView_pimpl.C: fix a crash on exit with
4629 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4631 * BranchList.C: fix setSelected() method.
4633 2003-11-28 André Pönitz <poenitz@gmx.net>
4635 * ParagraphParameters.[Ch]:
4636 * ParameterStruct.h: remove space above/below from Paragraph to
4639 * BufferView_pimpl.C:
4645 * paragraph_funcs.C:
4651 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4653 * factory.C: Syntax change for CharStyles
4655 2003-11-28 André Pönitz <poenitz@gmx.net>
4660 * buffer.[Ch]: move LyXText member
4662 2003-11-28 André Pönitz <poenitz@gmx.net>
4664 * BufferView.[Ch]: make LyXText * text a private member
4666 * BufferView_pimpl.C:
4677 * output_plaintext.C: cleanup
4679 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4682 * lyxtextclass.[Ch]: parametrize SGML document header
4684 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4687 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4690 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4692 * text2.C (setFont): rework using PosIterator (no more recursive)
4693 (setCharFont): no more needed
4694 (setLayout): no more selection cursors fiddling (done by redoCursor)
4695 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4696 destroy remaining ones)
4698 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4700 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4702 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4705 * text3.C: adjust + re-allow multi par depth changes
4706 * textcursor.C: simplify a bit
4708 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4714 * src/output_docbook.C:
4715 * src/output_latex.C:
4720 * src/text2.C: Introducing a number of tags parametrizing various
4721 XML formats that we may want to support
4723 2003-11-25 André Pönitz <poenitz@gmx.net>
4725 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4727 * lyxtext.h (leftMargin/rightMargin): simplify interface
4734 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4736 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4737 master file to any child files. Fixes bug 546.
4739 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4741 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4743 2003-11-24 André Pönitz <poenitz@gmx.net>
4745 * rowpainter.C: simplification
4747 * text2.C (updateCounters): remove call to redoParagraph on
4748 changed labels as this is far too expensive.
4750 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4752 * converter.C (convert): fix a crash: this function gets
4753 called with buffer == 0 from importer code.
4755 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4757 * text3.C (cursorPrevious): make sure that we do not compare
4758 iterators form different containers.
4761 * rowpainter.C (paintSelection): make sure that we do not compare
4762 iterators from different containers.
4764 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4765 iterators from different ParagraphList containers.
4768 * text2.C (LyXText): change order of initialization slightly
4769 (operator=): new function. copy all variables except cache_par_
4770 (moveUp): make sure that we do not compare iterators from
4771 different ParagraphList constainers.
4774 * text.C (firstPar): new function
4775 (lastPar): new function
4776 (endPar): new function
4778 * lyxtext.h: move things around and group public functions, public
4779 variables, private functions, private variables
4781 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4783 * factory.C: change call to InsetERT constructor to avoid
4784 additional invocation of method status
4785 * text2.C (toggleInset): remove redundant update() call
4786 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4787 instead of a Bufferview pointer
4789 2003-11-21 André Pönitz <poenitz@gmx.net>
4791 * rowpainter.C: simplification
4793 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4795 * text3.C (dispatch): make possible to extend a word/row selection
4798 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4800 * lyxtext.h: x0_,y0_ -> xo_,yo_
4801 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4802 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4803 * rowpainter.C (paintRows): paint full paragraphs
4805 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4807 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4810 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4812 * lyxtext.h: add x0_, y0_
4813 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4814 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4816 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4818 * text2.C (setCursorIntern): move the x_target update here *
4819 * text3.C: change some bv() to true/false in calls to
4820 cursorUp/Down/Right/Left
4821 * cursor.C: use helper function.
4823 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4825 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4826 * paragraph_funcs.[Ch]: correct comment
4827 * rowpainter.C: do not paint selections away from bv->cursor()
4828 Fix a long standing selection painting bug.
4829 * text3.C: generalize mouse-selection code to LyXTexts other that
4831 * textcursor.C: do not use y coords if we can use par offsets
4833 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4835 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4836 cursor position after e.g. inset insert)
4838 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4840 * lyxfind.C (replace): adjust to locking removal + some
4843 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4845 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4848 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4851 * output_docbook.C: XML sanitation: new layout
4852 parameters InnerTag and CommandDepth
4854 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4856 * BufferView_pimpl.C:
4858 * text3.C: Fix the insertion and modification of button-style
4861 2003-11-13 André Pönitz <poenitz@gmx.net>
4863 * InsetList.[Ch]: remove deleteLyXText
4865 * paragraph.[Ch]: cache beginOfBody position
4870 * text3.C: remove superfluous update() calls
4874 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4876 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4877 * BufferView.C (fitLockedInsetCursor): remove
4878 * cursor.[Ch] (getDim): add
4879 * text.C (getRowNearY): add faster version
4880 * text3.C: remove some update calls
4882 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4894 * text3.C: The Character Style /XML short element patch.
4896 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4899 * factory.C: Small step to solving 'unable to insert some insets'
4902 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4904 * cursor.[Ch] (updatePos): new function for updating the y
4905 position of the tip inset
4906 * bufferview_funcs.C (put_selection_at):
4907 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4909 2003-11-11 André Pönitz <poenitz@gmx.net>
4911 * text.C: remove big comment on invalid Paragraph pointers as it is
4914 2003-11-11 André Pönitz <poenitz@gmx.net>
4916 * text_funcs.[Ch]: merge with ...
4924 * Makefile.am: remove text_funcs.[Ch]
4926 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4928 * cursor.C (getPos): return absolute cached y coord
4930 * BufferView_pimpl.C (fitCursor): new simplistic code
4931 (workAreaDispatch): add a fitCursor call
4933 2003-11-10 André Pönitz <poenitz@gmx.net>
4936 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4938 2003-11-10 André Pönitz <poenitz@gmx.net>
4940 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4941 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4942 indicate that the cursor needs to leave an inset
4944 * lyxtext.h: remove inset locking
4946 * cursor.[Ch]: re-implement functionality provided by inset locking
4949 * BufferView_pimpl.[Ch]:
4951 * bufferview_funcs.[Ch]:
4963 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4965 * PosIterator.[Ch]: replace the stack with a vector, add inset
4967 * iterators.[C]: adjust
4969 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4971 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4973 * paragraph_funcs.C (readParToken): put the correct id in the
4974 error item, not the id of the top paragraph
4976 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4978 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4979 * bufferview_funcs.C (put_selection_at): use the above
4981 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4983 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4985 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4987 * output_linuxdoc.h:
4988 * output_plaintext.h:
4990 * output_docbook.h: add #include statements
4992 2003-11-05 José Matos <jamatos@lyx.org>
4994 * output_docbook.[Ch]:
4995 * output_latex.[Ch]:
4996 * output_linuxdoc.[Ch]:
4997 * output_plaintext.[Ch]: New files for output formats.
4998 * output.[Ch]: New file for helper functions.
5001 * paragraph_funcs.[Ch]: output functions moved to new files.
5003 * outputparams.h: rename of latexrunparams.h
5011 * paragraph_funcs.[Ch]:
5012 * paragraph_pimpl.[Ch]:
5013 * tabular.[Ch]: rename ascii to plaintext
5014 and LatexRunParams to OutputParams.
5016 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5018 * iterators.[Ch] (text): require bv argument
5019 * undo.C (recordUndo):
5020 * lyxfunc.C (dispatch):
5021 * bufferview_funcs.C (put_selection_at): adjust
5023 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5025 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5027 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5029 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5032 2003-11-04 André Pönitz <poenitz@gmx.net>
5034 * cursor.[Ch]: restructure
5037 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5039 * iterators.[Ch] (asCursor): remove
5041 * lfuns.h: remove LFUN_INSET_EDIT
5047 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5049 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5051 * lyxfind.[Ch]: complete overhaul
5052 * BufferView_pimpl.C:
5054 * paragraph.[Ch] (insert): add
5056 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5060 * text.C: remove dead spellcheck code
5062 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5064 * dispatchresult.h: add a val setter
5066 * cursor.C (dispatch): use a tempvar for data_[i]
5068 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5070 * PosIterator.[Ch]: compile fix
5072 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5074 * text.C (cursorPar): deactivate the cursor cache
5076 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5078 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5080 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5082 * text3.C (dispatch): adjust for new DisptchResult semantics.
5084 * lyxfunc.C (dispatch): handle update when return from
5085 Cursor::dispatch, adjust for new DispatchResult semantics.
5087 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5088 DispatchResult(true) mean to not update. Add class functions for
5089 setting dispatched and update, as well as reading.
5091 * cursor.C (dispatch): don't handle update here
5093 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5095 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5096 * trans_mgr.C: adjust
5098 * paragraph_funcs.C (readParToken): exception safety
5100 * lyxvc.h: store the vcs pointer in a scoped_ptr
5103 * lyxsocket.C (serverCallback): exception safety
5105 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5107 * ispell.C (clone): make it return a auto_ptr
5109 * factory.C (createInset): exception safety
5110 (readInset): exception safety
5112 * bufferlist.C (newBuffer): exception safety
5114 * Thesaurus.C (Thesaurus): use initialization for aik_
5116 * MenuBackend.C (expandToc): exception safety.
5118 2003-11-03 André Pönitz <poenitz@gmx.net>
5122 * bufferview_funcs.C: remove getInsetFromId()
5125 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5131 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5133 * PosIterator.C (distance, advance): new
5134 * bufferview_funcs.[Ch] (put_selection_at): new
5135 * iterators.[Ch] (lockPath): new
5137 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5139 * iterators.[Ch] (asPosIterator): added
5140 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5141 * PosIterator.[Ch]: added
5143 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5147 * cursor.C (dispatch):
5148 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5150 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5151 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5152 contructor, add a class function dispatched. Remove operator>=
5154 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5156 * debug.C: only use the default constructor for debugstream
5159 * main.C (main): include debug.h and setup the lyxerr streambuf
5162 2003-10-31 José Matos <jamatos@lyx.org>
5164 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5166 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5167 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5168 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5169 * paragraph_pimpl.C (simpleTeXSpecialC):
5170 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5171 add LatexRunParams argument.
5173 * exporter.C (Export): change call accordingly.
5175 * latexrunparams.h: add new member to take care of the other backends.
5176 2003-10-30 José Matos <jamatos@lyx.org>
5178 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5179 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5180 factorise code for paragraph output.
5182 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5185 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5187 * text3.C (dispatch):
5188 * lyxfunc.C (dispatch):
5189 * cursor.C (dispatch):
5190 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5192 * dispatchresult.h: make the dispatch_result_t ctor explicit
5194 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5197 * buffer.C: small refactoring of docbook stuff
5199 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5201 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5204 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5206 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5207 operator dispatch_result_t, and operators for == != and >=
5209 * cursor.C (dispatch): adjust for operator dispatch_result_t
5210 removal. comment out call to update
5212 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5214 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5222 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5225 * dispatchresult.h: new file, DispatchResult broken out of
5228 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5230 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5232 * text.C (rowBreakPoint): put a hack inside #if 0
5234 2003-10-28 André Pönitz <poenitz@gmx.net>
5238 * paragraph_funcs.C:
5241 * text2.C: general cleanup (lots of small stuff)
5243 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5245 * text2.C (cursorEnd): simple fix to the "end key goes to one
5246 before the end on last row" bug
5248 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5250 * text.C (backspace): fix the "zombie characters"
5252 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5254 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5256 2003-10-27 André Pönitz <poenitz@gmx.net>
5258 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5260 * factory.C: handle new InsetPagebreak, InsetLine
5262 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5263 and move handling into new InsetPagebreak, InsetLine
5265 * BufferView_pimpl.C:
5267 * ParagraphParameters.C:
5268 * ParameterStruct.h:
5273 * paragraph_funcs.C:
5274 * paragraph_pimpl.C:
5280 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5283 * lyxrow_funcs.[Ch]:
5289 * text3.C: remove lastPos uses in favour of Row::endpos
5291 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5293 * undo.C (performUndoOrRedo): fix two crashes by setting a
5294 cursor by hand and reordering some calls. Use bv->lockInset instead
5295 of inset->edit because the latter loses cursor information
5297 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5299 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5301 (rowBreakPoint): fix width. change point to point + 1.
5302 Add a missing check.
5304 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5307 * lyxfunc.C: fix (at least partly) the problems
5308 with the Nav menu and headers inside branch insets
5311 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5313 * paragraph.C (getChar): add strong asserts
5315 * lyxrow_funcs.C (lastPos): remove hideous hack
5317 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5318 (fill): adjust to that (avoid an infinite loop)
5320 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5322 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5324 2003-10-23 André Pönitz <poenitz@gmx.net>
5326 * RowList_fwd.h: change list<> to vector<> to gain speed
5327 after suggestion from Alfredo
5329 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5331 * lyxtext.h: move the bidi stuff from here...
5334 * Bidi.[Ch]: ... to here
5336 2003-10-23 André Pönitz <poenitz@gmx.net>
5339 * text.C (isLastRow, isFirstRow): new functions
5341 * paragraph.h: new width cache member
5343 * rowpainter.C: replace RowList::iterator with Row & where possible
5345 * lyxfunc.C: replace several view()->text with a single call
5347 * toc.C: fix 'unused' warning
5349 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5351 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5352 when woring with stream::pos_type
5353 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5355 2003-10-22 André Pönitz <poenitz@gmx.net>
5358 * text.C: use Row & instead of RowList::iterator
5360 * lyxrow.h: rename end() to endpos()
5366 2003-10-22 Angus Leeming <leeming@lyx.org>
5368 * buffer.[Ch] (fully_loaded): new member function, returning true
5369 only when the file has been loaded fully.
5370 Used to prevent the premature generation of previews and by the
5371 citation inset to prevent computation of the natbib-style label.
5373 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5374 templates are all set up.
5376 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5378 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5380 * text.C: fixed an "oops" in the "is a bit silly"
5383 2003-10-21 André Pönitz <poenitz@gmx.net>
5385 * FuncStatus.[Ch]: small stuff, whitespace
5387 * lyxfont.[Ch]: operator<<() for debug reasons
5391 * lyxtext.h: whitespace, spelling
5393 * paragraph.C: naming of variables
5396 * text2.C: small stuff
5399 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5401 * text.C: (1) finish off the inset display() work;
5402 (2) fix the "is a bit silly" bug (accessing char
5405 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5407 * text.C: re-introduce display() for insets, fixing the
5408 various bugs (stretch of line above, math inset
5411 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5413 * text.C (rightMargin): remove spurious semicolon
5415 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5418 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5420 * text3.C: fix one crash due to wrong cursor def
5422 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5424 * vc-backend.C (scanMaster): make the regex static
5426 * LaTeX.C (scanAuxFile): make the regexs static
5428 * text3.C (doInsertInset, dispatch, dispatch):
5429 * text2.C (cursorUp, cursorDown):
5430 * text.C (selectNextWordToSpellcheck):
5431 * BufferView_pimpl.C (dispatch):
5432 * lyxfunc.C (dispatch): localDispatch -> dispatch
5434 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5436 * lyxsocket.C: include <cerrno>
5438 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5440 * lyxfunc.C (dispatch): remove textcache stuff
5442 * bufferlist.C (release): remove textcache stuff
5445 * TextCache.C: delete file
5446 * TextCache.h: delete file
5448 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5450 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5451 delete of the bv_->text.
5452 (resizeCurrentBuffer): remove texcache stuff
5453 (workAreaResize): ditto
5455 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5457 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5460 2003-10-16 André Pönitz <poenitz@gmx.net>
5467 * text3.C: speed up by storing y positions per paragraph plus per-row
5468 offset instead of having a 'full' y position in the row.
5470 2003-10-15 André Pönitz <poenitz@gmx.net>
5474 * undo.[Ch]: make undo aware of inner insets
5476 2003-10-14 Angus Leeming <leeming@lyx.org>
5478 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5479 static member functions LyX::ref() and LyX::cref.
5480 (lastfiles): new accessor functions for the new lastfiles_ member var.
5481 (addLyXView, views_): add a new LyXView to the list of views_.
5482 (updateInset): loop over all LyXViews to call their own updateInset
5483 member function, returning a pointer to the Buffer owning the inset.
5485 * BufferView_pimpl.C (loadLyXFile):
5486 * MenuBackend.C (expandLastfiles):
5487 * bufferlist.C (MenuWrite, QuitLyX):
5488 lastfiles is no longer a global variable.
5489 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5491 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5492 static function. Access through LyX::cref().emergencyCleanup().
5494 2003-10-14 André Pönitz <poenitz@gmx.net>
5496 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5498 * undo.[Ch]: restoring part of 'undo in insets'
5501 * undo_funcs.[Ch]: merge with undo.[Ch]
5503 * tabular.C: small cleansing stuff
5505 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5507 * paragraph_funcs.C (readParToken): report unknown insets as error
5508 boxes. Use the outer paragraph as location (also for unknown
5511 * factory.C (readInset): do not abort on reading an unknown inset.
5512 Eat it and return 0.
5514 2003-10-13 Angus Leeming <leeming@lyx.org>
5516 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5518 * lyxrc.C: displayTranslator is now a function,
5519 declared in GraphicsTypes.h.
5521 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5523 * format.C: new placeholder $$a to pass the socket address.
5525 * bufferlist.[Ch]: new function getBufferFromTmp.
5527 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5528 files in the temporary dir.
5530 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5532 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5534 * Makefile.am: add lyxsocket.[Ch].
5536 * lyx_main.C (error_handler): handle SIGPIPE.
5538 2003-10-13 André Pönitz <poenitz@gmx.net>
5540 * BufferView_pimpl.C:
5545 * undo_funcs.[Ch]: use paroffset_type instead of
5546 ParagraphList::iterators to prevent multiple conversion
5547 (and get a more robust interface)
5549 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5551 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5553 * text3.C (dispatch): ditto
5555 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5557 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5558 move the onlyfile, use onlyfile instead of foundfile in a couple
5561 * DepTable.C (update): flush the error stream a bit more
5563 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5565 * lyxserver.C (callback): adjust
5567 * lyxfunc.C (getStatus): add a missing brace in commented code
5568 (ensureBufferClean): reindent
5569 (dispatch): delete version taking a string
5571 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5573 * LaTeX.C (deplog): move found file handlig from here...
5574 (handleFoundFile): .. to new function here.
5575 (deplog): make sure to discover several files mentioned on the
5578 2003-10-10 André Pönitz <poenitz@gmx.net>
5585 * text3.C: fix some of the tabular crashes
5587 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5589 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5591 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5593 2003-10-09 André Pönitz <poenitz@gmx.net>
5595 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5598 * BufferView_pimpl.C:
5599 * bufferview_funcs.C:
5610 * undo_funcs.C: adjust
5612 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5614 * text2.C (incrementItemDepth): new function, use a backtracking
5615 algorithm to discover the correct item depth.
5616 (resetEnumCounterIfNeeded): new function, use a backtracking
5617 algorithm to discover if counter reset is needed.
5618 (setCounter): use them. Simplify a bit. Add different labels for
5619 different item depths for itemize.
5621 * paragraph.C (Paragraph): remove initialization of enumdepth
5624 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5625 enumerate and itemize. Change the type of itemdepth to signed char.
5627 2003-10-08 André Pönitz <poenitz@gmx.net>
5629 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5634 * tabular.[Ch]: fix crash after 'row-insert'
5636 2003-10-08 Angus Leeming <leeming@lyx.org>
5638 Fix doxygen warnings.
5640 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5641 Remove CutAndPaste:: prefix from header file declaration.
5643 * LColor.h (fill): remove LColor:: prefix from declaration.
5645 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5646 use lyx::depth_type rather than Paragraph::depth_type so that
5647 header file and .C file match.
5649 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5651 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5652 * aspell.C: \file aspell_local.C -> \file aspell.C
5653 * gettext.C: \file gettext.C -> \file src/gettext.C
5654 * gettext.h: \file gettext.h -> \file src/gettext.h
5655 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5656 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5657 * text.C: \file text.C -> \file src/text.C
5659 * toc.C: move comment so that doxygen is not confused.
5661 2003-10-07 Angus Leeming <leeming@lyx.org>
5663 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5665 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5668 * aspell_local.h: add forgotten std::string's.
5670 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5677 * text3.C: The Box patch. Fancybox support, minipage, parbox
5679 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5685 * ParagraphParameters.h:
5695 * lyxtextclasslist.h:
5698 * paragraph_pimpl.C:
5699 * textcursor.h: add <string> and other small fixes to make Lars'
5700 std::string patch compile with STLport.
5702 2003-10-06 Angus Leeming <leeming@lyx.org>
5704 * LColor.h: Add missing #include <string>.
5706 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5708 * All most all file in all subdirs: Make <string> be the prefered
5709 way of getting to std::string, add using declarations.
5711 2003-10-06 André Pönitz <poenitz@gmx.net>
5713 * metricsinfo.C: initialize LyXFont before changing attribute.
5714 (fixes the 'math in \emph is upright' bug)
5716 2003-10-06 André Pönitz <poenitz@gmx.net>
5718 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5720 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5723 * paragraph_pimpl.C: Small fixes to build using STLport
5725 2003-10-02 André Pönitz <poenitz@gmx.net>
5728 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5730 2003-10-01 André Pönitz <poenitz@gmx.net>
5732 * factory.C: assert early
5734 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5736 * lyx_main.C: remove the global debug object
5738 * debug.h: adjust for new debugstream
5740 * debug.C: adjust for new debugstream and keep the global debug
5743 2003-09-22 Angus Leeming <leeming@lyx.org>
5745 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5746 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5747 an incomplete class LyXFont.
5749 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5751 * factory.C: bug fix in branches
5753 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5755 * lyxfunc.C (processKeySym): adjust
5757 (dispatch): change arg name from ev to func, adjust
5758 (sendDispatchMessage): ditto
5760 * lyx_main.C (defaultKeyBindings): adjust keybindings
5761 (deadKeyBindings): ditto
5763 * kbsequence.C (addkey): return a FuncRequest
5765 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5767 * kbmap.C (bind): take a FuncRequest as arg, adjust
5770 (defkey): change to take a FuncRequest as arg, adjust
5771 (findbinding): take a FuncRequest as arg, adjust.
5773 * funcrequest.h (operator=): added
5775 * funcrequest.C (FuncRequest): default kb_action changed from
5776 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5778 * buffer.C (dispatch): simplify
5779 (dispatch): adjust to take a FuncRequest as arg, adjust
5781 * boost.C (assertion_failed): change assertion message slightly
5783 * ToolbarBackend.C (read): simplify
5785 * MenuBackend.C (binding): adjust call to findbinding, add a
5786 message if no binding is found.
5788 (expandToc): correct by adding a empty FuncRequest
5790 * LyXAction.C: include <boost/assert.hpp>
5791 (isPseudoAction): delete function
5792 (LookupFunc): change name to...
5793 (lookupFunc): this. change return type to FuncRequest.
5794 (getActionName): take kb_action as arg, simplify
5795 (funcHasFlag): add an assert, simplify.
5797 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5799 * toc.C (action): return a FuncRequest, simplify
5801 * lyxfunc.C (processKeySym): adjust
5802 (getStatus): delete version that takes an int.
5804 (dispatch): delete version that takes action as int
5806 (sendDispatchMessage): simplify and adjust
5808 * funcrequest.C (getArg): take unsigned int as arg
5810 * ToolbarBackend.C (read): adjust
5811 (add): delete version that takes func as a string.
5812 (getIton): take a FuncRequest as arg
5814 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5817 * MenuBackend.C (MenuItem): add a new construct that only takes a
5818 Kind, simplify the constructor use for submenus.
5820 (expandLastfiles): adjust
5821 (expandDocuments): adjust
5822 (expandFormats): adjust
5823 (expandFloatListInsert): adjust
5824 (expandFloatInsert): adjust
5825 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5827 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5828 Remove class variables lyx_pseudo_map and lyx_arg_map
5830 * LyXAction.C (searchActionArg): delete function
5831 (getPseudoAction): delete function
5832 (retrieveActionArg): delete function
5833 (LookupFunc): make it return kb_action, simplify.
5834 (getActionName): simplify
5836 * factory.C (createInset): fix new bug
5838 2003-09-19 Angus Leeming <leeming@lyx.org>
5840 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5841 masterFilename_ parameter in the include inset.
5843 * factory.C (createInset): changes due to the changes to InsetInclude.
5845 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5847 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5849 2003-09-18 Angus Leeming <leeming@lyx.org>
5852 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5853 Inset::fillWithBibKeys.
5854 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5856 2003-09-18 Angus Leeming <leeming@lyx.org>
5858 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5860 (ctor): pass and store a 'Buffer const &'
5861 (buffer): new member function.
5863 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5864 '*this' to the LaTeXFeatures ctor.
5866 2003-09-18 Angus Leeming <leeming@lyx.org>
5872 * text.C: rename EnumLColor as LColor_color.
5874 2003-09-18 Angus Leeming <leeming@lyx.org>
5876 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5877 remove #include "insets/insetbase.h" from cursor.h.
5879 2003-09-18 Angus Leeming <leeming@lyx.org>
5881 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5882 InsetOld_code to remove #include "inset.h".
5884 * iterators.C: add #include "insets/inset.h"
5886 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5888 * BufferView.C: remove more locking stuff that apparently doesn't
5889 do anything sensible.
5891 2003-09-16 André Pönitz <poenitz@gmx.net>
5894 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5897 2003-09-16 Angus Leeming <leeming@lyx.org>
5899 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5901 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5904 * paragraph.h: remove #include "lyxfont.h". Forward declare
5907 2003-09-16 Angus Leeming <leeming@lyx.org>
5909 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5910 of support/textutils.h.
5911 (isWord): move the contents of support/textutils.h's IsWordChar here.
5917 * text2.C: add #include "paragraph.h".
5920 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5922 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5928 * LaTeX.C: use namespace alias for lyx::support::os
5930 2003-09-16 Angus Leeming <leeming@lyx.org>
5933 * bufferview_funcs.C:
5936 * paragraph_pimpl.C:
5938 * text.C: add #include "LColor.h".
5940 2003-09-16 Angus Leeming <leeming@lyx.org>
5942 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5943 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5945 Store the FontBits::color variable as an int rather than as an
5946 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5949 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5950 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5951 string calls together.
5953 * lyxrc.C: add #include "LColor.h".
5955 2003-09-15 Angus Leeming <leeming@lyx.org>
5957 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5960 2003-09-15 Angus Leeming <leeming@lyx.org>
5962 * LColor.h: add an EnumLColor wrapper for LColor::color.
5964 * lyxfont.[Ch] (color, setColor, realColor):
5965 * lyxtext.h, text.C (backgroundColor):
5966 pass EnumLColor args to/from the functions, rather than LColor::color
5970 * lyxtext.h: forward declare EnumLColor.
5972 * lyx_main.C: add #include "LColor.h".
5974 2003-09-15 Angus Leeming <leeming@lyx.org>
5976 * .cvsignore: add lyx-gtk.
5978 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5983 * ParagraphParameters.C
5987 * bufferview_funcs.C
5997 * vc-backend.C: remove usage of STRCONV
5999 2003-09-15 Angus Leeming <leeming@lyx.org>
6001 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6002 explicitly define the color passed to the painter.
6004 2003-09-15 Angus Leeming <leeming@lyx.org>
6006 * bufferparams.C (BufferParams): reorder member initializers to avoid
6009 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6011 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6012 * text.C (updateRowPositions): remove an unusual nop
6014 2003-09-12 André Pönitz <poenitz@gmx.net>
6016 * BufferView_pimpl.C:
6025 * Counters.[Ch]: finish the 'automatic counters' job
6027 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6029 * aspell.C: include <boost/assert.cpp> (compile fix)
6031 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6033 * boost.C (assertion_failed): use lyx::support::abort instead of
6036 2003-09-10 Angus Leeming <leeming@lyx.org>
6038 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6039 with their _fwd progeny.
6041 2003-09-09 Angus Leeming <leeming@lyx.org>
6043 134 files throughtout the source tree: replace 'using namespace abc;'
6044 directives with the appropriate 'using abc::xyz;' declarations.
6046 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6048 * boost.C (emergencyCleanup): moved here from LAssert.c
6049 (assertion_failed): new function, called by BOOST_ASSERT
6051 * several files: change Assert to BOOST_ASSERT
6053 2003-09-09 Angus Leeming <leeming@lyx.org>
6055 * buffer.[Ch]: Add an Impl class and move Buffer's member
6056 variables into it. As a result move several header files out of
6059 Add header files to lots of .C files all over the tree as a result.
6061 2003-09-09 Angus Leeming <leeming@lyx.org>
6063 * buffer.[Ch]: make Buffer's member variables private. Add
6066 Lots of changes all over the tree as a result.
6068 2003-09-08 Angus Leeming <leeming@lyx.org>
6070 * graph.C: #include <config.h>.
6072 2003-09-08 Angus Leeming <leeming@lyx.org>
6076 * BufferView_pimpl.C:
6105 * toc.C: remove redundant using directives.
6107 2003-09-07 Angus Leeming <leeming@lyx.org>
6109 * LaTeXFeatures.h: remove #include "support/types.h".
6110 * ToolbarBackend.h: remove #include <algorithm>.
6111 * changes.h: remove #include <ctime>.
6112 * debug.h: remove #include <iosfwd>.
6113 * graph.h: remove #include "support/std_string.h".
6114 * lyx_main.h: remove #include <csignal>.
6115 * lyxlex_pimpl.h: remove #include <fstream>.
6116 * sgml.h: remove #include <algorithm>, <utility>.
6117 * toc.h: remove #include "support/std_ostream.h".
6118 Add #include <iosfwd>.
6120 2003-09-07 Angus Leeming <leeming@lyx.org>
6122 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6124 * converter.h: forward declare LatexRunParams.
6125 * encoding.h: remove #include "lyxrc.h".
6126 * lyxtext.h: remove #include "LColor.h".
6127 * lyxtextclass.h: remove #include "support/types.h".
6128 * trans.h: remove #include "tex-accent.h".
6129 * trans_mgr.h: remove #include "tex-accent.h".
6130 * insets/inset.h: remove #include "support/types.h", <vector>.
6131 * insets/insetcollapsable.h: remove #include "LColor.h".
6132 * insets/insetinclude.h: remove #include "dimension.h".
6133 * insets/insetlatexaccent.h: remove #include "dimension.h".
6134 * insets/insetoptarg.h:: remove #include "insettext.h".
6135 * insets/insettext.h: remove #include "dimension.h",
6136 <boost/shared_ptr.hpp>
6138 * insets/renderers.h: add #include "dimension.h".
6139 * insets/updatableinset.h: add #include "support/types.h".
6141 * many .C files: Associated changes.
6143 2003-09-06 Angus Leeming <leeming@lyx.org>
6145 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6146 one, inside testInvariant.
6148 * PrinterParams.C: new file.
6149 * PrinterParams.[Ch]: move the function bodies out of line.
6151 2003-09-06 Angus Leeming <leeming@lyx.org>
6153 * ParagraphParameters.h: forward declare ParameterStruct rather than
6154 including its header file.
6155 (depth): moved out-of-line.
6157 2003-09-06 Angus Leeming <leeming@lyx.org>
6159 * BufferView_pimpl.h:
6162 * lyxfunc.h: forward declare LyXKeySym rather than
6163 #include "frontends/LyXKeySym.h".
6165 * BufferView_pimpl.C:
6168 * lyxfunc.C: associated changes.
6170 2003-09-06 Angus Leeming <leeming@lyx.org>
6172 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6173 As a result, can remove the #include "insets/inset.h" from BufferView.h
6175 2003-09-06 Angus Leeming <leeming@lyx.org>
6177 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6178 As a result, can remove the #include "insets/inset.h" from BufferView.h
6180 2003-09-06 Angus Leeming <leeming@lyx.org>
6186 * bufferview_funcs.C:
6187 * BufferView_pimpl.C:
6192 * ParagraphParameters.C:
6197 * frontends/controllers/ControlDocument.C:
6198 * insets/insetcaption.C: rearrange the #includes into some sort of
6201 * buffer.h: remove #includes ErrorList.h, undo.h
6203 2003-09-06 Angus Leeming <leeming@lyx.org>
6205 * support/types.h: add a 'depth_type' typedef, used to store the
6206 nesting depth of a paragraph.
6209 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6210 defining explicitly.
6213 * paragraph_funcs.h:
6214 * ParagraphParameters.h:
6215 * sgml.h: use lyx::depth_type rather than Paragraph or
6216 ParameterStruct's depth_type.
6219 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6222 * BufferView_pimpl.C:
6224 * ParagraphParameters.C:
6227 * bufferview_funcs.C:
6234 * frontends/LyXView.C:
6235 * frontends/controllers/ControlDocument.C:
6236 * frontends/controllers/ControlErrorList.C:
6237 * insets/insetbibitem.C:
6238 * insets/insetbranch.C:
6239 * insets/insetcaption.C:
6240 * insets/insetcollapsable.C:
6241 * insets/insetenv.C:
6242 * insets/insetert.C:
6243 * insets/insetfloat.C:
6244 * insets/insetfoot.C:
6245 * insets/insetfootlike.C:
6246 * insets/insetnewline.C:
6247 * insets/insetquotes.C:
6248 * insets/insettabular.C:
6249 * insets/insettext.C:
6250 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6252 * frontends/controllers/ControlChanges.C: #include "changes.h".
6254 2003-09-06 Angus Leeming <leeming@lyx.org>
6256 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6257 than #including paragraph.h.
6260 * RowList.h: deleted. Superfluous.
6270 * insets/insettext.h: use ParagraphList_fwd.h rather than
6273 * paragraph.h: don't forward declare ParagraphList.
6276 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6277 rather than ParagraphList.h. paragraph.h is still needed for the
6278 Paragraph::depth_type parameters.
6280 * textcursor.h: enable it to compile stand-alone in light of the
6283 * bufferview_funcs.C:
6295 * frontends/controllers/ControlParagraph.C:
6296 * frontends/controllers/ControlTabular.C:
6297 * insets/insetmarginal.C:
6298 * insets/insetminipage.C:
6299 * insets/insetnote.C:
6300 * insets/insetoptarg.C: add header files needed to compile again.
6302 2003-09-06 Angus Leeming <leeming@lyx.org>
6304 * RowList_fwd.h: new file, forward-declaring Row rather than
6305 #including lyxrow.h.
6310 * insets/insettext.h: use it instead of RowList.h
6312 * bufferview_funcs.C:
6319 * text3.C: #include "RowList.h".
6321 2003-09-05 Angus Leeming <leeming@lyx.org>
6323 * factory.C (createInset):
6324 * vspace.C (c-tor): replace sscanf call with an istringstream.
6325 * ispell.C: re-add missing HP/UX headers.
6326 * lyxserver.C: re-add missing os2 headers.
6328 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6337 * text3.C: re-add missing system headers, needed for 2.95.2.
6339 2003-09-05 Angus Leeming <leeming@lyx.org>
6341 Changes most place everywhere due to the removal of using directives
6342 from support/std_sstream.h.
6344 2003-09-05 Angus Leeming <leeming@lyx.org>
6346 Replace LString.h with support/std_string.h,
6347 Lsstream.h with support/std_sstream.h,
6348 support/LIstream.h with support/std_istream.h,
6349 support/LOstream.h with support/std_ostream.h.
6351 Changes resulting throughout the tree.
6353 2003-09-05 Angus Leeming <leeming@lyx.org>
6355 * sgml.h: ensure that the header file can be compiled stand-alone.
6356 * *.C: strip out redundant #includes. (320 in total.)
6358 2003-09-04 Angus Leeming <leeming@lyx.org>
6360 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6361 here (from getPackages).
6363 * debug.[Ch]: add a new EXTERNAL tag.
6365 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6367 * text2.C (cursorEnd): simplify
6369 (getColumnNearX): adjust
6371 * text.C (computeBidiTables): adjust
6374 * rowpainter.C (paintChars): adjust
6375 (paintSelection): adjust
6376 (paintChangeBar): adjust
6379 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6381 (numberOfSeparators): adjust
6383 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6389 * text3.C: Restricts the mouse click functionality
6390 of insets like bibtex, include, toc and floatlist to the visible
6391 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6392 up the dialogs. Cursor has to be in front of the inset (i.e.
6393 start of row) for this to function.
6395 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6397 * bufferview_funcs.C (currentState): output row information
6399 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6401 * bufferview_funcs.C (currentState): output paragraph position
6403 2003-09-04 Angus Leeming <leeming@lyx.org>
6405 * FloatList.h: move out #include "Floating.h".
6406 * LaTeX.h: move out #include "DepTable.h".
6407 * LyXAction.h: move out #include "funcrequest.h".
6408 * buffer.h: move out #include "author.h", "iterators.h".
6409 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6410 * lyx_main.h: move out #include "errorlist.h".
6411 * lyxfunc.h: move out #include "FuncStatus.h".
6412 * lyxtext: move out #include "lyxcursor.h".
6413 * paragraph_pimpl.h: move out #include "counters.h".
6415 2003-09-03 Angus Leeming <leeming@lyx.org>
6417 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6418 preamble_snippets list, enabling us to add snippets to the preamble
6419 only if the snippet was not there already.
6421 2003-09-04 Angus Leeming <leeming@lyx.org>
6423 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6425 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6427 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6430 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6432 * BranchList.C: point fix, earlier forgotten
6434 2003-09-02 Angus Leeming <leeming@lyx.org>
6436 * box.C (contains): renamed from 'contained' after a fantastic
6439 2003-09-02 John Levon <levon@movementarian.org>
6445 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6447 2003-09-02 John Levon <levon@movementarian.org>
6449 * text2.C: simplification of cursorEnd(), including partial
6452 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6454 * buffer.C (readFile): add a space
6456 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6458 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6460 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6462 * buffer.C (readFile): new function, take a filename and a
6463 ParagraphList::iterator
6465 (readFile): adjust, make it private. don't use setStream, make
6466 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6467 always contain the filename.
6469 * BufferView.C (insertLyXFile): simplify and make it work for
6472 2003-08-30 John Levon <levon@movementarian.org>
6474 * Makefile.am: fix dist (from Kayvan)
6476 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6478 * most files: change to use const Buffer refs
6480 2003-08-27 André Pönitz <poenitz@gmx.net>
6482 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6483 on top of ownerPar().
6485 2003-08-27 John Levon <levon@movementarian.org>
6487 * funcrequest.C: properly initialise POD members
6489 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6491 * lyxtext.h (top_y): move top_y from here
6496 * BufferView_pimpl.[Ch]: to here
6497 * frontends/screen.C:
6498 * insets/insettabular.C:
6499 * insets/insettext.C: adjust
6500 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6502 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6505 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6507 2003-08-26 André Pönitz <poenitz@gmx.net>
6509 * paragraph_func.[Ch] (outerPar): new function
6512 * paragraph_funcs.C:
6513 * paragraph_funcs.h:
6514 * paragraph_pimpl.C:
6515 * text2.C: remove Inset::par_owner
6517 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6522 * text2.C: eliminates the needFullRow/display() stuff
6523 altogether, putting the logic in metrics/draw in the insets.
6525 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6527 * text2.C (redoParagraphInternal, redoParagraphs):
6528 * text.C (redoParagraph): add a call to updateRowPositions at the
6529 end of each 'metrics-like' call. Remove all others.
6530 (getRow): remove the 'y-computing' version.
6531 (getRowNearY): do not compute nor return the real y. Solve the
6532 'y < 0' problem and simplify.
6534 2003-08-22 Angus Leeming <leeming@lyx.org>
6536 * *.[Ch]: clean-up of licence and author blurbs.
6537 Also move config.h out of a few .h files and into a few .C files.
6539 2003-08-22 André Pönitz <poenitz@gmx.net>
6541 * lyxrow.[Ch]: add x_ and *fill_ members
6546 * text2.C: adjust/remove prepareToPrint() calls
6548 2003-08-22 André Pönitz <poenitz@gmx.net>
6550 * lyxrow.[Ch]: add end_ member
6552 * lyxrow_funcs.C: use LyXRow::end_
6554 * lyxtext.h (singleWidth): add LyXFont parameter
6557 * text2.C: adjust LyXText::singleWidth() calls
6559 * text.C (redoParagraph): simplify row breaking logic
6562 2003-08-19 André Pönitz <poenitz@gmx.net>
6564 * funcrequest.C: initialize button_ member
6567 * rowpainter.[Ch]: interface consolidation
6569 2003-08-18 André Pönitz <poenitz@gmx.net>
6572 * BufferView_pimpl.C:
6574 * paragraph_funcs.C:
6576 * text3.C: remove LyXScreen::draw() and fitCursor calls
6578 * BranchList.h: remove spurious semicolons
6580 * MenuBackend.C: fix branchlist related crash
6582 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6590 * bufferparams.[Ch]:
6594 * text3.C: implements the 'branch inset'
6595 idea. This allows the output of various versions of a document
6596 from a single source version, selectively outputing or suppressing
6597 output of parts of the text.
6598 This implementation contains a 'branch list editor' in a separate
6599 tab of the document settings dialog. Branches are user definable
6600 and have a "display colour" to distinguish them on-screen.
6602 ColorHandler was somewhat cleaned up.
6603 (1) make possible a dynamically growing LColor list by allowing
6604 the graphic context cache to grow along (vector);
6605 (2) eliminate an IMHO unnecessary step in colour allocation.
6607 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6609 * BufferView_pimpl.C: compile fix
6611 2003-08-15 André Pönitz <poenitz@gmx.net>
6613 * rowpainter.C: remove extra metrics calls
6615 * lyxtext.h: merge the two constructors into a single one,
6616 pass reference to owner's par list
6618 * BufferView_pimpl.C:
6622 2003-08-15 André Pönitz <poenitz@gmx.net>
6624 * lyxrow_funcs.[Ch]:
6627 * paragraph_funcs.C:
6632 * text_funcs.C: split LyXText::rowlist_ into individual
6633 Paragraph::rows_ chunks
6636 * BufferView_pimpl.[Ch]:
6639 * text3.C: remove toggleSelection()
6641 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6643 * bufferlist.C: beautify two alerts (shorter text of buttons)
6644 * buffer.C: Remove redundant ' ' from message
6646 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6647 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6648 rename VALIGN_CENTER to VALIGN_MIDDLE
6650 2003-08-11 André Pönitz <poenitz@gmx.net>
6652 * lyxtext.h (getPar):
6653 * text.C: new function
6655 2003-08-11 André Pönitz <poenitz@gmx.net>
6658 * tracer.[Ch]: remove unneeded files
6660 * InsetList.[Ch]: remove resizeInsetsLyXText()
6665 * text3.C: merge insertParagraphs() and appendParagraph()
6666 remove breakAgain(), update()
6668 * BufferView_pimpl.[Ch]:
6669 * bufferview_funcs.[Ch]:
6673 * tabular.C: adjust after text & InsetList changes.
6675 2003-08-08 André Pönitz <poenitz@gmx.net>
6677 * text.C (insertChar, backspace): replace rowlist fiddling
6678 with rebreak of full par
6681 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6682 checkParagraph, updateInset): removed
6684 2003-08-07 André Pönitz <poenitz@gmx.net>
6687 * text3.C: merge some LFUN handlers, remove dead code
6689 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6691 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6693 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6695 * text2.C (DEPM): fix part of bug 1255 and 1256
6697 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6699 * BufferView_pimpl.C (workAreaDispatch): change to use
6700 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6701 that are no mouse related.
6703 2003-08-05 André Pönitz <poenitz@gmx.net>
6706 * BufferView_pimpl.[Ch]:
6707 * bufferview_funcs.C:
6709 * text3.C: rip out "deep update"
6711 * textcursor.[Ch] (last_sel_cursor): remove unused member
6713 2003-08-04 André Pönitz <poenitz@gmx.net>
6716 * BufferView_pimpl.[Ch]:
6717 * ParagraphParameters.C:
6718 * bufferview_funcs.C:
6724 * text3.C: replace "complicated" BufferView::update(...) calls with
6727 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6729 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6731 * Makefile.am (lyx_SOURCES): add paper.h
6733 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6735 * Makefile.am: move things around so that both lyx-qt and
6736 lyx-xforms can be built (according to --with-frontend). Then lyx
6737 is a symbolic link to lyx-[firstfrontend]
6739 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6741 * Always use std::endl with lyxerr
6743 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6745 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6747 2003-08-01 André Pönitz <poenitz@gmx.net>
6750 * BufferView_pimpl.[Ch]:
6752 * text3.C: merge BufferView::repaint() and BufferView::update()
6754 2003-08-01 José Matos <jamatos@lyx.org>
6756 * buffer.[Ch]: file_format is no longer a buffer data element.
6758 2003-08-01 André Pönitz <poenitz@gmx.net>
6763 * text2.C: make redoParagraph more independent of current cursor
6765 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6767 * text2.C: remove unneeded members
6769 2003-07-30 André Pönitz <poenitz@gmx.net>
6771 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6773 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6774 create a single function...
6776 * paragraph_funcs.C (moveItem): ... here.
6779 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6781 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6783 * LColor.[Ch]: Add comment and greyedout logical colors.
6785 2003-07-30 André Pönitz <poenitz@gmx.net>
6787 * tabular.C: don't use Assert too heavily. This crashes where it
6790 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6792 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6793 is disabled (bug 1232)
6795 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6797 * factory.C: limited 'arg' scope
6799 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6801 * factory.C: fixed Note submenu issues
6803 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6805 * factory.C: submenu for Note/Comment/Greyedout
6807 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6810 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6812 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6815 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6816 greyedout. Patch provided by Jürgen Spitzmüller.
6818 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6820 * kbmap.C (read): fix error message when reading bind files
6822 2003-07-29 Angus Leeming <leeming@lyx.org>
6824 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6825 certainly does not do what it purports to do. I am doing it, and
6826 us, a favour by killing it.
6828 2003-07-28 José Matos <jamatos@lyx.org>
6830 * buffer.C (readBody, do_writeFile):
6831 * paragraph.C(readParagraph): \end_document replaces \the_end.
6833 2003-07-29 André Pönitz <poenitz@gmx.net>
6836 * BufferView_pimpl.[Ch]:
6840 * textcursor.[Ch]: remove toggleToggle & Co
6842 2003-07-28 José Matos <jamatos@fep.up.pt>
6844 * buffer.C (readParagraph):
6845 * params_func (readParToken, readParagraph):
6846 * paragraph.C (write): \layout -> \begin_layout.
6848 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6850 * lyxlex_pimpl.C (setFile): clean up slightly.
6852 * bufferparams.h: add compressed var
6854 * buffer_funcs.C (readFile): adjust for LyXLex change
6855 (newFile): ditto + simplify
6857 * buffer.C (writeFile): handle writing of compressed files
6859 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6860 Check if the file is compressed and set a bufferparm if so.
6862 * Makefile.am (lyx_LDADD): remove explicit -lz
6864 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6866 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6867 makeDocBookFile): put the real LyX version in the first line of
6871 * version.C.in: remove lyx_docversion
6873 * tabular.C (write_attribute): add a template-based version to
6874 write enums properly
6876 2003-07-28 André Pönitz <poenitz@gmx.net>
6881 * text3.C: use doubles again for x-coordinates. They are needed.
6883 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6885 * messages.C (getLocaleDir): use lyx_localedir()
6887 * lyxlex_pimpl.C (setFile): compress stuff
6889 * buffer.C (writeFile): add some compression stuff
6890 (do_writeFile): new func, dont call expliti close... will this
6893 * Makefile.am (lyx_LDADD): add -lz
6895 2003-07-28 José Matos <jamatos@fep.up.pt>
6897 * buffer.C: increment file format.
6898 * paragraph_funcs (readParagraph, readParToken):
6899 * paragraph.C (readParagraph): add \end_layout.
6901 2003-07-27 Angus Leeming <leeming@lyx.org>
6903 * Makefile.am: remove special casing for configure-time setting of
6904 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6906 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6907 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6909 2003-07-26 André Pönitz <poenitz@gmx.net>
6911 * paragraph_func.[Ch]:
6912 * paragraph.C (realizeFont): inline it whereever it is used
6917 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6920 2003-07-26 André Pönitz <poenitz@gmx.net>
6924 * text2.C: get rid of LyXText::need_break_row
6926 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6928 * toc.[Ch]: put namespace toc inside namespace lyx
6930 * MenuBackend.C (expandToc2): adjust for lyx::toc
6933 * lyxfunc.C (dispatch): adjust for lyx::find
6935 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6936 lyx::find instead. Reorganize a bit.
6937 (LyXReplace): rename to replace
6938 (LyXFind): rename to find
6940 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6943 2003-07-26 André Pönitz <poenitz@gmx.net>
6945 * text.C (setHeightOfRow): restrict scope of temporary variable
6947 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6948 code (never has been used?)
6950 2003-07-27 Asger Alstrup <alstrup@local>
6952 * text.C (fill): Optimise algorithm to exploit that we can reuse
6953 the LyXFont for many characters.
6954 (setHeightOfRow): Same thing.
6955 (rowBreakPoint): Same thing.
6957 2003-07-26 Asger Alstrup <alstrup@local>
6959 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6961 * text.C (singleWidth): Spurious font copying in hot-spot
6962 singleWidth avoided. Reorder tests for arabic for efficiency.
6964 * text.C (fill): handle empty paragraphs better.
6966 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6969 * encoding.h: add includes
6971 * lyxrc.C: remove reading of bind files
6973 * lyx_main.C (init): setup bindings and menus only if we have a
6976 * kbmap.C (read): new method. Do the actual reading of bind
6979 * converter.C (dvipdfm_options):
6982 (output): adapt PAPER_* enums.
6984 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6986 * bufferparams.h: remove paper-related enums from there
6988 * paper.h: New file. A trivial header file to hold paper-related
6989 enums. It should later expand to contain many paper-related
6992 * lyxrc.C: declare extern displayTranslator
6994 2003-07-27 José Matos <jamatos@fep.up.pt>
6996 * tabular.[Ch] (linuxdoc): add support for tables and figures
6999 2003-07-27 José Matos <jamatos@fep.up.pt>
7001 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7002 consistency in both functions.
7003 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7005 2003-07-26 Asger Alstrup <alstrup@local>
7007 * rowpainter.C (paintRows): Change algorithm to work directly on
7008 the insets rather than asking every character in the document
7009 whether its an inset.
7011 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7013 * buffer.C (openFileWrite): factorize some code
7015 2003-07-26 Angus Leeming <leeming@lyx.org>
7018 * lyx_main.[Ch]: replace occurances of system_tempdir with
7021 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7023 * rename Inset to InsetOld
7025 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7027 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7028 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7029 which I think is a bit clearer. EDIT is gone, since it was
7030 premature optimisation, and broken for mathed anyway.
7031 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7032 with cursor positioning in insets as well (math insets still do not
7033 work, but that's a different story anyway.) It mysteriously
7034 crashes sometimes with undo in the first paragraph, but I'm fairly
7035 confident that this is a compiler bug.
7037 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7039 * paragraph.C (Paragraph): adjust for new clone return type
7041 (copyIntoMinibuffer): ditto
7043 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7045 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7046 by not having a special case, and always doing a full rebreak of
7047 the document after undo.
7049 2003-07-23 Angus Leeming <leeming@lyx.org>
7051 * factory.C (createInset): InsetExternal::setParams now takes a
7054 2003-07-23 Angus Leeming <leeming@lyx.org>
7056 * factory.C (createInset): changed interface to the external and
7057 graphics mailers' string2params functions.
7059 2003-07-23 Angus Leeming <leeming@lyx.org>
7061 * factory.C (createInset): pass a
7062 Buffer const * parameter to InsetExternalMailer's string2params.
7064 2003-07-22 John Levon <levon@movementarian.org>
7066 * Thesaurus.h: include the right aiksaurus header
7068 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7070 * MenuBackend.C (expand): check menu shortcuts unconditionally
7072 2003-07-21 Angus Leeming <leeming@lyx.org>
7074 * factory.C (createInset): pass a
7075 buffer_path parameter to InsetGraphicsMailer's string2params.
7077 2003-07-21 Angus Leeming <leeming@lyx.org>
7079 * BufferView_pimpl.C (buffer):
7082 * lyxfunc.C (dispatch):
7083 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7084 rather than the grfx shortcut.
7086 2003-07-21 André Pönitz <poenitz@gmx.net>
7088 * rowpainter.C: remove unused variables
7091 * tabular_funcs.h: move to tabular.C
7092 * Makefile.am: adjust
7094 * tabular.[Ch]: basic optical cleaning
7096 * author.h: pass references, not values
7098 2003-07-18 André Pönitz <poenitz@gmx.net>
7106 * text3.C: two-phase drawing for InsetText and InsetTabular
7107 some float -> int changes.
7109 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7111 * lyx_main.C: fix the fix
7113 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7115 * lyx_main.C: fix a crash in batch mode if no files specified
7118 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7120 * format.[Ch] (papersize): moved to BufferParams
7121 * converter.[Ch] (dvips_options): moved to BufferParams
7122 (dvipdfm_options): moved to anon namespace
7123 * bufferparams.[Ch]: added above functions.
7125 2003-07-17 André Pönitz <poenitz@gmx.net>
7129 * text2.C: don't call inset->update() anymore
7131 * metricsinfo.[Ch]: add convenience constructor
7133 2003-07-16 André Pönitz <poenitz@gmx.net>
7138 * text2.C: replace the LyXCursor::irow_ member with
7139 on-demand computation of the value
7141 2003-07-16 John Levon <levon@movementarian.org>
7143 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7145 2003-07-15 André Pönitz <poenitz@gmx.net>
7148 * text2.C: remove no more needed refresh_row
7150 2003-07-15 André Pönitz <poenitz@gmx.net>
7155 * text3.C: refresh_status tristate -> need_update bool
7157 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7159 * lyxtext.h (init): remove reinit argument (act as if always true)
7160 * text2.C: adjust to that
7162 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7164 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7165 * text3.C: use it to delete selections in some cases
7166 (bugs 441, 673, 702, 954).
7168 2003-07-14 André Pönitz <poenitz@gmx.net>
7170 * rowpainter.[Ch]: reduce interface
7172 2003-07-14 André Pönitz <poenitz@gmx.net>
7174 * BufferView_pimpl.C:
7175 * text2.C: adjust after removing unused BufferView * argument
7177 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7179 * text2.C (init): fix a crash fired on resize
7181 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7183 * buffer.[Ch]: added new closing signal
7184 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7185 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7186 BufferView::Pimpl via the closing the signal
7188 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7190 * buffer.[Ch]: take out all bv-related from buffer
7192 * BufferView_pimpl.[Ch]: connect to new signals
7193 * CutAndPaste.C: removed useless asserts
7194 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7197 * lyxfunc.C: moved view-related funciontality from vc here
7198 * paragraph.C: removed outdated comments
7201 2003-07-10 André Pönitz <poenitz@gmx.net>
7203 * BufferView_pimpl.C:
7207 * text2.C: remove InsetText::InnerCache, clean up consequences
7209 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7211 * ispell.C: fix two typos in error messages
7213 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7215 * Extend Note inset to other forms of annotation like Comment
7216 and Greyedout. Right button click gives dialog.
7218 Files modified or added (+):
7222 * ControlNote.[Ch] +
7224 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7225 frontends/controllers
7229 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7231 * aspell.C: add missing namespace lyx::support
7233 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7235 * BufferView.[Ch] (newFile): Add
7236 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7237 * LaTeX.[Ch] (message): added this signal and use it
7238 * buffer.[Ch] (busy, message): added these signals and use them
7239 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7243 * importer.C: use buffer signals instead of direct bv calling
7244 * lyx_cb.[Ch] (ShowMessage): removed
7247 * paragraph_funcs.C:
7248 * text2.C: use buffer signals
7250 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7252 * introduce namespace lyx::graphics
7254 2003-07-02 André Pönitz <poenitz@gmx.net>
7256 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7258 2003-07-01 André Pönitz <poenitz@gmx.net>
7265 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7266 text*.C to text_func.C
7268 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7270 * introduce namespace lyx::support
7272 2003-06-30 André Pönitz <poenitz@gmx.net>
7277 * text.C: re-enable --with-included-string
7279 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7281 * textcursor.C: add <config.h>
7283 * text.C (getWord): remove const from word_location arg
7285 * lyxvc.C (getLogFile): fix const type order
7287 * lyxtext.h: remove const from word_location arg, add arg name
7289 * lyxlayout.h: currect type on labeltype.
7291 * importer.C: correct \file
7293 * converter.C (intToFormat): use std:: on ret val, ws changes
7295 * bufferlist.h: correct \file
7297 * buffer.C (makeLinuxDocFile): fix const type order
7298 (makeDocBookFile): ditto
7299 (fillWithBibKeys): use std:: on stdlib args.
7301 * CutAndPaste.C: fix authors.
7302 (availableSelections): use std:: on return vector
7304 2003-06-27 André Pönitz <poenitz@gmx.net>
7306 * BufferView_pimpl.C:
7307 * bufferview_funcs.C:
7315 * text3.C: remove LyXCursor::row_ member
7318 * text.C: rename fullRebreak() to partialRebreak() and implement
7319 a fullRebreak() that really bereks fully
7321 * textcursor.h: new struct for cursor-related data
7323 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7325 * lyx_main.C (LyX): get full path of document loaded on the
7328 2003-06-26 André Pönitz <poenitz@gmx.net>
7330 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7331 remove unused/broken operator>,<,>=.
7333 * text.C: remove only use of broken operator<= in an Assert().
7335 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7337 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7338 moved errorlist_.clear to showErrorList
7340 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7342 * converter.C (scanLog, runLaTeX):
7343 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7344 move the bv->showErrorList call to the callers
7345 * lyxfunc.C: i.e. here...
7347 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7348 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7349 namespace, the second to...
7350 * buffer_funcs (BufferFormat, parseErrors): added
7351 * errorlist.C (ErrorList(TeXErrors const &)): removed
7353 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7355 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7357 2003-06-24 "Garst R. Reese" <reese@isn.net>
7361 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7363 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7365 * version.C.in: change docversion to 1.4
7367 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7369 * buffer.C: fix a bug just introduced
7371 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7373 * buffer.[Ch]: added the parseError signal and use it, removed
7375 * BufferView.[Ch] (addError): moved to ...
7376 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7377 to the Buffer::parseError signal to catch (guess what) parse errors
7378 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7380 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7382 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7383 ability to create a buffer and to return an existing one from
7384 the list. Moved these functions to...
7385 * buffer_funcs.[Ch]: added
7386 * BufferView.[Ch] (loadLyXFile): added
7387 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7388 job removed from bufferlist::loadLyXFile.
7389 * buffer.C (setReadOnly): make it work without view
7390 (i.e added an if (users))
7392 2003-06-19 Angus Leeming <leeming@lyx.org>
7395 * LyXAction.C (init):
7396 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7397 with LFUN_DIALOG_SHOW <name> <data>.
7399 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7401 * CutAndPaste.C (availableSelections): small compilation fix for
7402 ancient (gcc 2.9x) compilers
7404 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7406 * text3.C (cursorNext): add tmp var
7408 * text2.C (updateCounters): for function calling out of for clause
7409 (replaceSelectionWithString): ditto
7410 (insertStringAsParagraphs): ditto
7411 (getColumnNearX): add tmp var
7412 (setCursorFromCoordinates): add tmp var
7413 (cursorDownParagraph): add tmp var
7414 (deleteEmptyParagraphMechanism): add tmp var
7416 * text.C (insertChar): add tmp var
7418 * rowpainter.C (paintDepthBar): add tmp var
7420 * CutAndPaste.C (availableSelections): potentially check all
7421 paragraphs in a cut to fill the shown strings.
7423 2003-06-18 André Pönitz <poenitz@gmx.net>
7425 * kbmap.[Ch]: use vector<> instead of list<>
7427 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7429 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7430 pasteSelection with index
7432 * text2.C (pasteSelection): modify, call pasteSelection with index
7434 * paragraph.C (asString): reimplement version with no interval to
7435 call the one with interval.
7437 * lyxtext.h: add index arg to pasteSelection
7439 * MenuBackend.C (MenuItem): handle PasteRecent
7440 (Menu::read::Menutags): add md_pasterecent
7442 (expandPasteRecent): new function
7445 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7447 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7449 (availableSelections): new function
7451 2003-06-17 Angus Leeming <leeming@lyx.org>
7453 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7455 2003-06-17 Angus Leeming <leeming@lyx.org>
7458 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7460 * lyxfunc.C (dispatch): invoke it.
7462 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7464 * iterators.C (operator++, ParPosition): reintroduce some
7465 const_cast for the benefit of older compilers.
7467 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7469 * text3.C (dispatch): do not modify clipboard when doing
7470 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7471 LFUN_DELETE_SKIP on a selection selection
7473 2003-06-16 André Pönitz <poenitz@gmx.net>
7479 * tabular.[Ch]: IU of clone() and getLabelList();
7481 2003-06-13 André Pönitz <poenitz@gmx.net>
7483 * tabular.h: compactification
7485 2003-06-12 André Pönitz <poenitz@gmx.net>
7489 * tabular_funcs.h: some renaming plus whitespace
7491 2003-06-12 André Pönitz <poenitz@gmx.net>
7494 * BufferView_pimpl.C:
7500 * toc.C: Return a Paragraph & for ParIterator::operator*()
7502 2003-06-11 John Levon <levon@movementarian.org>
7506 * ToolbarBackend.C: add "Toolbars" section and
7509 2003-06-10 Angus Leeming <leeming@lyx.org>
7512 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7514 * lyxfunc.C (dispatch): invoke it.
7516 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7518 * main.C: protect <ios> with HAVE_IOS
7519 (main): protect sync_with_stdio with HAVE_IOS
7521 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7523 * text2.C (cutSelection): adjust
7524 (pasteSelection): adjust
7526 * messages.C: handle get of empty string
7528 * main.C (main): use sync_with_stdio(false)
7530 * lyxfunc.C (dispatch): adjust
7532 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7533 (WriteAs): remove unneeded BufferView arg.
7535 * bufferparams.h: use correct types on papersize, papersize2 and
7538 * bufferparams.C (readToken): adjust for type
7539 (writeLaTeX): add missing cases to switch.
7541 * bufferlist.C (quitWriteBuffer): adjust
7544 * buffer.C (asciiParagraph): remove some commented code.
7546 * CutAndPaste.C: remove current_view extern variable.
7547 (cutSelection): add BufferParams arg.
7548 (eraseSelection): add BufferParams arg.
7549 (pasteSelection): add Buffer const & arg
7551 2003-06-07 John Levon <levon@movementarian.org>
7554 * paragraph_funcs.C:
7555 * paragraph_pimpl.C:
7559 * paragraph.C: allow InsetERT to freely space lines,
7560 and some consolidation of code
7562 2003-06-06 José Matos <jamatos@fep.up.pt>
7564 * buffer.C (makeDocBookFile): fix bug #821
7566 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7568 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7570 2003-06-04 Angus Leeming <leeming@lyx.org>
7572 * buffer.C: bump format to 224.
7574 2003-06-05 André Pönitz <poenitz@gmx.net>
7576 * text2.C (redoParagraphs): remove two const_cast<>
7578 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7580 * ParagraphList.h: remove last remnants of NO_STD_LIST
7582 2003-06-03 Angus Leeming <leeming@lyx.org>
7584 * factory.C (createInset): small change to the way InsetExternal's params
7587 2003-06-04 André Pönitz <poenitz@gmx.net>
7589 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7591 * paragraph_pimpl.h:
7592 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7594 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7596 * undo_funcs.C: make some simple cases of undo work again
7598 2003-06-03 John Levon <levon@movementarian.org>
7600 * ispell.C: HPUX doesn't have sys/select.h
7603 2003-06-03 John Levon <levon@movementarian.org>
7605 * CutAndPaste.C: update tabular and include inset
7610 * paragraph.C: remove owningBuffer(), don't pass Buffer
7613 * factory.C: insetGraphicsParams changed
7615 2003-06-02 John Levon <levon@movementarian.org>
7621 * text3.C: remove insetparent
7623 2003-06-02 John Levon <levon@movementarian.org>
7626 * buffer.C: fix inset_iterator.end(), move out of line
7629 2003-06-01 John Levon <levon@movementarian.org>
7631 * text3.C: use a proper cut/paste when doing inset
7632 insert (from Jürgen Spitzmüller)
7634 2003-06-01 John Levon <levon@movementarian.org>
7636 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7638 2003-05-30 André Pönitz <poenitz@gmx.net>
7640 * rowpainter.C: unify second drawing phase
7642 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7644 * trans_mgr.C: remove one case of current_view
7646 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7648 * paragraph_funcs.h: remove paragraph.h include
7650 * paragraph.h: delete NO_STD_LIST stuff
7652 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7654 * buffer.h: remove paragraph.h include
7656 * ParagraphList.C: delete file
7658 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7660 * toc.C (getTocList): adjust
7662 * paragraph_pimpl.C (validate): adjust
7664 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7666 * paragraph.C (Paragraph): adjust
7667 (getPositionOfInset): use const_iterator, adjust
7668 (bibitem): use const_iterator, adjust
7669 (setInsetOwner): adjust
7671 * iterators.C (operator++): adjust
7673 * InsetList.[Ch]: Replace selfmade iterator with standard
7674 vector::iterator also introduce const_iterator. Remove getPos,
7675 getInset and setInset from InsetTable. Adjust accordingly.
7677 * BufferView.C (lockInset): adjust
7678 (ChangeInsets): adjust
7680 * tabular.[Ch]: delete commented same_id functions
7682 2003-05-28 John Levon <levon@movementarian.org>
7684 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7686 2003-05-28 André Pönitz <poenitz@gmx.net>
7688 * metricsinfo.[Ch]: remove 'fullredraw' member
7690 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7692 * lyxtextclass.C (operator): remove caching.
7694 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7698 * text2.C (cursorBottom): adjust
7699 (setCounter): use ParagraphList::find, adjust
7701 * text.C (workWidth): use ParagraphList::find, adjust
7703 * lyxcursor.C (LyXCursor): adjust
7705 * buffer.C (inset_iterator): adjust
7707 * ParagraphList.h: make iterator(value_type) private, make
7708 ParagraphList a friend of iterator.
7710 * ParagraphList.C (find): new function
7712 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7714 2003-05-27 André Pönitz <poenitz@gmx.net>
7716 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7718 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7720 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7722 2003-05-26 John Levon <levon@movementarian.org>
7724 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7726 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7728 * remove same_id from function signatures, adjust.
7730 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7732 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7734 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7736 * paragraph.C (Paragraph): get rid of same_ids parameter
7738 * ParagraphList.C (insert): adjust
7741 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7743 * paragraph_funcs.C (breakParagraph): adjust
7744 (breakParagraphConservative): adjust
7746 * buffer.C (readParagraph): adjust
7748 * ParagraphList.C (insert): take a reference instead of a pointer
7751 * paragraph.[Ch] (id): new function
7753 * bufferlist.C (newFile): adjust
7755 * ParagraphList.C (ParagraphList): adjust
7757 (push_back): take a reference instead of a pointer.
7759 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7761 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7764 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7765 set else use old code.
7767 * ParagraphList.C: remove all NO_NEXT code and only compile this
7768 code of NO_STD_LIST is set.
7770 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7772 * BufferView_pimpl.C:
7782 * graphics/GraphicsConverter.C:
7783 * graphics/PreviewLoader.C: header adjustment
7785 2003-05-23 Angus Leeming <leeming@lyx.org>
7787 * LaTeXFeatures.[Ch] (useBabel): new method.
7788 * bufferparams.C (writeLaTeX): use it.
7790 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7792 * ParagraphList.h (set): remove unused function.
7794 2003-05-23 André Pönitz <poenitz@gmx.net>
7797 * BufferView_pimpl.C:
7801 * undo_funcs.C: setUndo reworked
7803 * iterators.[Ch]: add access to topmost ParagraphList
7805 * lyxtext.[Ch] (workWidth): add a const
7807 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7809 * texrow.[Ch] (increasePos): remove function
7810 * exporter.C (export): removed unused var and outdated comment
7812 2003-05-23 Angus Leeming <leeming@lyx.org>
7814 * latexrunparams.h: rename fragile as moving_arg.
7815 * paragraph.C (simpleTeXOnePar): ditto.
7816 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7818 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7820 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7822 (textUndoOrRedo): comment out a currently unused var.
7824 * paragraph.h (NO_NEXT): enable NO_NEXT
7826 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7828 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7830 * exporter.C (Export): adjust for removeAutoInsets removal.
7832 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7834 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7836 * BufferView.[Ch] (removeAutoInsets): delete function
7838 2003-05-22 Angus Leeming <leeming@lyx.org>
7840 * latexrunparams.h: add a free_spacing variable.
7842 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7843 to pass moving_arg, as the data is stored in runparams.fragile.
7845 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7846 to Inset::latexOptional or to simpleTeXOnePar.
7848 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7849 free_spacing arg to Inset::latexOptional.
7851 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7854 2003-05-22 Angus Leeming <leeming@lyx.org>
7856 * latexrunparams.h: add fragile and use_babel variables.
7858 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7859 * buffer.C (makeLaTeXFile): store this returned value in
7860 runparams.use_babel, thus passing it to the inset::latex methods.
7862 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7863 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7865 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7866 longer has a fragile arg, as it is stored in runparams.fragile.
7868 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7869 moving_arg parameter as the data is stored in runparams.fragile.
7871 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7872 a fragile parameter as the data is stored in runparams.fragile.
7874 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7876 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7878 2003-05-22 Angus Leeming <leeming@lyx.org>
7880 * latexrunparams.h: add a 'bool nice' which defaults to false.
7882 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7883 now encapsulated within runparams.
7885 * bufferlist.C (updateIncludedTeXfiles):
7886 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7888 2003-05-22 Angus Leeming <leeming@lyx.org>
7890 * latexrunparams.h: new file containing struct LatexRunParams.
7891 * Makefile.am: add new file.
7893 * LaTeX.[Ch] (c-tor, run):
7894 * buffer.[Ch] (makeLaTeXFile):
7895 * bufferlist.[Ch] (updateIncludedTeXfiles):
7896 * converter.C (convert, scanLog):
7897 * converter.[Ch] (runLaTeX):
7898 * exporter.C (Export):
7899 * paragraph.[Ch] (simpleTeXOnePar):
7900 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7901 * paragraph_funcs.[Ch] (latexParagraphs):
7902 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7903 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7904 pass around a LatexRunParams parameter.
7906 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7908 * paragraph.[Ch]: remove unused constructor
7910 * ParagraphList.C (erase): new function, taking two iterators
7912 2003-05-22 André Pönitz <poenitz@gmx.net>
7914 * undo_funcs.C: remove duplicated code
7916 * iterator.[Ch]: operator=
7918 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7920 * tabular.C (SetMultiColumn): ws changes
7922 * rowpainter.C (paintFirst): get rid of a ->previous
7924 * lyx_cb.C (getPossibleLabel): parlist simplification
7926 * BufferView.C (ChangeInsets): simplify slightly.
7928 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7930 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7931 * lfuns.h: new LFUN_SPACE
7932 * lyxfunc.C: protected space has a new lfun
7933 * paragraph_funcs.C: read new space insets
7935 * factory.C: handle new space insets
7937 2003-05-22 André Pönitz <poenitz@gmx.net>
7940 * BufferView_pimpl.C:
7943 * undo_funcs.C: return a ParIterator from getParFromID.
7945 * iterators.[Ch]: add two const's
7947 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7949 * toc.C (getTocList): adjust
7951 * iterators.[Ch]: rework for parlist
7953 * buffer.C (par_iterator_begin): adjust
7954 (par_iterator_end): adjust
7956 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7958 * BufferView.C (removeAutoInsets): adjust
7959 (ChangeInsets): adjust
7961 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7963 * text.C (top_y): fix bug 1110
7965 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7967 * errorlist.[Ch]: added
7970 * BufferView_pimpl.C:
7971 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7974 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7976 * Makefile.am: ensure that lyx is relinked upon changes to the
7977 various "convenience" libs.
7979 2003-05-20 Angus Leeming <leeming@lyx.org>
7981 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7982 files are compiled in alphabetical order again.
7984 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7986 2003-05-19 Angus Leeming <leeming@lyx.org>
7988 * gettext.[Ch]: remove "char const * _(char const *)".
7990 2003-05-19 André Pönitz <poenitz@gmx.net>
7992 * dimension.[Ch]: promote from mathed/dimension.[Ch]
8001 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8003 2003-05-19 André Pönitz <poenitz@gmx.net>
8007 * lyxtextclass.[Ch]:
8009 * paragraph_funcs.[Ch]:
8011 * text3.C: more insetenv work
8013 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8015 * ParagraphParameters.C (params2string): small bug fixed
8017 2003-05-16 André Pönitz <poenitz@gmx.net>
8020 * bufferview_funcs.C: patch from Kornel Benko to prevent
8021 crash when _(...) is called twice in a statement
8023 2003-05-16 André Pönitz <poenitz@gmx.net>
8030 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8032 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8034 * lyx_main.C (init): remove spurious static_cast
8036 2003-05-14 André Pönitz <poenitz@gmx.net>
8038 * BufferView.C: fix format string
8040 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8042 * BufferView.[Ch] (insertErrors): removed
8043 * BufferView.[Ch] (showErrorList): added
8044 * buffer.C (runChkTeX):
8045 * converter.C (scanLog): call showErrorList instead of inserterrors
8047 2003-05-13 André Pönitz <poenitz@gmx.net>
8049 * BufferView_pimpl.C:
8051 * bufferview_func.C:
8058 * tabular_funcs.h: tostr() from its own header
8060 * ParagraphParameters.C:
8065 * text3.C: STRCONV()
8067 2003-05-12 André Pönitz <poenitz@gmx.net>
8070 * BufferView_pimpl.C:
8074 * ParagraphParameters.C:
8078 * bufferview_funcs.C:
8091 * paragraph_funcs.C:
8095 * text3.C: boost::format -> bformat all over the place
8098 2003-05-09 André Pönitz <poenitz@gmx.net>
8100 * LColor.[Ch]: Pimpl the #include <map> away
8102 2003-05-09 John Levon <levon@movementarian.org>
8104 * bufferlist.C: never remove emergency saves
8106 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8108 * Makefile.am: better lib building
8110 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8112 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8114 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8115 (simpleTeXSpecialChars): adjust
8116 (simpleTeXSpecialChars): adjust
8117 * paragraph.C (simpleTeXOnePar): adjust
8118 * buffer.C (makeLaTeXFile): adjust
8120 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8122 * text2.C (changeDepth): parlist cleanup
8123 (getColumnNearX): ditto
8125 * rowpainter.C (getLabelFont): parlist cleanup
8127 * bufferlist.C (newFile): parlist cleanup
8129 * CutAndPaste.C (eraseSelection): parlist cleanup
8131 * BufferView_pimpl.C (trackChanges): parlist cleanup
8134 * BufferView.C (lockInset): parlist cleanup.
8135 (ChangeInsets): ditto
8137 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8139 * CutAndPaste.h: Update file header.
8141 * CutAndPaste.C: Update file header.
8142 Store the parts cut out of the Document in a limited_stack.
8143 (copySelection): adjust
8144 (pasteSelection): new function, takes the index in the limited stack.
8145 (nrOfParagraphs): adjust
8146 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8147 simplify error inset insertion.
8148 (checkPastePossible): adjust
8150 2003-05-06 John Levon <levon@movementarian.org>
8152 * text2.C: don't cast wrap inset to float
8154 2003-05-05 André Pönitz <poenitz@gmx.net>
8157 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8159 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8160 few naked Paragraph *.
8162 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8164 * bufferparams.C: Output warning if a document with missing
8165 TeX document class is loaded
8166 * exporter.C: Disable TeX exports if the document class is missing
8169 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8170 isTeXClassAvailable()
8172 2003-05-03 John Levon <levon@movementarian.org>
8175 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8176 explicit cursor show/hide
8178 * BufferView_pimpl.h:
8179 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8180 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8182 * lyxfunc.C: hide cursor before dispatching.
8187 * text3.C: remove explicit cursor hides
8189 2003-05-02 André Pönitz <poenitz@gmx.net>
8191 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8194 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8197 * text2.C: tiny whitespace
8199 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8201 * undo_funcs.C: almost only ws changes.
8203 * ParagraphList.C (splice): just return if pl is empty.
8205 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8207 * ParagraphList.C (splice): new function.
8209 * CutAndPaste.C (pasteSelection): use it
8211 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8213 * CutAndPaste.C (pasteSelection): remove the last next and
8214 previous from this file.
8216 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8218 * CutAndPaste.C (pasteSelection): more clean up, user proper
8219 ParagraphList functions for pasteing.
8221 * ParagraphList.C (insert): new function, three arg insert
8223 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8225 * ParagraphList.C (insert): new function, three arg insert
8227 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8230 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8232 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8234 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8236 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8238 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8240 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8241 (copySelection): clean up a bit.
8242 (pasteSelection): use make_pair
8244 * ParagraphList.C (ParagraphList): implement copy constructor
8245 (operator=): implement, base on copy constructor.
8248 * paragraph.C (erase): return a bool
8250 * paragraph_pimpl.C (erasePos): remove function, move contents...
8251 (erase): ... here. Return a bool.
8252 (erase): call erase instead of erasePos.
8254 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8256 * ParagraphList.h: define PitPosPair
8257 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8258 ParagraphList, fix a bug on pasting multiple pars
8259 * text2.C: change interface to C&P
8261 2003-04-30 André Pönitz <poenitz@gmx.net>
8263 * undo_func.C: revert part of yesterday's patch 2
8265 2003-04-30 John Levon <levon@movementarian.org>
8267 * LColor.C: s/tabular/table/
8269 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8271 * text3.C (dispatch): do not convert iterator -> pointer
8272 * undo_funcs.C (setCursorParUndo): ditto
8273 * text_funcs.C (transposeChars): ditto
8275 * text2.C (setLayout): ws changes only
8277 * text.C (breakParagraph): do not convert iterator -> pointer
8279 (acceptChange): ditto
8280 (rejectChange): ditto
8285 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8288 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8290 * text3.C (gotoInset): YABG (yet another bad getChar)
8292 2003-04-29 André Pönitz <poenitz@gmx.net>
8294 * paragraph.h: make operator= private unimplemented as long as
8297 * ParagraphList.C: whitespace
8300 * paragraph_pimpl.[Ch]:
8301 * paragraph_funcs.C:
8303 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8306 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8308 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8310 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8311 * paragraph.[Ch] (erase):
8312 * paragraph_pimpl.[Ch] (erase): change return type and value
8313 * text2.C (cutSelection): some rework
8315 2003-04-28 John Levon <levon@movementarian.org>
8317 * bufferlist.C: changes for unsaved changes dialog
8319 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8321 * bufferlist.C (newFile): set language (messages_) for new
8324 * buffer.C (readFile): ws changes only.
8326 2003-04-28 André Pönitz <poenitz@gmx.net>
8331 * BufferView_pimpl.C:
8332 * BufferView.C: getParFromID related ParagraphList::iterator changes
8334 2003-04-28 André Pönitz <poenitz@gmx.net>
8336 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8339 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8341 * messages.C: remove one more localedir class variable.
8343 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8345 * messages.C (getLocaleDir): singleton generation function
8347 (Messages): add a default constructor.
8349 * main.C (main): do not setup localedir here, do not call
8352 * gettext.C (_): use it.
8353 (gettext_init): delete funciton
8355 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8357 * gettext.C (getLyXMessages): new singleton generating function.
8359 * buffer.C (updateDocLang): adjust
8361 * Makefile.am (messages.o): add target
8362 (main.o): remove target
8364 2003-04-27 John Levon <levon@movementarian.org>
8369 * lyxvc.C: specify cancel button in Alert::prompt
8371 2003-04-26 John Levon <levon@movementarian.org>
8376 * LyXAction.C: add LFUN_INSET_SETTINGS
8378 * lyxfunc.C: don't enable tabular-feature when there's
8379 just any locking inset
8381 2003-04-26 John Levon <levon@movementarian.org>
8383 * bufferlist.C: re-add Cancel to buffer close question
8385 * lyxfunc.C: fix import UI a bit
8387 2003-04-25 John Levon <levon@movementarian.org>
8389 * gettext.C: remove the broken asserts for now
8391 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8393 * messages.C: make case where setlocale cannot comply work better.
8395 * buffer.C (updateDocLang): new function
8396 (changeLanguage): use it
8399 * text2.C (setCounter): use B_ a bit.
8401 * lyxlayout.C (Read): be sure to trim the label strings.
8403 * messages.C (Messages): fix typo in comment
8405 * buffer.C (readFile): set message_ after file is loaded.
8406 (makeDocBookFile): remove double return
8407 (changeLanguage): reset message_ upon language change.
8408 (B_): new func, use this to get translated buffer strings.
8410 * main.C: add myself and Jean Marc as authors.
8412 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8414 * messages.[hC]: pimplify Messages, and three different pimpls to be
8415 used in different circumstances.
8417 * gettext.[Ch]: change for use with new message code.
8419 2003-04-24 André Pönitz <poenitz@gmx.net>
8421 * factory.C: support for eqref
8423 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8425 * messages.[Ch]: add missing char
8427 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8429 * messages.[Ch]: New files
8431 2003-04-18 John Levon <levon@movementarian.org>
8435 * BufferView_pimpl.C:
8439 * text2.C: remove layout-copy/paste (bug 778)
8441 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8443 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8445 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8447 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8448 if they succeed. Act accordingly.
8450 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8452 * text2.C (setCharFont): adjust
8453 (setCounter): adjust
8454 (insertStringAsLines): adjust
8456 * text.C (leftMargin): adjust
8457 (setHeightOfRow): adjust
8459 * rowpainter.C (paintFirst): adjust
8462 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8464 (isFirstInSequence): ditto
8465 (getEndLabel): ditto
8468 * paragraph.C (getParLanguage): comment out some hard stuff.
8470 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8472 (simpleDocBookOnePar): ditto
8473 (makeDocBookFile): use ParagraphList::iterator
8475 * CutAndPaste.C (pasteSelection): adjust
8477 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8479 * text2.C (getFont): adjust
8480 (getLayoutFont): adjust
8481 (getLabelFont): adjust
8483 * paragraph_funcs.C (TeXOnePar): adjust
8485 * buffer.C (simpleLinuxDocOnePar): adjust
8486 (simpleDocBookOnePar): adjust
8488 * CutAndPaste.C (pasteSelection): adjust
8490 * BufferView.C (getEncoding): adjust
8492 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8494 2003-04-16 John Levon <levon@movementarian.org>
8496 * lyxfind.C: use parlist stuff for search/changes
8498 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8500 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8502 * text2.C (deleteEmptyParagraphMechanism): adjust
8504 * text2.[Ch] (ownerParagraph): delete func (both of them
8506 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8508 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8510 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8512 * ParagraphList.C: prepare for NO_NEXT
8514 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8516 * text2.C (getFont): adjust
8517 (getLayoutFont): adjust
8518 (getLabelFont): adjust
8520 * paragraph.C (getFont): adjust
8521 (getLabelFont): adjust
8522 (getLayoutFont): adjust
8524 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8526 2003-04-15 John Levon <levon@movementarian.org>
8530 * lyx_main.C: handle Include in .ui files
8532 2003-04-15 John Levon <levon@movementarian.org>
8534 * MenuBackend.C: make the doc files length shorter
8537 * ToolbarBackend.C: handle toolbar placement flags,
8540 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8542 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8545 * paragraph_funcs.C (TeXOnePar): adjust
8547 * paragraph.C (getLabelFont): add outerfont arg, adjust
8548 (getLayoutFont): ditto
8549 (simpleTeXOnePar): adjust
8551 * paragraph_pimpl.C (realizeFont): delete func
8553 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8555 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8556 row argument, constify cur argument.
8558 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8560 * text2.C (getFont): adjust
8561 (getLayoutFont): adjust
8562 (getLabelFont): adjust
8564 * paragraph_funcs.C (TeXOnePar): adjust
8565 (outerFont): new func...
8566 (realizeFont): ...moved out from here, changed this to facilitate
8569 * paragraph.C (getFont): take outerfont as arg, adjust
8570 (simpleTeXOnePar): add outerfont arg, adjust
8572 * buffer.C (simpleLinuxDocOnePar): adjust
8573 (simpleDocBookOnePar): adjust
8575 * CutAndPaste.C (pasteSelection): adjust
8577 * BufferView.C (getEncoding): adjust
8579 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8581 * text2.C (setCharFont): adjust
8582 (setCounter): adjust
8584 * text.C (leftMargin): adjust
8585 (setHeightOfRow): adjust
8587 * rowpainter.C (paintFirst): adjust
8590 * paragraph_pimpl.C (realizeFont): adjust
8592 * paragraph.C (isFirstInSequence): move from here...
8593 * paragraph_funcs.C (isFirstInSequence): ...to here
8595 * paragraph.C (outerHook): move from here...
8596 * paragraph_funcs.C (outerHook): ...to here
8598 * paragraph.C (depthHook): move from here...
8599 * paragraph_funcs.C (depthHook): ...to here
8601 * paragraph.C (getEndLabel): move from here...
8602 * paragraph_funcs.C (getEndLabel): ...to here
8604 * text2.C (realizeFont): move from here...
8605 * paragraph_funcs.C (realizeFont): ...to here
8607 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8609 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8611 2003-04-14 Angus Leeming <leeming@lyx.org>
8613 * LColor.[Ch]: scrap LColor mathcursor.
8615 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8617 * lyxlex.[Ch] (text): delete function
8618 * trans.C (Load): adjust
8619 * paragraph_funcs.C (readParToken): adjust
8621 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8623 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8624 vector<char> instead of a char[].
8626 * lyxlex_pimpl.C (getString): adjust
8628 (lex): use getString
8632 * lyxlex.C (text): use pimpl_->getString()
8636 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8638 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8639 (makeFontEntriesLayoutSpecific): temp var for par.size()
8640 (setLayout): temp var for ownerParagraphs().end()
8641 (fullRebreak): temp var for rows().end()
8642 (selectionAsString): temp var for boost::next(startpit), realize
8643 that the while really is a regular for loop.
8644 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8645 setCursor in one place.
8646 (setParagraph): temp vr for ownerParagraphs().end()
8647 (updateCounters): make the while loop a for loop
8648 (cutSelection): temp var for ownerParagraphs().end()
8649 (updateInset): make the do {} while() a regular for loop
8650 (getCursorX): use temp vars
8651 (setCurrentFont): use temp vars
8652 (getColumnNearX): use temp vars
8654 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8656 * text.C (transformChar): use temp var for getChar
8657 (computeBidiTables): use temp var for row->par()
8658 (fill): move temp vars for row->par() and pit->layout() earlier in
8660 (labelFill): use temp var for row->par()
8661 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8662 asc and desc, realize that pit never changes and that firstpit is
8663 just a duplicate and not needed. Exchange rit->par() with pit in a
8665 (breakAgain): use a temp var for boost::next(rit)
8666 (breakAgainOneRow): ditto
8667 (breakParagraph): use a temp var for rows().begin()
8668 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8669 (cursorRightOneWord): use temp var for cursor.par() and
8670 cursor.pos(), remove usage of tmpcursor.
8671 (cursorLeftOneWord): use temp var for cursor.par() and
8672 cursor.pos() only set cur at end of function.
8674 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8676 * text.C, text2.C: exchange all usage of Paragraph::next with
8677 boost::next(ParagraphList::iterator)
8679 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8681 * text2.C (cursorTop): simplify implementation
8682 (cursorBottom): ditto
8683 (setParagraph): use ParagraphList::iterator
8684 (setCurrentFont): adjust
8685 (getColumnNearX): adjust
8686 (cursorRight): adjust
8687 (cursorLeft): remove usage of Paragraph::previous
8688 (cursorUpParagraph): ditto
8689 (deleteEmptyParagraphMechanism): slight cleanup
8691 * text.C (isBoundary): take a Paragraph const & instead of a
8693 (addressBreakPoint): ditto
8694 (leftMargin): remove usage of Paragraph::previous.
8695 (setHeightOfRow): ditto
8696 (cursorLeftOneWord): ditto
8697 (selectNextWordToSpellcheck): ditto
8700 (breakParagraph): remove one usage of Paragraph::next
8701 (redoParagraph): ditto
8702 (acceptChange): ditto
8703 (insertChar): adjust
8704 (rowBreakPoint): adjust
8706 * bufferview_funcs.C (toggleAndShow): adjust
8708 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8710 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8711 methods to access it.
8713 * text.C: Added updateRowPositions to compute all row positions.
8714 Make top_y and getRowNearY() to use the cached y position
8716 2003-04-11 John Levon <levon@movementarian.org>
8718 * text.C (rowBreakPoint): reintroduce the labelEnd
8719 checks, code copied from the row fill stuff. Deep voodoo.
8721 * text.C (fill): add a comment and debugging for the
8724 2003-04-11 John Levon <levon@movementarian.org>
8726 * text.C: make sure fullrow insets get wrapped to the next line,
8727 even when they're in a manual label
8729 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8731 * text2.C (insertParagraph): make it take ParagraphList::iterator
8733 (setLayout): make it return ParagraphList::iterator
8734 (redoParagraphs): ditto
8736 (checkParagraph): ditto
8738 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8740 * text2.C: adjust several funcs.
8741 (realizeFont): take a ParagraphList::iterator as arg.
8742 (getLayoutFont): ditto
8743 (getLabelFont): ditto
8744 (setCharFont): ditto
8746 * text.C: adjust several funcs.
8748 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8750 * text.C (selectNextWordToSpellcheck): don't accidentally
8753 2003-04-10 John Levon <levon@movementarian.org>
8755 * ToolbarBackend.C (getIcon): special handling for
8758 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8760 * text2.C (cursorRight): a getChar assert fixed
8762 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8764 * text2.C (getFont): change to take a ParagraphList::iterator
8765 instead of Paragraph*
8766 Adjust several functions.
8768 * text.C (transformChar): change to take a ParagraphList::iterator
8769 instead of Paragraph*
8770 (singleWidth): ditto
8771 Adjust several functions.
8773 * rowpainter.C: adjust several functions
8774 * rowpainter.h:store a ParagraphList::iterator and not a
8778 2003-04-09 John Levon <levon@movementarian.org>
8783 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8784 and the "help" bits as well
8786 2003-04-09 John Levon <levon@movementarian.org>
8789 * ToolbarBackend.C: allow multiple toolbars
8791 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8793 * undo_funcs.C (setCursorParUndo): adjust
8795 * text_funcs.C (transposeChars): adjust
8797 * text3.C (gotoNextInset): adjust
8800 * text2.C (setLayout): adjust
8801 (changeDepth): adjust
8803 (redoParagraphs): adjust
8804 (selectionAsString): adjust
8805 (setParagraph): adjust
8806 (insertInset): adjust
8807 (cutSelection): adjust
8808 (copySelection): adjust
8809 (pasteSelection): adjust
8810 (insertStringAsLines): adjust
8811 (updateInset): adjust
8812 (setCursor): change to take a ParagraphList::iterator parameter
8813 (setCursorIntern): change to take a ParagraphList::iterator parameter
8814 (setCurrentFont): adjust
8815 (cursorLeft): adjust
8816 (cursorRight): adjust
8817 (deleteEmptyParagraphMechanism): adjust
8819 * text.C (breakParagraph): adjust
8820 (insertChar): adjust
8821 (acceptChange): adjust
8822 (rejectChange): adjust
8823 (selectNextWordToSpellcheck): adjust
8824 (changeCase): adjust
8828 * lyxfind.C (SearchForward): adjust
8829 (SearchBackward): adjust
8830 (nextChange): adjust
8832 * lyxcursor.C (par): adjust
8834 * lyxcursor.h: store a ParagraphList::iterator instead of a
8837 * lyx_cb.C (getPossibleLabel): adjust
8839 * bufferview_funcs.C (toggleAndShow): adjust
8841 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8844 * BufferView.C (removeAutoInsets): adjust
8845 (lockedInsetStoreUndo): adjust
8847 2003-04-09 John Levon <levon@movementarian.org>
8849 * ToolbarBackend.C: try icon without argument
8850 if with argument fails
8852 2003-04-08 John Levon <levon@movementarian.org>
8855 * ToolbarBackend.C: add getIcon(), handle tooltip,
8856 and change from "Icon" to "Item".
8858 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8860 * BufferView.C (lockInset): another bad getchar crunched
8862 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8864 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8867 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8869 * lyxfind.C (searchForward, searchBackwards): bug 782
8871 2003-04-07 John Levon <levon@movementarian.org>
8873 * paragraph.C: remove dead comment
8875 * text.C: remove troublesome depth-fiddling code
8876 in leftMargin() and rightMargin() (bug 1017)
8878 * text.C: fix breaking of rows in nested lists
8881 * text2.C (updateCounters): fix up depth values
8884 2003-04-07 John Levon <levon@movementarian.org>
8886 * BufferView_pimpl.C: clear message when doc finishes resizing,
8887 and after a mouse event
8889 * lyxfunc.C: clear message after exiting inset
8891 2003-04-07 John Levon <levon@movementarian.org>
8893 * bufferview_funcs.C: show math status not outside
8894 status in the statusbar
8896 2003-04-07 John Levon <levon@movementarian.org>
8898 * lyxfunc.C: note status changed after a depth change
8900 2003-04-04 Angus Leeming <leeming@lyx.org>
8902 * LaTeX.h: move AuxInfo operator==, != out of line.
8903 Remove LaTeX virtual destructor; nothing derives from it.
8904 Move operator()() out of public area and rename it startscript().
8905 Change protected for private.
8907 2003-04-04 Angus Leeming <leeming@lyx.org>
8910 * text2.C: remove unneeded #includes.
8912 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8914 * text2.C (dEPM): fix the heigth of the next row
8916 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8918 * text.C: squashed an invalid getChar requester + some ws changes
8920 2003-04-03 John Levon <levon@movementarian.org>
8922 * bufferview_funcs.h:
8923 * bufferview_funcs.C:
8926 * text2.C: make getStatus work for the env depth lfuns
8928 2003-04-03 John Levon <levon@movementarian.org>
8930 * bufferview_funcs.h:
8931 * bufferview_funcs.C:
8934 * text2.C: parlistize decDepth(), by merging it with incDepth()
8936 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8938 * lyxrow.h: store a ParagraphList::iterator instead of a
8939 Paragraph* and adjust other class functions to suit.
8941 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8944 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8946 * text2.C (setCursor): do not anchor to cursor row for the time being
8948 2003-04-02 John Levon <levon@movementarian.org>
8955 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8957 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8959 * paragraph.h: make ParagraphList and ParagraphList::iterator
8960 friends of Paragraph.
8962 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8964 * ParagraphList.C: Use the private next_ and previous_ from
8967 2003-04-01 John Levon <levon@movementarian.org>
8971 * Makefile.am: rename, remove defaults gunk
8974 * MenuBackend.C: remove defaults gunk
8977 * Languages.C: remove defaults gunk
8980 * lyx_main.C: error out if files couldn't be found.
8982 2003-04-02 John Levon <levon@movementarian.org>
8984 * text2.C: make incDepth() use parlist
8986 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8988 * undo_funcs.C (firstUndoParagraph): adjust
8990 * text3.C (gotoInset): adjust
8991 (dispatch): adjust, and rewrite loop.
8993 * text2.C (init): adjust, and rewrite loop.
8994 (redoParagraphs): adjust
8995 (updateInset): adjust, and rewrite loop.
8996 (deleteEmptyParagraphMechanism): adjust
8998 * tabular.C (LyXTabular): adjust
8999 (SetMultiColumn): adjust
9002 * lyxtext.[Ch] (ownerParagraph): delete function
9003 (ownerParagraphs): new function returns a ParagraphList.
9005 * BufferView.C (removeAutoInsets): adjust
9006 (insertErrors): adjust
9007 (setCursorFromRow): adjust
9009 2003-04-01 Angus Leeming <leeming@lyx.org>
9011 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9014 2003-04-02 John Levon <levon@movementarian.org>
9020 * text_funcs.C: make transposeChars a free function
9022 * lyxrow_funcs.C: remove wrong comment
9024 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9027 * rowpainter.C: adjust
9032 * lyxrow_funcs. [Ch]: new files
9034 * lyxrow.[Ch]: remove next and previous pointers
9035 (next,previous): remove accessor functions
9036 (isParEnd): move to lyxrow_funcs
9037 (lastPos): move to lyxrow_funcs
9038 (nextRowIsAllInset): move to lyxrow_funcs
9039 (lastPrintablePos): move to lyxrow_funcs
9040 (numberOfSeparators): move to lyxrow_funcs
9041 (numberOfHfills): move to lyxrow_funcs
9042 (numberOfLabelHfills): move to lyxrow_funcs
9043 (hfillExpansion): move to lyxrow_funcs
9047 * bufferview_funcs.C (toggleAndShow): adjust
9049 * RowList.h: Remove class RowList from file leave just a
9052 * RowList.C: delete file
9054 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9057 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9059 * text3.C (cursorPrevious): adjust
9060 (cursorNext): adjust
9063 * text2.C (redoHeightOfParagraph): adjust
9064 (redoDrawingOfParagraph): adjust
9067 * text.C (breakParagraph): adjust
9068 (insertChar): adjust
9071 * rowpainter.C (RowPainter): adjust
9072 (leftMargin): simplify and adjust
9073 (most rowpainter functions): adjust.
9075 * rowpainter.h: store the row as RowList::iterator not as Row*
9077 * lyxcursor.C (row): taka RowList::iterator as arg
9080 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9083 2003-04-01 Angus Leeming <leeming@lyx.org>
9085 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9086 stuff like bool Bool.
9088 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9090 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9093 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9095 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9098 * lyxtext.h (rows): drop one version and leve a const variant that
9099 returns a RowList::iterator.
9101 2003-03-31 Angus Leeming <leeming@lyx.org>
9103 * text.C (fill): ensure that the signature is the same as that in the
9106 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9108 * text2.C (redoParagraphs): adjust
9109 (updateCounters): adjust
9110 (checkParagraph): adjust
9111 (getColumnNearX): adjust and reformat a bit.
9113 * text.C (top_y): adjust
9115 (leftMargin): adjust
9116 (prepareToPrint): adjust
9118 (getRowNearY): adjust
9120 * lyxtext.h: make rowlist_ mutable.
9122 * RowList.h: add const_iterator
9123 * RowList.C: adjust for RowList::const_iterator.
9125 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9128 2003-03-31 John Levon <levon@movementarian.org>
9131 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9133 * lyx_main.C: set default fonts from using lyx_gui funcs
9135 * exporter.C: pdf_mode moved from lyxrc
9138 * lyxfunc.C: changes from above
9140 2003-03-31 John Levon <levon@movementarian.org>
9142 * lyx_main.C: fix to the last fix
9144 2003-03-31 John Levon <levon@movementarian.org>
9146 * bufferlist.C: "Load original" -> "Load Original"
9152 * format.C: more Alert cleanups
9154 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9156 * text2.C (removeParagraph): make it take a RowList::iterator as
9158 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9159 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9161 * text.C (anchor_row): make it take a RowList::iterator as arg,
9163 (computeBidiTables): make it take a const reference to Row instead
9164 of Row pointer, adjust.
9165 (leftMargin): make it take a RowList::iterator as arg, adjust.
9166 (rowBreakPoint): adjust
9167 (breakAgainOneRow): make it take a RowList::iterator as arg,
9169 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9171 * bufferview_funcs.C (toggleAndShow): adjust
9173 2003-03-30 John Levon <levon@movementarian.org>
9177 * boost-inst.C: moved to support
9179 * several files: changes as a result
9181 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9183 * text2.C (LyXText): adjust.
9185 (removeRow): make it take a RowList::iterator as arg, adjust.
9186 (fullRebreak): adjust
9187 (deleteEmptyParagraphMechanism): adjust
9188 (clearPaint): adjust
9191 * text.C (top_y): adjust
9192 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9193 (breakAgain): make it take a RowList::iterator as arg, adjust.
9194 (breakParagraph): adjust
9195 (insertChar): adjust
9198 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9199 need_break_row, and refresh_row.
9201 * text3.C (dispatch): adjust
9203 * text2.C (checkParagraph): adjust
9205 (setCursorFromCoordinates): adjust
9207 * text.C (top_y): adjust
9209 (getRow): make it return a RowList::iterator, adjust
9210 (getRowNearY): make it return a RowList::iterator, adjust
9212 * text2.C (init): adjust
9213 (insertRow): remove function
9214 (insertParagraph): adjust
9215 (redoParagraphs): adjust
9216 (fullRebreak): adjust
9217 (updateCounters): adjust
9219 * text.C (top_y): rewrite to use RowList iterators.
9221 (setHeightOfRow): rewrite to sue RowList iterators.
9222 (appendParagraph): adjust
9223 (breakAgain): adjust
9224 (breakAgainOneRow): adjust
9225 (breakParagraph): adjust
9227 (getRowNearY): adjust, and remove commented code.
9229 * lyxtext.h (firstRow): delete function
9230 (lastRow): delete function
9231 (rows): new function (const and non-const versions.)
9232 (insertRow): delete function
9234 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9236 2003-03-29 John Levon <levon@movementarian.org>
9238 * BufferView_pimpl.C: always update scrollbar top
9239 because pasting text when we're anchored could mean we
9240 miss an update altogether
9242 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9244 * text2.C (init): use rowlist_.end() and not 0.
9245 (insertRow): change to take a RowList::iterator as arg, adjust
9247 (insertParagraph): change to take a RowList::iterator as arg,
9249 (redoParagraphs): remove some debug msgs.
9251 * text.C (appendParagraph): change to take a RowList::iterator
9252 arg, adjust for this.
9253 (breakAgain): add an assert
9254 (breakAgainOneRow): ditto
9256 2003-03-29 John Levon <levon@movementarian.org>
9258 * text2.C: do not clear selection after inc/decDepth
9261 2003-03-29 John Levon <levon@movementarian.org>
9264 * buffer.C: fix broken strerrors according to Lars
9266 2003-03-29 John Levon <levon@movementarian.org>
9268 * converters.C: more Alert cleanups
9270 2003-03-29 John Levon <levon@movementarian.org>
9272 * bufferview_funcs.C: remove pointless Alert
9274 * buffer.C: fix confusing error message when
9275 a template is chmoded 000
9277 2003-03-29 John Levon <levon@movementarian.org>
9281 * BufferView_pimpl.C: Alert fixes
9285 * tabular-old.C: remove unused table compat reading
9287 2003-03-29 John Levon <levon@movementarian.org>
9292 * lyx_cb.C: more Alert cleanups
9294 * lyxfunc.C: don't allow chktex if not latex document
9296 2003-03-29 John Levon <levon@movementarian.org>
9300 * buffer.C: warnings pushed down from support/,
9303 2003-03-29 John Levon <levon@movementarian.org>
9305 * lyxfunc.C: safety check for C-r (revert)
9307 2003-03-29 John Levon <levon@movementarian.org>
9310 * bufferlist.C: several UI fixes using Alert::prompt.
9311 Fix the pointless looping quit code. Fix stupid revert
9316 * lyx_cb.C: use Alert::prompt
9318 * lyx_main.C: remove a silly question
9320 * lyxfunc.C: remove a couple of silly questions,
9323 2003-03-28 John Levon <levon@movementarian.org>
9325 * text2.C: fix bug 974 (End on empty par)
9327 2003-03-28 John Levon <levon@movementarian.org>
9329 * BufferView_pimpl.C:
9331 * lfuns.h: remove do-nothing math greek lfuns
9333 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9335 * lyxgluelength.h (isValidGlueLength): add default arg on
9336 parameter 2. Remove default arg from friend in class.
9338 * lyxlength.h (isValidLength): add default arg on parameter 2.
9339 Remove default arg from friend in class.
9341 * text2.C (LyXText): adjust, initialize refresh_row.
9345 (insertParagraph): adjst
9346 (redoParagraphs): adjust
9347 (fullRebreak): adjust
9348 (updateCounters): adjust
9349 (deleteEmptyParagraphMechanism): first attempt at fixing a
9352 * text.C (top_y): adjust
9353 (setHeightOfRow): adjust
9355 (getRowNearY): adjust
9357 * lyxtext.h: include RowList.h
9358 (~LyXText): not needed anymore, deleted.
9359 (firstRow): modify for RowList
9360 (lastRow): new function
9361 Delete firstrow and lastrow class variables, add a Rowlist
9362 rowlist_ class variable.
9364 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9367 * RowList.C (insert): fix case where it == begin().
9369 2003-03-26 Angus Leeming <leeming@lyx.org>
9371 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9372 the thesaurus dialog.
9374 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9376 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9378 * RowList.[Ch]: new files
9380 * ParagraphList.C (erase): handle the case where it == begin
9383 2003-03-25 John Levon <levon@movementarian.org>
9387 * aspell.C: add new aspell support
9390 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9393 2003-03-25 Angus Leeming <leeming@lyx.org>
9396 * LyXAction.C (init): new LFUN_INSET_INSERT.
9398 * BufferView_pimpl.C (dispatch): split out part of the
9399 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9401 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9404 2003-03-25 Angus Leeming <leeming@lyx.org>
9406 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9408 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9411 * text3.C: remove useless row->height(0)
9413 2003-03-25 John Levon <levon@movementarian.org>
9417 * text3.C: rename the refreshing stuff to better names
9419 2003-03-24 John Levon <levon@movementarian.org>
9421 * BufferView_pimpl.h:
9422 * BufferView_pimpl.C: update layout choice on a mouse
9425 2003-03-23 John Levon <levon@movementarian.org>
9427 * Makefile.am: fix commandtags.h reference
9429 2003-03-22 John Levon <levon@movementarian.org>
9431 * BufferView_pimpl.C:
9436 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9438 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9441 * text.C: take the rtl methods out of line
9443 2003-03-21 André Pönitz <poenitz@gmx.net>
9445 * metricsinfo.[Ch]: new files containing structures to be passed around
9446 during the two-phase-drawing...
9448 2003-03-21 André Pönitz <poenitz@gmx.net>
9450 * lyxtextclass.C: read 'environment' tag.
9452 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9454 * text2.C (removeRow): fix bug 964
9456 2003-03-20 John Levon <levon@movementarian.org>
9460 * text2.C: paint cleanups. Inset::update() dropped font
9463 2003-03-19 John Levon <levon@movementarian.org>
9465 * lyxfunc.C: only fitcursor/markDirty if available()
9467 2003-03-19 John Levon <levon@movementarian.org>
9469 * commandtags.h: rename to ...
9471 * lfuns.h: ... this, and renumber / cleanup
9473 2003-03-19 John Levon <levon@movementarian.org>
9475 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9476 fit the cursor after an lfun
9480 * BufferView_pimpl.h:
9481 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9483 * LyXAction.C: layout-character should have ReadOnly
9485 * ParagraphParameters.C:
9487 * bufferview_funcs.C:
9494 * undo_funcs.C: changes from above
9496 2003-03-18 John Levon <levon@movementarian.org>
9498 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9499 remove it from update()
9501 * lyxfunc.C: update layout choice after an lfun
9503 * text3.C: remove extra updateLayoutChoice()s
9505 2003-03-18 John Levon <levon@movementarian.org>
9507 * text.C: top_y change means full repaint, fix
9508 a drawing bug with cursor movement
9510 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9514 * text2.C: anchor row on setCursor
9516 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9518 * lyxtext.h: remove almost all mutable keywords
9521 * text3.C: remove const keywords accordingly
9523 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9525 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9527 (TeXEnvironment): ditto
9530 2003-03-17 John Levon <levon@movementarian.org>
9532 * text.C (rowBreakPoint): remove attempt to fix displayed
9533 math insets inside a manual label
9535 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9537 * lyxtext.h: remove BufferView* as first arg from almost all class
9539 * other files: adjust.
9541 2003-03-17 John Levon <levon@movementarian.org>
9545 * text2.C: more paint cleanups
9547 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9550 * rowpainter.C: remove "smart" background painting code
9552 2003-03-16 John Levon <levon@movementarian.org>
9557 * text3.C: add helper functions for setting refresh_row/y
9559 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9561 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9562 newline inset which *can* get inserted in the pass_thru layouts.
9563 This is primarily for literate documents.
9565 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9567 * buffer.C: increment LYX_FORMAT to 223
9569 2003-03-14 André Pönitz <poenitz@gmx.net>
9571 * textclass.h: prepare for environment handling, ws changes
9572 * lyxlayout.C: read latexheader and latexfooter tags
9574 2003-03-14 John Levon <levon@movementarian.org>
9576 * text2.C: rewrite ::status() a bit
9578 2003-03-13 John Levon <levon@movementarian.org>
9580 * lyxtext.h: add some docs
9582 2003-03-13 John Levon <levon@movementarian.org>
9587 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9589 2003-03-13 John Levon <levon@movementarian.org>
9591 * text3.C: fix appendix redrawing
9593 2003-03-13 John Levon <levon@movementarian.org>
9595 * text.C (setHeightOfRow):
9597 * rowpainter.C: make appendix mark have the text
9598 "Appendix" so the user knows what it is
9601 * LColor.C: s/appendixline/appendix/ from above
9603 2003-03-13 John Levon <levon@movementarian.org>
9605 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9607 * text.C: fix a getChar(pos) bug properly
9609 2003-03-13 Angus Leeming <leeming@lyx.org>
9612 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9613 Probably only temporary. Let's see how things pan out.
9615 * BufferView.C (unlockInset):
9616 * BufferView_pimpl.C (fitCursor):
9617 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9619 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9620 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9622 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9623 new functions that convert ParagraphParameters to and from a string.
9625 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9626 BufferView::Pimpl's dispatch.
9627 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9629 2003-03-13 André Pönitz <poenitz@gmx.net>
9633 * factory.C: make it aware of InsetEnv
9635 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9637 * text2.C (setCursor): never ask for one past last
9638 (setCursor): add some debugging messages.
9640 * text.C (singleWidth): never ask for one past last
9641 (singleWidth): ditto
9643 (rightMargin): ditto
9644 (rowBreakPoint): ditto
9645 (setHeightOfRow): ditto
9646 (prepareToPrint): ditto
9648 * rowpainter.C (paintBackground): never ask for one past last
9649 (paintText): never ask for one past last
9651 * paragraph_pimpl.C (getChar): make the assert stricter, never
9652 allow the one past last pos to be taken
9654 * paragraph.C (getChar): ws changes only
9656 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9657 (numberOfSeparators): ditto
9658 (numberOfHfills): ditto
9660 2003-03-12 John Levon <levon@movementarian.org>
9666 * paragraph_funcs.C: fix per-buffer authorlists
9668 2003-03-12 John Levon <levon@movementarian.org>
9670 * text.C: fix newline in right address
9672 2003-03-12 Angus Leeming <leeming@lyx.org>
9674 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9675 duplicate those in LyXFunc::dispatch.
9679 * ToolbarDefaults.C:
9680 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9681 Add LFUN_FONTFREE_UPDATE.
9683 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9684 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9686 * bufferview_func.[Ch]: several new functions to facilliate
9687 transfer of data to and from the character dialog.
9689 2003-03-12 John Levon <levon@movementarian.org>
9694 * paragraph_funcs.C:
9695 * paragraph_pimpl.C:
9699 * text3.C: remove META_NEWLINE in favour of an inset
9702 * rowpainter.C: remove paintNewline (done by inset)
9704 2003-03-12 John Levon <levon@movementarian.org>
9706 * paragraph_pimpl.C: complain about bad getChar()s
9707 for a while at least
9709 2003-03-12 John Levon <levon@movementarian.org>
9712 * buffer.C: move paragraph read into a separate function,
9713 a little renaming to reflect that.
9716 * bufferparams.C: remove the author_ids map, not necessary now
9719 * factory.C: moved Buffer::readInset to here
9721 * paragraph_funcs.h:
9722 * paragraph_funcs.C: readParagraph free function moved from
9725 * tabular.C: name change
9727 2003-03-12 John Levon <levon@movementarian.org>
9730 * ParagraphParameters.C: move par params input to
9733 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9734 behave like a normal read from the stream wrt reading
9735 a line vs. a \\token
9737 2003-03-12 John Levon <levon@movementarian.org>
9740 * ParagraphParameters.h:
9741 * ParagraphParameters.C: move output code to a
9744 2003-03-12 John Levon <levon@movementarian.org>
9746 * BufferView.C (insertLyXFile):
9749 * tabular.C: use a parlist iterator for creating the
9752 2003-03-12 John Levon <levon@movementarian.org>
9754 * buffer.C: make current_change static local not
9757 2003-03-12 John Levon <levon@movementarian.org>
9759 * buffer.C: fix insertStringAsLines for change tracking
9761 2003-03-12 John Levon <levon@movementarian.org>
9768 * bufferparams.C: move author list into params. Rename some
9769 functions. Move the header reading into a separate token
9770 loop. Move the header token reading into BufferParams.
9772 2003-03-12 John Levon <levon@movementarian.org>
9774 * changes.C: put debug inside lyxerr.debugging() checks
9776 2003-03-11 André Pönitz <poenitz@gmx.net>
9778 * factory.C: make it aware of InsetHFill
9780 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9782 * buffer.C (latexParagraphs): move function from here...
9783 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9786 2003-03-10 Angus Leeming <leeming@lyx.org>
9788 * LyXAction.C (init): fix bug in poplating array with multiple entries
9789 with the same LFUN (spotted by JMarc).
9791 2003-03-10 John Levon <levon@movementarian.org>
9794 * text2.C: move getColumnNearX() near its
9797 2003-03-10 John Levon <levon@movementarian.org>
9799 * text.C: fix break before a minipage
9801 2003-03-10 John Levon <levon@movementarian.org>
9803 * text.C: fix the last commit
9805 2003-03-09 John Levon <levon@movementarian.org>
9809 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9810 bug 365 (don't break before insets unless needed). Don't
9811 return a value > last under any circumstances.
9813 2003-03-09 Angus Leeming <leeming@lyx.org>
9815 * BufferView_pimpl.C (trackChanges, dispatch): call
9816 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9818 2003-03-09 Angus Leeming <leeming@lyx.org>
9820 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9821 than Dialogs::showAboutlyx().
9823 2003-03-09 Angus Leeming <leeming@lyx.org>
9825 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9826 than Dialogs::showTabularCreate().
9828 2003-03-09 John Levon <levon@movementarian.org>
9832 * text2.C: 3rd arg to nextBreakPoint was always the same.
9835 2003-03-08 John Levon <levon@movementarian.org>
9842 * text2.C: Remove the "main" bit from the "main body"
9845 2003-03-08 John Levon <levon@movementarian.org>
9847 * text.C (leftMargin): The left margin of an empty
9848 manual label paragraph should not include the label width
9851 * text.C (prepareToPrint): don't attempt to measure hfills
9852 for empty manual label paragraphs - the answer should be 0
9854 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9856 * CutAndPaste.C: remove commented code and reindent.
9858 2003-03-08 John Levon <levon@movementarian.org>
9861 * lyxfunc.C: move reloadBuffer()
9864 * BufferView.C: to here
9866 * lyxvc.C: add comment
9869 * vc-backend.C: call bv->reload() to avoid
9870 getStatus() check on MENURELOAD
9872 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9874 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9875 to an old format .dep file.
9877 2003-03-07 Angus Leeming <leeming@lyx.org>
9879 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9880 when the LFUN_MOUSE_RELEASE should have been handled by
9881 inset->localDispatch.
9883 2003-03-07 Angus Leeming <leeming@lyx.org>
9885 * BufferView_pimpl.C (dispatch):
9886 * LyXAction.C (init):
9887 * ToolbarDefaults.C (init):
9889 * lyxfunc.C (getStatus):
9890 remove LFUN_INSET_GRAPHICS.
9892 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9894 2003-03-07 Angus Leeming <leeming@lyx.org>
9897 * LyXAction.C (init):
9898 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9900 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9903 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9905 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9906 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9908 2003-03-07 Angus Leeming <leeming@lyx.org>
9910 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9913 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9915 * ParagraphList.C (front): new function
9918 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9920 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9921 and top_row_offset_. removed var first_y.
9923 * text2.C (LyXText, removeRow):
9925 * BufferView_pimpl.C:
9926 use these methods instead of using first_y
9928 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9930 * text2.C (pasteSelection): adjust for checkPastePossible
9932 * CutAndPaste.C: remove Paragraph * buf and replace with
9933 ParagraphList paragraphs.
9934 (DeleteBuffer): delete
9935 (cutSelection): change the tc type to textclass_type
9936 (copySelection): change the tc type to textclass_type
9937 (copySelection): adjust for ParagraphList
9938 (pasteSelection): change the tc type to textclass_type
9939 (pasteSelection): adjust for Paragraphlist
9940 (nrOfParagraphs): simplify for ParagraphList
9941 (checkPastePossible): simplify for ParagraphList
9942 (checkPastePossible): remove unused arg
9944 * ParagraphList.C (insert): handle the case where there are no
9947 * CutAndPaste.h: make CutAndPaste a namespace.
9949 * text3.C (dispatch): adjust
9951 * text.C (breakParagraph): add a ParagraphList as arg
9953 * paragraph_funcs.C (breakParagraph): change to take a
9954 BufferParams and a ParagraphList as args.
9955 (breakParagraphConservative): ditto
9956 (mergeParagraph): ditto
9957 (TeXDeeper): add a ParagraphList arg
9958 (TeXEnvironment): ditto
9961 * buffer.C (readLyXformat2): adjust
9962 (insertStringAsLines): adjust
9963 (latexParagraphs): adjust
9965 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9966 (cutSelection): adjust
9967 (pasteSelection): adjust
9969 * BufferView_pimpl.C (insertInset): adjust
9971 2003-03-05 Angus Leeming <leeming@lyx.org>
9974 * LyXAction.C (init):
9975 * BufferView_pimpl.C (dispatch):
9976 * lyxfunc.C (getStatus):
9977 remove LFUN_CHILD_INSERT.
9979 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9981 2003-03-05 Angus Leeming <leeming@lyx.org>
9984 * LyXAction.C (init):
9985 * src/factory.C (createInset):
9986 * lyxfunc.C (getStatus):
9987 * text3.C (dispatch):
9988 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9990 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9992 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9994 * ParagraphList.C (insert): handle insert right before end()
9995 (erase): fix cases where it can be first or last paragraph.
9997 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9999 * paragraph_funcs.C (TeXEnvironment): remove all usage of
10000 Paragraph::next and Paragraph::previous
10003 * text.C (breakParagraph): adjust
10005 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10006 BufferParams& as arg.
10007 (breakParagraph): use ParagraphList::insert
10008 (breakParagraphConservative): take a Buffer* instead of a
10009 BufferParams& as arg.
10010 (breakParagraphConservative): use ParagraphList::insert.
10012 * buffer.C (insertStringAsLines): un-const it
10013 (insertStringAsLines): adjust
10015 * ParagraphList.C (insert): new function
10017 * CutAndPaste.C (pasteSelection): adjust
10019 * text.C (backspace): adjust
10021 * tabular.C (SetMultiColumn): adjust
10023 * CutAndPaste.C (cutSelection): adjust
10024 (pasteSelection): adjust
10026 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10027 Buffer const * as arg
10029 * ParagraphList.C (erase): new function
10030 * paragraph_funcs.C (mergeParagraph): use it
10031 (mergeParagraph): make it take a Buffer* instead of a
10032 BufferParams* as arg
10034 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10036 (breakParagraphConservative): ditto
10038 * paragraph.h: remove the breakParagraph friend
10040 * paragraph.C (eraseIntern): new function
10041 (setChange): new function
10043 * paragraph_funcs.C (mergeParagraph): make it take a
10044 ParagraphList::iterator instead of a Paragraph *, adjust
10047 * paragraph.h: move an #endif so that the change tracking stuff
10048 also works in the NO_NEXT case.
10050 2003-03-04 Angus Leeming <leeming@lyx.org>
10053 * LyXAction.C: new LFUN_INSET_MODIFY.
10055 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10056 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10058 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10060 * several files: ws changes only
10062 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10063 (TeXEnvironment): ditto
10066 * buffer.C (makeLaTeXFile): adjust
10067 (latexParagraphs): make it take ParagraphList::iterator as args
10069 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10071 * buffer.C (latexParagraphs): adjust
10073 * paragraph.C (TeXOnePar): move function...
10074 (optArgInset): move function...
10075 (TeXEnvironment): move function...
10076 * paragraph_pimpl.C (TeXDeeper): move function...
10077 * paragraph_funcs.C: ...here
10079 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10081 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10083 * buffer.C (readInset): remove compability code for old Figure and
10086 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10088 * buffer.C: ws changes
10091 * BufferView_pimpl.C: ditto
10094 * bufferlist.h: ditto
10098 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10100 * converter.[Ch]: split into itself +
10103 * Makefile.am: += graph.[Ch] + format.[Ch]
10110 * lyxrc.C: added #include "format.h"
10112 2003-02-27 Angus Leeming <leeming@lyx.org>
10114 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10117 * factory.C (createInset): add "label" to the factory.
10119 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10120 string and do no more.
10122 2003-02-27 Angus Leeming <leeming@lyx.org>
10125 * LyXAction.C (init):
10126 * factory.C (createInset):
10127 * BufferView_pimpl.C (dispatch):
10128 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10130 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10132 * lyxfunc.C (dispatch):
10133 * text3.C (dispatch): pass name to params2string.
10135 2003-02-26 Angus Leeming <leeming@lyx.org>
10137 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10139 Rearrange the ~includes. Strip out the unnecessary ones.
10141 * factory.C (createInset): reformat.
10142 create new insets for the various LFUN_XYZ_APPLY lfuns.
10144 2003-02-26 John Levon <levon@movementarian.org>
10147 * lyxrow.C: add isParStart,isParEnd helpers
10149 * paragraph.h: make isInserted/DeletedText take refs
10151 * paragraph_funcs.h:
10152 * paragraph_funcs.C: remove #if 0'd code
10157 * text.C: use lyxrow helpers above.
10158 Move draw and paint routines to RowPainter.
10159 Make several methods use refs not pointers.
10160 Make backgroundColor() const.
10161 Add markChangeInDraw(), isInInset().
10162 Merge changeRegionCase into changeCase.
10163 Make workWidth() shouldn't-happen code into an Assert.
10166 * rowpainter.C: new class for painting a row.
10169 * vspace.C: make inPixels take a ref
10171 2003-02-26 Angus Leeming <leeming@lyx.org>
10173 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10176 2003-02-25 John Levon <levon@movementarian.org>
10178 * ispell.C: give the forked command a more accurate name
10180 2003-02-22 John Levon <levon@movementarian.org>
10183 * toc.C: make TocItem store an id not a Paragraph *
10186 2003-02-21 Angus Leeming <leeming@lyx.org>
10188 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10189 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10190 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10191 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10192 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10193 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10195 * BufferView_pimpl.C (dispatch):
10196 * LyXAction.C (init):
10197 * factory.C (createInset):
10198 * lyxfunc.C (getStatus, dispatch):
10199 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10201 2003-02-21 Angus Leeming <leeming@lyx.org>
10203 * BufferView_pimpl.C (MenuInsertLyXFile):
10204 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10205 * lyxfunc.C (menuNew, open, doImport):
10206 no longer pass a LyXView & to fileDlg.
10208 2003-02-21 Angus Leeming <leeming@lyx.org>
10210 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10211 * LyXAction.C: change, BIBKEY to BIBITEM.
10212 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10213 Change InsetBibKey to InsetBibitem.
10214 Change BIBKEY_CODE to BIBITEM_CODE.
10215 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10216 * factory.C: replace insetbib.h with insetbibitem.h.
10217 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10218 * paragraph.C: replace insetbib.h with insetbibitem.h.
10219 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10220 Change bibkey() to bibitem().
10221 * text.C: remove insetbib.h.
10222 * text2.C: replace insetbib.h with insetbibitem.h.
10223 change bibkey() to bibitem().
10224 * text3.C: remove insetbib.h.
10225 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10227 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10229 * lyxrc.C (output): enclose user email in quotes (in case there are
10232 2003-02-18 John Levon <levon@movementarian.org>
10234 * buffer.h: add std::
10236 2003-02-17 John Levon <levon@movementarian.org>
10242 * pspell.C: reworking. Especially in ispell, a large
10243 number of clean ups and bug fixes.
10245 * lyxfunc.C: fix revert to behave sensibly
10247 2003-02-17 André Pönitz <poenitz@gmx.net>
10250 * commandtags.h: new LFUN_INSERT_BIBKEY
10260 * paragraph_func.C: remove special bibkey handling
10262 2003-02-17 John Levon <levon@movementarian.org>
10264 * text.C (Delete): fix case where delete at the end of
10265 the very first paragraph would not merge the pars
10267 2003-02-17 John Levon <levon@movementarian.org>
10269 * lyxrow.C: fix lastPrintablePos()
10271 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10273 * bufferparams.C (writeLaTeX): add a std:here
10275 * buffer.C: and remove a using directive there
10277 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10279 * buffer.C (makeLaTeXFile): move the code that generates the
10282 * bufferparams.C (writeLaTeX): ... in this new method
10284 * LaTeXFeatures.C (getEncodingSet): make const
10285 (getLanguages): make const
10287 * MenuBackend.C (binding): returns the binding associated to this
10289 (add): sets the status of each item by calling getStatus. Adds
10291 (read): add support for OptSubMenu
10292 (expand): remove extra separator at the end of expanded menu
10294 2003-02-15 John Levon <levon@movementarian.org>
10297 * BufferView_pimpl.C:
10299 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10300 inset code that had no actual effect. Remove unneeded status
10303 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10305 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10308 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10310 * text.C (drawLengthMarker): also draw an arrow marker for
10311 symbolic lengths (medskip...)
10313 2003-02-14 John Levon <levon@movementarian.org>
10316 * tabular.C: better method names
10318 2003-02-14 John Levon <levon@movementarian.org>
10320 * BufferView_pimpl.C:
10325 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10326 it's a more accurate name. Remove some pointless uses.
10328 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10330 * text2.C (LyXText): change order of initilizers to shut off
10333 2003-02-14 John Levon <levon@movementarian.org>
10335 * buffer.C: use ParIterator for getParFromID()
10339 * paragraph_pimpl.h:
10340 * paragraph_pimpl.C: remove unused getParFromID()
10342 2003-02-14 John Levon <levon@movementarian.org>
10344 * buffer.C: remove some very old #if 0'd parse code
10346 2003-02-13 John Levon <levon@movementarian.org>
10350 * text2.C: move hfillExpansion(), numberOfSeparators(),
10351 rowLast(), rowLastPrintable(), numberofHfills(),
10352 numberOfLabelHfills() ...
10355 * lyxrow.C: ... to member functions here.
10360 * text.C: remove LyXText::beginningOfMainBody(), and call
10361 p->beginningOfMainBody() directly. Move the check for
10362 LABEL_MANUAL into the latter.
10369 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10375 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10376 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10378 2003-02-13 John Levon <levon@movementarian.org>
10380 * CutAndPaste.C: remove debug
10382 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10384 * paragraph.C (asString): remove two unused variables
10386 * lyxtextclass.C (readTitleType):
10388 (LyXTextClass): handle new members titletype_ and titlename_
10390 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10392 2003-02-09 John Levon <levon@movementarian.org>
10395 * buffer.C: replace hand-coded list with a map for the dep clean
10397 2003-02-08 John Levon <levon@movementarian.org>
10399 * LaTeX.C: consolidate code into showRunMessage() helper
10401 2003-02-08 John Levon <levon@movementarian.org>
10406 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10407 and pass the size in explicitly
10409 * BufferView_pimpl.h:
10410 * BufferView_pimpl.C:
10412 * BufferView.C: add getCurrentChange()
10414 * BufferView_pimpl.h:
10415 * BufferView_pimpl.C: handle change lfuns
10417 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10418 for changes. Mark pasted paragraphs as new.
10420 * support/lyxtime.h:
10421 * support/lyxtime.C:
10422 * DepTable.C: abstract time_t as lyx::time_type
10425 * LColor.C: add colours for new text, deleted text, changebars
10427 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10428 package use "usenames" option.
10432 * LyXAction.C: add change lfuns
10436 * author.C: author handling
10439 * buffer.C: add a per-buffer author list, with first entry as
10440 current author. Handle new .lyx tokens for change tracking. Output
10441 author list to .lyx file. Output dvipost stuff to .tex preamble.
10442 Bump lyx format to 222.
10445 * bufferlist.C: add setCurrentAuthor() to reset current author details
10449 * bufferparams.C: add param for tracking
10451 * bufferview_funcs.C: output change info in minibuffer
10455 * changes.C: add change-tracking structure
10458 * debug.C: add CHANGES debug flag
10461 * lyxfind.C: add code for finding the next change piece
10464 * lyxrc.C: add user_name and user_email
10467 * lyxrow.C: add a metric for the top of the text line
10470 * text.C: implement accept/rejectChange()
10473 * text.C: paint changebars. Paint new/deleted text in the chosen
10474 colours. Strike through deleted text.
10478 * paragraph_pimpl.h:
10479 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10480 in the current change to the insert functions. Rework erase to
10481 mark text as deleted, adding an eraseIntern() and a range-based
10482 erase(). Implement per-paragraph change lookup and
10485 * paragraph_funcs.C: Fixup paste for change tracking.
10487 * tabular.C: mark added row/columns as new.
10489 * text.C: fix rowLast() to never return -1. Don't allow
10490 spellchecking of deleted text. Track transpose changes. Don't
10491 allow paragraph break or merge where appropriate.
10493 * text2.C: leave cursor at end of selection after a cut.
10495 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10497 * text.C (getLengthMarkerHeight):
10498 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10499 visible on screen too.
10501 2003-02-07 John Levon <levon@movementarian.org>
10503 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10505 2003-02-05 Angus Leeming <leeming@lyx.org>
10507 * lyxserver.C (read_ready): revert my patch of 11 September last year
10508 as it sends PC cpu through the roof. Presumably this means that
10509 the lyxserver will no longer run on an Alpha...
10511 2003-01-30 Angus Leeming <leeming@lyx.org>
10513 * factory.C (createInset): create an InsetCommandParam of type "index"
10514 and use it to 'do the right thing'.
10516 * text2.C (getStringToIndex): ensure that cursor position is always
10517 reset to the reset_cursor position.
10519 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10521 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10524 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10528 * lyxfunc.C: Output messages with identical spelling, punctuation,
10531 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10533 * MenuBackend.C (expandFormats): List only viewable export formats
10536 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10539 * lyxfunc.C (getStatus): Make sure that formats other than
10540 "fax" can also be disabled
10542 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10544 * text3.C (dispatch): put the lfuns that insert insets in 3
10545 groups, and call doInsertInset with appropriate arguments.
10546 (doInsertInset): new function, that creates an inset and inserts
10547 it according to some boolean parameters.
10549 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10551 * buffer.C (readFile): remember to pass on 'par' when calling
10552 readFile recursively.
10554 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10556 * MenuBackend.C (expandFormats): add "..." to import formats.
10558 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10560 * paragraph.C (asString): Remove XForms RTL hacks.
10562 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10563 * buffer.C: fix typo
10565 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10567 * Makefile.am (LIBS): delete var
10568 (lyx_LDADD): add @LIBS@ here instead.
10570 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10572 * Clarify the meaning of "wheel mouse jump"
10574 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10576 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10579 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10581 * importer.C (Loaders): do not preallocate 3 elements in the
10582 vector, since one ends up with 6 elements otherwise
10584 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10586 * DepTable.C (write): write the file name as last element of the
10587 .dep file (because it may contain spaces)
10588 (read): read info in the right order
10590 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10592 * paragraph_pimpl.C (simpleTeXBlanks):
10593 (simpleTeXSpecialChars):
10594 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10596 * tabular.C (latex): add some missing case statements. Reindent.
10598 * MenuBackend.C (expandToc): remove unused variable.
10600 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10609 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10612 2003-01-05 John Levon <levon@movementarian.org>
10615 * BufferView.C: add getEncoding()
10618 * kbsequence.C: do not store last keypress
10621 * lyxfunc.C: store last keypress here instead. Pass encoding
10624 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10626 * lyx_main.C (init): remove annoying error message when following
10627 symbolic links (bug #780)
10629 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10631 * text.C (insertChar):
10632 * lyxrc.C (getDescription): remove extra spaces
10634 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10636 * lyxrc.C (getDescription): remove extra spaces
10638 2002-12-20 John Levon <levon@movementarian.org>
10640 * text3.C: hack fix for page up/down across tall rows
10642 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10644 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10647 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10649 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10650 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10651 thesaurus is not compiled in
10653 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10655 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10657 2002-12-16 Angus Leeming <leeming@lyx.org>
10660 * lyx_main.C (init): remove override_x_deadkeys stuff.
10662 2002-12-12 John Levon <levon@movementarian.org>
10664 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10665 insert. Only remove shift modifier under strict
10668 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10670 * MenuBackend.C (expandToc): fix crash.
10672 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10674 * MenuBackend.C (expandToc): gettext on float names.
10676 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10678 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10679 implement bool empty() [bug 490]
10681 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10683 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10685 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10687 * several files: ws changes
10689 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10691 * text2.C (setCounter): clean up a bit, use boost.format.
10692 (updateCounters): initialize par upon declaration.
10694 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10695 if the layout exists. We do not just store the layout any more.
10696 (SwitchLayoutsBetweenClasses): use boost.format
10698 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10700 * converter.C (convert): if from and to files are the same, use a
10701 temporary files as intermediary
10703 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10706 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10708 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10710 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10712 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10714 * tabular.C (asciiPrintCell): use string(size, char) instead of
10717 * sgml.C (openTag): fix order of arguments to string constructor
10720 * lyxfunc.C (dispatch): use boost.format
10722 * lots of files: change "c" -> 'c'
10724 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10726 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10728 2002-11-25 Angus Leeming <leeming@lyx.org>
10730 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10732 * lyx_main.C (init): compile fix.
10734 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10736 * lyx_cb.C (start): boost.formatify
10737 do not include <iostream>
10739 * lengthcommon.C: ws only
10741 * boost-inst.C,BoostFormat.h: add more explict instantations
10743 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10745 * lots of files: handle USE_BOOST_FORMAT
10747 2002-11-21 John Levon <levon@movementarian.org>
10749 * pspell.C: fix compile
10751 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10753 * lyxfunc.C (dispatch): use boost::format
10757 * lyxfont.C (stateText): use boost::format
10759 * lyx_main.C (LyX): use boost::format
10761 (queryUserLyXDir): ditto
10762 (readRcFile): ditto
10764 (typedef boost::function): use the recommened syntax.
10766 * importer.C (Import): use boost::format
10768 * debug.C (showLevel): use boost::format
10770 * converter.C (view): use boost::format
10775 * bufferview_funcs.C (currentState): use boost::format
10777 * bufferlist.C (emergencyWrite): use boost::format
10779 * buffer.C (readLyXformat2): use boost::format
10780 (parseSingleLyXformat2Token): ditto
10782 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10784 * LaTeX.C (run): use boost::format
10786 * Chktex.C (scanLogFile): use boost::format
10788 * BufferView_pimpl.C (savePosition): use boost::format
10789 (restorePosition): ditto
10790 (MenuInsertLyXFile): ditto
10792 * BoostFormat.h: help file for explicit instation.
10794 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10796 * tabular.C (latex): Support for block alignment in fixed width
10799 2002-11-17 John Levon <levon@movementarian.org>
10801 * BufferView_pimpl.C:
10803 * lyxfunc.C: split filedialog into open/save
10805 2002-11-08 Juergen Vigna <jug@sad.it>
10807 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10808 by my last patch (hopefully).
10810 2002-11-08 John Levon <levon@movementarian.org>
10819 * toc.C: ParConstIterator, and use it (from Lars)
10821 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10823 * lyxtextclass.[Ch]: revise and add doxygen comments
10825 2002-11-07 John Levon <levon@movementarian.org>
10827 * text.C: fix progress value for spellchecker
10829 * toc.C: fix navigate menu for insetwrap inside minipage
10831 * paragraph_funcs.C: added FIXME for suspect code
10833 2002-11-07 John Levon <levon@movementarian.org>
10835 * BufferView_pimpl.C: fix redrawing of insets
10838 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10840 * text2.C (updateCounters): fix bug 668
10842 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10844 * text3.C (dispatch): Do not make the buffer dirty when moving the
10847 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10849 * vc-backend.C: STRCONV
10850 (scanMaster): ditto
10852 * text2.C (setCounter): STRCONV
10854 * paragraph.C (asString): STRCONV
10856 * lyxlength.C (asString): STRCONV
10857 (asLatexString): ditto
10859 * lyxgluelength.C (asString): STRCONV
10860 (asLatexString): ditto
10862 * lyxfunc.C (dispatch): STRCONV
10865 * lyxfont.C (stateText): STRCONV
10867 * importer.C (Import): STRCONV
10869 * counters.C (labelItem): STRCONV
10870 (numberLabel): ditto
10871 (numberLabel): remove unused ostringstream o
10876 * bufferview_funcs.C (currentState): STRCONV
10878 * buffer.C (readFile): STRCONV
10879 (asciiParagraph): ditto
10880 (makeLaTeXFile): ditto
10882 * Spacing.C (writeEnvirBegin): STRCONV
10884 * LaTeXFeatures.C (getLanguages): STRCONV
10885 (getPackages): ditto
10887 (getBabelOptions): ditto
10888 (getTClassPreamble): ditto
10889 (getLyXSGMLEntities): ditto
10890 (getIncludedFiles): ditto
10894 (scanAuxFile): ditto
10897 * LString.h: add the STRCONV macros
10899 * BufferView_pimpl.C (savePosition): STRCONV
10900 (restorePosition): ditto
10901 (MenuInsertLyXFile): ditto
10903 * vc-backend.C (scanMaster): change from submatch[...] to
10906 * funcrequest.C: include config.h
10908 * factory.C: include config.h
10910 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10912 * box.C: include config.h
10914 * LaTeX.C (scanAuxFile): change from submatch[...] to
10918 2002-10-25 Angus Leeming <leeming@lyx.org>
10920 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10922 * ispell.[Ch] (setError): new method.
10923 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10924 Use setError() insetead of goto END.
10926 * lyx_cb.C (AutoSave): move out child process into new class
10929 2002-10-30 John Levon <levon@movementarian.org>
10931 * text3.C: make start appendix undoable
10933 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10935 * lyxlength.C (inPixels): Fix returned value.
10937 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10940 2002-10-24 Angus Leeming <leeming@lyx.org>
10942 * lyxgluelength.h: no need to forward declare BufferParams
10943 or BufferView, so don't.
10945 2002-10-21 John Levon <levon@movementarian.org>
10947 * BufferView.C: menuUndo ->undo, redo
10949 * BufferView.h: document, remove dead, make some methods private
10951 * paragraph_funcs.h:
10952 * paragraph_funcs.C:
10953 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10958 * sgml.C: move sgml open/close tag into sgml.C
10960 * bufferview_funcs.h: unused prototype
10963 * lyxfunc.C: remove unused
10966 * text.C: remove unused
10968 2002-10-21 John Levon <levon@movementarian.org>
10972 * BufferView_pimpl.h:
10973 * BufferView_pimpl.C: fix mouse wheel handling based on
10974 patch from Darren Freeman
10976 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10978 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10980 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10982 * lyxlength.C (inPixels): Fix hanfling of negative length.
10983 Fix LyXLength::MU case.
10985 2002-10-16 John Levon <levon@movementarian.org>
10987 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10989 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10991 * converter.C (view): add support for $$i (file name) and $$p
10992 (file path) for the viewer command. If $$i is not specified, then
10993 it is appended to the command (for compatibility with old syntax)
10995 2002-10-14 Juergen Vigna <jug@sad.it>
10997 * undo_funcs.C (textHandleUndo): alter the order in which the
10998 new undopar is added to the LyXText, as we have to set first
10999 the right prev/next and then add it as otherwise the rebuild of
11000 LyXText is not correct. Also reset the cursor to the right paragraph,
11001 with this IMO we could remove the hack in "redoParagraphs()".
11003 2002-10-09 Angus Leeming <leeming@lyx.org>
11005 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11006 to turn off an optimisation if a new inset is to be inserted.
11008 2002-10-11 André Pönitz <poenitz@gmx.net>
11010 * lyxtext.h: make some functions public to allow access
11011 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11013 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11015 * text3.C (dispatch): when changing layout, avoid an infinite loop
11018 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11020 * lyxrc.C (read): treat a viewer or converter command of "none" as
11023 * MenuBackend.C (expandFormats): for an update, also allow the
11024 formats that are not viewable
11026 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11027 script if it is newer than the lyxrc.defaults in user directory
11029 2002-10-07 André Pönitz <poenitz@gmx.net>
11031 * text.C: Vitaly Lipatov's small i18n fix
11033 2002-09-25 Angus Leeming <leeming@lyx.org>
11035 * ispell.h: doxygen fix.
11037 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11039 * buffer.h (readFile): Add a new argument to the method, to allow
11040 reading of old-format templates.
11042 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11044 * toc.C (getTocList): Get TOC from InsetWrap.
11046 2002-09-16 John Levon <levon@movementarian.org>
11048 * lyxfunc.C: check tabular for cut/copy too
11050 2002-09-12 John Levon <levon@movementarian.org>
11052 * LyXAction.C: tidy
11055 * factory.C: add header
11057 * paragraph_funcs.h:
11058 * paragraph_funcs.C: cleanup
11060 2002-09-11 John Levon <levon@movementarian.org>
11062 * PrinterParams.h: odd/even default to true
11064 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11066 * PrinterParams.h: update printer parameters for new xforms dialog
11068 2002-09-11 Angus Leeming <leeming@lyx.org>
11070 * lyxserver.C (read_ready): re-write to make it more transparent
11071 and to make it work in coherent fashion under Tru64 Unix.
11073 2002-09-11 André Pönitz <poenitz@gmx.net>
11077 * text3.C: implement LFUN_WORDSEL
11079 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11081 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11082 make floatlist_ a boost::shared_ptr<FloatList>
11084 * lyxtextclass.C: include FloatList.h
11085 (LyXTextClass): initialize floatlist_
11086 (TextClassTags): add TC_NOFLOAT
11087 (Read): match "nofloat" to TC_NOFLOAT and use it.
11088 (readFloat): modify call to floatlist_
11092 * FloatList.[Ch] (FloatList): remove commented out float
11094 (erase): new function
11096 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11098 * MenuBackend.C (expandToc): fix crash when there is no document
11101 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11103 * many files: Add insetwrap.
11105 2002-09-09 John Levon <levon@movementarian.org>
11107 * text2.C: remove confusing and awkward depth wraparound
11109 2002-09-09 John Levon <levon@movementarian.org>
11111 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11114 * buffer.C: remove getIncludeonlyList()
11117 * lyxfunc.C: remove headers
11119 2002-09-09 Juergen Vigna <jug@sad.it>
11121 * text.C (getColumnNearX): fix form Michael this is most
11122 probably a cut&paste bug.
11124 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11126 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11128 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11129 references, ws changes.
11131 * text2.C (init): update counters after init
11132 (insertParagraph): no need to set counter on idividual paragraphs.
11133 (setCounter): access the counters object in the textclass object
11134 on in the buffer object.
11135 (updateCounters): ditto
11137 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11138 shared_ptr<Counters> to avoid loading counters.h in all
11140 (LyXTextClass): initialize ctrs_
11141 (TextClassTags): add TC_COUNTER, and ...
11142 (Read): use it here.
11143 (CounterTags): new tags
11144 (readCounter): new function
11145 (counters): new funtion
11146 (defaultLayoutName): return a const reference
11148 * counters.C (Counters): remove contructor
11149 (newCounter): remove a couple of unneeded statements.
11150 (newCounter): simplify a bit.
11151 (numberLabel): some small formatting changes.
11153 * buffer.[Ch]: remove all traces of counters, move the Counters
11154 object to the LyXTextClass.
11156 2002-09-06 Alain Castera <castera@in2p3.fr>
11158 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11159 package to set the horizontal alignment on fixed width columns.
11162 * lyx_sty.h: added tabularnewline macro def.
11164 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11166 2002-09-06 John Levon <levon@movementarian.org>
11168 * LyXAction.C: tooltips for sub/superscript
11170 * MenuBackend.C: a bit more verbose
11172 * lyxfunc.C: tiny clean
11174 * undo_funcs.C: document undo_frozen
11176 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11178 * counters.C (Counters): add missing algorithm counter.
11180 * text2.C (setCounter): lookup the counter with layouts latexname
11181 instead of by section number.
11182 (setCounter): use a hackish way to lookup the correct enum
11184 a float name->type change
11185 reset enum couners with counter name directly instead of depth value.
11187 * counters.C (Counters): remove the push_backs, change to use the
11188 float type not the float name.
11189 (labelItem): remove unused string, float name->type change
11191 * counters.h: don't include vector, loose the enums and sects vectors
11193 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11195 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11196 (Read): add float->TC_FLOAT to textclassTags
11197 (Read): and handle it in the switch
11198 (readFloat): new function
11200 * FloatList.C (FloatList): comment out the hardcoded float
11203 * lyxlayout.h: ws change.
11205 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11207 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11209 2002-09-03 Angus Leeming <leeming@lyx.org>
11211 * BufferView_pimpl.h: qualified name is not allowed in member
11212 declaration: WorkArea & Pimpl::workarea() const;
11214 * factory.C: added using std::endl directive.
11216 * text3.C: added using std::find and std::vector directives.
11218 2002-08-29 André Pönitz <poenitz@gmx.net>
11221 * text2.C: remove unused member number_of_rows
11224 * BufferView2.C: remove file, move contents to...
11225 * BufferView.C: ... here
11227 * BufferView_pimpl.C:
11228 * factory.C: move more inset creation to factory
11230 * vspace.C: avoid direct usage of LyXText, ws changes
11233 don't provide direct access to WorkArea, use two simple
11234 acessors haveSelction() and workHeight() instead
11237 2002-08-29 John Levon <levon@movementarian.org>
11239 * BufferView_pimpl.C (dispatch): do not continue when
11242 2002-08-28 André Pönitz <poenitz@gmx.net>
11244 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11247 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11249 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11251 * buffer.C: increment LYX_FORMAT to 221
11253 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11254 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11256 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11258 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11260 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11262 * factory.C (createInset): use LyXTextClass::floats
11264 * MenuBackend.C (expandFloatListInsert):
11265 (expandFloatInsert):
11268 * text2.C (setCounter):
11270 * LaTeXFeatures.C (useFloat):
11271 (getFloatDefinitions):
11273 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11275 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11276 floatlist_, with accessor floats().
11278 * FloatList.h: remove global FloatList
11280 2002-08-26 André Pönitz <poenitz@gmx.net>
11282 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11286 * BufferView_pimpl.C:
11287 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11289 2002-08-25 John Levon <levon@movementarian.org>
11291 * LyXAction.C: fix margin note description
11293 2002-08-24 John Levon <levon@movementarian.org>
11297 * bufferview_funcs.C:
11299 * undo_funcs.C: cleanups
11301 * lyxfunc.C: disable CUT/COPY when no selection
11303 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11305 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11306 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11308 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11309 Add backward compatibility to "mono", "gray" and "no".
11311 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11313 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11314 (and file_format >= 200).
11316 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11318 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11320 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11322 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11324 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11326 * BufferView_pimpl.C:
11333 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11334 inset and code to make it work with the paragraph code. The inset
11335 can be anywhere in the paragraph, but will only do the expected
11336 thing in LaTeX if the layout file contains the parameter line
11338 (or more generally, a nonzero value) for that layout.
11340 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11342 * paragraph.h: remove the declaration of undefined counters class
11345 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11347 * text2.C (setCounter): fixed enumeration mis-count as reported by
11348 Dr. Richard Hawkins.
11350 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11352 * paragraph_funcs.h: remove some unneeded includes
11354 * text.C (backspace): pasteParagraph now in global scipe
11356 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11357 (pasteSelection): ditto
11359 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11360 * paragraph_funcs.C (pasteParagraph): ... here
11362 2002-08-20 André Pönitz <poenitz@gmx.net>
11364 * commandtags.h: new LFUNs for swapping/copying table row/colums
11367 * lyxfunc.C: support for new lfuns
11369 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11372 * buffer.[Ch]: remove NO_COMPABILITY stuff
11374 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11376 * boost.C (throw_exception): new file, with helper function for
11377 boost compiled without exceptions.
11382 * ParameterStruct.h:
11383 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11385 * bufferlist.C (emergencyWriteAll): use boost bind
11387 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11389 * text.C: include paragraph_funcs.h
11390 (breakParagraph): breakParagraph is now in global scope
11392 * paragraph_funcs.[Ch]: new files
11394 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11397 * buffer.C: include paragraph_funcs.h
11398 (insertStringAsLines): breakParagraph is now in global scope
11400 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11403 * CutAndPaste.C: include paragraph_funcs.h
11404 (cutSelection): breakParagraphConservative is now in global scope
11405 (pasteSelection): ditto
11407 * buffer.h: declare oprator== and operator!= for
11408 Buffer::inset_iterator
11410 * bufferlist.C (emergencyWrite): don't use fmt(...)
11412 * text3.C: add using std::endl
11414 * BufferView.C (moveCursorUpdate): remove default arg
11416 2002-08-20 André Pönitz <poenitz@gmx.net>
11418 * buffer.[Ch]: move inline functions to .C
11421 * BufferView_pimpl.C:
11423 * buffer.[Ch]: use improved inset_iterator
11426 * paragraph.[Ch]: write one paragraph at a time
11428 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11430 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11431 style if style is not specified.
11433 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11435 * text2.C (setCounter): when searching for right label for a
11436 caption, make sure to recurse to parent insets (so that a caption
11437 in a minipage in a figure float works) (bug #568)
11439 2002-08-20 André Pönitz <poenitz@gmx.net>
11441 * text3.C: new file for LyXText::dispatch() and helpers
11443 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11445 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11447 2002-08-19 André Pönitz <poenitz@gmx.net>
11450 * text.C: new LyXText::dispatch()
11452 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11454 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11456 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11458 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11461 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11463 * Makefile.am: use $(variables) instead of @substitutions@
11465 2002-08-15 André Pönitz <poenitz@gmx.net>
11468 * BufferView_pimpl.C: streamlining mathed <-> outer world
11472 * LyXAction.C: remove unused LFUN_MATH
11474 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11476 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11478 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11480 * paragraph.C (Paragraph): reformat a bit
11481 (cutIntoMinibuffer): use builtin InsetList function instad of
11485 * buffer.C: include boost/bind.hpp, add using std::for_each
11486 (writeFileAscii): use ParagraphList iterators
11487 (validate): use for_each for validate traversal of paragraphs
11488 (getBibkeyList): use ParagraphList iterators
11489 (resizeInsets): use for_each to resizeInsetsLyXText for all
11491 (getParFromID): use ParagraphList iterators
11493 * BufferView2.C (lockInset): use paragraph list and iterators
11495 2002-08-14 John Levon <levon@movementarian.org>
11497 * lyxserver.C: remove spurious xforms include
11499 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11501 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11503 2002-08-13 André Pönitz <poenitz@gmx.net>
11506 * lyxfunc.C: further cleaning
11508 2002-08-13 André Pönitz <poenitz@gmx.net>
11510 * funcrequest.h: new constructor
11512 * funcrequest.C: move stuff here from .h
11515 * BufferView_pimpl.C:
11518 * lyxfunc.C: subsequent changes
11520 * lyxfunc.h: new view() member function
11522 * lyxfunc.C: subsequent changes
11524 2002-08-13 Angus Leeming <leeming@lyx.org>
11527 * BufferView_pimpl.C:
11535 changes due to the changed LyXView interface that now returns references
11536 to member variables not pointers.
11538 2002-08-13 Angus Leeming <leeming@lyx.org>
11540 * WordLangTuple (word, lang_code): return references to strings,
11545 * lyxtext.h: forward-declare WordLangTuple.
11550 * text.C: #include "WordLangTuple.h".
11553 * text.C: (selectNextWordToSpellcheck): constify return type.
11555 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11561 * paragraph_pimpl.h:
11564 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11565 suggested by Angus.
11566 Made updateCounter always count from start of buffer, and removed
11567 second argument (par).
11568 Reverted floats number display to '#'. Perhaps I'll try again when the
11569 code base is sanitized a bit.
11571 2002-08-12 Angus Leeming <leeming@lyx.org>
11573 * buffer.[Ch] (getLabelList): constify.
11575 2002-08-07 André Pönitz <poenitz@gmx.net>
11577 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11579 * funcrequest.h: extension to keep mouse (x,y) position
11581 2002-08-12 Juergen Vigna <jug@sad.it>
11583 * BufferView2.C (insertErrors): forbid undo when inserting error
11586 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11588 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11590 * ParagraphList.[Ch]: new files
11592 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11594 * BufferView2.C (lockInset): ParagraphList changes
11597 * bufferlist.C: ditto
11601 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11603 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11604 unused class variable counter_,
11606 * paragraph.[Ch] (getFirstCounter): delete unused function
11608 * counters.C: include LAssert.h
11609 (reset): add a new function with no arg, change other version to
11610 not have def. arg and to not allow empty arg.
11612 * text2.C (setCounter): remove empty arg from call to Counters::reset
11614 2002-08-11 John Levon <levon@movementarian.org>
11616 * Makefile.am: add WordLangTuple.h
11618 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11620 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11621 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11623 * insets/insettext.C: InsetList changes
11625 * graphics/GraphicsSupport.C (operator()): InsetList changes
11627 * toc.C (getTocList): InsetList changes
11629 * paragraph_pimpl.[Ch]: InsetList changes
11631 * paragraph.[Ch]: InsetList changes
11633 * buffer.C (inset_iterator): InsetList changes
11634 (setParagraph): ditto
11635 * buffer.h (inset_iterator): ditto
11636 * iterators.C (operator++): ditto
11637 * iterators.h: ditto
11639 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11641 * InsetList.[Ch]: new files, most InsetList handling moved out of
11644 * BufferView2.C (removeAutoInsets): InsetList changes
11646 (ChangeInsets): ditto
11648 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11650 * paragraph_pimpl.h (empty): new function
11652 * paragraph.[Ch] (empty): new function
11654 * other files: use the new Paragraph::empty function
11656 2002-08-09 John Levon <levon@movementarian.org>
11658 * lyxtext.h: remove unused refresh_height
11660 2002-08-09 John Levon <levon@movementarian.org>
11667 * paragraph.C: move sgml char escaping out of paragraph
11670 * paragraph.C: remove id setter
11674 * paragraph_pimpl.C: remove dead tex_code_break_column
11676 * bufferview_funcs.C: small cleanup
11678 * lyxfunc.C: remove dead proto
11680 * lyxtext.h: make some stuff private. Remove some dead stuff.
11682 * lyxgluelength.C: make as[LyX]String() readable
11684 2002-08-08 John Levon <levon@movementarian.org>
11689 * ToolbarDefaults.C:
11692 * toc.C: lyxaction cleanup
11694 2002-08-08 John Levon <levon@movementarian.org>
11696 * BufferView2.C: small cleanup
11699 * lyxfind.C: move unnecessary header into the .C
11701 2002-08-08 John Levon <levon@movementarian.org>
11703 * funcrequest.h: just tedious nonsense
11706 * lyx_main.C: cleanups
11709 * vspace.C: remove dead header lyx_main.h
11711 2002-08-07 Angus Leeming <leeming@lyx.org>
11714 * paragraph_pimpl.h:
11715 Forward declare class Counters in paragraph.h by moving the ctrs member
11716 variable into Paragraph::Pimpl.
11717 (counters): new method, returning a reference to pimpl_->ctrs.
11719 * text2.C: ensuing changes.
11721 2002-08-07 John Levon <levon@movementarian.org>
11723 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11725 * BufferView_pimpl.C: announce X selection on double/triple
11728 * lyx_main.C: use correct bool in batch dispatch
11730 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11732 2002-08-07 André Pönitz <poenitz@gmx.net>
11734 * funcrequest.h: new class to wrap a kb_action and its argument
11737 * BufferView_pimpl[Ch]:
11741 * lyxrc.C: subsequent changes
11744 2002-08-07 John Levon <levon@movementarian.org>
11746 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11747 document options change.
11749 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11754 * makefile.am: move counters functionality over from
11755 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11757 2002-08-06 John Levon <levon@movementarian.org>
11759 * WordLangTuple.h: new file for word + language code tuple
11770 * BufferView2.C: use WordLangTuple
11773 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11775 2002-08-06 John Levon <levon@movementarian.org>
11777 * lyx_main.C: fix cmdline batch handling
11779 2002-08-06 André Pönitz <poenitz@gmx.net>
11781 * lyxrc.C: set default for show_banner to true
11783 2002-08-06 John Levon <levon@movementarian.org>
11785 * pspell.C: fix a crash, and allow new aspell to work
11787 2002-08-06 John Levon <levon@movementarian.org>
11790 * kbmap.C: small cleanup
11793 * vspace.C: add const
11795 2002-08-05 John Levon <levon@movementarian.org>
11797 * LyXAction.C: back to tabular-insert
11799 2002-08-04 John Levon <levon@movementarian.org>
11802 * BufferView.C: cosmetic change
11804 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11814 * BufferView2.C: purge all "Lyx" not "LyX" strings
11817 * lyxcursor.C: attempt to add some documentation
11822 * ToolbarDefaults.C:
11823 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11824 merge with LFUN_TABULAR_INSERT
11831 * pspell.C: split up i/pspell implementations into separate
11832 files, many cleanups
11834 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11836 * text2.C: some cleanup
11838 * lyxfunc.C: don't check for isp_command == "none" any more, it
11839 didn't make any sense
11841 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11846 * makefile.am: move counters functionality over
11847 from text2.C/paragraph.[Ch] to counters.[Ch], and
11849 2002-08-02 John Levon <levon@movementarian.org>
11851 * buffer.C: s/lyxconvert/lyx2lyx/
11853 2002-08-02 Angus Leeming <leeming@lyx.org>
11855 * lyxlex.C: revert John's change as it breaks reading of the user
11858 2002-08-02 Angus Leeming <leeming@lyx.org>
11860 * importer.C (Import):
11861 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11862 changes due to LyXView::view() now returning a boost::shared_ptr.
11864 2002-08-02 John Levon <levon@movementarian.org>
11866 * lyxlex.C: small cleanup
11868 2002-08-02 John Levon <levon@movementarian.org>
11870 * text2.C (status): small cleanup, no logic change
11872 2002-08-01 John Levon <levon@movementarian.org>
11875 * buffer.C (writeFile): don't output alerts, caller
11879 * lyx_cb.C: from above
11881 * lyxfunc.C: allow to open non-existent files
11883 2002-07-31 John Levon <levon@movementarian.org>
11885 * lyxserver.C: don't let incidental errors get
11888 2002-07-30 John Levon <levon@movementarian.org>
11890 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11892 2002-07-30 John Levon <levon@movementarian.org>
11895 * lyxserver.C: remove I/O callback too
11897 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11899 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11902 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11904 * many files: strip,frontStrip -> trim,ltrim,rtrim
11906 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11908 * PrinterParams.h: remove extern containsOnly, and include
11909 support/lstrings.h instead.
11911 * LaTeX.C (scanAuxFile): modify because of strip changes
11913 * buffer.C (makeLaTeXFile): ditto
11914 * bufferparams.C (writeFile): ditt
11915 * lyxfont.C (stateText): ditto
11916 * lyxserver.C (read_ready): ditto
11917 * vc-backend.C (scanMaster): ditto
11919 * BufferView_pimpl.h: ws changes
11921 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11923 2002-07-26 André Pönitz <poenitz@gmx.net>
11925 * kb_sequence.C: remove unnedred usings
11927 2002-07-26 Juergen Vigna <jug@sad.it>
11929 * lyxfind.C (LyXReplace): we have to check better if the returned
11930 text is not of theLockingInset()->getLockingInset().
11932 2002-07-25 Juergen Vigna <jug@sad.it>
11934 * lyxfind.C (LyXReplace): don't replace if we don't get the
11937 * undo_funcs.C (createUndo): remove debugging code.
11939 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11941 * buffer.C (parseSingleLyXformat2Token): Use default placement
11942 when reading old floats.
11944 * FloatList.C (FloatList): Change the default placement of figure
11945 and tables to "tbp".
11947 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11949 * MenuBackend.C: using std::max
11951 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11953 * MenuBackend.C (expandToc):
11954 (expandToc2): code moved from xforms menu frontend. It is now
11955 generic and TOCs are transparent to menu frontends.
11957 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11959 * toc.C (getTocList): protect against buf=0
11961 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11962 Menu as first parameter. Now, this calls itself recursively to
11963 expand a whole tree (this will be useful for TOC handling)
11964 (expandFloatInsert): remove 'wide' version of floats
11966 * MenuBackend.h (submenuname): returns the name of the submenu.
11967 (submenu): returns the submenu itself, provided it has been
11968 created by MenuBackend::expand
11970 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11972 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11973 insets which have noFontChange == true. (bug #172)
11975 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11977 * BufferView_pimpl.C: add connection objects and use them...
11980 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11982 * MenuBackend.C (expandLastfiles):
11985 (expandFloatListInsert):
11986 (expandFloatInsert):
11987 (expand): split expand in parts
11989 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11991 * lyx_gui.C: use lyx_gui::exit()
11993 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11995 * LyXAction.C: show the failing pseudo action
11997 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11999 * buffer.C (readFile): Run the lyxconvert script in order to read
12002 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12006 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12008 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12012 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12014 2002-07-22 Herbert Voss <voss@lyx.org>
12017 * lyxlength.[Ch]: add support for the vertical lengths
12019 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12021 * toc.[Ch]: std:: fixes
12023 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12025 * lyxrc.C: do not include lyx_main.h
12027 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12033 * BufferView2.C: include "lyxlex.h"
12036 * bufferparams.h: do not #include "lyxlex.h"
12038 * lyxtextclasslist.C (Add): remove method
12039 (classlist): renamed to classlist_
12041 * paragraph_pimpl.C:
12045 * bufferview_funcs.C:
12050 * toc.C (getTocList): use BufferParams::getLyXTextClass
12052 * toc.C (getTocList): use InsetFloat::addToToc
12054 * toc.[Ch]: new files, containing helper functions to handle table
12057 * lyxfunc.C (dispatch): no need to remove spaces around command
12059 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12060 first command of the sequence; it is not very clever, but I do not
12061 have a better idea, actually
12063 * LyXAction.C (LookupFunc): make sure to remove space at the
12064 beginning and end of the command
12066 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12068 * MenuBackend.C (getMenubar): new method: return the menubar of
12070 (read): treat differently reading of menu and menubar (in
12071 particular, the menubar has no name now)
12072 (Menu::menubar): remove
12074 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12077 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12079 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12080 a bibitem inset in a RTL paragraph.
12082 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12084 * paragraph_pimpl.C: constify
12086 * BufferView_pimpl.C:
12088 * lyxfunc.C: fix dispatch in a nicer way
12090 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12092 * lyxfunc.C (dispatch):
12093 * BufferView_pimpl.C:
12094 * BufferView_pimpl.h:
12096 * BufferView.h: rename Dispatch() to dispatch()
12098 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12100 * lyxlayout.C (Read): honor DependsOn tag
12102 * lyxlayout.[Ch] (depends_on): new method
12104 * version.C.in: update lyx_docversion
12106 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12108 * paragraph.C (validate): remove from here...
12109 * paragraph_pimpl.C (validate): ... and move here
12110 (isTextAt): make it const
12112 * buffer.C (getLists): ws cleanup
12114 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12116 * language.C (read): Use iso8859-1 encoding in latex_lang
12117 (this prevents LyX from crashing when using iso10646-1 encoding).
12119 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12121 * text2.C (toggleInset): if cursor is inside an inset, close the
12122 inset and leave cursor _after_ it
12124 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12126 * lyxfunc.C: move minibuffer completion handling out of here
12128 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12130 * BufferView_pimpl.C:
12131 * LaTeX.C: fix dispatch calls
12133 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12135 * text.C (drawChars): Fix Arabic text rendering.
12137 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12141 * lyxfunc.C: remove message-push/pop
12145 * lyxfunc.C: rationalise some code by removing verboseDispatch
12146 in favour of a bool argument to dispatch()
12148 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12150 * lyx_main.C (init): make sure to read symlinks as absolute paths
12152 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12155 * lyxfunc.C: no need for commandshortcut to be a member
12157 2002-07-15 André Pönitz <poenitz@gmx.net>
12159 * converter.C: add support for $$s (scripts from lib/scripts dir)
12160 * lyx_main.C: white space
12162 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12166 * lyxrc.C: remove second exit confirmation
12168 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12173 * BufferView_pimpl.h:
12174 * BufferView_pimpl.C:
12175 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12177 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12179 * MenuBackend.C (expand): add numeric shortcuts to document menu
12181 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12183 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12185 * lyxfont.C (setLyXFamily):
12192 * buffer.C (asciiParagraph): use ascii_lowercase
12194 2002-07-15 Mike Fabian <mfabian@suse.de>
12196 * lyxlex_pimpl.C (search_kw):
12197 * lyxlex.C (getLongString):
12198 * converter.h (operator<):
12199 * converter.C (operator<):
12200 * buffer.C (parseSingleLyXformat2Token):
12202 * ToolbarDefaults.C (read):
12203 * MenuBackend.C (checkShortcuts):
12205 * LColor.C (getFromGUIName):
12206 (getFromLyXName): use the compare_ascii_no_case instead of
12207 compare_no_case, because in turkish, 'i' is not the lowercase
12208 version of 'I', and thus turkish locale breaks parsing of tags.
12210 2002-07-16 Angus Leeming <leeming@lyx.org>
12212 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12213 now takes a Buffer const & argument.
12215 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12217 * BufferView.C (resize): check there's a buffer to resize
12219 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12221 * lyxfunc.C: remove dead code
12224 * lyxserver.C: use lyx_guii::set_read_callback
12226 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12228 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12229 an inset in a RTL paragraph.
12231 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12233 * lyxfunc.C: repaint after a font size update
12235 2002-07-15 André Pönitz <poenitz@gmx.net>
12237 * lyxlength.C: inBP should be able to return negative values
12239 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12241 * lyxfunc.C: use lyx_gui::update_fonts()
12243 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12245 * lyxfunc.C: use lyx_gui::update_color()
12247 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12253 * lyxrc.C: remove file->new asks for name option, and let
12254 buffer-new take an argument
12256 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12258 * BufferView_pimpl.C: remove unneeded extra repaint()
12260 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12262 * LyXAction.C: allow command-sequence with NoBuffer
12264 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12266 2002-07-10 Angus Leeming <leeming@lyx.org>
12268 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12270 2002-07-09 Angus Leeming <leeming@lyx.org>
12272 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12274 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12276 * lengthcommon.h: whitespace
12278 * lyxfunc.C: update scrollbar after goto paragraph
12280 * lyxtext.h: factor out page break drawing, and fix it so
12281 page break/added space paints as selected nicely
12283 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12285 * BufferView_pimpl.C: add FIXMEs, clean up a little
12287 2002-07-09 André Pönitz <poenitz@gmx.net>
12289 * lyxfont.[Ch]: support for wasy symbols
12291 2002-07-08 André Pönitz <poenitz@gmx.net>
12293 * BufferView_pimpl.C: apply John's patch for #93.
12295 2002-07-05 Angus Leeming <leeming@lyx.org>
12297 * BufferView_pimpl.C (buffer): generate previews if desired.
12299 * LColor.h: add "preview" to the color enum.
12301 * LColor.C (LColor): add a corresponding entry to the items array.
12303 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12306 2002-07-05 Angus Leeming <leeming@lyx.org>
12308 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12309 The body of the code is now in the method that is passed an ostream &
12310 rather than a file name.
12311 Pass an additional only_preamble parameter, useful for the forthcoming
12314 2002-07-03 André Pönitz <poenitz@gmx.net>
12316 * lyxfunc.C: simplify getStatus() a bit for math stuff
12318 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12320 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12322 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12324 * text.C (changeRegionCase): do not change case of all the
12325 document when region ends at paragraph end (bug #461)
12327 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12329 * paragraph.C (startTeXParParams):
12330 (endTeXParParams): add \protect when necessary
12332 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12334 * BufferView_pimpl.C (workAreaExpose): remove warning
12336 2002-06-27 Angus Leeming <leeming@lyx.org>
12338 * Makefile.am: add lyxlayout_ptr_fwd.h.
12340 2002-06-26 André Pönitz <poenitz@gmx.net>
12342 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12344 2002-06-25 Angus Leeming <leeming@lyx.org>
12346 * lyxfunc.C (dispatch): Comment out the call to
12347 grfx::GCache::changeDisplay. The method no longer exists now that the
12348 pixmap generation part of the graphics loader has been moved into
12351 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12353 * text2.C: layout as layout
12355 * text.C: layout as layout
12357 * tabular.C (OldFormatRead): layout as layout
12359 * paragraph_pimpl.C (TeXDeeper): layout as layout
12360 (realizeFont): layout as layout
12362 * paragraph.C (writeFile): layout as layout
12363 (validate): layout as layout
12364 (getFont): layout as layout
12365 (getLabelFont): layout as layout
12366 (getLayoutFont): layout as layout
12367 (breakParagraph): layout as layout
12368 (stripLeadingSpaces): layout as layout
12369 (getEndLabel): layout as layout
12370 (getMaxDepthAfter): layout as layout
12371 (applyLayout): layout as layout
12372 (TeXOnePar): layout as layout
12373 (simpleTeXOnePar): layout as layout
12374 (TeXEnvironment): layout as layout
12375 (layout): layout as layout
12376 (layout): layout as layout
12378 * lyxtextclass.C (compare_name): new functor to work with
12379 shared_ptr, layout as layout
12380 (Read): layout as layout
12381 (hasLayout): layout as layout
12382 (operator): layout as layout
12383 (delete_layout): layout as layout
12384 (defaultLayout): layout as layout
12386 * lyxlayout_ptr_fwd.h: new file
12388 * lyxlayout.C (Read): layout as layout
12390 * lyx_cb.C (MenuInsertLabel): layout as layout
12392 * bufferlist.C (newFile): layout as layout
12394 * buffer.C (readLyXformat2): layout as layout
12395 (parseSingleLyXformat2Token): layout as layout
12396 (insertStringAsLines): layout as layout
12397 (asciiParagraph): layout as layout
12398 (latexParagraphs): layout as layout
12399 (makeLinuxDocFile): layout as layout
12400 (simpleLinuxDocOnePar): layout as layout
12401 (makeDocBookFile): layout as layout
12402 (simpleDocBookOnePar): layout as layout
12403 (getLists): layout as layout
12405 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12407 * CutAndPaste.C (cutSelection): layout as layout
12408 (pasteSelection): layout as layout
12409 (SwitchLayoutsBetweenClasses): layout as layout
12411 * BufferView_pimpl.C (Dispatch): layout as layout
12412 (smartQuote): layout as layout
12414 * BufferView2.C (unlockInset): layout as layout
12416 2002-06-24 André Pönitz <poenitz@gmx.net>
12418 * lyxfunc.C: fix #487
12420 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12424 * lyxfunc.C: remove display_shortcuts, show_banner
12426 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12428 * Buffer_pimpl.C: oops, update on resize
12430 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12437 * BufferView.C: use repaint()
12439 * BufferView_pimpl.h:
12440 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12441 as it's a clearer description. Remove superfluous
12444 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12446 * text.C: fix bug 488. Not ideal, but getting
12447 getWord() to work properly for the insets that
12448 matter is more difficult ...
12450 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12452 * BufferView_pimpl.C:
12455 * lyxfunc.C: remove the six million index lyxfuncs to just
12456 one, and DTRT (bug 458)
12458 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12462 * BufferView_pimpl.h:
12463 * BufferView_pimpl.C: clean up resize() stuff,
12464 and unnecessary updateScreen()s
12466 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12470 * BufferView_pimpl.h:
12471 * BufferView_pimpl.C:
12474 * minibuffer.C: remove focus management of workarea,
12475 not needed. Use screen's greyOut()
12477 2002-06-17 Herbert Voss <voss@lyx.org>
12479 * converter.C: (convert) do not post a message, when converting
12480 fails, let the calling function decide what to do in this case
12482 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12484 * lyxfunc.C: tidy up a little
12486 2002-06-16 <alstrup@diku.dk>
12488 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12489 Got rid of FORMS_H_LOCATION include. Now we are
12492 2002-06-15 LyX Development team <lyx@rilke>
12494 * buffer.[Ch] (sgmlOpenTag):
12495 (sgmlCloseTag): Added support for avoiding pernicious mixed
12496 content. Return number of lines written.
12498 (makeLinuxDocFile):
12499 (makeDocBookFile): Fixed calls to sgml*Tag.
12500 Simple white space clean.
12502 (simpleDocBookOnePar): Simple white space clean.
12504 * tabular.[Ch] (docBook): Renamed to docbook and got another
12505 argument to related with the pernicious mixed content.
12507 (docbookRow): Fixed calls for docbook inset method.
12509 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12511 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12512 so it's X11 independent.
12516 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12518 2002-06-15 Lyx Development team <lyx@electronia>
12520 * intl.h: Renamed getTrans to getTransManager.
12522 2002-06-14 Angus Leeming <leeming@lyx.org>
12524 * Makefile.am: nuke forgotten stl_string_fwd.h.
12526 2002-06-12 Angus Leeming <leeming@lyx.org>
12528 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12530 2002-06-13 Angus Leeming <leeming@lyx.org>
12533 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12535 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12537 * kbmap.C (getiso): add support for cyrillic and greek
12539 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12543 * BufferView_pimpl.h:
12544 * BufferView_pimpl.C: move bogus scrolling logic
12547 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12550 * BufferView_pimpl.C: view->resize() change
12552 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12554 * BufferView_pimpl.C: topCursorVisible
12557 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12561 * lyx_gui.C: move to frontends/
12565 * lyx_main.C: changes from above
12567 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12574 * lyx_main.C: minor tidy
12576 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12578 * BufferView_pimpl.h:
12579 * BufferView_pimpl.C:
12581 * BufferView.C: make painter() const,
12584 * BufferView2.C: use screen() accessor
12587 * lyx_main.C: some minor cleanup
12589 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12591 * BufferView_pimpl.h:
12592 * BufferView_pimpl.C: remove enter/leaveView,
12595 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12600 * BufferView_pimpl.h:
12601 * BufferView_pimpl.C: only construct screen once,
12604 * lyxrc.C: remove pointless comment
12606 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12609 * BufferView.C: remove active() and belowMouse()
12611 * BufferView_pimpl.h:
12612 * BufferView_pimpl.C: use workarea() not workarea_,
12613 and make it use a scoped_ptr instead
12615 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12617 * lyx_gui.C: add debug message on BadWindow
12619 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12621 * sp_spell.C: fdopen is not part of the C++ standard.
12623 * paragraph.C (InsetIterator): use >= instead of ==
12625 2002-06-07 Angus Leeming <leeming@lyx.org>
12627 Fixes needed to compile with Compaq cxx 6.5.
12628 * BufferView_pimpl.C:
12635 * lyxtextclasslist.C:
12640 all c-library variables have been moved into namespace std. Wrap
12641 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12646 Add a using std::abs declaration.
12648 * kbmap.h (modifier_pair):
12649 * paragraph.h (InsetTable, InsetList):
12650 * lyxfont.h (FontBits):
12651 type definition made public.
12653 * bufferlist.C (emergencyWriteAll): the compiler complains that
12654 there is more than one possible lyx::class_fun template to choose from.
12655 I re-named the void specialisation as lyx::void_class_fun.
12657 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12659 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12660 the compiler is is unable to find tostr in write_attribute.
12662 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12664 * buffer.C (sgmlError): hide #warning
12666 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12668 * xtl/*: get rid of xtl, which is not in use anyway
12670 * LyXAction.C (init):
12671 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12672 were unimplemented xtl experimentation
12674 2002-06-04 André Pönitz <poenitz@gmx.net>
12676 * lyxfunc.C: disable array operation on simple formulae
12678 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12680 * converter.C: constify a bit
12682 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12684 * lyx_gui.C: check xforms version correctly
12686 2002-04-30 Herbert Voss <voss@lyx.org>
12688 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12691 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12693 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12694 attempt to register it with a VCS)
12696 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12698 * lyx_main.C (init): honor variables LYX_DIR_13x and
12701 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12705 * lyx_main.C: fix a crash on bad command line,
12706 and give a useful exit status on error
12708 * lyxfunc.C (doImport): allow -i lyx to work
12710 2002-03-30 André Pönitz <poenitz@gmx.net>
12712 * lyxfunc.C: mathed font changes
12714 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12729 * trans_mgr.h: srcdocs, and some minor cleanups
12731 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12733 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12734 call getFont all the time)
12736 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12738 * switch from SigC signals to boost::signals
12740 2002-05-29 André Pönitz <poenitz@gmx.net>
12742 * paragraph_pimpl.C (getChar): don't call size() too often...
12744 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12746 * paragraph_pimpl.C (insertChar): do not try to update tables when
12747 appending (pos == size())
12749 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12750 in order to reduce drastically the number of comparisons needed to
12751 parse a large document
12753 2002-05-29 André Pönitz <poenitz@gmx.net>
12759 * textclasslist.[Ch]:
12760 * sp_ispell.h: whitespace change
12762 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12764 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12765 lyxaction directly now.
12767 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12771 * lyxvc.C: remove unused headers
12773 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12780 * undo_funcs.C: some cleanups. Use shared_ptr
12781 and a template for the undo stacks.
12783 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12785 * BufferView_pimpl.h:
12786 * BufferView_pimpl.C:
12793 * text2.C: use key_state/mouse_state
12795 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12797 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12800 * chset.C: change include order
12801 (loadFile): use boost regex and get rid of LRegex and LSubstring
12803 * Makefile.am (BOOST_LIBS): new variable
12804 (lyx_LDADD): use it
12806 * LaTeX.C: change include order.
12807 (scanAuxFile): use boost regex and get rid of LRegex and
12811 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12816 * FontInfo.C: moved to frontends/xforms/
12819 * FontLoader.C: moved into frontends for GUIIzation
12824 * lyxfunc.C: changes from above
12826 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12828 * LColor.C: remove spurious X include
12830 * BufferView_pimpl.C:
12835 * text2.C: move font metrics to frontends/
12837 2002-05-24 Juergen Vigna <jug@sad.it>
12839 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12840 setting the undo_cursor.
12842 * ParagraphParameters.h: include local includes first.
12844 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12846 * BufferView_pimpl.C:
12847 * BufferView_pimpl.h:
12851 * screen.C: move WorkArea into frontends/
12857 * BufferView2.C: move LyXScreen into frontends/
12861 * lyx_gui.C: move lyxlookup into frontends/xforms/
12863 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12866 * BufferView_pimpl.C:
12876 * bufferview_funcs.C:
12889 * vc-backend.C: move LyX/XFormsView into frontends/
12891 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12903 * text2.C: move Painter to frontends/
12905 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12907 * buffer.C: comment out some some code that depend upon lyx_format
12910 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12911 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12913 * buffer.h (NO_COMPABILITY): turn off compability
12915 * ColorHandler.C: include scoped_array.hpp
12917 * font.C: Use more specific smart_ptr header.
12920 * ShareContainer.h: ditto
12921 * lyx_main.h: ditto
12923 * FontInfo.h: ditto
12924 * BufferView_pimpl.h: ditto
12925 * ColorHandler.h: ditto
12927 * kbmap.C (defkey): change call to shared_ptr::reset
12929 2002-05-21 Juergen Vigna <jug@sad.it>
12931 * buffer.C (insertErtContents): fix to insert ert asis if it is
12932 non empty. Skip it completely if it contains only whitespaces.
12934 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12936 * BufferView_pimpl.C:
12937 * BufferView2.C: clear selection on paste (bug 393)
12939 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12941 * DepTable.C: include ctime
12943 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12945 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12947 2002-05-14 Juergen Vigna <jug@sad.it>
12949 * text.C (breakParagraph): fixed function to honor the keepempty
12950 layout in the right maner and also to permit the right breaking
12951 algorithm on empty or non empyt keepempty paragraphs.
12953 * paragraph.C (breakParagraph): we have to check also if the par
12954 is really empty (!size()) for isempty otherwise we do the wrong
12957 2002-05-10 Juergen Vigna <jug@sad.it>
12959 * buffer.[Ch] : The following are only changes to the ert
12960 compatibility read reading old LaTeX layout and font stuff and
12961 convert it to ERTInsets.
12963 * buffer.h: added isErtInset().
12965 * buffer.C (struct ErtComp): add a fromlayout bool to check
12966 if we're inside a LaTeX layout.
12967 (isErtInset): new helper function.
12968 (insertErtContents): look for other ert insets before this one
12969 and insert the contents there, so that we don't have subsequent
12970 ERT insets with nothing between them. This way we create only one
12971 inset with multiple paragraphs. Also check if we don't insert only
12972 spaces ' ' as they are ignored anyway afterwards in the .tex file
12973 so if we have only spaces we will ignore this latex part in the
12975 (parseSingleLyXformat2Token \\layout): better compatibility when
12976 reading layout-latex stuff.
12977 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12979 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12980 stuff after reading the inset only get the information back from
12983 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12985 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12987 * LaTeXFeatures.C (getBabelOptions): New method.
12989 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12991 * BufferView_pimpl.C (Dispatch): work around missing argument for
12994 2002-05-08 Juergen Vigna <jug@sad.it>
12996 * text.C (leftMargin): handle paragraph leftindent.
12998 * paragraph.C (writeFile): write the new \\leftindent tag.
12999 (validate): handle leftindent code.
13000 (TeXEnvironment): handle paragraphleftindent code again.
13002 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13004 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13005 for paragrap_extra indent code and new token \\leftindent.
13006 (latexParagraphs): handle the leftindent as environment.
13008 * ParameterStruct.h: added leftindent support.
13010 * ParagraphParameters.C (leftIndent): added support functions for
13011 the paragraph left indent.
13013 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13016 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13018 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13021 * text.C (computeBidiTables): No bidi in insetERT.
13023 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13026 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13028 * version.C.in: pre 5
13030 2002-05-02 José Matos <jamatos@fep.up.pt>
13031 * buffer.C (makeDocBookFile): white space changes, add newline to
13033 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13035 * tabular.C (docBook): fix typo.
13037 2002-05-03 Juergen Vigna <jug@sad.it>
13039 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13040 change in LyXText as we can not be sure it was not freed.
13041 (drawOneRow): remove unused code.
13043 * text.C (drawInset): redo the calculation of the need_break_row as
13044 it could have a row which was already freed.
13045 (draw): look at the return value of drawInset and return false if
13046 it also returned false.
13047 (paintRowText): look at the return value of draw and return false if
13048 it also returned false.
13050 * lyxtext.h: added bool return type to drawInset() and draw() so that
13051 if we have a change in the row so that the rowbreak has to be redone
13052 we abort drawing as it will be called again.
13054 2002-05-02 Juergen Vigna <jug@sad.it>
13056 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13057 a change in the maintext also if we're inside an inset.
13058 (Dispatch): set the cursor again after a break line and after the
13059 screen has been updated as it could be we're in a different row.
13061 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13062 to set the cursor behind the pargraph with > size().
13063 (setCursor): check also for the same paragraph when checking where
13064 to put the cursor if we have a NFR inset.
13066 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13067 parts of layout read further up as it still was in the wrong
13070 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13072 * screen.C (drawFromTo): change sine fullRebreak always return
13075 * buffer.C (parseSingleLyXformat2Token): reindent some
13077 * BufferView_pimpl.C (update): change since fullRebreak always
13079 (Dispatch): git rid of the last hardcoded "Standard"s.
13081 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13083 * text2.[Ch] (fullRebreak): make it return void now that we always
13086 2002-04-30 Juergen Vigna <jug@sad.it>
13088 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13089 ert compatibility check for "latex" layout.
13091 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13093 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13094 minipages: use col% instead of p%, and also use the current font.
13095 (makeLaTeXFile): Fix use babel condition.
13096 (parseSingleLyXformat2Token): Correct font when reading old floats.
13098 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13100 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13101 inserting list of floats.
13103 2002-04-25 Herbert Voss <voss@lyx.org>
13105 * MenuBackend.C (expand): don't add the graphics extensions to the
13108 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13110 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13111 non-existing layout, do not complain if it was the default layout
13112 of the original class (bug #342)
13114 2002-04-24 Juergen Vigna <jug@sad.it>
13116 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13117 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13119 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13121 * buffer.C (getBibkeyList): If using \bibliography, return the
13122 option field with the reference itself. Enables us to provide natbib
13123 support when using \bibliography.
13125 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13127 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13129 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13130 natbib is provided by the LaTeX class.
13132 2002-04-23 Juergen Vigna <jug@sad.it>
13134 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13137 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13139 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13141 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13143 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13144 ensuremath around textordmasculine, textordfeminine and
13147 2002-04-19 Juergen Vigna <jug@sad.it>
13149 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13150 reinitializing the buffer otherwise row-dimensions may be wrong.
13151 (update): reset also the selection cursors if they do exits otherwise
13152 their x/y positions may be wrong.
13154 * text2.C (cursorDown): don't enter the inset if we came from a row
13155 above and are one row over the inset.
13157 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13158 really leaving an inset.
13160 2002-04-18 Juergen Vigna <jug@sad.it>
13162 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13163 of the selected paragraph does not have the selected layout also if
13166 * text2.C (setLayout): fixed bug which did not change last selected
13169 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13170 changed the read and substituted \\end_float with \\end_inset!
13172 * BufferView_pimpl.C (cursorPrevious):
13173 (cursorNext): fixed to make it work with rows heigher than the work
13174 area without moving the cursor only the draw of the row.
13175 (workAreaMotionNotify): fix jumping over high rows.
13177 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13179 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13182 2002-04-16 Juergen Vigna <jug@sad.it>
13184 * text2.C (setCursor): set also the irow().
13185 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13187 (cursorDown): support for locking an inset if the x_fix value goes
13188 inside it. That way I can transverse insets too with cursor up/down.
13190 * lyxrow.h: added irow helper function same as other (i) functions.
13192 * BufferView_pimpl.C (cursorPrevious):
13193 (cursorNext): fixed for insets!
13195 2002-04-15 Juergen Vigna <jug@sad.it>
13197 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13198 position otherwise it is wrong in some cases.
13200 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13201 inside the inset before the call.
13203 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13205 * buffer.[Ch] (getBibkeyList): make it const.
13207 2002-04-12 Juergen Vigna <jug@sad.it>
13209 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13211 * text2.C (getCursorX): new helper function
13212 (setCursor): compute also ix_
13213 (setCursorFromCoordinates): set also ix.
13215 * lyxcursor.h: added ix_ and helper functions.
13217 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13219 * buffer.C (insertStringAsLines): dont break paragraph if the this
13220 paragraph is inside an inset which does not permit it!
13222 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13223 also with no chars on this paragraph.
13224 (paintRowText): only paint stuff if it's inside the workarea!
13226 * paragraph.C (breakParagraph): honor keepempty flag and break the
13227 paragraph always below not above.
13229 * BufferView2.C (unlockInset): update the paragraph layout on inset
13230 unlock as we changed paragraph in such a case.
13232 * lyxfind.C (LyXFind): clear the former selection if not found!
13234 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13235 again called in insertChar().
13237 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13238 an inset which uses the whole row!
13239 (rightMargin): ditto.
13240 (insertChar): force a rebreak if we inserted an inset!
13242 2002-03-28 Herbert Voss <voss@lyx.org>
13244 * lyxlength.[Ch]: add inBP() to get the right PS-point
13245 units (BigPoint). With inPixels we have rounding errors
13247 2002-04-11 Juergen Vigna <jug@sad.it>
13249 * text2.C (setCursorFromCoordinates): set iy to the right value.
13250 (setCursor): add check if row->previous exists!
13252 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13253 an old float_type as this was the case in the old code!
13255 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13257 * BufferView2.C (showLockedInsetCursor): use iy
13258 (fitLockedInsetCursor): ditto
13260 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13261 locked insets as there we have the right value now.
13263 * lyxcursor.C: added iy_ variable and iy functions to set to the
13264 baseline of cursor-y of the locked inset.
13266 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13267 (setCursor): fixed for insets which need a full row.
13269 * text.C (rowLastPrintable): don't ignore the last space when before
13270 an inset which needs a full row.
13271 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13272 as last character of a row when before a inset which needs a full row.
13274 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13276 * version.C.in: update date
13278 * text2.C (fullRebreak): try to always return true and see what
13281 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13283 * MenuBackend.C (expand): use Floating::listName
13285 * FloatList.C (FloatList): add listName argument to the built-in
13288 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13289 text associated with the float.
13291 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13293 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13295 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13297 * ShareContainer.h: add a couple of missing typenames.
13299 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13301 * lyxrc.C (getDescription): use _() correctly rather than N_().
13303 2002-03-28 Herbert Voss <voss@lyx.org>
13305 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13306 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13308 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13310 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13311 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13313 2002-03-29 Juergen Vigna <jug@sad.it>
13315 * lyxfunc.C (dispatch): add a missing fitCursor call.
13317 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13318 it was scrolled by a cursor move, so return the bool status.
13320 * BufferView.C (fitCursor): return the bool flag also to the outside
13321 world as this is needed.
13323 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13325 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13326 call the edit() as it is not needed (and wrong) IMO.
13327 (workAreaButtonPress): set the screen_first variable before evt.
13328 unlock the inset as this may change screen_first and then we have
13329 a wrong y position for the click!
13331 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13333 * MenuBackend.C (expand): another translation that I missed
13335 2002-03-28 Juergen Vigna <jug@sad.it>
13337 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13339 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13341 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13343 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13345 * MenuBackend.C (expand): fix export/view/update when there is no
13348 2002-03-27 Herbert Voss <voss@lyx.org>
13350 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13353 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13355 * bufferview_funcs.C (currentState): only show paragraph number
13356 for is DEVEL_VERSION is set.
13358 * lyxfunc.C (dispatch): put warning in INFO channel
13360 * MenuBackend.C (expand): translate the name of floats
13362 * FloatList.C (FloatList): mark the float names for translation
13364 * converter.C (convert): use LibScriptSearch
13366 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13368 * MenuBackend.C (defaults): fix default menu (we might as well get
13371 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13373 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13376 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13378 * lyxvc.C: reorder includes.
13380 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13382 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13385 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13387 * CutAndPaste.C: change layouts earlier on paste
13388 to avoid crashing when calling getFont()
13390 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13392 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13395 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13397 * WorkArea.C: remove 'Pending' debug message.
13399 * most files: ws cleanup
13401 * buffer.[Ch]: ws changes
13403 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13405 2002-03-21 Juergen Vigna <jug@sad.it>
13407 * tabular.C (SetMultiColumn): collapse also the contents of the
13408 cells and set the last border right. Added a Buffer const * param.
13410 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13412 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13415 2002-03-19 Juergen Vigna <jug@sad.it>
13417 * text2.C (clearSelection): reset also xsel_cache.
13419 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13420 where it needs to be called (John tells us to do so too :)
13421 (selectionLost): reset sel_cache.
13423 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13425 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13427 * text2.C (setCursorIntern): put debuging code in INSETS channel
13429 2002-03-19 André Pönitz <poenitz@gmx.net>
13431 * lyxfunc.C: tiny whitespace change
13433 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13435 * ToolbarDefaults.C (init):
13436 * LyXAction.C (init):
13438 * BufferView_pimpl.C (Dispatch):
13439 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13441 2002-03-19 Allan Rae <rae@lyx.org>
13443 * exporter.C (Export): removeAutoInsets before doing anything else.
13444 While I've just introduced a dependency on BufferView this really is
13445 the best place to clean the buffer otherwise you need to cleanup in
13446 a dozen places before calling export or cleanup in a dozen functions
13449 * converter.C (runLaTeX):
13450 (scanLog): Better handling of removeAutoInsets and screen updates.
13452 * lyxfunc.C (dispatch): small whitespace changes
13454 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13456 * WorkArea.C (C_WorkAreaEvent): return a value.
13457 (event_cb): return 1 if we handled the event, 0 otherwise.
13459 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13461 2002-03-18 Juergen Vigna <jug@sad.it>
13463 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13464 (GetAdditionalWidth): ditto.
13465 (RightLine): ditto.
13468 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13469 inset if we're there actually (probably not used right now but this
13470 is the direction to go for unifying code).
13471 (paste): disable code to clear the selection.
13473 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13474 inside an InsetText and move the check further up as it is in the
13477 * text2.C (pasteSelection): set a selection over the pasted text.
13479 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13481 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13482 and libgraphics to build on Cygwin.
13484 2002-03-15 Juergen Vigna <jug@sad.it>
13486 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13487 inserting an Inset into the paragraph. I know this is not the best
13488 fix but we already use current_view in CutAndPaste so we will remove
13489 all of it's using at the same time.
13491 * buffer.C (sgmlError): deactivated function till it is rewritten in
13492 the right mode, now it can create problems.
13494 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13495 before accessing it.
13497 2002-03-14 Juergen Vigna <jug@sad.it>
13499 * undo_funcs.C (textHandleUndo): do the right thing when updating
13500 the inset after the undo/redo.
13502 * text2.C (setCursor): just some testcode for #44 not ready yet.
13504 * undo_funcs.C (textHandleUndo): set the next() and previous()
13505 pointers of the paragraph to 0 before deleting otherwise we have
13506 problems with the Paragraph::[destructor].
13508 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13509 on a paragraph insertion.
13511 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13513 * buffer.C (asciiParagraph): use += operator for char append to
13516 * paragraph.C (getFontSettings): compare >= not just >
13517 (highestFontInRange): ditto
13520 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13522 * paragraph.C: change several algorithm to be more appripriate for
13523 the problem domain. This is lookip in FontList and in the InsetList.
13525 2002-03-13 André Pönitz <poenitz@gmx.net>
13528 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13530 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13535 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13537 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13539 * Painter.C (display): anon helper function, adjust code for this
13541 (pixmap): remove function.
13543 * Painter.h: remove private display variable.
13545 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13547 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13549 * WorkArea.[Ch]: remove figinset_canvas cruft.
13551 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13553 * lyxtextclass.C (operator): add one item cache optimization.
13555 * bufferlist.h: doxy changes
13557 * bufferlist.C: ws changes
13559 * DepTable.[Ch] (ext_exist): place const in the right spot.
13561 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13563 (workAreaExpose): call resizeInsets when the with BufferView changes.
13564 (Dispatch): adjust for protectedBlank removal
13565 (specialChar): call updateInset if the insert went ok.
13567 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13568 specialChar instead.
13570 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13572 * BufferView.h: doxy change
13574 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13576 * lyxtextclass.C (operator[]): remove non-const version
13577 (defaultLayout): remove non-const version
13579 2002-03-12 Juergen Vigna <jug@sad.it>
13581 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13582 did resize the LyXText too.
13584 * buffer.C (readLyXformat2): set layout information on newly allocated
13587 * tabular.C (OldFormatRead): set layout information on the paragraph.
13589 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13591 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13593 2002-03-11 Juergen Vigna <jug@sad.it>
13595 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13597 (resizeCurrentBuffer): force also the insets to resize themselfes.
13598 (moveCursorUpdate): fixed up for InsetText.
13600 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13603 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13604 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13605 value of Dialogs::tooltipsEnabled().
13606 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13608 2002-03-08 Juergen Vigna <jug@sad.it>
13610 * BufferView_pimpl.C (updateInset): update inset inside inset also
13611 if it isn't inside theLockingInset().
13613 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13615 * buffer.C (asciiParagraph): redo some of the word and line length
13617 (getLists): look for Caption instead of caption.
13619 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13621 * buffer.C (Buffer): initialize niceFile to true
13623 (makeLinuxDocFile):
13624 (makeDocBookFile): make sure niceFile is true on exit
13626 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13628 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13630 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13632 * LyXSendto.C: remove.
13633 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13634 * lyx_gui.C: remove now-redundant comment.
13635 * ColorHandler.h: remove forward declaration of class WorkArea.
13636 * lyxfunc.C: remove #include "WorkArea.h".
13638 2002-03-07 Juergen Vigna <jug@sad.it>
13640 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13641 got moved away with the DEPM and also set the inset_owner always
13642 right which before could have been omitted.
13644 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13646 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13647 wanted layout is not found.
13649 2002-03-07 Juergen Vigna <jug@sad.it>
13651 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13653 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13655 * paragraph.C (breakParagraph): use default layout not layout of
13657 (Paragraph): clear ParagraphParameters.
13659 2002-03-06 Juergen Vigna <jug@sad.it>
13661 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13662 otherwise it would not be a valid lenght. Fixed a special case in
13663 the minipage compatibility read where we end the document with a
13666 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13667 was set as it could be 0 for InsetTexts first entry.
13669 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13671 * paragraph.C (writeFile): if layout is empty write out
13672 defaultLayoutName().
13674 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13675 file without named layout we set layout to defaultLayoutName().
13677 2002-03-06 Juergen Vigna <jug@sad.it>
13679 * CutAndPaste.C (copySelection): set layout for new paragraph.
13681 * text.C (prepareToPrint): leave ERT inset left aligned
13682 (leftMargin): don't indent paragraphs inside ERT insets
13684 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13686 * paragraph.C (breakParagraph): dont call clear do the work manually
13688 * paragraph.[Ch] (clear): remove function
13690 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13692 * paragraph.C (Paragraph): dont call clear, the work has already
13695 * lyxtextclass.C (operator): assert if n is empty
13697 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13698 work manually instead.
13700 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13702 * BufferView_pimpl.C: protect selectionLost against text == 0
13704 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13706 * text.C (breakParagraph): fix a setting layout to '0' problem.
13708 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13710 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13711 final location of file, for the included files, and graphics.
13713 2002-03-05 Juergen Vigna <jug@sad.it>
13715 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13717 2002-03-04 Juergen Vigna <jug@sad.it>
13719 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13721 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13722 last column of multicolumn cells.
13723 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13725 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13727 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13728 file if it doesn't go to a temporary file.
13730 * buffer.C (sgmlOpenTag):
13731 (sgmlCloseTag): remove extra newline insertion.
13733 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13735 * text.C (getRowNearY): comment out debug msg
13737 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13739 * text2.C: first -> first_y
13741 * text.C (getRowNearY): add some attemts at a possible
13742 optimization, not working.
13744 * tabular.[Ch]: add BufferParams to several function so that newly
13745 created paragraph can be initialized to he default layotu for the
13748 * tabular-old.C (ReadOld): add buf->params to call of Init
13750 * screen.C: rename text->first to text->first_y
13752 * paragraph.C (breakParagraph): always set layout in the broken
13755 * lyxtextclass.C (Read): remove lowercase
13758 (delete_layout): ditto
13760 * lyxtext.h: rename first -> first_y
13762 * lyxlayout.C (Read): remove lowercase
13765 (obsoleted_by): ditto
13767 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13769 * buffer.C (insertErtContents): add params are to InsetERT
13770 (parseSingleLyXformat2Token): add code to check if a paragraphs
13771 layout really exist.
13772 (parseSingleLyXformat2Token): add params to several inset
13774 (asciiParagraph): remove lowercase, do the layout comparisons with
13777 * BufferView_pimpl.C (cursorNext): first -> first_y
13778 (resizeCurrentBuffer): first -> first_y
13779 (updateScrollbar): first -> first_y
13780 (scrollCB): first -> first_y
13781 (workAreaMotionNotify): first -> first_y
13782 (workAreaButtonPress): first -> first_y
13783 (checkInsetHit): first -> first_y
13784 (cursorPrevious): first -> first_y
13785 (cursorNext): first -> first_y
13786 (Dispatch): add buffer_->params to severl inset contructors
13788 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13790 * lyxlayout.C (Read): remove some debug info that I forgot.
13792 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13793 clean up the code slightly.
13794 (makeLinuxDocFile): ditto
13795 (makeDocBookFile): ditto
13797 * text2.C: layout as string
13799 * text.C: layout as string
13801 * paragraph_pimpl.C: layout as string
13803 * paragraph.[Ch]: layout as string
13805 * lyxtextclasslist.[Ch]: layout as string
13807 * lyxtextclass.[Ch]: layout as string
13809 * lyxtext.h: layout as string
13811 * lyxlayout.[Ch]: layout as string
13813 * lyx_cb.C: layout as string
13815 * bufferview_funcs.C: layout as string
13817 * bufferparams.C: layout as string
13819 * buffer.C: layout as string
13821 * LyXView.[Ch]: layout as string
13823 * LaTeXFeatures.[Ch]: layout as string
13825 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13827 * BufferView_pimpl.C: change current_layout to string, remove
13832 (workAreaButtonRelease): layout as string
13834 * BufferView2.C (unlockInset): adjust
13836 * vspace.C (asLatexCommand): use an explict temp variable.
13838 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13840 * Makefile.am: use FRONTEND_*
13842 2002-03-01 Juergen Vigna <jug@sad.it>
13844 * tabular.C (SetWidthOfMulticolCell): changed to something better
13845 I hope but still work in progress.
13846 (recalculateMulticolumnsOfColumn): renamed function from
13847 recalculateMulticolCells as it is more appropriate now.
13848 (SetWidthOfCell): calculate multicols better.
13850 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13852 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13854 * lyxfunc.C (processKeySym): print sequence also if it is
13855 `deleted' (complete)
13857 * kbsequence.C (print): print sequence even if it is deleted
13858 (complete would be a better word, actually).
13860 * lyxfunc.C (dispatch): print complete options after a prefix key
13862 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13864 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13866 * text2.C (setCharFont): eliminate setCharFont code duplication.
13868 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13870 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13871 LFUN_TABULAR_FEATURE (bug #177)
13873 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13875 * Makefile.am: remove figure.h
13877 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13879 * Bufferview_pimpl.C:
13891 * text2.C: remove #include "lyx_gui_misc.h".
13893 * LaTeX.C: added #include <cstdio>
13895 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13897 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13898 that the paragraph following this one can have.
13900 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13902 * vspace.C (asLatexCommand): fix bogus gcc warning
13904 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13906 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13908 * text2.C (setLayout): get rid of redundant code
13910 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13912 * text2.C (incDepth): make sure depth cannot be increased beyond
13915 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13917 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13918 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13920 * PainterBase.h (image):
13921 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13922 a LyXImage const *.
13924 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13928 * BufferView_pimpl.C:
13929 * BufferView_pimpl.h:
13949 * sp_spell.C: remove fig inset, and the crap house of
13950 cards that follows it
13952 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13957 * os2_errortable.h:
13958 * nt_defines.h: move .h into support/
13960 * vms_defines.h: remove
13962 * WorkArea.C: add space in debug output
13966 * buffer.C: add WITH_WARNINGS
13970 * bufferlist.C: s/retrive/retrieve/, add docs
13979 * chset.C: add docs
13981 * lyxgui.C: add ID to X error handler
13983 * lyxtestclass.c: fix typo
13985 2002-02-26 Juergen Vigna <jug@sad.it>
13987 * tabular_funcs.C (write_attribute): changed so that some default
13988 attributes are not written at all.
13989 (getTokenValue): set default values before trying to read the
13990 value so we have the return value always set as default if we don't
13991 find the token we search for.
13993 * tabular.C (Write): write bools as bools not as strings!
13995 2002-02-22 Juergen Vigna <jug@sad.it>
13997 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13998 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14000 * text.C (leftMargin): don't add an indent for paragraphs inside
14001 tabular cells (fix #208).
14003 2002-02-21 José Matos <jamatos@fep.up.pt>
14005 * tabular.C (docBook): fixed support for long tables.
14007 2002-02-20 Juergen Vigna <jug@sad.it>
14009 * text2.C (getFont): get the drawing font of the Inset if this
14010 paragraph is inside an inset (only important for InsetERT for now).
14012 * buffer.C (insertErtContents): use new lanugage params in ERT
14015 * CutAndPaste.C: commenting out seemingly uneeded code.
14017 2002-02-19 Allan Rae <rae@lyx.org>
14019 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14020 Iterators might be simple to use but they also get invalidated.
14021 (removeAutoInsets): renamed saved cursor tracking variables and added
14022 some comments to clarify what everything does.
14024 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14031 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14032 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14035 * vc-backend.h: remove #include "support/syscall.h"
14039 * converter.C: rearrange #includes in Lars' approved fashion.
14041 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14042 forward declare class Timeout in the header file.
14044 * XFormsView.C: changes due to the above.
14046 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14047 similar to LyXView.
14049 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14050 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14052 2002-02-18 José Matos <jamatos@fep.up.pt>
14054 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14057 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14059 * a lot of small ws changes
14060 * add a lot of using std::XXX
14061 * use std construcs some places where approp.
14062 * use some exisint stuff from lyxfunctional where approp.
14063 * Make file changes to use partial linking (lets test this now...)
14065 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14069 remove #include "support/syscontr.h" as it's redundant. Always has been.
14077 change Systemcalls::System to Systemcalls::Wait and
14078 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14079 No change of functionality, just reflects the stripped down Systemcalls
14082 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14084 * debug.[Ch]: add a GRAPHICS type to the enum.
14086 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14088 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14090 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14093 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14095 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14096 match the changes below.
14098 * text2.C (toggleInset): if there is not editable inset at cursor
14099 position, try to see if cursor is _inside_ a collapsable inset
14102 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14104 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14105 document menu has a nice checkbox
14107 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14109 * lyxlength.C (asLatexString): change PW to output as percent of
14112 * lengthcommon.C: change '%' to 't%'
14114 * lyxfunc.C (dispatch): a few comments from Martin
14116 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14120 * BufferView_pimpl.h:
14121 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14124 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14126 * vspace.C (inPixels): fix compiler warning
14128 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14130 * lyxfunc.C (getStatus): fix status message for disabled commands.
14132 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14134 * BufferView_pimpl.C: fix crash on close buffer
14135 during selection (#227)
14137 2002-01-27 Herbert Voss <voss@lyx.org>
14139 * buffer.C: link old Figure to new graphic inset
14141 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14143 * FontLoader.C (getFontinfo): Change the latex font names in order
14144 to match the names of type1inst.
14146 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14148 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14150 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14151 (extchanged): ditto
14153 (remove_files_with_extension): ditto
14154 (remove_file): ditto
14157 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14158 document is smaller than the work area height. Do not initialize
14159 static variables to 0.
14161 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14163 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14165 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14166 LFUN_LAYOUT_PARAGRAPHS.
14168 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14169 tabular. It is possible to provide a possible cell, which will
14170 typically be the actcell from the corresponding insettabular
14172 * lyxfunc.C (getStatus): small cleanup; disable
14173 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14176 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14178 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14180 * paragraph.C (startTeXParParams):
14181 (endTeXParParams): new methods. The LaTeX code to
14182 start/end paragraph formatting
14183 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14184 empty (fixes bug #200)
14186 * vspace.C (inPixels): adapt to the change below
14187 (inPixels): [later] more cleanups (remove unused variables)
14189 * lyxlength.C (inPixels): change to use a width and a height as
14192 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14194 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14195 Replaced with \paperwidth
14197 * DepTable.C (insert): add std:: qualifier
14199 2002-01-18 Allan Rae <rae@lyx.org>
14201 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14204 * text.C (drawInset): Turned out I didn't know enough about how
14205 rebreaking worked. This fixes most of the redraw problems. I see
14206 an occasional cursor trail when a line is broken now and the cursor
14207 placement can seem out by a few pixels also after a rebreak.
14209 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14211 * buffer.C (parseSingleLyXformat2Token): update because minipage
14212 width is now a LyXLength
14214 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14216 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14219 2002-01-17 Juergen Vigna <jug@sad.it>
14221 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14223 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14224 is set correctly and the inset is updated correctly.
14226 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14228 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14229 the beginning of the loop.
14231 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14233 * lyxrc.C: improve help for use_scalable_fonts
14235 2002-01-17 Allan Rae <rae@lyx.org>
14237 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14239 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14241 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14242 make sure to set their inset_owner to the right value (bug #171)
14244 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14247 * DepTable.C: Implement mtime checking to reduce time spent doing
14250 2002-01-16 Juergen Vigna <jug@sad.it>
14252 * tabular.C (GetAdditionalHeight): one of error fixed.
14254 * lyxrc.C (output): small fix in writing use_pspell.
14256 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14258 * sp_base.h: #include LString.h
14260 2002-01-16 Allan Rae <rae@lyx.org>
14262 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14263 Can someone check this please?
14265 * text.C (drawInset): It was possible that p.row would be removed by
14266 breakAgainOneRow upsetting a few other settings. There may be another
14267 small tweak possible by setting need_break_row = 0 when p.row has been
14268 removed but I don't know enough about the logic here.
14270 2002-01-15 Allan Rae <rae@lyx.org>
14272 * text.C (insertChar): removed conditional truism.
14274 * BufferView2.C (removeAutoInsets): More tweaks.
14275 cur_par_prev could be a stray pointer. Check for trailing empty line
14276 in case last line was cur_par and only had an error inset on it.
14278 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14280 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14283 * vc-backend.C (most methods):
14284 * exporter.C (Export):
14285 * converter.C (convert):
14287 * LyXSendto.C (SendtoApplyCB):
14288 * lyxfunc.C (dispatch):
14292 * lyx_cb.C (AutoSave):
14294 * BufferView_pimpl.C (MenuInsertLyXFile):
14295 * buffer.C (runChktex): use Buffer::filePath().
14297 * buffer.h: rename filename to filename_; rename filepath to
14298 filepath_ and make it private
14299 (filePath): new method
14301 * buffer.C (writeFile): use fileName()
14304 * lyx_main.C (init): fix starting of LyX when the binary is a
14305 link from so,ewhere else.
14307 * minibuffer.C: include <cctype> for isprint
14309 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14311 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14312 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14313 name clash with InsetCollapsable's width function.
14315 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14317 * lastfiles.C: include <iterator>
14319 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14321 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14324 * buffer.C (makeLaTeXFile): ditto.
14325 Also make loop operation more transparent.
14327 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14329 * ToolbarDefaults.C: remove trailing comma closing namespace.
14331 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14333 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14336 * trans.C (Load): comment out unused variable, allowed.
14338 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14340 * minibuffer.[Ch] (append_char): new method to recieve input from the
14341 drop-down completion browser. If a key was pressed, then recieve this
14342 char and append it to the existing string.
14343 (peek_event): modify the positioning data passed to the completion
14344 browser so that it can be placed above the minibuffer rather than below.
14345 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14347 * LyXAction.C (init): alloe error-next for readonly documents.
14349 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14352 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14354 * bufferlist.C (readFile): create the buffer _after_ checking that
14357 * lyxfunc.C (verboseDispatch): fix handling of arguments
14359 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14361 * lyxrc.C: use string::erase() instead of initializing to "".
14364 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14366 * BufferView_pimpl.h:
14367 * BufferView_pimpl.C:
14370 * text2.C: tell X when we have made a selection for copying
14372 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14374 * BufferView_pimpl.C (MenuInsertLyXFile):
14375 * lyxfunc.C (menuNew):
14377 (doImport): add shortcuts to directory buttons
14379 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14382 * lyxfunc.C (setStatusMessage):
14383 (getStatusMessage): new methods
14384 (getStatus):use setStatusMessage instead of setErrorMessage
14385 (dispatch): when function is disabled, set error message here
14386 [instead of in getStatus previously]
14388 * BufferView_pimpl.C (workAreaButtonRelease): update
14389 toolbar/menubar here too.
14391 2002-01-13 Allan Rae <rae@lyx.org>
14393 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14394 Now seems indestructible. Remaining task is to audit all other
14395 code affected by deleteEmptyParagraphMechanism. One small quirk
14396 left is that an empty document with an error in the preamble can
14397 be made to report an error but no error box appears. I don't know
14399 (removeAutoInsets): Improved comments.
14401 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14404 * Thesaurus.C: update for Aiksaurus 0.14
14406 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14408 * text2.C (firstParagraph): removed member function, all uses
14409 replaces with ownerParagraph
14410 (redoParagraphs): here
14411 (updateInset): here
14412 (toggleAppendix): here
14413 * BufferView2.C (insertErrors): here
14414 (setCursorFromRow): here
14416 2002-01-13 Allan Rae <rae@lyx.org>
14418 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14419 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14420 There is still a way to segfault this although you may have to do this
14421 multiple times: Have an InsetERT with an unknown command in it.
14422 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14423 <down-arrow>, <Enter> again, View->DVI, BANG!
14425 * text2.C (setCursor):
14426 (deleteEmptyParagraphMechanism):
14427 * lyxtext.h (setCursor):
14428 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14429 Making use of the return value may help fix other bugs.
14431 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14433 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14435 * LyXView.C (updateMenubar): call MenuBar::update here
14436 (updateToolbar): but not here
14437 (showState): do not update toolbar/menubar
14439 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14440 should need to care about that.
14442 * lyxfunc.C (verboseDispatch): simplify a bit
14443 (getStatus): have a version which takes a pseudoaction, and
14444 another which requires a (kb_action,string).
14446 * LyXAction.C (retrieveActionArg): make it work also when action
14447 is not a pseudo-action.
14448 (getActionName): simplify a bit
14451 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14453 * lyxfunc.C (verboseDispatch): new families of methods with
14454 several ways to specify a command and a bool to indicate whether
14455 the command name and shortcut should be displayed in minibuffer
14456 (eventually, we could extend that to a finer bitmask like
14457 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14458 (dispatch): the pristine dispatch command which just, well,
14459 dispatchs! Note it still sets its result to minibuffer; I'm not
14462 * lyxfunc.h: remove setHintMessage
14464 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14466 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14468 * BufferView_pimpl.C (specialChar): delete new inset if we have
14469 not been able to insert it.
14471 * kbmap.C: revert to using int instead of kb_action, since all we
14472 are dealing with is pseudo-actions.
14474 * LyXAction.C (searchActionArg): change to return int instead of
14475 kb_action, since the result is a pseudoaction.
14477 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14479 * buffer.C (insertErtContents): Fix (partially) the font bug.
14481 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14483 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14484 as the other one is broken on my machine!
14486 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14489 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14491 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14493 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14494 reflect their actual use. Provide compatibility code for older lyxrc
14497 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14499 change names of popup font variables in line with the changes to lyxrc.C
14501 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14503 * buffer.C (asciiParagraph): avoid outputing a word twice after
14506 * lyxrc.C (getDescription): document that document_path and
14507 template_path can be empty.
14509 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14511 * LaTeXFeatures.C (getMacros):
14512 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14514 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14516 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14518 (getPackages): rename feature "floats" to "float". Use an array to
14519 iterate over 'simple' features (i.e. just a \usepackage). Add
14520 handling of "amsmath" (renamed from "amsstyle").
14522 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14524 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14527 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14529 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14530 FuncStaus::FuncStatus & FuncStaus::some_method().
14532 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14534 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14535 of the func_satus stuff. Edited and massaged in various ways by
14538 * lyxfunc.C (getStatus): use FuncStatus
14540 2002-01-08 Juergen Vigna <jug@sad.it>
14542 * text.C (nextBreakPoint): use function Inset::isChar().
14544 * paragraph.C (TeXOnePar): use function
14545 Inset::forceDefaultParagraphs.
14547 * buffer.C (latexParagraphs): use function
14548 Inset::forceDefaultParagraphs.
14550 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14552 * lyx_gui.C (init): set the style of the menu popups to
14553 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14555 2002-01-07 Juergen Vigna <jug@sad.it>
14557 * text.C (setHeightOfRow): small fix
14558 (prepareToPrint): don't look at alignment if we don't have the place
14561 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14563 * box.C: New file. Move the Box methods and functions out of box.h,
14564 following Lars' suggestion.
14566 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14568 * box.h: #include "support/LOstream.h", needed for inlined function.
14571 * lyxtextclasslist.C: added some using std declarations.
14573 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14575 * box.h: make signed dimensions to allow insets wider than
14576 the screen (bug #162)
14578 * BufferView_pimpl.C: add some insetHit debug
14580 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14582 * vc-backend.C: add FIXME
14584 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14586 * lyxfunc.C (getStatus): enable code for showing math font status
14589 2002-01-07 Juergen Vigna <jug@sad.it>
14591 * text.C (nextBreakPoint): removed debug output not needed anymore.
14593 2002-01-06 Juergen Vigna <jug@sad.it>
14595 * text.C (nextBreakPoint): fixed up this function we had this bug
14596 since ever but now hopefully we break row better.
14597 (insertChar): we have to check if an inset is the next char as it
14598 could now happen that a large inset is causing a break.
14600 2002-01-05 Juergen Vigna <jug@sad.it>
14602 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14603 if it doesn't like to be drawed.
14605 2002-01-04 Juergen Vigna <jug@sad.it>
14607 * BufferView2.C (lockInset): forgot to set a cursor.
14609 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14611 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14613 * FormMathsPanel.C:
14616 * form_maths_panel.C:
14617 * form_maths_panel.h:
14618 * form_maths_panel.fd: implemented sub- and super- buttons in math
14621 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14622 (or ^ space) to be used as in TeX (req'd by Andr�.
14624 * lyxfunc.C: Allow ^ and _ again to be used both as
14625 super/subscript (mathed) and as themselves (in text).
14627 2002-01-03 Allan Rae <rae@lyx.org>
14629 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14630 "LyX" or the filename of the current buffer if it has one. This is a
14631 modified form of John Levon's patch.
14633 * XFormsView.C (setWindowTitle): also set icon title.
14635 * LyXView.h (setWindowTitle): signature changed.
14636 * XFormsView.h (setWindowTitle): ditto.
14638 2002-01-02 Juergen Vigna <jug@sad.it>
14640 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14642 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14644 * screen.C (topCursorVisible): introduce a temp var for
14645 text->cursor.row(), handle the case where this row is null. (kindo
14648 * text2.C (setCursor): add a couple of asserts.
14650 * paragraph.h (inset_iterator): add -> operator
14652 * paragraph.[Ch] (autoDeleteInsets): remove member function
14654 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14655 cursor pos correctly and handle inset deletion by itself.
14656 (insertErrors): move iterator declaration out of for expression
14658 * lyxtextclass.C: add <algorithm>
14660 * Makefile.am: added the new files to sources, removed layout.C
14662 * layout.C: removed file
14664 * layout.h: remove LYX_DUMMY_LAYOUT
14666 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14670 * lyxtextclass.[Ch]:
14671 * lyxtextclasslist.[Ch]: new files
14673 * include order changes to a lot of files, also changes because of
14676 2001-12-27 Juergen Vigna <jug@sad.it>
14678 * buffer.C (asciiParagraph): more fixes.
14680 * tabular.C (ascii): make ascii export support export of only the
14681 data separated by a column-delimiter.
14682 (ascii): better support for ascii export.
14684 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14686 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14688 * tabular_funcs.C: use a "using std::getline" instead of the
14689 previous fix from Angus (necessary for cxx + lyxstring)
14691 2001-12-24 Juergen Vigna <jug@sad.it>
14693 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14695 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14696 problems. First check a minipage also if we have some ert-contents
14697 (not only on par->size(), second set the right depth of the paragraph
14698 on the relink to the root-paragraph-list!
14700 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14701 which then did not anymore update the main paragraphs on undo/redo!
14703 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14705 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14706 code. Support all font-changing funcs (even those which are not in
14707 menu currently). Support for reporting font settings in
14708 mathed (disabled until Andre provides a function on mathed's side).
14710 * func_status.h (toggle): small helper function to set toggle
14713 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14715 * tabular_funcs.C: getline -> std::getline
14717 2001-12-21 Juergen Vigna <jug@sad.it>
14719 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14720 accessed and could be 0 (I couldn't generate this but it seems
14723 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14725 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14726 * tabular_funcs.h: here and include iosfwd
14728 2001-12-20 Juergen Vigna <jug@sad.it>
14730 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14731 inside inset but undo_par was.
14733 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14735 * Thesaurus.C: always include <config.h> in sources.
14739 * box.h: do not include <config.h> in header files
14741 * text.C (paintLastRow): remove unused variable
14743 * text.C (transformChar):
14745 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14747 * Painter.C (text):
14748 * font.C (width): rewrite to use uppercase() instead of
14751 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14753 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14755 * lyxfind.C: clean up of find failure position change
14757 2001-12-20 Juergen Vigna <jug@sad.it>
14759 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14761 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14762 (TeXRow): added to LaTeX a single tabular row.
14763 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14764 (Latex): simplified and finally good LT-h/f support.
14765 (various_functions): just small adaptions for LT-h/f support.
14767 * tabular_funcs.[hC]: added and moved here all not classfunctions
14770 2001-12-19 Juergen Vigna <jug@sad.it>
14772 * tabular.[Ch]: better support for longtabular options (not finished
14775 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14777 * text.C (paintLastRow): use the label font instead of the font of
14778 the last character to compute the size of *_BOX. This makes more
14779 sense and avoids a crash with empty paragraphs.
14780 Use Painter::rectangle to draw EMPTY_BOX.
14782 2001-12-19 Juergen Vigna <jug@sad.it>
14784 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14785 the paragraphs if the replaced paragraph is not the first one!
14786 Tried to delete not used paragraphs but does not work yet so for
14787 now it's inside #ifdef's and by default off!
14789 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14791 * MenuBackend.C: include "lyx_main.h" instead of declaring
14792 lastfiles (actually was declared as LastFiles* instead of a
14795 2001-12-17 Juergen Vigna <jug@sad.it>
14797 * tabular.C (AppendColumn): applied John's fix
14799 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14803 * BufferView_pimpl.h:
14804 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14807 * box.h: new start of class for above
14809 * lyxfunc.C: ignore space-only minibuffer dispatches.
14810 Show the command name when it doesn't exist
14812 * minibuffer.C: don't add empty lines to the history
14814 * minibuffer.C: add a space on dropdown completion
14816 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14818 * text.C: fix line above/below drawing in insets
14820 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14822 * lyxlength.C (LyXLength): Initialize private variables.
14824 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14826 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14827 when inserting error insets.
14829 2001-12-13 Juergen Vigna <jug@sad.it>
14831 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14832 actually sometimes the before-paragraph.
14833 (setUndo): don't clear the redostack if we're not actually undoing!
14835 2001-12-06 Juergen Vigna <jug@sad.it>
14837 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14838 and fixed redoing of main paragraph, so we can use it now ;)
14840 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14842 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14844 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14847 2001-12-13 André Pönitz <poenitz@gmx.net>
14850 * undo_func.C: minor cleanup
14852 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14854 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14855 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14856 font in urw-fonts package which is marked as -urw-fontspecific and
14857 does not work (incidentally, changing the encoding in the
14858 fonts.dir of this package to -adobe-fontspecific fixes the
14861 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14862 is a crash when undoing first paragraph (Juergen, please take a
14863 look). THis does not mean the undo fix is wrong, just that it
14866 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14867 the (Paragraph*) version when needed instead of duplicating the
14870 * text.C (workWidth): use Inset::parOwner to find out where the
14871 inset has been inserted. This is a huge performance gain for large
14872 documents with lots of insets. If Inset::parOwner is not set, fall
14873 back on the brute force method
14875 * paragraph_pimpl.C (insertInset):
14876 * paragraph.C (Paragraph):
14877 (cutIntoMinibuffer): set parOwner of insets when
14878 inserting/removing them
14880 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14882 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14888 * mathed/formulabase.C:
14889 * mathed/math_cursor.[Ch]:
14890 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14893 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14895 * lyxlength.[Ch] (operator!=): new function
14897 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14899 * text.C (workWidth): use Inset::parOwner to find out where the
14900 inset has been inserted. This is a huge performance gain for large
14901 documents with lots of insets. If Inset::parOwner is not set, fall
14902 back on the brute force method
14904 * paragraph_pimpl.C (insertInset):
14905 * paragraph.C (Paragraph):
14906 (cutIntoMinibuffer): set parOwner of insets when
14907 inserting/removing them
14909 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14911 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14913 * tabular-old.C (getTokenValue):
14914 * tabular.C (getTokenValue):
14915 (write_attribute): new versions for LyXLength
14916 (everywhere): adjust the use of widths
14918 * tabular.h: change the type of widths from string to LyXLength
14920 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14922 * paragraph.C: fixed missing line number count when exporting
14923 Environments to LaTeX file
14925 * buffer.C: added informational message for checking line numbers.
14927 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14929 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14930 paragraph, do the 'double space' part, but not the 'empty
14933 * text.C (workWidth): small optimization
14934 (getLengthMarkerHeight): use minimal size for negative lengths.
14936 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14938 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14940 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14942 2001-12-11 André Pönitz <poenitz@gmx.net>
14945 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14947 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14949 * text2.C: keep selection on a setFont()
14951 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14953 * lyx_cb.C: another bv->text misuse, from insert label
14955 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14958 * kbsequence.C: re-instate nmodifier mask
14960 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14962 * lyx_main.h: make lyxGUI private.
14964 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14966 * lyxfind.C: place the cursor correctly on failed search
14968 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14970 * text.C (getLengthMarkerHeight): for small heights, the arrows
14971 are not always on top/bottom of the text
14972 (drawLengthMarker): smaller arrows; take the left margin in
14973 account; draw also vfills.
14975 (paintLastRow): remove special code for vfill and standard spaces,
14976 since everything is handled in drawLengthMarker now.
14978 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14980 * buffer.C (insertErtContents): try to handle font and language
14981 interaction a bit better.g
14983 * ColorHandler.C (updateColor): change the hash to cover the whole
14984 LColor enum, ws cleanup
14985 (getGCLinepars): ditto
14986 (getGCLinepars): only lookup in the linecache once.
14988 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14990 * iterators.C (operator++): Make the iterator more robust
14992 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14994 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14996 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14999 * text.C: better added space drawing
15001 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15004 * BufferView2.C: fix layout combo update on inset unlock
15006 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15008 * Makefile.am: don't compile unused files
15010 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15014 * LyXAction.C: remove old LFUN_LAYOUTNO
15016 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15018 * paragraph_pimpl.h:
15019 * paragraph_pimpl.C: isTextAt() doesn't need font param
15021 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15024 * lyxlex.C: little cleanup
15026 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15028 * BufferView_pimpl.C: fix insertAscii for insets
15030 2001-12-05 Juergen Vigna <jug@sad.it>
15032 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15033 set the right font on the "multi" paragraph paste!
15035 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15041 * lyxlength.C: remove out-commented code.
15043 * BufferView_pimpl:
15057 * vc-backend.C: change "while(" to "while ("
15059 * lyxlength.[Ch]: add zero function to check if length is zero or
15061 * lyxgluelength.C: use it
15063 2001-12-05 Allan Rae <rae@lyx.org>
15065 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15066 Works for 2.95.3, from what I understand of Garst's reports this should
15067 work for other g++ versions. We're screwed if the abs(int) definition
15068 changed between bugfix releases of gcc.
15070 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15072 * text.C: fix chapter label offset !
15074 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15077 * text.C: fix hfill at end of line, clean up
15079 2001-12-04 Juergen Vigna <jug@sad.it>
15081 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15082 that we force an update of the inset and it's owners if neccessary.
15084 2001-12-03 Juergen Vigna <jug@sad.it>
15086 * text.C (rowLast): simplified code
15088 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15090 * lyxfunc.C: fix show options on timeout
15092 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15094 * screen.C (topCursorVisible): scroll half a page when the cursor
15095 reached top of bottom of screen
15097 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15099 * minibuffer.C: deactivate on loss of focus
15101 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15103 * vspace.[Ch] (operator!=): add operator.
15105 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15107 * BufferView_pimpl.C: refuse to open an inset when
15108 there's a selection.
15110 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15112 * BufferView_pimpl.C: allow to click on RHS of full row insets
15114 2001-11-30 Juergen Vigna <jug@sad.it>
15116 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15117 insets for undo reasons.
15119 2001-11-28 André Pönitz <poenitz@gmx.net>
15121 * vspace.[Ch]: cosmetical changes
15123 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15133 * kbsequence.C: part re-write of old kb code
15136 * WorkArea.C: remove Lgb_bug_find_hack
15138 2001-11-30 José Matos <jamatos@fep.up.pt>
15140 * buffer.C (makeDocBookFile): add a comment to point a hack.
15141 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15142 Fixed a double write of labels.
15144 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15147 * LaTeX.h Fixed bug in LaTeX class where it would not
15148 re-run latex if no depfiles were changed, but the .dvi was removed.
15150 2001-11-28 André Pönitz <poenitz@gmx.net>
15152 * all the files from the change on 2001/11/26:
15153 use lyx::layout_type instead of LyXTextClass::size_type
15154 use lyx::textclass_type instead of LyXTextClassList::size_type
15156 2001-11-29 Juergen Vigna <jug@sad.it>
15158 * text.C: added support for paragraph::isFreeSpacing()
15160 * buffer.C: same as above
15162 * paragraph.h: inserted isFreeSpacing() function to enable
15163 FreeSpacing inside InsetERT.
15165 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15166 of the paragraph's in the cut/copy buffer to 0!
15168 * text2.C (removeRow): remove the assert as it can!
15170 * lyxtext.h: added helper function firstRow returning firstrow and
15171 made firstrow private again.
15173 * BufferView2.C (lockInset): don't relock if we're already locked!
15175 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15176 the only paragraph.
15177 (removeRow): added Assert::(firstrow)
15179 * debug.C: forgot to add INSETTEXT here.
15181 2001-11-28 Juergen Vigna <jug@sad.it>
15183 * sp_spell.C (initialize): changed error text to more general
15184 spellchecker command use (not only ispell!)
15186 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15188 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15190 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15192 * vspace.C: initialise lyxgluelength on failure
15194 2001-11-28 Allan Rae <rae@lyx.org>
15196 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15197 declaration & definition that looks like a function declaration.
15199 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15201 * BufferView2.C (copy):
15202 (copyEnvironment): do not clear the selection when doing a copy.
15204 * text.C (paintFirstRow): compilation fix
15206 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15208 * tabular.C (Latex): correct line count when writing latex.
15210 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15212 * paragraph_pimpl.h:
15213 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15216 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15220 * LColor.C: change vfillline->added_space
15222 * text.C: add markers and text for added space
15224 * vspace.C: fix comment
15226 2001-11-28 André Pönitz <poenitz@gmx.net>
15228 * paragraph.C: whitespace changes
15229 * all the other files from the change on 2001/11/26:
15230 change *::pos_type into lyx::pos_type
15232 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15234 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15235 language of the document when inserting error insets.
15237 2001-11-26 André Pönitz <poenitz@gmx.net>
15239 * BufferView_pimpl.[Ch]:
15247 * paragraph_pimpl.[Ch]:
15250 * text2.C: reduce header dependencies, introduce type for positions
15252 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15254 * <various>: change to use Alert.h
15256 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15258 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15259 when encountering an unknown token.
15260 (readLyXformat2): Show an error message if there were unknown tokens.
15262 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15265 * BufferView_pimpl.C:
15269 * text2.C: use par->isInset()
15271 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15273 * paragraph_pimpl.h:
15274 * paragraph_pimpl.C: cleanup
15276 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15278 * text2.C (removeRow):
15279 * text.C (setHeightOfRow): remove useless (and costly) call to
15282 2001-11-20 Allan Rae <rae@lyx.org>
15284 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15285 Now need Inset*::checkInsertChar() to return true for appropriate
15286 cases so that the characters in the minibuffer will actually be
15289 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15291 * text.C: change the order of the includes.
15292 (workWidth): initialize it at once.
15293 (workWidth): make maxw unsigned
15294 (setHeightOfRow): remove unused variable (inset)
15295 (selectSelectedWord): remove unused variable (inset)
15296 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15298 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15300 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15301 server is not running.
15303 (closeConnection): add debug info when server is disabled.
15305 * ColorHandler.C (getGCForeground): send debug message to GUI
15308 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15310 * kbmap.C (bind): modify because return conventions of
15311 kb_sequence::parse have changed.
15313 * kbsequence.C (parse): only ignore spaces and not any stupid
15314 control character. This avoids tests like s[i] <= ' ', which are
15315 guaranteed to fail with 8bit characters and signed chars.
15316 Change return code to string::npos when there have been no error
15317 (0 was a bad idea when error is at first character)
15319 2001-11-14 José Matos <jamatos@fep.up.pt>
15322 * buffer.C (simpleDocBookOnePar): removed unused argument.
15324 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15326 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15327 insets which are part of a word. Paragraph::isLetter takes care of
15328 that now. Use Paragraph::isInset to identify insets.
15329 (selectSelectedWord): do not test for hyphenation break.
15331 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15332 that protected spaces are considered as spaces.
15334 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15337 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15340 * lyxserver.C: fix it. and small cleanup.
15342 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15344 * BufferView_pimpl.C: use inline helpers
15347 * LaTeXFeatures.C: fix typos
15350 * Spacing.C: move spacing_string into class
15352 * ToolbarDefaults.C: move stuff into namespace anon
15354 * layout.h: update enum
15356 * lyxfunc.C: use better debug
15358 * minibuffer.h: fix typo
15362 * WorkArea.C: add and use Debug::WORKAREA
15366 * text2.C: code re-organisation, inline helpers
15368 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15370 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15371 std::vector.empty().
15373 2001-11-09 Allan Rae <rae@lyx.org>
15375 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15376 '\n's after tables. Tabular and ERT inset work now makes this no
15379 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15382 * minibuffer.C: fix crash, improve drop-down completion
15384 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15387 * lyxserver.C: invalidate fd's when doing endPipe()
15389 2001-11-08 José Matos <jamatos@fep.up.pt>
15391 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15392 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15395 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15397 2001-11-07 José Matos <jamatos@fep.up.pt>
15400 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15403 * buffer.C (sgmlOpenTag):
15404 * buffer.C (sgmlCloseTag): removed debug info.
15406 * buffer.h (sgmlOpenTag):
15407 * buffer.h (sgmlCloseTag): made public.
15409 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15411 * buffer.C (saveParamsAsDefaults):
15412 * lyx_cb.C (MenuLayoutSave): remove
15414 * LyXAction.C (init):
15416 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15418 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15420 * buffer.C (setPaperStuff): removed from here...
15422 * bufferparams.C (setPaperStuff): ... and moved there.
15424 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15428 * XFormsView.C: add support for drop-down completion
15430 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15432 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15435 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15437 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15440 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15442 * lyx_main.C: change ref to known bugs
15444 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15446 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15447 to work around older babel problems.
15449 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15451 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15453 2001-10-24 Juergen Vigna <jug@sad.it>
15455 * tabular-old.C (ReadOld): below variable changes reflected.
15457 * tabular.[Ch]: added ltType struct for longtable header/footer
15458 defines and changed all instances where they are used. Added
15459 future support for double top/bottom rows.
15461 2001-10-24 José Matos <jamatos@fep.up.pt>
15463 * buffer.h (docbookHandleCaption):
15464 * buffer.C (docbookHandleCaption): removed unused function.
15465 (makeDocBookFile): moved docbook supported version to v4.1.
15467 2001-10-24 José Matos <jamatos@fep.up.pt>
15470 * tabular.C (docbookRow): new function to export docbook code of a row.
15471 (DocBook): now honors the longtable flags.
15473 2001-10-23 José Matos <jamatos@fep.up.pt>
15476 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15477 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15479 * buffer.C (makeLinuxDocFile):
15480 (makeDocBookFile): reworked the preamble, more clean, and with
15481 support for lyx defined entities. Changed the document declaration
15482 to be more XML friendly.
15484 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15485 if we need to output XML that should be done with a filter.
15487 2001-10-22 Juergen Vigna <jug@sad.it>
15489 * sp_pspell.h (class PSpell): add alive function needed in the
15490 controller to see if the spellchecker could be started.
15492 2001-10-22 Juergen Vigna <jug@sad.it>
15494 * buffer.C (insertStringAsLines): modify the font for inserting
15495 chars in certain conditions by calling checkInsertChar(font).
15497 2001-10-19 Juergen Vigna <jug@sad.it>
15499 * text.C (workWidth): use getRow instead of wrong algorithm.
15500 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15502 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15507 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15509 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15511 * text.C (workWidth): do not search for the exact row when
15512 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15513 optimization for big documents.
15515 2001-10-18 Juergen Vigna <jug@sad.it>
15517 * text.C (workWidth): new function with added Inset * parameter.
15519 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15521 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15523 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15524 change return type of getColumnNearX.
15527 * text.C (changeRegionCase): use uppercase/lowercase instead of
15530 (rightMargin): simplify code by factoring out the uses of
15535 (appendParagraph): use Paragraph::size_type
15537 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15539 * vspace.C (asLatexString): add a missing break
15541 2001-10-15 Herbert Voss <voss@perce.de>
15543 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15545 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15547 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15550 2001-10-10 André Pönitz <poenitz@gmx.net>
15552 * lyxfunc.C: removed greek_kb_flag.
15554 2001-10-10 Herbert Voss <voss@perce.de>
15556 * lyx_main.C: delete global string help_lyxdir.
15558 2001-10-09 Herbert Voss <voss@perce.de>
15560 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15562 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15564 * lyx_main.C: added global string help_lyxdir.
15566 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15568 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15570 * lyxrc.C (set_font_norm_type): support iso8859-4
15572 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15574 * LaTeX.C (deplog): add another regex for MikTeX
15576 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15578 * lyxrc.C (set_font_norm_type): support iso8859-3
15580 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15582 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15584 * LaTeXFeatures.C: remove special case of french and index
15586 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15587 before \begin{document}). This solves several incompatibilities.
15589 2001-10-03 Garst Reese <reese@isn.net>
15591 * lyx_cb.C: change CheckTex error msg.
15593 2001-10-03 José Matos <jamatos@fep.up.pt>
15595 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15597 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15599 * .cvsignore: update
15601 * lyx_main.C (commandLineVersionInfo): use new style version info.
15603 * buffer.C (writeFile):
15605 (makeLinuxDocFile):
15606 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15608 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15610 * version.h: update to use stuff in version.C
15612 * version.C.in: new file. Contains version information determined
15613 at compile time. This is a merging of version.h and
15616 2001-10-03 Juergen Vigna <jug@sad.it>
15618 * BufferView_pimpl.C (update): don't change "dirty" status in
15621 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15623 * WorkArea.C (c-tor): re-position version string slightly.
15625 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15627 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15628 revert to previous code.
15630 WorkArea.[Ch]: (show, destroySplash): methods removed.
15632 WorkArea.C: rework code so that it's an amalgam of the codes before and
15633 after the splash screen was moved to WorkArea.
15635 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15638 * vspace.C (inPixels):
15641 * buffer.C (insertStringAsLines):
15642 (asciiParagraph): fix types to be large enough
15644 * lyxlex_pimpl.h: change member status from short to int
15646 * layout.h: fix type of endlabeltype
15649 * kbsequence.C (parse): change return type to string::size_type
15651 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15654 * Bullet.C (bulletSize):
15655 (bulletEntry): do not use short ints as parameters
15657 * BufferView2.C (insertLyXFile): change a char to an int.
15659 * WorkArea.C (WorkArea): remove unneeded floats in computation
15661 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15663 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15665 * paragraph.C (asString): Do not ignore newline/hfill chars when
15666 copying to the clipboard.
15668 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15670 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15671 after a multi-line inset.
15673 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15675 * paragraph.C (validate): Set NeedLyXFootnoteCode
15677 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15679 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15680 and decrease-error to decrease.
15682 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15684 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15685 it more readable (should be equivalent)
15687 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15689 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15691 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15693 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15694 of a cursor (row, etc.) after a character has been deleted
15695 (deleteEmptyParagraphMechanism): call the method above on _all_
15696 cursors held by the LyXText when a double space has been
15699 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15701 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15703 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15705 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15706 background. Use greyOut() and the new show() methods to toggle between
15707 the foreground and background. Add code to remove the splash after
15708 its initial showing.
15710 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15711 (create_forms): no longer call Dialogs::showSplash.
15713 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15715 * .cvsignore: add version_info.h
15717 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15719 * version_info.h.in: new file
15721 * Makefile.am: add version_info.h.in
15723 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15724 version_info.h instead of VERSION_INFO
15726 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15728 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15729 The ERT inset now returns string().
15731 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15733 * lyxtext.h, text.C (selectNextWord): renamed as
15734 selectNextWordToSpellcheck.
15736 * text.C (selectNextWordToSpellcheck): Modified to not select
15737 words inside an ERT inset.
15739 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15741 * lyx_cb.C (MenuLayoutSave): change a bit the question
15743 * sp_base.h: include <sys/types.h>
15745 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15747 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15749 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15751 * several files: fix typos in user-visible strings
15753 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15755 * text2.C (pasteSelection): do not set the selection, since it
15756 will be cleared later. Actually, the intent was to fix the way the
15757 selection was set, but I figured rmoving the code was just as good.
15759 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15761 * FontLoader.C (available): Check if font is available without
15764 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15766 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15768 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15770 * lyxrc.[Ch]: added display_graphics variable and associated code.
15772 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15774 * bufferparams.C (hasClassDefaults): new method. Returns true if
15775 the buffer parameters correspond to known class defaults
15777 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15779 * XFormsView.C (show): set minimum size to the main window.
15781 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15783 * text2.C (copySelection):
15785 * lyxfind.C (LyXReplace):
15786 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15787 LyXText::selectionAsString.
15789 * paragraph.C (asString): add "label" argument to the second form
15791 * text2.C (selectionAsString): add "label" argument and pass it to
15792 Paragraph::asString.
15794 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15796 * lyx_main.C (commandLineHelp): remove version information
15798 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15800 * lyx_main.C: add -version commandline option
15802 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15804 * paragraph.h: make the optional constructor arg required instead.
15805 some modifications to other files because of this.
15807 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15809 * lyxserver.C (C_LyXComm_callback): make it static
15811 * lyx_main.C (error_handler): make it static
15813 * lyx_gui.C (LyX_XErrHandler): make it static
15815 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15817 * WorkArea.C: make the extern "C" methods static.
15819 * Makefile.am (lyx_LDADD): simplify
15821 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15823 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15824 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15826 * LyXAction.C (init):
15827 * lyxfunc.C (dispatch): associated code removal.
15829 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15831 * lyxfont.h (isSymbolFont): shut off warning
15833 * text.C (setHeightOfRow):
15834 (getVisibleRow): fix crash with empty paragraphs which have a
15837 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15839 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15842 2001-09-04 José Matos <jamatos@fep.up.pt>
15845 * tabular.C (docbook): rename docBook method to docbook.
15847 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15849 * Makefile.am: add dependencies to main.o.
15851 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15853 * FontLoader.C (available): Return false if !lyxrc.use_gui
15855 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15857 * FontInfo.C (query):
15858 * converter.C (view):
15859 * importer.C (Import):
15860 * exporter.C (Export): Can not -> cannot.
15862 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15864 * BufferView_pimpl.C: allow to create index inset even if
15867 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15869 * buffer.C (getLists): replace boost::tie code with an explicit pair
15870 as boost::tie can break some compilers.
15872 * iterators.h: Added a std:: declaration to the return type of
15875 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15877 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15880 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15882 * iterators.[Ch]: New files. Provide paragraph iterators.
15884 * buffer.C (changeLanguage): Use paragraph iterators.
15885 (isMultiLingual): ditto
15887 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15889 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15891 * FontLoader.C: Support for cmr font.
15893 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15895 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15896 (available): New method.
15898 * FontInfo.C (getFontname): Use scalable fonts even when
15899 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15902 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15904 * converter.C (Formats::view): reverted! Incorrect fix.
15906 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15908 * converter.C (Formats::view): only output the -paper option
15909 if the dvi viewer is xdvi, thereby fixing bug #233429.
15911 2001-08-23 Herbert Voss <voss@perce>
15913 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15915 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15917 * Spacing.h (Spacing): Set space to Default on in the default
15920 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15922 * vc-backend.h (RCS::versionString): add RCS to version
15923 (CVS::versionString): add CVS to version
15925 * vc-backend.C (scanMaster): do not add CVS to version.
15926 (scanMaster): do not add RCS to version
15928 * lyxvc.C (versionString): new method
15930 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15932 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15934 * Spacing.C (set): initialize fval
15936 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15938 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15941 2001-08-16 Juergen Vigna <jug@sad.it>
15943 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15945 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15947 * BufferView_pimpl.C:
15950 * text2.C: setParagraph takes linespacing now
15952 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15954 * LyxAction.C: add internal LFUN_CITATION_INSERT
15956 * LyXView.C: actually apply fix
15958 * bufferlist.C: fix open non-existent file
15960 * lyxfind.C: fix indentation
15962 * lyxfunc.C: remove unneeded assert, fix typo
15964 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15966 * MenuBackend.C: use "Floatname List"
15968 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15970 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15971 when converting LaTeX layout to insetERT.
15972 Generate a non-collapsed float when reading old float
15974 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15976 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15979 2001-08-13 Juergen Vigna <jug@sad.it>
15981 * text.C (fill): return 0 instead of 20 as this seems to be the more
15984 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15986 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15989 2001-08-13 Juergen Vigna <jug@sad.it>
15991 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15993 (SearchBackward): comment out the unlocking of the inset_owner this
15994 should not be needed!
15996 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15998 * Many files: Remove inherit_language, and add latex_language
16000 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16001 collapsible insets.
16003 2001-08-10 Juergen Vigna <jug@sad.it>
16005 * text.C (prepareToPrint): fixed hfill-width in draw!
16007 * BufferView2.C (selectLastWord): save the selection cursor as this
16008 now is cleared in the function LyXText::clearSelection!
16010 2001-08-08 Juergen Vigna <jug@sad.it>
16012 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16013 BACKSPACE type functions.
16015 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16016 is only cutted from the document but not put in the cut-buffer, where
16017 still the old stuff should be.
16019 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16021 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16023 * tabular.C (SetWidthOfCell): fixed special case where the width
16025 (LeftLine): handle '|' in align_special.
16027 (LeftAlreadyDrawed): ditto
16028 (SetWidthOfCell): ditto
16030 2001-08-07 Juergen Vigna <jug@sad.it>
16032 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16034 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16036 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16037 * lyxlex.[hC]: ditto
16039 2001-08-06 Juergen Vigna <jug@sad.it>
16041 * text.C (getVisibleRow): fix up row clearing a bit.
16043 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16045 * minibuffer.C: make sure the X server sees the changes in the input.
16047 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16049 * paragraph.C (getFont): split into...
16050 (getLabelFont): this
16051 (getLayoutFont): and this
16052 * paragraph_pimpl.C (realizeFont): calling this
16054 * text2.C (getFont): split into...
16055 (getLayoutFont): this
16056 (getLabelFont): and this
16057 (realizeFont): all three calling this
16059 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16062 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16064 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16066 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16068 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16069 layouts from the Quote inset insertion.
16071 2001-08-03 Juergen Vigna <jug@sad.it>
16073 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16075 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16076 only if status not is already CHANGED_IN_DRAW (second level).
16078 * text.C (draw): don't set the need_break_row when inside an
16081 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16083 * buffer.C (parseSingleLyXformat2Token): handle more latex
16086 * bufferview_funcs.[hC]: change function names to
16087 begin with small char, adjust other files.
16089 2001-08-02 André Pönitz <poenitz@gmx.net>
16092 BufferView_pimpl.C: remove broken special code for math-greek
16094 2001-08-02 Juergen Vigna <jug@sad.it>
16096 * BufferView_pimpl.C (update): redone this function so that we
16097 update the text again if there was a CHANGE_IN_DRAW.
16099 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16100 (drawFromTo): added a new internal bool which is used by draw() and
16102 (general): some cursor drawing problems fixed.
16104 2001-08-01 Juergen Vigna <jug@sad.it>
16106 * lyxfind.C (LyXFind): fixed
16107 (SearchForward): ditto
16108 (SearchBackward): ditto
16110 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16111 spurius drawing of the cursor in the main area.
16113 * text2.C (status): small fix which could lead to a segfault!
16114 (clearSelection): remove unneeded BufferView param.
16116 2001-08-01 André Pönitz <poenitz@gmx.net>
16118 * lyxfunc.C: small change due to changed mathed interface
16120 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16122 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16124 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16126 * lyxfunc.c: fail gracefully if file doesn't exist
16131 * BufferView_pimpl.C: IsDirWriteable() proto changed
16133 * LyXView.C: fix updateWindowTitle() to store the last title
16135 2001-07-31 Juergen Vigna <jug@sad.it>
16137 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16138 the font (wrong since using of Paragraph::highestFontInRange).
16140 * paragraph.C (highestFontInRange): added a default_size parameter.
16142 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16143 (setHeightOfRow): reformat
16145 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16147 * converter.[hC] + affected files: move to (inital-char)lowercase
16150 * ParagraphParameters.C (ParagraphParameters): remove commented code
16152 * PainterBase.[Ch]: remove commented code
16154 * LaTeXFeatures.h: add "bool floats" for float.sty
16156 * LaTeXFeatures.C (LaTeXFeatures): init floats
16157 (require): handle float
16158 (getPackages): do it with floats
16160 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16162 * BufferView_pimpl.C (Dispatch): improve handling of
16163 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16165 * commandtags.h: #include lyxfont.h here temporarily to avoid
16168 * bufferlist.h: include LString.h here.
16170 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16172 * text2.C (getStringToIndex): new method.
16174 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16176 * *: Reduced header file dependencies all over.
16178 2001-07-30 Baruch Even <baruch@lyx.org>
16180 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16182 2001-07-29 Baruch Even <baruch@lyx.org>
16184 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16186 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16188 * ParameterStruct.h (endif): add a default constructor to make
16189 sure that all variables is initialized.
16191 * ParagraphParameters.C (ParagraphParameters): adjust
16193 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16195 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16196 index; also, check that there is something to index, and that it
16197 does not span over several paragraphs.
16198 (doubleClick): use WHOLE_WORD_STRICT for double click.
16200 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16202 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16205 2001-07-26 Baruch Even <baruch@lyx.org>
16207 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16208 an InsetFig figure, backwards compatible reading of old figure code.
16210 2001-07-27 Juergen Vigna <jug@sad.it>
16212 * text2.C: font.realize function adaption.
16214 * text.C (draw): add a warnings lyxerr text if needed.
16216 * layout.C: font.realize function adaption.
16218 * language.C: add inherit_language and implement it's handlings
16220 * bufferview_funcs.C (StyleReset): remove language parameter from
16221 font creation (should be language_inherit now).
16223 * bufferparams.C (writeFile): handle ignore_language.
16225 * paragraph.C (getFontSettings): the language has to be resolved
16226 otherwise we have problems in LyXFont!
16228 * lyxfont.C (lyxWriteChanges): added document_language parameter
16229 (update): removed unneeded language parameter
16231 * paragraph.C (validate): fixed wrong output of color-package when
16232 using interface colors for certain fonts in certain environments,
16233 which should not seen as that on the final output.
16235 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16237 * BufferView_pimpl.C:
16242 * LyXAction.C: add thesaurus support
16245 * lyxfind.C: add "once" parameter, for thesaurus, to not
16246 move to the next match
16248 2001-07-26 Juergen Vigna <jug@sad.it>
16250 * lyxfont.C (realize): honor ignore_language too!
16253 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16255 * text.C (draw): one place more for ignore_language to not draw
16258 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16260 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16262 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16264 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16265 the minipage conversion problem.
16267 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16269 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16272 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16274 * BufferView.h: don't forward declare WorkArea
16276 * BufferView.C: don't include WorkArea.h
16278 2001-07-25 André Pönitz <poenitz@gmx.net>
16282 * lyxfunc.C: new LFUN 'math-space'
16284 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16286 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16288 * text2.C (toggleInset): call open/close
16290 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16292 * lyxfunc.C (dispatch): add debug for the disabled case
16294 * font.C (buttonText): make similar to rectText
16296 * buffer.C (readInset): comment out parsing of insetlist and
16299 * PainterBase.C (rectText): small correction
16301 * BufferView_pimpl.C: comment out insettheorem and insetlist
16302 * LyXAction.C: ditto
16303 * commandtags.h: ditto
16305 2001-07-24 Juergen Vigna <jug@sad.it>
16307 * text.C (draw): honor the ignore_language.
16309 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16311 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16313 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16316 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16318 * lyxtext.h: remove unused (and unimplemented) methods
16320 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16322 * text.C (getVisibleRow): honor background color
16325 * Painter.h: remove default color argument for fillRectangle
16327 * text.C (backgroundColor): new method
16329 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16331 * text.C (getVisibleRow): adjust
16333 * font.[Ch] (rectText): new method, metrics
16334 (buttonText): new method, metrics
16336 * PainterBase.[hC]: make rectText and buttonText always draw and take
16339 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16341 * ToolbarDefaults.C (read):
16342 * MenuBackend.C (read): allow escaping in all strings
16344 * BufferView_pimpl.C (insertAndEditInset): new method.
16345 (Dispatch): use insertAndEditInset whenever appropriate.
16347 * BufferView_pimpl.C (insertNote): removed
16349 * BufferView_pimpl.C (smartQuote): new method, moved from
16350 BufferView; if an insetquote cannot be inserted, insert a '"'
16353 * BufferView2.C: remove insertCorrectQuote();
16355 * lyxfunc.C (getStatus): Add support for all remaingin
16356 inset-insert lfuns.
16358 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16360 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16361 command (necessary to pass " as parameter of self-insert.
16363 * text.C (selectWordWhenUnderCursor):
16364 (selectWord): add word_location parameter
16365 (selectWordWhenUnderCursor): same + remove special code for word
16367 (selectNextWord): use kind() to guess type of insetspecialchar,
16370 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16371 (insertErtContents): create ert insets as collapsed.
16372 (readInset): better compatibility code for Info inset.
16374 2001-07-20 Juergen Vigna <jug@sad.it>
16376 * lyxfunc.C (dispatch): use always LyXFind now!
16378 * text2.C (init): add a reinit flag so that the LyXText can be
16379 reinited instead of deleted and reallocated (used in InsetText).
16381 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16387 2001-07-18 Juergen Vigna <jug@sad.it>
16389 * text.C (selectNextWord): handle insets inside inset by calling
16390 always the bv->text functions so that we can go up the_locking_inset!
16392 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16393 in strange locations when inside an inset!
16395 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16396 handling to include insets.
16398 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16400 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16402 * LyXAction.C (init):
16404 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16405 LIGATURE_BREAK, since the name is so stupid.
16407 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16409 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16412 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16414 * sp_form.[Ch]: remove.
16416 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16418 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16421 * src/buffer.C (readInset): ditto.
16423 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16425 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16426 menuSeparator(), endOfSentenceDot(), ldots() and
16427 hyphenationPoint(), which are therefore removed.
16428 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16430 * LyXAction.C (init):
16431 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16433 * paragraph.C (getWord): removed.
16435 * BufferView_pimpl.C (Dispatch): use last word or selection for
16436 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16438 * lyx_main.C (queryUserLyXDir): do not ask before creating
16439 user_dir, except if it has been named explicitely.
16441 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16443 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16444 a document of zero size.
16446 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16448 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16449 approriately in the c-tor and in require().
16450 (getPackages): output the appropriate LaTeX for natbib support.
16452 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16453 variables "use_natbib" and "use_numerical_citations" when reading the
16455 (readInset): read the various natbib cite commands.
16456 (validate): white-space change.
16458 * bufferparams.[Ch]: new variables "bool use_natbib" and
16459 "bool use_numerical_citations".
16460 (writeFile): output them in the LyX file.
16462 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16464 * lyxfunc.C (getStatus): add support for all the inset insertion
16467 * text2.C (insertInset):
16468 * paragraph.C (insetAllowed):
16469 * BufferView_pimpl.C (insertInset): update to take in account the
16470 renaming of insertInsetAllowed
16472 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16474 * text2.C (getInset): new method. returns inset at cursor position.
16476 * BufferView_pimpl.C (Dispatch): changes because of this.
16478 * LyXAction.C (init): rename open-stuff to inset-toggle.
16480 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16482 * text2.C (toggleInset): renamed from openStuff; use
16485 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16487 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16489 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16491 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16493 * buffer.C (readLyXformat2): Add filename to the error dialog
16495 2001-07-18 Juergen Vigna <jug@sad.it>
16497 * tabular.C (GetCellNumber): put an assert here instead of the check!
16499 2001-07-17 Juergen Vigna <jug@sad.it>
16501 * BufferView_pimpl.C (toggleSelection): adapted too.
16503 * text.C (selectNextWord): adapted for use with insets.
16504 (selectSelectedWord): ditto
16506 2001-07-17 Juergen Vigna <jug@sad.it>
16508 * sp_spell.C (PSpell): fix initialitation order.
16510 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16512 * paragraph.C: spacing
16514 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16516 * sp_spell.C: repair language selection for pspell
16518 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16520 * lyxfunc.h: change more methods to begin with lower char.
16522 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16524 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16525 for unknown layouts.
16527 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16529 * buffer.C (readLyXformat2): Generate an error dialog if there are
16532 2001-07-16 Juergen Vigna <jug@sad.it>
16534 * sp_spell.C: always compile ISpell part.
16536 * lyxrc.C: added use_pspell entry and it's handling.
16538 2001-07-13 Juergen Vigna <jug@sad.it>
16540 * sp_spell.C: removed double includes.
16542 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16544 Consistent use of Lsstream.h:
16545 * Lsstream.h: added using std::stringstream for consistencies sake.
16547 * buffer.C: removed using std::stringstream
16549 * lyxfont.C (stateText):
16550 * paragraph.C (asString):
16551 * text.C (selectNextWord, selectSelectedWord):
16552 * text2.C (setCounter):
16553 * vspace.C (asString, asLatexString):
16554 std::ostringstream -> ostringstream.
16556 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16558 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16559 * commandtags.h: add LFUN_HELP_ABOUTLYX
16560 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16562 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16564 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16566 * lyx_gui_misc.C: remove spellchecker
16567 * lyxfunc.C: showSpellchecker
16569 * sp_ispell.h: added
16570 * sp_pspell.h: added
16571 * sp_spell.C: added
16572 * sp_form.[Ch]: removed
16573 * spellchecker.[Ch]: removed
16575 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16577 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16579 (simpleTeXSpecialChars): Simply print the input character without
16580 any special translation if pass_thru is set.
16582 * layout.h: Added bool pass_thru to layout class for being able to
16583 implement pass through of a paragraph for Literate Programming.
16585 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16586 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16587 * layout.C (Read): add "passthru" to list of layout tags and add
16588 code to set the pass_thru boolean when it is read.
16590 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16592 * trans_decl.h: remove allowed from KmodInfo
16594 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16595 remove allowed code
16598 * paragraph_pimpl.C (erase): use boost::prior
16600 * Painter.C (text): use data() instead of c_str() when length is
16602 * WorkArea.C (putClipboard): ditto
16603 * font.h (width): ditto
16605 * BufferView2.C: use it-> instead of (*it). for iterators
16607 * paragraph_pimpl.C: ditto
16608 * paragraph.C: ditto
16609 * minibuffer.C: ditto
16610 * language.C: ditto
16612 * encoding.C: ditto
16613 * counters.C: ditto
16614 * converter.C: ditto
16616 * Variables.C: ditto
16617 * TextCache.C: ditto
16618 * MenuBackend.C: ditto
16619 * LyXAction.C: ditto
16621 * FloatList.C: ditto
16622 * DepTable.C: ditto
16623 * ColorHandler.C (LyXColorHandler): ditto
16625 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16627 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16629 * text2.C (openStuff): reintroduce this method (which had been
16630 nuked in NEW_INSETS frenzy).
16632 * lyxfunc.C (Dispatch): when an action has not been handled, use
16633 its name in the error message, not its number.
16635 * paragraph.C (inInset): change method name to begin with lowercase.
16638 * text2.C: updates because of this.
16640 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16642 * ToolbarDefaults.C (add): add spaces in error message
16644 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16646 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16647 (readLyXformat2): rename return_par to first_par, use lyxlex's
16648 pushToken and remove the manual push handling.
16649 (parseSingleLyXformat2Token): add another ert comp. variable:
16650 in_tabular, rename return_par to first_par. handle newlines better
16652 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16654 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16656 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16658 * text2.C (getParFromID): removed
16660 * buffer.C (getParFromID): new method moved form lyxtext.
16661 * BufferView2.C (insertErrors): adjust
16662 (setCursorFromRow): adjust
16663 * BufferView_pimpl.C (restorePosition): adjust
16664 * lyxfunc.C (Dispatch): adjust
16665 * undo_funcs.C (textUndo): adjust
16667 (textHandleUndo): adjust
16668 (textHandleUndo): adjust
16670 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16672 * buffer.C: up' the LYX_FORMAT
16674 * lyxfont.h: turn NO_LATEX on as default
16676 * buffer.C (insertErtContents): new methods of tex style compability.
16677 (parseSingleLyXformat2Token): use it several places.
16678 * tabular.C (OldFormatRead): and here
16680 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16682 * text2.C: remove some commented code.
16685 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16686 * trans.C: changes because of the above.
16688 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16690 * text2.C (setCounter): Fix counters bug with bibliography layout.
16692 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16694 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16695 own member functions
16696 (simpleTeXSpecialChars): ditto
16698 2001-07-06 Juergen Vigna <jug@sad.it>
16700 * a lot of files: changed the access to LyXText::status and the
16701 call of undo-functions.
16703 * undo.[Ch]: added a inset_id to the undo informations.
16705 * undo_funcs.[Ch]: added and moved here all undo functions.
16707 * lyxtext.h: give the status enum a weight, made status_ a private
16708 variable and made accessor functions for it, removed the whole bunch
16709 of undo-functions as they are now in their own file, make some
16710 functions publically available. Added function ownerParagraph with
16713 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16714 made InInset() a const function, added getParFromID() function.
16716 * buffer.[Ch]: added const version for inset_iterator functions,
16717 added getInsetFromID() function.
16719 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16720 changed undo functions for new version.
16722 2001-07-05 Juergen Vigna <jug@sad.it>
16724 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16725 unknow mechanism does not call the proper constructor but only this
16726 one also if I request the other!?
16728 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16730 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16732 * text2.C (LyXText): use initialization lists.
16734 * lyxtext.h (Selection): initialize set_ and mark_
16735 (init): remove method
16737 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16739 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16741 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16743 * screen.[Ch]: change method names to begin with lowercase
16745 * BufferView_pimpl.C (updateScrollbar): simplify further and
16746 hopefully make it a bit faster.
16748 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16750 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16751 calling directly xforms functions.
16753 * Painter.C (Painter):
16754 * lyx_cb.C (MenuWrite):
16755 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16758 * lyx_gui.C: remove bogus guiruntime extern declaration.
16760 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16762 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16764 (redoDrawingOfParagraph): ditto
16765 (redoParagraphs): ditto
16766 (cutSelection): don't create a object for CutAndPaste use the
16767 static method directly
16768 (pasteSelection): ditto
16770 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16773 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16775 * modifications to some other files because of this.
16777 * Makefile.am (lyx_SOURCES): add XFormsView
16779 * XFormsView.[Ch]: new files
16781 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16782 the main window. Move the gui dependent stuff to XFormsView
16784 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16786 * tabular.C (GetCellInset): update cur_cell also in the row/col
16787 version of this function.
16789 * lyxfunc.C: no need to include figure_form.h here.
16795 * lyxvc.C: no need to include forms.h here.
16797 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16799 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16801 * lyxfunc.C (Dispatch):
16803 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16804 constructor argument.
16806 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16808 * paragraph.C (Paragraph): dont't clear, and just set layout.
16809 (makeSameLayout): use params's copy contructor.
16811 * ParagraphParameters.[Ch] (makeSame): delete method
16813 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16815 * Variables.[Ch]: fix indentation, rename set to isSet
16817 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16819 * lyxfunc.C (Dispatch): fix typo
16821 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16823 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16826 * bufferlist.C: include assert.h for emergencyWrite().
16828 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16830 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16831 give up at last (bug #425202) !
16833 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16839 * spellchecker.C: strip spellchecker options and bring up
16840 preferences tab instead
16842 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16844 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16845 the istringstream constructor
16847 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16849 * paragraph.C (getLayout): fix return value
16851 * paragraph.h: do not declare getLayout as inline.
16853 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16855 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16857 * lyxcursor.h (operator<): new func
16858 (operator>): new func
16859 (operator>=): new func
16860 (operator<=): new func
16862 * text.C (changeCase): use selection.start and selection.end
16863 (changeRegionCase): require from to be <= to. Require par to be a
16866 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16868 2001-06-27 Juergen Vigna <jug@sad.it>
16870 * text.C (cursorLeftOneWord): changed to return the cursor and added
16871 overlay with BufferView * parameter which calls this one.
16873 (selectWord): use new getWord function.
16874 (changeCase): renamed from changeWordCase as and extended to work
16875 also on selections.
16877 * lyxtext.h: added enum word_location
16879 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16880 changeCase as this operates now also on selections.
16882 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16884 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16886 * many files: send debug output to Debug::INFO instead of
16889 * converter.C (View):
16891 (Move): send debug output to Debug::FILES instead of console.
16893 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16895 * lyxfunc.C (getStatus): use func_status
16897 * func_status.h: new header, describing the results of
16898 LyXFunc::getStatus;
16900 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16903 2001-06-25 The LyX Project <jug@sad.it>
16905 * buffer.C (sgmlOpenTag):
16907 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16909 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16911 * text2.C: remove some dead code
16913 * tabular.C (GetCellInset): store the last cell checked (gotten)
16915 * tabular.h: add the helper for the speedup
16917 * lyxtext.h: remove some dead code
16919 2001-06-26 The LyX Project <Asger>
16921 * paragraph.C: Change export to LaTeX of alignment to
16922 \begin{center} and family for better roundtrip work with reLyX.
16924 * Tune the math drawing a bit.
16926 2001-06-25 The LyX Project <Asger>
16928 * LColor.C (LColor): New color for math background. New color
16931 2001-06-25 The LyX Project <jug@sad.it>
16933 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16935 * lyxfunc.C (Open):
16936 * bufferlist.C (newFile): do not restrict to files ending with
16939 * BufferView_pimpl.C (MenuInsertLyXFile):
16941 2001-06-24 The LyX Project <jug@sad.it>
16943 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16946 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16948 * lyxtext.h: rename most methods to begin with a small char.
16949 Lots of changes because of this.
16951 * paragraph.C (Paragraph): do not call fitToSize
16952 (erase): call Pimpl::erase
16953 (insertChar): call Pimpl::insertChar
16954 (insertInset): call Pipl::insertInset
16955 (breakParagraph): do not call fitToSize
16956 (breakParagraphConservative): do not call fitToSize
16957 (fitToSize): remove method
16959 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16961 2001-06-24 The LyX Project <Asger>
16963 * Fix Qt compilation^2
16965 2001-06-24 The LyX Project <jug@sad.it>
16967 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16968 depthHook(getDepth()-1).
16971 * ParagraphParameters.h:
16972 * ParameterStruct.h: change type of depth to unsigned int ==
16973 depth_type. Many adaptations to other files before of that.
16975 2001-06-24 The LyX Project <Asger>
16977 * Fix Qt compilation.
16979 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16981 * paragraph.h: renamed several methods to begin with small letter.
16982 several changes to many parts of the code because of this.
16984 2001-06-23 The LyX Project <jug@sad.it>
16986 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16987 rewritten to discard all double spaces when KeepEmpty is off
16988 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16989 to only handle newlines but not fiddle with spaces and friends.
16991 * lyxfunc.C (MenuNew): when doing 'new from template', use
16992 template_path as default directory
16994 2001-06-23 The LyX Project <Asger>
16996 * Clean-up of header file includes all over
16997 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16999 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17001 * paragraph.h: renamed from lyxparagraph.h
17003 2001-06-23 Asger <lyx@violet.home.sad.it>
17005 * Buffer.h: Removed Buffer::resize
17006 * BufferList.h: Removed BufferList::resize
17007 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17008 the document lazily when we change the width, or the font settings.
17010 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17012 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17014 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17016 * buffer.h: remove out of date comment
17018 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17021 * screen.C: fix "theoretical" GC leak
17023 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17025 * LaTeX.C (scanAuxFile):
17026 (deplog): remove trailing \r when reading stream (useful under
17029 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17031 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17032 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17033 and BufferView::theLockingInset(Inset*), so should use them and not
17034 access bv_->text->the_locking_inset directly.
17036 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17038 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17041 * tex-defs.h: remove old unused file
17043 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17045 * BufferView_pimpl.C: fix typo, remove minibuffer message
17046 when buffer has loaded
17048 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17050 * lyxfunc.C (Dispatch): use stringstream
17051 (MenuNew): use stringstream
17052 (Open): use stringstream
17054 * importer.C (Import): use stringstream
17056 * bufferview_funcs.C (CurrentState): use stringstream
17058 * LaTeX.C (run): use stringstream
17060 * BufferView_pimpl.C (savePosition): use stringstream
17061 (restorePosition): use stringstream
17062 (MenuInsertLyXFile): use stringstream
17064 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17077 * vspace.C: removed // -*- C++ -*- as first line.
17080 * version.h: added // -*- C++ -*- as first line.
17082 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17084 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17086 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17089 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17091 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17094 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17096 * gettext.C: include LString.h even when --disable-nls is on.
17098 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17100 * converter.h (Get): changed argument type from int to
17101 FormatList::size_type to avoid unnecessary conversion.
17103 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17106 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17108 * gettext.h: include LString.h even when --disable-nls is on.
17110 2001-06-07 Juergen Vigna <jug@sad.it>
17112 * text.C (BreakAgain): subst spaces with tabs.
17114 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17115 (resizeInsetsLyXText): set force on resizeLyXText.
17117 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17119 * gettext.h (gettext_init):
17120 (locale_init): use a real definition instead of a macro
17122 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17124 * Bufferview_pimpl.C:
17126 * LColor.C: further lcolor tidies
17128 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17130 * BufferView_pimpl.C (updateScrollbar): simplify.
17132 * BufferView2.C: don't include insets/insetinfo.h, change
17133 prototype for insertInset and call the Pimpl version. let
17134 updateInset call Pimpl version.
17136 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17137 gotoInset to BufferView::Pimpl
17139 2001-06-01 Juergen Vigna <jug@sad.it>
17141 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17142 inside a LockingInset (is the update needed at all?).
17144 2001-05-31 Juergen Vigna <jug@sad.it>
17146 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17147 here not the old one otherwise how should we compare it afterwards
17150 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17155 * FontInfo.C: bring C functions into global namespace when
17158 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17160 * LString.h: make sure config.h has been loaded before LString.h.
17162 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17163 (one for each char read by EatLine!).
17165 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17168 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17170 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17171 to the same as the par we break from
17173 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17175 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17177 * MenuBackend.C (expand): also create menu entries for wide
17178 versions of the floats.
17180 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17182 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17184 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17185 frontends/Makefile.am
17191 * tabular.C (getTokenValue): add std::
17193 * tabular-old.C (getTokenValue): add std::
17194 (getTokenValue): ditto
17195 (getTokenValue): ditto
17197 * screen.C (ToggleSelection): adjust
17199 * lyxtext.h: put selection cursors inside a Selection struct.
17201 * lyxfunc.C (moveCursorUpdate): adjust
17203 * lyxfont.C (latexWriteStartChanges): add std::
17205 * lyxfind.C: adjust
17207 * font.h: delete with(char const *, LyXFont const &)
17209 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17211 * FontInfo.C (getFontname): add std::
17213 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17214 (workAreaButtonPress): adjust
17215 (tripleClick): adjust
17217 (moveCursorUpdate): adjust
17220 * BufferView2.C (gotoInset): adjust
17222 2001-05-30 Juergen Vigna <jug@sad.it>
17224 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17225 to check pspell I add this as default as I now have new pspell
17226 libraries and they seem to use this.
17228 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17230 * text2.C (CutSelection): make the cursor valid before the call to
17233 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17235 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17236 relied on 0 terminated strings and other horrors. Bug found due to
17237 the new assert in lyxstring!
17239 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17242 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17244 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17247 * lyxfunc.C (processKeySym): change method of getting to the
17250 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17251 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17252 * BufferView_pimpl.[Ch]: here as private methods.
17254 2001-05-28 Juergen Vigna <jug@sad.it>
17256 * text.C (SetHeightOfRow): added the update() call again as it is
17257 needed to initialize inset dimensions!
17259 2001-05-16 Juergen Vigna <jug@sad.it>
17261 * text2.C (SetCharFont): Add new function with BufferView * and
17262 bool toggleall parameters for setting insets internal fonts.
17263 (SetFont): Freeze the undo as we may change fonts in Insets and
17264 all this change should be inside only one Undo!
17266 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17267 setting font's in insets as for them we have the SetFont function!
17269 2001-05-15 Juergen Vigna <jug@sad.it>
17271 * text2.C (ClearSelection): to be sure we REALLY don't have any
17274 * tabular.C (TeXCellPreamble): fixed the left border problem for
17277 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17279 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17282 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17284 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17285 LFUN_BREAKPARAGRAPH.
17287 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17288 help test to "internal only", similar for LFUN_INSERT_URL
17290 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17291 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17292 auto_region_delete and deadkeys.
17294 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17297 * LColor.C: remove some dead entries, tidy a little
17299 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17301 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17303 (Dispatch): implement LFUN_ESCAPE
17305 * commandtags.h: add LFUN_ESCAPE
17307 * LyXAction.C (init): add entry for LFUN_ESCAPE
17309 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17310 Remove commented code.
17311 (insertNote): moved here
17312 (open_new_inset): moved here
17314 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17317 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17319 * kbmap.C (findbinding): clean it up and make it work correctly.
17321 * lyx_main.C (init): do not pass argc and argv as parameters
17323 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17325 * buffer.C: fix path for OS/2 & Win32
17329 * lyx_main.C: Added os:: class.
17331 * os2_defines.h: update
17333 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17335 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17336 better by trying again with reduced state.
17338 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17340 * lyxrc.C (read): print error about invalid key sequence only when
17341 debugging (because not all latinX keysyms are known to some X
17344 * kbsequence.C (getiso): add a few std:: qualifiers
17345 (getiso): comment out extra return statement.
17347 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17349 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17351 (Dispatch): enhance the accent inset a bit. (not perfect)
17353 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17355 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17357 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17359 * bufferlist.C (emergencyWrite): fix assert() call
17361 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17363 * text.C (InsertChar): Added trivial patch to only send the "you
17364 can not do multiple spaces this way" message once during a
17367 2001-05-08 Baruch Even <baruch@lyx.org>
17369 * Makefile.am: Changed order of libraries to get LyX to link properly
17370 with the gnome frontend.
17372 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17374 * LaTeXFeatures.h: add a std:: qualifier
17376 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17378 * paragraph.C (String): use stringstream
17380 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17382 * paragraph.C (writeFile): remove footflag arg
17384 * buffer.C (makeLaTeXFile): use stringstream
17385 (latexParagraphs): remove footnot gurba
17387 * LaTeXFeatures.C (getPackages): use stringstream
17388 (getMacros): likewise
17389 (getTClassPreamble): likewise
17390 (getFloatDefinitions): new method
17392 * paragraph.C (writeFile): reindent
17395 * WorkArea.h: revert the xpos + etc changes.
17397 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17399 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17401 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17402 (pasteSelection): likewise
17403 * text2.C (CreateUndo): likewise
17405 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17407 * minibuffer.C (peek_event): temporarily reduce the functionality
17408 of the minibuffer (to allow args on lfuns)
17410 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17411 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17413 * buffer.C (readInset): add compability reading of old float
17414 lists, add reading of new style float list.
17415 (readInset): avoid reevaluation of inscmd.getCmdName()
17416 (getLists): reindent
17418 * MenuBackend.C (MenuItem): implement parsing of
17419 md_floatlistinsert and md_floatinsert.
17420 (expand::LastFiles): move initalizaton of iterators out of loop,
17421 avoid reevaluation.
17422 (expand::Documents): introduce typdedef vector<string> Strings,
17424 (expand::ExportFormats): introduce typedef vector<Format const *>
17425 Formats, and use it.
17426 (expand): implement FloatListInsert and FloatInsert.
17428 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17429 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17430 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17432 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17434 (Dispatch::LFUN_FLOAT_LIST): implement
17436 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17438 * LaTeX.C (run): Fix problem with --export code.
17440 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17442 * BufferView.[Ch] (workarea): removed.
17443 (getClipboard) new method; wrapper for workarea()->getClipboard()
17445 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17448 * WorkArea.h (width, height, xpos, ypos): These methods all
17449 returned the dimensions of the work_area sub-area of WorkArea,
17450 resulting in a position error if the WorkArea were resized. Now
17451 return the dimensions of the entire WorkArea.
17453 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17455 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17457 * LaTeX.C (deplog): correct the syntax of regex reg1
17459 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17461 * undo.C: remove !NEW_INSETS cruft
17463 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17465 * text2.C: remove !NEW_INSETS cruft
17467 * text.C: remove !NEW_INSETS cruft
17469 * tabular.C: remove !NEW_INSETS cruft
17471 * spellchecker.C: remove !NEW_INSETS cruft
17473 * lyxtext.h: remove !NEW_INSETS cruft
17475 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17477 * lyxfunc.C: remove !NEW_INSETS cruft
17479 * lyxfind.C: remove !NEW_INSETS cruft
17481 * lyx_cb.C: remove !NEW_INSETS cruft
17483 * figureForm.C: remove !NEW_INSETS cruft
17485 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17487 * buffer.[Ch]: remove !NEW_INSETS cruft
17489 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17491 * CutAndPaste.C: remove !NEW_INSETS cruft
17493 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17495 * BufferView2.C: remove !NEW_INSETS cruft
17497 * BufferView.h: remove !NEW_INSETS cruft
17499 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17501 * Lsstream.h: include LString.h before the sstream headers to
17502 fix problem with gcc 2.95.3 and lyxstring
17504 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17506 * lyx_main.C: add using directives when needed for C functions
17507 declared in std:: namespace.
17509 2001-04-27 Juergen Vigna <jug@sad.it>
17511 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17512 (SetHeightOfRow): comment out the update call should not be needed!
17514 2001-04-13 Juergen Vigna <jug@sad.it>
17516 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17517 (LyXTabular): tried to minimize operator= operations (and realized
17518 hopfully Lars wish).
17520 2001-04-27 Juergen Vigna <jug@sad.it>
17522 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17524 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17526 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17528 * buffer.C (readInset): hack to make listof algorithm work
17530 * BufferView_pimpl.C: hack to make listof algorithm work
17532 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17534 * LyXAction.C: removed all !NEW_INSETS cruft
17535 (init): moved lfun_item in method
17537 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17539 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17541 * BufferView2.C (theLockingInset): white space.
17543 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17545 * minibuffer.C: include <iostream>
17547 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17549 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17551 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17553 * text.[Ch] (TransposeChars): new method
17555 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17557 * call message directly through LyXView instead of through LyXFunc
17558 * BufferView2.C: adjust
17559 * BufferView_pimpl.C: adjust
17560 * FontLoader.C: adjust
17562 * bufferview_funcs.C: adjust
17563 * converter.C: adjust
17564 * figureForm.C: adjust
17565 * importer.C: adjust
17567 * lyx_gui_misc.C: adjust
17568 * lyxfunc.C: adjust
17571 + more files in subdirs
17573 * lyxparagraph.h (size): move up int file
17576 * adjust all uses of Assert to lyx::Assert.
17578 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17579 lyxfunctional in namespace lyx
17580 * layout.C (hasLayout): ditto
17583 (delete_layout): ditto
17584 (NumberOfClass): ditto
17585 * converter.C (GetFormat): ditto
17590 * bufferlist.C (getFileNames): ditto
17591 (emergencyWriteAll): ditto
17594 * MenuBackend.C (hasSubmenu): ditto
17597 * BufferView_pimpl.C (getInsetByCode): ditto
17599 2001-04-18 Juergen Vigna <jug@sad.it>
17601 * vspace.C (asLatexString): fixed the 100% problem.
17603 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17605 * lyxfunc.C (Dispatch):
17607 * minibuffer.h: add a few std:: qualifiers
17609 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17611 * minibuffer.[Ch]: reimplement so that commands is initiated and
17612 run from lyxfunc, simplified som handling, and made the completion
17613 and history code for complete. wip.
17615 * lyxfunc.C (processKeySym): call message
17616 (miniDispatch): new temporary method
17617 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17618 (LFUN_MESSAGE): implement
17619 (LFUN_MESSAGE_PUSH): implement
17620 (LFUN_MESSAGE_POP): implement
17621 (initMiniBuffer): the initial/defualt minibuffer message.
17623 * lyxfont.[Ch]: inline some more getters
17625 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17627 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17629 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17630 (AutoSave): use LFUN_MESSAGE
17631 (Reconfigure): ditto
17633 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17635 * figureForm.C: use LFUN_MESSAGE
17637 * converter.C (runLaTeX): use LFUN_MESSAGE
17639 * bufferview_funcs.C: use LFUN_MESSAGE
17641 (changeDepth): ditto
17643 * bufferparams.h: use boost::
17645 * bufferlist.h: inherit privately from noncopyable
17647 * bufferlist.C (loadLyXFile): remove some commented code.
17649 * buffer.C (runChktex): use LFUN_MESSAGE
17651 * ShareContainer.h: inherit privately from noncopyable
17653 * ParagraphParameters.[hC] (depth): inline it.
17655 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17657 (message): new method
17658 (messagePush): ditto
17659 (messagePop): ditto
17660 (show): init minibuffer
17661 (showState): direct call
17663 * LaTeX.[Ch]: inherit privately from noncopyable
17664 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17665 instead of WriteStatus.
17667 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17669 * BufferView_pimpl.C (buffer): don't init minibuffer
17670 (workAreaButtonPress): use LFUN_MESSAGE
17671 (workAreaButtonRelease): ditto
17672 (savePosition): ditto
17673 (restorePosition): ditto
17674 (MenuInsertLyXFile): ditto
17675 (workAreaExpose): don't init minibuffer
17676 (update): remove commented code, simplify
17678 * BufferView2.C (openStuff): use LFUN_MESSAGE
17679 (toggleFloat): ditto
17682 (copyEnvironment): ditto
17683 (pasteEnvironment): ditto
17688 (updateInset): remove some commented code
17690 * lastfiles.h: inherit privately from noncopyable
17693 * lyx_main.h: ditto
17695 * lyxlex_pimpl.h: ditto
17697 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17698 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17699 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17701 * LyXAction.h: inherit privately from noncopyable, add methods
17702 func_begin, func_end, returning iterators to the func map.
17704 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17705 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17706 (func_begin): new method
17707 (func_end): new method
17709 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17711 (copySelection): ditto
17712 (pasteSelection): ditto
17714 * BufferView.C: whitespace change
17715 * BufferView.h: inherit privately from noncopyable
17717 2001-04-16 Allan Rae <rae@lyx.org>
17719 * tabular-old.C (l_getline):
17720 * spellchecker.C (sc_check_word):
17721 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17722 an unrecognised preprocessor directive. So ensure they're wrapped.
17724 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17726 * src/exporter.C (Export): Give an error message when path to file
17729 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17731 * LaTeX.C (deplog): Always check that foundfile exists.
17733 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17736 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17738 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17740 * tabular.[Ch] (getLabelList): implement new method
17742 * minibuffer.h: comment ouf setTiimer
17744 * minibuffer.C (ExecutingCB): constify res
17745 (peek_event): constify s
17746 (Set): constify ntext
17747 (Init): constify nicename
17749 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17751 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17752 (savePosition): use two params to Minibuffer::Set
17753 (restorePosition): ditto
17755 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17757 * lyx_main.C: include language.h
17759 * Makefile.am (lyx_main.o): add language.h
17761 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17767 * CutAndPaste.C: include gettext.h
17769 * lyxfont.h: remove old hack with ON and OFF.
17772 * lyxfont.h: do not include language.h...
17777 * bufferview_funcs.C:
17783 * paragraph.C: ... but do it here instead
17785 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17787 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17789 * tabular.C: small reformat
17791 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17794 (BreakParagraph): ditto
17795 (SetOnlyLayout): ditto
17798 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17801 * lastfiles.C: removed most using decl, add std:: where needed
17803 * buffer.C: ws changes
17805 * MenuBackend.C (class compare_format): put into anon namespace
17806 (expand): constify label, names, action, action2
17809 * text.C (SingleWidth): constify font
17810 (IsBoundary): constify rtl2
17811 (GetVisibleRow): constify ww
17813 * LaTeX.C (deplog): constify logfile
17815 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17817 (workAreaExpose): constify widthChange, heightChange
17819 * lyxrow.C (par): moved
17822 * lyxrow.h: as inlines here
17824 * lyxfont.h (shape): moved from lyxfont.C
17825 (emph): moved from lyxfont.C
17827 * lyxfont.C (LyXFont): use initialization list for all
17829 (shape): move to lyxfont.h as inline
17830 (emph): move to lyxfont.h as inline
17833 2001-04-04 Juergen Vigna <jug@sad.it>
17835 * vspace.C: had to include stdio.h for use of sscanf
17837 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17840 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17841 independent of xforms.
17843 2001-04-02 Juergen Vigna <jug@sad.it>
17845 * spellchecker.C: fixed namespace placing!
17847 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17849 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17850 the LyXParagraph * is 0.
17852 2001-03-29 Juergen Vigna <jug@sad.it>
17854 * vspace.C: added support for %, c%, p%, l%.
17855 (stringFromUnit): added helper function.
17856 (asLatexString): changed to give right results for the %-values.
17858 * buffer.C: convert the widthp in a width%.
17860 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17862 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17865 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17866 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17868 * lyx_cb.[Ch]: see above.
17870 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17874 * lyx.[Ch]: replaced by figure_form.[Ch].
17878 * lyxfunc.C: changed headers associated with above changes.
17880 2001-03-27 Juergen Vigna <jug@sad.it>
17882 * BufferView_pimpl.C: set the temporary cursor right!
17884 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17886 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17888 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17890 * LString.h: removed "using std::getline"!
17892 * BufferView_pimpl.C (Dispatch): changes due to changes in
17893 InsetInclude::Params.
17895 * buffer.C (tag_name): removed redundant break statements as they were
17896 producing lots of warnings with my compiler.
17898 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17900 * LString.h: add "using std::getline" when using the real <string>.
17902 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17904 * buffer.C: removed bitset usage.
17905 PAR_TAG moved to an anonymous name space.
17906 (tag_name): new funtion, also in the anonymous namespace.
17907 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17908 (makeDocBookFile): clean code. Completed transition from string arrays
17910 (SimpleDocBookOnePar): code clean.
17912 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17914 * tabular.C: add some comments.
17916 2001-03-22 Juergen Vigna <jug@sad.it>
17918 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17919 compatibility read a bit and fixed bug with minipage in different
17922 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17924 * buffer.C (pop_tag): removed.
17925 (push_tag): removed.
17926 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17927 array replaced with vector. Added support for CDATA sections.
17928 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17930 (makeDocBookFile): XML conformant declaration of CDATA section,
17931 fixed bug related to <emphasis> in the first paragraph char.
17932 (sgmlOpenTag): exclude empty tags.
17933 (sgmlCloseTag): ditto.
17935 * buffer.h (pop_tag): removed.
17936 (push_tag): removed.
17938 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17940 * language.h (Languages): added size_type and size().
17942 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17944 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17945 response on compability reading of minipages. One probliem is that
17946 the old usage of minipages was flertydig
17948 * several files here and in subdirs: don't use static at file
17949 scope use anon namespaces instead.
17951 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17953 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17954 LaTeX output. This is necessary for Literate document
17957 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17959 * buffer.C: insert hfill when needed.
17961 * tabular.C (l_getline): use string::erase, small whitespace change.
17963 * BufferView_pimpl.C: try the anon namespace.
17964 * WorkArea.C: ditto
17966 2001-03-16 Juergen Vigna <jug@sad.it>
17968 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17969 otherwise it won't open options-dialogs.
17971 * buffer.C: honor pextraWidth(p) on converting minipages.
17973 * tabular.C (l_getline): changed the functions to strip trailing \r.
17975 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17977 * BufferView_pimpl.C:
17978 * minibuffer..C: added "using SigC::slot" declaration.
17980 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17982 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17988 * paragraph.C: ditto
17990 * lyxtext.h: NO_PEXTRA
17992 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17994 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17995 * ParameterStruct.h: ditto
17996 * ParagraphParameters.h: ditto
17997 * lyxparagraph.h: ditto
17999 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18001 * buffer.C: add compability for minipage alignment.
18002 (latexParagraphs): remove unwanted pextra check.
18004 * several files: remove CXX_WORKING_NAMESPACES
18006 * buffer.C (pop_tag): tie is in namespace boost
18008 * BufferView.h: noncopyable is in namespace boost
18010 * lyx_main.h: ditto
18013 * lastfiles.h: ditto
18014 * bufferlist.h: ditto
18015 * ShareContainer.h: ditto
18017 * LyXAction.h: ditto
18020 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18022 * Merging changes from BRANCH_MVC back into HEAD.
18024 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18026 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18028 * BufferView_pimpl.C: change from intl.C
18032 * Makefile.am: move combox.*
18038 * intl.C: remove dialog (covered by prefs)
18040 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18042 * lyxfunc.C (Dispatch): removed redundant break statement.
18044 2001-03-14 Juergen Vigna <jug@sad.it>
18046 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18048 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18050 * buffer.C: add hack to fix compability reading of minipages.
18052 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18054 * buffer.C (getLists): Cleanup.
18056 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18058 * lyxfont.C (update): don't honor toggleall on font size.
18060 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18064 * Makefile.am: moved to frontends/xforms/
18068 * BufferView_pimpl.C: changes for moved mathpanel
18070 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18072 * gettext.h: fix gettext_init() in --disable-nls
18074 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18076 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18078 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18081 * lyx.h: strip external form
18083 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18085 * BufferView_pimpl.C: add comment, destroySplash()
18087 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18089 * BufferView_pimpl.C:
18093 * lyxfunc.C: use re-worked insetinclude
18095 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18097 * buffer.C: add using std::stringstream.
18099 * lyx_cb.C: readd using std::ios.
18101 * buffer.C: add using std::map.
18103 * BufferView_pimpl.C: add using std::vector.
18105 * ShareContainer.h: add std:: to swap.
18107 * buffer.h: add some typedefs
18108 * buffer.C (getLists): use them
18109 (getLists): renamed from getTocList.
18110 add a counter for the different float types and use it in the
18112 (getLists): use the same counter for the NEW_INSETS and the "non"
18115 * lyx_cb.h: remove unused items, includes, using etc.
18117 * ShareContainer.h: remove some commented code, add more comments
18118 and "documentation".
18120 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18122 * buffer.C (getTocList): make the list also when NEW_INSETS is
18125 * buffer.h: remove TocType
18127 * buffer.C (getTocList): change to return a map<string,
18128 vector<TocItem> >, implement for dynamic number of list.
18130 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18131 * text2.C (PasteSelection): adjust
18132 * CutAndPaste.C (pasteSelection): adjust
18134 * FloatList.C (FloatList): update from the new_insets branch.
18135 * Floating.[Ch]: ditto
18136 * LaTeXFeatures.C: ditto
18138 * lyxlex_pimpl.C: ditto
18140 * paragraph.C (Last): remove when NEW_INSETS is defined.
18142 * other file: changes because of the above.
18144 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18146 * lyxparagraph.h: rename next to next_, previous to previous_,
18147 make them private for NEW_INSETS. Rename Next() to next(),
18148 Previous() to previous().
18150 * other files: changes because of the above.
18152 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18155 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18158 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18160 * main.C (main): pass lyx_localedir to gettext_init().
18162 * gettext.h: remove locale_init and gettext_init macros
18164 * gettext.C (locale_init): new function
18165 (gettext_init): new function
18167 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18170 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18172 * Moved credits to frontends:
18173 * credits.[Ch]: removed
18174 * credits_form.[Ch]: removed
18175 * lyx_gui_misc.C: remove credits stuff
18178 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18180 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18182 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18183 unneeded destructor.
18185 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18186 a standalone pointer again.
18188 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18190 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18196 * ToolbarDefaults.C:
18205 * BufferView_pimpl.C: use new file dialog in GUII
18208 * lyx_cb.C: remove LayoutsCB to Toolbar
18210 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18212 * ShareContainer.h (get): add std:: qualifier
18214 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18216 * ShareContainer.h: define a proper ShareContainer::value_type
18217 type (and use typename to please compaq cxx)
18219 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18221 * lyxparagraph.h: move serveral local vars to
18222 ParameterStruct/ParagraphParameters., use ShareContainer in
18223 FontTable., make vars in FontTable private and add getter and
18226 * paragraph.C: changes because of the above.
18228 * lyxfont.h: remove copy constructor and copy assignment. (the
18229 default ones is ok), move number inside FontBits. move inlines to
18232 * lyxfont.C: add number to initializaton of statics, move several
18233 inlines here. constify several local vars. some whitespace
18234 cleanup. Dont hide outerscope variables.
18236 * Spacing.h: add two new constructors to match the set methods.
18238 * ShareContainer.h: new file, will perhaps be moved to support
18240 * ParameterStruct.h: new file
18242 * ParagraphParameters.h: new file
18244 * ParagraphParameters.C: new file
18246 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18247 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18249 * BufferView_pimpl.C: ParagraphParameter changes.
18250 * buffer.C: Likewise.
18251 * bufferview_funcs.C: Likewise.
18252 * text.C: Likewise.
18253 * text2.C: Likewise.
18255 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18257 * lyxfind.C (LyXReplace): do not redefine default argument in
18259 (IsStringInText): ditto
18260 (SearchForward): ditto
18261 (SearchBackward): ditto
18263 2001-03-06 Juergen Vigna <jug@sad.it>
18265 * lyxfind.C (IsStringInText): put parentes around expressions.
18267 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18269 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18271 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18273 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18275 * stl_string_fwd.h: add comment
18277 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18280 * tabular.C: remove unused DocBook methods
18286 killed DO_USE_DEFAULT_LANGUAGE
18288 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18290 * lyx_gui.C: do not include language.h.
18292 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18293 arguments in function implementation.
18295 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18297 * BufferView_pimpl.C: add <ctime>
18299 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18301 * BufferView_pimpl.C: add using std::find_if
18303 2001-02-27 José Matos <jamatos@fep.up.pt>
18305 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18308 2001-02-11 José Matos <jamatos@fep.up.pt>
18310 * buffer.C (makeDocBookFile): command styles now have a parameter as
18311 "title" by default.
18313 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18315 * layout_forms.[Ch]: removed
18316 * lyx_cb.[Ch]: out character
18317 * lyx_gui.C: out character
18318 * lyx_gui_misc.C: out character
18319 * bufferview_funcs.C: : out character,
18320 added toggleall as parameter in ToggleAndShow
18322 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18324 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18326 * text2.C (SetCurrentFont): Disable number property at boundary.
18328 2001-02-26 Juergen Vigna <jug@sad.it>
18330 * lyxfunc.C (getStatus): added a string argument override function so
18331 that this is correctly called from LyXFunc::Dispatch if it contains a
18332 do_not_use_argument which is used!
18333 (Dispatch): added check for "custom" export and call appropriate func.
18335 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18337 * lyxrc.C: Add language_command_local, language_use_babel and
18338 language_global_options.
18340 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18342 * buffer.C (makeLaTeXFile): Use language_use_babel and
18343 language_global_options.
18345 2001-02-23 Juergen Vigna <jug@sad.it>
18347 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18348 which works with LyXText and putted it inside BufferView. Here now we
18349 only call for that part the BufferView::Dispatch() function.
18351 * BufferView.C (Dispatch): added.
18353 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18354 functions which needs to use a LyXText over from LyXFunc.
18355 (MenuInsertLyXFile): added
18356 (getInsetByCode): added
18357 (moveCursorUpdate): added
18358 (static TEXT): added
18360 2001-02-22 Juergen Vigna <jug@sad.it>
18362 * BufferView_pimpl.C (update): call a status update to see if LyXText
18365 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18367 * vc-backend.C (revert): implement for CVS
18368 (getLog): implement for CVS
18370 2001-02-20 Juergen Vigna <jug@sad.it>
18372 * text2.C (ClearSelection): added BufferView param for inset_owner call
18374 * lyxfunc.C (TEXT): added this function and use it instead of
18375 directly owner->view()-text of getLyXText().
18377 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18379 * src/layout_forms.C: out preamble
18380 * src/layout_forms.h: out preamble
18381 * src/lyx_cb.C: out preamble
18382 * src/lyx_cb.h: out preamble
18383 * src/lyx_gui.C: out preamble
18384 * src/lyx_gui_misc.C: out preamble
18385 * src/lyxfunc.C: connect with guii preamble
18387 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18389 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18391 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18393 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18394 whether to run bibtex.
18396 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18398 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18400 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18402 * Makefile.am (lyx_SOURCES): removed bibforms.h
18404 * vspace.h: doxygen
18406 * text.C (GetVisibleRow): make several local vars const
18408 * tabular.C: small cleanup.
18410 * lyxserver.C (callback): use compare instead of strncmp
18412 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18413 inlines to after class or to paragraph.C
18415 * lyxfont.h: remove friend operator!=
18417 * converter.h: move friend bool operator< to non friend and after
18420 * combox.h: small cleanup
18422 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18423 to inlines after class def.
18425 * buffer.C (pop_tag): use string operations instead of strcmp
18427 * bmtable.c: doxygen, small cleanup
18429 * LaTeX.h: remove friend operator==
18431 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18443 * BufferView_pimpl.C:
18444 * BufferView.[Ch]: remove cruft
18446 2001-02-14 Juergen Vigna <jug@sad.it>
18448 * lyxfunc.C: removed #if 0 unused code
18450 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18452 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18454 * text2.C (SetSelection): added a BufferView * parameter
18456 2001-02-13 Juergen Vigna <jug@sad.it>
18458 * lyxfunc.C (Dispatch): fixed protected blank problem.
18459 * BufferView2.C (protectedBlank): added LyxText * parameter.
18461 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18462 (AppendColumn): same as above for column_info.
18464 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18465 (moveCursorUpdate): use a LyXText param for support of InsetText.
18467 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18468 (tripleClick): ditto
18470 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18472 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18474 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18476 * text2.C (SetSelection): set correct update status if inset_owner
18477 (ToggleFree): ditto
18479 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18481 * tabular.C: remove some commented code.
18483 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18485 * BufferView_pimpl.C: call hideSplash()
18487 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18490 * bibforms.h: remove
18493 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18494 add LFUN_CHILD_CREATE
18496 * counters.h: fix tiny typo
18501 * lyx.C: move splash to frontends/xforms/
18503 * lyx_gui_misc.C: move Include and Bibform to frontends
18505 * lyxvc.h: clarify comment
18507 * vspace.C: tiny housekeeping
18509 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18511 * text.C (PrepareToPrint): RTL Fix.
18513 * paragraph.C (GetUChar): New method.
18514 (String): Use GetUChar.
18516 * buffer.C (asciiParagraph): Use GetUChar.
18518 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18520 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18522 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18525 * buffer.C: rename to getLogName(), handle
18526 build log / latex log nicely
18528 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18531 * MenuBackend.h: remove support for reference menuitem type.
18533 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18535 * BufferView_pimpl.C: housekeeping
18536 * BufferView_pimpl.h:
18541 * minibuffer.h: move Timeout GUI-I
18543 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18545 * lyxrc.C (read): Update converters data-structures.
18547 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18549 * LaTeX.h (operator!=): add operator != for Aux_Info
18551 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18553 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18555 * LaTeXLog.C: deleted, useful code moved to Buffer
18558 * buffer.C: new function getLatexLogName()
18564 * lyxfunc.C: use frontends for LaTeX and VC logs
18566 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18568 * LaTeX.h: yet another std:: that Allan forgot.
18570 * Variables.C (set): renamed from isset(), because this clashes
18571 with some HP-UX macros (grr).
18573 2001-02-06 Allan Rae <rae@lyx.org>
18575 * LaTeX.h: Another bug fix. Missing std:: this time.
18577 2001-02-04 Allan Rae <rae@lyx.org>
18579 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18580 floats problem. I've left it commented out because it's not quite
18581 correct. It should also test that the current object is a table or
18582 figure inset. But I haven't gotten around to figuring out how to do
18583 that. I *think* it'll be something like: "table" == inset.type()
18585 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18588 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18590 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18591 all the citation/databases/styles in the auxilary file.
18592 (run): Rerun latex if there was a babel language error.
18594 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18596 * text.C (Backspace): Preserve the font when changing newline char
18598 (BreakParagraph): If the cursor is before a space, delete the space.
18600 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18602 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18604 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18605 new argument (code).
18606 (ChangeCitationsIfUnique): New method.
18608 * paragraph.C (GetPositionOfInset): Handle bibkey.
18610 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18612 * BufferView_pimpl.h: change type of Position::par_pos to
18613 LyXParagraph::size_type.
18615 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18617 * BufferView_pimpl.C (savePosition, restorePosition): Write
18618 messages to minibuffer.
18620 2001-01-28 José Matos <jamatos@fep.up.pt>
18622 * buffer.C (makeDocBookFile): adds support for document language.
18623 A silly restriction on the name of LatexCommand types where removed.
18624 Added support for CDATA sections, allows to chars unescaped, used
18625 among others in code, to avoid escape < and >.
18627 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18629 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18630 saved positions instrad of a stack. Furthermore, a position is
18631 stored using paragraph id/paragraph position.
18633 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18634 Remove LFUN_REF_BACK.
18636 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18638 * converter.C (dvipdfm_options): New method.
18640 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18642 * vspace.C (isValidLength): Fix for empty input string.
18644 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18646 * LyXAction.C (init): change description of LFUN_FIGURE to
18649 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18651 * LaTeX.C: add using directive
18653 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18655 * MenuBackend.C (expand): Fix the sorting of the formats.
18657 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18659 * lyx_main.C: tiny error message fix
18661 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18663 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18664 calling fl_initialize(). This fixes the problem with ',' as
18665 decimal separator in text files.
18667 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18669 * trans.C (process): Fix the keymap bug.
18671 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18673 * LaTeX.C (scanAuxFiles): New method. Provides support for
18674 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18675 (scanLogFile) Scan for "run BibTeX" messages.
18677 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18678 OT1 font encoding. Also, load the aecompl package if the ae
18681 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18683 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18685 * texrow.C (increasePos): turn two error messages into debug
18688 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18690 * LaTeX.C (scanAux): Handle the \@input macro.
18691 (runBibTeX): Use scanAux().
18693 * language.C (latex_options_): New field.
18695 * LaTeXFeatures.C (getMacros): Add language macros.
18697 * buffer.C (makeLaTeXFile): Small fix.
18699 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18701 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18703 * text2.C: add a using directive.
18705 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18710 * lyxfunc.C: kill LyXBell.
18712 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18714 * text.C (IsBoundary): Remove the error message
18716 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18718 * lyxrc.C (setDefaults): Correct initialization value for
18721 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18723 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18726 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18727 and GotoNextNote().
18729 * src/LyXAction.C: Added reference-next.
18731 * text.C (InsertChar): Use contains instead of strchr.
18733 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18735 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18737 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18738 alignment commands (when needed).
18740 * text.C (InsertChar): Add ':' to number separator chars.