1 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * bufferview_funcs.C (coordOffset): remove the check for
4 collapsed collapsables (fix for bug 2094). This is now done
5 on a more general level (cursor.C).
7 * dociterator.[Ch] (forwardPos): add an optional argument
8 bool "ignorecollapsed" (default false), which lets forwardPos
11 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
12 (fixes bug 2241 and 2094).
14 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
16 * buffer.C: change tracking (dvipost) doesn't require
19 * LaTeXFeatures.C (getPackages): no need for the color
20 option "usenames" (bug 2169).
22 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
23 * buffer_funcs.C: Trivial fix - added {} around
24 the statements to be affected by a if-test. Now
25 label in a minipage in a float looks ok on screen again.
27 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
29 * text2.C: fix bug 2015: on screen fonts in nested environments
32 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
34 * converter.C (convert): handle unknown formats
36 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
38 * cursor.C (goUpDown): comment out some debug messages.
40 * counters.C (newCounter): make error messages more explicit
41 (these appear with some textclasses like beamer)
43 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
46 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
47 have origin set to KEYBOARD. (bug 2221)
49 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
51 * rowpainter.C (isCursorOnRow): do not exclude endpos().
53 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
55 * cursor.C (macroModeClose): returns true if an inset actually got
56 inserted; revert faulty fix to bug 2034.
58 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
60 * tabular.C (getLabelList): remove (not used anymore).
62 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
64 * outputparams.[Ch]: add new flag inComment
66 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
68 * text2.C (deleteEmptyParagraphMechanism): since we delete a
69 paragraph, recordUndo should span two paragraphs (bug 2155).
71 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
73 * rowpainter.C (paintPar): always repaint the row with the
76 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
82 * vspace.h: fix syntax error
84 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
86 * text3.C (dispatch): Force refresh if typing into inset changes its
89 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
94 * rowpainter.C: Speed up rendering by only re-painting rows that
95 have changed. When selection or whole-screen update active, all rows
96 are repainted, as are all rows within insets.
98 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
100 * version.C.in: Use PACKAGE_VERSION instead of VERSION
102 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
104 * tabular.C (toggleFixedWidth): Use default layout of text class
105 instead of hardcoded "Standard"
107 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
109 * lyxfunc.C (dispatch): do not call getStatus again to determine
110 whether a lfun is disabled (bug 2172).
112 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
114 * cursor.C (macroModeClose): set the cursor inside the new math
115 atom if relevant (think \frac{}{}) (bug 2034)
117 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
121 * text3.C (Delete, backspace): force update when merging paragraphs
123 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
125 * BufferView.C (mouseSetCursor): clear the selection properly (bug
128 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
130 * text.C (redoParagraph): honor inset->noFontChange()
131 * rowpainter.C (paintInset): ditto
133 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
135 * lyx_main.C (priv_exec): don't initialize Math on startup
136 (initMath() has been moved to math_hullinset).
138 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
140 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
141 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
142 * paper.h: dispose dead PAPER_PACKAGES enum.
144 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
146 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
149 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
151 * exporter.C (Export): Don't try to copy a file if it does not exist
154 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * text2.C (makeFontEntriesLayoutSpecific): remove.
159 * text.C (insertChar): remove bogus caching of fonts (did not do
162 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
163 ALL_SANE). (bug 2146)
165 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
167 * rowpainter.C (paintFirst): fix centering of
168 LABEL_CENTERED_TOP_ENVIRONMENT.
170 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
172 * BufferView.C (mouseSetCursor): new method. Calls
173 deleteEmptyParagraphMechanism if necessary.
175 * lyxtext.h: make deleteEmptyParagraphMechanism public.
177 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
178 BufferView::mouseSetCursor (bug 2109).
179 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
181 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
183 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
184 do not remove it (this inset behaves differently from the others).
186 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
190 * BufferView_pimpl.C (getStatus): it is only possible to insert a
191 file in a text inset.
193 * buffer.C (readDocument): remove pit argument and code releated
194 to it; set the inset owner correctly (unrelated, but useful).
195 (readFile): get rid of pit argument.
197 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
198 textclass instead of a selection index.
199 (pasteParagraphList): new function.
200 (pasteSelection): make it a wrapper around pasteParagraphList.
202 * BufferView_pimpl.C (MenuInsertLyXFile): use
203 cap::pasteParagraphList to insert a file.
205 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
207 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
209 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
211 * exporter.C: fix typo in text message
213 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
215 * text2.C (setLayout): move recUndo call to other setLayout method
216 * tabular.C (toggleFixedWidth): new, handle cell width changes
217 * tabular.C (setColumnPWidth): move some code from insettabular.C here
218 and use toggleFixedWidth
219 * tabular.C (setMColumnPWidth): ditto
221 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
223 * paragraph.C (asString): use new inset->textString method (fix
226 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
228 * CutAndPaste.C (numberOfSelections): new helper function.
230 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
232 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
233 LyXFunc::getStatus; implement LFUN_PASTE.
235 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
237 * dociterator.[Ch]: new member realInset() that returns the cell
238 for tabulars and the inset for the rest (bug 1952).
239 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
242 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
244 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
246 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
250 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
253 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
255 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
256 line after typing ctrl-enter
258 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
260 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
261 math insets do not return a proper editable() state yet (bug 2124).
263 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
265 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
266 docs containing very large paragraphs.
268 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
270 * cursor.C (selectionBegin, selectionEnd):
271 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
272 cursor at different depths.
274 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
276 * bufferview_funcs.C (coordOffset): do not call cursorPos
277 for collapsed collapsables (fix bug 2094).
279 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
281 * paragraph.C (fontSpan): make sure that the FontSpan does not
282 span across beginOfBody (bug 1947).
284 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
286 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
288 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
290 * messages.C: fix crash and localization on MinGW/Windows platform
292 2005-11-02 Angus Leeming <leeming@lyx.org>
295 * lyxtextclass.C: trivial fixes to some MSVS warnings.
297 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * text3.C (getStatus): re-enable disabled code. (bug 2081)
301 * BranchList.h (empty): constify.
303 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
305 * text3.C (getStatus):
306 * MenuBackend.C (expandBranches): take the branch list from the
307 master document (bug 2092).
309 * MenuBackend.C (expandBranches):
310 * bufferparams.C (writeFile): use BranchList type.
312 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
314 * text3.C (dispatch, getStatus):
315 * LyXAction.C (init):
316 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
318 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
320 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
322 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
324 * text.C (insertChar): do not reset boundary (bug 2061)
326 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * dociterator.C (updateInsets): new method. Updates the inset_
329 cache of all the slices of the iterator.
331 * text2.C (deleteEmptyParagraphMechanism): compare also containing
332 insets when comparing pit/pos; pass the right cursor to
333 recordUndo; when a paragraph has been deleted, compare `old.top()' to
334 the right cursor slice of `cur'; use updateInsets on cur to make
335 sure that the inset caches are correct; general cleanup.
337 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
339 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
340 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
341 containg inset. If this does not work, the same command will be
342 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
344 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
347 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
349 * lyxtextclass.C (Read): convert layout file if the format is wrong
350 * lyxtextclass.C (layout2layout): new, needed for the above
352 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
354 * messages.C: do not forget to include <cerrno>.
356 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
358 * dociterator.h (StableDocIterator): add access to pos().
359 * undo.C (samePar): new method to check if two
360 iterators are in the same paragraph
361 * undo.C (recordUndo): check for samePar instead of cell identity
362 (which includes pos() and is too strict) (fixes bug 2097)
364 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
366 * text.C (setCursorFromCoordinates): return a bool telling whether
369 * text3.C (cursorPrevious): update if needed after
370 setCursorFromCoordinates (when dEPM triggered).
372 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
373 (otherwise the anchor may be completely wrong and make dEPM assert).
375 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
377 * buffer.C: version upgrade to 245.
378 * bufferparams.C: remove \quotes_times (bug 2090).
379 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
380 quotation marks as default.
382 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
384 * CutAndPaste.C (nrOfParagraphs): remove (unused)
385 * CutAndPaste.C (cutSelection): Remove debug message
386 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
387 undo information and only copy if this is a real cut
388 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
390 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
392 * CutAndPaste.C (eraseSelection): prevent cursor corruption
393 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
394 superflous cur.selection() setting
395 * CutAndPaste.[Ch] (grabSelection): take a const cursor
396 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
398 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
400 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
403 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
405 * BufferView_pimpl.C: comment layout change
407 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
411 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
412 by bibliography managers (bug 2071).
414 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
416 * BufferView_pimpl.C (update): choose arguments to update call so
417 that single-par update works most times
418 * text3.C (dispatch): carefully tune updating separately for
419 whole-screen and current-paragraph
420 * rowpainter.C (paintText): 1) replace painting by caching for
421 the two extra paragraphs, because we can;
422 2) suppress greying out of areas below/above drawn area in case of
424 * lyxfunc.C (dispatch): remove superfluous update
425 * LyXAction.[Ch]: introduce SingleParUpdate
427 2005-10-05 Angus Leeming <leeming@lyx.org>
429 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
430 always initialised before use.
432 * text.C (setHeightOfRow): squash warning about comparison
433 of signed and unsigned types.
435 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
437 * text.C (cursorX): two fixes involving RtL text drawing
439 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
441 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
442 items, not only large ones (part of bug 2057)
444 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
446 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
447 argument, use "newcommand".
449 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
451 * cursor.C (setSelection): do not open collapsable insets;
452 the insets do by themselves now (autoopen).
454 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
456 * buffer.C: format is up to 244.
458 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
460 * text.C (redoParagraph): fix calcultation of inset width wrt
461 leftMargin (bug 1957).
463 * text3.C (dispatch): leave inset to the right when hitting ESC
466 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
471 * messages.C: include <boost/current_function.hpp>
473 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
475 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
476 when command is internal. (bug 1941)
478 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * text2.C (cursorRight): do not honor boundary when at the end of
481 a paragraph. (bug 2010 again)
483 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
485 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
487 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
489 * rowpainter.C (paintText): fix RtL space width display bug (2029)
491 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
493 * text2.C (setCursor): remove the unused 'boundary' parameter for
494 the CursorSlice version; adapt the LCursor version.
497 * paragraph_pimpl.C (markErased):
498 * cursor.C (bruteFind2, bruteFond3): fix warnings.
500 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
502 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
503 as is already done for "chapter".
505 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
507 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
508 textclass; do not record undo if nothing is changed.
510 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
512 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
514 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
516 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
518 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
520 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
521 combox, it is necessary to search for the topmost paragraph in the
522 cursor stack (bug 1926)
524 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
526 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
527 end of paragraph. (bug 2010)
529 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
531 * text.C (leftMargin): check for inInset == 0
533 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
535 * text.C (leftMargin): test for insetbase's new neverIndent()
536 bool instead of listing each and every inset that does not
537 wish par indendation.
539 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
541 * buffer_funcs.C (setCounter): put the code to compute enum label
542 here (where it belongs).
544 * counters.C (enumLabel): move code to buffer_funcs.C.
546 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
548 * outputparams.[Ch]: store local_font instead of local_language
549 * paragraph.C (simpleTeXOnePar): adapt to the change above
551 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
554 * counters.[Ch]: clean up special code for Hebrew.
556 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
558 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
561 2005-09-08 Angus Leeming <leeming@lyx.org>
564 * lyxrc.C: correct grammar describing invocation of the
567 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
569 * text.C (read): remove unused variable.
570 (readParToken): remove static Change variable (never good in
571 recursive settings...); add it as a parameter instead.
573 * paragraph_pimpl.C (acceptChange): make debug info conditional.
575 * metricsinfo.C (PainterInfo): add new member erased_.
577 * rowpainter.C (RowPainter): add erased_ member, initialized from
579 (paintInset): pass erased_ to Inset::draw.
581 * lyxfunc.C (lookupChange): new function. Tells whether change
582 tracking is disabled at a given postion.
583 (getStatus): disable some actions when in deleted text with change
586 2005-08-03 John Levon <levon@movementarian.org>
588 * tabular.C (appendColumn, setMultiColumn): adapt to change to
591 * paragraph_pimpl.C (markErased): add bool argument and handle it.
592 Also make sure to mark insets recursively.
593 (rejectChange, erase): be recursive
595 * paragraph.C (markErased): add bool argument.
596 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
598 * lyxfind.C (findNextChange): tiny cleanup.
600 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
601 change tracking with the cursor in an inset; make sure the first
602 change is not skipped.
604 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
606 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
607 tabularStackDirty to work around bug 1919 (tabular needs
608 to know whether its own cell paste buffer or the one of
610 * CutAndPaste.C: mark tabular_stack_ clean after copy.
612 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
614 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
616 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
618 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
619 use old deleteion algorithm when changetracking is on.
621 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
623 * messages.C (get): add debug output.
625 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
627 * text.C (cursorX): fix bug 1965: cursor movement at
628 line end broken in RtL.
629 (drawSelection): fix bug 1970: drawing of single-line
630 selection broken for RtL.
632 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * dociterator.h (clear, push_back, pop_back): change from
639 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
640 and changed to just return the value of the item depth; take a
641 ParIterator as argument; take the itemdepth at outer nesting level
642 in account if necessary; cleanup and comment the code.
643 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
644 and changed to just return true if reset is needed; take a
645 ParIterator as argument; cleanup and comment the code.
646 (setCounter): adapt to above changes.
648 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
650 * text3.C (dispatch): make debug message optional
652 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
654 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
657 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
659 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
661 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
663 * text.C (insertChar):
664 * text2.C (deleteEmptyParagraphMechanism): take care whether
665 a blank has been deleted (in change tracking mode) (bug 1254).
667 2005-07-20 John Levon <levon@movementarian.org>
669 * text2.C (insertStringAsLines): remove old dubious code,
672 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
674 * MenuBackend.C (expandToc): use Floating::listName() as title of
677 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
679 * toc.[Ch]: Do not use translatable strings (bug 1870).
681 2005-07-20 John Levon <levon@movementarian.org>
683 * tabular.C: fix 1748 - setting multicolumn adds
684 left line to the first cell
686 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
689 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
692 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
694 * messages.C: supress some lyxerr messages
696 2005-07-18 Juergen Vigna <jug@lyx.org>
698 * text.C (drawSelection): honor boundary when asking for cursorX.
700 2005-07-17 José Matos <jamatos@fc.up.pt>
702 * tabular.C (recalculateMulticolumns): fix handling of one column
705 2005-07-17 Juergen Vigna <jug@lyx.org>
707 * text.C (Delete, backspace): fixed so that paragraph with the
708 same layout can be merged by Delete/Backspace.
710 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
712 * text.C (readParToken): fix spelling.
714 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
716 * text2.C: fix counter update for DEPM problem reported by
719 2005-07-17 Juergen Vigna <jug@lyx.org>
721 * BufferView_pimpl.C (setBuffer): save/restore the
722 cursor/selection when switching buffers
725 * buffer.C (saveCursor): add saveDocumentIterators to save the
726 cursor when switching buffer.
728 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
731 * buffer.C: clarify message
733 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
735 * dociterator.C (DocIterator): fix initialization order
737 2005-07-17 Juergen Vigna <jug@lyx.org>
739 * text2.C (cursorHome):
740 * text.C (drawSelection, cursorX):
741 * dociterator.C (textRow): add boundary to getRow() call
743 * paragraph.C (getRow): implementation of below
745 * paragraph.h: add parameter boundary for getRow() function
747 2005-07-17 José Matos <jamatos@fc.up.pt>
751 * tex-strings.[Ch]: new file format, remove support for a4.sty,
752 a4wide.sty and a4widemargins.
754 2005-07-17 Juergen Vigna <jug@lyx.org>
756 * text2.C (cursorLeft): fix one of error
758 2005-07-17 Juergen Vigna <jug@lyx.org>
760 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
762 more fixes for boundary handling
764 * text3.C (dispatch): don't reset cursor if boundary has changed
767 2005-07-16 Juergen Vigna <jug@lyx.org>
769 * text2.C (getColumnNearX): hopefully got it right now,
770 check if we are on column 0 for special case.
772 2005-07-16 Juergen Vigna <jug@lyx.org>
774 * text2.C (getColumnNearX): handle special case Newline Inset
776 * text.C (singleWidth): Just remove bogus check
778 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
780 * funcrequest.C (split): avoid reading uninitialized char c
782 2005-07-16 José Matos <jamatos@fc.up.pt>
788 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
789 single papersize variable.
791 2005-07-16 Juergen Vigna <jug@lyx.org>
793 * text3.C (dispatch): honor boundary when checking if a cursor
794 movement has been done
796 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
797 (setCursor, setCursorIntern): fix cursor movement with boundary
799 2005-07-16 Juergen Vigna <jug@lyx.org>
801 * text.C (currentState): output the actual Boundary
803 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
805 * factory.C (createInset): fix bad logic for tabular creation
807 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
809 * lyx_main.C (init): change some reLyX reference to tex2lyx
811 2005-07-16 Juergen Vigna <jug@lyx.org>
813 * dociterator.C (DocIterator): initialize boundary
815 2005-07-16 Juergen Vigna <jug@lyx.org>
817 * text2.C (getColumnNearX): Consider rows without trailing blank.
819 2005-07-16 André Pönitz <poenitz@gmx.net>
821 * lyxfont.h: Change order of declarations to give the compiler
822 a better chance to inline things
824 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
825 questions on unsaved docs for better scritability
827 2005-07-16 André Pönitz <poenitz@gmx.net>
829 * paragraph.h (getChar): remove asserts as the same kind of security
830 can be achieved by using a suitable standard library implementation
831 and the function was in the critical path (25.9% in profiler)
833 2005-07-16 Juergen Vigna <jug@lyx.org>
835 * cursor.C (bruteFind2):
836 * bufferview_funcs.C (coordOffset):
837 * text.C (cursorX,cursorY): Handle cursor position after last char
838 in row before a inset which uses a whole row.
840 2005-07-15 José Matos <jamatos@lyx.org>
842 * output_plaintext.[Ch] (writeFileAscii): control reference title
844 (asciiParagraph): noparbreak was already deal and was incorrectly
847 2005-07-15 Juergen Vigna <jug@lyx.org>
849 * lyxfunc.C (dispatch): save and restore the cursor after a
852 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
854 * text.C (backspace): bug 806 for empty keepempty paragraphs we
855 change the layout to default before letting DEPM do its thing.
857 * paragraph_funcs.C (breakParagraph): dont reset the layout on
860 * text.C (setCursorFromCoordinates): add a debug statement
862 * text2.C (getColumnNearX): bug 1825 make sure that we don't
863 return a pos that is not on the row
865 * output_latex.C (TeXDeeper): get rid of potential dereferencing
866 of past the end iterator
868 2005-07-14 André Pönitz <poenitz@gmx.net>
870 * undo.C (recordUndoFullBuffer): implement undo for
873 2005-07-14 André Pönitz <poenitz@gmx.net>
875 * cursor.C (setSelection): open insets when selection is set there
876 to avoid crashs with cold coord cache
878 2005-07-14 André Pönitz <poenitz@gmx.net>
880 * trans_mgr.C (insert): move cursor to the right after inserting
883 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
885 * BufferView_pimpl.C (update): dampen some of the debug blabbering
886 * factory.C (readInset): ditto
887 * text.C, text2.C: ditto
889 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
891 * buffer.C: format incremented to 242. There is no file format per
892 se, but the "frenchb" language has been removed from lib/language
893 and has to be translated to "french" by lyx2lyx.
895 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
897 * cursor_slice.h, dociterator.h: add some documentation
898 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
900 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
902 * text.C (leftMargin): do not add identation to display() style
903 insets, because they are always centered (bug 1293).
905 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
907 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
908 formatted_time methods in support/lyxtime.
910 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
912 * toc.[Ch]: new method getGuiName, which is used by the frontends
913 to set the toc combo (fixes bug 1870). Make TOC string translatable.
915 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
917 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
918 StableDocIterator const &)
919 * undo.C (recordUndo): use the above instead of cell.size() comparison
920 (fixes bug 1808; instructed by Andr�.
922 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
925 * dociterator.h: Fix the assert when copying rows/cols in math
927 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
929 * BufferView_pimpl.C:
931 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
933 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
934 (findInset): new functions, refactored from goto Inset that return
935 the position of a certain inset without setting the buffer's cursor
937 (gotoInset): rewrite to call findInset and then set the cursor
940 2005-06-16 Angus Leeming <leeming@lyx.org>
942 * lyxrc.C (output, read): wrap all input and output of paths with
943 calls to os::internal_path and os::external_path, respectively.
944 (output): wrap bind_file inside quotes.
946 * format.C (view): enable the viewer to use the '$$s' placeholder.
948 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
950 * LColor.[Ch] (getFromLaTeXName): new
952 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
954 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
956 2005-06-14 Angus Leeming <leeming@lyx.org>
958 * lyx_main.C (init): ensure that the LyX binary dir is the first
959 element in the PATH on non-POSIX builds.
961 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
963 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
965 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
967 * rowpainter.C (paintInset, paintHebrewComposeChar)
968 (paintArabicComposeChar, paintChars): add a LyXFont argument.
969 (paintChars): use getFontSpan to reduce calls to getFont to a
970 minimum; use Paragraph::lookupChange instead of isXXXText.
971 (paintForeignMark): rename LyXFont argument.
972 (paintFromPos): pass a LyXFont object to the various paintXXX
975 * FontIterator.C (FontIterator, operator++): use
976 Paragraph::getFontSpan
978 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
979 version that returns the font span as a pair.
981 2005-06-09 Angus Leeming <leeming@lyx.org>
983 * converter.C (convert): Don't forget "outfile = real_outfile" as
984 the final step in a conversion where the input and output file names
985 are the same. Otherwise, future conversion steps won't work...
987 2005-06-09 Angus Leeming <leeming@lyx.org>
989 * lyxsocket.C: remove stub code as it isn't needed by
990 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
992 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
994 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
995 effectively disabled -x
997 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
999 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1000 when it actually makes sense.
1002 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1004 * BufferView_pimpl.C: revert to showCursor in connection with
1005 Lars's front-end stack
1007 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1009 * text.C (redoParagraph): move cursor right after a bibitem
1012 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1014 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1016 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1019 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1021 * BufferView.[Ch] (update):
1022 * BufferView_pimpl.[Ch] (update, metrics):
1023 * dimension.h (operator==):
1024 * lyxfunc.C (dispatch):
1025 * metricsinfo.h (ViewMetricsInfo):
1026 * rowpainter.C (paintText):
1028 * text.C (redoParagraph):
1029 * text3.C (dispatch): Make LyX only repaint current paragraph in
1030 case of character insert --> speedup. Also fix cursor draw
1033 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1035 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1036 avoid a crash (bug 1891)
1038 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1042 * text2.C (getStringToIndex): constify cur argument.
1044 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1045 argument has been given
1046 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1047 try to invoke LFUN_INSET_APPLY).
1049 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1050 if no inset was created by doInsertInset
1051 (doInsertInset): return true if an inset has been inserted.
1053 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1055 * vspace.C (asGUIName): new method. A version of the space
1056 suitable for showing on screen.
1058 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1061 * lyxrc.C: rename "ASCII" to "Plain Text"
1063 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1065 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1066 translate the labelstring.
1067 (setCounter): translate labelstring as needed.
1069 * output_docbook.C (makeCommand): fix expandLabel invokation
1071 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1073 * BufferView.C: fix dialog title
1075 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1077 * lyx_main.C (priv_exec): fix logic error with help from Angus
1078 * lyx_main.C (parse_execute): set is_gui = false and remove now
1079 obsolete comment about a segfault
1081 2005-05-18 Angus Leeming <leeming@lyx.org>
1083 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1085 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1087 * tabular.[hC]: added setCellInset to fix tabular paste.
1089 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1091 * buffer.C (save): check if destination is writable before trying
1094 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1096 * BufferView_pimpl.C (update): fix processEvents -caused update
1099 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1101 * buffer_funcs.C (setCounter): fix test for numbering of
1104 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1105 depth correctly; use optional argument when it exists
1107 * lyxtextclass.C: remove unused MaxCounterTags enum
1108 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1109 (max_toclevel, min_toclevel): new methods.
1111 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1112 the smallest depth in toc.
1114 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1115 layouts that should not appear in a table of contents.
1117 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1119 * cursor.h (undispatched, noUpdate): add comments from Andr�
1120 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1124 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1126 2005-05-07 André Pönitz <poenitz@gmx.net>
1128 * cursor.[Ch] (leaveInset): new function
1130 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1132 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1134 2005-05-04 Angus Leeming <leeming@lyx.org>
1136 * lyxfunc.C (getStatus): disable the spell checker dialog if
1137 none of USE_[AIP]SPELL are defined.
1139 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1141 * tabular.C (setWidthOfCell): remove obsolete comment
1143 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1145 * paragraph.C (bibitem):
1146 * buffer_funcs.C (setCounter):
1147 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1149 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1151 * text3.C (getStatus): immediately return after setOnOff
1153 * rowpainter.C: fix drawing of appendix start
1155 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1157 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1158 SwitchBetweenClasses and remove the unused return value.
1159 Handle character styles, too
1161 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1163 * factory.C (createInset): handle undefined character styles
1165 2005-05-02 Angus Leeming <leeming@lyx.org>
1167 * buffer.C: protect the #include of utime.h with a preprocessor
1170 2005-05-02 Angus Leeming <leeming@lyx.org>
1172 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1173 function so that auto-saving works, albeit in a blocking manner.
1175 * Makefile.am: make compilation of the client sub directory, of
1176 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1177 on conditionals set at configure time.
1179 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1180 it can be compiled in its own right but has no-op functionality.
1182 * aspell.C, pspell.C: remove preprocessor guards. The files should
1183 be compiled only if the necessary functionality exists.
1185 * lyxserver.C, lyxsocket.C: disable on Windows.
1187 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1189 * text.C (leftMargin): Fix the parindent use bug (1764)
1192 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1194 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1197 2005-04-25 Angus Leeming <leeming@lyx.org>
1205 include <config.h> in .C files, not .h ones.
1207 protect headers inside preprocessor guards.
1209 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1211 * FuncStatus.h (StatusCodes): document
1213 2005-04-21 André Pönitz <poenitz@gmx.net>
1215 * FuncStatus.h (enabled, onoff): document
1217 2005-04-19 Angus Leeming <leeming@lyx.org>
1219 * BufferView_pimpl.C (cursorToggle): no longer test whether
1220 any child processes have been reaped before calling
1221 handleCompletedProcesses().
1223 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1225 * text3.C (dispatch): fix, finally fix, the language problem in
1226 new lyxtexts, without disabling on-the-fly font changes (Helge's
1229 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1231 * text3.C (dispatch): set cursor on double/triple click events
1234 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1236 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1237 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1239 * rowpainter.C (paintFirst): simplify the code a little bit. In
1240 particular, remove the test for secnumdepth.
1241 * text.C (setHeightOfRow): only allocate space for chapter number
1242 when updateCounters provided an actual label, instead of looking
1243 at secnumdepth directly.
1245 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1247 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1248 paragraphs when secnumdepth is large enough or, for environments,
1249 when they are not the first in a sequence.
1251 2005-04-17 Angus Leeming <leeming@lyx.org>
1253 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1254 containing space and '~' characters with a call to latex_path().
1256 2005-04-17 Angus Leeming <leeming@lyx.org>
1258 * converter.C (convert): protect all args of convertDefault.sh
1261 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1263 * text3.C (dispatch): change the layout to "Caption" after inserting
1266 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1268 * text3.C (dispatch): fix language problem in newly created
1269 textinsets (and main text) in non-english docs
1271 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1273 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1274 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1275 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1277 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1281 * text2.C (getFont):
1282 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1285 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1287 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1288 output of \item arguments without trailing text.
1290 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1292 * FontIterator.C (operator*): avoid a copy of the font.
1294 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1296 * rowpainter.C (getFont): fix language bug from previous fix
1298 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1300 * rowpainter.C (RowPainter, getFont): fix font inside inset
1303 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1305 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1306 preventing inserted font, deco, delim insets jumping to start of
1309 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1311 * lyxfunc.C (dispatch): translate message before sending it to the
1314 2005-03-29 Angus Leeming <leeming@lyx.org>
1316 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1317 to LyX on the command line.
1319 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1321 * vc-backend.C: use QuoteName to protect file names wherever
1324 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1327 * BranchList.h: fix bugs 1844,1845: document settings don't
1330 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1332 * lyxrc.C (setDefaults, read, output, getDescription): add support
1333 for tex_allows_spaces.
1335 * exporter.C (Export): allows files in directory containing spaces
1336 if tex_allows_spaces is true.
1338 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1339 output it in double quotes.
1341 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1343 * rowpainter.C: use default text height for drawing change tracker
1346 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1348 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1350 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1352 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1353 directory is missing.
1355 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1357 * text2.C: fixed the fix, extended to other case.
1359 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1361 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1363 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1365 * text2.C (cursorUp): get rid of a crash
1366 * text.C (x2pos): add an assert
1368 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1370 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1374 * dociterator.C: include <boost/current_function.hpp>, which is
1375 needed when assertions are disabled.
1377 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1379 * text2.C: fix for stuck cursor when traversing two
1380 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1382 2005-02-25 Andreas Vox <avox@arcor.de>
1384 * output_docbook.C (makeParagraph): suppress trailing newline
1385 after a run of paragraphs
1387 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1389 * paragraph.C: fix for confused change tracker when pasting
1390 text that begins with a lineseparator. [bug 1827]
1391 (setChange(0, Change::INSERTED);)
1393 * paragraph_funcs.C: fix for lost changes on triple-paste
1394 in change tracking mode [bug 1827] (par.setChange()).
1396 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1398 * text2.C (updateCounters, setCounter, expandLabel): move to
1401 * buffer_funcs.C (updateCounters): turn into a free standing
1402 function and add a buffer parameter. Remove dead code for tracking
1404 (setCounter): change into a free-standing function which gets a
1405 dociterator as argument. Use this iterator to fix captions in a
1406 simple way. When no float is found above the caption, use the
1407 labelstring of the caption layout as default.
1409 * text.C (breakParagraph, backspace):
1410 * text2.C (init, setLayout, changeDepth):
1411 * text3.C (dispatch):
1412 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1415 * dociterator.C (forwardPar): make it much faster by calling
1416 forwardPos() only when really necessary.
1418 * output_docbook.C (makeCommand): adapt to expandLabel move.
1420 * cursor.C: remove unused variable
1422 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1424 * paragraph_funcs.C: fix crash when pasting insets in change
1425 tracking mode [bug 1277] (honour change type in moveItem).
1427 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1429 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1431 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1433 * BufferView.C (setCursor): change to use a DocIterator.
1434 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1435 (putSelectionAt): adapt to BufferView::setCursor change.
1437 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1438 moved here from LyXText and rewritten to use proper cursor
1439 methods. Fixes bug 1787, 616 and 835.
1441 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1442 when inside an inset (part of bug 781).
1443 (dispatch): adapt to change of BufferView::setCursor.
1444 (getStatus, dispatch): handle LFUN_GOTOERROR,
1445 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1447 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1448 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1449 * text3.C (gotoNextInset, gotoInset): removed.
1451 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1453 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1455 2005-02-15 Angus Leeming <leeming@lyx.org>
1457 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1458 can be used meaningfully in a comparison.
1460 2005-02-13 André Pönitz <poenitz@gmx.net>
1462 * bufferview_funcs.C (coordOffset): improve cursor drawing
1464 2005-02-13 André Pönitz <poenitz@gmx.net>
1466 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1467 * Cursor.C (dispatch): use fixIfBroken
1468 * lyxfunc.C (getStatus): use fixIfBroken
1470 2005-02-15 Angus Leeming <leeming@lyx.org>
1472 * lyx_main.C (error_handler):
1474 * lyxrc.C (setDefaults):
1476 #include "environment.h".
1478 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1480 2005-02-15 Angus Leeming <leeming@lyx.org>
1482 * lyxserver.C (startPipe): squash MSVC warning "local variable
1483 'fd' used without having been initialized".
1485 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1487 * BufferView_pimpl.C: revert accidental commit.
1489 2005-02-14 André Pönitz <poenitz@gmx.net>
1491 * dociterator.[Ch]: new member forwardPosNoDescent(),
1492 which doesn't enter nested insets.
1493 * text2.C (setFont): use forwardPosNoDescent() instead
1494 of ForwardPos() (fixes crash on font change).
1496 2005-02-13 Angus Leeming <leeming@lyx.org>
1498 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1499 only if lyxrc.path_prefix is not empty.
1501 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1503 * bufferparams.C (readGraphicsDriver): prevent crash
1505 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1507 * text2.C (setCounter): check for inInset() == 0
1509 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1511 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1512 but use update() to get correct screen display; use convert
1513 instead of istringstream.
1514 (getStatus): handle LFUN_GOTO_PARAGRAPH
1516 * lyxfunc.C (dispatch, getStatus): do not handle
1517 LFUN_GOTO_PARAGRAPH here.
1519 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1521 * text3.C (dispatch): size() -> depth()
1523 * text2.C: remove some debug output
1525 * paragraph.C: ws changes only
1527 * lyxfunc.C (getStatus): size() -> depth()
1529 * dociterator.h (clear, push_back, pop_back, internalData,
1530 operator[], resize, empty): new functions
1531 Make StableDocIterator and operator== be friends. Don't inherit
1532 from std::vector use a privat class variable slices_ instead.
1535 * dociterator.C: update because of not inheriting from std::vector
1536 anymore. Call explictly to slices_ instead. Use depth() instead of
1537 size() and top() instead of back()
1539 * cursor.C: chagne size() -> depth and back() -> top(). Also
1540 remove some direct operator[](i) calls in favour of foo[i]
1541 (getFont): remove some dead code
1543 * bufferview_funcs.C (coordOffset): size() -> depth()
1545 * buffer.C: ws changes only
1547 * CutAndPaste.C (eraseSelection): back() -> top()
1549 * BufferView_pimpl.C (selectionRequested): back() -> top()
1551 * BufferView.C (setCursor): size() -> depth()
1553 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1555 * text3.C (cursorPrevious): return true if depm changed something
1557 (dispatch): rename sl to oldTopSlice, remove moving use the new
1558 NoUpdate func attrib instead. Make sure that needsUpdate is set
1559 for function that have NoUpdate, but where depm might have changed
1562 * text2.C (cursorLeft): make us return true if depm changed
1564 (cursorRight): ditto
1565 (cursorUpParagraph): ditto
1566 (curosrDownParagraph): ditto
1567 (cursorUp, cursorDown): ditto, make sure to read comments in code
1568 (deleteEmptyParagraphMechanism): remove an assert, also return
1569 true if just a single char was deleted.
1571 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1572 cursor that we modify, to avoid modifying an active cursor before
1573 we call setCursor. This allows depm to run. Also return true if
1574 depm deleted something.
1576 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1577 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1578 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1579 something was changed in the buffer because of them (ie. depm run)
1581 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1582 debug messages. Make update by default be false. Make sure that
1583 the result of update is retained throught several calls down to
1586 * LyXAction.h: add a new func_attrib: NoUpdate
1588 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1589 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1590 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1592 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1594 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1596 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1597 bv_->owner(), bv_->buffer() by direct references to the private
1599 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1600 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1601 (fitCursor): center() is in BufferView::Pimpl.
1602 (getStatus, trackChanges, dispatch): no need for a temporary buf
1604 (fitCursor, workAreaDispatch): use workarea().workheight()
1606 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1608 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1610 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1612 * buffer.C: format up to 241.
1613 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1614 break if pasting into ERT
1615 * lyxfunc.C (getStatus): suppress mathpanel and
1616 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1618 2005-02-01 Angus Leeming <leeming@lyx.org>
1620 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1622 2005-02-01 Angus Leeming <leeming@lyx.org>
1624 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1625 calling fs::is_directory().
1627 2005-01-31 Angus Leeming <leeming@lyx.org>
1629 * lyx_main.C (priv_exec): specify explicitly the relative location
1630 of the top level build directory when run in-place.
1632 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1634 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1635 LyXText containing the cursor, not the top-level one.
1637 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1639 (insertStringAsLines): rename par to pit; use temporary variable
1640 par to hold a Paragraph; do not store par.layout() in a variable,
1641 since the pointer may die when breaking paragraphs; pass pars to
1642 breakParagraph() instead of Buffer::paragraphs().
1644 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1646 * lyxlex_pimpl.h: #include <fstream>.
1648 * BufferView.[Ch] (getLyXText): add a const version.
1650 * BufferView_pimpl.C: add debug aids.
1655 * paragraph_funcs.h: add commentary explaining what the class does.
1658 * coordcache.[Ch]: add lots of commentary.
1659 (startUpdating, doneUpdating): debug aids.
1660 (arrays, insets, parPos, getParPos): accessors to private data.
1662 * cursor_slice.[Ch] (text): add a const version.
1663 * dociterator.[Ch] (text, innerText): add const versions.
1665 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1668 * paragraph.C (getRow, pos2ros): add asserts.
1670 * paragraph.h: add commentary. Lots of.
1672 * paragraph.[Ch] (metrucs, draw): removed.
1675 * rowpainter.[Ch]: const-correct changes.
1677 * text.C: various obvious clean-ups. Removal of ancient cruft.
1680 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1682 * vc-backend.C (find_file): rewrite to use boost.filesystem
1685 * main.C (main): set default name check for boost.filesystem to
1688 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1691 (actOnUpdatedPrefs): ditto
1693 * lyx_main.C (init): rewrite to use boost.filesystem
1694 (queryUserLyXDir): ditto
1696 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1697 (getContentsOfAsciiFile): ditto
1699 * lastfiles.C (readFile): rewrite to use boost.filesystem
1701 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1703 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1704 (loadLyXFile): ditto
1706 * buffer.C (Buffer): adjust for destroydir
1707 (getLogName): rewrite to use boost.filesystem
1708 (setFileName): ditto
1709 (save): use fs::copy_file (from fs_extras)
1711 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1713 * LaTeX.C (run): rewrite to use boost.filesystem
1714 (scanAuxFiles): ditto
1715 (handleFoundFile): ditto
1717 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1719 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1721 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1723 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1725 * lyxlayout.[Ch]: change some vars from float to double
1727 * buffer.C (readFile): make a local var const
1729 * Several files: use convert<> instead of atoi,strToXXX and friends
1731 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1733 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1734 holds the contents of packages.lst. New functions getAvailable
1735 and isAvailable to parse and check that list, resp.
1739 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1741 * bufferparams.[Ch]: new param output_changes.
1743 * Buffer.C: increase file format to 240.
1744 Use output_changes and isVailable.
1748 * paragraph_pimpl.C: Use output_changes and isVailable.
1750 2005-01-23 Angus Leeming <leeming@lyx.org>
1752 * output_latex.C: #include "insetbibitem.h", rather than
1753 forward declare function bibitemWidest.
1755 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1757 * lyx_main.C (init): make it compile on the Mac.
1759 2005-01-20 Angus Leeming <leeming@lyx.org>
1761 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1762 (setLyXMisc): (char string literal) != (char string literal) is
1763 performing a comparison on the addresses. Convert one operand
1764 explicitly to string to guarantee expected behaviour.
1767 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1770 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1772 * output_plaintext.C: remove unneeded #include gzstream.h.
1774 2005-01-20 Angus Leeming <leeming@lyx.org>
1776 * SpellBase.h: rename some of the elements of the Result enum.
1783 * pspell.C (check): ditto
1785 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1787 * buffer.C: add #include <fstream>.
1789 * lyx_main.C (init): Compile fix.
1791 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1793 2005-01-20 Angus Leeming <leeming@lyx.org>
1795 * mover.h: change commentary to reflect the changed meaning of
1796 the $$s placeholder.
1798 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1800 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1802 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1804 2005-01-20 Angus Leeming <leeming@lyx.org>
1806 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1807 printing diagnostic data by not dereferecing an iterator past the
1810 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1812 * buffer.C (readHeader): use "&&" rather than "and".
1814 * lyxserver.h (inPipeName, outPipeName): make these const.
1816 2005-01-19 Angus Leeming <leeming@lyx.org>
1818 * lyx_main.C (error_handler, init): protect SIGHUP with
1819 #ifdef SIGHUP guards.
1821 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1823 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1825 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1827 * text.C (setHeightOfRow): add a margin at the top and bottom of
1828 the document (bug 1761)
1830 2005-01-17 Angus Leeming <leeming@lyx.org>
1832 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1833 with "python ". Workaround for a brain-dead Windows.
1835 2005-01-16 Angus Leeming <leeming@lyx.org>
1837 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1838 for MacOSX and Windows to use prependEnvPath.
1839 Strip out the hard-coded block to add elements to the PATH for
1840 MacOSX and replace it with a call to prependEnvPath using the
1841 contents of LyXRC::path_prefix.
1842 (queryUserLyXDir): strip out the code to run reconfigure, instead
1843 returning a boolean indicating the necessity to do so.
1844 (reconfigureUserLyXDir): contains the code to reconfigure the
1845 user support directory. Is now called after the various LyXRC data
1846 files have been read.
1848 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1850 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1852 * converter.[Ch] (convert): take a new parameter try_default. Use
1853 a default converter (imagemagick) if try_default is true.
1855 2005-01-13 Angus Leeming <leeming@lyx.org>
1857 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1858 os::cygwin_path_fix.
1859 (write): output LyXRC::cygwin_path_fix as necessary.
1861 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1864 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1866 2005-01-12 Angus Leeming <leeming@lyx.org>
1868 * lyx_main.C (init): set the PATH variable to include the
1869 directory containing the LyX binary when running on Mac or Windows.
1871 2005-01-12 Angus Leeming <leeming@lyx.org>
1873 * lyx_main.C (init): remove cruft that purports to set the locale
1874 dir. It doesn't and is not needed anyway.
1876 2005-01-10 Angus Leeming <leeming@lyx.org>
1878 * Makefile.am: remove the lyx_main.C special casing.
1880 * BufferView_pimpl.C:
1886 * messages.C: use support/package.h to provide the paths to the
1887 various directories used by LyX.
1889 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1891 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1892 layout if pasting into an empty paragraph)
1894 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1896 * tex-accent.C: add <string>
1898 2005-01-06 José Matos <jamatos@lyx.org>
1900 * ParagraphParameters.C (write): put every parameter in its own line.
1901 * paragraph.C (write): reduce number of consecutive empty lines exported.
1902 * buffer.C (LYX_FORMAT): increase file format to 239.
1904 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1906 * everywhere: change support/tostr.h -> support/convert.h
1908 * tabular.C: make all write_attributes templates, tostr -> convert
1910 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1911 (emptyTag): and -> &&, and fix type for ret from getChar
1912 (getFirstWord): fix type for ret from getChar
1913 (onlyText): and -> &&
1914 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1917 * toc.C (goTo, action):
1918 * text3.C (dispatch):
1919 * text.C (currentState):
1920 * tex-accent.C (DoAccent):
1923 * lyxfunc.C (menuNew):
1924 * lyxfinc.C (replace):
1925 * counters.C (laberItem):
1926 * bufferview_funcs.C (font2string):
1927 * bufferparams.C (writeFile):
1928 * buffer.C (readFile):
1930 * MenuBackend.C: tostr -> convert
1932 * LaTeX.C (runMessage): fix format
1933 (scanAuxFiles): tostr -> convert
1935 * BufferView_pimpl.C (savePosition): fix format
1936 (restorePosition): ditto
1939 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1941 * Spacing.[Ch]: New method getValueAsString().
1945 * ParagraphParameters.C:
1948 * text3.C: store/read spacing value as string.
1950 * rowpainter.C: change float value (spacing_val) to double.
1952 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1953 broken custom document spacing).
1955 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1957 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1958 namespace, also more use of temp references and const
1960 * cursor.[Ch] (getStatus): move to lyxfunc.C
1962 * bufferparams.C: reformat slightly
1964 * bufferview_funcs.C (font2string): constify arg
1970 * buffer_funcs.C: (many funcs): constify arg on function
1971 definitions, also make more local vars const, also add ASSERTS on
1974 * buffer.C (LYX_FORMAT): put const in correct place
1975 (many funcs): constify arg on function definitions, also make
1976 more local vars const
1978 * aspell_local.h: remove "struct" from typdef setup
1980 * aspell.C (check): make word_ok const
1981 (nextMiss): simplify slightly
1984 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1986 * lyxrc.[Ch]: store all float values as strings.
1987 use int (not float) for lyxrc.dpi.
1989 2005-01-04 Angus Leeming <leeming@lyx.org>
1991 * lyx_cb.C (Reconfigure):
1992 * lyx_main.C (queryUserLyXDir):
1993 to run the <system_lyxdir>/configure correctly on Windows, prefix
1994 the path to the script with "sh " when generating the string that
1995 is passed to system().
1997 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1999 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2001 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2003 * lyxlength.C (asLatexString): get rid of setprecision
2005 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2007 * text2.C (setLayout): remove unused variable endpit.
2008 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2010 * paragraph.C (onlyText): remove unused variable style.
2012 * cursor.C (bruteFind): remove unused variables beg and end.
2014 * Makefile.am (dist_noinset_DATA): not needed anymore
2016 * cheaders/*: remove.
2018 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2020 * text3.C: fix LFUN_MATH_MODE.
2022 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2024 * buffer_funcs.C (countWords): new function. Counts words between
2027 * BufferView_pimpl.C (getStatus, dispatch): handle
2030 * LyXAction.C (init):
2031 * lfuns.h: add LFUN_WORDS_COUNT.
2033 2004-12-19 Angus Leeming <leeming@lyx.org>
2035 * buffer.C (save): s/slashify_path/internal_path/.
2037 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2039 * lyxfind.C (findChange): do not search for end of pars, because
2040 the change tracker cannot handle this (fixes bug 1719).
2042 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2044 * paragraph.[Ch] (autoBreakRows): remove
2046 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2048 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2049 avoid using the paragraph one
2051 * text2.C (LyXText, insertStringAsLines): adjust
2053 2004-12-16 Angus Leeming <leeming@lyx.org>
2057 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2059 2004-12-14 Angus Leeming <leeming@lyx.org>
2061 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2063 * bufferlist.C (emergencyWrite):
2064 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2067 2004-12-14 Angus Leeming <leeming@lyx.org>
2069 * main.C: (main): no longer pass pointers to os::init.
2071 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2073 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2074 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2076 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2079 * text3.C: remove selection_possible global flag
2081 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2083 * text2.C (getSelectionSpan): remove
2084 (changeDepth, changeDepthAllowed): adjust
2086 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2088 * Makefile.am (BOOST_LIBS): use boost variables
2090 2004-12-03 José Matos <jamatos@lyx.org>
2092 * buffer.C: format up to 238.
2094 2004-12-03 José Matos <jamatos@lyx.org>
2096 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2098 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2100 * cursor.C (goUpDown): remove call to idxUpDown2
2102 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2104 * tabular.[Ch]: use size_t-like types for cell, row and column
2107 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2109 * lyxfunc.C (getStatus): do not lose previous information when
2110 calling BufferView::getStatus; do not set a default "Command
2111 disabled" message at the beginning, but just before returning.
2113 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2115 * cursor.h (getStatus): add better comment from src/cursor.C
2117 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2119 * text3.C (getStatus): return false when the lfun is not handled
2121 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2123 * broken_headers.h: remove
2125 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2127 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2129 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2130 offset_ref accessors
2132 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2133 top_y_, merge fitcursor with update
2134 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2136 (metrics): introduce
2137 (workAreaDispatch): adapt to new coord scheme
2138 (redoCurrentBuffer): remove
2140 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2142 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2145 * coordcache.[Ch]: add paragraph cache and helpers
2147 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2150 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2151 (targetX, setTargetX): introduce
2153 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2154 baseline -> ascent, as the rest of lyx
2156 * lyxtext.h: remove redoParagraphs, updateParPositions,
2157 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2158 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2159 have ascent/descent (ascent is ascent of first par)
2161 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2164 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2166 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2168 * pariterator.C: fix infinite loop introduced in par->pit renaming
2170 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2171 in insets and LyXText, draw two off-screen paragraphs using
2172 NullPainter, and adapt to new coord scheme
2176 * text3.C: adapt lfun handlers to the new coord scheme, which
2177 means: there's only guaranteed coord information for onscreen pars
2178 plus one above and one below. This implies that one can do search
2179 from y coordinates in the range [-1,workHeight]
2181 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2183 * rename a lot of InsetOld to InsetBase
2185 2004-11-25 Angus Leeming <leeming@lyx.org>
2187 * BufferView_pimpl.C:
2189 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2191 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2193 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2194 call BufferView::getStatus if LCursor::getStatus did nothing
2195 (setStatusMessage, getStatusMessage): removed.
2197 * FuncStatus.C (message): new methods. Used to provide an error
2198 message indicating why a command is disabled.
2199 (clear, |=, FuncStatus): update for message.
2201 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2203 * lyxfunc.C (dispatch): always call sendDispatchMessage
2205 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2208 * BufferView_pimpl.C:
2213 * cursor_slice.[Ch]:
2216 * paragraph_funcs.C:
2222 * undo.C: par->pit renaming
2224 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2226 * tabular.C (cellstruct): use initialization, store a shared_ptr
2227 to insettext instead of the insettext directly, adjust to fit.
2228 (operator=): new function
2229 (swap): new function
2230 (rowstruct): use initialization
2231 (columnstruct): use initialization
2232 (ltType): use initialization
2235 * lyxlength.h (swap): new function
2237 * LColor.[Ch] (operator=): use the common semantics
2239 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2241 * lyxfind.C (findNextChange): update the bufferview after setting
2244 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2246 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2247 number of InsetOptArgs has already been inserted.
2249 * output_latex.C (latexOptArgInsets): new method. This outputs all
2250 the optarg insets, up to the limit defined in the layout file.
2251 (optArgInset): removed
2252 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2254 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2256 * paragraph.C (isLetter): remove special spellchecker-related
2257 code; return true also for digits
2258 (isWord, isKomma): remove
2260 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2261 * lyxfind.C (MatchString()): use isLetter instead of isWord
2263 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2265 * pariterator.h (operatir=): comment out un-implemented member
2268 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2271 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2273 * lyxfont.h: include LColor.h to satisfy concept checks.
2275 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2277 * pariterator.h: add typdefs for value_type, difference_type,
2278 pointer and reference to satisfy concept checks. Also add default
2279 constructor for same reason.
2281 * pariterator.C (operator++): add post-increment operator to
2282 satisfy concept checks.
2284 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2287 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2289 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2290 checks. Also rename base_type to BaseType to follow naming
2293 * FloatList.h: include Floating.h to satisfy concept checks.
2295 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2297 * lyxfunc.C (getStatus): when the origin of the request is menu or
2298 toolbar, and the LyXView does not have focus, do as if there was
2299 no buffer (bug 1720)
2301 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2302 FuncRequest to individual entries of LFUN_SEQUENCE
2304 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2306 * output_latex.C (TeXOnePar): override runparams.moving_arg
2307 according to the needprotect value of the current paragraph (bug
2310 * paragraph.C (simpleTeXOnePar): no need to override
2311 runparams.moving_args here
2313 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2315 * vspace.C: fix off-by-one-error, related to fix #1682
2317 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2319 * lengthcommon.C: a more general fix for bug 1682
2321 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2323 * text.C (backspace): fix crash
2325 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2327 * format.[Ch] (getFormatFromFile): new method
2328 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2330 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2332 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2334 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2336 * lyxfunc.C (dispatch): remove the verbose argument
2337 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2340 * kbmap.C (defkey): set the origin of func to KEYBOARD
2342 * MenuBackend.C (MenuItem):
2343 * ToolbarBackend.C (add): set the origin of func to UI
2345 * funcrequest.[Ch]: add origin member, which indicates which part
2346 of LyX requests an action
2348 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2350 * converter.C (move): don't lie in the error message
2351 * converter.h (isReachable, move): document
2353 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2355 * buffer.C: remove unused using lyx::support::atoi
2356 * paragraph_funcs.C: ditto
2358 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2360 * bufferlist.C (exists): use bind and equal_to instead of
2363 * lyxtextclasslist.C (NumberOfClass): ditto
2365 * cursor.C (insert): use for_each instead of explicit for loop
2367 * bufferlist.C (getFileNames): use std::transform and
2368 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2370 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2373 * buffer.C (changeLanguage): use for_each instead of explicit for
2375 (hasParWithID): implement using getParFromID
2377 * LaTeXFeatures.C: ws change only
2379 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2382 * BufferView_pimpl.C (trackChanges): use for_each instead of
2385 2004-11-04 André Pönitz <poenitz@gmx.net>
2388 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2390 * dociterator.C (asDocIterator): use hard assert again.
2392 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2394 * lyxlength.C (asLatexString): rewrite so that it does not use
2397 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2399 * text3.C (specialChar, dispatch): make sure cursor moves to the
2400 right after inserting an inset
2402 2004-11-02 José Matos <jamatos@lyx.org>
2404 * output_docbook.C (docbook):
2405 * paragraph.C (getID):
2406 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2407 garantee that the output is always legal.
2409 * tabular.C (docbook):
2410 * outputprams.[Ch]: remove mixed contents.
2412 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2414 * text2.C (setCounter): prevent endless loop
2416 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2418 * exporter.C (copyFile): use the mover instead of support::copy()
2419 * exporter.C (Export): pass format and latex name to copyFile()
2420 * exporter.h (addExternalFile): document
2421 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2423 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2425 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2427 2004-10-30 José Matos <jamatos@lyx.org>
2429 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2430 text and no inset or font change. This allows to use CDATA
2431 sections just for the whole paragraph.
2433 2004-10-30 José Matos <jamatos@lyx.org>
2435 * paragraph.C (getFirstWord): remove unused variable.
2437 2004-10-30 José Matos <jamatos@lyx.org>
2439 * paragraph.C (getFirstWord): the content should always be escaped
2441 (simpleDocBookOnePar):
2442 * output_docbook.C (makeEnvironment): replace reference to CDATA
2445 2004-10-30 José Matos <jamatos@lyx.org>
2447 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2449 2004-10-30 José Matos <jamatos@lyx.org>
2451 * output_docbook.C (makeParagraphs):
2452 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2453 standard paragraph has only a given type of content drop the wrapper.
2455 2004-10-29 José Matos <jamatos@lyx.org>
2457 * output_docbook.C (makeEnvironment):
2459 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2461 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2463 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2464 (cleanID): sanitize any id.
2466 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2468 * buffer.C, lyxlex_pimpl.C:
2469 * lyxlex_pimpl.C (setFile):
2470 s/getExtFromContents/getFormatFromContents/
2472 2004-10-28 José Matos <jamatos@lyx.org>
2474 * output_docbook.C (makeEnvironment): move id to broadest possible
2477 * sgml.C (openTag): apply substitution of <> for all attributes.
2479 2004-10-28 José Matos <jamatos@lyx.org>
2481 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2482 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2483 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2485 * sgml.[Ch]: new version for open and closeTag for paragraph and
2486 for strings. Now they handle the ids of paragraphs.
2488 2004-10-26 Angus Leeming <leeming@lyx.org>
2490 * Makefile.am: add mover.[Ch].
2492 * converter.C (convert, move): use the new Movers to move external
2493 files to the temp directory.
2495 * lyx_main.C (init): ensure that the global system_movers data
2498 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2501 * mover.[Ch]: new files, defining a Mover as a utility to move an
2502 external file between directories and, if necessary, manipulate this
2503 file using a helper script.
2505 2004-10-25 José Matos <jamatos@lyx.org>
2507 * output_docbook.C (makeCommand): merge two if's that tested the
2510 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2512 * sgml.C (escapeString): fix warning in a better way
2514 2004-10-25 José Matos <jamatos@lyx.org>
2516 * sgml.C (escapeString): import the require boosts header file for
2517 tie, and avoid a signed unsigned comparison.
2519 2004-10-25 José Matos <jamatos@lyx.org>
2521 * sgml.h: add #include <string>
2523 2004-10-25 José Matos <jamatos@lyx.org>
2525 * sgml.[Ch] (escapeString): new function to escape all the string.
2527 2004-10-24 José Matos <jamatos@lyx.org>
2529 * paragraph.[Ch] (getFirstWord): new function to get the first
2530 word. Useful for description.
2531 (simpleDocBookOnePar): remove depth argument, add another that
2532 says where to start the paragraph.
2534 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2535 use the new functions to fix cleanly the support for descriptions.
2537 2004-10-24 José Matos <jamatos@lyx.org>
2539 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2540 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2541 * output_linuxdoc.C (linuxdocParagraphs):
2542 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2543 add buffer as argument.
2545 2004-10-24 José Matos <jamatos@lyx.org>
2547 * output_docbook.C (makeEnvironment, searchEnvironment): place
2548 CDATA inside paragraphs and fix scope for listitems.
2550 2004-10-24 José Matos <jamatos@lyx.org>
2552 * output_docbook.C: remove using statement for stack.
2554 2004-10-23 José Matos <jamatos@lyx.org>
2556 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2557 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2558 docbook. The new scheme is recursive and makes use of iterators, the
2559 same as latex export works.
2560 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2561 directly with the paragraph contents. This code was moved up to
2562 output_docbook.C (docbookParagraphs).
2563 * sgml.C (openTag, closeTag): removed unneeded newlines.
2564 (closeEnvTags) removed.
2566 2004-10-23 André Pönitz <poenitz@gmx.net>
2568 * undo.C (textUndoOrRedo):
2569 * dociterator.C (asDocIterator): work around crash
2571 * cursor.C (getStatus): replace ASSERT by more verbose error message
2572 and manual correction of the problem. Should increase stability
2573 while providing more sensible information.
2575 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2577 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2579 * bufferlist.C (previous, next): new methods
2582 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2584 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2586 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2587 entities to preamble.
2589 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2591 * messages.C (Pimpl): strip off translation context information
2593 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2595 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2596 the cursor is correct (bug 1694)
2598 2004-10-13 José Matos <jamatos@lyx.org>
2600 * output_docbook.C (docbookParagraphs): fix closing tags in the
2601 end of the document.
2603 2004-10-09 José Matos <jamatos@lyx.org>
2605 * buffer.C: format up to 237.
2606 * bufferparams.C (write): use tostr to convert booleans to strings.
2608 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2610 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2612 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2614 * LaTeX.C: implement use of babel language in xindy.
2616 2004-10-05 José Matos <jamatos@lyx.org>
2618 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2619 Add new translators to help reading and writing the lyx file.
2621 2004-10-05 José Matos <jamatos@lyx.org>
2623 * ParagraphParameters.C (read):
2624 * text.C (readParToken): replace nexToken by more appropriate lex
2627 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2629 * LaTeX.C (runMakeIndex):
2630 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2631 (usually 'makeindex') configurable.
2633 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2634 with a variable rather than with a number.
2636 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2638 * output_latex.C (TeXOnePar): make sure font setting is the first
2639 thing that gets output (and the last at the end). Should fix bug
2642 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2644 * pch.h: use proper signal include
2646 * LaTeX.h: Use preferred calling of Boost.Signal
2649 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2651 * pch.h: dont include <boost/function/function0.hpp>
2653 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2655 * paragraph_pimpl.h: remove usage of ShareContainer
2657 * paragraph_pimpl.C: remove initialization of ShareContainer.
2659 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2663 * BufferView.C (putSelectionAt): change the semantics when
2664 backwards == true: now, this just swaps cursor and anchor wrt the
2667 * BufferView.h (putSelectionAt): add some documentation
2669 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2670 make sure backwardChar is done at least once (to avoid getting
2672 (findNextChange): use putSelectionAt in the forward direction
2673 (operator()): use Paragraph::isWord
2675 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2677 * Spacing.C (set): c_str fix
2679 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2681 * lyx_cb.C (Reconfigure): quote the name of configure script in
2682 case it contains spaces
2684 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2688 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2689 (BOOST_LIBS): use top_buildir when looking for the file
2691 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2693 * pch.h: do not use include boost/format.hpp, multiple symbols
2694 will result (gcc bug)
2697 2004-08-23 José Matos <jamatos@lyx.org>
2699 * bufferparams.C (readToken): fix reading of the author field.
2701 2004-08-20 José Matos <jamatos@lyx.org>
2703 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2705 2004-08-20 José Matos <jamatos@lyx.org>
2707 * lyxlex.[Ch] (findToken): remove function.
2709 * ParagraphParameters.C (findToken):
2710 * bufferparams.C (findToken): replace call for previous function
2711 with local copy. This local function has one more argument, the
2712 read string argument.
2714 2004-08-16 José Matos <jamatos@lyx.org>
2716 * ParagraphParameters.C (write):
2717 * Spacing.C (writeFile):
2718 * bufferparams.C (writeLaTeX):
2719 * lyx_cb.C (Reconfigure):
2720 * paragraph.C (write):
2721 * tabular.C (write): remove unnecessary space at end of line.
2724 2004-08-16 José Matos <jamatos@lyx.org>
2726 * text.C (readParagraph): remove debug message.
2728 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2730 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2733 * output_plaintext.C (asciiParagraph): set depth correctly
2735 * outputparams.h: add member depth
2737 * paragraph_funcs.C (ownerPar): remove.
2739 * text2.C (setCounter): remove first_pit; comment out some
2740 non-working code that uses ownerPar
2742 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2745 2004-08-16 José Matos <jamatos@lyx.org>
2747 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2748 For the same level of importance use the same chanel to report problems.
2749 (read): add code to deal with \begin_body and \end_body.
2752 2004-08-15 José Matos <jamatos@lyx.org>
2754 * lyxlex.C (getString): fix comment, buffer::readBody is now
2755 buffer:readDocument.
2757 * tex-strings.C (string_papersize): Default -> default,
2758 Custom -> custom, for consistency with other options.
2760 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2764 * Makefile.am: support pch
2766 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2768 * text.C (readParToken): remove the static LyXFont variable and
2769 pass it as a parameter instead. This fixes a nasty bug where an
2770 inset will be inserted with a bad font in some situations
2771 (readParagraph): adapt
2773 * text2.C (setCounter): reduce number of calls to pars_[pit]
2775 * text.C (singleWidth): add an assert, fix a test
2777 * rowpainter.C (paintText): reduce number of calls to singleWidth
2779 * paragraph.C (isHfill):
2780 (isNewline): ws only
2782 2004-08-14 André Pönitz <poenitz@gmx.net>
2787 * lyxtext.h (several functions): use a Paragraph & argument
2790 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2792 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2794 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2796 * text.C (singleWidth): remove useless test
2798 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2800 * tabular.h: remove bogus comments
2802 * tabular.C (getDescentOfRow):
2803 (isPartOfMultiColumn): add assertions
2805 * lyxlength.C (inPixels): remove #warning
2807 2004-08-14 André Pönitz <poenitz@gmx.net>
2809 * paragraph.h: inline getChar()
2811 * BufferView.h: remove unused declarations
2813 2004-08-14 José Matos <jamatos@lyx.org>
2815 * Buffer.[Ch] (readDocument): new name for old readBody.
2816 * Buffer.C: new file format, new keywords: \begin_document,
2817 \begin_header, \begin_body, \end_body.
2819 * bufferparams.C (readToken): replace all calls to lex.nextToken
2820 by lex.next(). Do the same to eatLine except where really needed.
2822 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2823 line when writing to the lyx file.
2825 * output_plaintext.C (asciiParagraph): fix Bibliography style
2828 * text.C (read): fix end of file handling.
2830 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2832 * MenuBackend.C (Menu::operator[]): new method to access
2833 individual menu items
2834 (Menu::hasFunc): new method. search for an item that corresponds
2836 (MenuBackend::specialMenu): new method
2837 (MenuBackend::expand): if a special menu has been set, skip
2838 entries whose func() appears in this menu
2840 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2842 * text3.C: use Debug::DEBUG a bit more
2844 * text.C (leftMargin): try to simplify a tiny bit change var x to
2845 l_margin. Dont output the wide margins always.
2846 (rightMargin): no margin in inner texts
2848 * rowpainter.h (nestMargin): new func
2849 (changebarMargin): new func
2850 (rightMargin): new func
2852 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2856 * factory.C (createInset): modify setDrawFrame
2858 * cursor.C: use Debug::DEBUG a bit more
2860 2004-08-14 André Pönitz <poenitz@gmx.net>
2863 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2864 cache for all insets in (at least partially) visible (top-level)
2867 * BufferView_pimpl.C: reset external coord cache before every update.
2868 This means the coord cache only contains valid entries.
2870 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2873 * BufferView_pimpl.C (getInsetByCode): move function out of class
2874 and change in to a template in anon namespace. Also fix to do what
2877 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2880 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2882 (breakParagraph): rename par to par_offset and use a local
2883 reference. Add code to keep the language over a rebreak.
2884 (breakParagraphConservative): rename par to par_offset, use a
2886 (mergeParagraph): ditto
2888 (isFirstInSequence): ditto
2889 (outerFont): rename pit to par_offset
2891 * paragraph.C: ws change
2892 * paragraph.h: ditto
2896 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2898 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2901 * paragraph.C (simpleTeXOnePar): when we have a \item with
2902 optional argument, enclose the argument with curly brackets (in
2903 case it contains a closing square bracket)
2907 * text3.C (checkInsetHit): constify
2909 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2911 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2912 documents (bug 1629)
2914 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2916 Fix toggling of collapsable insets with the mouse (bug 1558)
2918 * lyxfunc.C (dispatch): adapt to LCursor changes
2920 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2921 make sure that dispatch is not invoked twice
2923 * cursor.C (needsUpdate): new method
2924 (dispatch): return void
2925 (result): new method, to access the DispatchResult of the cursor.
2927 2004-08-13 José Matos <jamatos@lyx.org>
2929 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2931 2004-08-13 André Pönitz <poenitz@gmx.net>
2933 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2935 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2938 2004-08-12 André Pönitz <poenitz@gmx.net>
2940 * text3.C: take out the 'cursor right' form insertInset and only
2941 do it in those places when it is really needed. Fixes crash on
2944 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2946 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2948 * BufferView_pimpl.C (setBuffer): initialize the current font of
2949 the underlying LyXText
2951 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2953 * kbsequence.C (print): use UI native formatting for menu
2956 * text.C (insertChar): call Paragraph::insertChar with a font
2959 * paragraph.C (insertInset, insertChar): the version that takes a
2960 LyXFont argument is now a wrapper around the other one (the
2961 opposite used to be true).
2963 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2964 argument. Font setting is done in Paragraph now.
2966 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2968 * outputparams.h: add new members intitle and lang.
2970 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2971 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2973 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2975 * text3.C (dispatch): remove special handling of button 4 and 5,
2976 it is now taken care of in the frontend code.
2978 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2980 * Spacing.h: add <string> (STLPort compile fix)
2982 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2984 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2986 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2988 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2991 * converter.C (showMessage): inherit from unary_function, make
2994 * buffer.C (writeFile): initialize retval
2996 * InsetList.h: rename private variable list to list_
2997 * InsetList.[Ch]: adjust accordingly.
2999 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3001 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3002 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3003 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3004 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3005 * ParagraphParameters.C, LaTeXFeatures.C: replace
3006 "support/std_sstream.h" with <sstream>
3008 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3010 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3011 * lyxsocket.C (LyXServerSocket): ditto
3012 (serverCallback): ditto
3014 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3016 * LaTeXFeatures.C: check release date when loading jurabib.
3018 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3020 * lyxserver.C (startPipe): call register_socket_callback
3021 (endPipe): call unregister_socket_callback
3023 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3025 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3026 (LyXServerSocket): register the callback
3027 (LyXServerSocket): unregister the callback
3028 (fd): delete function
3029 (serverCallback): improve error checking and setup the callbacks.
3030 (dataCallback): change arg to fd.
3031 (writeln): new func (copied fro the client socket) used for server
3033 (LyXDataSocket): simplify
3034 (~LyXDataSocket): close ann unregiser callback
3035 (server): delete function
3036 (fd): delete function
3037 (readln): small changes, improve some std::string usage
3038 (writeln): constify a bit
3040 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3042 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3045 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3047 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3048 after it has been populated
3050 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3052 * text2.C (insertInset): move cursor when inserting inset.
3054 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3056 * kbmap.C (findbindings): a couple of new methods. returns a
3057 container of kb_sequence objects. The real work is done by the
3058 private recursive version
3059 (printbindings): uses findbindings to print out a bracketed list
3060 of bindings (renamed from findbinding).
3062 * MenuBackend.C (binding): use kb_keymap::findbindings
3064 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3066 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3068 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3070 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3072 * paragraph.C (isWord): return true on insets that report
3075 * text.C (getWord): use Paragraph::isWord to decide what is in a
3076 word and what is not; fix bug 1609.
3078 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3080 * tex-strings.C: add "none" to string_paperpackages[], fixes
3081 off-by-one-error in the paperpackage selection.
3084 * tex-strings.[Ch]: char const * string[n]
3085 -> char const * const string[]
3087 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3089 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3090 command, return early.
3092 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3094 * debug.h: add DEBUG to enum and fix size of ANY.
3096 * debug.C: add support for Debug::DEBUG
3097 (showTags): cast errorTags.level to unsigned int
3099 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3100 (redoCurrentBuffer): ditto
3101 (updateScrollbar): ditto
3102 * cursor.C (dispatch): ditto
3103 * text2.C (setLayout): ditto
3105 (updateCounters): ditto
3107 (deleteEmptyParagraphMechanism): ditto
3109 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3111 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3112 annotations to cleanup the Makefile slightly.
3114 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3116 * lyxrc.C: do not set user_email to a default value but use empty
3117 instead. The entry used to be translated, which does not work
3118 since at the point where lyxrc is constructed there is no
3119 translation service available
3121 * messages.C (getLocaleDir): remove and use directly
3122 lyx_localedir() instead
3124 2004-06-02 Angus Leeming <leeming@lyx.org>
3126 Fix crash caused by dereferencing null pointer 'exportdata' in
3127 OutputParams by creating a new ExportData variable on the heap,
3128 storing it in a boost::shared_ptr.
3129 The crash was triggered when generating an Instant Preview
3130 of an external inset.
3132 * Makefile.am: add outputparams.C
3134 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3135 (c-tor): allocate memory to it.
3137 * exporter.C (c-tor): associated changes.
3139 2004-06-01 Angus Leeming <leeming@lyx.org>
3141 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3142 contains data before calling isInset(0). (Bug 1513.)
3144 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3146 * exporter.C (checkOverwrite): new method
3147 * exporter.C (copyFile): new method
3148 * exporter.C (Export): copy referenced files to the document dir
3149 * exporter.[Ch]: new class ExportedFile
3150 * exporter.[Ch]: new class ExportData. Contains currently the
3151 names of referenced external files
3152 * outputparams.h: add exportdata member.
3154 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3156 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3159 2004-05-19 Angus Leeming <leeming@lyx.org>
3164 * lyxfunc.C: small changes due to the introduction of namespace
3165 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3167 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3169 * text3.C (dispatch): supress update when only moving the cursor
3170 * cursor.C (selHandle): remove commented code
3172 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3174 * paragraph.C (startTeXParParams): correct column count
3175 * CutAndPaste.C (pasteSelection): remove const_cast
3176 * output_docbook.C (docbookParagraphs): remove const_cast
3177 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3178 const_cast and return ParagraphList::const_iterator
3179 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3180 * output_plaintext.C (writeFileAscii): remove const_cast
3181 * paragraph.[Ch] (simpleTeXOnePar): make const
3182 * paragraph_funcs.C (outerPar): use const iterators
3183 * paragraph_pimpl.C (validate): use const iterators
3184 * text.C (setHeightOfRow): use const iterators
3186 2004-05-17 Angus Leeming <leeming@lyx.org>
3189 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3191 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3192 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3193 if the citation engine has changed.
3195 2004-05-14 José Matos <jamatos@lyx.org>
3197 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3198 if the textclass does not provide it. Have it different for sgml and
3200 support the language of document.
3201 * output_docbook.C (docbookParagraphs):
3202 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3203 first anchor as the id of the paragraph, remove special case code.
3204 * sgml.C (escapeChar): escape only < & >.
3206 2004-05-14 Angus Leeming <leeming@lyx.org>
3208 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3209 dependencies on src/frontends/controllers/biblio.h. Define a
3210 CiteEngine_enum wrapper class to enable the enum to be forward
3213 2004-05-12 Angus Leeming <leeming@lyx.org>
3215 * buffer.C: up LYX_FORMAT to 234.
3216 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3217 use_numerical_citations with a single biblio::CiteEngine cite_engine
3219 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3221 2004-05-13 José Matos <jamatos@lyx.org>
3224 * converter.C (Converter, readFlags): add xml member.
3225 * outputparams.h: add XML flavor.
3226 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3228 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3230 * lyxfunc.C (dispatch):
3231 (getStatus): fix handling of LFUN_SEQUENCE
3233 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3235 * debug.C (showLevel): do not forget the end-of-line marker
3237 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3239 * kbmap.C (read): do not stop parsing a bind file when an error
3242 2004-04-29 Angus Leeming <leeming@lyx.org>
3247 * text2.C: wrap a bunch of #warning statements
3248 inside #ifdef WITH_WARNINGS blocks.
3250 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3252 * buffer.C: increment format to 233.
3254 2004-04-28 Angus Leeming <leeming@lyx.org>
3256 * BufferView_pimpl.C:
3259 s/updateToolbar()/updateToolbars()/
3260 s/Toolbar.h/Toolbars.h/
3262 2004-04-28 Angus Leeming <leeming@lyx.org>
3264 * BufferView.[Ch] (c-tor):
3265 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3266 No longer passes these data to the WorkArea generator.
3268 2004-04-28 Angus Leeming <leeming@lyx.org>
3270 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3272 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3274 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3276 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3278 * output_latex.C (TeXEnvironment): make sure that there is a line
3279 break before \end{foo} for the last paragraph of a document
3280 (TeXOnePar): if the paragraph is at the end of the document (or
3281 inset) and the language has to be reset, then make sure that the
3282 line break is _before_ the language command, not after (fixes bug
3283 1225); also make sure that the language reset command is the first
3284 thing after the paragraph (to ensure proper nesting of
3285 environments and thus fix bug 1404)
3287 2004-04-21 John Levon <levon@movementarian.org>
3290 * ToolbarBackend.C: make "name" be a programmatic name
3291 and a gui_name field.
3293 * lyxfunc.C: display the minibuffer on M-x
3295 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3297 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3300 2004-04-19 Angus Leeming <leeming@lyx.org>
3302 * BufferView_pimpl.C (setBuffer): changed preview interface.
3304 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3307 2004-04-19 John Levon <levon@movementarian.org>
3309 * BufferView_pimpl.C:
3310 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3312 2004-04-05 Angus Leeming <leeming@lyx.org>
3314 * text.C (redoParagraphs): add call to updateCounters(), thereby
3315 fixing the missing "Figure #:" label from the caption of a
3318 2004-04-13 Angus Leeming <leeming@lyx.org>
3320 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3321 cursor is clicked out of an inset.
3323 2004-04-13 Angus Leeming <leeming@lyx.org>
3325 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3326 than an InsetOld one.
3328 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3330 * format.[Ch]: add editor to Format
3331 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3332 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3334 2004-04-08 André Pönitz <poenitz@gmx.net>
3336 * metricsinfo.h: remove PainterInfo::width member
3338 2004-04-08 Angus Leeming <leeming@lyx.org>
3340 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3341 "\providecommand" rather than "\newcommand", thereby preventing
3342 clashes with packages that define "\boldsymbol" themselves.
3345 2004-04-08 Angus Leeming <leeming@lyx.org>
3347 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3348 thereby squashing an unnecessary warning.
3350 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3352 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3355 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3357 * BufferView.C (setCursor): call redoParagraph (some insets could
3359 (putSelectionAt): remove the 'double update' trick
3361 * BufferView_pimpl.C (fitCursor): call refreshPar
3362 (workAreaDispatch): remove an uneeded update call
3363 (dispatch): remove some manual update calls
3365 * cursor.[Ch]: remove cached_y_, updatePos
3366 (selHandle): set noUpdate when appropriate
3368 * lyxfunc.C (dispatch): track if we need an update
3370 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3372 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3373 (paintSelection): cheap optimization, do not call cursorX when not
3375 (paintPars): change signature
3378 (paintTextInset): adjust
3382 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3384 * lengthcommon.C: compilation fix: remove explicit array size from
3385 unit_name[] and friends
3387 2004-04-05 Angus Leeming <leeming@lyx.org>
3389 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3391 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3392 present only for the preferences dialog.
3393 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3395 2004-04-05 Angus Leeming <leeming@lyx.org>
3397 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3398 to enable the frontends to export changes to lyxrc correctly.
3400 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3402 2004-04-07 André Pönitz <poenitz@gmx.net>
3404 * cursor.[Ch] (selClear, adjust): remove math
3406 * cursor_slice.C: more agressive assert
3409 * BufferView_pimpl.C: rework mouse event dispatch
3416 2004-04-05 André Pönitz <poenitz@gmx.net>
3418 * cursor.[Ch] (valign, halign...): remove unneeded functions
3420 2004-04-05 Angus Leeming <leeming@lyx.org>
3422 * lyxlength.[Ch] (unit_name et al.): const-correct.
3424 2004-04-05 Angus Leeming <leeming@lyx.org>
3426 * BufferView_pimpl.C:
3435 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3437 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3439 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3441 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3443 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3444 * BufferView_pimpl.[Ch] (getStatus)
3445 * BufferView.[Ch] (getStatus): add
3446 * lyxfunc.C (getStatus): move lfuns handled in
3447 BufferView::dispatch to te function above
3448 * Cursor.C (setSelection): set selection() = true
3450 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3452 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3454 2004-03-31 Angus Leeming <leeming@lyx.org>
3456 * lyxfunc.C (dispatch): Fall through to the generic
3457 Dialogs::show("preamble").
3459 2004-03-31 Angus Leeming <leeming@lyx.org>
3461 * lyxfunc.C (dispatch): Fall through to the generic
3462 Dialogs::show("spellchecker").
3464 2004-03-31 Angus Leeming <leeming@lyx.org>
3466 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3469 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3474 * insetiterator.[Ch]:
3479 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3481 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3483 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3484 insets where we are putting the cursor.
3486 2004-03-31 Angus Leeming <leeming@lyx.org>
3489 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3491 * lyxrc.[Ch] (read, write): overloaded member functions taking
3492 a std::[io]stream arguments.
3494 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3496 2004-03-31 Angus Leeming <leeming@lyx.org>
3498 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3499 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3501 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3502 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3504 2004-03-31 Angus Leeming <leeming@lyx.org>
3506 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3507 the LFUN_ALL_INSETS_TOGGLE code.
3509 2004-03-30 Angus Leeming <leeming@lyx.org>
3511 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3512 has died. Fall through to the generic Dialogs::show("document").
3514 2004-03-30 Angus Leeming <leeming@lyx.org>
3517 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3518 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3520 * lyxfunc.C (getStatus, dispatch): define the actions for these
3521 lfuns. Little more than a cut and pste job from ControlDocument.C
3523 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3525 2004-03-30 Angus Leeming <leeming@lyx.org>
3528 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3529 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3531 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3532 open/closed state of ollapsable insets. Usage:
3534 all-inset-toggle <state> <name>, where
3535 <state> == "open" || "closed" || "toggle" and
3536 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3538 * lyxtext.h, text2.C (toggleInset): removed.
3540 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3541 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3542 now passes LFUN_INSET_TOGGLE to the found inset.
3544 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3545 is now invoked as "all-insets-toggle toggle branch".
3547 2004-03-30 Angus Leeming <leeming@lyx.org>
3551 * pariterator.[Ch]: added/corrected header blurb.
3553 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3555 * dociterator.[Ch]: add an inset_ member
3556 (backwardPos): implemented
3557 (backwardPos, forwardPos): use inset_ when the stack is empty.
3558 (doc_iterator_begin, doc_iterator_end): implemented
3559 * pariterator.[Ch]: adjust, add begin, end
3560 * insetiterator.[Ch]: adjust, add begin, end
3564 * BufferView_pimpl.C:
3565 * CutAndPaste.C: adjust
3567 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3569 * buffer.C: increment file format to 232.
3570 * LaTeXFeatures.C: add bibtopic package.
3571 * bufferparams.[Ch]: param \use_bibtopic.
3573 * lyxrc.[Ch]: add lyxrc bibtex_command
3574 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3576 * buffer.C: increment file format to 231.
3578 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3580 * dociterator.C: implement forwardPar
3581 * iterators.[Ch]: remove, replaced by
3582 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3584 * BufferView_pimpl.C:
3587 * bufferview_funcs.C:
3593 * Makefile.am: adjust
3595 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3597 * CutAndPaste.C (pasteSelection): fix 2 crashes
3598 (eraseSelection): fix a crash
3599 * paragraph_funcs.C: remove a warning
3601 2004-03-28 Angus Leeming <leeming@lyx.org>
3604 * LyXAction.C (init): new LFUN_PRINT.
3606 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3608 2004-03-27 Angus Leeming <leeming@lyx.org>
3611 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3613 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3615 2004-03-27 Angus Leeming <leeming@lyx.org>
3617 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3618 insetlist always contains non-null pointers to insets.
3620 2004-03-26 Angus Leeming <leeming@lyx.org>
3622 * src/BufferView_pimpl.C:
3623 * src/CutAndPaste.C:
3626 * src/output_plaintext.C:
3627 * src/outputparams.h:
3628 * src/paragraph_funcs.C:
3632 * src/frontends/controllers/ControlErrorList.C:
3633 * src/frontends/gtk/FileDialogPrivate.C:
3634 * src/frontends/gtk/GPainter.C:
3635 * src/frontends/gtk/GToolbar.C:
3636 * src/frontends/qt2/QRef.C:
3637 * src/mathed/math_scriptinset.C: squash compiler warnings.
3639 2004-03-26 Angus Leeming <leeming@lyx.org>
3641 * ispell.C (LaunchIspell::start):
3642 * lyx_cb.C (AutoSaveBuffer::start):
3643 invoke run(DontWait) rather than runNonBlocking().
3645 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3647 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3649 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3651 * kbsequence.C (print): adjust
3653 * kbmap.C (printKeySym): rename and change signature
3654 (printKey): use LyXKeySym::print()
3656 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3658 * undo.C: add using std::advance to compile for stlport
3660 2004-03-24 Angus Leeming <leeming@lyx.org>
3662 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3663 it leads to a crash when no buffer is present.
3665 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3666 Martin Vermeer <martin.vermeer@hut.fi>
3668 * lyxfunc.C (dispatch):
3669 * bufferparams.C (readToken): use the new LColor::setColor
3671 * LColor.[Ch] (setColor): new version that takes two strings as
3672 argument and creates a new color entry if necessary
3674 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3676 * buffer.C (makeLaTeXFile): if the main latex file that is
3677 processed is usually a subdocument of some master, then pretend
3678 for a while that it is actually the master
3680 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3682 * buffer.C (getLabelList):
3683 (getBibkeyList): use getMasterBuffer()
3684 (getMasterBuffer): new method. Returns the main document in the
3685 case where one is using included documents.
3687 2004-03-25 André Pönitz <poenitz@gmx.net>
3691 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3693 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3695 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3696 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3698 * ParameterStruct.h: merge with ParagraphParameters
3700 * lyxtext.h: remove LyXText::parOffset() and getPar()
3702 * text3.C: Remove all 'manual' update calls. We do now one per user
3703 interaction which is completely sufficient.
3707 * BufferView_pimpl.C:
3708 * FontIterator.[Ch]:
3710 * ParagraphParameters.[Ch]:
3715 * cursor_slice.[Ch]:
3722 * output_docbook.[Ch]:
3723 * output_latex.[Ch]:
3724 * output_linuxdoc.[Ch]:
3725 * output_plaintext.[Ch]:
3727 * paragraph_funcs.[Ch]:
3728 * paragraph_pimpl.[Ch]:
3736 * frontends/controllers/ControlDocument.C:
3737 * frontends/controllers/ControlErrorList.C:
3738 * frontends/controllers/ControlSpellchecker.C:
3741 * insets/insetbase.h:
3742 * insets/insetbibitem.C:
3743 * insets/insetbox.C:
3744 * insets/insetbranch.C:
3745 * insets/insetcaption.C:
3746 * insets/insetcharstyle.C:
3747 * insets/insetcharstyle.h:
3748 * insets/insetcollapsable.C:
3749 * insets/insetcollapsable.h:
3750 * insets/insetert.C:
3751 * insets/insetfloat.C:
3752 * insets/insetfoot.C:
3753 * insets/insetmarginal.C:
3754 * insets/insetnote.C:
3755 * insets/insetoptarg.C:
3756 * insets/insettabular.C:
3757 * insets/insettext.C:
3758 * insets/insettext.h:
3759 * insets/insetwrap.C:
3760 * mathed/math_mboxinset.C:
3761 * mathed/math_nestinset.C:
3762 * mathed/math_scriptinset.C:
3763 * mathed/math_scriptinset.h:
3766 2004-03-24 Angus Leeming <leeming@lyx.org>
3768 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3769 deal with any child processes that have finished but are waiting to
3770 communicate this fact to the rest of LyX.
3772 2004-03-24 Angus Leeming <leeming@lyx.org>
3774 64-bit compile fixes.
3776 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3777 (c-tor): pass lyx::pos_types rather than ints.
3779 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3782 * text.C (Delete): compile fix.
3783 (getPar): ensure that function declaration is the same as that in
3786 2004-03-23 Angus Leeming <leeming@lyx.org>
3788 * ispell.C (LaunchIspell):
3789 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3790 a boost::shred_ptr rather than a std::auto_ptr.
3792 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3794 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3795 handle LFUN_FILE_INSERT_*
3797 * lyxrc.C (setDefaults, getDescription, output, read):
3798 * lyxrc.h: remove ps_command
3800 2004-03-22 Angus Leeming <leeming@lyx.org>
3802 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3803 Ensure that error_handler is processed once only and that all data
3804 is saved before attempting to output any warning messages.
3806 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3808 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3810 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3812 2004-03-19 André Pönitz <poenitz@gmx.net>
3814 * cursor.[Ch] (reset): take main text inset as argument
3816 * BufferView: adjust
3817 * BufferView_pimpl.C: adjust
3819 * paragraph.[Ch]: fix completely broken operator=()
3821 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3823 * LColor.C (getFromLyXName): make sure that the color name is used
3826 2004-03-17 Angus Leeming <leeming@lyx.org>
3829 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3831 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3832 dialog and to kill a forked process.
3834 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3836 * text2.C (setCursorFromCoordinates): fix font problem
3838 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3840 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3841 bogus "rebuild cursor" code
3843 2004-03-11 André Pönitz <poenitz@gmx.net>
3845 * buffer.[Ch]: use InsetText instead of LyXText as container for
3848 * dociterator.[Ch]: drop the BufferView * member which is not needed
3849 anymore after the change to buffer.C
3851 * paragraph_funcs.C:
3855 * BufferView_pimpl.[Ch]:
3857 * cursor_slice.[Ch]: adjust
3859 * text3.C: fix bug in mathDispatch
3861 2004-03-08 André Pönitz <poenitz@gmx.net>
3863 * undo.[Ch]: use 'StableDocumentIterator' as base for
3866 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3869 * bufferparams.[Ch]: add jurabib support and param.
3871 * LaTeX.C: add FIXME/comment.
3873 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3875 * buffer.C: increment file format to 230.
3877 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3879 * cursor.C (dispatch): avoid infinite loops
3881 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3883 * rowpainter.C (paintSelection): fix x coordinates
3885 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3887 * text.C (rowBreakPoint): fix breaking before displayed insets
3889 2004-03-01 André Pönitz <poenitz@gmx.net>
3891 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3893 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3897 * BufferView_pimpl.C:
3905 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3911 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3912 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3914 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3916 * Bidi.[Ch] (computeTables): const correctness
3917 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3918 fill_hfill, fill_label_hfill and x from Row
3919 * lyxtext.h: prepareToPrint returns a RowMetrics
3920 * rowPainter.C: adjust
3921 * text.C (prepareToPrint): use width, not textWidth. adjust
3922 (redoParagraphInternal, cursorX): adjust
3923 * text2.C (getColumnNearX): adjust
3924 (init): put a default value to the top LyXText::width
3926 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3928 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3930 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3932 * lyxtext.h: add FontIterator class
3934 * text.C (FontIterator, operator*, operator->, operator++): add
3935 (rowBreakPoint, setRowWidth): adjust (fixing a
3938 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3940 * BufferView_pimpl.C (workAreaDispatch): allow also
3941 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3943 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3945 * text.C (rowBreakPoint): fix a bug showing with very large insets
3947 2004-02-25 André Pönitz <poenitz@gmx.net>
3950 * cursor.[Ch]: move some mathed specific code to mathed
3952 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3954 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3955 use_tempdir in preferences
3956 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3958 * lyx_main.C: ensure that tempdir is valid
3959 * lyxlex.h: correct typo
3960 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3961 * paragraph.[Ch] (isMultiLingual): make const
3962 * cursor.[Ch] (openable): make const
3964 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3966 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3968 2004-02-20 André Pönitz <poenitz@gmx.net>
3970 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3972 * cursor.[Ch]: prepare for localized getStatus()
3978 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3980 2004-02-20 André Pönitz <poenitz@gmx.net>
3982 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3984 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3986 * text2.C (setCursorFromCoordinates): switch to absolute coords
3988 (cursorDown): adjust
3989 * text3.C (dispatch): adjust
3991 2004-02-16 André Pönitz <poenitz@gmx.net>
3993 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3996 * cursor_slice.[Ch]: remove unneeded acessor function
3998 * lyxtext.h: rename rtl() to isRTL()
4006 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4008 * rowpainter.C (paintSelection): coord fix
4010 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4012 * Spacing.C: compile fix
4014 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4016 * cursor.C (dispatch): restore current_ before returning
4018 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4020 * text2.C (cursorUp, cursorDown): fix coords
4023 2004-02-12 André Pönitz <poenitz@gmx.net>
4028 * text3.C: add LCursor & parameter to most cursor movement functions
4029 remove usage of LyXText::cursorRow() and cursorPar()
4031 * cursor.[Ch]: add textRow() needed members
4034 * BufferView_pimpl.C:
4037 * BufferView_pimpl.C: adjust
4039 2004-02-11 André Pönitz <poenitz@gmx.net>
4043 * BufferView_pimpl.C: shift undo/redo handling
4045 * cursor.[Ch]: fix mathed crash
4048 * lyxtext.h: move selectionAsText to LCursor
4056 * rowpainter.C: fix excessive drawing
4058 2004-02-06 André Pönitz <poenitz@gmx.net>
4061 * BufferView_pimpl.[Ch]:
4062 * text3.C: move some text specific LFUN handling
4064 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4066 * text3.C (checkInsetHit): adjust coords
4067 * text2.C (getColumnNearX): adjust coords
4068 (edit): adjust coords
4069 * text.C (getRowNearY): add two asserts
4071 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4074 * format.C: add using std::distance to compile on gcc 2.95/stlport
4076 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4078 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4080 2004-02-04 André Pönitz <poenitz@gmx.net>
4082 * BufferView.[Ch] (insertInset):
4083 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4088 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4090 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4091 on the default clause of the switch
4092 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4093 wasn't catched by LCursor::dispatch
4095 2004-02-03 André Pönitz <poenitz@gmx.net>
4098 * cursor.[Ch]: some additional asserts
4100 * undo.[Ch]: remove LyXText dependency in interface
4104 * lyxtext.h (firstPar, lastPar): remove dead functions
4109 * paragraph.[Ch]: adjust
4111 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4113 * lyxfind.C (find): fix argument order in call to ::find
4115 2004-02-02 André Pönitz <poenitz@gmx.net>
4117 * cursor.[Ch]: remove direct access to anchor
4119 * text.C: remove findText() hack
4121 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4123 * iterators.[Ch] (lockPath): remove in favour of...
4124 * BufferView.[Ch] (setCursor): this addition
4125 * BufferView.C (putSelectionAt): adjust
4126 * undo.C (performUndoOrRedo): adjust
4127 * lyxfunc.C (dispatch): adjust
4129 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4131 * iterators.C (lockPath): add a missing slice
4132 * undo.C (performUndoOrRedo): remove redundant positioning code
4134 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4136 * vc-backend.C (scanMaster): ";" -> ';'
4138 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4140 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4141 std::binary_function
4143 * lyxtextclass.C (compare_name): rename to...
4144 (LayoutNamesEqual): ...this
4146 * lyxlex_pimpl.C (compare_tags): inherit from
4147 std::binary_function, put back into anon namespace
4149 * lyxfind.C (MatchString): inherig from std::binary_function
4150 (findChange): use empty() istead of !size()
4152 * format.C (FormatNamesEqual): new functor
4159 * converter.C (compare_Converter): rename to...
4160 (ConverterEqual): ...this, and fixup a bit.
4161 (getConverter): use it, and make function const
4162 (getNumber): use it, and make function const
4166 * bufferlist.C: add using boost::bind
4168 * MenuBackend.C (MenuNamesEqual): new functor
4169 (hasMenu): use it, and make function const
4170 (hasSubmenu): use nested bind to get rid of compare_memfun.
4172 2004-01-30 André Pönitz <poenitz@gmx.net>
4174 * BufferView_pimpl.C:
4177 * cursor_slice.[Ch]:
4180 * paragraph_funcs.C:
4181 * paragraph_funcs.h:
4185 * text3.C: move some of the edit(x,y) handling to the insets
4186 some coordinate changes.
4188 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4190 * text.C: add using statements for std::advance and std::distance
4192 * paragraph.C: add using statement for std::distance
4194 * lyxfind.C: add using statement for std::advance
4196 * cursor.C (region): remove std:: from swap
4197 (openable): use nucleus in stead of operator->
4199 * BufferView.C: add using statements for std::distance and std::swap
4201 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * iterators.C: Remove the pimple, move the needed structures to
4204 the header file. Create accessor for the positions stack.
4205 (asPosIterator): remove function
4207 * PosIterator.C (PosIterator): move constructors to top of file
4208 (PosIterator): reimplement the constructor taking a ParIterator in
4210 (setFrom): new function
4211 (operator!=): inline it
4213 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4215 * lyxfind.C (replaceAll): use std::advance
4217 * iterators.h: inherit from std::iterator.
4219 * PosIterator.C (advance, distance): remove
4220 * PosIterator.h: interit from std::iterator.
4222 2004-01-26 André Pönitz <poenitz@gmx.net>
4225 * BufferView_pimpl.[Ch]:
4229 * bufferview_funcs.C:
4239 * output_linuxdoc.C:
4240 * output_plaintext.C:
4242 * paragraph_funcs.[Ch]:
4243 * paragraph_pimpl.[Ch]:
4249 * text3.C: more IU: dumps most of the rest of the mathcursor
4250 implementation into cursor.[Ch]; "globalize" a bit of it.
4252 2004-01-25 Angus Leeming <leeming@lyx.org>
4254 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4256 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4258 * LaTeXFeatures.h: add nice_ and nice() const
4259 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4261 2004-01-20 André Pönitz <poenitz@gmx.net>
4264 * BufferView_pimpl.C:
4266 * bufferview_funcs.C:
4268 * cursor_slice.[Ch]:
4279 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4280 LCursor and mathcursor parts to LCursor and InsetBase.
4282 2004-01-15 André Pönitz <poenitz@gmx.net>
4284 * cursor_slice.[Ch]: add a few covienience functions
4286 * funcrequest.[Ch]: remove BufferView * member
4288 * BufferView_pimpl.C:
4295 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4297 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4299 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4300 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4302 2004-01-13 André Pönitz <poenitz@gmx.net>
4305 * lyxtext.h: hide cursor and selection anchor behind accessor function
4308 * BufferView_pimpl.[Ch]:
4310 * bufferview_funcs.C:
4320 * cursor_slice.[Ch]: some integer type changes for inset unification
4322 * lyxcursor.[hC]: remove, it's CursorSlice now.
4325 * BufferView_pimpl.[Ch]:
4326 * bufferview_funcs.C:
4332 * textcursor.[Ch]: adjust
4334 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4336 * text2.C (undoSpan): add and use
4337 * text.C (breakParagraph): use undoSpan (fix bug 578)
4340 2004-01-08 Angus Leeming <leeming@lyx.org>
4342 * BufferView_pimpl.C (MenuInsertLyXFile):
4343 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4344 * lyxfunc.C (menuNew, open, doImport):
4345 FileFilterList change to the FileDialog open and save functions.
4347 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4349 * ShareContainer.h: make isEqual and isUnique adaptable
4351 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4353 2004-01-07 Angus Leeming <leeming@lyx.org>
4356 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4358 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4360 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4361 functions replacing find, replace and replaceAll.
4363 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4364 LFUN_WORDFIND(FORWARD|BACKWARD).
4366 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4368 * text.C (breakParagraph): remove an outdated #warning
4370 2004-01-07 André Pönitz <poenitz@gmx.net>
4372 * lyxfind.C: somewhat clearer logic
4374 * text.C: prevent crash in cursorX on unitialized row cache
4376 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4378 * lyxcursor.[Ch] (operator>): add
4379 * textcursor.C (selStart, selEnd): use std::min and std::max
4381 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4383 * Chktex.C: include boost/format.hpp
4385 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4387 * InsetList.C: replace functor MathcIt with adaptable functor
4389 (insetIterator): modify accordingly
4391 * BranchList.h: move the BranchNamesEqual functor here from...
4392 * BranchList.C: ... to here
4394 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4396 (add): replace a finding loop with std::find_if.
4398 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4400 * output_docbook.C: moving LatexParam functionality into
4403 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4405 * buffer.C: increment format to 229.
4407 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4410 * lyx_sty.[Ch]: remove minipageindent_def
4416 * text3.C: remove LFUN_INSET_MINIPAGE
4418 2003-12-28 Angus Leeming <leeming@lyx.org>
4420 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4422 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4424 * text2.C (setParagraph): fix off-by-one crash
4426 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4428 * output_docbook.C: header stuff for AGU
4430 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4432 * text2.C (redoCursor): remove
4435 * BufferView_pimpl.C: remove calls to redoCursor and
4436 setCursor(cursor.par(), cursor.pos()) all around
4438 2003-12-15 Angus Leeming <leeming@lyx.org>
4440 * buffer.C: up the format to 228.
4442 2003-12-15 André Pönitz <poenitz@gmx.net>
4444 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4449 * BufferView_pimpl.C:
4458 2003-12-15 Angus Leeming <leeming@lyx.org>
4460 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4461 than getFromGUIName to manipulate the color.
4463 2003-12-14 Angus Leeming <leeming@lyx.org>
4465 * BranchList.[Ch]: minimize the API.
4466 (Branch::getBranch, getColor): now return a 'const &'.
4467 (Branch::setSelected) now returns a bool set to true if the
4468 selection status changes.
4469 (BranchList::clear, size, getColor, setColor, setSelected,
4470 allBranches, allSelected, separator): removed.
4471 (BranchList::find): new functions, returning the Branch with
4473 (BranchList::add, remove): return a bool indicating that
4474 the operation was successful.
4476 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4477 new InsetBranch::isBranchSlected member function.
4479 * LColor.[Ch]: mimimize the API.
4480 (fill): renamed as addColor and made private.
4481 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4482 versions of these functions taking a string arg have been removed.
4484 * bufferparams.C (readToken):
4485 * lyxfunc.C (dispatch):
4486 * lyxrc.C (read): changes due to the altered BranchList and
4489 * factory.C (createInset, readInset): changes due to altered
4492 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4495 * lyxfunc.C: remove insetminipage. "minipage-insert"
4496 now produces a frameless minipage box inset.
4498 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4500 * textcursor.[Ch] (selStart,selEnd): add new methods
4501 remove selection::start, end, use LyXCursor::operator<
4502 * lyxcursor.[Ch] (operator<): add
4503 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4504 * BufferView.[Ch] (unsetXSel): add
4505 * text2.C (clearSelection): use unsetXSel,adjust
4508 * rowpainter.C: adjust
4509 * bufferview_funcs.C (put_selection_at): adjust
4511 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4513 * BufferView_pimpl.C: small coord. correction
4515 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4517 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4518 dragging over the splash screen.
4520 2003-12-11 Angus Leeming <leeming@lyx.org>
4522 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4523 as it is now handled in LyXText::dispatch.
4525 * text3.C (doInsertInset): remove a level of nesting.
4527 2003-12-11 Angus Leeming <leeming@lyx.org>
4529 * factory.C (createInset): changes due to the changed interface to
4530 InsetCommandMailer::string2params.
4532 2003-12-10 Angus Leeming <leeming@lyx.org>
4534 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4535 'dialog-show-new-inset <inset name>'
4537 2003-12-10 Angus Leeming <leeming@lyx.org>
4539 * buffer.C: up the format to 227.
4541 * factory.C: the box inset is now identified simply by 'Box'.
4543 2003-12-10 Angus Leeming <leeming@lyx.org>
4545 * buffer.C: up the format to 226.
4547 * factory.C: the note inset is now identified simply by 'Note'.
4549 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4551 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4552 when a pit is enough. Standarize a couple of loops.
4554 2003-12-05 Angus Leeming <leeming@lyx.org>
4556 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4557 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4558 data to the re-worked "log" dialog.
4560 2003-12-03 André Pönitz <poenitz@gmx.net>
4566 * paragraph_funcs.C:
4568 * text2.C: use Inset::getText instead of Inset::getParagraph
4570 2003-12-03 André Pönitz <poenitz@gmx.net>
4574 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4575 InsetText::read() as LyXText::read()
4577 2003-12-02 Angus Leeming <leeming@lyx.org>
4579 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4580 type. Add a comment in the implementation that the function uses
4581 the stream's bad() function rather than fail() as the std::streams
4584 2003-12-02 André Pönitz <poenitz@gmx.net>
4586 * lyxlex.[Ch]: make interface more similar to std::stream
4588 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4590 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4592 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4594 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4596 * vspace.[Ch]: remove VSpace::NONE
4598 2003-12-01 André Pönitz <poenitz@gmx.net>
4601 * lyxtext.h: move ParagraphList member to LyXText
4602 rename LyXText::ownerParagraphs to LyXText::paragraph
4605 * bufferview_funcs.C:
4615 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4617 * undo.C: fix cursor positioning
4619 2003-12-01 John Levon <levon@movementarian.org>
4621 * BufferView_pimpl.C: fix a crash on exit with
4624 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4626 * BranchList.C: fix setSelected() method.
4628 2003-11-28 André Pönitz <poenitz@gmx.net>
4630 * ParagraphParameters.[Ch]:
4631 * ParameterStruct.h: remove space above/below from Paragraph to
4634 * BufferView_pimpl.C:
4640 * paragraph_funcs.C:
4646 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4648 * factory.C: Syntax change for CharStyles
4650 2003-11-28 André Pönitz <poenitz@gmx.net>
4655 * buffer.[Ch]: move LyXText member
4657 2003-11-28 André Pönitz <poenitz@gmx.net>
4659 * BufferView.[Ch]: make LyXText * text a private member
4661 * BufferView_pimpl.C:
4672 * output_plaintext.C: cleanup
4674 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4677 * lyxtextclass.[Ch]: parametrize SGML document header
4679 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4682 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4685 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4687 * text2.C (setFont): rework using PosIterator (no more recursive)
4688 (setCharFont): no more needed
4689 (setLayout): no more selection cursors fiddling (done by redoCursor)
4690 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4691 destroy remaining ones)
4693 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4695 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4697 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4700 * text3.C: adjust + re-allow multi par depth changes
4701 * textcursor.C: simplify a bit
4703 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4709 * src/output_docbook.C:
4710 * src/output_latex.C:
4715 * src/text2.C: Introducing a number of tags parametrizing various
4716 XML formats that we may want to support
4718 2003-11-25 André Pönitz <poenitz@gmx.net>
4720 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4722 * lyxtext.h (leftMargin/rightMargin): simplify interface
4729 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4731 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4732 master file to any child files. Fixes bug 546.
4734 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4736 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4738 2003-11-24 André Pönitz <poenitz@gmx.net>
4740 * rowpainter.C: simplification
4742 * text2.C (updateCounters): remove call to redoParagraph on
4743 changed labels as this is far too expensive.
4745 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4747 * converter.C (convert): fix a crash: this function gets
4748 called with buffer == 0 from importer code.
4750 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4752 * text3.C (cursorPrevious): make sure that we do not compare
4753 iterators form different containers.
4756 * rowpainter.C (paintSelection): make sure that we do not compare
4757 iterators from different containers.
4759 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4760 iterators from different ParagraphList containers.
4763 * text2.C (LyXText): change order of initialization slightly
4764 (operator=): new function. copy all variables except cache_par_
4765 (moveUp): make sure that we do not compare iterators from
4766 different ParagraphList constainers.
4769 * text.C (firstPar): new function
4770 (lastPar): new function
4771 (endPar): new function
4773 * lyxtext.h: move things around and group public functions, public
4774 variables, private functions, private variables
4776 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4778 * factory.C: change call to InsetERT constructor to avoid
4779 additional invocation of method status
4780 * text2.C (toggleInset): remove redundant update() call
4781 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4782 instead of a Bufferview pointer
4784 2003-11-21 André Pönitz <poenitz@gmx.net>
4786 * rowpainter.C: simplification
4788 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4790 * text3.C (dispatch): make possible to extend a word/row selection
4793 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4795 * lyxtext.h: x0_,y0_ -> xo_,yo_
4796 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4797 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4798 * rowpainter.C (paintRows): paint full paragraphs
4800 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4802 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4805 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4807 * lyxtext.h: add x0_, y0_
4808 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4809 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4811 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4813 * text2.C (setCursorIntern): move the x_target update here *
4814 * text3.C: change some bv() to true/false in calls to
4815 cursorUp/Down/Right/Left
4816 * cursor.C: use helper function.
4818 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4820 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4821 * paragraph_funcs.[Ch]: correct comment
4822 * rowpainter.C: do not paint selections away from bv->cursor()
4823 Fix a long standing selection painting bug.
4824 * text3.C: generalize mouse-selection code to LyXTexts other that
4826 * textcursor.C: do not use y coords if we can use par offsets
4828 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4830 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4831 cursor position after e.g. inset insert)
4833 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4835 * lyxfind.C (replace): adjust to locking removal + some
4838 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4840 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4843 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4846 * output_docbook.C: XML sanitation: new layout
4847 parameters InnerTag and CommandDepth
4849 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4851 * BufferView_pimpl.C:
4853 * text3.C: Fix the insertion and modification of button-style
4856 2003-11-13 André Pönitz <poenitz@gmx.net>
4858 * InsetList.[Ch]: remove deleteLyXText
4860 * paragraph.[Ch]: cache beginOfBody position
4865 * text3.C: remove superfluous update() calls
4869 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4871 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4872 * BufferView.C (fitLockedInsetCursor): remove
4873 * cursor.[Ch] (getDim): add
4874 * text.C (getRowNearY): add faster version
4875 * text3.C: remove some update calls
4877 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4889 * text3.C: The Character Style /XML short element patch.
4891 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4894 * factory.C: Small step to solving 'unable to insert some insets'
4897 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4899 * cursor.[Ch] (updatePos): new function for updating the y
4900 position of the tip inset
4901 * bufferview_funcs.C (put_selection_at):
4902 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4904 2003-11-11 André Pönitz <poenitz@gmx.net>
4906 * text.C: remove big comment on invalid Paragraph pointers as it is
4909 2003-11-11 André Pönitz <poenitz@gmx.net>
4911 * text_funcs.[Ch]: merge with ...
4919 * Makefile.am: remove text_funcs.[Ch]
4921 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4923 * cursor.C (getPos): return absolute cached y coord
4925 * BufferView_pimpl.C (fitCursor): new simplistic code
4926 (workAreaDispatch): add a fitCursor call
4928 2003-11-10 André Pönitz <poenitz@gmx.net>
4931 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4933 2003-11-10 André Pönitz <poenitz@gmx.net>
4935 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4936 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4937 indicate that the cursor needs to leave an inset
4939 * lyxtext.h: remove inset locking
4941 * cursor.[Ch]: re-implement functionality provided by inset locking
4944 * BufferView_pimpl.[Ch]:
4946 * bufferview_funcs.[Ch]:
4958 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4960 * PosIterator.[Ch]: replace the stack with a vector, add inset
4962 * iterators.[C]: adjust
4964 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4966 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4968 * paragraph_funcs.C (readParToken): put the correct id in the
4969 error item, not the id of the top paragraph
4971 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4973 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4974 * bufferview_funcs.C (put_selection_at): use the above
4976 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4978 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4980 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4982 * output_linuxdoc.h:
4983 * output_plaintext.h:
4985 * output_docbook.h: add #include statements
4987 2003-11-05 José Matos <jamatos@lyx.org>
4989 * output_docbook.[Ch]:
4990 * output_latex.[Ch]:
4991 * output_linuxdoc.[Ch]:
4992 * output_plaintext.[Ch]: New files for output formats.
4993 * output.[Ch]: New file for helper functions.
4996 * paragraph_funcs.[Ch]: output functions moved to new files.
4998 * outputparams.h: rename of latexrunparams.h
5006 * paragraph_funcs.[Ch]:
5007 * paragraph_pimpl.[Ch]:
5008 * tabular.[Ch]: rename ascii to plaintext
5009 and LatexRunParams to OutputParams.
5011 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5013 * iterators.[Ch] (text): require bv argument
5014 * undo.C (recordUndo):
5015 * lyxfunc.C (dispatch):
5016 * bufferview_funcs.C (put_selection_at): adjust
5018 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5020 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5022 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5024 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5027 2003-11-04 André Pönitz <poenitz@gmx.net>
5029 * cursor.[Ch]: restructure
5032 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5034 * iterators.[Ch] (asCursor): remove
5036 * lfuns.h: remove LFUN_INSET_EDIT
5042 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5044 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5046 * lyxfind.[Ch]: complete overhaul
5047 * BufferView_pimpl.C:
5049 * paragraph.[Ch] (insert): add
5051 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5055 * text.C: remove dead spellcheck code
5057 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5059 * dispatchresult.h: add a val setter
5061 * cursor.C (dispatch): use a tempvar for data_[i]
5063 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5065 * PosIterator.[Ch]: compile fix
5067 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5069 * text.C (cursorPar): deactivate the cursor cache
5071 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5073 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5075 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5077 * text3.C (dispatch): adjust for new DisptchResult semantics.
5079 * lyxfunc.C (dispatch): handle update when return from
5080 Cursor::dispatch, adjust for new DispatchResult semantics.
5082 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5083 DispatchResult(true) mean to not update. Add class functions for
5084 setting dispatched and update, as well as reading.
5086 * cursor.C (dispatch): don't handle update here
5088 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5090 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5091 * trans_mgr.C: adjust
5093 * paragraph_funcs.C (readParToken): exception safety
5095 * lyxvc.h: store the vcs pointer in a scoped_ptr
5098 * lyxsocket.C (serverCallback): exception safety
5100 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5102 * ispell.C (clone): make it return a auto_ptr
5104 * factory.C (createInset): exception safety
5105 (readInset): exception safety
5107 * bufferlist.C (newBuffer): exception safety
5109 * Thesaurus.C (Thesaurus): use initialization for aik_
5111 * MenuBackend.C (expandToc): exception safety.
5113 2003-11-03 André Pönitz <poenitz@gmx.net>
5117 * bufferview_funcs.C: remove getInsetFromId()
5120 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5126 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5128 * PosIterator.C (distance, advance): new
5129 * bufferview_funcs.[Ch] (put_selection_at): new
5130 * iterators.[Ch] (lockPath): new
5132 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5134 * iterators.[Ch] (asPosIterator): added
5135 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5136 * PosIterator.[Ch]: added
5138 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5142 * cursor.C (dispatch):
5143 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5145 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5146 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5147 contructor, add a class function dispatched. Remove operator>=
5149 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5151 * debug.C: only use the default constructor for debugstream
5154 * main.C (main): include debug.h and setup the lyxerr streambuf
5157 2003-10-31 José Matos <jamatos@lyx.org>
5159 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5161 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5162 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5163 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5164 * paragraph_pimpl.C (simpleTeXSpecialC):
5165 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5166 add LatexRunParams argument.
5168 * exporter.C (Export): change call accordingly.
5170 * latexrunparams.h: add new member to take care of the other backends.
5171 2003-10-30 José Matos <jamatos@lyx.org>
5173 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5174 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5175 factorise code for paragraph output.
5177 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5180 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5182 * text3.C (dispatch):
5183 * lyxfunc.C (dispatch):
5184 * cursor.C (dispatch):
5185 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5187 * dispatchresult.h: make the dispatch_result_t ctor explicit
5189 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5192 * buffer.C: small refactoring of docbook stuff
5194 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5196 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5199 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5201 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5202 operator dispatch_result_t, and operators for == != and >=
5204 * cursor.C (dispatch): adjust for operator dispatch_result_t
5205 removal. comment out call to update
5207 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5209 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5217 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5220 * dispatchresult.h: new file, DispatchResult broken out of
5223 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5225 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5227 * text.C (rowBreakPoint): put a hack inside #if 0
5229 2003-10-28 André Pönitz <poenitz@gmx.net>
5233 * paragraph_funcs.C:
5236 * text2.C: general cleanup (lots of small stuff)
5238 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5240 * text2.C (cursorEnd): simple fix to the "end key goes to one
5241 before the end on last row" bug
5243 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5245 * text.C (backspace): fix the "zombie characters"
5247 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5249 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5251 2003-10-27 André Pönitz <poenitz@gmx.net>
5253 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5255 * factory.C: handle new InsetPagebreak, InsetLine
5257 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5258 and move handling into new InsetPagebreak, InsetLine
5260 * BufferView_pimpl.C:
5262 * ParagraphParameters.C:
5263 * ParameterStruct.h:
5268 * paragraph_funcs.C:
5269 * paragraph_pimpl.C:
5275 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5278 * lyxrow_funcs.[Ch]:
5284 * text3.C: remove lastPos uses in favour of Row::endpos
5286 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5288 * undo.C (performUndoOrRedo): fix two crashes by setting a
5289 cursor by hand and reordering some calls. Use bv->lockInset instead
5290 of inset->edit because the latter loses cursor information
5292 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5294 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5296 (rowBreakPoint): fix width. change point to point + 1.
5297 Add a missing check.
5299 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5302 * lyxfunc.C: fix (at least partly) the problems
5303 with the Nav menu and headers inside branch insets
5306 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5308 * paragraph.C (getChar): add strong asserts
5310 * lyxrow_funcs.C (lastPos): remove hideous hack
5312 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5313 (fill): adjust to that (avoid an infinite loop)
5315 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5317 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5319 2003-10-23 André Pönitz <poenitz@gmx.net>
5321 * RowList_fwd.h: change list<> to vector<> to gain speed
5322 after suggestion from Alfredo
5324 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5326 * lyxtext.h: move the bidi stuff from here...
5329 * Bidi.[Ch]: ... to here
5331 2003-10-23 André Pönitz <poenitz@gmx.net>
5334 * text.C (isLastRow, isFirstRow): new functions
5336 * paragraph.h: new width cache member
5338 * rowpainter.C: replace RowList::iterator with Row & where possible
5340 * lyxfunc.C: replace several view()->text with a single call
5342 * toc.C: fix 'unused' warning
5344 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5346 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5347 when woring with stream::pos_type
5348 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5350 2003-10-22 André Pönitz <poenitz@gmx.net>
5353 * text.C: use Row & instead of RowList::iterator
5355 * lyxrow.h: rename end() to endpos()
5361 2003-10-22 Angus Leeming <leeming@lyx.org>
5363 * buffer.[Ch] (fully_loaded): new member function, returning true
5364 only when the file has been loaded fully.
5365 Used to prevent the premature generation of previews and by the
5366 citation inset to prevent computation of the natbib-style label.
5368 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5369 templates are all set up.
5371 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5373 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5375 * text.C: fixed an "oops" in the "is a bit silly"
5378 2003-10-21 André Pönitz <poenitz@gmx.net>
5380 * FuncStatus.[Ch]: small stuff, whitespace
5382 * lyxfont.[Ch]: operator<<() for debug reasons
5386 * lyxtext.h: whitespace, spelling
5388 * paragraph.C: naming of variables
5391 * text2.C: small stuff
5394 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5396 * text.C: (1) finish off the inset display() work;
5397 (2) fix the "is a bit silly" bug (accessing char
5400 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5402 * text.C: re-introduce display() for insets, fixing the
5403 various bugs (stretch of line above, math inset
5406 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5408 * text.C (rightMargin): remove spurious semicolon
5410 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5413 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5415 * text3.C: fix one crash due to wrong cursor def
5417 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5419 * vc-backend.C (scanMaster): make the regex static
5421 * LaTeX.C (scanAuxFile): make the regexs static
5423 * text3.C (doInsertInset, dispatch, dispatch):
5424 * text2.C (cursorUp, cursorDown):
5425 * text.C (selectNextWordToSpellcheck):
5426 * BufferView_pimpl.C (dispatch):
5427 * lyxfunc.C (dispatch): localDispatch -> dispatch
5429 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5431 * lyxsocket.C: include <cerrno>
5433 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5435 * lyxfunc.C (dispatch): remove textcache stuff
5437 * bufferlist.C (release): remove textcache stuff
5440 * TextCache.C: delete file
5441 * TextCache.h: delete file
5443 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5445 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5446 delete of the bv_->text.
5447 (resizeCurrentBuffer): remove texcache stuff
5448 (workAreaResize): ditto
5450 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5452 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5455 2003-10-16 André Pönitz <poenitz@gmx.net>
5462 * text3.C: speed up by storing y positions per paragraph plus per-row
5463 offset instead of having a 'full' y position in the row.
5465 2003-10-15 André Pönitz <poenitz@gmx.net>
5469 * undo.[Ch]: make undo aware of inner insets
5471 2003-10-14 Angus Leeming <leeming@lyx.org>
5473 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5474 static member functions LyX::ref() and LyX::cref.
5475 (lastfiles): new accessor functions for the new lastfiles_ member var.
5476 (addLyXView, views_): add a new LyXView to the list of views_.
5477 (updateInset): loop over all LyXViews to call their own updateInset
5478 member function, returning a pointer to the Buffer owning the inset.
5480 * BufferView_pimpl.C (loadLyXFile):
5481 * MenuBackend.C (expandLastfiles):
5482 * bufferlist.C (MenuWrite, QuitLyX):
5483 lastfiles is no longer a global variable.
5484 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5486 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5487 static function. Access through LyX::cref().emergencyCleanup().
5489 2003-10-14 André Pönitz <poenitz@gmx.net>
5491 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5493 * undo.[Ch]: restoring part of 'undo in insets'
5496 * undo_funcs.[Ch]: merge with undo.[Ch]
5498 * tabular.C: small cleansing stuff
5500 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5502 * paragraph_funcs.C (readParToken): report unknown insets as error
5503 boxes. Use the outer paragraph as location (also for unknown
5506 * factory.C (readInset): do not abort on reading an unknown inset.
5507 Eat it and return 0.
5509 2003-10-13 Angus Leeming <leeming@lyx.org>
5511 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5513 * lyxrc.C: displayTranslator is now a function,
5514 declared in GraphicsTypes.h.
5516 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5518 * format.C: new placeholder $$a to pass the socket address.
5520 * bufferlist.[Ch]: new function getBufferFromTmp.
5522 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5523 files in the temporary dir.
5525 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5527 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5529 * Makefile.am: add lyxsocket.[Ch].
5531 * lyx_main.C (error_handler): handle SIGPIPE.
5533 2003-10-13 André Pönitz <poenitz@gmx.net>
5535 * BufferView_pimpl.C:
5540 * undo_funcs.[Ch]: use paroffset_type instead of
5541 ParagraphList::iterators to prevent multiple conversion
5542 (and get a more robust interface)
5544 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5546 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5548 * text3.C (dispatch): ditto
5550 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5552 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5553 move the onlyfile, use onlyfile instead of foundfile in a couple
5556 * DepTable.C (update): flush the error stream a bit more
5558 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5560 * lyxserver.C (callback): adjust
5562 * lyxfunc.C (getStatus): add a missing brace in commented code
5563 (ensureBufferClean): reindent
5564 (dispatch): delete version taking a string
5566 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5568 * LaTeX.C (deplog): move found file handlig from here...
5569 (handleFoundFile): .. to new function here.
5570 (deplog): make sure to discover several files mentioned on the
5573 2003-10-10 André Pönitz <poenitz@gmx.net>
5580 * text3.C: fix some of the tabular crashes
5582 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5584 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5586 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5588 2003-10-09 André Pönitz <poenitz@gmx.net>
5590 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5593 * BufferView_pimpl.C:
5594 * bufferview_funcs.C:
5605 * undo_funcs.C: adjust
5607 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5609 * text2.C (incrementItemDepth): new function, use a backtracking
5610 algorithm to discover the correct item depth.
5611 (resetEnumCounterIfNeeded): new function, use a backtracking
5612 algorithm to discover if counter reset is needed.
5613 (setCounter): use them. Simplify a bit. Add different labels for
5614 different item depths for itemize.
5616 * paragraph.C (Paragraph): remove initialization of enumdepth
5619 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5620 enumerate and itemize. Change the type of itemdepth to signed char.
5622 2003-10-08 André Pönitz <poenitz@gmx.net>
5624 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5629 * tabular.[Ch]: fix crash after 'row-insert'
5631 2003-10-08 Angus Leeming <leeming@lyx.org>
5633 Fix doxygen warnings.
5635 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5636 Remove CutAndPaste:: prefix from header file declaration.
5638 * LColor.h (fill): remove LColor:: prefix from declaration.
5640 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5641 use lyx::depth_type rather than Paragraph::depth_type so that
5642 header file and .C file match.
5644 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5646 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5647 * aspell.C: \file aspell_local.C -> \file aspell.C
5648 * gettext.C: \file gettext.C -> \file src/gettext.C
5649 * gettext.h: \file gettext.h -> \file src/gettext.h
5650 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5651 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5652 * text.C: \file text.C -> \file src/text.C
5654 * toc.C: move comment so that doxygen is not confused.
5656 2003-10-07 Angus Leeming <leeming@lyx.org>
5658 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5660 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5663 * aspell_local.h: add forgotten std::string's.
5665 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5672 * text3.C: The Box patch. Fancybox support, minipage, parbox
5674 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5680 * ParagraphParameters.h:
5690 * lyxtextclasslist.h:
5693 * paragraph_pimpl.C:
5694 * textcursor.h: add <string> and other small fixes to make Lars'
5695 std::string patch compile with STLport.
5697 2003-10-06 Angus Leeming <leeming@lyx.org>
5699 * LColor.h: Add missing #include <string>.
5701 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5703 * All most all file in all subdirs: Make <string> be the prefered
5704 way of getting to std::string, add using declarations.
5706 2003-10-06 André Pönitz <poenitz@gmx.net>
5708 * metricsinfo.C: initialize LyXFont before changing attribute.
5709 (fixes the 'math in \emph is upright' bug)
5711 2003-10-06 André Pönitz <poenitz@gmx.net>
5713 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5715 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5718 * paragraph_pimpl.C: Small fixes to build using STLport
5720 2003-10-02 André Pönitz <poenitz@gmx.net>
5723 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5725 2003-10-01 André Pönitz <poenitz@gmx.net>
5727 * factory.C: assert early
5729 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5731 * lyx_main.C: remove the global debug object
5733 * debug.h: adjust for new debugstream
5735 * debug.C: adjust for new debugstream and keep the global debug
5738 2003-09-22 Angus Leeming <leeming@lyx.org>
5740 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5741 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5742 an incomplete class LyXFont.
5744 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5746 * factory.C: bug fix in branches
5748 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5750 * lyxfunc.C (processKeySym): adjust
5752 (dispatch): change arg name from ev to func, adjust
5753 (sendDispatchMessage): ditto
5755 * lyx_main.C (defaultKeyBindings): adjust keybindings
5756 (deadKeyBindings): ditto
5758 * kbsequence.C (addkey): return a FuncRequest
5760 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5762 * kbmap.C (bind): take a FuncRequest as arg, adjust
5765 (defkey): change to take a FuncRequest as arg, adjust
5766 (findbinding): take a FuncRequest as arg, adjust.
5768 * funcrequest.h (operator=): added
5770 * funcrequest.C (FuncRequest): default kb_action changed from
5771 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5773 * buffer.C (dispatch): simplify
5774 (dispatch): adjust to take a FuncRequest as arg, adjust
5776 * boost.C (assertion_failed): change assertion message slightly
5778 * ToolbarBackend.C (read): simplify
5780 * MenuBackend.C (binding): adjust call to findbinding, add a
5781 message if no binding is found.
5783 (expandToc): correct by adding a empty FuncRequest
5785 * LyXAction.C: include <boost/assert.hpp>
5786 (isPseudoAction): delete function
5787 (LookupFunc): change name to...
5788 (lookupFunc): this. change return type to FuncRequest.
5789 (getActionName): take kb_action as arg, simplify
5790 (funcHasFlag): add an assert, simplify.
5792 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5794 * toc.C (action): return a FuncRequest, simplify
5796 * lyxfunc.C (processKeySym): adjust
5797 (getStatus): delete version that takes an int.
5799 (dispatch): delete version that takes action as int
5801 (sendDispatchMessage): simplify and adjust
5803 * funcrequest.C (getArg): take unsigned int as arg
5805 * ToolbarBackend.C (read): adjust
5806 (add): delete version that takes func as a string.
5807 (getIton): take a FuncRequest as arg
5809 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5812 * MenuBackend.C (MenuItem): add a new construct that only takes a
5813 Kind, simplify the constructor use for submenus.
5815 (expandLastfiles): adjust
5816 (expandDocuments): adjust
5817 (expandFormats): adjust
5818 (expandFloatListInsert): adjust
5819 (expandFloatInsert): adjust
5820 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5822 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5823 Remove class variables lyx_pseudo_map and lyx_arg_map
5825 * LyXAction.C (searchActionArg): delete function
5826 (getPseudoAction): delete function
5827 (retrieveActionArg): delete function
5828 (LookupFunc): make it return kb_action, simplify.
5829 (getActionName): simplify
5831 * factory.C (createInset): fix new bug
5833 2003-09-19 Angus Leeming <leeming@lyx.org>
5835 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5836 masterFilename_ parameter in the include inset.
5838 * factory.C (createInset): changes due to the changes to InsetInclude.
5840 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5842 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5844 2003-09-18 Angus Leeming <leeming@lyx.org>
5847 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5848 Inset::fillWithBibKeys.
5849 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5851 2003-09-18 Angus Leeming <leeming@lyx.org>
5853 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5855 (ctor): pass and store a 'Buffer const &'
5856 (buffer): new member function.
5858 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5859 '*this' to the LaTeXFeatures ctor.
5861 2003-09-18 Angus Leeming <leeming@lyx.org>
5867 * text.C: rename EnumLColor as LColor_color.
5869 2003-09-18 Angus Leeming <leeming@lyx.org>
5871 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5872 remove #include "insets/insetbase.h" from cursor.h.
5874 2003-09-18 Angus Leeming <leeming@lyx.org>
5876 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5877 InsetOld_code to remove #include "inset.h".
5879 * iterators.C: add #include "insets/inset.h"
5881 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5883 * BufferView.C: remove more locking stuff that apparently doesn't
5884 do anything sensible.
5886 2003-09-16 André Pönitz <poenitz@gmx.net>
5889 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5892 2003-09-16 Angus Leeming <leeming@lyx.org>
5894 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5896 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5899 * paragraph.h: remove #include "lyxfont.h". Forward declare
5902 2003-09-16 Angus Leeming <leeming@lyx.org>
5904 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5905 of support/textutils.h.
5906 (isWord): move the contents of support/textutils.h's IsWordChar here.
5912 * text2.C: add #include "paragraph.h".
5915 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5917 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5923 * LaTeX.C: use namespace alias for lyx::support::os
5925 2003-09-16 Angus Leeming <leeming@lyx.org>
5928 * bufferview_funcs.C:
5931 * paragraph_pimpl.C:
5933 * text.C: add #include "LColor.h".
5935 2003-09-16 Angus Leeming <leeming@lyx.org>
5937 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5938 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5940 Store the FontBits::color variable as an int rather than as an
5941 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5944 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5945 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5946 string calls together.
5948 * lyxrc.C: add #include "LColor.h".
5950 2003-09-15 Angus Leeming <leeming@lyx.org>
5952 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5955 2003-09-15 Angus Leeming <leeming@lyx.org>
5957 * LColor.h: add an EnumLColor wrapper for LColor::color.
5959 * lyxfont.[Ch] (color, setColor, realColor):
5960 * lyxtext.h, text.C (backgroundColor):
5961 pass EnumLColor args to/from the functions, rather than LColor::color
5965 * lyxtext.h: forward declare EnumLColor.
5967 * lyx_main.C: add #include "LColor.h".
5969 2003-09-15 Angus Leeming <leeming@lyx.org>
5971 * .cvsignore: add lyx-gtk.
5973 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5978 * ParagraphParameters.C
5982 * bufferview_funcs.C
5992 * vc-backend.C: remove usage of STRCONV
5994 2003-09-15 Angus Leeming <leeming@lyx.org>
5996 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5997 explicitly define the color passed to the painter.
5999 2003-09-15 Angus Leeming <leeming@lyx.org>
6001 * bufferparams.C (BufferParams): reorder member initializers to avoid
6004 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6006 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6007 * text.C (updateRowPositions): remove an unusual nop
6009 2003-09-12 André Pönitz <poenitz@gmx.net>
6011 * BufferView_pimpl.C:
6020 * Counters.[Ch]: finish the 'automatic counters' job
6022 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6024 * aspell.C: include <boost/assert.cpp> (compile fix)
6026 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6028 * boost.C (assertion_failed): use lyx::support::abort instead of
6031 2003-09-10 Angus Leeming <leeming@lyx.org>
6033 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6034 with their _fwd progeny.
6036 2003-09-09 Angus Leeming <leeming@lyx.org>
6038 134 files throughtout the source tree: replace 'using namespace abc;'
6039 directives with the appropriate 'using abc::xyz;' declarations.
6041 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6043 * boost.C (emergencyCleanup): moved here from LAssert.c
6044 (assertion_failed): new function, called by BOOST_ASSERT
6046 * several files: change Assert to BOOST_ASSERT
6048 2003-09-09 Angus Leeming <leeming@lyx.org>
6050 * buffer.[Ch]: Add an Impl class and move Buffer's member
6051 variables into it. As a result move several header files out of
6054 Add header files to lots of .C files all over the tree as a result.
6056 2003-09-09 Angus Leeming <leeming@lyx.org>
6058 * buffer.[Ch]: make Buffer's member variables private. Add
6061 Lots of changes all over the tree as a result.
6063 2003-09-08 Angus Leeming <leeming@lyx.org>
6065 * graph.C: #include <config.h>.
6067 2003-09-08 Angus Leeming <leeming@lyx.org>
6071 * BufferView_pimpl.C:
6100 * toc.C: remove redundant using directives.
6102 2003-09-07 Angus Leeming <leeming@lyx.org>
6104 * LaTeXFeatures.h: remove #include "support/types.h".
6105 * ToolbarBackend.h: remove #include <algorithm>.
6106 * changes.h: remove #include <ctime>.
6107 * debug.h: remove #include <iosfwd>.
6108 * graph.h: remove #include "support/std_string.h".
6109 * lyx_main.h: remove #include <csignal>.
6110 * lyxlex_pimpl.h: remove #include <fstream>.
6111 * sgml.h: remove #include <algorithm>, <utility>.
6112 * toc.h: remove #include "support/std_ostream.h".
6113 Add #include <iosfwd>.
6115 2003-09-07 Angus Leeming <leeming@lyx.org>
6117 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6119 * converter.h: forward declare LatexRunParams.
6120 * encoding.h: remove #include "lyxrc.h".
6121 * lyxtext.h: remove #include "LColor.h".
6122 * lyxtextclass.h: remove #include "support/types.h".
6123 * trans.h: remove #include "tex-accent.h".
6124 * trans_mgr.h: remove #include "tex-accent.h".
6125 * insets/inset.h: remove #include "support/types.h", <vector>.
6126 * insets/insetcollapsable.h: remove #include "LColor.h".
6127 * insets/insetinclude.h: remove #include "dimension.h".
6128 * insets/insetlatexaccent.h: remove #include "dimension.h".
6129 * insets/insetoptarg.h:: remove #include "insettext.h".
6130 * insets/insettext.h: remove #include "dimension.h",
6131 <boost/shared_ptr.hpp>
6133 * insets/renderers.h: add #include "dimension.h".
6134 * insets/updatableinset.h: add #include "support/types.h".
6136 * many .C files: Associated changes.
6138 2003-09-06 Angus Leeming <leeming@lyx.org>
6140 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6141 one, inside testInvariant.
6143 * PrinterParams.C: new file.
6144 * PrinterParams.[Ch]: move the function bodies out of line.
6146 2003-09-06 Angus Leeming <leeming@lyx.org>
6148 * ParagraphParameters.h: forward declare ParameterStruct rather than
6149 including its header file.
6150 (depth): moved out-of-line.
6152 2003-09-06 Angus Leeming <leeming@lyx.org>
6154 * BufferView_pimpl.h:
6157 * lyxfunc.h: forward declare LyXKeySym rather than
6158 #include "frontends/LyXKeySym.h".
6160 * BufferView_pimpl.C:
6163 * lyxfunc.C: associated changes.
6165 2003-09-06 Angus Leeming <leeming@lyx.org>
6167 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6168 As a result, can remove the #include "insets/inset.h" from BufferView.h
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>
6181 * bufferview_funcs.C:
6182 * BufferView_pimpl.C:
6187 * ParagraphParameters.C:
6192 * frontends/controllers/ControlDocument.C:
6193 * insets/insetcaption.C: rearrange the #includes into some sort of
6196 * buffer.h: remove #includes ErrorList.h, undo.h
6198 2003-09-06 Angus Leeming <leeming@lyx.org>
6200 * support/types.h: add a 'depth_type' typedef, used to store the
6201 nesting depth of a paragraph.
6204 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6205 defining explicitly.
6208 * paragraph_funcs.h:
6209 * ParagraphParameters.h:
6210 * sgml.h: use lyx::depth_type rather than Paragraph or
6211 ParameterStruct's depth_type.
6214 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6217 * BufferView_pimpl.C:
6219 * ParagraphParameters.C:
6222 * bufferview_funcs.C:
6229 * frontends/LyXView.C:
6230 * frontends/controllers/ControlDocument.C:
6231 * frontends/controllers/ControlErrorList.C:
6232 * insets/insetbibitem.C:
6233 * insets/insetbranch.C:
6234 * insets/insetcaption.C:
6235 * insets/insetcollapsable.C:
6236 * insets/insetenv.C:
6237 * insets/insetert.C:
6238 * insets/insetfloat.C:
6239 * insets/insetfoot.C:
6240 * insets/insetfootlike.C:
6241 * insets/insetnewline.C:
6242 * insets/insetquotes.C:
6243 * insets/insettabular.C:
6244 * insets/insettext.C:
6245 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6247 * frontends/controllers/ControlChanges.C: #include "changes.h".
6249 2003-09-06 Angus Leeming <leeming@lyx.org>
6251 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6252 than #including paragraph.h.
6255 * RowList.h: deleted. Superfluous.
6265 * insets/insettext.h: use ParagraphList_fwd.h rather than
6268 * paragraph.h: don't forward declare ParagraphList.
6271 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6272 rather than ParagraphList.h. paragraph.h is still needed for the
6273 Paragraph::depth_type parameters.
6275 * textcursor.h: enable it to compile stand-alone in light of the
6278 * bufferview_funcs.C:
6290 * frontends/controllers/ControlParagraph.C:
6291 * frontends/controllers/ControlTabular.C:
6292 * insets/insetmarginal.C:
6293 * insets/insetminipage.C:
6294 * insets/insetnote.C:
6295 * insets/insetoptarg.C: add header files needed to compile again.
6297 2003-09-06 Angus Leeming <leeming@lyx.org>
6299 * RowList_fwd.h: new file, forward-declaring Row rather than
6300 #including lyxrow.h.
6305 * insets/insettext.h: use it instead of RowList.h
6307 * bufferview_funcs.C:
6314 * text3.C: #include "RowList.h".
6316 2003-09-05 Angus Leeming <leeming@lyx.org>
6318 * factory.C (createInset):
6319 * vspace.C (c-tor): replace sscanf call with an istringstream.
6320 * ispell.C: re-add missing HP/UX headers.
6321 * lyxserver.C: re-add missing os2 headers.
6323 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6332 * text3.C: re-add missing system headers, needed for 2.95.2.
6334 2003-09-05 Angus Leeming <leeming@lyx.org>
6336 Changes most place everywhere due to the removal of using directives
6337 from support/std_sstream.h.
6339 2003-09-05 Angus Leeming <leeming@lyx.org>
6341 Replace LString.h with support/std_string.h,
6342 Lsstream.h with support/std_sstream.h,
6343 support/LIstream.h with support/std_istream.h,
6344 support/LOstream.h with support/std_ostream.h.
6346 Changes resulting throughout the tree.
6348 2003-09-05 Angus Leeming <leeming@lyx.org>
6350 * sgml.h: ensure that the header file can be compiled stand-alone.
6351 * *.C: strip out redundant #includes. (320 in total.)
6353 2003-09-04 Angus Leeming <leeming@lyx.org>
6355 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6356 here (from getPackages).
6358 * debug.[Ch]: add a new EXTERNAL tag.
6360 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6362 * text2.C (cursorEnd): simplify
6364 (getColumnNearX): adjust
6366 * text.C (computeBidiTables): adjust
6369 * rowpainter.C (paintChars): adjust
6370 (paintSelection): adjust
6371 (paintChangeBar): adjust
6374 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6376 (numberOfSeparators): adjust
6378 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6384 * text3.C: Restricts the mouse click functionality
6385 of insets like bibtex, include, toc and floatlist to the visible
6386 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6387 up the dialogs. Cursor has to be in front of the inset (i.e.
6388 start of row) for this to function.
6390 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6392 * bufferview_funcs.C (currentState): output row information
6394 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6396 * bufferview_funcs.C (currentState): output paragraph position
6398 2003-09-04 Angus Leeming <leeming@lyx.org>
6400 * FloatList.h: move out #include "Floating.h".
6401 * LaTeX.h: move out #include "DepTable.h".
6402 * LyXAction.h: move out #include "funcrequest.h".
6403 * buffer.h: move out #include "author.h", "iterators.h".
6404 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6405 * lyx_main.h: move out #include "errorlist.h".
6406 * lyxfunc.h: move out #include "FuncStatus.h".
6407 * lyxtext: move out #include "lyxcursor.h".
6408 * paragraph_pimpl.h: move out #include "counters.h".
6410 2003-09-03 Angus Leeming <leeming@lyx.org>
6412 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6413 preamble_snippets list, enabling us to add snippets to the preamble
6414 only if the snippet was not there already.
6416 2003-09-04 Angus Leeming <leeming@lyx.org>
6418 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6420 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6422 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6425 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6427 * BranchList.C: point fix, earlier forgotten
6429 2003-09-02 Angus Leeming <leeming@lyx.org>
6431 * box.C (contains): renamed from 'contained' after a fantastic
6434 2003-09-02 John Levon <levon@movementarian.org>
6440 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6442 2003-09-02 John Levon <levon@movementarian.org>
6444 * text2.C: simplification of cursorEnd(), including partial
6447 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6449 * buffer.C (readFile): add a space
6451 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6453 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6455 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6457 * buffer.C (readFile): new function, take a filename and a
6458 ParagraphList::iterator
6460 (readFile): adjust, make it private. don't use setStream, make
6461 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6462 always contain the filename.
6464 * BufferView.C (insertLyXFile): simplify and make it work for
6467 2003-08-30 John Levon <levon@movementarian.org>
6469 * Makefile.am: fix dist (from Kayvan)
6471 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6473 * most files: change to use const Buffer refs
6475 2003-08-27 André Pönitz <poenitz@gmx.net>
6477 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6478 on top of ownerPar().
6480 2003-08-27 John Levon <levon@movementarian.org>
6482 * funcrequest.C: properly initialise POD members
6484 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6486 * lyxtext.h (top_y): move top_y from here
6491 * BufferView_pimpl.[Ch]: to here
6492 * frontends/screen.C:
6493 * insets/insettabular.C:
6494 * insets/insettext.C: adjust
6495 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6497 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6500 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6502 2003-08-26 André Pönitz <poenitz@gmx.net>
6504 * paragraph_func.[Ch] (outerPar): new function
6507 * paragraph_funcs.C:
6508 * paragraph_funcs.h:
6509 * paragraph_pimpl.C:
6510 * text2.C: remove Inset::par_owner
6512 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6517 * text2.C: eliminates the needFullRow/display() stuff
6518 altogether, putting the logic in metrics/draw in the insets.
6520 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6522 * text2.C (redoParagraphInternal, redoParagraphs):
6523 * text.C (redoParagraph): add a call to updateRowPositions at the
6524 end of each 'metrics-like' call. Remove all others.
6525 (getRow): remove the 'y-computing' version.
6526 (getRowNearY): do not compute nor return the real y. Solve the
6527 'y < 0' problem and simplify.
6529 2003-08-22 Angus Leeming <leeming@lyx.org>
6531 * *.[Ch]: clean-up of licence and author blurbs.
6532 Also move config.h out of a few .h files and into a few .C files.
6534 2003-08-22 André Pönitz <poenitz@gmx.net>
6536 * lyxrow.[Ch]: add x_ and *fill_ members
6541 * text2.C: adjust/remove prepareToPrint() calls
6543 2003-08-22 André Pönitz <poenitz@gmx.net>
6545 * lyxrow.[Ch]: add end_ member
6547 * lyxrow_funcs.C: use LyXRow::end_
6549 * lyxtext.h (singleWidth): add LyXFont parameter
6552 * text2.C: adjust LyXText::singleWidth() calls
6554 * text.C (redoParagraph): simplify row breaking logic
6557 2003-08-19 André Pönitz <poenitz@gmx.net>
6559 * funcrequest.C: initialize button_ member
6562 * rowpainter.[Ch]: interface consolidation
6564 2003-08-18 André Pönitz <poenitz@gmx.net>
6567 * BufferView_pimpl.C:
6569 * paragraph_funcs.C:
6571 * text3.C: remove LyXScreen::draw() and fitCursor calls
6573 * BranchList.h: remove spurious semicolons
6575 * MenuBackend.C: fix branchlist related crash
6577 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6585 * bufferparams.[Ch]:
6589 * text3.C: implements the 'branch inset'
6590 idea. This allows the output of various versions of a document
6591 from a single source version, selectively outputing or suppressing
6592 output of parts of the text.
6593 This implementation contains a 'branch list editor' in a separate
6594 tab of the document settings dialog. Branches are user definable
6595 and have a "display colour" to distinguish them on-screen.
6597 ColorHandler was somewhat cleaned up.
6598 (1) make possible a dynamically growing LColor list by allowing
6599 the graphic context cache to grow along (vector);
6600 (2) eliminate an IMHO unnecessary step in colour allocation.
6602 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6604 * BufferView_pimpl.C: compile fix
6606 2003-08-15 André Pönitz <poenitz@gmx.net>
6608 * rowpainter.C: remove extra metrics calls
6610 * lyxtext.h: merge the two constructors into a single one,
6611 pass reference to owner's par list
6613 * BufferView_pimpl.C:
6617 2003-08-15 André Pönitz <poenitz@gmx.net>
6619 * lyxrow_funcs.[Ch]:
6622 * paragraph_funcs.C:
6627 * text_funcs.C: split LyXText::rowlist_ into individual
6628 Paragraph::rows_ chunks
6631 * BufferView_pimpl.[Ch]:
6634 * text3.C: remove toggleSelection()
6636 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6638 * bufferlist.C: beautify two alerts (shorter text of buttons)
6639 * buffer.C: Remove redundant ' ' from message
6641 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6642 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6643 rename VALIGN_CENTER to VALIGN_MIDDLE
6645 2003-08-11 André Pönitz <poenitz@gmx.net>
6647 * lyxtext.h (getPar):
6648 * text.C: new function
6650 2003-08-11 André Pönitz <poenitz@gmx.net>
6653 * tracer.[Ch]: remove unneeded files
6655 * InsetList.[Ch]: remove resizeInsetsLyXText()
6660 * text3.C: merge insertParagraphs() and appendParagraph()
6661 remove breakAgain(), update()
6663 * BufferView_pimpl.[Ch]:
6664 * bufferview_funcs.[Ch]:
6668 * tabular.C: adjust after text & InsetList changes.
6670 2003-08-08 André Pönitz <poenitz@gmx.net>
6672 * text.C (insertChar, backspace): replace rowlist fiddling
6673 with rebreak of full par
6676 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6677 checkParagraph, updateInset): removed
6679 2003-08-07 André Pönitz <poenitz@gmx.net>
6682 * text3.C: merge some LFUN handlers, remove dead code
6684 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6686 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6688 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6690 * text2.C (DEPM): fix part of bug 1255 and 1256
6692 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6694 * BufferView_pimpl.C (workAreaDispatch): change to use
6695 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6696 that are no mouse related.
6698 2003-08-05 André Pönitz <poenitz@gmx.net>
6701 * BufferView_pimpl.[Ch]:
6702 * bufferview_funcs.C:
6704 * text3.C: rip out "deep update"
6706 * textcursor.[Ch] (last_sel_cursor): remove unused member
6708 2003-08-04 André Pönitz <poenitz@gmx.net>
6711 * BufferView_pimpl.[Ch]:
6712 * ParagraphParameters.C:
6713 * bufferview_funcs.C:
6719 * text3.C: replace "complicated" BufferView::update(...) calls with
6722 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6724 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6726 * Makefile.am (lyx_SOURCES): add paper.h
6728 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6730 * Makefile.am: move things around so that both lyx-qt and
6731 lyx-xforms can be built (according to --with-frontend). Then lyx
6732 is a symbolic link to lyx-[firstfrontend]
6734 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6736 * Always use std::endl with lyxerr
6738 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6740 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6742 2003-08-01 André Pönitz <poenitz@gmx.net>
6745 * BufferView_pimpl.[Ch]:
6747 * text3.C: merge BufferView::repaint() and BufferView::update()
6749 2003-08-01 José Matos <jamatos@lyx.org>
6751 * buffer.[Ch]: file_format is no longer a buffer data element.
6753 2003-08-01 André Pönitz <poenitz@gmx.net>
6758 * text2.C: make redoParagraph more independent of current cursor
6760 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6762 * text2.C: remove unneeded members
6764 2003-07-30 André Pönitz <poenitz@gmx.net>
6766 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6768 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6769 create a single function...
6771 * paragraph_funcs.C (moveItem): ... here.
6774 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6776 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6778 * LColor.[Ch]: Add comment and greyedout logical colors.
6780 2003-07-30 André Pönitz <poenitz@gmx.net>
6782 * tabular.C: don't use Assert too heavily. This crashes where it
6785 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6787 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6788 is disabled (bug 1232)
6790 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6792 * factory.C: limited 'arg' scope
6794 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6796 * factory.C: fixed Note submenu issues
6798 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6800 * factory.C: submenu for Note/Comment/Greyedout
6802 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6805 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6807 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6810 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6811 greyedout. Patch provided by Jürgen Spitzmüller.
6813 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6815 * kbmap.C (read): fix error message when reading bind files
6817 2003-07-29 Angus Leeming <leeming@lyx.org>
6819 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6820 certainly does not do what it purports to do. I am doing it, and
6821 us, a favour by killing it.
6823 2003-07-28 José Matos <jamatos@lyx.org>
6825 * buffer.C (readBody, do_writeFile):
6826 * paragraph.C(readParagraph): \end_document replaces \the_end.
6828 2003-07-29 André Pönitz <poenitz@gmx.net>
6831 * BufferView_pimpl.[Ch]:
6835 * textcursor.[Ch]: remove toggleToggle & Co
6837 2003-07-28 José Matos <jamatos@fep.up.pt>
6839 * buffer.C (readParagraph):
6840 * params_func (readParToken, readParagraph):
6841 * paragraph.C (write): \layout -> \begin_layout.
6843 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6845 * lyxlex_pimpl.C (setFile): clean up slightly.
6847 * bufferparams.h: add compressed var
6849 * buffer_funcs.C (readFile): adjust for LyXLex change
6850 (newFile): ditto + simplify
6852 * buffer.C (writeFile): handle writing of compressed files
6854 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6855 Check if the file is compressed and set a bufferparm if so.
6857 * Makefile.am (lyx_LDADD): remove explicit -lz
6859 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6861 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6862 makeDocBookFile): put the real LyX version in the first line of
6866 * version.C.in: remove lyx_docversion
6868 * tabular.C (write_attribute): add a template-based version to
6869 write enums properly
6871 2003-07-28 André Pönitz <poenitz@gmx.net>
6876 * text3.C: use doubles again for x-coordinates. They are needed.
6878 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6880 * messages.C (getLocaleDir): use lyx_localedir()
6882 * lyxlex_pimpl.C (setFile): compress stuff
6884 * buffer.C (writeFile): add some compression stuff
6885 (do_writeFile): new func, dont call expliti close... will this
6888 * Makefile.am (lyx_LDADD): add -lz
6890 2003-07-28 José Matos <jamatos@fep.up.pt>
6892 * buffer.C: increment file format.
6893 * paragraph_funcs (readParagraph, readParToken):
6894 * paragraph.C (readParagraph): add \end_layout.
6896 2003-07-27 Angus Leeming <leeming@lyx.org>
6898 * Makefile.am: remove special casing for configure-time setting of
6899 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6901 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6902 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6904 2003-07-26 André Pönitz <poenitz@gmx.net>
6906 * paragraph_func.[Ch]:
6907 * paragraph.C (realizeFont): inline it whereever it is used
6912 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6915 2003-07-26 André Pönitz <poenitz@gmx.net>
6919 * text2.C: get rid of LyXText::need_break_row
6921 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6923 * toc.[Ch]: put namespace toc inside namespace lyx
6925 * MenuBackend.C (expandToc2): adjust for lyx::toc
6928 * lyxfunc.C (dispatch): adjust for lyx::find
6930 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6931 lyx::find instead. Reorganize a bit.
6932 (LyXReplace): rename to replace
6933 (LyXFind): rename to find
6935 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6938 2003-07-26 André Pönitz <poenitz@gmx.net>
6940 * text.C (setHeightOfRow): restrict scope of temporary variable
6942 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6943 code (never has been used?)
6945 2003-07-27 Asger Alstrup <alstrup@local>
6947 * text.C (fill): Optimise algorithm to exploit that we can reuse
6948 the LyXFont for many characters.
6949 (setHeightOfRow): Same thing.
6950 (rowBreakPoint): Same thing.
6952 2003-07-26 Asger Alstrup <alstrup@local>
6954 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6956 * text.C (singleWidth): Spurious font copying in hot-spot
6957 singleWidth avoided. Reorder tests for arabic for efficiency.
6959 * text.C (fill): handle empty paragraphs better.
6961 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6964 * encoding.h: add includes
6966 * lyxrc.C: remove reading of bind files
6968 * lyx_main.C (init): setup bindings and menus only if we have a
6971 * kbmap.C (read): new method. Do the actual reading of bind
6974 * converter.C (dvipdfm_options):
6977 (output): adapt PAPER_* enums.
6979 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6981 * bufferparams.h: remove paper-related enums from there
6983 * paper.h: New file. A trivial header file to hold paper-related
6984 enums. It should later expand to contain many paper-related
6987 * lyxrc.C: declare extern displayTranslator
6989 2003-07-27 José Matos <jamatos@fep.up.pt>
6991 * tabular.[Ch] (linuxdoc): add support for tables and figures
6994 2003-07-27 José Matos <jamatos@fep.up.pt>
6996 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6997 consistency in both functions.
6998 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7000 2003-07-26 Asger Alstrup <alstrup@local>
7002 * rowpainter.C (paintRows): Change algorithm to work directly on
7003 the insets rather than asking every character in the document
7004 whether its an inset.
7006 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7008 * buffer.C (openFileWrite): factorize some code
7010 2003-07-26 Angus Leeming <leeming@lyx.org>
7013 * lyx_main.[Ch]: replace occurances of system_tempdir with
7016 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7018 * rename Inset to InsetOld
7020 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7022 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7023 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7024 which I think is a bit clearer. EDIT is gone, since it was
7025 premature optimisation, and broken for mathed anyway.
7026 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7027 with cursor positioning in insets as well (math insets still do not
7028 work, but that's a different story anyway.) It mysteriously
7029 crashes sometimes with undo in the first paragraph, but I'm fairly
7030 confident that this is a compiler bug.
7032 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7034 * paragraph.C (Paragraph): adjust for new clone return type
7036 (copyIntoMinibuffer): ditto
7038 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7040 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7041 by not having a special case, and always doing a full rebreak of
7042 the document after undo.
7044 2003-07-23 Angus Leeming <leeming@lyx.org>
7046 * factory.C (createInset): InsetExternal::setParams now takes a
7049 2003-07-23 Angus Leeming <leeming@lyx.org>
7051 * factory.C (createInset): changed interface to the external and
7052 graphics mailers' string2params functions.
7054 2003-07-23 Angus Leeming <leeming@lyx.org>
7056 * factory.C (createInset): pass a
7057 Buffer const * parameter to InsetExternalMailer's string2params.
7059 2003-07-22 John Levon <levon@movementarian.org>
7061 * Thesaurus.h: include the right aiksaurus header
7063 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7065 * MenuBackend.C (expand): check menu shortcuts unconditionally
7067 2003-07-21 Angus Leeming <leeming@lyx.org>
7069 * factory.C (createInset): pass a
7070 buffer_path parameter to InsetGraphicsMailer's string2params.
7072 2003-07-21 Angus Leeming <leeming@lyx.org>
7074 * BufferView_pimpl.C (buffer):
7077 * lyxfunc.C (dispatch):
7078 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7079 rather than the grfx shortcut.
7081 2003-07-21 André Pönitz <poenitz@gmx.net>
7083 * rowpainter.C: remove unused variables
7086 * tabular_funcs.h: move to tabular.C
7087 * Makefile.am: adjust
7089 * tabular.[Ch]: basic optical cleaning
7091 * author.h: pass references, not values
7093 2003-07-18 André Pönitz <poenitz@gmx.net>
7101 * text3.C: two-phase drawing for InsetText and InsetTabular
7102 some float -> int changes.
7104 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7106 * lyx_main.C: fix the fix
7108 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7110 * lyx_main.C: fix a crash in batch mode if no files specified
7113 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7115 * format.[Ch] (papersize): moved to BufferParams
7116 * converter.[Ch] (dvips_options): moved to BufferParams
7117 (dvipdfm_options): moved to anon namespace
7118 * bufferparams.[Ch]: added above functions.
7120 2003-07-17 André Pönitz <poenitz@gmx.net>
7124 * text2.C: don't call inset->update() anymore
7126 * metricsinfo.[Ch]: add convenience constructor
7128 2003-07-16 André Pönitz <poenitz@gmx.net>
7133 * text2.C: replace the LyXCursor::irow_ member with
7134 on-demand computation of the value
7136 2003-07-16 John Levon <levon@movementarian.org>
7138 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7140 2003-07-15 André Pönitz <poenitz@gmx.net>
7143 * text2.C: remove no more needed refresh_row
7145 2003-07-15 André Pönitz <poenitz@gmx.net>
7150 * text3.C: refresh_status tristate -> need_update bool
7152 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7154 * lyxtext.h (init): remove reinit argument (act as if always true)
7155 * text2.C: adjust to that
7157 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7159 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7160 * text3.C: use it to delete selections in some cases
7161 (bugs 441, 673, 702, 954).
7163 2003-07-14 André Pönitz <poenitz@gmx.net>
7165 * rowpainter.[Ch]: reduce interface
7167 2003-07-14 André Pönitz <poenitz@gmx.net>
7169 * BufferView_pimpl.C:
7170 * text2.C: adjust after removing unused BufferView * argument
7172 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7174 * text2.C (init): fix a crash fired on resize
7176 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7178 * buffer.[Ch]: added new closing signal
7179 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7180 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7181 BufferView::Pimpl via the closing the signal
7183 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7185 * buffer.[Ch]: take out all bv-related from buffer
7187 * BufferView_pimpl.[Ch]: connect to new signals
7188 * CutAndPaste.C: removed useless asserts
7189 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7192 * lyxfunc.C: moved view-related funciontality from vc here
7193 * paragraph.C: removed outdated comments
7196 2003-07-10 André Pönitz <poenitz@gmx.net>
7198 * BufferView_pimpl.C:
7202 * text2.C: remove InsetText::InnerCache, clean up consequences
7204 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7206 * ispell.C: fix two typos in error messages
7208 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7210 * Extend Note inset to other forms of annotation like Comment
7211 and Greyedout. Right button click gives dialog.
7213 Files modified or added (+):
7217 * ControlNote.[Ch] +
7219 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7220 frontends/controllers
7224 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7226 * aspell.C: add missing namespace lyx::support
7228 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7230 * BufferView.[Ch] (newFile): Add
7231 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7232 * LaTeX.[Ch] (message): added this signal and use it
7233 * buffer.[Ch] (busy, message): added these signals and use them
7234 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7238 * importer.C: use buffer signals instead of direct bv calling
7239 * lyx_cb.[Ch] (ShowMessage): removed
7242 * paragraph_funcs.C:
7243 * text2.C: use buffer signals
7245 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7247 * introduce namespace lyx::graphics
7249 2003-07-02 André Pönitz <poenitz@gmx.net>
7251 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7253 2003-07-01 André Pönitz <poenitz@gmx.net>
7260 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7261 text*.C to text_func.C
7263 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7265 * introduce namespace lyx::support
7267 2003-06-30 André Pönitz <poenitz@gmx.net>
7272 * text.C: re-enable --with-included-string
7274 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7276 * textcursor.C: add <config.h>
7278 * text.C (getWord): remove const from word_location arg
7280 * lyxvc.C (getLogFile): fix const type order
7282 * lyxtext.h: remove const from word_location arg, add arg name
7284 * lyxlayout.h: currect type on labeltype.
7286 * importer.C: correct \file
7288 * converter.C (intToFormat): use std:: on ret val, ws changes
7290 * bufferlist.h: correct \file
7292 * buffer.C (makeLinuxDocFile): fix const type order
7293 (makeDocBookFile): ditto
7294 (fillWithBibKeys): use std:: on stdlib args.
7296 * CutAndPaste.C: fix authors.
7297 (availableSelections): use std:: on return vector
7299 2003-06-27 André Pönitz <poenitz@gmx.net>
7301 * BufferView_pimpl.C:
7302 * bufferview_funcs.C:
7310 * text3.C: remove LyXCursor::row_ member
7313 * text.C: rename fullRebreak() to partialRebreak() and implement
7314 a fullRebreak() that really bereks fully
7316 * textcursor.h: new struct for cursor-related data
7318 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7320 * lyx_main.C (LyX): get full path of document loaded on the
7323 2003-06-26 André Pönitz <poenitz@gmx.net>
7325 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7326 remove unused/broken operator>,<,>=.
7328 * text.C: remove only use of broken operator<= in an Assert().
7330 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7332 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7333 moved errorlist_.clear to showErrorList
7335 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7337 * converter.C (scanLog, runLaTeX):
7338 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7339 move the bv->showErrorList call to the callers
7340 * lyxfunc.C: i.e. here...
7342 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7343 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7344 namespace, the second to...
7345 * buffer_funcs (BufferFormat, parseErrors): added
7346 * errorlist.C (ErrorList(TeXErrors const &)): removed
7348 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7350 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7352 2003-06-24 "Garst R. Reese" <reese@isn.net>
7356 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7358 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7360 * version.C.in: change docversion to 1.4
7362 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7364 * buffer.C: fix a bug just introduced
7366 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7368 * buffer.[Ch]: added the parseError signal and use it, removed
7370 * BufferView.[Ch] (addError): moved to ...
7371 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7372 to the Buffer::parseError signal to catch (guess what) parse errors
7373 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7375 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7377 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7378 ability to create a buffer and to return an existing one from
7379 the list. Moved these functions to...
7380 * buffer_funcs.[Ch]: added
7381 * BufferView.[Ch] (loadLyXFile): added
7382 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7383 job removed from bufferlist::loadLyXFile.
7384 * buffer.C (setReadOnly): make it work without view
7385 (i.e added an if (users))
7387 2003-06-19 Angus Leeming <leeming@lyx.org>
7390 * LyXAction.C (init):
7391 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7392 with LFUN_DIALOG_SHOW <name> <data>.
7394 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7396 * CutAndPaste.C (availableSelections): small compilation fix for
7397 ancient (gcc 2.9x) compilers
7399 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7401 * text3.C (cursorNext): add tmp var
7403 * text2.C (updateCounters): for function calling out of for clause
7404 (replaceSelectionWithString): ditto
7405 (insertStringAsParagraphs): ditto
7406 (getColumnNearX): add tmp var
7407 (setCursorFromCoordinates): add tmp var
7408 (cursorDownParagraph): add tmp var
7409 (deleteEmptyParagraphMechanism): add tmp var
7411 * text.C (insertChar): add tmp var
7413 * rowpainter.C (paintDepthBar): add tmp var
7415 * CutAndPaste.C (availableSelections): potentially check all
7416 paragraphs in a cut to fill the shown strings.
7418 2003-06-18 André Pönitz <poenitz@gmx.net>
7420 * kbmap.[Ch]: use vector<> instead of list<>
7422 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7424 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7425 pasteSelection with index
7427 * text2.C (pasteSelection): modify, call pasteSelection with index
7429 * paragraph.C (asString): reimplement version with no interval to
7430 call the one with interval.
7432 * lyxtext.h: add index arg to pasteSelection
7434 * MenuBackend.C (MenuItem): handle PasteRecent
7435 (Menu::read::Menutags): add md_pasterecent
7437 (expandPasteRecent): new function
7440 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7442 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7444 (availableSelections): new function
7446 2003-06-17 Angus Leeming <leeming@lyx.org>
7448 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7450 2003-06-17 Angus Leeming <leeming@lyx.org>
7453 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7455 * lyxfunc.C (dispatch): invoke it.
7457 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7459 * iterators.C (operator++, ParPosition): reintroduce some
7460 const_cast for the benefit of older compilers.
7462 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7464 * text3.C (dispatch): do not modify clipboard when doing
7465 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7466 LFUN_DELETE_SKIP on a selection selection
7468 2003-06-16 André Pönitz <poenitz@gmx.net>
7474 * tabular.[Ch]: IU of clone() and getLabelList();
7476 2003-06-13 André Pönitz <poenitz@gmx.net>
7478 * tabular.h: compactification
7480 2003-06-12 André Pönitz <poenitz@gmx.net>
7484 * tabular_funcs.h: some renaming plus whitespace
7486 2003-06-12 André Pönitz <poenitz@gmx.net>
7489 * BufferView_pimpl.C:
7495 * toc.C: Return a Paragraph & for ParIterator::operator*()
7497 2003-06-11 John Levon <levon@movementarian.org>
7501 * ToolbarBackend.C: add "Toolbars" section and
7504 2003-06-10 Angus Leeming <leeming@lyx.org>
7507 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7509 * lyxfunc.C (dispatch): invoke it.
7511 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7513 * main.C: protect <ios> with HAVE_IOS
7514 (main): protect sync_with_stdio with HAVE_IOS
7516 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7518 * text2.C (cutSelection): adjust
7519 (pasteSelection): adjust
7521 * messages.C: handle get of empty string
7523 * main.C (main): use sync_with_stdio(false)
7525 * lyxfunc.C (dispatch): adjust
7527 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7528 (WriteAs): remove unneeded BufferView arg.
7530 * bufferparams.h: use correct types on papersize, papersize2 and
7533 * bufferparams.C (readToken): adjust for type
7534 (writeLaTeX): add missing cases to switch.
7536 * bufferlist.C (quitWriteBuffer): adjust
7539 * buffer.C (asciiParagraph): remove some commented code.
7541 * CutAndPaste.C: remove current_view extern variable.
7542 (cutSelection): add BufferParams arg.
7543 (eraseSelection): add BufferParams arg.
7544 (pasteSelection): add Buffer const & arg
7546 2003-06-07 John Levon <levon@movementarian.org>
7549 * paragraph_funcs.C:
7550 * paragraph_pimpl.C:
7554 * paragraph.C: allow InsetERT to freely space lines,
7555 and some consolidation of code
7557 2003-06-06 José Matos <jamatos@fep.up.pt>
7559 * buffer.C (makeDocBookFile): fix bug #821
7561 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7563 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7565 2003-06-04 Angus Leeming <leeming@lyx.org>
7567 * buffer.C: bump format to 224.
7569 2003-06-05 André Pönitz <poenitz@gmx.net>
7571 * text2.C (redoParagraphs): remove two const_cast<>
7573 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7575 * ParagraphList.h: remove last remnants of NO_STD_LIST
7577 2003-06-03 Angus Leeming <leeming@lyx.org>
7579 * factory.C (createInset): small change to the way InsetExternal's params
7582 2003-06-04 André Pönitz <poenitz@gmx.net>
7584 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7586 * paragraph_pimpl.h:
7587 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7589 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7591 * undo_funcs.C: make some simple cases of undo work again
7593 2003-06-03 John Levon <levon@movementarian.org>
7595 * ispell.C: HPUX doesn't have sys/select.h
7598 2003-06-03 John Levon <levon@movementarian.org>
7600 * CutAndPaste.C: update tabular and include inset
7605 * paragraph.C: remove owningBuffer(), don't pass Buffer
7608 * factory.C: insetGraphicsParams changed
7610 2003-06-02 John Levon <levon@movementarian.org>
7616 * text3.C: remove insetparent
7618 2003-06-02 John Levon <levon@movementarian.org>
7621 * buffer.C: fix inset_iterator.end(), move out of line
7624 2003-06-01 John Levon <levon@movementarian.org>
7626 * text3.C: use a proper cut/paste when doing inset
7627 insert (from Jürgen Spitzmüller)
7629 2003-06-01 John Levon <levon@movementarian.org>
7631 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7633 2003-05-30 André Pönitz <poenitz@gmx.net>
7635 * rowpainter.C: unify second drawing phase
7637 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7639 * trans_mgr.C: remove one case of current_view
7641 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7643 * paragraph_funcs.h: remove paragraph.h include
7645 * paragraph.h: delete NO_STD_LIST stuff
7647 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7649 * buffer.h: remove paragraph.h include
7651 * ParagraphList.C: delete file
7653 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7655 * toc.C (getTocList): adjust
7657 * paragraph_pimpl.C (validate): adjust
7659 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7661 * paragraph.C (Paragraph): adjust
7662 (getPositionOfInset): use const_iterator, adjust
7663 (bibitem): use const_iterator, adjust
7664 (setInsetOwner): adjust
7666 * iterators.C (operator++): adjust
7668 * InsetList.[Ch]: Replace selfmade iterator with standard
7669 vector::iterator also introduce const_iterator. Remove getPos,
7670 getInset and setInset from InsetTable. Adjust accordingly.
7672 * BufferView.C (lockInset): adjust
7673 (ChangeInsets): adjust
7675 * tabular.[Ch]: delete commented same_id functions
7677 2003-05-28 John Levon <levon@movementarian.org>
7679 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7681 2003-05-28 André Pönitz <poenitz@gmx.net>
7683 * metricsinfo.[Ch]: remove 'fullredraw' member
7685 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7687 * lyxtextclass.C (operator): remove caching.
7689 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7693 * text2.C (cursorBottom): adjust
7694 (setCounter): use ParagraphList::find, adjust
7696 * text.C (workWidth): use ParagraphList::find, adjust
7698 * lyxcursor.C (LyXCursor): adjust
7700 * buffer.C (inset_iterator): adjust
7702 * ParagraphList.h: make iterator(value_type) private, make
7703 ParagraphList a friend of iterator.
7705 * ParagraphList.C (find): new function
7707 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7709 2003-05-27 André Pönitz <poenitz@gmx.net>
7711 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7713 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7715 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7717 2003-05-26 John Levon <levon@movementarian.org>
7719 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7721 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7723 * remove same_id from function signatures, adjust.
7725 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7727 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7729 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7731 * paragraph.C (Paragraph): get rid of same_ids parameter
7733 * ParagraphList.C (insert): adjust
7736 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7738 * paragraph_funcs.C (breakParagraph): adjust
7739 (breakParagraphConservative): adjust
7741 * buffer.C (readParagraph): adjust
7743 * ParagraphList.C (insert): take a reference instead of a pointer
7746 * paragraph.[Ch] (id): new function
7748 * bufferlist.C (newFile): adjust
7750 * ParagraphList.C (ParagraphList): adjust
7752 (push_back): take a reference instead of a pointer.
7754 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7756 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7759 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7760 set else use old code.
7762 * ParagraphList.C: remove all NO_NEXT code and only compile this
7763 code of NO_STD_LIST is set.
7765 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7767 * BufferView_pimpl.C:
7777 * graphics/GraphicsConverter.C:
7778 * graphics/PreviewLoader.C: header adjustment
7780 2003-05-23 Angus Leeming <leeming@lyx.org>
7782 * LaTeXFeatures.[Ch] (useBabel): new method.
7783 * bufferparams.C (writeLaTeX): use it.
7785 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7787 * ParagraphList.h (set): remove unused function.
7789 2003-05-23 André Pönitz <poenitz@gmx.net>
7792 * BufferView_pimpl.C:
7796 * undo_funcs.C: setUndo reworked
7798 * iterators.[Ch]: add access to topmost ParagraphList
7800 * lyxtext.[Ch] (workWidth): add a const
7802 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7804 * texrow.[Ch] (increasePos): remove function
7805 * exporter.C (export): removed unused var and outdated comment
7807 2003-05-23 Angus Leeming <leeming@lyx.org>
7809 * latexrunparams.h: rename fragile as moving_arg.
7810 * paragraph.C (simpleTeXOnePar): ditto.
7811 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7813 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7815 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7817 (textUndoOrRedo): comment out a currently unused var.
7819 * paragraph.h (NO_NEXT): enable NO_NEXT
7821 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7823 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7825 * exporter.C (Export): adjust for removeAutoInsets removal.
7827 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7829 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7831 * BufferView.[Ch] (removeAutoInsets): delete function
7833 2003-05-22 Angus Leeming <leeming@lyx.org>
7835 * latexrunparams.h: add a free_spacing variable.
7837 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7838 to pass moving_arg, as the data is stored in runparams.fragile.
7840 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7841 to Inset::latexOptional or to simpleTeXOnePar.
7843 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7844 free_spacing arg to Inset::latexOptional.
7846 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7849 2003-05-22 Angus Leeming <leeming@lyx.org>
7851 * latexrunparams.h: add fragile and use_babel variables.
7853 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7854 * buffer.C (makeLaTeXFile): store this returned value in
7855 runparams.use_babel, thus passing it to the inset::latex methods.
7857 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7858 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7860 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7861 longer has a fragile arg, as it is stored in runparams.fragile.
7863 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7864 moving_arg parameter as the data is stored in runparams.fragile.
7866 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7867 a fragile parameter as the data is stored in runparams.fragile.
7869 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7871 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7873 2003-05-22 Angus Leeming <leeming@lyx.org>
7875 * latexrunparams.h: add a 'bool nice' which defaults to false.
7877 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7878 now encapsulated within runparams.
7880 * bufferlist.C (updateIncludedTeXfiles):
7881 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7883 2003-05-22 Angus Leeming <leeming@lyx.org>
7885 * latexrunparams.h: new file containing struct LatexRunParams.
7886 * Makefile.am: add new file.
7888 * LaTeX.[Ch] (c-tor, run):
7889 * buffer.[Ch] (makeLaTeXFile):
7890 * bufferlist.[Ch] (updateIncludedTeXfiles):
7891 * converter.C (convert, scanLog):
7892 * converter.[Ch] (runLaTeX):
7893 * exporter.C (Export):
7894 * paragraph.[Ch] (simpleTeXOnePar):
7895 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7896 * paragraph_funcs.[Ch] (latexParagraphs):
7897 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7898 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7899 pass around a LatexRunParams parameter.
7901 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7903 * paragraph.[Ch]: remove unused constructor
7905 * ParagraphList.C (erase): new function, taking two iterators
7907 2003-05-22 André Pönitz <poenitz@gmx.net>
7909 * undo_funcs.C: remove duplicated code
7911 * iterator.[Ch]: operator=
7913 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7915 * tabular.C (SetMultiColumn): ws changes
7917 * rowpainter.C (paintFirst): get rid of a ->previous
7919 * lyx_cb.C (getPossibleLabel): parlist simplification
7921 * BufferView.C (ChangeInsets): simplify slightly.
7923 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7925 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7926 * lfuns.h: new LFUN_SPACE
7927 * lyxfunc.C: protected space has a new lfun
7928 * paragraph_funcs.C: read new space insets
7930 * factory.C: handle new space insets
7932 2003-05-22 André Pönitz <poenitz@gmx.net>
7935 * BufferView_pimpl.C:
7938 * undo_funcs.C: return a ParIterator from getParFromID.
7940 * iterators.[Ch]: add two const's
7942 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7944 * toc.C (getTocList): adjust
7946 * iterators.[Ch]: rework for parlist
7948 * buffer.C (par_iterator_begin): adjust
7949 (par_iterator_end): adjust
7951 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7953 * BufferView.C (removeAutoInsets): adjust
7954 (ChangeInsets): adjust
7956 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7958 * text.C (top_y): fix bug 1110
7960 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7962 * errorlist.[Ch]: added
7965 * BufferView_pimpl.C:
7966 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7969 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7971 * Makefile.am: ensure that lyx is relinked upon changes to the
7972 various "convenience" libs.
7974 2003-05-20 Angus Leeming <leeming@lyx.org>
7976 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7977 files are compiled in alphabetical order again.
7979 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7981 2003-05-19 Angus Leeming <leeming@lyx.org>
7983 * gettext.[Ch]: remove "char const * _(char const *)".
7985 2003-05-19 André Pönitz <poenitz@gmx.net>
7987 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7996 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7998 2003-05-19 André Pönitz <poenitz@gmx.net>
8002 * lyxtextclass.[Ch]:
8004 * paragraph_funcs.[Ch]:
8006 * text3.C: more insetenv work
8008 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8010 * ParagraphParameters.C (params2string): small bug fixed
8012 2003-05-16 André Pönitz <poenitz@gmx.net>
8015 * bufferview_funcs.C: patch from Kornel Benko to prevent
8016 crash when _(...) is called twice in a statement
8018 2003-05-16 André Pönitz <poenitz@gmx.net>
8025 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8027 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8029 * lyx_main.C (init): remove spurious static_cast
8031 2003-05-14 André Pönitz <poenitz@gmx.net>
8033 * BufferView.C: fix format string
8035 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8037 * BufferView.[Ch] (insertErrors): removed
8038 * BufferView.[Ch] (showErrorList): added
8039 * buffer.C (runChkTeX):
8040 * converter.C (scanLog): call showErrorList instead of inserterrors
8042 2003-05-13 André Pönitz <poenitz@gmx.net>
8044 * BufferView_pimpl.C:
8046 * bufferview_func.C:
8053 * tabular_funcs.h: tostr() from its own header
8055 * ParagraphParameters.C:
8060 * text3.C: STRCONV()
8062 2003-05-12 André Pönitz <poenitz@gmx.net>
8065 * BufferView_pimpl.C:
8069 * ParagraphParameters.C:
8073 * bufferview_funcs.C:
8086 * paragraph_funcs.C:
8090 * text3.C: boost::format -> bformat all over the place
8093 2003-05-09 André Pönitz <poenitz@gmx.net>
8095 * LColor.[Ch]: Pimpl the #include <map> away
8097 2003-05-09 John Levon <levon@movementarian.org>
8099 * bufferlist.C: never remove emergency saves
8101 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8103 * Makefile.am: better lib building
8105 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8107 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8109 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8110 (simpleTeXSpecialChars): adjust
8111 (simpleTeXSpecialChars): adjust
8112 * paragraph.C (simpleTeXOnePar): adjust
8113 * buffer.C (makeLaTeXFile): adjust
8115 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8117 * text2.C (changeDepth): parlist cleanup
8118 (getColumnNearX): ditto
8120 * rowpainter.C (getLabelFont): parlist cleanup
8122 * bufferlist.C (newFile): parlist cleanup
8124 * CutAndPaste.C (eraseSelection): parlist cleanup
8126 * BufferView_pimpl.C (trackChanges): parlist cleanup
8129 * BufferView.C (lockInset): parlist cleanup.
8130 (ChangeInsets): ditto
8132 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8134 * CutAndPaste.h: Update file header.
8136 * CutAndPaste.C: Update file header.
8137 Store the parts cut out of the Document in a limited_stack.
8138 (copySelection): adjust
8139 (pasteSelection): new function, takes the index in the limited stack.
8140 (nrOfParagraphs): adjust
8141 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8142 simplify error inset insertion.
8143 (checkPastePossible): adjust
8145 2003-05-06 John Levon <levon@movementarian.org>
8147 * text2.C: don't cast wrap inset to float
8149 2003-05-05 André Pönitz <poenitz@gmx.net>
8152 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8154 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8155 few naked Paragraph *.
8157 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8159 * bufferparams.C: Output warning if a document with missing
8160 TeX document class is loaded
8161 * exporter.C: Disable TeX exports if the document class is missing
8164 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8165 isTeXClassAvailable()
8167 2003-05-03 John Levon <levon@movementarian.org>
8170 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8171 explicit cursor show/hide
8173 * BufferView_pimpl.h:
8174 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8175 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8177 * lyxfunc.C: hide cursor before dispatching.
8182 * text3.C: remove explicit cursor hides
8184 2003-05-02 André Pönitz <poenitz@gmx.net>
8186 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8189 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8192 * text2.C: tiny whitespace
8194 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8196 * undo_funcs.C: almost only ws changes.
8198 * ParagraphList.C (splice): just return if pl is empty.
8200 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8202 * ParagraphList.C (splice): new function.
8204 * CutAndPaste.C (pasteSelection): use it
8206 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8208 * CutAndPaste.C (pasteSelection): remove the last next and
8209 previous from this file.
8211 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8213 * CutAndPaste.C (pasteSelection): more clean up, user proper
8214 ParagraphList functions for pasteing.
8216 * ParagraphList.C (insert): new function, three arg insert
8218 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8220 * ParagraphList.C (insert): new function, three arg insert
8222 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8225 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8227 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8229 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8231 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8233 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8235 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8236 (copySelection): clean up a bit.
8237 (pasteSelection): use make_pair
8239 * ParagraphList.C (ParagraphList): implement copy constructor
8240 (operator=): implement, base on copy constructor.
8243 * paragraph.C (erase): return a bool
8245 * paragraph_pimpl.C (erasePos): remove function, move contents...
8246 (erase): ... here. Return a bool.
8247 (erase): call erase instead of erasePos.
8249 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8251 * ParagraphList.h: define PitPosPair
8252 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8253 ParagraphList, fix a bug on pasting multiple pars
8254 * text2.C: change interface to C&P
8256 2003-04-30 André Pönitz <poenitz@gmx.net>
8258 * undo_func.C: revert part of yesterday's patch 2
8260 2003-04-30 John Levon <levon@movementarian.org>
8262 * LColor.C: s/tabular/table/
8264 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8266 * text3.C (dispatch): do not convert iterator -> pointer
8267 * undo_funcs.C (setCursorParUndo): ditto
8268 * text_funcs.C (transposeChars): ditto
8270 * text2.C (setLayout): ws changes only
8272 * text.C (breakParagraph): do not convert iterator -> pointer
8274 (acceptChange): ditto
8275 (rejectChange): ditto
8280 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8283 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8285 * text3.C (gotoInset): YABG (yet another bad getChar)
8287 2003-04-29 André Pönitz <poenitz@gmx.net>
8289 * paragraph.h: make operator= private unimplemented as long as
8292 * ParagraphList.C: whitespace
8295 * paragraph_pimpl.[Ch]:
8296 * paragraph_funcs.C:
8298 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8301 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8303 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8305 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8306 * paragraph.[Ch] (erase):
8307 * paragraph_pimpl.[Ch] (erase): change return type and value
8308 * text2.C (cutSelection): some rework
8310 2003-04-28 John Levon <levon@movementarian.org>
8312 * bufferlist.C: changes for unsaved changes dialog
8314 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8316 * bufferlist.C (newFile): set language (messages_) for new
8319 * buffer.C (readFile): ws changes only.
8321 2003-04-28 André Pönitz <poenitz@gmx.net>
8326 * BufferView_pimpl.C:
8327 * BufferView.C: getParFromID related ParagraphList::iterator changes
8329 2003-04-28 André Pönitz <poenitz@gmx.net>
8331 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8334 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8336 * messages.C: remove one more localedir class variable.
8338 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8340 * messages.C (getLocaleDir): singleton generation function
8342 (Messages): add a default constructor.
8344 * main.C (main): do not setup localedir here, do not call
8347 * gettext.C (_): use it.
8348 (gettext_init): delete funciton
8350 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8352 * gettext.C (getLyXMessages): new singleton generating function.
8354 * buffer.C (updateDocLang): adjust
8356 * Makefile.am (messages.o): add target
8357 (main.o): remove target
8359 2003-04-27 John Levon <levon@movementarian.org>
8364 * lyxvc.C: specify cancel button in Alert::prompt
8366 2003-04-26 John Levon <levon@movementarian.org>
8371 * LyXAction.C: add LFUN_INSET_SETTINGS
8373 * lyxfunc.C: don't enable tabular-feature when there's
8374 just any locking inset
8376 2003-04-26 John Levon <levon@movementarian.org>
8378 * bufferlist.C: re-add Cancel to buffer close question
8380 * lyxfunc.C: fix import UI a bit
8382 2003-04-25 John Levon <levon@movementarian.org>
8384 * gettext.C: remove the broken asserts for now
8386 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8388 * messages.C: make case where setlocale cannot comply work better.
8390 * buffer.C (updateDocLang): new function
8391 (changeLanguage): use it
8394 * text2.C (setCounter): use B_ a bit.
8396 * lyxlayout.C (Read): be sure to trim the label strings.
8398 * messages.C (Messages): fix typo in comment
8400 * buffer.C (readFile): set message_ after file is loaded.
8401 (makeDocBookFile): remove double return
8402 (changeLanguage): reset message_ upon language change.
8403 (B_): new func, use this to get translated buffer strings.
8405 * main.C: add myself and Jean Marc as authors.
8407 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8409 * messages.[hC]: pimplify Messages, and three different pimpls to be
8410 used in different circumstances.
8412 * gettext.[Ch]: change for use with new message code.
8414 2003-04-24 André Pönitz <poenitz@gmx.net>
8416 * factory.C: support for eqref
8418 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8420 * messages.[Ch]: add missing char
8422 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8424 * messages.[Ch]: New files
8426 2003-04-18 John Levon <levon@movementarian.org>
8430 * BufferView_pimpl.C:
8434 * text2.C: remove layout-copy/paste (bug 778)
8436 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8438 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8440 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8442 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8443 if they succeed. Act accordingly.
8445 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8447 * text2.C (setCharFont): adjust
8448 (setCounter): adjust
8449 (insertStringAsLines): adjust
8451 * text.C (leftMargin): adjust
8452 (setHeightOfRow): adjust
8454 * rowpainter.C (paintFirst): adjust
8457 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8459 (isFirstInSequence): ditto
8460 (getEndLabel): ditto
8463 * paragraph.C (getParLanguage): comment out some hard stuff.
8465 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8467 (simpleDocBookOnePar): ditto
8468 (makeDocBookFile): use ParagraphList::iterator
8470 * CutAndPaste.C (pasteSelection): adjust
8472 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8474 * text2.C (getFont): adjust
8475 (getLayoutFont): adjust
8476 (getLabelFont): adjust
8478 * paragraph_funcs.C (TeXOnePar): adjust
8480 * buffer.C (simpleLinuxDocOnePar): adjust
8481 (simpleDocBookOnePar): adjust
8483 * CutAndPaste.C (pasteSelection): adjust
8485 * BufferView.C (getEncoding): adjust
8487 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8489 2003-04-16 John Levon <levon@movementarian.org>
8491 * lyxfind.C: use parlist stuff for search/changes
8493 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8495 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8497 * text2.C (deleteEmptyParagraphMechanism): adjust
8499 * text2.[Ch] (ownerParagraph): delete func (both of them
8501 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8503 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8505 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8507 * ParagraphList.C: prepare for NO_NEXT
8509 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8511 * text2.C (getFont): adjust
8512 (getLayoutFont): adjust
8513 (getLabelFont): adjust
8515 * paragraph.C (getFont): adjust
8516 (getLabelFont): adjust
8517 (getLayoutFont): adjust
8519 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8521 2003-04-15 John Levon <levon@movementarian.org>
8525 * lyx_main.C: handle Include in .ui files
8527 2003-04-15 John Levon <levon@movementarian.org>
8529 * MenuBackend.C: make the doc files length shorter
8532 * ToolbarBackend.C: handle toolbar placement flags,
8535 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8537 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8540 * paragraph_funcs.C (TeXOnePar): adjust
8542 * paragraph.C (getLabelFont): add outerfont arg, adjust
8543 (getLayoutFont): ditto
8544 (simpleTeXOnePar): adjust
8546 * paragraph_pimpl.C (realizeFont): delete func
8548 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8550 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8551 row argument, constify cur argument.
8553 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8555 * text2.C (getFont): adjust
8556 (getLayoutFont): adjust
8557 (getLabelFont): adjust
8559 * paragraph_funcs.C (TeXOnePar): adjust
8560 (outerFont): new func...
8561 (realizeFont): ...moved out from here, changed this to facilitate
8564 * paragraph.C (getFont): take outerfont as arg, adjust
8565 (simpleTeXOnePar): add outerfont arg, adjust
8567 * buffer.C (simpleLinuxDocOnePar): adjust
8568 (simpleDocBookOnePar): adjust
8570 * CutAndPaste.C (pasteSelection): adjust
8572 * BufferView.C (getEncoding): adjust
8574 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8576 * text2.C (setCharFont): adjust
8577 (setCounter): adjust
8579 * text.C (leftMargin): adjust
8580 (setHeightOfRow): adjust
8582 * rowpainter.C (paintFirst): adjust
8585 * paragraph_pimpl.C (realizeFont): adjust
8587 * paragraph.C (isFirstInSequence): move from here...
8588 * paragraph_funcs.C (isFirstInSequence): ...to here
8590 * paragraph.C (outerHook): move from here...
8591 * paragraph_funcs.C (outerHook): ...to here
8593 * paragraph.C (depthHook): move from here...
8594 * paragraph_funcs.C (depthHook): ...to here
8596 * paragraph.C (getEndLabel): move from here...
8597 * paragraph_funcs.C (getEndLabel): ...to here
8599 * text2.C (realizeFont): move from here...
8600 * paragraph_funcs.C (realizeFont): ...to here
8602 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8604 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8606 2003-04-14 Angus Leeming <leeming@lyx.org>
8608 * LColor.[Ch]: scrap LColor mathcursor.
8610 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8612 * lyxlex.[Ch] (text): delete function
8613 * trans.C (Load): adjust
8614 * paragraph_funcs.C (readParToken): adjust
8616 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8618 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8619 vector<char> instead of a char[].
8621 * lyxlex_pimpl.C (getString): adjust
8623 (lex): use getString
8627 * lyxlex.C (text): use pimpl_->getString()
8631 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8633 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8634 (makeFontEntriesLayoutSpecific): temp var for par.size()
8635 (setLayout): temp var for ownerParagraphs().end()
8636 (fullRebreak): temp var for rows().end()
8637 (selectionAsString): temp var for boost::next(startpit), realize
8638 that the while really is a regular for loop.
8639 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8640 setCursor in one place.
8641 (setParagraph): temp vr for ownerParagraphs().end()
8642 (updateCounters): make the while loop a for loop
8643 (cutSelection): temp var for ownerParagraphs().end()
8644 (updateInset): make the do {} while() a regular for loop
8645 (getCursorX): use temp vars
8646 (setCurrentFont): use temp vars
8647 (getColumnNearX): use temp vars
8649 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8651 * text.C (transformChar): use temp var for getChar
8652 (computeBidiTables): use temp var for row->par()
8653 (fill): move temp vars for row->par() and pit->layout() earlier in
8655 (labelFill): use temp var for row->par()
8656 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8657 asc and desc, realize that pit never changes and that firstpit is
8658 just a duplicate and not needed. Exchange rit->par() with pit in a
8660 (breakAgain): use a temp var for boost::next(rit)
8661 (breakAgainOneRow): ditto
8662 (breakParagraph): use a temp var for rows().begin()
8663 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8664 (cursorRightOneWord): use temp var for cursor.par() and
8665 cursor.pos(), remove usage of tmpcursor.
8666 (cursorLeftOneWord): use temp var for cursor.par() and
8667 cursor.pos() only set cur at end of function.
8669 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8671 * text.C, text2.C: exchange all usage of Paragraph::next with
8672 boost::next(ParagraphList::iterator)
8674 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8676 * text2.C (cursorTop): simplify implementation
8677 (cursorBottom): ditto
8678 (setParagraph): use ParagraphList::iterator
8679 (setCurrentFont): adjust
8680 (getColumnNearX): adjust
8681 (cursorRight): adjust
8682 (cursorLeft): remove usage of Paragraph::previous
8683 (cursorUpParagraph): ditto
8684 (deleteEmptyParagraphMechanism): slight cleanup
8686 * text.C (isBoundary): take a Paragraph const & instead of a
8688 (addressBreakPoint): ditto
8689 (leftMargin): remove usage of Paragraph::previous.
8690 (setHeightOfRow): ditto
8691 (cursorLeftOneWord): ditto
8692 (selectNextWordToSpellcheck): ditto
8695 (breakParagraph): remove one usage of Paragraph::next
8696 (redoParagraph): ditto
8697 (acceptChange): ditto
8698 (insertChar): adjust
8699 (rowBreakPoint): adjust
8701 * bufferview_funcs.C (toggleAndShow): adjust
8703 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8705 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8706 methods to access it.
8708 * text.C: Added updateRowPositions to compute all row positions.
8709 Make top_y and getRowNearY() to use the cached y position
8711 2003-04-11 John Levon <levon@movementarian.org>
8713 * text.C (rowBreakPoint): reintroduce the labelEnd
8714 checks, code copied from the row fill stuff. Deep voodoo.
8716 * text.C (fill): add a comment and debugging for the
8719 2003-04-11 John Levon <levon@movementarian.org>
8721 * text.C: make sure fullrow insets get wrapped to the next line,
8722 even when they're in a manual label
8724 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8726 * text2.C (insertParagraph): make it take ParagraphList::iterator
8728 (setLayout): make it return ParagraphList::iterator
8729 (redoParagraphs): ditto
8731 (checkParagraph): ditto
8733 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8735 * text2.C: adjust several funcs.
8736 (realizeFont): take a ParagraphList::iterator as arg.
8737 (getLayoutFont): ditto
8738 (getLabelFont): ditto
8739 (setCharFont): ditto
8741 * text.C: adjust several funcs.
8743 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8745 * text.C (selectNextWordToSpellcheck): don't accidentally
8748 2003-04-10 John Levon <levon@movementarian.org>
8750 * ToolbarBackend.C (getIcon): special handling for
8753 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8755 * text2.C (cursorRight): a getChar assert fixed
8757 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8759 * text2.C (getFont): change to take a ParagraphList::iterator
8760 instead of Paragraph*
8761 Adjust several functions.
8763 * text.C (transformChar): change to take a ParagraphList::iterator
8764 instead of Paragraph*
8765 (singleWidth): ditto
8766 Adjust several functions.
8768 * rowpainter.C: adjust several functions
8769 * rowpainter.h:store a ParagraphList::iterator and not a
8773 2003-04-09 John Levon <levon@movementarian.org>
8778 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8779 and the "help" bits as well
8781 2003-04-09 John Levon <levon@movementarian.org>
8784 * ToolbarBackend.C: allow multiple toolbars
8786 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8788 * undo_funcs.C (setCursorParUndo): adjust
8790 * text_funcs.C (transposeChars): adjust
8792 * text3.C (gotoNextInset): adjust
8795 * text2.C (setLayout): adjust
8796 (changeDepth): adjust
8798 (redoParagraphs): adjust
8799 (selectionAsString): adjust
8800 (setParagraph): adjust
8801 (insertInset): adjust
8802 (cutSelection): adjust
8803 (copySelection): adjust
8804 (pasteSelection): adjust
8805 (insertStringAsLines): adjust
8806 (updateInset): adjust
8807 (setCursor): change to take a ParagraphList::iterator parameter
8808 (setCursorIntern): change to take a ParagraphList::iterator parameter
8809 (setCurrentFont): adjust
8810 (cursorLeft): adjust
8811 (cursorRight): adjust
8812 (deleteEmptyParagraphMechanism): adjust
8814 * text.C (breakParagraph): adjust
8815 (insertChar): adjust
8816 (acceptChange): adjust
8817 (rejectChange): adjust
8818 (selectNextWordToSpellcheck): adjust
8819 (changeCase): adjust
8823 * lyxfind.C (SearchForward): adjust
8824 (SearchBackward): adjust
8825 (nextChange): adjust
8827 * lyxcursor.C (par): adjust
8829 * lyxcursor.h: store a ParagraphList::iterator instead of a
8832 * lyx_cb.C (getPossibleLabel): adjust
8834 * bufferview_funcs.C (toggleAndShow): adjust
8836 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8839 * BufferView.C (removeAutoInsets): adjust
8840 (lockedInsetStoreUndo): adjust
8842 2003-04-09 John Levon <levon@movementarian.org>
8844 * ToolbarBackend.C: try icon without argument
8845 if with argument fails
8847 2003-04-08 John Levon <levon@movementarian.org>
8850 * ToolbarBackend.C: add getIcon(), handle tooltip,
8851 and change from "Icon" to "Item".
8853 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8855 * BufferView.C (lockInset): another bad getchar crunched
8857 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8859 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8862 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8864 * lyxfind.C (searchForward, searchBackwards): bug 782
8866 2003-04-07 John Levon <levon@movementarian.org>
8868 * paragraph.C: remove dead comment
8870 * text.C: remove troublesome depth-fiddling code
8871 in leftMargin() and rightMargin() (bug 1017)
8873 * text.C: fix breaking of rows in nested lists
8876 * text2.C (updateCounters): fix up depth values
8879 2003-04-07 John Levon <levon@movementarian.org>
8881 * BufferView_pimpl.C: clear message when doc finishes resizing,
8882 and after a mouse event
8884 * lyxfunc.C: clear message after exiting inset
8886 2003-04-07 John Levon <levon@movementarian.org>
8888 * bufferview_funcs.C: show math status not outside
8889 status in the statusbar
8891 2003-04-07 John Levon <levon@movementarian.org>
8893 * lyxfunc.C: note status changed after a depth change
8895 2003-04-04 Angus Leeming <leeming@lyx.org>
8897 * LaTeX.h: move AuxInfo operator==, != out of line.
8898 Remove LaTeX virtual destructor; nothing derives from it.
8899 Move operator()() out of public area and rename it startscript().
8900 Change protected for private.
8902 2003-04-04 Angus Leeming <leeming@lyx.org>
8905 * text2.C: remove unneeded #includes.
8907 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8909 * text2.C (dEPM): fix the heigth of the next row
8911 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8913 * text.C: squashed an invalid getChar requester + some ws changes
8915 2003-04-03 John Levon <levon@movementarian.org>
8917 * bufferview_funcs.h:
8918 * bufferview_funcs.C:
8921 * text2.C: make getStatus work for the env depth lfuns
8923 2003-04-03 John Levon <levon@movementarian.org>
8925 * bufferview_funcs.h:
8926 * bufferview_funcs.C:
8929 * text2.C: parlistize decDepth(), by merging it with incDepth()
8931 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8933 * lyxrow.h: store a ParagraphList::iterator instead of a
8934 Paragraph* and adjust other class functions to suit.
8936 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8939 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8941 * text2.C (setCursor): do not anchor to cursor row for the time being
8943 2003-04-02 John Levon <levon@movementarian.org>
8950 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8952 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8954 * paragraph.h: make ParagraphList and ParagraphList::iterator
8955 friends of Paragraph.
8957 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8959 * ParagraphList.C: Use the private next_ and previous_ from
8962 2003-04-01 John Levon <levon@movementarian.org>
8966 * Makefile.am: rename, remove defaults gunk
8969 * MenuBackend.C: remove defaults gunk
8972 * Languages.C: remove defaults gunk
8975 * lyx_main.C: error out if files couldn't be found.
8977 2003-04-02 John Levon <levon@movementarian.org>
8979 * text2.C: make incDepth() use parlist
8981 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8983 * undo_funcs.C (firstUndoParagraph): adjust
8985 * text3.C (gotoInset): adjust
8986 (dispatch): adjust, and rewrite loop.
8988 * text2.C (init): adjust, and rewrite loop.
8989 (redoParagraphs): adjust
8990 (updateInset): adjust, and rewrite loop.
8991 (deleteEmptyParagraphMechanism): adjust
8993 * tabular.C (LyXTabular): adjust
8994 (SetMultiColumn): adjust
8997 * lyxtext.[Ch] (ownerParagraph): delete function
8998 (ownerParagraphs): new function returns a ParagraphList.
9000 * BufferView.C (removeAutoInsets): adjust
9001 (insertErrors): adjust
9002 (setCursorFromRow): adjust
9004 2003-04-01 Angus Leeming <leeming@lyx.org>
9006 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9009 2003-04-02 John Levon <levon@movementarian.org>
9015 * text_funcs.C: make transposeChars a free function
9017 * lyxrow_funcs.C: remove wrong comment
9019 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9022 * rowpainter.C: adjust
9027 * lyxrow_funcs. [Ch]: new files
9029 * lyxrow.[Ch]: remove next and previous pointers
9030 (next,previous): remove accessor functions
9031 (isParEnd): move to lyxrow_funcs
9032 (lastPos): move to lyxrow_funcs
9033 (nextRowIsAllInset): move to lyxrow_funcs
9034 (lastPrintablePos): move to lyxrow_funcs
9035 (numberOfSeparators): move to lyxrow_funcs
9036 (numberOfHfills): move to lyxrow_funcs
9037 (numberOfLabelHfills): move to lyxrow_funcs
9038 (hfillExpansion): move to lyxrow_funcs
9042 * bufferview_funcs.C (toggleAndShow): adjust
9044 * RowList.h: Remove class RowList from file leave just a
9047 * RowList.C: delete file
9049 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9052 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9054 * text3.C (cursorPrevious): adjust
9055 (cursorNext): adjust
9058 * text2.C (redoHeightOfParagraph): adjust
9059 (redoDrawingOfParagraph): adjust
9062 * text.C (breakParagraph): adjust
9063 (insertChar): adjust
9066 * rowpainter.C (RowPainter): adjust
9067 (leftMargin): simplify and adjust
9068 (most rowpainter functions): adjust.
9070 * rowpainter.h: store the row as RowList::iterator not as Row*
9072 * lyxcursor.C (row): taka RowList::iterator as arg
9075 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9078 2003-04-01 Angus Leeming <leeming@lyx.org>
9080 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9081 stuff like bool Bool.
9083 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9085 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9088 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9090 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9093 * lyxtext.h (rows): drop one version and leve a const variant that
9094 returns a RowList::iterator.
9096 2003-03-31 Angus Leeming <leeming@lyx.org>
9098 * text.C (fill): ensure that the signature is the same as that in the
9101 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9103 * text2.C (redoParagraphs): adjust
9104 (updateCounters): adjust
9105 (checkParagraph): adjust
9106 (getColumnNearX): adjust and reformat a bit.
9108 * text.C (top_y): adjust
9110 (leftMargin): adjust
9111 (prepareToPrint): adjust
9113 (getRowNearY): adjust
9115 * lyxtext.h: make rowlist_ mutable.
9117 * RowList.h: add const_iterator
9118 * RowList.C: adjust for RowList::const_iterator.
9120 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9123 2003-03-31 John Levon <levon@movementarian.org>
9126 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9128 * lyx_main.C: set default fonts from using lyx_gui funcs
9130 * exporter.C: pdf_mode moved from lyxrc
9133 * lyxfunc.C: changes from above
9135 2003-03-31 John Levon <levon@movementarian.org>
9137 * lyx_main.C: fix to the last fix
9139 2003-03-31 John Levon <levon@movementarian.org>
9141 * bufferlist.C: "Load original" -> "Load Original"
9147 * format.C: more Alert cleanups
9149 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9151 * text2.C (removeParagraph): make it take a RowList::iterator as
9153 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9154 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9156 * text.C (anchor_row): make it take a RowList::iterator as arg,
9158 (computeBidiTables): make it take a const reference to Row instead
9159 of Row pointer, adjust.
9160 (leftMargin): make it take a RowList::iterator as arg, adjust.
9161 (rowBreakPoint): adjust
9162 (breakAgainOneRow): make it take a RowList::iterator as arg,
9164 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9166 * bufferview_funcs.C (toggleAndShow): adjust
9168 2003-03-30 John Levon <levon@movementarian.org>
9172 * boost-inst.C: moved to support
9174 * several files: changes as a result
9176 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9178 * text2.C (LyXText): adjust.
9180 (removeRow): make it take a RowList::iterator as arg, adjust.
9181 (fullRebreak): adjust
9182 (deleteEmptyParagraphMechanism): adjust
9183 (clearPaint): adjust
9186 * text.C (top_y): adjust
9187 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9188 (breakAgain): make it take a RowList::iterator as arg, adjust.
9189 (breakParagraph): adjust
9190 (insertChar): adjust
9193 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9194 need_break_row, and refresh_row.
9196 * text3.C (dispatch): adjust
9198 * text2.C (checkParagraph): adjust
9200 (setCursorFromCoordinates): adjust
9202 * text.C (top_y): adjust
9204 (getRow): make it return a RowList::iterator, adjust
9205 (getRowNearY): make it return a RowList::iterator, adjust
9207 * text2.C (init): adjust
9208 (insertRow): remove function
9209 (insertParagraph): adjust
9210 (redoParagraphs): adjust
9211 (fullRebreak): adjust
9212 (updateCounters): adjust
9214 * text.C (top_y): rewrite to use RowList iterators.
9216 (setHeightOfRow): rewrite to sue RowList iterators.
9217 (appendParagraph): adjust
9218 (breakAgain): adjust
9219 (breakAgainOneRow): adjust
9220 (breakParagraph): adjust
9222 (getRowNearY): adjust, and remove commented code.
9224 * lyxtext.h (firstRow): delete function
9225 (lastRow): delete function
9226 (rows): new function (const and non-const versions.)
9227 (insertRow): delete function
9229 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9231 2003-03-29 John Levon <levon@movementarian.org>
9233 * BufferView_pimpl.C: always update scrollbar top
9234 because pasting text when we're anchored could mean we
9235 miss an update altogether
9237 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9239 * text2.C (init): use rowlist_.end() and not 0.
9240 (insertRow): change to take a RowList::iterator as arg, adjust
9242 (insertParagraph): change to take a RowList::iterator as arg,
9244 (redoParagraphs): remove some debug msgs.
9246 * text.C (appendParagraph): change to take a RowList::iterator
9247 arg, adjust for this.
9248 (breakAgain): add an assert
9249 (breakAgainOneRow): ditto
9251 2003-03-29 John Levon <levon@movementarian.org>
9253 * text2.C: do not clear selection after inc/decDepth
9256 2003-03-29 John Levon <levon@movementarian.org>
9259 * buffer.C: fix broken strerrors according to Lars
9261 2003-03-29 John Levon <levon@movementarian.org>
9263 * converters.C: more Alert cleanups
9265 2003-03-29 John Levon <levon@movementarian.org>
9267 * bufferview_funcs.C: remove pointless Alert
9269 * buffer.C: fix confusing error message when
9270 a template is chmoded 000
9272 2003-03-29 John Levon <levon@movementarian.org>
9276 * BufferView_pimpl.C: Alert fixes
9280 * tabular-old.C: remove unused table compat reading
9282 2003-03-29 John Levon <levon@movementarian.org>
9287 * lyx_cb.C: more Alert cleanups
9289 * lyxfunc.C: don't allow chktex if not latex document
9291 2003-03-29 John Levon <levon@movementarian.org>
9295 * buffer.C: warnings pushed down from support/,
9298 2003-03-29 John Levon <levon@movementarian.org>
9300 * lyxfunc.C: safety check for C-r (revert)
9302 2003-03-29 John Levon <levon@movementarian.org>
9305 * bufferlist.C: several UI fixes using Alert::prompt.
9306 Fix the pointless looping quit code. Fix stupid revert
9311 * lyx_cb.C: use Alert::prompt
9313 * lyx_main.C: remove a silly question
9315 * lyxfunc.C: remove a couple of silly questions,
9318 2003-03-28 John Levon <levon@movementarian.org>
9320 * text2.C: fix bug 974 (End on empty par)
9322 2003-03-28 John Levon <levon@movementarian.org>
9324 * BufferView_pimpl.C:
9326 * lfuns.h: remove do-nothing math greek lfuns
9328 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9330 * lyxgluelength.h (isValidGlueLength): add default arg on
9331 parameter 2. Remove default arg from friend in class.
9333 * lyxlength.h (isValidLength): add default arg on parameter 2.
9334 Remove default arg from friend in class.
9336 * text2.C (LyXText): adjust, initialize refresh_row.
9340 (insertParagraph): adjst
9341 (redoParagraphs): adjust
9342 (fullRebreak): adjust
9343 (updateCounters): adjust
9344 (deleteEmptyParagraphMechanism): first attempt at fixing a
9347 * text.C (top_y): adjust
9348 (setHeightOfRow): adjust
9350 (getRowNearY): adjust
9352 * lyxtext.h: include RowList.h
9353 (~LyXText): not needed anymore, deleted.
9354 (firstRow): modify for RowList
9355 (lastRow): new function
9356 Delete firstrow and lastrow class variables, add a Rowlist
9357 rowlist_ class variable.
9359 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9362 * RowList.C (insert): fix case where it == begin().
9364 2003-03-26 Angus Leeming <leeming@lyx.org>
9366 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9367 the thesaurus dialog.
9369 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9371 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9373 * RowList.[Ch]: new files
9375 * ParagraphList.C (erase): handle the case where it == begin
9378 2003-03-25 John Levon <levon@movementarian.org>
9382 * aspell.C: add new aspell support
9385 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9388 2003-03-25 Angus Leeming <leeming@lyx.org>
9391 * LyXAction.C (init): new LFUN_INSET_INSERT.
9393 * BufferView_pimpl.C (dispatch): split out part of the
9394 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9396 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9399 2003-03-25 Angus Leeming <leeming@lyx.org>
9401 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9403 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9406 * text3.C: remove useless row->height(0)
9408 2003-03-25 John Levon <levon@movementarian.org>
9412 * text3.C: rename the refreshing stuff to better names
9414 2003-03-24 John Levon <levon@movementarian.org>
9416 * BufferView_pimpl.h:
9417 * BufferView_pimpl.C: update layout choice on a mouse
9420 2003-03-23 John Levon <levon@movementarian.org>
9422 * Makefile.am: fix commandtags.h reference
9424 2003-03-22 John Levon <levon@movementarian.org>
9426 * BufferView_pimpl.C:
9431 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9433 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9436 * text.C: take the rtl methods out of line
9438 2003-03-21 André Pönitz <poenitz@gmx.net>
9440 * metricsinfo.[Ch]: new files containing structures to be passed around
9441 during the two-phase-drawing...
9443 2003-03-21 André Pönitz <poenitz@gmx.net>
9445 * lyxtextclass.C: read 'environment' tag.
9447 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9449 * text2.C (removeRow): fix bug 964
9451 2003-03-20 John Levon <levon@movementarian.org>
9455 * text2.C: paint cleanups. Inset::update() dropped font
9458 2003-03-19 John Levon <levon@movementarian.org>
9460 * lyxfunc.C: only fitcursor/markDirty if available()
9462 2003-03-19 John Levon <levon@movementarian.org>
9464 * commandtags.h: rename to ...
9466 * lfuns.h: ... this, and renumber / cleanup
9468 2003-03-19 John Levon <levon@movementarian.org>
9470 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9471 fit the cursor after an lfun
9475 * BufferView_pimpl.h:
9476 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9478 * LyXAction.C: layout-character should have ReadOnly
9480 * ParagraphParameters.C:
9482 * bufferview_funcs.C:
9489 * undo_funcs.C: changes from above
9491 2003-03-18 John Levon <levon@movementarian.org>
9493 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9494 remove it from update()
9496 * lyxfunc.C: update layout choice after an lfun
9498 * text3.C: remove extra updateLayoutChoice()s
9500 2003-03-18 John Levon <levon@movementarian.org>
9502 * text.C: top_y change means full repaint, fix
9503 a drawing bug with cursor movement
9505 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9509 * text2.C: anchor row on setCursor
9511 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9513 * lyxtext.h: remove almost all mutable keywords
9516 * text3.C: remove const keywords accordingly
9518 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9520 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9522 (TeXEnvironment): ditto
9525 2003-03-17 John Levon <levon@movementarian.org>
9527 * text.C (rowBreakPoint): remove attempt to fix displayed
9528 math insets inside a manual label
9530 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9532 * lyxtext.h: remove BufferView* as first arg from almost all class
9534 * other files: adjust.
9536 2003-03-17 John Levon <levon@movementarian.org>
9540 * text2.C: more paint cleanups
9542 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9545 * rowpainter.C: remove "smart" background painting code
9547 2003-03-16 John Levon <levon@movementarian.org>
9552 * text3.C: add helper functions for setting refresh_row/y
9554 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9556 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9557 newline inset which *can* get inserted in the pass_thru layouts.
9558 This is primarily for literate documents.
9560 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9562 * buffer.C: increment LYX_FORMAT to 223
9564 2003-03-14 André Pönitz <poenitz@gmx.net>
9566 * textclass.h: prepare for environment handling, ws changes
9567 * lyxlayout.C: read latexheader and latexfooter tags
9569 2003-03-14 John Levon <levon@movementarian.org>
9571 * text2.C: rewrite ::status() a bit
9573 2003-03-13 John Levon <levon@movementarian.org>
9575 * lyxtext.h: add some docs
9577 2003-03-13 John Levon <levon@movementarian.org>
9582 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9584 2003-03-13 John Levon <levon@movementarian.org>
9586 * text3.C: fix appendix redrawing
9588 2003-03-13 John Levon <levon@movementarian.org>
9590 * text.C (setHeightOfRow):
9592 * rowpainter.C: make appendix mark have the text
9593 "Appendix" so the user knows what it is
9596 * LColor.C: s/appendixline/appendix/ from above
9598 2003-03-13 John Levon <levon@movementarian.org>
9600 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9602 * text.C: fix a getChar(pos) bug properly
9604 2003-03-13 Angus Leeming <leeming@lyx.org>
9607 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9608 Probably only temporary. Let's see how things pan out.
9610 * BufferView.C (unlockInset):
9611 * BufferView_pimpl.C (fitCursor):
9612 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9614 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9615 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9617 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9618 new functions that convert ParagraphParameters to and from a string.
9620 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9621 BufferView::Pimpl's dispatch.
9622 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9624 2003-03-13 André Pönitz <poenitz@gmx.net>
9628 * factory.C: make it aware of InsetEnv
9630 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9632 * text2.C (setCursor): never ask for one past last
9633 (setCursor): add some debugging messages.
9635 * text.C (singleWidth): never ask for one past last
9636 (singleWidth): ditto
9638 (rightMargin): ditto
9639 (rowBreakPoint): ditto
9640 (setHeightOfRow): ditto
9641 (prepareToPrint): ditto
9643 * rowpainter.C (paintBackground): never ask for one past last
9644 (paintText): never ask for one past last
9646 * paragraph_pimpl.C (getChar): make the assert stricter, never
9647 allow the one past last pos to be taken
9649 * paragraph.C (getChar): ws changes only
9651 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9652 (numberOfSeparators): ditto
9653 (numberOfHfills): ditto
9655 2003-03-12 John Levon <levon@movementarian.org>
9661 * paragraph_funcs.C: fix per-buffer authorlists
9663 2003-03-12 John Levon <levon@movementarian.org>
9665 * text.C: fix newline in right address
9667 2003-03-12 Angus Leeming <leeming@lyx.org>
9669 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9670 duplicate those in LyXFunc::dispatch.
9674 * ToolbarDefaults.C:
9675 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9676 Add LFUN_FONTFREE_UPDATE.
9678 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9679 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9681 * bufferview_func.[Ch]: several new functions to facilliate
9682 transfer of data to and from the character dialog.
9684 2003-03-12 John Levon <levon@movementarian.org>
9689 * paragraph_funcs.C:
9690 * paragraph_pimpl.C:
9694 * text3.C: remove META_NEWLINE in favour of an inset
9697 * rowpainter.C: remove paintNewline (done by inset)
9699 2003-03-12 John Levon <levon@movementarian.org>
9701 * paragraph_pimpl.C: complain about bad getChar()s
9702 for a while at least
9704 2003-03-12 John Levon <levon@movementarian.org>
9707 * buffer.C: move paragraph read into a separate function,
9708 a little renaming to reflect that.
9711 * bufferparams.C: remove the author_ids map, not necessary now
9714 * factory.C: moved Buffer::readInset to here
9716 * paragraph_funcs.h:
9717 * paragraph_funcs.C: readParagraph free function moved from
9720 * tabular.C: name change
9722 2003-03-12 John Levon <levon@movementarian.org>
9725 * ParagraphParameters.C: move par params input to
9728 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9729 behave like a normal read from the stream wrt reading
9730 a line vs. a \\token
9732 2003-03-12 John Levon <levon@movementarian.org>
9735 * ParagraphParameters.h:
9736 * ParagraphParameters.C: move output code to a
9739 2003-03-12 John Levon <levon@movementarian.org>
9741 * BufferView.C (insertLyXFile):
9744 * tabular.C: use a parlist iterator for creating the
9747 2003-03-12 John Levon <levon@movementarian.org>
9749 * buffer.C: make current_change static local not
9752 2003-03-12 John Levon <levon@movementarian.org>
9754 * buffer.C: fix insertStringAsLines for change tracking
9756 2003-03-12 John Levon <levon@movementarian.org>
9763 * bufferparams.C: move author list into params. Rename some
9764 functions. Move the header reading into a separate token
9765 loop. Move the header token reading into BufferParams.
9767 2003-03-12 John Levon <levon@movementarian.org>
9769 * changes.C: put debug inside lyxerr.debugging() checks
9771 2003-03-11 André Pönitz <poenitz@gmx.net>
9773 * factory.C: make it aware of InsetHFill
9775 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9777 * buffer.C (latexParagraphs): move function from here...
9778 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9781 2003-03-10 Angus Leeming <leeming@lyx.org>
9783 * LyXAction.C (init): fix bug in poplating array with multiple entries
9784 with the same LFUN (spotted by JMarc).
9786 2003-03-10 John Levon <levon@movementarian.org>
9789 * text2.C: move getColumnNearX() near its
9792 2003-03-10 John Levon <levon@movementarian.org>
9794 * text.C: fix break before a minipage
9796 2003-03-10 John Levon <levon@movementarian.org>
9798 * text.C: fix the last commit
9800 2003-03-09 John Levon <levon@movementarian.org>
9804 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9805 bug 365 (don't break before insets unless needed). Don't
9806 return a value > last under any circumstances.
9808 2003-03-09 Angus Leeming <leeming@lyx.org>
9810 * BufferView_pimpl.C (trackChanges, dispatch): call
9811 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9813 2003-03-09 Angus Leeming <leeming@lyx.org>
9815 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9816 than Dialogs::showAboutlyx().
9818 2003-03-09 Angus Leeming <leeming@lyx.org>
9820 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9821 than Dialogs::showTabularCreate().
9823 2003-03-09 John Levon <levon@movementarian.org>
9827 * text2.C: 3rd arg to nextBreakPoint was always the same.
9830 2003-03-08 John Levon <levon@movementarian.org>
9837 * text2.C: Remove the "main" bit from the "main body"
9840 2003-03-08 John Levon <levon@movementarian.org>
9842 * text.C (leftMargin): The left margin of an empty
9843 manual label paragraph should not include the label width
9846 * text.C (prepareToPrint): don't attempt to measure hfills
9847 for empty manual label paragraphs - the answer should be 0
9849 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9851 * CutAndPaste.C: remove commented code and reindent.
9853 2003-03-08 John Levon <levon@movementarian.org>
9856 * lyxfunc.C: move reloadBuffer()
9859 * BufferView.C: to here
9861 * lyxvc.C: add comment
9864 * vc-backend.C: call bv->reload() to avoid
9865 getStatus() check on MENURELOAD
9867 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9869 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9870 to an old format .dep file.
9872 2003-03-07 Angus Leeming <leeming@lyx.org>
9874 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9875 when the LFUN_MOUSE_RELEASE should have been handled by
9876 inset->localDispatch.
9878 2003-03-07 Angus Leeming <leeming@lyx.org>
9880 * BufferView_pimpl.C (dispatch):
9881 * LyXAction.C (init):
9882 * ToolbarDefaults.C (init):
9884 * lyxfunc.C (getStatus):
9885 remove LFUN_INSET_GRAPHICS.
9887 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9889 2003-03-07 Angus Leeming <leeming@lyx.org>
9892 * LyXAction.C (init):
9893 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9895 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9898 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9900 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9901 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9903 2003-03-07 Angus Leeming <leeming@lyx.org>
9905 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9908 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9910 * ParagraphList.C (front): new function
9913 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9915 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9916 and top_row_offset_. removed var first_y.
9918 * text2.C (LyXText, removeRow):
9920 * BufferView_pimpl.C:
9921 use these methods instead of using first_y
9923 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9925 * text2.C (pasteSelection): adjust for checkPastePossible
9927 * CutAndPaste.C: remove Paragraph * buf and replace with
9928 ParagraphList paragraphs.
9929 (DeleteBuffer): delete
9930 (cutSelection): change the tc type to textclass_type
9931 (copySelection): change the tc type to textclass_type
9932 (copySelection): adjust for ParagraphList
9933 (pasteSelection): change the tc type to textclass_type
9934 (pasteSelection): adjust for Paragraphlist
9935 (nrOfParagraphs): simplify for ParagraphList
9936 (checkPastePossible): simplify for ParagraphList
9937 (checkPastePossible): remove unused arg
9939 * ParagraphList.C (insert): handle the case where there are no
9942 * CutAndPaste.h: make CutAndPaste a namespace.
9944 * text3.C (dispatch): adjust
9946 * text.C (breakParagraph): add a ParagraphList as arg
9948 * paragraph_funcs.C (breakParagraph): change to take a
9949 BufferParams and a ParagraphList as args.
9950 (breakParagraphConservative): ditto
9951 (mergeParagraph): ditto
9952 (TeXDeeper): add a ParagraphList arg
9953 (TeXEnvironment): ditto
9956 * buffer.C (readLyXformat2): adjust
9957 (insertStringAsLines): adjust
9958 (latexParagraphs): adjust
9960 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9961 (cutSelection): adjust
9962 (pasteSelection): adjust
9964 * BufferView_pimpl.C (insertInset): adjust
9966 2003-03-05 Angus Leeming <leeming@lyx.org>
9969 * LyXAction.C (init):
9970 * BufferView_pimpl.C (dispatch):
9971 * lyxfunc.C (getStatus):
9972 remove LFUN_CHILD_INSERT.
9974 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9976 2003-03-05 Angus Leeming <leeming@lyx.org>
9979 * LyXAction.C (init):
9980 * src/factory.C (createInset):
9981 * lyxfunc.C (getStatus):
9982 * text3.C (dispatch):
9983 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9985 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9987 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9989 * ParagraphList.C (insert): handle insert right before end()
9990 (erase): fix cases where it can be first or last paragraph.
9992 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9994 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9995 Paragraph::next and Paragraph::previous
9998 * text.C (breakParagraph): adjust
10000 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10001 BufferParams& as arg.
10002 (breakParagraph): use ParagraphList::insert
10003 (breakParagraphConservative): take a Buffer* instead of a
10004 BufferParams& as arg.
10005 (breakParagraphConservative): use ParagraphList::insert.
10007 * buffer.C (insertStringAsLines): un-const it
10008 (insertStringAsLines): adjust
10010 * ParagraphList.C (insert): new function
10012 * CutAndPaste.C (pasteSelection): adjust
10014 * text.C (backspace): adjust
10016 * tabular.C (SetMultiColumn): adjust
10018 * CutAndPaste.C (cutSelection): adjust
10019 (pasteSelection): adjust
10021 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10022 Buffer const * as arg
10024 * ParagraphList.C (erase): new function
10025 * paragraph_funcs.C (mergeParagraph): use it
10026 (mergeParagraph): make it take a Buffer* instead of a
10027 BufferParams* as arg
10029 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10031 (breakParagraphConservative): ditto
10033 * paragraph.h: remove the breakParagraph friend
10035 * paragraph.C (eraseIntern): new function
10036 (setChange): new function
10038 * paragraph_funcs.C (mergeParagraph): make it take a
10039 ParagraphList::iterator instead of a Paragraph *, adjust
10042 * paragraph.h: move an #endif so that the change tracking stuff
10043 also works in the NO_NEXT case.
10045 2003-03-04 Angus Leeming <leeming@lyx.org>
10048 * LyXAction.C: new LFUN_INSET_MODIFY.
10050 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10051 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10053 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10055 * several files: ws changes only
10057 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10058 (TeXEnvironment): ditto
10061 * buffer.C (makeLaTeXFile): adjust
10062 (latexParagraphs): make it take ParagraphList::iterator as args
10064 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10066 * buffer.C (latexParagraphs): adjust
10068 * paragraph.C (TeXOnePar): move function...
10069 (optArgInset): move function...
10070 (TeXEnvironment): move function...
10071 * paragraph_pimpl.C (TeXDeeper): move function...
10072 * paragraph_funcs.C: ...here
10074 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10076 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10078 * buffer.C (readInset): remove compability code for old Figure and
10081 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10083 * buffer.C: ws changes
10086 * BufferView_pimpl.C: ditto
10089 * bufferlist.h: ditto
10093 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10095 * converter.[Ch]: split into itself +
10098 * Makefile.am: += graph.[Ch] + format.[Ch]
10105 * lyxrc.C: added #include "format.h"
10107 2003-02-27 Angus Leeming <leeming@lyx.org>
10109 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10112 * factory.C (createInset): add "label" to the factory.
10114 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10115 string and do no more.
10117 2003-02-27 Angus Leeming <leeming@lyx.org>
10120 * LyXAction.C (init):
10121 * factory.C (createInset):
10122 * BufferView_pimpl.C (dispatch):
10123 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10125 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10127 * lyxfunc.C (dispatch):
10128 * text3.C (dispatch): pass name to params2string.
10130 2003-02-26 Angus Leeming <leeming@lyx.org>
10132 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10134 Rearrange the ~includes. Strip out the unnecessary ones.
10136 * factory.C (createInset): reformat.
10137 create new insets for the various LFUN_XYZ_APPLY lfuns.
10139 2003-02-26 John Levon <levon@movementarian.org>
10142 * lyxrow.C: add isParStart,isParEnd helpers
10144 * paragraph.h: make isInserted/DeletedText take refs
10146 * paragraph_funcs.h:
10147 * paragraph_funcs.C: remove #if 0'd code
10152 * text.C: use lyxrow helpers above.
10153 Move draw and paint routines to RowPainter.
10154 Make several methods use refs not pointers.
10155 Make backgroundColor() const.
10156 Add markChangeInDraw(), isInInset().
10157 Merge changeRegionCase into changeCase.
10158 Make workWidth() shouldn't-happen code into an Assert.
10161 * rowpainter.C: new class for painting a row.
10164 * vspace.C: make inPixels take a ref
10166 2003-02-26 Angus Leeming <leeming@lyx.org>
10168 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10171 2003-02-25 John Levon <levon@movementarian.org>
10173 * ispell.C: give the forked command a more accurate name
10175 2003-02-22 John Levon <levon@movementarian.org>
10178 * toc.C: make TocItem store an id not a Paragraph *
10181 2003-02-21 Angus Leeming <leeming@lyx.org>
10183 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10184 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10185 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10186 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10187 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10188 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10190 * BufferView_pimpl.C (dispatch):
10191 * LyXAction.C (init):
10192 * factory.C (createInset):
10193 * lyxfunc.C (getStatus, dispatch):
10194 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10196 2003-02-21 Angus Leeming <leeming@lyx.org>
10198 * BufferView_pimpl.C (MenuInsertLyXFile):
10199 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10200 * lyxfunc.C (menuNew, open, doImport):
10201 no longer pass a LyXView & to fileDlg.
10203 2003-02-21 Angus Leeming <leeming@lyx.org>
10205 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10206 * LyXAction.C: change, BIBKEY to BIBITEM.
10207 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10208 Change InsetBibKey to InsetBibitem.
10209 Change BIBKEY_CODE to BIBITEM_CODE.
10210 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10211 * factory.C: replace insetbib.h with insetbibitem.h.
10212 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10213 * paragraph.C: replace insetbib.h with insetbibitem.h.
10214 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10215 Change bibkey() to bibitem().
10216 * text.C: remove insetbib.h.
10217 * text2.C: replace insetbib.h with insetbibitem.h.
10218 change bibkey() to bibitem().
10219 * text3.C: remove insetbib.h.
10220 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10222 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10224 * lyxrc.C (output): enclose user email in quotes (in case there are
10227 2003-02-18 John Levon <levon@movementarian.org>
10229 * buffer.h: add std::
10231 2003-02-17 John Levon <levon@movementarian.org>
10237 * pspell.C: reworking. Especially in ispell, a large
10238 number of clean ups and bug fixes.
10240 * lyxfunc.C: fix revert to behave sensibly
10242 2003-02-17 André Pönitz <poenitz@gmx.net>
10245 * commandtags.h: new LFUN_INSERT_BIBKEY
10255 * paragraph_func.C: remove special bibkey handling
10257 2003-02-17 John Levon <levon@movementarian.org>
10259 * text.C (Delete): fix case where delete at the end of
10260 the very first paragraph would not merge the pars
10262 2003-02-17 John Levon <levon@movementarian.org>
10264 * lyxrow.C: fix lastPrintablePos()
10266 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10268 * bufferparams.C (writeLaTeX): add a std:here
10270 * buffer.C: and remove a using directive there
10272 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10274 * buffer.C (makeLaTeXFile): move the code that generates the
10277 * bufferparams.C (writeLaTeX): ... in this new method
10279 * LaTeXFeatures.C (getEncodingSet): make const
10280 (getLanguages): make const
10282 * MenuBackend.C (binding): returns the binding associated to this
10284 (add): sets the status of each item by calling getStatus. Adds
10286 (read): add support for OptSubMenu
10287 (expand): remove extra separator at the end of expanded menu
10289 2003-02-15 John Levon <levon@movementarian.org>
10292 * BufferView_pimpl.C:
10294 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10295 inset code that had no actual effect. Remove unneeded status
10298 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10300 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10303 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10305 * text.C (drawLengthMarker): also draw an arrow marker for
10306 symbolic lengths (medskip...)
10308 2003-02-14 John Levon <levon@movementarian.org>
10311 * tabular.C: better method names
10313 2003-02-14 John Levon <levon@movementarian.org>
10315 * BufferView_pimpl.C:
10320 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10321 it's a more accurate name. Remove some pointless uses.
10323 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10325 * text2.C (LyXText): change order of initilizers to shut off
10328 2003-02-14 John Levon <levon@movementarian.org>
10330 * buffer.C: use ParIterator for getParFromID()
10334 * paragraph_pimpl.h:
10335 * paragraph_pimpl.C: remove unused getParFromID()
10337 2003-02-14 John Levon <levon@movementarian.org>
10339 * buffer.C: remove some very old #if 0'd parse code
10341 2003-02-13 John Levon <levon@movementarian.org>
10345 * text2.C: move hfillExpansion(), numberOfSeparators(),
10346 rowLast(), rowLastPrintable(), numberofHfills(),
10347 numberOfLabelHfills() ...
10350 * lyxrow.C: ... to member functions here.
10355 * text.C: remove LyXText::beginningOfMainBody(), and call
10356 p->beginningOfMainBody() directly. Move the check for
10357 LABEL_MANUAL into the latter.
10364 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10370 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10371 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10373 2003-02-13 John Levon <levon@movementarian.org>
10375 * CutAndPaste.C: remove debug
10377 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10379 * paragraph.C (asString): remove two unused variables
10381 * lyxtextclass.C (readTitleType):
10383 (LyXTextClass): handle new members titletype_ and titlename_
10385 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10387 2003-02-09 John Levon <levon@movementarian.org>
10390 * buffer.C: replace hand-coded list with a map for the dep clean
10392 2003-02-08 John Levon <levon@movementarian.org>
10394 * LaTeX.C: consolidate code into showRunMessage() helper
10396 2003-02-08 John Levon <levon@movementarian.org>
10401 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10402 and pass the size in explicitly
10404 * BufferView_pimpl.h:
10405 * BufferView_pimpl.C:
10407 * BufferView.C: add getCurrentChange()
10409 * BufferView_pimpl.h:
10410 * BufferView_pimpl.C: handle change lfuns
10412 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10413 for changes. Mark pasted paragraphs as new.
10415 * support/lyxtime.h:
10416 * support/lyxtime.C:
10417 * DepTable.C: abstract time_t as lyx::time_type
10420 * LColor.C: add colours for new text, deleted text, changebars
10422 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10423 package use "usenames" option.
10427 * LyXAction.C: add change lfuns
10431 * author.C: author handling
10434 * buffer.C: add a per-buffer author list, with first entry as
10435 current author. Handle new .lyx tokens for change tracking. Output
10436 author list to .lyx file. Output dvipost stuff to .tex preamble.
10437 Bump lyx format to 222.
10440 * bufferlist.C: add setCurrentAuthor() to reset current author details
10444 * bufferparams.C: add param for tracking
10446 * bufferview_funcs.C: output change info in minibuffer
10450 * changes.C: add change-tracking structure
10453 * debug.C: add CHANGES debug flag
10456 * lyxfind.C: add code for finding the next change piece
10459 * lyxrc.C: add user_name and user_email
10462 * lyxrow.C: add a metric for the top of the text line
10465 * text.C: implement accept/rejectChange()
10468 * text.C: paint changebars. Paint new/deleted text in the chosen
10469 colours. Strike through deleted text.
10473 * paragraph_pimpl.h:
10474 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10475 in the current change to the insert functions. Rework erase to
10476 mark text as deleted, adding an eraseIntern() and a range-based
10477 erase(). Implement per-paragraph change lookup and
10480 * paragraph_funcs.C: Fixup paste for change tracking.
10482 * tabular.C: mark added row/columns as new.
10484 * text.C: fix rowLast() to never return -1. Don't allow
10485 spellchecking of deleted text. Track transpose changes. Don't
10486 allow paragraph break or merge where appropriate.
10488 * text2.C: leave cursor at end of selection after a cut.
10490 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10492 * text.C (getLengthMarkerHeight):
10493 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10494 visible on screen too.
10496 2003-02-07 John Levon <levon@movementarian.org>
10498 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10500 2003-02-05 Angus Leeming <leeming@lyx.org>
10502 * lyxserver.C (read_ready): revert my patch of 11 September last year
10503 as it sends PC cpu through the roof. Presumably this means that
10504 the lyxserver will no longer run on an Alpha...
10506 2003-01-30 Angus Leeming <leeming@lyx.org>
10508 * factory.C (createInset): create an InsetCommandParam of type "index"
10509 and use it to 'do the right thing'.
10511 * text2.C (getStringToIndex): ensure that cursor position is always
10512 reset to the reset_cursor position.
10514 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10516 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10519 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10523 * lyxfunc.C: Output messages with identical spelling, punctuation,
10526 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10528 * MenuBackend.C (expandFormats): List only viewable export formats
10531 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10534 * lyxfunc.C (getStatus): Make sure that formats other than
10535 "fax" can also be disabled
10537 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10539 * text3.C (dispatch): put the lfuns that insert insets in 3
10540 groups, and call doInsertInset with appropriate arguments.
10541 (doInsertInset): new function, that creates an inset and inserts
10542 it according to some boolean parameters.
10544 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10546 * buffer.C (readFile): remember to pass on 'par' when calling
10547 readFile recursively.
10549 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10551 * MenuBackend.C (expandFormats): add "..." to import formats.
10553 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10555 * paragraph.C (asString): Remove XForms RTL hacks.
10557 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10558 * buffer.C: fix typo
10560 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10562 * Makefile.am (LIBS): delete var
10563 (lyx_LDADD): add @LIBS@ here instead.
10565 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10567 * Clarify the meaning of "wheel mouse jump"
10569 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10571 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10574 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10576 * importer.C (Loaders): do not preallocate 3 elements in the
10577 vector, since one ends up with 6 elements otherwise
10579 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10581 * DepTable.C (write): write the file name as last element of the
10582 .dep file (because it may contain spaces)
10583 (read): read info in the right order
10585 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10587 * paragraph_pimpl.C (simpleTeXBlanks):
10588 (simpleTeXSpecialChars):
10589 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10591 * tabular.C (latex): add some missing case statements. Reindent.
10593 * MenuBackend.C (expandToc): remove unused variable.
10595 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10604 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10607 2003-01-05 John Levon <levon@movementarian.org>
10610 * BufferView.C: add getEncoding()
10613 * kbsequence.C: do not store last keypress
10616 * lyxfunc.C: store last keypress here instead. Pass encoding
10619 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10621 * lyx_main.C (init): remove annoying error message when following
10622 symbolic links (bug #780)
10624 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10626 * text.C (insertChar):
10627 * lyxrc.C (getDescription): remove extra spaces
10629 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10631 * lyxrc.C (getDescription): remove extra spaces
10633 2002-12-20 John Levon <levon@movementarian.org>
10635 * text3.C: hack fix for page up/down across tall rows
10637 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10639 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10642 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10644 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10645 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10646 thesaurus is not compiled in
10648 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10650 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10652 2002-12-16 Angus Leeming <leeming@lyx.org>
10655 * lyx_main.C (init): remove override_x_deadkeys stuff.
10657 2002-12-12 John Levon <levon@movementarian.org>
10659 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10660 insert. Only remove shift modifier under strict
10663 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10665 * MenuBackend.C (expandToc): fix crash.
10667 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10669 * MenuBackend.C (expandToc): gettext on float names.
10671 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10673 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10674 implement bool empty() [bug 490]
10676 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10678 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10680 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10682 * several files: ws changes
10684 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10686 * text2.C (setCounter): clean up a bit, use boost.format.
10687 (updateCounters): initialize par upon declaration.
10689 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10690 if the layout exists. We do not just store the layout any more.
10691 (SwitchLayoutsBetweenClasses): use boost.format
10693 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10695 * converter.C (convert): if from and to files are the same, use a
10696 temporary files as intermediary
10698 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10701 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10703 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10705 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10707 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10709 * tabular.C (asciiPrintCell): use string(size, char) instead of
10712 * sgml.C (openTag): fix order of arguments to string constructor
10715 * lyxfunc.C (dispatch): use boost.format
10717 * lots of files: change "c" -> 'c'
10719 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10721 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10723 2002-11-25 Angus Leeming <leeming@lyx.org>
10725 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10727 * lyx_main.C (init): compile fix.
10729 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10731 * lyx_cb.C (start): boost.formatify
10732 do not include <iostream>
10734 * lengthcommon.C: ws only
10736 * boost-inst.C,BoostFormat.h: add more explict instantations
10738 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10740 * lots of files: handle USE_BOOST_FORMAT
10742 2002-11-21 John Levon <levon@movementarian.org>
10744 * pspell.C: fix compile
10746 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10748 * lyxfunc.C (dispatch): use boost::format
10752 * lyxfont.C (stateText): use boost::format
10754 * lyx_main.C (LyX): use boost::format
10756 (queryUserLyXDir): ditto
10757 (readRcFile): ditto
10759 (typedef boost::function): use the recommened syntax.
10761 * importer.C (Import): use boost::format
10763 * debug.C (showLevel): use boost::format
10765 * converter.C (view): use boost::format
10770 * bufferview_funcs.C (currentState): use boost::format
10772 * bufferlist.C (emergencyWrite): use boost::format
10774 * buffer.C (readLyXformat2): use boost::format
10775 (parseSingleLyXformat2Token): ditto
10777 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10779 * LaTeX.C (run): use boost::format
10781 * Chktex.C (scanLogFile): use boost::format
10783 * BufferView_pimpl.C (savePosition): use boost::format
10784 (restorePosition): ditto
10785 (MenuInsertLyXFile): ditto
10787 * BoostFormat.h: help file for explicit instation.
10789 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10791 * tabular.C (latex): Support for block alignment in fixed width
10794 2002-11-17 John Levon <levon@movementarian.org>
10796 * BufferView_pimpl.C:
10798 * lyxfunc.C: split filedialog into open/save
10800 2002-11-08 Juergen Vigna <jug@sad.it>
10802 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10803 by my last patch (hopefully).
10805 2002-11-08 John Levon <levon@movementarian.org>
10814 * toc.C: ParConstIterator, and use it (from Lars)
10816 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10818 * lyxtextclass.[Ch]: revise and add doxygen comments
10820 2002-11-07 John Levon <levon@movementarian.org>
10822 * text.C: fix progress value for spellchecker
10824 * toc.C: fix navigate menu for insetwrap inside minipage
10826 * paragraph_funcs.C: added FIXME for suspect code
10828 2002-11-07 John Levon <levon@movementarian.org>
10830 * BufferView_pimpl.C: fix redrawing of insets
10833 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10835 * text2.C (updateCounters): fix bug 668
10837 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10839 * text3.C (dispatch): Do not make the buffer dirty when moving the
10842 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10844 * vc-backend.C: STRCONV
10845 (scanMaster): ditto
10847 * text2.C (setCounter): STRCONV
10849 * paragraph.C (asString): STRCONV
10851 * lyxlength.C (asString): STRCONV
10852 (asLatexString): ditto
10854 * lyxgluelength.C (asString): STRCONV
10855 (asLatexString): ditto
10857 * lyxfunc.C (dispatch): STRCONV
10860 * lyxfont.C (stateText): STRCONV
10862 * importer.C (Import): STRCONV
10864 * counters.C (labelItem): STRCONV
10865 (numberLabel): ditto
10866 (numberLabel): remove unused ostringstream o
10871 * bufferview_funcs.C (currentState): STRCONV
10873 * buffer.C (readFile): STRCONV
10874 (asciiParagraph): ditto
10875 (makeLaTeXFile): ditto
10877 * Spacing.C (writeEnvirBegin): STRCONV
10879 * LaTeXFeatures.C (getLanguages): STRCONV
10880 (getPackages): ditto
10882 (getBabelOptions): ditto
10883 (getTClassPreamble): ditto
10884 (getLyXSGMLEntities): ditto
10885 (getIncludedFiles): ditto
10889 (scanAuxFile): ditto
10892 * LString.h: add the STRCONV macros
10894 * BufferView_pimpl.C (savePosition): STRCONV
10895 (restorePosition): ditto
10896 (MenuInsertLyXFile): ditto
10898 * vc-backend.C (scanMaster): change from submatch[...] to
10901 * funcrequest.C: include config.h
10903 * factory.C: include config.h
10905 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10907 * box.C: include config.h
10909 * LaTeX.C (scanAuxFile): change from submatch[...] to
10913 2002-10-25 Angus Leeming <leeming@lyx.org>
10915 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10917 * ispell.[Ch] (setError): new method.
10918 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10919 Use setError() insetead of goto END.
10921 * lyx_cb.C (AutoSave): move out child process into new class
10924 2002-10-30 John Levon <levon@movementarian.org>
10926 * text3.C: make start appendix undoable
10928 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10930 * lyxlength.C (inPixels): Fix returned value.
10932 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10935 2002-10-24 Angus Leeming <leeming@lyx.org>
10937 * lyxgluelength.h: no need to forward declare BufferParams
10938 or BufferView, so don't.
10940 2002-10-21 John Levon <levon@movementarian.org>
10942 * BufferView.C: menuUndo ->undo, redo
10944 * BufferView.h: document, remove dead, make some methods private
10946 * paragraph_funcs.h:
10947 * paragraph_funcs.C:
10948 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10953 * sgml.C: move sgml open/close tag into sgml.C
10955 * bufferview_funcs.h: unused prototype
10958 * lyxfunc.C: remove unused
10961 * text.C: remove unused
10963 2002-10-21 John Levon <levon@movementarian.org>
10967 * BufferView_pimpl.h:
10968 * BufferView_pimpl.C: fix mouse wheel handling based on
10969 patch from Darren Freeman
10971 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10973 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10975 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10977 * lyxlength.C (inPixels): Fix hanfling of negative length.
10978 Fix LyXLength::MU case.
10980 2002-10-16 John Levon <levon@movementarian.org>
10982 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10984 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10986 * converter.C (view): add support for $$i (file name) and $$p
10987 (file path) for the viewer command. If $$i is not specified, then
10988 it is appended to the command (for compatibility with old syntax)
10990 2002-10-14 Juergen Vigna <jug@sad.it>
10992 * undo_funcs.C (textHandleUndo): alter the order in which the
10993 new undopar is added to the LyXText, as we have to set first
10994 the right prev/next and then add it as otherwise the rebuild of
10995 LyXText is not correct. Also reset the cursor to the right paragraph,
10996 with this IMO we could remove the hack in "redoParagraphs()".
10998 2002-10-09 Angus Leeming <leeming@lyx.org>
11000 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11001 to turn off an optimisation if a new inset is to be inserted.
11003 2002-10-11 André Pönitz <poenitz@gmx.net>
11005 * lyxtext.h: make some functions public to allow access
11006 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11008 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11010 * text3.C (dispatch): when changing layout, avoid an infinite loop
11013 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11015 * lyxrc.C (read): treat a viewer or converter command of "none" as
11018 * MenuBackend.C (expandFormats): for an update, also allow the
11019 formats that are not viewable
11021 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11022 script if it is newer than the lyxrc.defaults in user directory
11024 2002-10-07 André Pönitz <poenitz@gmx.net>
11026 * text.C: Vitaly Lipatov's small i18n fix
11028 2002-09-25 Angus Leeming <leeming@lyx.org>
11030 * ispell.h: doxygen fix.
11032 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11034 * buffer.h (readFile): Add a new argument to the method, to allow
11035 reading of old-format templates.
11037 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11039 * toc.C (getTocList): Get TOC from InsetWrap.
11041 2002-09-16 John Levon <levon@movementarian.org>
11043 * lyxfunc.C: check tabular for cut/copy too
11045 2002-09-12 John Levon <levon@movementarian.org>
11047 * LyXAction.C: tidy
11050 * factory.C: add header
11052 * paragraph_funcs.h:
11053 * paragraph_funcs.C: cleanup
11055 2002-09-11 John Levon <levon@movementarian.org>
11057 * PrinterParams.h: odd/even default to true
11059 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11061 * PrinterParams.h: update printer parameters for new xforms dialog
11063 2002-09-11 Angus Leeming <leeming@lyx.org>
11065 * lyxserver.C (read_ready): re-write to make it more transparent
11066 and to make it work in coherent fashion under Tru64 Unix.
11068 2002-09-11 André Pönitz <poenitz@gmx.net>
11072 * text3.C: implement LFUN_WORDSEL
11074 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11076 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11077 make floatlist_ a boost::shared_ptr<FloatList>
11079 * lyxtextclass.C: include FloatList.h
11080 (LyXTextClass): initialize floatlist_
11081 (TextClassTags): add TC_NOFLOAT
11082 (Read): match "nofloat" to TC_NOFLOAT and use it.
11083 (readFloat): modify call to floatlist_
11087 * FloatList.[Ch] (FloatList): remove commented out float
11089 (erase): new function
11091 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11093 * MenuBackend.C (expandToc): fix crash when there is no document
11096 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11098 * many files: Add insetwrap.
11100 2002-09-09 John Levon <levon@movementarian.org>
11102 * text2.C: remove confusing and awkward depth wraparound
11104 2002-09-09 John Levon <levon@movementarian.org>
11106 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11109 * buffer.C: remove getIncludeonlyList()
11112 * lyxfunc.C: remove headers
11114 2002-09-09 Juergen Vigna <jug@sad.it>
11116 * text.C (getColumnNearX): fix form Michael this is most
11117 probably a cut&paste bug.
11119 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11121 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11123 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11124 references, ws changes.
11126 * text2.C (init): update counters after init
11127 (insertParagraph): no need to set counter on idividual paragraphs.
11128 (setCounter): access the counters object in the textclass object
11129 on in the buffer object.
11130 (updateCounters): ditto
11132 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11133 shared_ptr<Counters> to avoid loading counters.h in all
11135 (LyXTextClass): initialize ctrs_
11136 (TextClassTags): add TC_COUNTER, and ...
11137 (Read): use it here.
11138 (CounterTags): new tags
11139 (readCounter): new function
11140 (counters): new funtion
11141 (defaultLayoutName): return a const reference
11143 * counters.C (Counters): remove contructor
11144 (newCounter): remove a couple of unneeded statements.
11145 (newCounter): simplify a bit.
11146 (numberLabel): some small formatting changes.
11148 * buffer.[Ch]: remove all traces of counters, move the Counters
11149 object to the LyXTextClass.
11151 2002-09-06 Alain Castera <castera@in2p3.fr>
11153 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11154 package to set the horizontal alignment on fixed width columns.
11157 * lyx_sty.h: added tabularnewline macro def.
11159 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11161 2002-09-06 John Levon <levon@movementarian.org>
11163 * LyXAction.C: tooltips for sub/superscript
11165 * MenuBackend.C: a bit more verbose
11167 * lyxfunc.C: tiny clean
11169 * undo_funcs.C: document undo_frozen
11171 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11173 * counters.C (Counters): add missing algorithm counter.
11175 * text2.C (setCounter): lookup the counter with layouts latexname
11176 instead of by section number.
11177 (setCounter): use a hackish way to lookup the correct enum
11179 a float name->type change
11180 reset enum couners with counter name directly instead of depth value.
11182 * counters.C (Counters): remove the push_backs, change to use the
11183 float type not the float name.
11184 (labelItem): remove unused string, float name->type change
11186 * counters.h: don't include vector, loose the enums and sects vectors
11188 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11190 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11191 (Read): add float->TC_FLOAT to textclassTags
11192 (Read): and handle it in the switch
11193 (readFloat): new function
11195 * FloatList.C (FloatList): comment out the hardcoded float
11198 * lyxlayout.h: ws change.
11200 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11202 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11204 2002-09-03 Angus Leeming <leeming@lyx.org>
11206 * BufferView_pimpl.h: qualified name is not allowed in member
11207 declaration: WorkArea & Pimpl::workarea() const;
11209 * factory.C: added using std::endl directive.
11211 * text3.C: added using std::find and std::vector directives.
11213 2002-08-29 André Pönitz <poenitz@gmx.net>
11216 * text2.C: remove unused member number_of_rows
11219 * BufferView2.C: remove file, move contents to...
11220 * BufferView.C: ... here
11222 * BufferView_pimpl.C:
11223 * factory.C: move more inset creation to factory
11225 * vspace.C: avoid direct usage of LyXText, ws changes
11228 don't provide direct access to WorkArea, use two simple
11229 acessors haveSelction() and workHeight() instead
11232 2002-08-29 John Levon <levon@movementarian.org>
11234 * BufferView_pimpl.C (dispatch): do not continue when
11237 2002-08-28 André Pönitz <poenitz@gmx.net>
11239 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11242 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11244 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11246 * buffer.C: increment LYX_FORMAT to 221
11248 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11249 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11251 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11253 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11255 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11257 * factory.C (createInset): use LyXTextClass::floats
11259 * MenuBackend.C (expandFloatListInsert):
11260 (expandFloatInsert):
11263 * text2.C (setCounter):
11265 * LaTeXFeatures.C (useFloat):
11266 (getFloatDefinitions):
11268 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11270 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11271 floatlist_, with accessor floats().
11273 * FloatList.h: remove global FloatList
11275 2002-08-26 André Pönitz <poenitz@gmx.net>
11277 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11281 * BufferView_pimpl.C:
11282 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11284 2002-08-25 John Levon <levon@movementarian.org>
11286 * LyXAction.C: fix margin note description
11288 2002-08-24 John Levon <levon@movementarian.org>
11292 * bufferview_funcs.C:
11294 * undo_funcs.C: cleanups
11296 * lyxfunc.C: disable CUT/COPY when no selection
11298 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11300 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11301 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11303 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11304 Add backward compatibility to "mono", "gray" and "no".
11306 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11308 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11309 (and file_format >= 200).
11311 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11313 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11315 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11317 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11319 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11321 * BufferView_pimpl.C:
11328 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11329 inset and code to make it work with the paragraph code. The inset
11330 can be anywhere in the paragraph, but will only do the expected
11331 thing in LaTeX if the layout file contains the parameter line
11333 (or more generally, a nonzero value) for that layout.
11335 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11337 * paragraph.h: remove the declaration of undefined counters class
11340 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11342 * text2.C (setCounter): fixed enumeration mis-count as reported by
11343 Dr. Richard Hawkins.
11345 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11347 * paragraph_funcs.h: remove some unneeded includes
11349 * text.C (backspace): pasteParagraph now in global scipe
11351 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11352 (pasteSelection): ditto
11354 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11355 * paragraph_funcs.C (pasteParagraph): ... here
11357 2002-08-20 André Pönitz <poenitz@gmx.net>
11359 * commandtags.h: new LFUNs for swapping/copying table row/colums
11362 * lyxfunc.C: support for new lfuns
11364 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11367 * buffer.[Ch]: remove NO_COMPABILITY stuff
11369 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11371 * boost.C (throw_exception): new file, with helper function for
11372 boost compiled without exceptions.
11377 * ParameterStruct.h:
11378 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11380 * bufferlist.C (emergencyWriteAll): use boost bind
11382 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11384 * text.C: include paragraph_funcs.h
11385 (breakParagraph): breakParagraph is now in global scope
11387 * paragraph_funcs.[Ch]: new files
11389 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11392 * buffer.C: include paragraph_funcs.h
11393 (insertStringAsLines): breakParagraph is now in global scope
11395 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11398 * CutAndPaste.C: include paragraph_funcs.h
11399 (cutSelection): breakParagraphConservative is now in global scope
11400 (pasteSelection): ditto
11402 * buffer.h: declare oprator== and operator!= for
11403 Buffer::inset_iterator
11405 * bufferlist.C (emergencyWrite): don't use fmt(...)
11407 * text3.C: add using std::endl
11409 * BufferView.C (moveCursorUpdate): remove default arg
11411 2002-08-20 André Pönitz <poenitz@gmx.net>
11413 * buffer.[Ch]: move inline functions to .C
11416 * BufferView_pimpl.C:
11418 * buffer.[Ch]: use improved inset_iterator
11421 * paragraph.[Ch]: write one paragraph at a time
11423 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11425 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11426 style if style is not specified.
11428 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11430 * text2.C (setCounter): when searching for right label for a
11431 caption, make sure to recurse to parent insets (so that a caption
11432 in a minipage in a figure float works) (bug #568)
11434 2002-08-20 André Pönitz <poenitz@gmx.net>
11436 * text3.C: new file for LyXText::dispatch() and helpers
11438 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11440 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11442 2002-08-19 André Pönitz <poenitz@gmx.net>
11445 * text.C: new LyXText::dispatch()
11447 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11449 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11451 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11453 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11456 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11458 * Makefile.am: use $(variables) instead of @substitutions@
11460 2002-08-15 André Pönitz <poenitz@gmx.net>
11463 * BufferView_pimpl.C: streamlining mathed <-> outer world
11467 * LyXAction.C: remove unused LFUN_MATH
11469 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11471 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11473 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11475 * paragraph.C (Paragraph): reformat a bit
11476 (cutIntoMinibuffer): use builtin InsetList function instad of
11480 * buffer.C: include boost/bind.hpp, add using std::for_each
11481 (writeFileAscii): use ParagraphList iterators
11482 (validate): use for_each for validate traversal of paragraphs
11483 (getBibkeyList): use ParagraphList iterators
11484 (resizeInsets): use for_each to resizeInsetsLyXText for all
11486 (getParFromID): use ParagraphList iterators
11488 * BufferView2.C (lockInset): use paragraph list and iterators
11490 2002-08-14 John Levon <levon@movementarian.org>
11492 * lyxserver.C: remove spurious xforms include
11494 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11496 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11498 2002-08-13 André Pönitz <poenitz@gmx.net>
11501 * lyxfunc.C: further cleaning
11503 2002-08-13 André Pönitz <poenitz@gmx.net>
11505 * funcrequest.h: new constructor
11507 * funcrequest.C: move stuff here from .h
11510 * BufferView_pimpl.C:
11513 * lyxfunc.C: subsequent changes
11515 * lyxfunc.h: new view() member function
11517 * lyxfunc.C: subsequent changes
11519 2002-08-13 Angus Leeming <leeming@lyx.org>
11522 * BufferView_pimpl.C:
11530 changes due to the changed LyXView interface that now returns references
11531 to member variables not pointers.
11533 2002-08-13 Angus Leeming <leeming@lyx.org>
11535 * WordLangTuple (word, lang_code): return references to strings,
11540 * lyxtext.h: forward-declare WordLangTuple.
11545 * text.C: #include "WordLangTuple.h".
11548 * text.C: (selectNextWordToSpellcheck): constify return type.
11550 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11556 * paragraph_pimpl.h:
11559 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11560 suggested by Angus.
11561 Made updateCounter always count from start of buffer, and removed
11562 second argument (par).
11563 Reverted floats number display to '#'. Perhaps I'll try again when the
11564 code base is sanitized a bit.
11566 2002-08-12 Angus Leeming <leeming@lyx.org>
11568 * buffer.[Ch] (getLabelList): constify.
11570 2002-08-07 André Pönitz <poenitz@gmx.net>
11572 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11574 * funcrequest.h: extension to keep mouse (x,y) position
11576 2002-08-12 Juergen Vigna <jug@sad.it>
11578 * BufferView2.C (insertErrors): forbid undo when inserting error
11581 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11583 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11585 * ParagraphList.[Ch]: new files
11587 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11589 * BufferView2.C (lockInset): ParagraphList changes
11592 * bufferlist.C: ditto
11596 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11598 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11599 unused class variable counter_,
11601 * paragraph.[Ch] (getFirstCounter): delete unused function
11603 * counters.C: include LAssert.h
11604 (reset): add a new function with no arg, change other version to
11605 not have def. arg and to not allow empty arg.
11607 * text2.C (setCounter): remove empty arg from call to Counters::reset
11609 2002-08-11 John Levon <levon@movementarian.org>
11611 * Makefile.am: add WordLangTuple.h
11613 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11615 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11616 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11618 * insets/insettext.C: InsetList changes
11620 * graphics/GraphicsSupport.C (operator()): InsetList changes
11622 * toc.C (getTocList): InsetList changes
11624 * paragraph_pimpl.[Ch]: InsetList changes
11626 * paragraph.[Ch]: InsetList changes
11628 * buffer.C (inset_iterator): InsetList changes
11629 (setParagraph): ditto
11630 * buffer.h (inset_iterator): ditto
11631 * iterators.C (operator++): ditto
11632 * iterators.h: ditto
11634 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11636 * InsetList.[Ch]: new files, most InsetList handling moved out of
11639 * BufferView2.C (removeAutoInsets): InsetList changes
11641 (ChangeInsets): ditto
11643 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11645 * paragraph_pimpl.h (empty): new function
11647 * paragraph.[Ch] (empty): new function
11649 * other files: use the new Paragraph::empty function
11651 2002-08-09 John Levon <levon@movementarian.org>
11653 * lyxtext.h: remove unused refresh_height
11655 2002-08-09 John Levon <levon@movementarian.org>
11662 * paragraph.C: move sgml char escaping out of paragraph
11665 * paragraph.C: remove id setter
11669 * paragraph_pimpl.C: remove dead tex_code_break_column
11671 * bufferview_funcs.C: small cleanup
11673 * lyxfunc.C: remove dead proto
11675 * lyxtext.h: make some stuff private. Remove some dead stuff.
11677 * lyxgluelength.C: make as[LyX]String() readable
11679 2002-08-08 John Levon <levon@movementarian.org>
11684 * ToolbarDefaults.C:
11687 * toc.C: lyxaction cleanup
11689 2002-08-08 John Levon <levon@movementarian.org>
11691 * BufferView2.C: small cleanup
11694 * lyxfind.C: move unnecessary header into the .C
11696 2002-08-08 John Levon <levon@movementarian.org>
11698 * funcrequest.h: just tedious nonsense
11701 * lyx_main.C: cleanups
11704 * vspace.C: remove dead header lyx_main.h
11706 2002-08-07 Angus Leeming <leeming@lyx.org>
11709 * paragraph_pimpl.h:
11710 Forward declare class Counters in paragraph.h by moving the ctrs member
11711 variable into Paragraph::Pimpl.
11712 (counters): new method, returning a reference to pimpl_->ctrs.
11714 * text2.C: ensuing changes.
11716 2002-08-07 John Levon <levon@movementarian.org>
11718 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11720 * BufferView_pimpl.C: announce X selection on double/triple
11723 * lyx_main.C: use correct bool in batch dispatch
11725 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11727 2002-08-07 André Pönitz <poenitz@gmx.net>
11729 * funcrequest.h: new class to wrap a kb_action and its argument
11732 * BufferView_pimpl[Ch]:
11736 * lyxrc.C: subsequent changes
11739 2002-08-07 John Levon <levon@movementarian.org>
11741 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11742 document options change.
11744 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11749 * makefile.am: move counters functionality over from
11750 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11752 2002-08-06 John Levon <levon@movementarian.org>
11754 * WordLangTuple.h: new file for word + language code tuple
11765 * BufferView2.C: use WordLangTuple
11768 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11770 2002-08-06 John Levon <levon@movementarian.org>
11772 * lyx_main.C: fix cmdline batch handling
11774 2002-08-06 André Pönitz <poenitz@gmx.net>
11776 * lyxrc.C: set default for show_banner to true
11778 2002-08-06 John Levon <levon@movementarian.org>
11780 * pspell.C: fix a crash, and allow new aspell to work
11782 2002-08-06 John Levon <levon@movementarian.org>
11785 * kbmap.C: small cleanup
11788 * vspace.C: add const
11790 2002-08-05 John Levon <levon@movementarian.org>
11792 * LyXAction.C: back to tabular-insert
11794 2002-08-04 John Levon <levon@movementarian.org>
11797 * BufferView.C: cosmetic change
11799 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11809 * BufferView2.C: purge all "Lyx" not "LyX" strings
11812 * lyxcursor.C: attempt to add some documentation
11817 * ToolbarDefaults.C:
11818 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11819 merge with LFUN_TABULAR_INSERT
11826 * pspell.C: split up i/pspell implementations into separate
11827 files, many cleanups
11829 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11831 * text2.C: some cleanup
11833 * lyxfunc.C: don't check for isp_command == "none" any more, it
11834 didn't make any sense
11836 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11841 * makefile.am: move counters functionality over
11842 from text2.C/paragraph.[Ch] to counters.[Ch], and
11844 2002-08-02 John Levon <levon@movementarian.org>
11846 * buffer.C: s/lyxconvert/lyx2lyx/
11848 2002-08-02 Angus Leeming <leeming@lyx.org>
11850 * lyxlex.C: revert John's change as it breaks reading of the user
11853 2002-08-02 Angus Leeming <leeming@lyx.org>
11855 * importer.C (Import):
11856 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11857 changes due to LyXView::view() now returning a boost::shared_ptr.
11859 2002-08-02 John Levon <levon@movementarian.org>
11861 * lyxlex.C: small cleanup
11863 2002-08-02 John Levon <levon@movementarian.org>
11865 * text2.C (status): small cleanup, no logic change
11867 2002-08-01 John Levon <levon@movementarian.org>
11870 * buffer.C (writeFile): don't output alerts, caller
11874 * lyx_cb.C: from above
11876 * lyxfunc.C: allow to open non-existent files
11878 2002-07-31 John Levon <levon@movementarian.org>
11880 * lyxserver.C: don't let incidental errors get
11883 2002-07-30 John Levon <levon@movementarian.org>
11885 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11887 2002-07-30 John Levon <levon@movementarian.org>
11890 * lyxserver.C: remove I/O callback too
11892 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11894 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11897 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11899 * many files: strip,frontStrip -> trim,ltrim,rtrim
11901 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11903 * PrinterParams.h: remove extern containsOnly, and include
11904 support/lstrings.h instead.
11906 * LaTeX.C (scanAuxFile): modify because of strip changes
11908 * buffer.C (makeLaTeXFile): ditto
11909 * bufferparams.C (writeFile): ditt
11910 * lyxfont.C (stateText): ditto
11911 * lyxserver.C (read_ready): ditto
11912 * vc-backend.C (scanMaster): ditto
11914 * BufferView_pimpl.h: ws changes
11916 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11918 2002-07-26 André Pönitz <poenitz@gmx.net>
11920 * kb_sequence.C: remove unnedred usings
11922 2002-07-26 Juergen Vigna <jug@sad.it>
11924 * lyxfind.C (LyXReplace): we have to check better if the returned
11925 text is not of theLockingInset()->getLockingInset().
11927 2002-07-25 Juergen Vigna <jug@sad.it>
11929 * lyxfind.C (LyXReplace): don't replace if we don't get the
11932 * undo_funcs.C (createUndo): remove debugging code.
11934 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11936 * buffer.C (parseSingleLyXformat2Token): Use default placement
11937 when reading old floats.
11939 * FloatList.C (FloatList): Change the default placement of figure
11940 and tables to "tbp".
11942 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11944 * MenuBackend.C: using std::max
11946 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11948 * MenuBackend.C (expandToc):
11949 (expandToc2): code moved from xforms menu frontend. It is now
11950 generic and TOCs are transparent to menu frontends.
11952 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11954 * toc.C (getTocList): protect against buf=0
11956 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11957 Menu as first parameter. Now, this calls itself recursively to
11958 expand a whole tree (this will be useful for TOC handling)
11959 (expandFloatInsert): remove 'wide' version of floats
11961 * MenuBackend.h (submenuname): returns the name of the submenu.
11962 (submenu): returns the submenu itself, provided it has been
11963 created by MenuBackend::expand
11965 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11967 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11968 insets which have noFontChange == true. (bug #172)
11970 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11972 * BufferView_pimpl.C: add connection objects and use them...
11975 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11977 * MenuBackend.C (expandLastfiles):
11980 (expandFloatListInsert):
11981 (expandFloatInsert):
11982 (expand): split expand in parts
11984 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11986 * lyx_gui.C: use lyx_gui::exit()
11988 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11990 * LyXAction.C: show the failing pseudo action
11992 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11994 * buffer.C (readFile): Run the lyxconvert script in order to read
11997 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12001 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12003 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12007 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12009 2002-07-22 Herbert Voss <voss@lyx.org>
12012 * lyxlength.[Ch]: add support for the vertical lengths
12014 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12016 * toc.[Ch]: std:: fixes
12018 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12020 * lyxrc.C: do not include lyx_main.h
12022 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12028 * BufferView2.C: include "lyxlex.h"
12031 * bufferparams.h: do not #include "lyxlex.h"
12033 * lyxtextclasslist.C (Add): remove method
12034 (classlist): renamed to classlist_
12036 * paragraph_pimpl.C:
12040 * bufferview_funcs.C:
12045 * toc.C (getTocList): use BufferParams::getLyXTextClass
12047 * toc.C (getTocList): use InsetFloat::addToToc
12049 * toc.[Ch]: new files, containing helper functions to handle table
12052 * lyxfunc.C (dispatch): no need to remove spaces around command
12054 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12055 first command of the sequence; it is not very clever, but I do not
12056 have a better idea, actually
12058 * LyXAction.C (LookupFunc): make sure to remove space at the
12059 beginning and end of the command
12061 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12063 * MenuBackend.C (getMenubar): new method: return the menubar of
12065 (read): treat differently reading of menu and menubar (in
12066 particular, the menubar has no name now)
12067 (Menu::menubar): remove
12069 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12072 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12074 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12075 a bibitem inset in a RTL paragraph.
12077 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12079 * paragraph_pimpl.C: constify
12081 * BufferView_pimpl.C:
12083 * lyxfunc.C: fix dispatch in a nicer way
12085 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12087 * lyxfunc.C (dispatch):
12088 * BufferView_pimpl.C:
12089 * BufferView_pimpl.h:
12091 * BufferView.h: rename Dispatch() to dispatch()
12093 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12095 * lyxlayout.C (Read): honor DependsOn tag
12097 * lyxlayout.[Ch] (depends_on): new method
12099 * version.C.in: update lyx_docversion
12101 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12103 * paragraph.C (validate): remove from here...
12104 * paragraph_pimpl.C (validate): ... and move here
12105 (isTextAt): make it const
12107 * buffer.C (getLists): ws cleanup
12109 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12111 * language.C (read): Use iso8859-1 encoding in latex_lang
12112 (this prevents LyX from crashing when using iso10646-1 encoding).
12114 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12116 * text2.C (toggleInset): if cursor is inside an inset, close the
12117 inset and leave cursor _after_ it
12119 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12121 * lyxfunc.C: move minibuffer completion handling out of here
12123 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12125 * BufferView_pimpl.C:
12126 * LaTeX.C: fix dispatch calls
12128 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12130 * text.C (drawChars): Fix Arabic text rendering.
12132 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12136 * lyxfunc.C: remove message-push/pop
12140 * lyxfunc.C: rationalise some code by removing verboseDispatch
12141 in favour of a bool argument to dispatch()
12143 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12145 * lyx_main.C (init): make sure to read symlinks as absolute paths
12147 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12150 * lyxfunc.C: no need for commandshortcut to be a member
12152 2002-07-15 André Pönitz <poenitz@gmx.net>
12154 * converter.C: add support for $$s (scripts from lib/scripts dir)
12155 * lyx_main.C: white space
12157 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12161 * lyxrc.C: remove second exit confirmation
12163 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12168 * BufferView_pimpl.h:
12169 * BufferView_pimpl.C:
12170 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12172 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12174 * MenuBackend.C (expand): add numeric shortcuts to document menu
12176 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12178 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12180 * lyxfont.C (setLyXFamily):
12187 * buffer.C (asciiParagraph): use ascii_lowercase
12189 2002-07-15 Mike Fabian <mfabian@suse.de>
12191 * lyxlex_pimpl.C (search_kw):
12192 * lyxlex.C (getLongString):
12193 * converter.h (operator<):
12194 * converter.C (operator<):
12195 * buffer.C (parseSingleLyXformat2Token):
12197 * ToolbarDefaults.C (read):
12198 * MenuBackend.C (checkShortcuts):
12200 * LColor.C (getFromGUIName):
12201 (getFromLyXName): use the compare_ascii_no_case instead of
12202 compare_no_case, because in turkish, 'i' is not the lowercase
12203 version of 'I', and thus turkish locale breaks parsing of tags.
12205 2002-07-16 Angus Leeming <leeming@lyx.org>
12207 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12208 now takes a Buffer const & argument.
12210 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12212 * BufferView.C (resize): check there's a buffer to resize
12214 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12216 * lyxfunc.C: remove dead code
12219 * lyxserver.C: use lyx_guii::set_read_callback
12221 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12223 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12224 an inset in a RTL paragraph.
12226 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12228 * lyxfunc.C: repaint after a font size update
12230 2002-07-15 André Pönitz <poenitz@gmx.net>
12232 * lyxlength.C: inBP should be able to return negative values
12234 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12236 * lyxfunc.C: use lyx_gui::update_fonts()
12238 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12240 * lyxfunc.C: use lyx_gui::update_color()
12242 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12248 * lyxrc.C: remove file->new asks for name option, and let
12249 buffer-new take an argument
12251 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12253 * BufferView_pimpl.C: remove unneeded extra repaint()
12255 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12257 * LyXAction.C: allow command-sequence with NoBuffer
12259 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12261 2002-07-10 Angus Leeming <leeming@lyx.org>
12263 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12265 2002-07-09 Angus Leeming <leeming@lyx.org>
12267 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12269 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12271 * lengthcommon.h: whitespace
12273 * lyxfunc.C: update scrollbar after goto paragraph
12275 * lyxtext.h: factor out page break drawing, and fix it so
12276 page break/added space paints as selected nicely
12278 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12280 * BufferView_pimpl.C: add FIXMEs, clean up a little
12282 2002-07-09 André Pönitz <poenitz@gmx.net>
12284 * lyxfont.[Ch]: support for wasy symbols
12286 2002-07-08 André Pönitz <poenitz@gmx.net>
12288 * BufferView_pimpl.C: apply John's patch for #93.
12290 2002-07-05 Angus Leeming <leeming@lyx.org>
12292 * BufferView_pimpl.C (buffer): generate previews if desired.
12294 * LColor.h: add "preview" to the color enum.
12296 * LColor.C (LColor): add a corresponding entry to the items array.
12298 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12301 2002-07-05 Angus Leeming <leeming@lyx.org>
12303 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12304 The body of the code is now in the method that is passed an ostream &
12305 rather than a file name.
12306 Pass an additional only_preamble parameter, useful for the forthcoming
12309 2002-07-03 André Pönitz <poenitz@gmx.net>
12311 * lyxfunc.C: simplify getStatus() a bit for math stuff
12313 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12315 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12317 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12319 * text.C (changeRegionCase): do not change case of all the
12320 document when region ends at paragraph end (bug #461)
12322 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12324 * paragraph.C (startTeXParParams):
12325 (endTeXParParams): add \protect when necessary
12327 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12329 * BufferView_pimpl.C (workAreaExpose): remove warning
12331 2002-06-27 Angus Leeming <leeming@lyx.org>
12333 * Makefile.am: add lyxlayout_ptr_fwd.h.
12335 2002-06-26 André Pönitz <poenitz@gmx.net>
12337 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12339 2002-06-25 Angus Leeming <leeming@lyx.org>
12341 * lyxfunc.C (dispatch): Comment out the call to
12342 grfx::GCache::changeDisplay. The method no longer exists now that the
12343 pixmap generation part of the graphics loader has been moved into
12346 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12348 * text2.C: layout as layout
12350 * text.C: layout as layout
12352 * tabular.C (OldFormatRead): layout as layout
12354 * paragraph_pimpl.C (TeXDeeper): layout as layout
12355 (realizeFont): layout as layout
12357 * paragraph.C (writeFile): layout as layout
12358 (validate): layout as layout
12359 (getFont): layout as layout
12360 (getLabelFont): layout as layout
12361 (getLayoutFont): layout as layout
12362 (breakParagraph): layout as layout
12363 (stripLeadingSpaces): layout as layout
12364 (getEndLabel): layout as layout
12365 (getMaxDepthAfter): layout as layout
12366 (applyLayout): layout as layout
12367 (TeXOnePar): layout as layout
12368 (simpleTeXOnePar): layout as layout
12369 (TeXEnvironment): layout as layout
12370 (layout): layout as layout
12371 (layout): layout as layout
12373 * lyxtextclass.C (compare_name): new functor to work with
12374 shared_ptr, layout as layout
12375 (Read): layout as layout
12376 (hasLayout): layout as layout
12377 (operator): layout as layout
12378 (delete_layout): layout as layout
12379 (defaultLayout): layout as layout
12381 * lyxlayout_ptr_fwd.h: new file
12383 * lyxlayout.C (Read): layout as layout
12385 * lyx_cb.C (MenuInsertLabel): layout as layout
12387 * bufferlist.C (newFile): layout as layout
12389 * buffer.C (readLyXformat2): layout as layout
12390 (parseSingleLyXformat2Token): layout as layout
12391 (insertStringAsLines): layout as layout
12392 (asciiParagraph): layout as layout
12393 (latexParagraphs): layout as layout
12394 (makeLinuxDocFile): layout as layout
12395 (simpleLinuxDocOnePar): layout as layout
12396 (makeDocBookFile): layout as layout
12397 (simpleDocBookOnePar): layout as layout
12398 (getLists): layout as layout
12400 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12402 * CutAndPaste.C (cutSelection): layout as layout
12403 (pasteSelection): layout as layout
12404 (SwitchLayoutsBetweenClasses): layout as layout
12406 * BufferView_pimpl.C (Dispatch): layout as layout
12407 (smartQuote): layout as layout
12409 * BufferView2.C (unlockInset): layout as layout
12411 2002-06-24 André Pönitz <poenitz@gmx.net>
12413 * lyxfunc.C: fix #487
12415 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12419 * lyxfunc.C: remove display_shortcuts, show_banner
12421 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12423 * Buffer_pimpl.C: oops, update on resize
12425 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12432 * BufferView.C: use repaint()
12434 * BufferView_pimpl.h:
12435 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12436 as it's a clearer description. Remove superfluous
12439 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12441 * text.C: fix bug 488. Not ideal, but getting
12442 getWord() to work properly for the insets that
12443 matter is more difficult ...
12445 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12447 * BufferView_pimpl.C:
12450 * lyxfunc.C: remove the six million index lyxfuncs to just
12451 one, and DTRT (bug 458)
12453 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12457 * BufferView_pimpl.h:
12458 * BufferView_pimpl.C: clean up resize() stuff,
12459 and unnecessary updateScreen()s
12461 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12465 * BufferView_pimpl.h:
12466 * BufferView_pimpl.C:
12469 * minibuffer.C: remove focus management of workarea,
12470 not needed. Use screen's greyOut()
12472 2002-06-17 Herbert Voss <voss@lyx.org>
12474 * converter.C: (convert) do not post a message, when converting
12475 fails, let the calling function decide what to do in this case
12477 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12479 * lyxfunc.C: tidy up a little
12481 2002-06-16 <alstrup@diku.dk>
12483 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12484 Got rid of FORMS_H_LOCATION include. Now we are
12487 2002-06-15 LyX Development team <lyx@rilke>
12489 * buffer.[Ch] (sgmlOpenTag):
12490 (sgmlCloseTag): Added support for avoiding pernicious mixed
12491 content. Return number of lines written.
12493 (makeLinuxDocFile):
12494 (makeDocBookFile): Fixed calls to sgml*Tag.
12495 Simple white space clean.
12497 (simpleDocBookOnePar): Simple white space clean.
12499 * tabular.[Ch] (docBook): Renamed to docbook and got another
12500 argument to related with the pernicious mixed content.
12502 (docbookRow): Fixed calls for docbook inset method.
12504 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12506 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12507 so it's X11 independent.
12511 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12513 2002-06-15 Lyx Development team <lyx@electronia>
12515 * intl.h: Renamed getTrans to getTransManager.
12517 2002-06-14 Angus Leeming <leeming@lyx.org>
12519 * Makefile.am: nuke forgotten stl_string_fwd.h.
12521 2002-06-12 Angus Leeming <leeming@lyx.org>
12523 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12525 2002-06-13 Angus Leeming <leeming@lyx.org>
12528 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12530 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12532 * kbmap.C (getiso): add support for cyrillic and greek
12534 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12538 * BufferView_pimpl.h:
12539 * BufferView_pimpl.C: move bogus scrolling logic
12542 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12545 * BufferView_pimpl.C: view->resize() change
12547 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12549 * BufferView_pimpl.C: topCursorVisible
12552 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12556 * lyx_gui.C: move to frontends/
12560 * lyx_main.C: changes from above
12562 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12569 * lyx_main.C: minor tidy
12571 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12573 * BufferView_pimpl.h:
12574 * BufferView_pimpl.C:
12576 * BufferView.C: make painter() const,
12579 * BufferView2.C: use screen() accessor
12582 * lyx_main.C: some minor cleanup
12584 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12586 * BufferView_pimpl.h:
12587 * BufferView_pimpl.C: remove enter/leaveView,
12590 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12595 * BufferView_pimpl.h:
12596 * BufferView_pimpl.C: only construct screen once,
12599 * lyxrc.C: remove pointless comment
12601 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12604 * BufferView.C: remove active() and belowMouse()
12606 * BufferView_pimpl.h:
12607 * BufferView_pimpl.C: use workarea() not workarea_,
12608 and make it use a scoped_ptr instead
12610 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12612 * lyx_gui.C: add debug message on BadWindow
12614 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12616 * sp_spell.C: fdopen is not part of the C++ standard.
12618 * paragraph.C (InsetIterator): use >= instead of ==
12620 2002-06-07 Angus Leeming <leeming@lyx.org>
12622 Fixes needed to compile with Compaq cxx 6.5.
12623 * BufferView_pimpl.C:
12630 * lyxtextclasslist.C:
12635 all c-library variables have been moved into namespace std. Wrap
12636 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12641 Add a using std::abs declaration.
12643 * kbmap.h (modifier_pair):
12644 * paragraph.h (InsetTable, InsetList):
12645 * lyxfont.h (FontBits):
12646 type definition made public.
12648 * bufferlist.C (emergencyWriteAll): the compiler complains that
12649 there is more than one possible lyx::class_fun template to choose from.
12650 I re-named the void specialisation as lyx::void_class_fun.
12652 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12654 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12655 the compiler is is unable to find tostr in write_attribute.
12657 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12659 * buffer.C (sgmlError): hide #warning
12661 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12663 * xtl/*: get rid of xtl, which is not in use anyway
12665 * LyXAction.C (init):
12666 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12667 were unimplemented xtl experimentation
12669 2002-06-04 André Pönitz <poenitz@gmx.net>
12671 * lyxfunc.C: disable array operation on simple formulae
12673 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12675 * converter.C: constify a bit
12677 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12679 * lyx_gui.C: check xforms version correctly
12681 2002-04-30 Herbert Voss <voss@lyx.org>
12683 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12686 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12688 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12689 attempt to register it with a VCS)
12691 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12693 * lyx_main.C (init): honor variables LYX_DIR_13x and
12696 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12700 * lyx_main.C: fix a crash on bad command line,
12701 and give a useful exit status on error
12703 * lyxfunc.C (doImport): allow -i lyx to work
12705 2002-03-30 André Pönitz <poenitz@gmx.net>
12707 * lyxfunc.C: mathed font changes
12709 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12724 * trans_mgr.h: srcdocs, and some minor cleanups
12726 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12728 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12729 call getFont all the time)
12731 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12733 * switch from SigC signals to boost::signals
12735 2002-05-29 André Pönitz <poenitz@gmx.net>
12737 * paragraph_pimpl.C (getChar): don't call size() too often...
12739 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12741 * paragraph_pimpl.C (insertChar): do not try to update tables when
12742 appending (pos == size())
12744 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12745 in order to reduce drastically the number of comparisons needed to
12746 parse a large document
12748 2002-05-29 André Pönitz <poenitz@gmx.net>
12754 * textclasslist.[Ch]:
12755 * sp_ispell.h: whitespace change
12757 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12759 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12760 lyxaction directly now.
12762 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12766 * lyxvc.C: remove unused headers
12768 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12775 * undo_funcs.C: some cleanups. Use shared_ptr
12776 and a template for the undo stacks.
12778 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12780 * BufferView_pimpl.h:
12781 * BufferView_pimpl.C:
12788 * text2.C: use key_state/mouse_state
12790 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12792 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12795 * chset.C: change include order
12796 (loadFile): use boost regex and get rid of LRegex and LSubstring
12798 * Makefile.am (BOOST_LIBS): new variable
12799 (lyx_LDADD): use it
12801 * LaTeX.C: change include order.
12802 (scanAuxFile): use boost regex and get rid of LRegex and
12806 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12811 * FontInfo.C: moved to frontends/xforms/
12814 * FontLoader.C: moved into frontends for GUIIzation
12819 * lyxfunc.C: changes from above
12821 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12823 * LColor.C: remove spurious X include
12825 * BufferView_pimpl.C:
12830 * text2.C: move font metrics to frontends/
12832 2002-05-24 Juergen Vigna <jug@sad.it>
12834 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12835 setting the undo_cursor.
12837 * ParagraphParameters.h: include local includes first.
12839 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12841 * BufferView_pimpl.C:
12842 * BufferView_pimpl.h:
12846 * screen.C: move WorkArea into frontends/
12852 * BufferView2.C: move LyXScreen into frontends/
12856 * lyx_gui.C: move lyxlookup into frontends/xforms/
12858 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12861 * BufferView_pimpl.C:
12871 * bufferview_funcs.C:
12884 * vc-backend.C: move LyX/XFormsView into frontends/
12886 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12898 * text2.C: move Painter to frontends/
12900 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12902 * buffer.C: comment out some some code that depend upon lyx_format
12905 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12906 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12908 * buffer.h (NO_COMPABILITY): turn off compability
12910 * ColorHandler.C: include scoped_array.hpp
12912 * font.C: Use more specific smart_ptr header.
12915 * ShareContainer.h: ditto
12916 * lyx_main.h: ditto
12918 * FontInfo.h: ditto
12919 * BufferView_pimpl.h: ditto
12920 * ColorHandler.h: ditto
12922 * kbmap.C (defkey): change call to shared_ptr::reset
12924 2002-05-21 Juergen Vigna <jug@sad.it>
12926 * buffer.C (insertErtContents): fix to insert ert asis if it is
12927 non empty. Skip it completely if it contains only whitespaces.
12929 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12931 * BufferView_pimpl.C:
12932 * BufferView2.C: clear selection on paste (bug 393)
12934 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12936 * DepTable.C: include ctime
12938 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12940 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12942 2002-05-14 Juergen Vigna <jug@sad.it>
12944 * text.C (breakParagraph): fixed function to honor the keepempty
12945 layout in the right maner and also to permit the right breaking
12946 algorithm on empty or non empyt keepempty paragraphs.
12948 * paragraph.C (breakParagraph): we have to check also if the par
12949 is really empty (!size()) for isempty otherwise we do the wrong
12952 2002-05-10 Juergen Vigna <jug@sad.it>
12954 * buffer.[Ch] : The following are only changes to the ert
12955 compatibility read reading old LaTeX layout and font stuff and
12956 convert it to ERTInsets.
12958 * buffer.h: added isErtInset().
12960 * buffer.C (struct ErtComp): add a fromlayout bool to check
12961 if we're inside a LaTeX layout.
12962 (isErtInset): new helper function.
12963 (insertErtContents): look for other ert insets before this one
12964 and insert the contents there, so that we don't have subsequent
12965 ERT insets with nothing between them. This way we create only one
12966 inset with multiple paragraphs. Also check if we don't insert only
12967 spaces ' ' as they are ignored anyway afterwards in the .tex file
12968 so if we have only spaces we will ignore this latex part in the
12970 (parseSingleLyXformat2Token \\layout): better compatibility when
12971 reading layout-latex stuff.
12972 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12974 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12975 stuff after reading the inset only get the information back from
12978 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12980 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12982 * LaTeXFeatures.C (getBabelOptions): New method.
12984 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12986 * BufferView_pimpl.C (Dispatch): work around missing argument for
12989 2002-05-08 Juergen Vigna <jug@sad.it>
12991 * text.C (leftMargin): handle paragraph leftindent.
12993 * paragraph.C (writeFile): write the new \\leftindent tag.
12994 (validate): handle leftindent code.
12995 (TeXEnvironment): handle paragraphleftindent code again.
12997 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12999 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13000 for paragrap_extra indent code and new token \\leftindent.
13001 (latexParagraphs): handle the leftindent as environment.
13003 * ParameterStruct.h: added leftindent support.
13005 * ParagraphParameters.C (leftIndent): added support functions for
13006 the paragraph left indent.
13008 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13011 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13013 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13016 * text.C (computeBidiTables): No bidi in insetERT.
13018 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13021 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13023 * version.C.in: pre 5
13025 2002-05-02 José Matos <jamatos@fep.up.pt>
13026 * buffer.C (makeDocBookFile): white space changes, add newline to
13028 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13030 * tabular.C (docBook): fix typo.
13032 2002-05-03 Juergen Vigna <jug@sad.it>
13034 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13035 change in LyXText as we can not be sure it was not freed.
13036 (drawOneRow): remove unused code.
13038 * text.C (drawInset): redo the calculation of the need_break_row as
13039 it could have a row which was already freed.
13040 (draw): look at the return value of drawInset and return false if
13041 it also returned false.
13042 (paintRowText): look at the return value of draw and return false if
13043 it also returned false.
13045 * lyxtext.h: added bool return type to drawInset() and draw() so that
13046 if we have a change in the row so that the rowbreak has to be redone
13047 we abort drawing as it will be called again.
13049 2002-05-02 Juergen Vigna <jug@sad.it>
13051 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13052 a change in the maintext also if we're inside an inset.
13053 (Dispatch): set the cursor again after a break line and after the
13054 screen has been updated as it could be we're in a different row.
13056 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13057 to set the cursor behind the pargraph with > size().
13058 (setCursor): check also for the same paragraph when checking where
13059 to put the cursor if we have a NFR inset.
13061 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13062 parts of layout read further up as it still was in the wrong
13065 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13067 * screen.C (drawFromTo): change sine fullRebreak always return
13070 * buffer.C (parseSingleLyXformat2Token): reindent some
13072 * BufferView_pimpl.C (update): change since fullRebreak always
13074 (Dispatch): git rid of the last hardcoded "Standard"s.
13076 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13078 * text2.[Ch] (fullRebreak): make it return void now that we always
13081 2002-04-30 Juergen Vigna <jug@sad.it>
13083 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13084 ert compatibility check for "latex" layout.
13086 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13088 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13089 minipages: use col% instead of p%, and also use the current font.
13090 (makeLaTeXFile): Fix use babel condition.
13091 (parseSingleLyXformat2Token): Correct font when reading old floats.
13093 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13095 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13096 inserting list of floats.
13098 2002-04-25 Herbert Voss <voss@lyx.org>
13100 * MenuBackend.C (expand): don't add the graphics extensions to the
13103 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13105 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13106 non-existing layout, do not complain if it was the default layout
13107 of the original class (bug #342)
13109 2002-04-24 Juergen Vigna <jug@sad.it>
13111 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13112 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13114 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13116 * buffer.C (getBibkeyList): If using \bibliography, return the
13117 option field with the reference itself. Enables us to provide natbib
13118 support when using \bibliography.
13120 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13122 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13124 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13125 natbib is provided by the LaTeX class.
13127 2002-04-23 Juergen Vigna <jug@sad.it>
13129 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13132 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13134 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13136 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13138 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13139 ensuremath around textordmasculine, textordfeminine and
13142 2002-04-19 Juergen Vigna <jug@sad.it>
13144 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13145 reinitializing the buffer otherwise row-dimensions may be wrong.
13146 (update): reset also the selection cursors if they do exits otherwise
13147 their x/y positions may be wrong.
13149 * text2.C (cursorDown): don't enter the inset if we came from a row
13150 above and are one row over the inset.
13152 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13153 really leaving an inset.
13155 2002-04-18 Juergen Vigna <jug@sad.it>
13157 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13158 of the selected paragraph does not have the selected layout also if
13161 * text2.C (setLayout): fixed bug which did not change last selected
13164 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13165 changed the read and substituted \\end_float with \\end_inset!
13167 * BufferView_pimpl.C (cursorPrevious):
13168 (cursorNext): fixed to make it work with rows heigher than the work
13169 area without moving the cursor only the draw of the row.
13170 (workAreaMotionNotify): fix jumping over high rows.
13172 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13174 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13177 2002-04-16 Juergen Vigna <jug@sad.it>
13179 * text2.C (setCursor): set also the irow().
13180 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13182 (cursorDown): support for locking an inset if the x_fix value goes
13183 inside it. That way I can transverse insets too with cursor up/down.
13185 * lyxrow.h: added irow helper function same as other (i) functions.
13187 * BufferView_pimpl.C (cursorPrevious):
13188 (cursorNext): fixed for insets!
13190 2002-04-15 Juergen Vigna <jug@sad.it>
13192 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13193 position otherwise it is wrong in some cases.
13195 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13196 inside the inset before the call.
13198 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13200 * buffer.[Ch] (getBibkeyList): make it const.
13202 2002-04-12 Juergen Vigna <jug@sad.it>
13204 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13206 * text2.C (getCursorX): new helper function
13207 (setCursor): compute also ix_
13208 (setCursorFromCoordinates): set also ix.
13210 * lyxcursor.h: added ix_ and helper functions.
13212 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13214 * buffer.C (insertStringAsLines): dont break paragraph if the this
13215 paragraph is inside an inset which does not permit it!
13217 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13218 also with no chars on this paragraph.
13219 (paintRowText): only paint stuff if it's inside the workarea!
13221 * paragraph.C (breakParagraph): honor keepempty flag and break the
13222 paragraph always below not above.
13224 * BufferView2.C (unlockInset): update the paragraph layout on inset
13225 unlock as we changed paragraph in such a case.
13227 * lyxfind.C (LyXFind): clear the former selection if not found!
13229 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13230 again called in insertChar().
13232 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13233 an inset which uses the whole row!
13234 (rightMargin): ditto.
13235 (insertChar): force a rebreak if we inserted an inset!
13237 2002-03-28 Herbert Voss <voss@lyx.org>
13239 * lyxlength.[Ch]: add inBP() to get the right PS-point
13240 units (BigPoint). With inPixels we have rounding errors
13242 2002-04-11 Juergen Vigna <jug@sad.it>
13244 * text2.C (setCursorFromCoordinates): set iy to the right value.
13245 (setCursor): add check if row->previous exists!
13247 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13248 an old float_type as this was the case in the old code!
13250 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13252 * BufferView2.C (showLockedInsetCursor): use iy
13253 (fitLockedInsetCursor): ditto
13255 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13256 locked insets as there we have the right value now.
13258 * lyxcursor.C: added iy_ variable and iy functions to set to the
13259 baseline of cursor-y of the locked inset.
13261 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13262 (setCursor): fixed for insets which need a full row.
13264 * text.C (rowLastPrintable): don't ignore the last space when before
13265 an inset which needs a full row.
13266 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13267 as last character of a row when before a inset which needs a full row.
13269 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13271 * version.C.in: update date
13273 * text2.C (fullRebreak): try to always return true and see what
13276 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13278 * MenuBackend.C (expand): use Floating::listName
13280 * FloatList.C (FloatList): add listName argument to the built-in
13283 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13284 text associated with the float.
13286 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13288 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13290 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13292 * ShareContainer.h: add a couple of missing typenames.
13294 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13296 * lyxrc.C (getDescription): use _() correctly rather than N_().
13298 2002-03-28 Herbert Voss <voss@lyx.org>
13300 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13301 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13303 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13305 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13306 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13308 2002-03-29 Juergen Vigna <jug@sad.it>
13310 * lyxfunc.C (dispatch): add a missing fitCursor call.
13312 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13313 it was scrolled by a cursor move, so return the bool status.
13315 * BufferView.C (fitCursor): return the bool flag also to the outside
13316 world as this is needed.
13318 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13320 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13321 call the edit() as it is not needed (and wrong) IMO.
13322 (workAreaButtonPress): set the screen_first variable before evt.
13323 unlock the inset as this may change screen_first and then we have
13324 a wrong y position for the click!
13326 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13328 * MenuBackend.C (expand): another translation that I missed
13330 2002-03-28 Juergen Vigna <jug@sad.it>
13332 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13334 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13336 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13338 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13340 * MenuBackend.C (expand): fix export/view/update when there is no
13343 2002-03-27 Herbert Voss <voss@lyx.org>
13345 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13348 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13350 * bufferview_funcs.C (currentState): only show paragraph number
13351 for is DEVEL_VERSION is set.
13353 * lyxfunc.C (dispatch): put warning in INFO channel
13355 * MenuBackend.C (expand): translate the name of floats
13357 * FloatList.C (FloatList): mark the float names for translation
13359 * converter.C (convert): use LibScriptSearch
13361 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13363 * MenuBackend.C (defaults): fix default menu (we might as well get
13366 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13368 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13371 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13373 * lyxvc.C: reorder includes.
13375 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13377 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13380 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13382 * CutAndPaste.C: change layouts earlier on paste
13383 to avoid crashing when calling getFont()
13385 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13387 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13390 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13392 * WorkArea.C: remove 'Pending' debug message.
13394 * most files: ws cleanup
13396 * buffer.[Ch]: ws changes
13398 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13400 2002-03-21 Juergen Vigna <jug@sad.it>
13402 * tabular.C (SetMultiColumn): collapse also the contents of the
13403 cells and set the last border right. Added a Buffer const * param.
13405 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13407 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13410 2002-03-19 Juergen Vigna <jug@sad.it>
13412 * text2.C (clearSelection): reset also xsel_cache.
13414 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13415 where it needs to be called (John tells us to do so too :)
13416 (selectionLost): reset sel_cache.
13418 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13420 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13422 * text2.C (setCursorIntern): put debuging code in INSETS channel
13424 2002-03-19 André Pönitz <poenitz@gmx.net>
13426 * lyxfunc.C: tiny whitespace change
13428 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13430 * ToolbarDefaults.C (init):
13431 * LyXAction.C (init):
13433 * BufferView_pimpl.C (Dispatch):
13434 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13436 2002-03-19 Allan Rae <rae@lyx.org>
13438 * exporter.C (Export): removeAutoInsets before doing anything else.
13439 While I've just introduced a dependency on BufferView this really is
13440 the best place to clean the buffer otherwise you need to cleanup in
13441 a dozen places before calling export or cleanup in a dozen functions
13444 * converter.C (runLaTeX):
13445 (scanLog): Better handling of removeAutoInsets and screen updates.
13447 * lyxfunc.C (dispatch): small whitespace changes
13449 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13451 * WorkArea.C (C_WorkAreaEvent): return a value.
13452 (event_cb): return 1 if we handled the event, 0 otherwise.
13454 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13456 2002-03-18 Juergen Vigna <jug@sad.it>
13458 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13459 (GetAdditionalWidth): ditto.
13460 (RightLine): ditto.
13463 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13464 inset if we're there actually (probably not used right now but this
13465 is the direction to go for unifying code).
13466 (paste): disable code to clear the selection.
13468 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13469 inside an InsetText and move the check further up as it is in the
13472 * text2.C (pasteSelection): set a selection over the pasted text.
13474 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13476 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13477 and libgraphics to build on Cygwin.
13479 2002-03-15 Juergen Vigna <jug@sad.it>
13481 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13482 inserting an Inset into the paragraph. I know this is not the best
13483 fix but we already use current_view in CutAndPaste so we will remove
13484 all of it's using at the same time.
13486 * buffer.C (sgmlError): deactivated function till it is rewritten in
13487 the right mode, now it can create problems.
13489 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13490 before accessing it.
13492 2002-03-14 Juergen Vigna <jug@sad.it>
13494 * undo_funcs.C (textHandleUndo): do the right thing when updating
13495 the inset after the undo/redo.
13497 * text2.C (setCursor): just some testcode for #44 not ready yet.
13499 * undo_funcs.C (textHandleUndo): set the next() and previous()
13500 pointers of the paragraph to 0 before deleting otherwise we have
13501 problems with the Paragraph::[destructor].
13503 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13504 on a paragraph insertion.
13506 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13508 * buffer.C (asciiParagraph): use += operator for char append to
13511 * paragraph.C (getFontSettings): compare >= not just >
13512 (highestFontInRange): ditto
13515 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13517 * paragraph.C: change several algorithm to be more appripriate for
13518 the problem domain. This is lookip in FontList and in the InsetList.
13520 2002-03-13 André Pönitz <poenitz@gmx.net>
13523 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13525 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13530 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13532 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13534 * Painter.C (display): anon helper function, adjust code for this
13536 (pixmap): remove function.
13538 * Painter.h: remove private display variable.
13540 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13542 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13544 * WorkArea.[Ch]: remove figinset_canvas cruft.
13546 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13548 * lyxtextclass.C (operator): add one item cache optimization.
13550 * bufferlist.h: doxy changes
13552 * bufferlist.C: ws changes
13554 * DepTable.[Ch] (ext_exist): place const in the right spot.
13556 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13558 (workAreaExpose): call resizeInsets when the with BufferView changes.
13559 (Dispatch): adjust for protectedBlank removal
13560 (specialChar): call updateInset if the insert went ok.
13562 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13563 specialChar instead.
13565 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13567 * BufferView.h: doxy change
13569 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13571 * lyxtextclass.C (operator[]): remove non-const version
13572 (defaultLayout): remove non-const version
13574 2002-03-12 Juergen Vigna <jug@sad.it>
13576 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13577 did resize the LyXText too.
13579 * buffer.C (readLyXformat2): set layout information on newly allocated
13582 * tabular.C (OldFormatRead): set layout information on the paragraph.
13584 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13586 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13588 2002-03-11 Juergen Vigna <jug@sad.it>
13590 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13592 (resizeCurrentBuffer): force also the insets to resize themselfes.
13593 (moveCursorUpdate): fixed up for InsetText.
13595 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13598 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13599 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13600 value of Dialogs::tooltipsEnabled().
13601 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13603 2002-03-08 Juergen Vigna <jug@sad.it>
13605 * BufferView_pimpl.C (updateInset): update inset inside inset also
13606 if it isn't inside theLockingInset().
13608 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13610 * buffer.C (asciiParagraph): redo some of the word and line length
13612 (getLists): look for Caption instead of caption.
13614 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13616 * buffer.C (Buffer): initialize niceFile to true
13618 (makeLinuxDocFile):
13619 (makeDocBookFile): make sure niceFile is true on exit
13621 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13623 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13625 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13627 * LyXSendto.C: remove.
13628 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13629 * lyx_gui.C: remove now-redundant comment.
13630 * ColorHandler.h: remove forward declaration of class WorkArea.
13631 * lyxfunc.C: remove #include "WorkArea.h".
13633 2002-03-07 Juergen Vigna <jug@sad.it>
13635 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13636 got moved away with the DEPM and also set the inset_owner always
13637 right which before could have been omitted.
13639 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13641 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13642 wanted layout is not found.
13644 2002-03-07 Juergen Vigna <jug@sad.it>
13646 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13648 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13650 * paragraph.C (breakParagraph): use default layout not layout of
13652 (Paragraph): clear ParagraphParameters.
13654 2002-03-06 Juergen Vigna <jug@sad.it>
13656 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13657 otherwise it would not be a valid lenght. Fixed a special case in
13658 the minipage compatibility read where we end the document with a
13661 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13662 was set as it could be 0 for InsetTexts first entry.
13664 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13666 * paragraph.C (writeFile): if layout is empty write out
13667 defaultLayoutName().
13669 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13670 file without named layout we set layout to defaultLayoutName().
13672 2002-03-06 Juergen Vigna <jug@sad.it>
13674 * CutAndPaste.C (copySelection): set layout for new paragraph.
13676 * text.C (prepareToPrint): leave ERT inset left aligned
13677 (leftMargin): don't indent paragraphs inside ERT insets
13679 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13681 * paragraph.C (breakParagraph): dont call clear do the work manually
13683 * paragraph.[Ch] (clear): remove function
13685 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13687 * paragraph.C (Paragraph): dont call clear, the work has already
13690 * lyxtextclass.C (operator): assert if n is empty
13692 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13693 work manually instead.
13695 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13697 * BufferView_pimpl.C: protect selectionLost against text == 0
13699 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13701 * text.C (breakParagraph): fix a setting layout to '0' problem.
13703 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13705 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13706 final location of file, for the included files, and graphics.
13708 2002-03-05 Juergen Vigna <jug@sad.it>
13710 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13712 2002-03-04 Juergen Vigna <jug@sad.it>
13714 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13716 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13717 last column of multicolumn cells.
13718 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13720 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13722 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13723 file if it doesn't go to a temporary file.
13725 * buffer.C (sgmlOpenTag):
13726 (sgmlCloseTag): remove extra newline insertion.
13728 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13730 * text.C (getRowNearY): comment out debug msg
13732 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13734 * text2.C: first -> first_y
13736 * text.C (getRowNearY): add some attemts at a possible
13737 optimization, not working.
13739 * tabular.[Ch]: add BufferParams to several function so that newly
13740 created paragraph can be initialized to he default layotu for the
13743 * tabular-old.C (ReadOld): add buf->params to call of Init
13745 * screen.C: rename text->first to text->first_y
13747 * paragraph.C (breakParagraph): always set layout in the broken
13750 * lyxtextclass.C (Read): remove lowercase
13753 (delete_layout): ditto
13755 * lyxtext.h: rename first -> first_y
13757 * lyxlayout.C (Read): remove lowercase
13760 (obsoleted_by): ditto
13762 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13764 * buffer.C (insertErtContents): add params are to InsetERT
13765 (parseSingleLyXformat2Token): add code to check if a paragraphs
13766 layout really exist.
13767 (parseSingleLyXformat2Token): add params to several inset
13769 (asciiParagraph): remove lowercase, do the layout comparisons with
13772 * BufferView_pimpl.C (cursorNext): first -> first_y
13773 (resizeCurrentBuffer): first -> first_y
13774 (updateScrollbar): first -> first_y
13775 (scrollCB): first -> first_y
13776 (workAreaMotionNotify): first -> first_y
13777 (workAreaButtonPress): first -> first_y
13778 (checkInsetHit): first -> first_y
13779 (cursorPrevious): first -> first_y
13780 (cursorNext): first -> first_y
13781 (Dispatch): add buffer_->params to severl inset contructors
13783 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13785 * lyxlayout.C (Read): remove some debug info that I forgot.
13787 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13788 clean up the code slightly.
13789 (makeLinuxDocFile): ditto
13790 (makeDocBookFile): ditto
13792 * text2.C: layout as string
13794 * text.C: layout as string
13796 * paragraph_pimpl.C: layout as string
13798 * paragraph.[Ch]: layout as string
13800 * lyxtextclasslist.[Ch]: layout as string
13802 * lyxtextclass.[Ch]: layout as string
13804 * lyxtext.h: layout as string
13806 * lyxlayout.[Ch]: layout as string
13808 * lyx_cb.C: layout as string
13810 * bufferview_funcs.C: layout as string
13812 * bufferparams.C: layout as string
13814 * buffer.C: layout as string
13816 * LyXView.[Ch]: layout as string
13818 * LaTeXFeatures.[Ch]: layout as string
13820 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13822 * BufferView_pimpl.C: change current_layout to string, remove
13827 (workAreaButtonRelease): layout as string
13829 * BufferView2.C (unlockInset): adjust
13831 * vspace.C (asLatexCommand): use an explict temp variable.
13833 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13835 * Makefile.am: use FRONTEND_*
13837 2002-03-01 Juergen Vigna <jug@sad.it>
13839 * tabular.C (SetWidthOfMulticolCell): changed to something better
13840 I hope but still work in progress.
13841 (recalculateMulticolumnsOfColumn): renamed function from
13842 recalculateMulticolCells as it is more appropriate now.
13843 (SetWidthOfCell): calculate multicols better.
13845 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13847 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13849 * lyxfunc.C (processKeySym): print sequence also if it is
13850 `deleted' (complete)
13852 * kbsequence.C (print): print sequence even if it is deleted
13853 (complete would be a better word, actually).
13855 * lyxfunc.C (dispatch): print complete options after a prefix key
13857 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13859 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13861 * text2.C (setCharFont): eliminate setCharFont code duplication.
13863 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13865 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13866 LFUN_TABULAR_FEATURE (bug #177)
13868 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13870 * Makefile.am: remove figure.h
13872 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13874 * Bufferview_pimpl.C:
13886 * text2.C: remove #include "lyx_gui_misc.h".
13888 * LaTeX.C: added #include <cstdio>
13890 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13892 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13893 that the paragraph following this one can have.
13895 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13897 * vspace.C (asLatexCommand): fix bogus gcc warning
13899 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13901 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13903 * text2.C (setLayout): get rid of redundant code
13905 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13907 * text2.C (incDepth): make sure depth cannot be increased beyond
13910 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13912 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13913 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13915 * PainterBase.h (image):
13916 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13917 a LyXImage const *.
13919 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13923 * BufferView_pimpl.C:
13924 * BufferView_pimpl.h:
13944 * sp_spell.C: remove fig inset, and the crap house of
13945 cards that follows it
13947 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13952 * os2_errortable.h:
13953 * nt_defines.h: move .h into support/
13955 * vms_defines.h: remove
13957 * WorkArea.C: add space in debug output
13961 * buffer.C: add WITH_WARNINGS
13965 * bufferlist.C: s/retrive/retrieve/, add docs
13974 * chset.C: add docs
13976 * lyxgui.C: add ID to X error handler
13978 * lyxtestclass.c: fix typo
13980 2002-02-26 Juergen Vigna <jug@sad.it>
13982 * tabular_funcs.C (write_attribute): changed so that some default
13983 attributes are not written at all.
13984 (getTokenValue): set default values before trying to read the
13985 value so we have the return value always set as default if we don't
13986 find the token we search for.
13988 * tabular.C (Write): write bools as bools not as strings!
13990 2002-02-22 Juergen Vigna <jug@sad.it>
13992 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13993 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13995 * text.C (leftMargin): don't add an indent for paragraphs inside
13996 tabular cells (fix #208).
13998 2002-02-21 José Matos <jamatos@fep.up.pt>
14000 * tabular.C (docBook): fixed support for long tables.
14002 2002-02-20 Juergen Vigna <jug@sad.it>
14004 * text2.C (getFont): get the drawing font of the Inset if this
14005 paragraph is inside an inset (only important for InsetERT for now).
14007 * buffer.C (insertErtContents): use new lanugage params in ERT
14010 * CutAndPaste.C: commenting out seemingly uneeded code.
14012 2002-02-19 Allan Rae <rae@lyx.org>
14014 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14015 Iterators might be simple to use but they also get invalidated.
14016 (removeAutoInsets): renamed saved cursor tracking variables and added
14017 some comments to clarify what everything does.
14019 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14026 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14027 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14030 * vc-backend.h: remove #include "support/syscall.h"
14034 * converter.C: rearrange #includes in Lars' approved fashion.
14036 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14037 forward declare class Timeout in the header file.
14039 * XFormsView.C: changes due to the above.
14041 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14042 similar to LyXView.
14044 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14045 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14047 2002-02-18 José Matos <jamatos@fep.up.pt>
14049 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14052 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14054 * a lot of small ws changes
14055 * add a lot of using std::XXX
14056 * use std construcs some places where approp.
14057 * use some exisint stuff from lyxfunctional where approp.
14058 * Make file changes to use partial linking (lets test this now...)
14060 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14064 remove #include "support/syscontr.h" as it's redundant. Always has been.
14072 change Systemcalls::System to Systemcalls::Wait and
14073 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14074 No change of functionality, just reflects the stripped down Systemcalls
14077 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14079 * debug.[Ch]: add a GRAPHICS type to the enum.
14081 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14083 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14085 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14088 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14090 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14091 match the changes below.
14093 * text2.C (toggleInset): if there is not editable inset at cursor
14094 position, try to see if cursor is _inside_ a collapsable inset
14097 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14099 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14100 document menu has a nice checkbox
14102 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14104 * lyxlength.C (asLatexString): change PW to output as percent of
14107 * lengthcommon.C: change '%' to 't%'
14109 * lyxfunc.C (dispatch): a few comments from Martin
14111 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14115 * BufferView_pimpl.h:
14116 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14119 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14121 * vspace.C (inPixels): fix compiler warning
14123 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14125 * lyxfunc.C (getStatus): fix status message for disabled commands.
14127 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14129 * BufferView_pimpl.C: fix crash on close buffer
14130 during selection (#227)
14132 2002-01-27 Herbert Voss <voss@lyx.org>
14134 * buffer.C: link old Figure to new graphic inset
14136 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14138 * FontLoader.C (getFontinfo): Change the latex font names in order
14139 to match the names of type1inst.
14141 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14143 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14145 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14146 (extchanged): ditto
14148 (remove_files_with_extension): ditto
14149 (remove_file): ditto
14152 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14153 document is smaller than the work area height. Do not initialize
14154 static variables to 0.
14156 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14158 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14160 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14161 LFUN_LAYOUT_PARAGRAPHS.
14163 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14164 tabular. It is possible to provide a possible cell, which will
14165 typically be the actcell from the corresponding insettabular
14167 * lyxfunc.C (getStatus): small cleanup; disable
14168 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14171 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14173 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14175 * paragraph.C (startTeXParParams):
14176 (endTeXParParams): new methods. The LaTeX code to
14177 start/end paragraph formatting
14178 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14179 empty (fixes bug #200)
14181 * vspace.C (inPixels): adapt to the change below
14182 (inPixels): [later] more cleanups (remove unused variables)
14184 * lyxlength.C (inPixels): change to use a width and a height as
14187 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14189 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14190 Replaced with \paperwidth
14192 * DepTable.C (insert): add std:: qualifier
14194 2002-01-18 Allan Rae <rae@lyx.org>
14196 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14199 * text.C (drawInset): Turned out I didn't know enough about how
14200 rebreaking worked. This fixes most of the redraw problems. I see
14201 an occasional cursor trail when a line is broken now and the cursor
14202 placement can seem out by a few pixels also after a rebreak.
14204 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14206 * buffer.C (parseSingleLyXformat2Token): update because minipage
14207 width is now a LyXLength
14209 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14211 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14214 2002-01-17 Juergen Vigna <jug@sad.it>
14216 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14218 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14219 is set correctly and the inset is updated correctly.
14221 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14223 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14224 the beginning of the loop.
14226 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14228 * lyxrc.C: improve help for use_scalable_fonts
14230 2002-01-17 Allan Rae <rae@lyx.org>
14232 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14234 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14236 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14237 make sure to set their inset_owner to the right value (bug #171)
14239 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14242 * DepTable.C: Implement mtime checking to reduce time spent doing
14245 2002-01-16 Juergen Vigna <jug@sad.it>
14247 * tabular.C (GetAdditionalHeight): one of error fixed.
14249 * lyxrc.C (output): small fix in writing use_pspell.
14251 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14253 * sp_base.h: #include LString.h
14255 2002-01-16 Allan Rae <rae@lyx.org>
14257 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14258 Can someone check this please?
14260 * text.C (drawInset): It was possible that p.row would be removed by
14261 breakAgainOneRow upsetting a few other settings. There may be another
14262 small tweak possible by setting need_break_row = 0 when p.row has been
14263 removed but I don't know enough about the logic here.
14265 2002-01-15 Allan Rae <rae@lyx.org>
14267 * text.C (insertChar): removed conditional truism.
14269 * BufferView2.C (removeAutoInsets): More tweaks.
14270 cur_par_prev could be a stray pointer. Check for trailing empty line
14271 in case last line was cur_par and only had an error inset on it.
14273 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14275 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14278 * vc-backend.C (most methods):
14279 * exporter.C (Export):
14280 * converter.C (convert):
14282 * LyXSendto.C (SendtoApplyCB):
14283 * lyxfunc.C (dispatch):
14287 * lyx_cb.C (AutoSave):
14289 * BufferView_pimpl.C (MenuInsertLyXFile):
14290 * buffer.C (runChktex): use Buffer::filePath().
14292 * buffer.h: rename filename to filename_; rename filepath to
14293 filepath_ and make it private
14294 (filePath): new method
14296 * buffer.C (writeFile): use fileName()
14299 * lyx_main.C (init): fix starting of LyX when the binary is a
14300 link from so,ewhere else.
14302 * minibuffer.C: include <cctype> for isprint
14304 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14306 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14307 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14308 name clash with InsetCollapsable's width function.
14310 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14312 * lastfiles.C: include <iterator>
14314 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14316 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14319 * buffer.C (makeLaTeXFile): ditto.
14320 Also make loop operation more transparent.
14322 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14324 * ToolbarDefaults.C: remove trailing comma closing namespace.
14326 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14328 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14331 * trans.C (Load): comment out unused variable, allowed.
14333 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14335 * minibuffer.[Ch] (append_char): new method to recieve input from the
14336 drop-down completion browser. If a key was pressed, then recieve this
14337 char and append it to the existing string.
14338 (peek_event): modify the positioning data passed to the completion
14339 browser so that it can be placed above the minibuffer rather than below.
14340 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14342 * LyXAction.C (init): alloe error-next for readonly documents.
14344 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14347 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14349 * bufferlist.C (readFile): create the buffer _after_ checking that
14352 * lyxfunc.C (verboseDispatch): fix handling of arguments
14354 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14356 * lyxrc.C: use string::erase() instead of initializing to "".
14359 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14361 * BufferView_pimpl.h:
14362 * BufferView_pimpl.C:
14365 * text2.C: tell X when we have made a selection for copying
14367 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14369 * BufferView_pimpl.C (MenuInsertLyXFile):
14370 * lyxfunc.C (menuNew):
14372 (doImport): add shortcuts to directory buttons
14374 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14377 * lyxfunc.C (setStatusMessage):
14378 (getStatusMessage): new methods
14379 (getStatus):use setStatusMessage instead of setErrorMessage
14380 (dispatch): when function is disabled, set error message here
14381 [instead of in getStatus previously]
14383 * BufferView_pimpl.C (workAreaButtonRelease): update
14384 toolbar/menubar here too.
14386 2002-01-13 Allan Rae <rae@lyx.org>
14388 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14389 Now seems indestructible. Remaining task is to audit all other
14390 code affected by deleteEmptyParagraphMechanism. One small quirk
14391 left is that an empty document with an error in the preamble can
14392 be made to report an error but no error box appears. I don't know
14394 (removeAutoInsets): Improved comments.
14396 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14399 * Thesaurus.C: update for Aiksaurus 0.14
14401 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14403 * text2.C (firstParagraph): removed member function, all uses
14404 replaces with ownerParagraph
14405 (redoParagraphs): here
14406 (updateInset): here
14407 (toggleAppendix): here
14408 * BufferView2.C (insertErrors): here
14409 (setCursorFromRow): here
14411 2002-01-13 Allan Rae <rae@lyx.org>
14413 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14414 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14415 There is still a way to segfault this although you may have to do this
14416 multiple times: Have an InsetERT with an unknown command in it.
14417 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14418 <down-arrow>, <Enter> again, View->DVI, BANG!
14420 * text2.C (setCursor):
14421 (deleteEmptyParagraphMechanism):
14422 * lyxtext.h (setCursor):
14423 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14424 Making use of the return value may help fix other bugs.
14426 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14428 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14430 * LyXView.C (updateMenubar): call MenuBar::update here
14431 (updateToolbar): but not here
14432 (showState): do not update toolbar/menubar
14434 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14435 should need to care about that.
14437 * lyxfunc.C (verboseDispatch): simplify a bit
14438 (getStatus): have a version which takes a pseudoaction, and
14439 another which requires a (kb_action,string).
14441 * LyXAction.C (retrieveActionArg): make it work also when action
14442 is not a pseudo-action.
14443 (getActionName): simplify a bit
14446 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14448 * lyxfunc.C (verboseDispatch): new families of methods with
14449 several ways to specify a command and a bool to indicate whether
14450 the command name and shortcut should be displayed in minibuffer
14451 (eventually, we could extend that to a finer bitmask like
14452 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14453 (dispatch): the pristine dispatch command which just, well,
14454 dispatchs! Note it still sets its result to minibuffer; I'm not
14457 * lyxfunc.h: remove setHintMessage
14459 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14461 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14463 * BufferView_pimpl.C (specialChar): delete new inset if we have
14464 not been able to insert it.
14466 * kbmap.C: revert to using int instead of kb_action, since all we
14467 are dealing with is pseudo-actions.
14469 * LyXAction.C (searchActionArg): change to return int instead of
14470 kb_action, since the result is a pseudoaction.
14472 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14474 * buffer.C (insertErtContents): Fix (partially) the font bug.
14476 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14478 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14479 as the other one is broken on my machine!
14481 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14484 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14486 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14488 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14489 reflect their actual use. Provide compatibility code for older lyxrc
14492 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14494 change names of popup font variables in line with the changes to lyxrc.C
14496 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14498 * buffer.C (asciiParagraph): avoid outputing a word twice after
14501 * lyxrc.C (getDescription): document that document_path and
14502 template_path can be empty.
14504 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14506 * LaTeXFeatures.C (getMacros):
14507 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14509 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14511 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14513 (getPackages): rename feature "floats" to "float". Use an array to
14514 iterate over 'simple' features (i.e. just a \usepackage). Add
14515 handling of "amsmath" (renamed from "amsstyle").
14517 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14519 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14522 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14524 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14525 FuncStaus::FuncStatus & FuncStaus::some_method().
14527 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14529 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14530 of the func_satus stuff. Edited and massaged in various ways by
14533 * lyxfunc.C (getStatus): use FuncStatus
14535 2002-01-08 Juergen Vigna <jug@sad.it>
14537 * text.C (nextBreakPoint): use function Inset::isChar().
14539 * paragraph.C (TeXOnePar): use function
14540 Inset::forceDefaultParagraphs.
14542 * buffer.C (latexParagraphs): use function
14543 Inset::forceDefaultParagraphs.
14545 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14547 * lyx_gui.C (init): set the style of the menu popups to
14548 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14550 2002-01-07 Juergen Vigna <jug@sad.it>
14552 * text.C (setHeightOfRow): small fix
14553 (prepareToPrint): don't look at alignment if we don't have the place
14556 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14558 * box.C: New file. Move the Box methods and functions out of box.h,
14559 following Lars' suggestion.
14561 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14563 * box.h: #include "support/LOstream.h", needed for inlined function.
14566 * lyxtextclasslist.C: added some using std declarations.
14568 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14570 * box.h: make signed dimensions to allow insets wider than
14571 the screen (bug #162)
14573 * BufferView_pimpl.C: add some insetHit debug
14575 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14577 * vc-backend.C: add FIXME
14579 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14581 * lyxfunc.C (getStatus): enable code for showing math font status
14584 2002-01-07 Juergen Vigna <jug@sad.it>
14586 * text.C (nextBreakPoint): removed debug output not needed anymore.
14588 2002-01-06 Juergen Vigna <jug@sad.it>
14590 * text.C (nextBreakPoint): fixed up this function we had this bug
14591 since ever but now hopefully we break row better.
14592 (insertChar): we have to check if an inset is the next char as it
14593 could now happen that a large inset is causing a break.
14595 2002-01-05 Juergen Vigna <jug@sad.it>
14597 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14598 if it doesn't like to be drawed.
14600 2002-01-04 Juergen Vigna <jug@sad.it>
14602 * BufferView2.C (lockInset): forgot to set a cursor.
14604 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14606 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14608 * FormMathsPanel.C:
14611 * form_maths_panel.C:
14612 * form_maths_panel.h:
14613 * form_maths_panel.fd: implemented sub- and super- buttons in math
14616 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14617 (or ^ space) to be used as in TeX (req'd by Andr�.
14619 * lyxfunc.C: Allow ^ and _ again to be used both as
14620 super/subscript (mathed) and as themselves (in text).
14622 2002-01-03 Allan Rae <rae@lyx.org>
14624 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14625 "LyX" or the filename of the current buffer if it has one. This is a
14626 modified form of John Levon's patch.
14628 * XFormsView.C (setWindowTitle): also set icon title.
14630 * LyXView.h (setWindowTitle): signature changed.
14631 * XFormsView.h (setWindowTitle): ditto.
14633 2002-01-02 Juergen Vigna <jug@sad.it>
14635 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14637 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14639 * screen.C (topCursorVisible): introduce a temp var for
14640 text->cursor.row(), handle the case where this row is null. (kindo
14643 * text2.C (setCursor): add a couple of asserts.
14645 * paragraph.h (inset_iterator): add -> operator
14647 * paragraph.[Ch] (autoDeleteInsets): remove member function
14649 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14650 cursor pos correctly and handle inset deletion by itself.
14651 (insertErrors): move iterator declaration out of for expression
14653 * lyxtextclass.C: add <algorithm>
14655 * Makefile.am: added the new files to sources, removed layout.C
14657 * layout.C: removed file
14659 * layout.h: remove LYX_DUMMY_LAYOUT
14661 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14665 * lyxtextclass.[Ch]:
14666 * lyxtextclasslist.[Ch]: new files
14668 * include order changes to a lot of files, also changes because of
14671 2001-12-27 Juergen Vigna <jug@sad.it>
14673 * buffer.C (asciiParagraph): more fixes.
14675 * tabular.C (ascii): make ascii export support export of only the
14676 data separated by a column-delimiter.
14677 (ascii): better support for ascii export.
14679 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14681 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14683 * tabular_funcs.C: use a "using std::getline" instead of the
14684 previous fix from Angus (necessary for cxx + lyxstring)
14686 2001-12-24 Juergen Vigna <jug@sad.it>
14688 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14690 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14691 problems. First check a minipage also if we have some ert-contents
14692 (not only on par->size(), second set the right depth of the paragraph
14693 on the relink to the root-paragraph-list!
14695 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14696 which then did not anymore update the main paragraphs on undo/redo!
14698 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14700 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14701 code. Support all font-changing funcs (even those which are not in
14702 menu currently). Support for reporting font settings in
14703 mathed (disabled until Andre provides a function on mathed's side).
14705 * func_status.h (toggle): small helper function to set toggle
14708 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14710 * tabular_funcs.C: getline -> std::getline
14712 2001-12-21 Juergen Vigna <jug@sad.it>
14714 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14715 accessed and could be 0 (I couldn't generate this but it seems
14718 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14720 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14721 * tabular_funcs.h: here and include iosfwd
14723 2001-12-20 Juergen Vigna <jug@sad.it>
14725 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14726 inside inset but undo_par was.
14728 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14730 * Thesaurus.C: always include <config.h> in sources.
14734 * box.h: do not include <config.h> in header files
14736 * text.C (paintLastRow): remove unused variable
14738 * text.C (transformChar):
14740 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14742 * Painter.C (text):
14743 * font.C (width): rewrite to use uppercase() instead of
14746 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14748 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14750 * lyxfind.C: clean up of find failure position change
14752 2001-12-20 Juergen Vigna <jug@sad.it>
14754 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14756 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14757 (TeXRow): added to LaTeX a single tabular row.
14758 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14759 (Latex): simplified and finally good LT-h/f support.
14760 (various_functions): just small adaptions for LT-h/f support.
14762 * tabular_funcs.[hC]: added and moved here all not classfunctions
14765 2001-12-19 Juergen Vigna <jug@sad.it>
14767 * tabular.[Ch]: better support for longtabular options (not finished
14770 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14772 * text.C (paintLastRow): use the label font instead of the font of
14773 the last character to compute the size of *_BOX. This makes more
14774 sense and avoids a crash with empty paragraphs.
14775 Use Painter::rectangle to draw EMPTY_BOX.
14777 2001-12-19 Juergen Vigna <jug@sad.it>
14779 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14780 the paragraphs if the replaced paragraph is not the first one!
14781 Tried to delete not used paragraphs but does not work yet so for
14782 now it's inside #ifdef's and by default off!
14784 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14786 * MenuBackend.C: include "lyx_main.h" instead of declaring
14787 lastfiles (actually was declared as LastFiles* instead of a
14790 2001-12-17 Juergen Vigna <jug@sad.it>
14792 * tabular.C (AppendColumn): applied John's fix
14794 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14798 * BufferView_pimpl.h:
14799 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14802 * box.h: new start of class for above
14804 * lyxfunc.C: ignore space-only minibuffer dispatches.
14805 Show the command name when it doesn't exist
14807 * minibuffer.C: don't add empty lines to the history
14809 * minibuffer.C: add a space on dropdown completion
14811 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14813 * text.C: fix line above/below drawing in insets
14815 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14817 * lyxlength.C (LyXLength): Initialize private variables.
14819 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14821 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14822 when inserting error insets.
14824 2001-12-13 Juergen Vigna <jug@sad.it>
14826 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14827 actually sometimes the before-paragraph.
14828 (setUndo): don't clear the redostack if we're not actually undoing!
14830 2001-12-06 Juergen Vigna <jug@sad.it>
14832 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14833 and fixed redoing of main paragraph, so we can use it now ;)
14835 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14837 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14839 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14842 2001-12-13 André Pönitz <poenitz@gmx.net>
14845 * undo_func.C: minor cleanup
14847 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14849 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14850 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14851 font in urw-fonts package which is marked as -urw-fontspecific and
14852 does not work (incidentally, changing the encoding in the
14853 fonts.dir of this package to -adobe-fontspecific fixes the
14856 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14857 is a crash when undoing first paragraph (Juergen, please take a
14858 look). THis does not mean the undo fix is wrong, just that it
14861 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14862 the (Paragraph*) version when needed instead of duplicating the
14865 * text.C (workWidth): use Inset::parOwner to find out where the
14866 inset has been inserted. This is a huge performance gain for large
14867 documents with lots of insets. If Inset::parOwner is not set, fall
14868 back on the brute force method
14870 * paragraph_pimpl.C (insertInset):
14871 * paragraph.C (Paragraph):
14872 (cutIntoMinibuffer): set parOwner of insets when
14873 inserting/removing them
14875 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14877 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14883 * mathed/formulabase.C:
14884 * mathed/math_cursor.[Ch]:
14885 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14888 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14890 * lyxlength.[Ch] (operator!=): new function
14892 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14894 * text.C (workWidth): use Inset::parOwner to find out where the
14895 inset has been inserted. This is a huge performance gain for large
14896 documents with lots of insets. If Inset::parOwner is not set, fall
14897 back on the brute force method
14899 * paragraph_pimpl.C (insertInset):
14900 * paragraph.C (Paragraph):
14901 (cutIntoMinibuffer): set parOwner of insets when
14902 inserting/removing them
14904 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14906 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14908 * tabular-old.C (getTokenValue):
14909 * tabular.C (getTokenValue):
14910 (write_attribute): new versions for LyXLength
14911 (everywhere): adjust the use of widths
14913 * tabular.h: change the type of widths from string to LyXLength
14915 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14917 * paragraph.C: fixed missing line number count when exporting
14918 Environments to LaTeX file
14920 * buffer.C: added informational message for checking line numbers.
14922 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14924 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14925 paragraph, do the 'double space' part, but not the 'empty
14928 * text.C (workWidth): small optimization
14929 (getLengthMarkerHeight): use minimal size for negative lengths.
14931 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14933 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14935 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14937 2001-12-11 André Pönitz <poenitz@gmx.net>
14940 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14942 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14944 * text2.C: keep selection on a setFont()
14946 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14948 * lyx_cb.C: another bv->text misuse, from insert label
14950 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14953 * kbsequence.C: re-instate nmodifier mask
14955 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14957 * lyx_main.h: make lyxGUI private.
14959 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14961 * lyxfind.C: place the cursor correctly on failed search
14963 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14965 * text.C (getLengthMarkerHeight): for small heights, the arrows
14966 are not always on top/bottom of the text
14967 (drawLengthMarker): smaller arrows; take the left margin in
14968 account; draw also vfills.
14970 (paintLastRow): remove special code for vfill and standard spaces,
14971 since everything is handled in drawLengthMarker now.
14973 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14975 * buffer.C (insertErtContents): try to handle font and language
14976 interaction a bit better.g
14978 * ColorHandler.C (updateColor): change the hash to cover the whole
14979 LColor enum, ws cleanup
14980 (getGCLinepars): ditto
14981 (getGCLinepars): only lookup in the linecache once.
14983 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14985 * iterators.C (operator++): Make the iterator more robust
14987 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14989 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14991 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14994 * text.C: better added space drawing
14996 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14999 * BufferView2.C: fix layout combo update on inset unlock
15001 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15003 * Makefile.am: don't compile unused files
15005 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15009 * LyXAction.C: remove old LFUN_LAYOUTNO
15011 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15013 * paragraph_pimpl.h:
15014 * paragraph_pimpl.C: isTextAt() doesn't need font param
15016 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15019 * lyxlex.C: little cleanup
15021 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15023 * BufferView_pimpl.C: fix insertAscii for insets
15025 2001-12-05 Juergen Vigna <jug@sad.it>
15027 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15028 set the right font on the "multi" paragraph paste!
15030 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15036 * lyxlength.C: remove out-commented code.
15038 * BufferView_pimpl:
15052 * vc-backend.C: change "while(" to "while ("
15054 * lyxlength.[Ch]: add zero function to check if length is zero or
15056 * lyxgluelength.C: use it
15058 2001-12-05 Allan Rae <rae@lyx.org>
15060 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15061 Works for 2.95.3, from what I understand of Garst's reports this should
15062 work for other g++ versions. We're screwed if the abs(int) definition
15063 changed between bugfix releases of gcc.
15065 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15067 * text.C: fix chapter label offset !
15069 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15072 * text.C: fix hfill at end of line, clean up
15074 2001-12-04 Juergen Vigna <jug@sad.it>
15076 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15077 that we force an update of the inset and it's owners if neccessary.
15079 2001-12-03 Juergen Vigna <jug@sad.it>
15081 * text.C (rowLast): simplified code
15083 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15085 * lyxfunc.C: fix show options on timeout
15087 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15089 * screen.C (topCursorVisible): scroll half a page when the cursor
15090 reached top of bottom of screen
15092 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15094 * minibuffer.C: deactivate on loss of focus
15096 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15098 * vspace.[Ch] (operator!=): add operator.
15100 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15102 * BufferView_pimpl.C: refuse to open an inset when
15103 there's a selection.
15105 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15107 * BufferView_pimpl.C: allow to click on RHS of full row insets
15109 2001-11-30 Juergen Vigna <jug@sad.it>
15111 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15112 insets for undo reasons.
15114 2001-11-28 André Pönitz <poenitz@gmx.net>
15116 * vspace.[Ch]: cosmetical changes
15118 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15128 * kbsequence.C: part re-write of old kb code
15131 * WorkArea.C: remove Lgb_bug_find_hack
15133 2001-11-30 José Matos <jamatos@fep.up.pt>
15135 * buffer.C (makeDocBookFile): add a comment to point a hack.
15136 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15137 Fixed a double write of labels.
15139 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15142 * LaTeX.h Fixed bug in LaTeX class where it would not
15143 re-run latex if no depfiles were changed, but the .dvi was removed.
15145 2001-11-28 André Pönitz <poenitz@gmx.net>
15147 * all the files from the change on 2001/11/26:
15148 use lyx::layout_type instead of LyXTextClass::size_type
15149 use lyx::textclass_type instead of LyXTextClassList::size_type
15151 2001-11-29 Juergen Vigna <jug@sad.it>
15153 * text.C: added support for paragraph::isFreeSpacing()
15155 * buffer.C: same as above
15157 * paragraph.h: inserted isFreeSpacing() function to enable
15158 FreeSpacing inside InsetERT.
15160 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15161 of the paragraph's in the cut/copy buffer to 0!
15163 * text2.C (removeRow): remove the assert as it can!
15165 * lyxtext.h: added helper function firstRow returning firstrow and
15166 made firstrow private again.
15168 * BufferView2.C (lockInset): don't relock if we're already locked!
15170 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15171 the only paragraph.
15172 (removeRow): added Assert::(firstrow)
15174 * debug.C: forgot to add INSETTEXT here.
15176 2001-11-28 Juergen Vigna <jug@sad.it>
15178 * sp_spell.C (initialize): changed error text to more general
15179 spellchecker command use (not only ispell!)
15181 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15183 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15185 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15187 * vspace.C: initialise lyxgluelength on failure
15189 2001-11-28 Allan Rae <rae@lyx.org>
15191 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15192 declaration & definition that looks like a function declaration.
15194 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15196 * BufferView2.C (copy):
15197 (copyEnvironment): do not clear the selection when doing a copy.
15199 * text.C (paintFirstRow): compilation fix
15201 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15203 * tabular.C (Latex): correct line count when writing latex.
15205 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15207 * paragraph_pimpl.h:
15208 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15211 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15215 * LColor.C: change vfillline->added_space
15217 * text.C: add markers and text for added space
15219 * vspace.C: fix comment
15221 2001-11-28 André Pönitz <poenitz@gmx.net>
15223 * paragraph.C: whitespace changes
15224 * all the other files from the change on 2001/11/26:
15225 change *::pos_type into lyx::pos_type
15227 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15229 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15230 language of the document when inserting error insets.
15232 2001-11-26 André Pönitz <poenitz@gmx.net>
15234 * BufferView_pimpl.[Ch]:
15242 * paragraph_pimpl.[Ch]:
15245 * text2.C: reduce header dependencies, introduce type for positions
15247 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15249 * <various>: change to use Alert.h
15251 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15253 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15254 when encountering an unknown token.
15255 (readLyXformat2): Show an error message if there were unknown tokens.
15257 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15260 * BufferView_pimpl.C:
15264 * text2.C: use par->isInset()
15266 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15268 * paragraph_pimpl.h:
15269 * paragraph_pimpl.C: cleanup
15271 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15273 * text2.C (removeRow):
15274 * text.C (setHeightOfRow): remove useless (and costly) call to
15277 2001-11-20 Allan Rae <rae@lyx.org>
15279 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15280 Now need Inset*::checkInsertChar() to return true for appropriate
15281 cases so that the characters in the minibuffer will actually be
15284 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15286 * text.C: change the order of the includes.
15287 (workWidth): initialize it at once.
15288 (workWidth): make maxw unsigned
15289 (setHeightOfRow): remove unused variable (inset)
15290 (selectSelectedWord): remove unused variable (inset)
15291 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15293 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15295 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15296 server is not running.
15298 (closeConnection): add debug info when server is disabled.
15300 * ColorHandler.C (getGCForeground): send debug message to GUI
15303 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15305 * kbmap.C (bind): modify because return conventions of
15306 kb_sequence::parse have changed.
15308 * kbsequence.C (parse): only ignore spaces and not any stupid
15309 control character. This avoids tests like s[i] <= ' ', which are
15310 guaranteed to fail with 8bit characters and signed chars.
15311 Change return code to string::npos when there have been no error
15312 (0 was a bad idea when error is at first character)
15314 2001-11-14 José Matos <jamatos@fep.up.pt>
15317 * buffer.C (simpleDocBookOnePar): removed unused argument.
15319 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15321 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15322 insets which are part of a word. Paragraph::isLetter takes care of
15323 that now. Use Paragraph::isInset to identify insets.
15324 (selectSelectedWord): do not test for hyphenation break.
15326 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15327 that protected spaces are considered as spaces.
15329 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15332 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15335 * lyxserver.C: fix it. and small cleanup.
15337 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15339 * BufferView_pimpl.C: use inline helpers
15342 * LaTeXFeatures.C: fix typos
15345 * Spacing.C: move spacing_string into class
15347 * ToolbarDefaults.C: move stuff into namespace anon
15349 * layout.h: update enum
15351 * lyxfunc.C: use better debug
15353 * minibuffer.h: fix typo
15357 * WorkArea.C: add and use Debug::WORKAREA
15361 * text2.C: code re-organisation, inline helpers
15363 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15365 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15366 std::vector.empty().
15368 2001-11-09 Allan Rae <rae@lyx.org>
15370 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15371 '\n's after tables. Tabular and ERT inset work now makes this no
15374 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15377 * minibuffer.C: fix crash, improve drop-down completion
15379 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15382 * lyxserver.C: invalidate fd's when doing endPipe()
15384 2001-11-08 José Matos <jamatos@fep.up.pt>
15386 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15387 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15390 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15392 2001-11-07 José Matos <jamatos@fep.up.pt>
15395 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15398 * buffer.C (sgmlOpenTag):
15399 * buffer.C (sgmlCloseTag): removed debug info.
15401 * buffer.h (sgmlOpenTag):
15402 * buffer.h (sgmlCloseTag): made public.
15404 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15406 * buffer.C (saveParamsAsDefaults):
15407 * lyx_cb.C (MenuLayoutSave): remove
15409 * LyXAction.C (init):
15411 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15413 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15415 * buffer.C (setPaperStuff): removed from here...
15417 * bufferparams.C (setPaperStuff): ... and moved there.
15419 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15423 * XFormsView.C: add support for drop-down completion
15425 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15427 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15430 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15432 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15435 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15437 * lyx_main.C: change ref to known bugs
15439 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15441 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15442 to work around older babel problems.
15444 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15446 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15448 2001-10-24 Juergen Vigna <jug@sad.it>
15450 * tabular-old.C (ReadOld): below variable changes reflected.
15452 * tabular.[Ch]: added ltType struct for longtable header/footer
15453 defines and changed all instances where they are used. Added
15454 future support for double top/bottom rows.
15456 2001-10-24 José Matos <jamatos@fep.up.pt>
15458 * buffer.h (docbookHandleCaption):
15459 * buffer.C (docbookHandleCaption): removed unused function.
15460 (makeDocBookFile): moved docbook supported version to v4.1.
15462 2001-10-24 José Matos <jamatos@fep.up.pt>
15465 * tabular.C (docbookRow): new function to export docbook code of a row.
15466 (DocBook): now honors the longtable flags.
15468 2001-10-23 José Matos <jamatos@fep.up.pt>
15471 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15472 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15474 * buffer.C (makeLinuxDocFile):
15475 (makeDocBookFile): reworked the preamble, more clean, and with
15476 support for lyx defined entities. Changed the document declaration
15477 to be more XML friendly.
15479 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15480 if we need to output XML that should be done with a filter.
15482 2001-10-22 Juergen Vigna <jug@sad.it>
15484 * sp_pspell.h (class PSpell): add alive function needed in the
15485 controller to see if the spellchecker could be started.
15487 2001-10-22 Juergen Vigna <jug@sad.it>
15489 * buffer.C (insertStringAsLines): modify the font for inserting
15490 chars in certain conditions by calling checkInsertChar(font).
15492 2001-10-19 Juergen Vigna <jug@sad.it>
15494 * text.C (workWidth): use getRow instead of wrong algorithm.
15495 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15497 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15502 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15504 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15506 * text.C (workWidth): do not search for the exact row when
15507 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15508 optimization for big documents.
15510 2001-10-18 Juergen Vigna <jug@sad.it>
15512 * text.C (workWidth): new function with added Inset * parameter.
15514 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15516 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15518 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15519 change return type of getColumnNearX.
15522 * text.C (changeRegionCase): use uppercase/lowercase instead of
15525 (rightMargin): simplify code by factoring out the uses of
15530 (appendParagraph): use Paragraph::size_type
15532 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15534 * vspace.C (asLatexString): add a missing break
15536 2001-10-15 Herbert Voss <voss@perce.de>
15538 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15540 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15542 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15545 2001-10-10 André Pönitz <poenitz@gmx.net>
15547 * lyxfunc.C: removed greek_kb_flag.
15549 2001-10-10 Herbert Voss <voss@perce.de>
15551 * lyx_main.C: delete global string help_lyxdir.
15553 2001-10-09 Herbert Voss <voss@perce.de>
15555 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15557 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15559 * lyx_main.C: added global string help_lyxdir.
15561 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15563 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15565 * lyxrc.C (set_font_norm_type): support iso8859-4
15567 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15569 * LaTeX.C (deplog): add another regex for MikTeX
15571 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15573 * lyxrc.C (set_font_norm_type): support iso8859-3
15575 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15577 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15579 * LaTeXFeatures.C: remove special case of french and index
15581 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15582 before \begin{document}). This solves several incompatibilities.
15584 2001-10-03 Garst Reese <reese@isn.net>
15586 * lyx_cb.C: change CheckTex error msg.
15588 2001-10-03 José Matos <jamatos@fep.up.pt>
15590 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15592 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15594 * .cvsignore: update
15596 * lyx_main.C (commandLineVersionInfo): use new style version info.
15598 * buffer.C (writeFile):
15600 (makeLinuxDocFile):
15601 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15603 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15605 * version.h: update to use stuff in version.C
15607 * version.C.in: new file. Contains version information determined
15608 at compile time. This is a merging of version.h and
15611 2001-10-03 Juergen Vigna <jug@sad.it>
15613 * BufferView_pimpl.C (update): don't change "dirty" status in
15616 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15618 * WorkArea.C (c-tor): re-position version string slightly.
15620 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15622 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15623 revert to previous code.
15625 WorkArea.[Ch]: (show, destroySplash): methods removed.
15627 WorkArea.C: rework code so that it's an amalgam of the codes before and
15628 after the splash screen was moved to WorkArea.
15630 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15633 * vspace.C (inPixels):
15636 * buffer.C (insertStringAsLines):
15637 (asciiParagraph): fix types to be large enough
15639 * lyxlex_pimpl.h: change member status from short to int
15641 * layout.h: fix type of endlabeltype
15644 * kbsequence.C (parse): change return type to string::size_type
15646 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15649 * Bullet.C (bulletSize):
15650 (bulletEntry): do not use short ints as parameters
15652 * BufferView2.C (insertLyXFile): change a char to an int.
15654 * WorkArea.C (WorkArea): remove unneeded floats in computation
15656 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15658 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15660 * paragraph.C (asString): Do not ignore newline/hfill chars when
15661 copying to the clipboard.
15663 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15665 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15666 after a multi-line inset.
15668 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15670 * paragraph.C (validate): Set NeedLyXFootnoteCode
15672 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15674 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15675 and decrease-error to decrease.
15677 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15679 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15680 it more readable (should be equivalent)
15682 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15684 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15686 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15688 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15689 of a cursor (row, etc.) after a character has been deleted
15690 (deleteEmptyParagraphMechanism): call the method above on _all_
15691 cursors held by the LyXText when a double space has been
15694 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15696 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15698 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15700 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15701 background. Use greyOut() and the new show() methods to toggle between
15702 the foreground and background. Add code to remove the splash after
15703 its initial showing.
15705 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15706 (create_forms): no longer call Dialogs::showSplash.
15708 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15710 * .cvsignore: add version_info.h
15712 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15714 * version_info.h.in: new file
15716 * Makefile.am: add version_info.h.in
15718 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15719 version_info.h instead of VERSION_INFO
15721 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15723 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15724 The ERT inset now returns string().
15726 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15728 * lyxtext.h, text.C (selectNextWord): renamed as
15729 selectNextWordToSpellcheck.
15731 * text.C (selectNextWordToSpellcheck): Modified to not select
15732 words inside an ERT inset.
15734 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15736 * lyx_cb.C (MenuLayoutSave): change a bit the question
15738 * sp_base.h: include <sys/types.h>
15740 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15742 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15744 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15746 * several files: fix typos in user-visible strings
15748 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15750 * text2.C (pasteSelection): do not set the selection, since it
15751 will be cleared later. Actually, the intent was to fix the way the
15752 selection was set, but I figured rmoving the code was just as good.
15754 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15756 * FontLoader.C (available): Check if font is available without
15759 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15761 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15763 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15765 * lyxrc.[Ch]: added display_graphics variable and associated code.
15767 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15769 * bufferparams.C (hasClassDefaults): new method. Returns true if
15770 the buffer parameters correspond to known class defaults
15772 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15774 * XFormsView.C (show): set minimum size to the main window.
15776 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15778 * text2.C (copySelection):
15780 * lyxfind.C (LyXReplace):
15781 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15782 LyXText::selectionAsString.
15784 * paragraph.C (asString): add "label" argument to the second form
15786 * text2.C (selectionAsString): add "label" argument and pass it to
15787 Paragraph::asString.
15789 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15791 * lyx_main.C (commandLineHelp): remove version information
15793 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15795 * lyx_main.C: add -version commandline option
15797 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15799 * paragraph.h: make the optional constructor arg required instead.
15800 some modifications to other files because of this.
15802 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15804 * lyxserver.C (C_LyXComm_callback): make it static
15806 * lyx_main.C (error_handler): make it static
15808 * lyx_gui.C (LyX_XErrHandler): make it static
15810 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15812 * WorkArea.C: make the extern "C" methods static.
15814 * Makefile.am (lyx_LDADD): simplify
15816 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15818 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15819 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15821 * LyXAction.C (init):
15822 * lyxfunc.C (dispatch): associated code removal.
15824 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15826 * lyxfont.h (isSymbolFont): shut off warning
15828 * text.C (setHeightOfRow):
15829 (getVisibleRow): fix crash with empty paragraphs which have a
15832 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15834 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15837 2001-09-04 José Matos <jamatos@fep.up.pt>
15840 * tabular.C (docbook): rename docBook method to docbook.
15842 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15844 * Makefile.am: add dependencies to main.o.
15846 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15848 * FontLoader.C (available): Return false if !lyxrc.use_gui
15850 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15852 * FontInfo.C (query):
15853 * converter.C (view):
15854 * importer.C (Import):
15855 * exporter.C (Export): Can not -> cannot.
15857 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15859 * BufferView_pimpl.C: allow to create index inset even if
15862 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15864 * buffer.C (getLists): replace boost::tie code with an explicit pair
15865 as boost::tie can break some compilers.
15867 * iterators.h: Added a std:: declaration to the return type of
15870 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15872 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15875 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15877 * iterators.[Ch]: New files. Provide paragraph iterators.
15879 * buffer.C (changeLanguage): Use paragraph iterators.
15880 (isMultiLingual): ditto
15882 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15884 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15886 * FontLoader.C: Support for cmr font.
15888 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15890 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15891 (available): New method.
15893 * FontInfo.C (getFontname): Use scalable fonts even when
15894 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15897 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15899 * converter.C (Formats::view): reverted! Incorrect fix.
15901 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15903 * converter.C (Formats::view): only output the -paper option
15904 if the dvi viewer is xdvi, thereby fixing bug #233429.
15906 2001-08-23 Herbert Voss <voss@perce>
15908 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15910 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15912 * Spacing.h (Spacing): Set space to Default on in the default
15915 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15917 * vc-backend.h (RCS::versionString): add RCS to version
15918 (CVS::versionString): add CVS to version
15920 * vc-backend.C (scanMaster): do not add CVS to version.
15921 (scanMaster): do not add RCS to version
15923 * lyxvc.C (versionString): new method
15925 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15927 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15929 * Spacing.C (set): initialize fval
15931 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15933 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15936 2001-08-16 Juergen Vigna <jug@sad.it>
15938 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15940 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15942 * BufferView_pimpl.C:
15945 * text2.C: setParagraph takes linespacing now
15947 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15949 * LyxAction.C: add internal LFUN_CITATION_INSERT
15951 * LyXView.C: actually apply fix
15953 * bufferlist.C: fix open non-existent file
15955 * lyxfind.C: fix indentation
15957 * lyxfunc.C: remove unneeded assert, fix typo
15959 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15961 * MenuBackend.C: use "Floatname List"
15963 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15965 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15966 when converting LaTeX layout to insetERT.
15967 Generate a non-collapsed float when reading old float
15969 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15971 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15974 2001-08-13 Juergen Vigna <jug@sad.it>
15976 * text.C (fill): return 0 instead of 20 as this seems to be the more
15979 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15981 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15984 2001-08-13 Juergen Vigna <jug@sad.it>
15986 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15988 (SearchBackward): comment out the unlocking of the inset_owner this
15989 should not be needed!
15991 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15993 * Many files: Remove inherit_language, and add latex_language
15995 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15996 collapsible insets.
15998 2001-08-10 Juergen Vigna <jug@sad.it>
16000 * text.C (prepareToPrint): fixed hfill-width in draw!
16002 * BufferView2.C (selectLastWord): save the selection cursor as this
16003 now is cleared in the function LyXText::clearSelection!
16005 2001-08-08 Juergen Vigna <jug@sad.it>
16007 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16008 BACKSPACE type functions.
16010 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16011 is only cutted from the document but not put in the cut-buffer, where
16012 still the old stuff should be.
16014 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16016 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16018 * tabular.C (SetWidthOfCell): fixed special case where the width
16020 (LeftLine): handle '|' in align_special.
16022 (LeftAlreadyDrawed): ditto
16023 (SetWidthOfCell): ditto
16025 2001-08-07 Juergen Vigna <jug@sad.it>
16027 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16029 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16031 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16032 * lyxlex.[hC]: ditto
16034 2001-08-06 Juergen Vigna <jug@sad.it>
16036 * text.C (getVisibleRow): fix up row clearing a bit.
16038 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16040 * minibuffer.C: make sure the X server sees the changes in the input.
16042 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16044 * paragraph.C (getFont): split into...
16045 (getLabelFont): this
16046 (getLayoutFont): and this
16047 * paragraph_pimpl.C (realizeFont): calling this
16049 * text2.C (getFont): split into...
16050 (getLayoutFont): this
16051 (getLabelFont): and this
16052 (realizeFont): all three calling this
16054 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16057 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16059 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16061 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16063 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16064 layouts from the Quote inset insertion.
16066 2001-08-03 Juergen Vigna <jug@sad.it>
16068 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16070 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16071 only if status not is already CHANGED_IN_DRAW (second level).
16073 * text.C (draw): don't set the need_break_row when inside an
16076 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16078 * buffer.C (parseSingleLyXformat2Token): handle more latex
16081 * bufferview_funcs.[hC]: change function names to
16082 begin with small char, adjust other files.
16084 2001-08-02 André Pönitz <poenitz@gmx.net>
16087 BufferView_pimpl.C: remove broken special code for math-greek
16089 2001-08-02 Juergen Vigna <jug@sad.it>
16091 * BufferView_pimpl.C (update): redone this function so that we
16092 update the text again if there was a CHANGE_IN_DRAW.
16094 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16095 (drawFromTo): added a new internal bool which is used by draw() and
16097 (general): some cursor drawing problems fixed.
16099 2001-08-01 Juergen Vigna <jug@sad.it>
16101 * lyxfind.C (LyXFind): fixed
16102 (SearchForward): ditto
16103 (SearchBackward): ditto
16105 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16106 spurius drawing of the cursor in the main area.
16108 * text2.C (status): small fix which could lead to a segfault!
16109 (clearSelection): remove unneeded BufferView param.
16111 2001-08-01 André Pönitz <poenitz@gmx.net>
16113 * lyxfunc.C: small change due to changed mathed interface
16115 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16117 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16119 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16121 * lyxfunc.c: fail gracefully if file doesn't exist
16126 * BufferView_pimpl.C: IsDirWriteable() proto changed
16128 * LyXView.C: fix updateWindowTitle() to store the last title
16130 2001-07-31 Juergen Vigna <jug@sad.it>
16132 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16133 the font (wrong since using of Paragraph::highestFontInRange).
16135 * paragraph.C (highestFontInRange): added a default_size parameter.
16137 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16138 (setHeightOfRow): reformat
16140 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16142 * converter.[hC] + affected files: move to (inital-char)lowercase
16145 * ParagraphParameters.C (ParagraphParameters): remove commented code
16147 * PainterBase.[Ch]: remove commented code
16149 * LaTeXFeatures.h: add "bool floats" for float.sty
16151 * LaTeXFeatures.C (LaTeXFeatures): init floats
16152 (require): handle float
16153 (getPackages): do it with floats
16155 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16157 * BufferView_pimpl.C (Dispatch): improve handling of
16158 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16160 * commandtags.h: #include lyxfont.h here temporarily to avoid
16163 * bufferlist.h: include LString.h here.
16165 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16167 * text2.C (getStringToIndex): new method.
16169 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16171 * *: Reduced header file dependencies all over.
16173 2001-07-30 Baruch Even <baruch@lyx.org>
16175 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16177 2001-07-29 Baruch Even <baruch@lyx.org>
16179 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16181 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16183 * ParameterStruct.h (endif): add a default constructor to make
16184 sure that all variables is initialized.
16186 * ParagraphParameters.C (ParagraphParameters): adjust
16188 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16190 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16191 index; also, check that there is something to index, and that it
16192 does not span over several paragraphs.
16193 (doubleClick): use WHOLE_WORD_STRICT for double click.
16195 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16197 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16200 2001-07-26 Baruch Even <baruch@lyx.org>
16202 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16203 an InsetFig figure, backwards compatible reading of old figure code.
16205 2001-07-27 Juergen Vigna <jug@sad.it>
16207 * text2.C: font.realize function adaption.
16209 * text.C (draw): add a warnings lyxerr text if needed.
16211 * layout.C: font.realize function adaption.
16213 * language.C: add inherit_language and implement it's handlings
16215 * bufferview_funcs.C (StyleReset): remove language parameter from
16216 font creation (should be language_inherit now).
16218 * bufferparams.C (writeFile): handle ignore_language.
16220 * paragraph.C (getFontSettings): the language has to be resolved
16221 otherwise we have problems in LyXFont!
16223 * lyxfont.C (lyxWriteChanges): added document_language parameter
16224 (update): removed unneeded language parameter
16226 * paragraph.C (validate): fixed wrong output of color-package when
16227 using interface colors for certain fonts in certain environments,
16228 which should not seen as that on the final output.
16230 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16232 * BufferView_pimpl.C:
16237 * LyXAction.C: add thesaurus support
16240 * lyxfind.C: add "once" parameter, for thesaurus, to not
16241 move to the next match
16243 2001-07-26 Juergen Vigna <jug@sad.it>
16245 * lyxfont.C (realize): honor ignore_language too!
16248 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16250 * text.C (draw): one place more for ignore_language to not draw
16253 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16255 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16257 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16259 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16260 the minipage conversion problem.
16262 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16264 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16267 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16269 * BufferView.h: don't forward declare WorkArea
16271 * BufferView.C: don't include WorkArea.h
16273 2001-07-25 André Pönitz <poenitz@gmx.net>
16277 * lyxfunc.C: new LFUN 'math-space'
16279 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16281 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16283 * text2.C (toggleInset): call open/close
16285 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16287 * lyxfunc.C (dispatch): add debug for the disabled case
16289 * font.C (buttonText): make similar to rectText
16291 * buffer.C (readInset): comment out parsing of insetlist and
16294 * PainterBase.C (rectText): small correction
16296 * BufferView_pimpl.C: comment out insettheorem and insetlist
16297 * LyXAction.C: ditto
16298 * commandtags.h: ditto
16300 2001-07-24 Juergen Vigna <jug@sad.it>
16302 * text.C (draw): honor the ignore_language.
16304 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16306 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16308 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16311 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16313 * lyxtext.h: remove unused (and unimplemented) methods
16315 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16317 * text.C (getVisibleRow): honor background color
16320 * Painter.h: remove default color argument for fillRectangle
16322 * text.C (backgroundColor): new method
16324 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16326 * text.C (getVisibleRow): adjust
16328 * font.[Ch] (rectText): new method, metrics
16329 (buttonText): new method, metrics
16331 * PainterBase.[hC]: make rectText and buttonText always draw and take
16334 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16336 * ToolbarDefaults.C (read):
16337 * MenuBackend.C (read): allow escaping in all strings
16339 * BufferView_pimpl.C (insertAndEditInset): new method.
16340 (Dispatch): use insertAndEditInset whenever appropriate.
16342 * BufferView_pimpl.C (insertNote): removed
16344 * BufferView_pimpl.C (smartQuote): new method, moved from
16345 BufferView; if an insetquote cannot be inserted, insert a '"'
16348 * BufferView2.C: remove insertCorrectQuote();
16350 * lyxfunc.C (getStatus): Add support for all remaingin
16351 inset-insert lfuns.
16353 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16355 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16356 command (necessary to pass " as parameter of self-insert.
16358 * text.C (selectWordWhenUnderCursor):
16359 (selectWord): add word_location parameter
16360 (selectWordWhenUnderCursor): same + remove special code for word
16362 (selectNextWord): use kind() to guess type of insetspecialchar,
16365 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16366 (insertErtContents): create ert insets as collapsed.
16367 (readInset): better compatibility code for Info inset.
16369 2001-07-20 Juergen Vigna <jug@sad.it>
16371 * lyxfunc.C (dispatch): use always LyXFind now!
16373 * text2.C (init): add a reinit flag so that the LyXText can be
16374 reinited instead of deleted and reallocated (used in InsetText).
16376 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16382 2001-07-18 Juergen Vigna <jug@sad.it>
16384 * text.C (selectNextWord): handle insets inside inset by calling
16385 always the bv->text functions so that we can go up the_locking_inset!
16387 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16388 in strange locations when inside an inset!
16390 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16391 handling to include insets.
16393 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16395 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16397 * LyXAction.C (init):
16399 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16400 LIGATURE_BREAK, since the name is so stupid.
16402 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16404 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16407 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16409 * sp_form.[Ch]: remove.
16411 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16413 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16416 * src/buffer.C (readInset): ditto.
16418 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16420 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16421 menuSeparator(), endOfSentenceDot(), ldots() and
16422 hyphenationPoint(), which are therefore removed.
16423 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16425 * LyXAction.C (init):
16426 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16428 * paragraph.C (getWord): removed.
16430 * BufferView_pimpl.C (Dispatch): use last word or selection for
16431 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16433 * lyx_main.C (queryUserLyXDir): do not ask before creating
16434 user_dir, except if it has been named explicitely.
16436 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16438 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16439 a document of zero size.
16441 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16443 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16444 approriately in the c-tor and in require().
16445 (getPackages): output the appropriate LaTeX for natbib support.
16447 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16448 variables "use_natbib" and "use_numerical_citations" when reading the
16450 (readInset): read the various natbib cite commands.
16451 (validate): white-space change.
16453 * bufferparams.[Ch]: new variables "bool use_natbib" and
16454 "bool use_numerical_citations".
16455 (writeFile): output them in the LyX file.
16457 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16459 * lyxfunc.C (getStatus): add support for all the inset insertion
16462 * text2.C (insertInset):
16463 * paragraph.C (insetAllowed):
16464 * BufferView_pimpl.C (insertInset): update to take in account the
16465 renaming of insertInsetAllowed
16467 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16469 * text2.C (getInset): new method. returns inset at cursor position.
16471 * BufferView_pimpl.C (Dispatch): changes because of this.
16473 * LyXAction.C (init): rename open-stuff to inset-toggle.
16475 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16477 * text2.C (toggleInset): renamed from openStuff; use
16480 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16482 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16484 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16486 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16488 * buffer.C (readLyXformat2): Add filename to the error dialog
16490 2001-07-18 Juergen Vigna <jug@sad.it>
16492 * tabular.C (GetCellNumber): put an assert here instead of the check!
16494 2001-07-17 Juergen Vigna <jug@sad.it>
16496 * BufferView_pimpl.C (toggleSelection): adapted too.
16498 * text.C (selectNextWord): adapted for use with insets.
16499 (selectSelectedWord): ditto
16501 2001-07-17 Juergen Vigna <jug@sad.it>
16503 * sp_spell.C (PSpell): fix initialitation order.
16505 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16507 * paragraph.C: spacing
16509 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16511 * sp_spell.C: repair language selection for pspell
16513 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16515 * lyxfunc.h: change more methods to begin with lower char.
16517 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16519 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16520 for unknown layouts.
16522 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16524 * buffer.C (readLyXformat2): Generate an error dialog if there are
16527 2001-07-16 Juergen Vigna <jug@sad.it>
16529 * sp_spell.C: always compile ISpell part.
16531 * lyxrc.C: added use_pspell entry and it's handling.
16533 2001-07-13 Juergen Vigna <jug@sad.it>
16535 * sp_spell.C: removed double includes.
16537 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16539 Consistent use of Lsstream.h:
16540 * Lsstream.h: added using std::stringstream for consistencies sake.
16542 * buffer.C: removed using std::stringstream
16544 * lyxfont.C (stateText):
16545 * paragraph.C (asString):
16546 * text.C (selectNextWord, selectSelectedWord):
16547 * text2.C (setCounter):
16548 * vspace.C (asString, asLatexString):
16549 std::ostringstream -> ostringstream.
16551 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16553 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16554 * commandtags.h: add LFUN_HELP_ABOUTLYX
16555 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16557 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16559 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16561 * lyx_gui_misc.C: remove spellchecker
16562 * lyxfunc.C: showSpellchecker
16564 * sp_ispell.h: added
16565 * sp_pspell.h: added
16566 * sp_spell.C: added
16567 * sp_form.[Ch]: removed
16568 * spellchecker.[Ch]: removed
16570 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16572 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16574 (simpleTeXSpecialChars): Simply print the input character without
16575 any special translation if pass_thru is set.
16577 * layout.h: Added bool pass_thru to layout class for being able to
16578 implement pass through of a paragraph for Literate Programming.
16580 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16581 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16582 * layout.C (Read): add "passthru" to list of layout tags and add
16583 code to set the pass_thru boolean when it is read.
16585 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16587 * trans_decl.h: remove allowed from KmodInfo
16589 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16590 remove allowed code
16593 * paragraph_pimpl.C (erase): use boost::prior
16595 * Painter.C (text): use data() instead of c_str() when length is
16597 * WorkArea.C (putClipboard): ditto
16598 * font.h (width): ditto
16600 * BufferView2.C: use it-> instead of (*it). for iterators
16602 * paragraph_pimpl.C: ditto
16603 * paragraph.C: ditto
16604 * minibuffer.C: ditto
16605 * language.C: ditto
16607 * encoding.C: ditto
16608 * counters.C: ditto
16609 * converter.C: ditto
16611 * Variables.C: ditto
16612 * TextCache.C: ditto
16613 * MenuBackend.C: ditto
16614 * LyXAction.C: ditto
16616 * FloatList.C: ditto
16617 * DepTable.C: ditto
16618 * ColorHandler.C (LyXColorHandler): ditto
16620 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16622 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16624 * text2.C (openStuff): reintroduce this method (which had been
16625 nuked in NEW_INSETS frenzy).
16627 * lyxfunc.C (Dispatch): when an action has not been handled, use
16628 its name in the error message, not its number.
16630 * paragraph.C (inInset): change method name to begin with lowercase.
16633 * text2.C: updates because of this.
16635 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16637 * ToolbarDefaults.C (add): add spaces in error message
16639 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16641 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16642 (readLyXformat2): rename return_par to first_par, use lyxlex's
16643 pushToken and remove the manual push handling.
16644 (parseSingleLyXformat2Token): add another ert comp. variable:
16645 in_tabular, rename return_par to first_par. handle newlines better
16647 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16649 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16651 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16653 * text2.C (getParFromID): removed
16655 * buffer.C (getParFromID): new method moved form lyxtext.
16656 * BufferView2.C (insertErrors): adjust
16657 (setCursorFromRow): adjust
16658 * BufferView_pimpl.C (restorePosition): adjust
16659 * lyxfunc.C (Dispatch): adjust
16660 * undo_funcs.C (textUndo): adjust
16662 (textHandleUndo): adjust
16663 (textHandleUndo): adjust
16665 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16667 * buffer.C: up' the LYX_FORMAT
16669 * lyxfont.h: turn NO_LATEX on as default
16671 * buffer.C (insertErtContents): new methods of tex style compability.
16672 (parseSingleLyXformat2Token): use it several places.
16673 * tabular.C (OldFormatRead): and here
16675 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16677 * text2.C: remove some commented code.
16680 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16681 * trans.C: changes because of the above.
16683 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16685 * text2.C (setCounter): Fix counters bug with bibliography layout.
16687 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16689 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16690 own member functions
16691 (simpleTeXSpecialChars): ditto
16693 2001-07-06 Juergen Vigna <jug@sad.it>
16695 * a lot of files: changed the access to LyXText::status and the
16696 call of undo-functions.
16698 * undo.[Ch]: added a inset_id to the undo informations.
16700 * undo_funcs.[Ch]: added and moved here all undo functions.
16702 * lyxtext.h: give the status enum a weight, made status_ a private
16703 variable and made accessor functions for it, removed the whole bunch
16704 of undo-functions as they are now in their own file, make some
16705 functions publically available. Added function ownerParagraph with
16708 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16709 made InInset() a const function, added getParFromID() function.
16711 * buffer.[Ch]: added const version for inset_iterator functions,
16712 added getInsetFromID() function.
16714 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16715 changed undo functions for new version.
16717 2001-07-05 Juergen Vigna <jug@sad.it>
16719 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16720 unknow mechanism does not call the proper constructor but only this
16721 one also if I request the other!?
16723 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16725 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16727 * text2.C (LyXText): use initialization lists.
16729 * lyxtext.h (Selection): initialize set_ and mark_
16730 (init): remove method
16732 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16734 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16736 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16738 * screen.[Ch]: change method names to begin with lowercase
16740 * BufferView_pimpl.C (updateScrollbar): simplify further and
16741 hopefully make it a bit faster.
16743 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16745 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16746 calling directly xforms functions.
16748 * Painter.C (Painter):
16749 * lyx_cb.C (MenuWrite):
16750 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16753 * lyx_gui.C: remove bogus guiruntime extern declaration.
16755 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16757 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16759 (redoDrawingOfParagraph): ditto
16760 (redoParagraphs): ditto
16761 (cutSelection): don't create a object for CutAndPaste use the
16762 static method directly
16763 (pasteSelection): ditto
16765 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16768 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16770 * modifications to some other files because of this.
16772 * Makefile.am (lyx_SOURCES): add XFormsView
16774 * XFormsView.[Ch]: new files
16776 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16777 the main window. Move the gui dependent stuff to XFormsView
16779 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16781 * tabular.C (GetCellInset): update cur_cell also in the row/col
16782 version of this function.
16784 * lyxfunc.C: no need to include figure_form.h here.
16790 * lyxvc.C: no need to include forms.h here.
16792 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16794 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16796 * lyxfunc.C (Dispatch):
16798 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16799 constructor argument.
16801 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16803 * paragraph.C (Paragraph): dont't clear, and just set layout.
16804 (makeSameLayout): use params's copy contructor.
16806 * ParagraphParameters.[Ch] (makeSame): delete method
16808 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16810 * Variables.[Ch]: fix indentation, rename set to isSet
16812 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16814 * lyxfunc.C (Dispatch): fix typo
16816 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16818 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16821 * bufferlist.C: include assert.h for emergencyWrite().
16823 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16825 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16826 give up at last (bug #425202) !
16828 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16834 * spellchecker.C: strip spellchecker options and bring up
16835 preferences tab instead
16837 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16839 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16840 the istringstream constructor
16842 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16844 * paragraph.C (getLayout): fix return value
16846 * paragraph.h: do not declare getLayout as inline.
16848 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16850 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16852 * lyxcursor.h (operator<): new func
16853 (operator>): new func
16854 (operator>=): new func
16855 (operator<=): new func
16857 * text.C (changeCase): use selection.start and selection.end
16858 (changeRegionCase): require from to be <= to. Require par to be a
16861 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16863 2001-06-27 Juergen Vigna <jug@sad.it>
16865 * text.C (cursorLeftOneWord): changed to return the cursor and added
16866 overlay with BufferView * parameter which calls this one.
16868 (selectWord): use new getWord function.
16869 (changeCase): renamed from changeWordCase as and extended to work
16870 also on selections.
16872 * lyxtext.h: added enum word_location
16874 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16875 changeCase as this operates now also on selections.
16877 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16879 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16881 * many files: send debug output to Debug::INFO instead of
16884 * converter.C (View):
16886 (Move): send debug output to Debug::FILES instead of console.
16888 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16890 * lyxfunc.C (getStatus): use func_status
16892 * func_status.h: new header, describing the results of
16893 LyXFunc::getStatus;
16895 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16898 2001-06-25 The LyX Project <jug@sad.it>
16900 * buffer.C (sgmlOpenTag):
16902 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16904 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16906 * text2.C: remove some dead code
16908 * tabular.C (GetCellInset): store the last cell checked (gotten)
16910 * tabular.h: add the helper for the speedup
16912 * lyxtext.h: remove some dead code
16914 2001-06-26 The LyX Project <Asger>
16916 * paragraph.C: Change export to LaTeX of alignment to
16917 \begin{center} and family for better roundtrip work with reLyX.
16919 * Tune the math drawing a bit.
16921 2001-06-25 The LyX Project <Asger>
16923 * LColor.C (LColor): New color for math background. New color
16926 2001-06-25 The LyX Project <jug@sad.it>
16928 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16930 * lyxfunc.C (Open):
16931 * bufferlist.C (newFile): do not restrict to files ending with
16934 * BufferView_pimpl.C (MenuInsertLyXFile):
16936 2001-06-24 The LyX Project <jug@sad.it>
16938 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16941 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16943 * lyxtext.h: rename most methods to begin with a small char.
16944 Lots of changes because of this.
16946 * paragraph.C (Paragraph): do not call fitToSize
16947 (erase): call Pimpl::erase
16948 (insertChar): call Pimpl::insertChar
16949 (insertInset): call Pipl::insertInset
16950 (breakParagraph): do not call fitToSize
16951 (breakParagraphConservative): do not call fitToSize
16952 (fitToSize): remove method
16954 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16956 2001-06-24 The LyX Project <Asger>
16958 * Fix Qt compilation^2
16960 2001-06-24 The LyX Project <jug@sad.it>
16962 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16963 depthHook(getDepth()-1).
16966 * ParagraphParameters.h:
16967 * ParameterStruct.h: change type of depth to unsigned int ==
16968 depth_type. Many adaptations to other files before of that.
16970 2001-06-24 The LyX Project <Asger>
16972 * Fix Qt compilation.
16974 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16976 * paragraph.h: renamed several methods to begin with small letter.
16977 several changes to many parts of the code because of this.
16979 2001-06-23 The LyX Project <jug@sad.it>
16981 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16982 rewritten to discard all double spaces when KeepEmpty is off
16983 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16984 to only handle newlines but not fiddle with spaces and friends.
16986 * lyxfunc.C (MenuNew): when doing 'new from template', use
16987 template_path as default directory
16989 2001-06-23 The LyX Project <Asger>
16991 * Clean-up of header file includes all over
16992 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16994 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16996 * paragraph.h: renamed from lyxparagraph.h
16998 2001-06-23 Asger <lyx@violet.home.sad.it>
17000 * Buffer.h: Removed Buffer::resize
17001 * BufferList.h: Removed BufferList::resize
17002 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17003 the document lazily when we change the width, or the font settings.
17005 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17007 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17009 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17011 * buffer.h: remove out of date comment
17013 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17016 * screen.C: fix "theoretical" GC leak
17018 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17020 * LaTeX.C (scanAuxFile):
17021 (deplog): remove trailing \r when reading stream (useful under
17024 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17026 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17027 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17028 and BufferView::theLockingInset(Inset*), so should use them and not
17029 access bv_->text->the_locking_inset directly.
17031 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17033 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17036 * tex-defs.h: remove old unused file
17038 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17040 * BufferView_pimpl.C: fix typo, remove minibuffer message
17041 when buffer has loaded
17043 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17045 * lyxfunc.C (Dispatch): use stringstream
17046 (MenuNew): use stringstream
17047 (Open): use stringstream
17049 * importer.C (Import): use stringstream
17051 * bufferview_funcs.C (CurrentState): use stringstream
17053 * LaTeX.C (run): use stringstream
17055 * BufferView_pimpl.C (savePosition): use stringstream
17056 (restorePosition): use stringstream
17057 (MenuInsertLyXFile): use stringstream
17059 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17072 * vspace.C: removed // -*- C++ -*- as first line.
17075 * version.h: added // -*- C++ -*- as first line.
17077 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17079 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17081 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17084 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17086 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17089 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17091 * gettext.C: include LString.h even when --disable-nls is on.
17093 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17095 * converter.h (Get): changed argument type from int to
17096 FormatList::size_type to avoid unnecessary conversion.
17098 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17101 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17103 * gettext.h: include LString.h even when --disable-nls is on.
17105 2001-06-07 Juergen Vigna <jug@sad.it>
17107 * text.C (BreakAgain): subst spaces with tabs.
17109 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17110 (resizeInsetsLyXText): set force on resizeLyXText.
17112 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17114 * gettext.h (gettext_init):
17115 (locale_init): use a real definition instead of a macro
17117 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17119 * Bufferview_pimpl.C:
17121 * LColor.C: further lcolor tidies
17123 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17125 * BufferView_pimpl.C (updateScrollbar): simplify.
17127 * BufferView2.C: don't include insets/insetinfo.h, change
17128 prototype for insertInset and call the Pimpl version. let
17129 updateInset call Pimpl version.
17131 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17132 gotoInset to BufferView::Pimpl
17134 2001-06-01 Juergen Vigna <jug@sad.it>
17136 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17137 inside a LockingInset (is the update needed at all?).
17139 2001-05-31 Juergen Vigna <jug@sad.it>
17141 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17142 here not the old one otherwise how should we compare it afterwards
17145 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17150 * FontInfo.C: bring C functions into global namespace when
17153 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17155 * LString.h: make sure config.h has been loaded before LString.h.
17157 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17158 (one for each char read by EatLine!).
17160 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17163 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17165 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17166 to the same as the par we break from
17168 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17170 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17172 * MenuBackend.C (expand): also create menu entries for wide
17173 versions of the floats.
17175 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17177 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17179 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17180 frontends/Makefile.am
17186 * tabular.C (getTokenValue): add std::
17188 * tabular-old.C (getTokenValue): add std::
17189 (getTokenValue): ditto
17190 (getTokenValue): ditto
17192 * screen.C (ToggleSelection): adjust
17194 * lyxtext.h: put selection cursors inside a Selection struct.
17196 * lyxfunc.C (moveCursorUpdate): adjust
17198 * lyxfont.C (latexWriteStartChanges): add std::
17200 * lyxfind.C: adjust
17202 * font.h: delete with(char const *, LyXFont const &)
17204 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17206 * FontInfo.C (getFontname): add std::
17208 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17209 (workAreaButtonPress): adjust
17210 (tripleClick): adjust
17212 (moveCursorUpdate): adjust
17215 * BufferView2.C (gotoInset): adjust
17217 2001-05-30 Juergen Vigna <jug@sad.it>
17219 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17220 to check pspell I add this as default as I now have new pspell
17221 libraries and they seem to use this.
17223 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17225 * text2.C (CutSelection): make the cursor valid before the call to
17228 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17230 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17231 relied on 0 terminated strings and other horrors. Bug found due to
17232 the new assert in lyxstring!
17234 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17237 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17239 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17242 * lyxfunc.C (processKeySym): change method of getting to the
17245 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17246 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17247 * BufferView_pimpl.[Ch]: here as private methods.
17249 2001-05-28 Juergen Vigna <jug@sad.it>
17251 * text.C (SetHeightOfRow): added the update() call again as it is
17252 needed to initialize inset dimensions!
17254 2001-05-16 Juergen Vigna <jug@sad.it>
17256 * text2.C (SetCharFont): Add new function with BufferView * and
17257 bool toggleall parameters for setting insets internal fonts.
17258 (SetFont): Freeze the undo as we may change fonts in Insets and
17259 all this change should be inside only one Undo!
17261 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17262 setting font's in insets as for them we have the SetFont function!
17264 2001-05-15 Juergen Vigna <jug@sad.it>
17266 * text2.C (ClearSelection): to be sure we REALLY don't have any
17269 * tabular.C (TeXCellPreamble): fixed the left border problem for
17272 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17274 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17277 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17279 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17280 LFUN_BREAKPARAGRAPH.
17282 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17283 help test to "internal only", similar for LFUN_INSERT_URL
17285 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17286 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17287 auto_region_delete and deadkeys.
17289 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17292 * LColor.C: remove some dead entries, tidy a little
17294 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17296 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17298 (Dispatch): implement LFUN_ESCAPE
17300 * commandtags.h: add LFUN_ESCAPE
17302 * LyXAction.C (init): add entry for LFUN_ESCAPE
17304 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17305 Remove commented code.
17306 (insertNote): moved here
17307 (open_new_inset): moved here
17309 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17312 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17314 * kbmap.C (findbinding): clean it up and make it work correctly.
17316 * lyx_main.C (init): do not pass argc and argv as parameters
17318 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17320 * buffer.C: fix path for OS/2 & Win32
17324 * lyx_main.C: Added os:: class.
17326 * os2_defines.h: update
17328 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17330 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17331 better by trying again with reduced state.
17333 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17335 * lyxrc.C (read): print error about invalid key sequence only when
17336 debugging (because not all latinX keysyms are known to some X
17339 * kbsequence.C (getiso): add a few std:: qualifiers
17340 (getiso): comment out extra return statement.
17342 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17344 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17346 (Dispatch): enhance the accent inset a bit. (not perfect)
17348 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17350 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17352 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17354 * bufferlist.C (emergencyWrite): fix assert() call
17356 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17358 * text.C (InsertChar): Added trivial patch to only send the "you
17359 can not do multiple spaces this way" message once during a
17362 2001-05-08 Baruch Even <baruch@lyx.org>
17364 * Makefile.am: Changed order of libraries to get LyX to link properly
17365 with the gnome frontend.
17367 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17369 * LaTeXFeatures.h: add a std:: qualifier
17371 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17373 * paragraph.C (String): use stringstream
17375 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17377 * paragraph.C (writeFile): remove footflag arg
17379 * buffer.C (makeLaTeXFile): use stringstream
17380 (latexParagraphs): remove footnot gurba
17382 * LaTeXFeatures.C (getPackages): use stringstream
17383 (getMacros): likewise
17384 (getTClassPreamble): likewise
17385 (getFloatDefinitions): new method
17387 * paragraph.C (writeFile): reindent
17390 * WorkArea.h: revert the xpos + etc changes.
17392 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17394 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17396 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17397 (pasteSelection): likewise
17398 * text2.C (CreateUndo): likewise
17400 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17402 * minibuffer.C (peek_event): temporarily reduce the functionality
17403 of the minibuffer (to allow args on lfuns)
17405 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17406 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17408 * buffer.C (readInset): add compability reading of old float
17409 lists, add reading of new style float list.
17410 (readInset): avoid reevaluation of inscmd.getCmdName()
17411 (getLists): reindent
17413 * MenuBackend.C (MenuItem): implement parsing of
17414 md_floatlistinsert and md_floatinsert.
17415 (expand::LastFiles): move initalizaton of iterators out of loop,
17416 avoid reevaluation.
17417 (expand::Documents): introduce typdedef vector<string> Strings,
17419 (expand::ExportFormats): introduce typedef vector<Format const *>
17420 Formats, and use it.
17421 (expand): implement FloatListInsert and FloatInsert.
17423 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17424 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17425 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17427 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17429 (Dispatch::LFUN_FLOAT_LIST): implement
17431 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17433 * LaTeX.C (run): Fix problem with --export code.
17435 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17437 * BufferView.[Ch] (workarea): removed.
17438 (getClipboard) new method; wrapper for workarea()->getClipboard()
17440 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17443 * WorkArea.h (width, height, xpos, ypos): These methods all
17444 returned the dimensions of the work_area sub-area of WorkArea,
17445 resulting in a position error if the WorkArea were resized. Now
17446 return the dimensions of the entire WorkArea.
17448 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17450 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17452 * LaTeX.C (deplog): correct the syntax of regex reg1
17454 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17456 * undo.C: remove !NEW_INSETS cruft
17458 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17460 * text2.C: remove !NEW_INSETS cruft
17462 * text.C: remove !NEW_INSETS cruft
17464 * tabular.C: remove !NEW_INSETS cruft
17466 * spellchecker.C: remove !NEW_INSETS cruft
17468 * lyxtext.h: remove !NEW_INSETS cruft
17470 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17472 * lyxfunc.C: remove !NEW_INSETS cruft
17474 * lyxfind.C: remove !NEW_INSETS cruft
17476 * lyx_cb.C: remove !NEW_INSETS cruft
17478 * figureForm.C: remove !NEW_INSETS cruft
17480 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17482 * buffer.[Ch]: remove !NEW_INSETS cruft
17484 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17486 * CutAndPaste.C: remove !NEW_INSETS cruft
17488 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17490 * BufferView2.C: remove !NEW_INSETS cruft
17492 * BufferView.h: remove !NEW_INSETS cruft
17494 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17496 * Lsstream.h: include LString.h before the sstream headers to
17497 fix problem with gcc 2.95.3 and lyxstring
17499 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17501 * lyx_main.C: add using directives when needed for C functions
17502 declared in std:: namespace.
17504 2001-04-27 Juergen Vigna <jug@sad.it>
17506 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17507 (SetHeightOfRow): comment out the update call should not be needed!
17509 2001-04-13 Juergen Vigna <jug@sad.it>
17511 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17512 (LyXTabular): tried to minimize operator= operations (and realized
17513 hopfully Lars wish).
17515 2001-04-27 Juergen Vigna <jug@sad.it>
17517 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17519 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17521 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17523 * buffer.C (readInset): hack to make listof algorithm work
17525 * BufferView_pimpl.C: hack to make listof algorithm work
17527 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17529 * LyXAction.C: removed all !NEW_INSETS cruft
17530 (init): moved lfun_item in method
17532 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17534 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17536 * BufferView2.C (theLockingInset): white space.
17538 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17540 * minibuffer.C: include <iostream>
17542 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17544 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17546 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17548 * text.[Ch] (TransposeChars): new method
17550 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17552 * call message directly through LyXView instead of through LyXFunc
17553 * BufferView2.C: adjust
17554 * BufferView_pimpl.C: adjust
17555 * FontLoader.C: adjust
17557 * bufferview_funcs.C: adjust
17558 * converter.C: adjust
17559 * figureForm.C: adjust
17560 * importer.C: adjust
17562 * lyx_gui_misc.C: adjust
17563 * lyxfunc.C: adjust
17566 + more files in subdirs
17568 * lyxparagraph.h (size): move up int file
17571 * adjust all uses of Assert to lyx::Assert.
17573 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17574 lyxfunctional in namespace lyx
17575 * layout.C (hasLayout): ditto
17578 (delete_layout): ditto
17579 (NumberOfClass): ditto
17580 * converter.C (GetFormat): ditto
17585 * bufferlist.C (getFileNames): ditto
17586 (emergencyWriteAll): ditto
17589 * MenuBackend.C (hasSubmenu): ditto
17592 * BufferView_pimpl.C (getInsetByCode): ditto
17594 2001-04-18 Juergen Vigna <jug@sad.it>
17596 * vspace.C (asLatexString): fixed the 100% problem.
17598 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17600 * lyxfunc.C (Dispatch):
17602 * minibuffer.h: add a few std:: qualifiers
17604 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17606 * minibuffer.[Ch]: reimplement so that commands is initiated and
17607 run from lyxfunc, simplified som handling, and made the completion
17608 and history code for complete. wip.
17610 * lyxfunc.C (processKeySym): call message
17611 (miniDispatch): new temporary method
17612 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17613 (LFUN_MESSAGE): implement
17614 (LFUN_MESSAGE_PUSH): implement
17615 (LFUN_MESSAGE_POP): implement
17616 (initMiniBuffer): the initial/defualt minibuffer message.
17618 * lyxfont.[Ch]: inline some more getters
17620 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17622 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17624 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17625 (AutoSave): use LFUN_MESSAGE
17626 (Reconfigure): ditto
17628 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17630 * figureForm.C: use LFUN_MESSAGE
17632 * converter.C (runLaTeX): use LFUN_MESSAGE
17634 * bufferview_funcs.C: use LFUN_MESSAGE
17636 (changeDepth): ditto
17638 * bufferparams.h: use boost::
17640 * bufferlist.h: inherit privately from noncopyable
17642 * bufferlist.C (loadLyXFile): remove some commented code.
17644 * buffer.C (runChktex): use LFUN_MESSAGE
17646 * ShareContainer.h: inherit privately from noncopyable
17648 * ParagraphParameters.[hC] (depth): inline it.
17650 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17652 (message): new method
17653 (messagePush): ditto
17654 (messagePop): ditto
17655 (show): init minibuffer
17656 (showState): direct call
17658 * LaTeX.[Ch]: inherit privately from noncopyable
17659 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17660 instead of WriteStatus.
17662 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17664 * BufferView_pimpl.C (buffer): don't init minibuffer
17665 (workAreaButtonPress): use LFUN_MESSAGE
17666 (workAreaButtonRelease): ditto
17667 (savePosition): ditto
17668 (restorePosition): ditto
17669 (MenuInsertLyXFile): ditto
17670 (workAreaExpose): don't init minibuffer
17671 (update): remove commented code, simplify
17673 * BufferView2.C (openStuff): use LFUN_MESSAGE
17674 (toggleFloat): ditto
17677 (copyEnvironment): ditto
17678 (pasteEnvironment): ditto
17683 (updateInset): remove some commented code
17685 * lastfiles.h: inherit privately from noncopyable
17688 * lyx_main.h: ditto
17690 * lyxlex_pimpl.h: ditto
17692 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17693 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17694 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17696 * LyXAction.h: inherit privately from noncopyable, add methods
17697 func_begin, func_end, returning iterators to the func map.
17699 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17700 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17701 (func_begin): new method
17702 (func_end): new method
17704 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17706 (copySelection): ditto
17707 (pasteSelection): ditto
17709 * BufferView.C: whitespace change
17710 * BufferView.h: inherit privately from noncopyable
17712 2001-04-16 Allan Rae <rae@lyx.org>
17714 * tabular-old.C (l_getline):
17715 * spellchecker.C (sc_check_word):
17716 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17717 an unrecognised preprocessor directive. So ensure they're wrapped.
17719 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17721 * src/exporter.C (Export): Give an error message when path to file
17724 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17726 * LaTeX.C (deplog): Always check that foundfile exists.
17728 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17731 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17733 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17735 * tabular.[Ch] (getLabelList): implement new method
17737 * minibuffer.h: comment ouf setTiimer
17739 * minibuffer.C (ExecutingCB): constify res
17740 (peek_event): constify s
17741 (Set): constify ntext
17742 (Init): constify nicename
17744 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17746 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17747 (savePosition): use two params to Minibuffer::Set
17748 (restorePosition): ditto
17750 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17752 * lyx_main.C: include language.h
17754 * Makefile.am (lyx_main.o): add language.h
17756 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17762 * CutAndPaste.C: include gettext.h
17764 * lyxfont.h: remove old hack with ON and OFF.
17767 * lyxfont.h: do not include language.h...
17772 * bufferview_funcs.C:
17778 * paragraph.C: ... but do it here instead
17780 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17782 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17784 * tabular.C: small reformat
17786 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17789 (BreakParagraph): ditto
17790 (SetOnlyLayout): ditto
17793 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17796 * lastfiles.C: removed most using decl, add std:: where needed
17798 * buffer.C: ws changes
17800 * MenuBackend.C (class compare_format): put into anon namespace
17801 (expand): constify label, names, action, action2
17804 * text.C (SingleWidth): constify font
17805 (IsBoundary): constify rtl2
17806 (GetVisibleRow): constify ww
17808 * LaTeX.C (deplog): constify logfile
17810 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17812 (workAreaExpose): constify widthChange, heightChange
17814 * lyxrow.C (par): moved
17817 * lyxrow.h: as inlines here
17819 * lyxfont.h (shape): moved from lyxfont.C
17820 (emph): moved from lyxfont.C
17822 * lyxfont.C (LyXFont): use initialization list for all
17824 (shape): move to lyxfont.h as inline
17825 (emph): move to lyxfont.h as inline
17828 2001-04-04 Juergen Vigna <jug@sad.it>
17830 * vspace.C: had to include stdio.h for use of sscanf
17832 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17835 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17836 independent of xforms.
17838 2001-04-02 Juergen Vigna <jug@sad.it>
17840 * spellchecker.C: fixed namespace placing!
17842 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17844 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17845 the LyXParagraph * is 0.
17847 2001-03-29 Juergen Vigna <jug@sad.it>
17849 * vspace.C: added support for %, c%, p%, l%.
17850 (stringFromUnit): added helper function.
17851 (asLatexString): changed to give right results for the %-values.
17853 * buffer.C: convert the widthp in a width%.
17855 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17857 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17860 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17861 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17863 * lyx_cb.[Ch]: see above.
17865 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17869 * lyx.[Ch]: replaced by figure_form.[Ch].
17873 * lyxfunc.C: changed headers associated with above changes.
17875 2001-03-27 Juergen Vigna <jug@sad.it>
17877 * BufferView_pimpl.C: set the temporary cursor right!
17879 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17881 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17883 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17885 * LString.h: removed "using std::getline"!
17887 * BufferView_pimpl.C (Dispatch): changes due to changes in
17888 InsetInclude::Params.
17890 * buffer.C (tag_name): removed redundant break statements as they were
17891 producing lots of warnings with my compiler.
17893 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17895 * LString.h: add "using std::getline" when using the real <string>.
17897 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17899 * buffer.C: removed bitset usage.
17900 PAR_TAG moved to an anonymous name space.
17901 (tag_name): new funtion, also in the anonymous namespace.
17902 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17903 (makeDocBookFile): clean code. Completed transition from string arrays
17905 (SimpleDocBookOnePar): code clean.
17907 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17909 * tabular.C: add some comments.
17911 2001-03-22 Juergen Vigna <jug@sad.it>
17913 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17914 compatibility read a bit and fixed bug with minipage in different
17917 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17919 * buffer.C (pop_tag): removed.
17920 (push_tag): removed.
17921 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17922 array replaced with vector. Added support for CDATA sections.
17923 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17925 (makeDocBookFile): XML conformant declaration of CDATA section,
17926 fixed bug related to <emphasis> in the first paragraph char.
17927 (sgmlOpenTag): exclude empty tags.
17928 (sgmlCloseTag): ditto.
17930 * buffer.h (pop_tag): removed.
17931 (push_tag): removed.
17933 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17935 * language.h (Languages): added size_type and size().
17937 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17939 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17940 response on compability reading of minipages. One probliem is that
17941 the old usage of minipages was flertydig
17943 * several files here and in subdirs: don't use static at file
17944 scope use anon namespaces instead.
17946 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17948 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17949 LaTeX output. This is necessary for Literate document
17952 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17954 * buffer.C: insert hfill when needed.
17956 * tabular.C (l_getline): use string::erase, small whitespace change.
17958 * BufferView_pimpl.C: try the anon namespace.
17959 * WorkArea.C: ditto
17961 2001-03-16 Juergen Vigna <jug@sad.it>
17963 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17964 otherwise it won't open options-dialogs.
17966 * buffer.C: honor pextraWidth(p) on converting minipages.
17968 * tabular.C (l_getline): changed the functions to strip trailing \r.
17970 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17972 * BufferView_pimpl.C:
17973 * minibuffer..C: added "using SigC::slot" declaration.
17975 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17977 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17983 * paragraph.C: ditto
17985 * lyxtext.h: NO_PEXTRA
17987 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17989 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17990 * ParameterStruct.h: ditto
17991 * ParagraphParameters.h: ditto
17992 * lyxparagraph.h: ditto
17994 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17996 * buffer.C: add compability for minipage alignment.
17997 (latexParagraphs): remove unwanted pextra check.
17999 * several files: remove CXX_WORKING_NAMESPACES
18001 * buffer.C (pop_tag): tie is in namespace boost
18003 * BufferView.h: noncopyable is in namespace boost
18005 * lyx_main.h: ditto
18008 * lastfiles.h: ditto
18009 * bufferlist.h: ditto
18010 * ShareContainer.h: ditto
18012 * LyXAction.h: ditto
18015 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18017 * Merging changes from BRANCH_MVC back into HEAD.
18019 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18021 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18023 * BufferView_pimpl.C: change from intl.C
18027 * Makefile.am: move combox.*
18033 * intl.C: remove dialog (covered by prefs)
18035 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18037 * lyxfunc.C (Dispatch): removed redundant break statement.
18039 2001-03-14 Juergen Vigna <jug@sad.it>
18041 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18043 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18045 * buffer.C: add hack to fix compability reading of minipages.
18047 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18049 * buffer.C (getLists): Cleanup.
18051 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18053 * lyxfont.C (update): don't honor toggleall on font size.
18055 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18059 * Makefile.am: moved to frontends/xforms/
18063 * BufferView_pimpl.C: changes for moved mathpanel
18065 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18067 * gettext.h: fix gettext_init() in --disable-nls
18069 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18071 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18073 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18076 * lyx.h: strip external form
18078 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18080 * BufferView_pimpl.C: add comment, destroySplash()
18082 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18084 * BufferView_pimpl.C:
18088 * lyxfunc.C: use re-worked insetinclude
18090 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18092 * buffer.C: add using std::stringstream.
18094 * lyx_cb.C: readd using std::ios.
18096 * buffer.C: add using std::map.
18098 * BufferView_pimpl.C: add using std::vector.
18100 * ShareContainer.h: add std:: to swap.
18102 * buffer.h: add some typedefs
18103 * buffer.C (getLists): use them
18104 (getLists): renamed from getTocList.
18105 add a counter for the different float types and use it in the
18107 (getLists): use the same counter for the NEW_INSETS and the "non"
18110 * lyx_cb.h: remove unused items, includes, using etc.
18112 * ShareContainer.h: remove some commented code, add more comments
18113 and "documentation".
18115 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18117 * buffer.C (getTocList): make the list also when NEW_INSETS is
18120 * buffer.h: remove TocType
18122 * buffer.C (getTocList): change to return a map<string,
18123 vector<TocItem> >, implement for dynamic number of list.
18125 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18126 * text2.C (PasteSelection): adjust
18127 * CutAndPaste.C (pasteSelection): adjust
18129 * FloatList.C (FloatList): update from the new_insets branch.
18130 * Floating.[Ch]: ditto
18131 * LaTeXFeatures.C: ditto
18133 * lyxlex_pimpl.C: ditto
18135 * paragraph.C (Last): remove when NEW_INSETS is defined.
18137 * other file: changes because of the above.
18139 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18141 * lyxparagraph.h: rename next to next_, previous to previous_,
18142 make them private for NEW_INSETS. Rename Next() to next(),
18143 Previous() to previous().
18145 * other files: changes because of the above.
18147 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18150 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18153 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18155 * main.C (main): pass lyx_localedir to gettext_init().
18157 * gettext.h: remove locale_init and gettext_init macros
18159 * gettext.C (locale_init): new function
18160 (gettext_init): new function
18162 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18165 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18167 * Moved credits to frontends:
18168 * credits.[Ch]: removed
18169 * credits_form.[Ch]: removed
18170 * lyx_gui_misc.C: remove credits stuff
18173 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18175 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18177 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18178 unneeded destructor.
18180 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18181 a standalone pointer again.
18183 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18185 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18191 * ToolbarDefaults.C:
18200 * BufferView_pimpl.C: use new file dialog in GUII
18203 * lyx_cb.C: remove LayoutsCB to Toolbar
18205 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18207 * ShareContainer.h (get): add std:: qualifier
18209 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18211 * ShareContainer.h: define a proper ShareContainer::value_type
18212 type (and use typename to please compaq cxx)
18214 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18216 * lyxparagraph.h: move serveral local vars to
18217 ParameterStruct/ParagraphParameters., use ShareContainer in
18218 FontTable., make vars in FontTable private and add getter and
18221 * paragraph.C: changes because of the above.
18223 * lyxfont.h: remove copy constructor and copy assignment. (the
18224 default ones is ok), move number inside FontBits. move inlines to
18227 * lyxfont.C: add number to initializaton of statics, move several
18228 inlines here. constify several local vars. some whitespace
18229 cleanup. Dont hide outerscope variables.
18231 * Spacing.h: add two new constructors to match the set methods.
18233 * ShareContainer.h: new file, will perhaps be moved to support
18235 * ParameterStruct.h: new file
18237 * ParagraphParameters.h: new file
18239 * ParagraphParameters.C: new file
18241 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18242 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18244 * BufferView_pimpl.C: ParagraphParameter changes.
18245 * buffer.C: Likewise.
18246 * bufferview_funcs.C: Likewise.
18247 * text.C: Likewise.
18248 * text2.C: Likewise.
18250 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18252 * lyxfind.C (LyXReplace): do not redefine default argument in
18254 (IsStringInText): ditto
18255 (SearchForward): ditto
18256 (SearchBackward): ditto
18258 2001-03-06 Juergen Vigna <jug@sad.it>
18260 * lyxfind.C (IsStringInText): put parentes around expressions.
18262 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18264 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18266 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18268 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18270 * stl_string_fwd.h: add comment
18272 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18275 * tabular.C: remove unused DocBook methods
18281 killed DO_USE_DEFAULT_LANGUAGE
18283 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18285 * lyx_gui.C: do not include language.h.
18287 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18288 arguments in function implementation.
18290 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18292 * BufferView_pimpl.C: add <ctime>
18294 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18296 * BufferView_pimpl.C: add using std::find_if
18298 2001-02-27 José Matos <jamatos@fep.up.pt>
18300 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18303 2001-02-11 José Matos <jamatos@fep.up.pt>
18305 * buffer.C (makeDocBookFile): command styles now have a parameter as
18306 "title" by default.
18308 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18310 * layout_forms.[Ch]: removed
18311 * lyx_cb.[Ch]: out character
18312 * lyx_gui.C: out character
18313 * lyx_gui_misc.C: out character
18314 * bufferview_funcs.C: : out character,
18315 added toggleall as parameter in ToggleAndShow
18317 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18319 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18321 * text2.C (SetCurrentFont): Disable number property at boundary.
18323 2001-02-26 Juergen Vigna <jug@sad.it>
18325 * lyxfunc.C (getStatus): added a string argument override function so
18326 that this is correctly called from LyXFunc::Dispatch if it contains a
18327 do_not_use_argument which is used!
18328 (Dispatch): added check for "custom" export and call appropriate func.
18330 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18332 * lyxrc.C: Add language_command_local, language_use_babel and
18333 language_global_options.
18335 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18337 * buffer.C (makeLaTeXFile): Use language_use_babel and
18338 language_global_options.
18340 2001-02-23 Juergen Vigna <jug@sad.it>
18342 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18343 which works with LyXText and putted it inside BufferView. Here now we
18344 only call for that part the BufferView::Dispatch() function.
18346 * BufferView.C (Dispatch): added.
18348 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18349 functions which needs to use a LyXText over from LyXFunc.
18350 (MenuInsertLyXFile): added
18351 (getInsetByCode): added
18352 (moveCursorUpdate): added
18353 (static TEXT): added
18355 2001-02-22 Juergen Vigna <jug@sad.it>
18357 * BufferView_pimpl.C (update): call a status update to see if LyXText
18360 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18362 * vc-backend.C (revert): implement for CVS
18363 (getLog): implement for CVS
18365 2001-02-20 Juergen Vigna <jug@sad.it>
18367 * text2.C (ClearSelection): added BufferView param for inset_owner call
18369 * lyxfunc.C (TEXT): added this function and use it instead of
18370 directly owner->view()-text of getLyXText().
18372 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18374 * src/layout_forms.C: out preamble
18375 * src/layout_forms.h: out preamble
18376 * src/lyx_cb.C: out preamble
18377 * src/lyx_cb.h: out preamble
18378 * src/lyx_gui.C: out preamble
18379 * src/lyx_gui_misc.C: out preamble
18380 * src/lyxfunc.C: connect with guii preamble
18382 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18384 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18386 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18388 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18389 whether to run bibtex.
18391 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18393 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18395 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18397 * Makefile.am (lyx_SOURCES): removed bibforms.h
18399 * vspace.h: doxygen
18401 * text.C (GetVisibleRow): make several local vars const
18403 * tabular.C: small cleanup.
18405 * lyxserver.C (callback): use compare instead of strncmp
18407 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18408 inlines to after class or to paragraph.C
18410 * lyxfont.h: remove friend operator!=
18412 * converter.h: move friend bool operator< to non friend and after
18415 * combox.h: small cleanup
18417 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18418 to inlines after class def.
18420 * buffer.C (pop_tag): use string operations instead of strcmp
18422 * bmtable.c: doxygen, small cleanup
18424 * LaTeX.h: remove friend operator==
18426 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18438 * BufferView_pimpl.C:
18439 * BufferView.[Ch]: remove cruft
18441 2001-02-14 Juergen Vigna <jug@sad.it>
18443 * lyxfunc.C: removed #if 0 unused code
18445 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18447 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18449 * text2.C (SetSelection): added a BufferView * parameter
18451 2001-02-13 Juergen Vigna <jug@sad.it>
18453 * lyxfunc.C (Dispatch): fixed protected blank problem.
18454 * BufferView2.C (protectedBlank): added LyxText * parameter.
18456 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18457 (AppendColumn): same as above for column_info.
18459 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18460 (moveCursorUpdate): use a LyXText param for support of InsetText.
18462 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18463 (tripleClick): ditto
18465 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18467 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18469 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18471 * text2.C (SetSelection): set correct update status if inset_owner
18472 (ToggleFree): ditto
18474 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18476 * tabular.C: remove some commented code.
18478 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18480 * BufferView_pimpl.C: call hideSplash()
18482 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18485 * bibforms.h: remove
18488 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18489 add LFUN_CHILD_CREATE
18491 * counters.h: fix tiny typo
18496 * lyx.C: move splash to frontends/xforms/
18498 * lyx_gui_misc.C: move Include and Bibform to frontends
18500 * lyxvc.h: clarify comment
18502 * vspace.C: tiny housekeeping
18504 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18506 * text.C (PrepareToPrint): RTL Fix.
18508 * paragraph.C (GetUChar): New method.
18509 (String): Use GetUChar.
18511 * buffer.C (asciiParagraph): Use GetUChar.
18513 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18515 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18517 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18520 * buffer.C: rename to getLogName(), handle
18521 build log / latex log nicely
18523 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18526 * MenuBackend.h: remove support for reference menuitem type.
18528 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18530 * BufferView_pimpl.C: housekeeping
18531 * BufferView_pimpl.h:
18536 * minibuffer.h: move Timeout GUI-I
18538 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18540 * lyxrc.C (read): Update converters data-structures.
18542 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18544 * LaTeX.h (operator!=): add operator != for Aux_Info
18546 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18548 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18550 * LaTeXLog.C: deleted, useful code moved to Buffer
18553 * buffer.C: new function getLatexLogName()
18559 * lyxfunc.C: use frontends for LaTeX and VC logs
18561 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18563 * LaTeX.h: yet another std:: that Allan forgot.
18565 * Variables.C (set): renamed from isset(), because this clashes
18566 with some HP-UX macros (grr).
18568 2001-02-06 Allan Rae <rae@lyx.org>
18570 * LaTeX.h: Another bug fix. Missing std:: this time.
18572 2001-02-04 Allan Rae <rae@lyx.org>
18574 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18575 floats problem. I've left it commented out because it's not quite
18576 correct. It should also test that the current object is a table or
18577 figure inset. But I haven't gotten around to figuring out how to do
18578 that. I *think* it'll be something like: "table" == inset.type()
18580 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18583 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18585 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18586 all the citation/databases/styles in the auxilary file.
18587 (run): Rerun latex if there was a babel language error.
18589 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18591 * text.C (Backspace): Preserve the font when changing newline char
18593 (BreakParagraph): If the cursor is before a space, delete the space.
18595 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18597 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18599 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18600 new argument (code).
18601 (ChangeCitationsIfUnique): New method.
18603 * paragraph.C (GetPositionOfInset): Handle bibkey.
18605 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18607 * BufferView_pimpl.h: change type of Position::par_pos to
18608 LyXParagraph::size_type.
18610 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18612 * BufferView_pimpl.C (savePosition, restorePosition): Write
18613 messages to minibuffer.
18615 2001-01-28 José Matos <jamatos@fep.up.pt>
18617 * buffer.C (makeDocBookFile): adds support for document language.
18618 A silly restriction on the name of LatexCommand types where removed.
18619 Added support for CDATA sections, allows to chars unescaped, used
18620 among others in code, to avoid escape < and >.
18622 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18624 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18625 saved positions instrad of a stack. Furthermore, a position is
18626 stored using paragraph id/paragraph position.
18628 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18629 Remove LFUN_REF_BACK.
18631 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18633 * converter.C (dvipdfm_options): New method.
18635 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18637 * vspace.C (isValidLength): Fix for empty input string.
18639 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18641 * LyXAction.C (init): change description of LFUN_FIGURE to
18644 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18646 * LaTeX.C: add using directive
18648 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18650 * MenuBackend.C (expand): Fix the sorting of the formats.
18652 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18654 * lyx_main.C: tiny error message fix
18656 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18658 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18659 calling fl_initialize(). This fixes the problem with ',' as
18660 decimal separator in text files.
18662 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18664 * trans.C (process): Fix the keymap bug.
18666 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18668 * LaTeX.C (scanAuxFiles): New method. Provides support for
18669 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18670 (scanLogFile) Scan for "run BibTeX" messages.
18672 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18673 OT1 font encoding. Also, load the aecompl package if the ae
18676 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18678 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18680 * texrow.C (increasePos): turn two error messages into debug
18683 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18685 * LaTeX.C (scanAux): Handle the \@input macro.
18686 (runBibTeX): Use scanAux().
18688 * language.C (latex_options_): New field.
18690 * LaTeXFeatures.C (getMacros): Add language macros.
18692 * buffer.C (makeLaTeXFile): Small fix.
18694 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18696 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18698 * text2.C: add a using directive.
18700 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18705 * lyxfunc.C: kill LyXBell.
18707 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18709 * text.C (IsBoundary): Remove the error message
18711 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18713 * lyxrc.C (setDefaults): Correct initialization value for
18716 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18718 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18721 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18722 and GotoNextNote().
18724 * src/LyXAction.C: Added reference-next.
18726 * text.C (InsertChar): Use contains instead of strchr.
18728 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18730 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18732 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18733 alignment commands (when needed).
18735 * text.C (InsertChar): Add ':' to number separator chars.