1 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * buffer.C: change tracking (dvipost) doesn't require
6 * LaTeXFeatures.C (getPackages): no need for the color
7 option "usenames" (bug 2169).
9 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
10 * buffer_funcs.C: Trivial fix - added {} around
11 the statements to be affected by a if-test. Now
12 label in a minipage in a float looks ok on screen again.
14 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
16 * text2.C: fix bug 2015: on screen fonts in nested environments
19 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
21 * converter.C (convert): handle unknown formats
23 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
25 * cursor.C (goUpDown): comment out some debug messages.
27 * counters.C (newCounter): make error messages more explicit
28 (these appear with some textclasses like beamer)
30 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
33 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
34 have origin set to KEYBOARD. (bug 2221)
36 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
38 * rowpainter.C (isCursorOnRow): do not exclude endpos().
40 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
42 * cursor.C (macroModeClose): returns true if an inset actually got
43 inserted; revert faulty fix to bug 2034.
45 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
47 * tabular.C (getLabelList): remove (not used anymore).
49 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
51 * outputparams.[Ch]: add new flag inComment
53 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
55 * text2.C (deleteEmptyParagraphMechanism): since we delete a
56 paragraph, recordUndo should span two paragraphs (bug 2155).
58 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
60 * rowpainter.C (paintPar): always repaint the row with the
63 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
69 * vspace.h: fix syntax error
71 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
73 * text3.C (dispatch): Force refresh if typing into inset changes its
76 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
81 * rowpainter.C: Speed up rendering by only re-painting rows that
82 have changed. When selection or whole-screen update active, all rows
83 are repainted, as are all rows within insets.
85 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
87 * version.C.in: Use PACKAGE_VERSION instead of VERSION
89 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
91 * tabular.C (toggleFixedWidth): Use default layout of text class
92 instead of hardcoded "Standard"
94 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
96 * lyxfunc.C (dispatch): do not call getStatus again to determine
97 whether a lfun is disabled (bug 2172).
99 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
101 * cursor.C (macroModeClose): set the cursor inside the new math
102 atom if relevant (think \frac{}{}) (bug 2034)
104 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
108 * text3.C (Delete, backspace): force update when merging paragraphs
110 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
112 * BufferView.C (mouseSetCursor): clear the selection properly (bug
115 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
117 * text.C (redoParagraph): honor inset->noFontChange()
118 * rowpainter.C (paintInset): ditto
120 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
122 * lyx_main.C (priv_exec): don't initialize Math on startup
123 (initMath() has been moved to math_hullinset).
125 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
127 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
128 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
129 * paper.h: dispose dead PAPER_PACKAGES enum.
131 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
133 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
136 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
138 * exporter.C (Export): Don't try to copy a file if it does not exist
141 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
143 * text2.C (makeFontEntriesLayoutSpecific): remove.
146 * text.C (insertChar): remove bogus caching of fonts (did not do
149 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
150 ALL_SANE). (bug 2146)
152 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
154 * rowpainter.C (paintFirst): fix centering of
155 LABEL_CENTERED_TOP_ENVIRONMENT.
157 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * BufferView.C (mouseSetCursor): new method. Calls
160 deleteEmptyParagraphMechanism if necessary.
162 * lyxtext.h: make deleteEmptyParagraphMechanism public.
164 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
165 BufferView::mouseSetCursor (bug 2109).
166 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
168 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
170 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
171 do not remove it (this inset behaves differently from the others).
173 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
177 * BufferView_pimpl.C (getStatus): it is only possible to insert a
178 file in a text inset.
180 * buffer.C (readDocument): remove pit argument and code releated
181 to it; set the inset owner correctly (unrelated, but useful).
182 (readFile): get rid of pit argument.
184 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
185 textclass instead of a selection index.
186 (pasteParagraphList): new function.
187 (pasteSelection): make it a wrapper around pasteParagraphList.
189 * BufferView_pimpl.C (MenuInsertLyXFile): use
190 cap::pasteParagraphList to insert a file.
192 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
194 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
196 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
198 * exporter.C: fix typo in text message
200 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
202 * text2.C (setLayout): move recUndo call to other setLayout method
203 * tabular.C (toggleFixedWidth): new, handle cell width changes
204 * tabular.C (setColumnPWidth): move some code from insettabular.C here
205 and use toggleFixedWidth
206 * tabular.C (setMColumnPWidth): ditto
208 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
210 * paragraph.C (asString): use new inset->textString method (fix
213 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
215 * CutAndPaste.C (numberOfSelections): new helper function.
217 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
219 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
220 LyXFunc::getStatus; implement LFUN_PASTE.
222 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
224 * dociterator.[Ch]: new member realInset() that returns the cell
225 for tabulars and the inset for the rest (bug 1952).
226 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
229 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
231 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
233 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
237 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
240 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
242 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
243 line after typing ctrl-enter
245 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
247 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
248 math insets do not return a proper editable() state yet (bug 2124).
250 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
252 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
253 docs containing very large paragraphs.
255 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
257 * cursor.C (selectionBegin, selectionEnd):
258 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
259 cursor at different depths.
261 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
263 * bufferview_funcs.C (coordOffset): do not call cursorPos
264 for collapsed collapsables (fix bug 2094).
266 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
268 * paragraph.C (fontSpan): make sure that the FontSpan does not
269 span across beginOfBody (bug 1947).
271 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
273 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
275 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
277 * messages.C: fix crash and localization on MinGW/Windows platform
279 2005-11-02 Angus Leeming <leeming@lyx.org>
282 * lyxtextclass.C: trivial fixes to some MSVS warnings.
284 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
286 * text3.C (getStatus): re-enable disabled code. (bug 2081)
288 * BranchList.h (empty): constify.
290 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
292 * text3.C (getStatus):
293 * MenuBackend.C (expandBranches): take the branch list from the
294 master document (bug 2092).
296 * MenuBackend.C (expandBranches):
297 * bufferparams.C (writeFile): use BranchList type.
299 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
301 * text3.C (dispatch, getStatus):
302 * LyXAction.C (init):
303 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
305 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
307 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
309 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
311 * text.C (insertChar): do not reset boundary (bug 2061)
313 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
315 * dociterator.C (updateInsets): new method. Updates the inset_
316 cache of all the slices of the iterator.
318 * text2.C (deleteEmptyParagraphMechanism): compare also containing
319 insets when comparing pit/pos; pass the right cursor to
320 recordUndo; when a paragraph has been deleted, compare `old.top()' to
321 the right cursor slice of `cur'; use updateInsets on cur to make
322 sure that the inset caches are correct; general cleanup.
324 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
326 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
327 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
328 containg inset. If this does not work, the same command will be
329 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
331 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
334 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
336 * lyxtextclass.C (Read): convert layout file if the format is wrong
337 * lyxtextclass.C (layout2layout): new, needed for the above
339 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
341 * messages.C: do not forget to include <cerrno>.
343 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
345 * dociterator.h (StableDocIterator): add access to pos().
346 * undo.C (samePar): new method to check if two
347 iterators are in the same paragraph
348 * undo.C (recordUndo): check for samePar instead of cell identity
349 (which includes pos() and is too strict) (fixes bug 2097)
351 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
353 * text.C (setCursorFromCoordinates): return a bool telling whether
356 * text3.C (cursorPrevious): update if needed after
357 setCursorFromCoordinates (when dEPM triggered).
359 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
360 (otherwise the anchor may be completely wrong and make dEPM assert).
362 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
364 * buffer.C: version upgrade to 245.
365 * bufferparams.C: remove \quotes_times (bug 2090).
366 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
367 quotation marks as default.
369 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
371 * CutAndPaste.C (nrOfParagraphs): remove (unused)
372 * CutAndPaste.C (cutSelection): Remove debug message
373 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
374 undo information and only copy if this is a real cut
375 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
377 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
379 * CutAndPaste.C (eraseSelection): prevent cursor corruption
380 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
381 superflous cur.selection() setting
382 * CutAndPaste.[Ch] (grabSelection): take a const cursor
383 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
385 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
387 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
390 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
392 * BufferView_pimpl.C: comment layout change
394 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
398 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
399 by bibliography managers (bug 2071).
401 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
403 * BufferView_pimpl.C (update): choose arguments to update call so
404 that single-par update works most times
405 * text3.C (dispatch): carefully tune updating separately for
406 whole-screen and current-paragraph
407 * rowpainter.C (paintText): 1) replace painting by caching for
408 the two extra paragraphs, because we can;
409 2) suppress greying out of areas below/above drawn area in case of
411 * lyxfunc.C (dispatch): remove superfluous update
412 * LyXAction.[Ch]: introduce SingleParUpdate
414 2005-10-05 Angus Leeming <leeming@lyx.org>
416 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
417 always initialised before use.
419 * text.C (setHeightOfRow): squash warning about comparison
420 of signed and unsigned types.
422 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
424 * text.C (cursorX): two fixes involving RtL text drawing
426 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
428 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
429 items, not only large ones (part of bug 2057)
431 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
433 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
434 argument, use "newcommand".
436 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
438 * cursor.C (setSelection): do not open collapsable insets;
439 the insets do by themselves now (autoopen).
441 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
443 * buffer.C: format is up to 244.
445 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
447 * text.C (redoParagraph): fix calcultation of inset width wrt
448 leftMargin (bug 1957).
450 * text3.C (dispatch): leave inset to the right when hitting ESC
453 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
458 * messages.C: include <boost/current_function.hpp>
460 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
462 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
463 when command is internal. (bug 1941)
465 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
467 * text2.C (cursorRight): do not honor boundary when at the end of
468 a paragraph. (bug 2010 again)
470 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
472 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
474 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
476 * rowpainter.C (paintText): fix RtL space width display bug (2029)
478 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * text2.C (setCursor): remove the unused 'boundary' parameter for
481 the CursorSlice version; adapt the LCursor version.
484 * paragraph_pimpl.C (markErased):
485 * cursor.C (bruteFind2, bruteFond3): fix warnings.
487 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
489 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
490 as is already done for "chapter".
492 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
494 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
495 textclass; do not record undo if nothing is changed.
497 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
499 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
501 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
503 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
505 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
507 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
508 combox, it is necessary to search for the topmost paragraph in the
509 cursor stack (bug 1926)
511 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
513 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
514 end of paragraph. (bug 2010)
516 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
518 * text.C (leftMargin): check for inInset == 0
520 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
522 * text.C (leftMargin): test for insetbase's new neverIndent()
523 bool instead of listing each and every inset that does not
524 wish par indendation.
526 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
528 * buffer_funcs.C (setCounter): put the code to compute enum label
529 here (where it belongs).
531 * counters.C (enumLabel): move code to buffer_funcs.C.
533 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
535 * outputparams.[Ch]: store local_font instead of local_language
536 * paragraph.C (simpleTeXOnePar): adapt to the change above
538 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
541 * counters.[Ch]: clean up special code for Hebrew.
543 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
545 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
548 2005-09-08 Angus Leeming <leeming@lyx.org>
551 * lyxrc.C: correct grammar describing invocation of the
554 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
556 * text.C (read): remove unused variable.
557 (readParToken): remove static Change variable (never good in
558 recursive settings...); add it as a parameter instead.
560 * paragraph_pimpl.C (acceptChange): make debug info conditional.
562 * metricsinfo.C (PainterInfo): add new member erased_.
564 * rowpainter.C (RowPainter): add erased_ member, initialized from
566 (paintInset): pass erased_ to Inset::draw.
568 * lyxfunc.C (lookupChange): new function. Tells whether change
569 tracking is disabled at a given postion.
570 (getStatus): disable some actions when in deleted text with change
573 2005-08-03 John Levon <levon@movementarian.org>
575 * tabular.C (appendColumn, setMultiColumn): adapt to change to
578 * paragraph_pimpl.C (markErased): add bool argument and handle it.
579 Also make sure to mark insets recursively.
580 (rejectChange, erase): be recursive
582 * paragraph.C (markErased): add bool argument.
583 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
585 * lyxfind.C (findNextChange): tiny cleanup.
587 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
588 change tracking with the cursor in an inset; make sure the first
589 change is not skipped.
591 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
593 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
594 tabularStackDirty to work around bug 1919 (tabular needs
595 to know whether its own cell paste buffer or the one of
597 * CutAndPaste.C: mark tabular_stack_ clean after copy.
599 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
601 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
603 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
605 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
606 use old deleteion algorithm when changetracking is on.
608 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
610 * messages.C (get): add debug output.
612 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
614 * text.C (cursorX): fix bug 1965: cursor movement at
615 line end broken in RtL.
616 (drawSelection): fix bug 1970: drawing of single-line
617 selection broken for RtL.
619 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
623 * dociterator.h (clear, push_back, pop_back): change from
626 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
627 and changed to just return the value of the item depth; take a
628 ParIterator as argument; take the itemdepth at outer nesting level
629 in account if necessary; cleanup and comment the code.
630 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
631 and changed to just return true if reset is needed; take a
632 ParIterator as argument; cleanup and comment the code.
633 (setCounter): adapt to above changes.
635 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
637 * text3.C (dispatch): make debug message optional
639 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
644 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
646 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
648 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
650 * text.C (insertChar):
651 * text2.C (deleteEmptyParagraphMechanism): take care whether
652 a blank has been deleted (in change tracking mode) (bug 1254).
654 2005-07-20 John Levon <levon@movementarian.org>
656 * text2.C (insertStringAsLines): remove old dubious code,
659 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
661 * MenuBackend.C (expandToc): use Floating::listName() as title of
664 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
666 * toc.[Ch]: Do not use translatable strings (bug 1870).
668 2005-07-20 John Levon <levon@movementarian.org>
670 * tabular.C: fix 1748 - setting multicolumn adds
671 left line to the first cell
673 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
676 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
679 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
681 * messages.C: supress some lyxerr messages
683 2005-07-18 Juergen Vigna <jug@lyx.org>
685 * text.C (drawSelection): honor boundary when asking for cursorX.
687 2005-07-17 José Matos <jamatos@fc.up.pt>
689 * tabular.C (recalculateMulticolumns): fix handling of one column
692 2005-07-17 Juergen Vigna <jug@lyx.org>
694 * text.C (Delete, backspace): fixed so that paragraph with the
695 same layout can be merged by Delete/Backspace.
697 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
699 * text.C (readParToken): fix spelling.
701 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
703 * text2.C: fix counter update for DEPM problem reported by
706 2005-07-17 Juergen Vigna <jug@lyx.org>
708 * BufferView_pimpl.C (setBuffer): save/restore the
709 cursor/selection when switching buffers
712 * buffer.C (saveCursor): add saveDocumentIterators to save the
713 cursor when switching buffer.
715 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
718 * buffer.C: clarify message
720 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
722 * dociterator.C (DocIterator): fix initialization order
724 2005-07-17 Juergen Vigna <jug@lyx.org>
726 * text2.C (cursorHome):
727 * text.C (drawSelection, cursorX):
728 * dociterator.C (textRow): add boundary to getRow() call
730 * paragraph.C (getRow): implementation of below
732 * paragraph.h: add parameter boundary for getRow() function
734 2005-07-17 José Matos <jamatos@fc.up.pt>
738 * tex-strings.[Ch]: new file format, remove support for a4.sty,
739 a4wide.sty and a4widemargins.
741 2005-07-17 Juergen Vigna <jug@lyx.org>
743 * text2.C (cursorLeft): fix one of error
745 2005-07-17 Juergen Vigna <jug@lyx.org>
747 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
749 more fixes for boundary handling
751 * text3.C (dispatch): don't reset cursor if boundary has changed
754 2005-07-16 Juergen Vigna <jug@lyx.org>
756 * text2.C (getColumnNearX): hopefully got it right now,
757 check if we are on column 0 for special case.
759 2005-07-16 Juergen Vigna <jug@lyx.org>
761 * text2.C (getColumnNearX): handle special case Newline Inset
763 * text.C (singleWidth): Just remove bogus check
765 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
767 * funcrequest.C (split): avoid reading uninitialized char c
769 2005-07-16 José Matos <jamatos@fc.up.pt>
775 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
776 single papersize variable.
778 2005-07-16 Juergen Vigna <jug@lyx.org>
780 * text3.C (dispatch): honor boundary when checking if a cursor
781 movement has been done
783 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
784 (setCursor, setCursorIntern): fix cursor movement with boundary
786 2005-07-16 Juergen Vigna <jug@lyx.org>
788 * text.C (currentState): output the actual Boundary
790 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
792 * factory.C (createInset): fix bad logic for tabular creation
794 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
796 * lyx_main.C (init): change some reLyX reference to tex2lyx
798 2005-07-16 Juergen Vigna <jug@lyx.org>
800 * dociterator.C (DocIterator): initialize boundary
802 2005-07-16 Juergen Vigna <jug@lyx.org>
804 * text2.C (getColumnNearX): Consider rows without trailing blank.
806 2005-07-16 André Pönitz <poenitz@gmx.net>
808 * lyxfont.h: Change order of declarations to give the compiler
809 a better chance to inline things
811 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
812 questions on unsaved docs for better scritability
814 2005-07-16 André Pönitz <poenitz@gmx.net>
816 * paragraph.h (getChar): remove asserts as the same kind of security
817 can be achieved by using a suitable standard library implementation
818 and the function was in the critical path (25.9% in profiler)
820 2005-07-16 Juergen Vigna <jug@lyx.org>
822 * cursor.C (bruteFind2):
823 * bufferview_funcs.C (coordOffset):
824 * text.C (cursorX,cursorY): Handle cursor position after last char
825 in row before a inset which uses a whole row.
827 2005-07-15 José Matos <jamatos@lyx.org>
829 * output_plaintext.[Ch] (writeFileAscii): control reference title
831 (asciiParagraph): noparbreak was already deal and was incorrectly
834 2005-07-15 Juergen Vigna <jug@lyx.org>
836 * lyxfunc.C (dispatch): save and restore the cursor after a
839 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
841 * text.C (backspace): bug 806 for empty keepempty paragraphs we
842 change the layout to default before letting DEPM do its thing.
844 * paragraph_funcs.C (breakParagraph): dont reset the layout on
847 * text.C (setCursorFromCoordinates): add a debug statement
849 * text2.C (getColumnNearX): bug 1825 make sure that we don't
850 return a pos that is not on the row
852 * output_latex.C (TeXDeeper): get rid of potential dereferencing
853 of past the end iterator
855 2005-07-14 André Pönitz <poenitz@gmx.net>
857 * undo.C (recordUndoFullBuffer): implement undo for
860 2005-07-14 André Pönitz <poenitz@gmx.net>
862 * cursor.C (setSelection): open insets when selection is set there
863 to avoid crashs with cold coord cache
865 2005-07-14 André Pönitz <poenitz@gmx.net>
867 * trans_mgr.C (insert): move cursor to the right after inserting
870 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
872 * BufferView_pimpl.C (update): dampen some of the debug blabbering
873 * factory.C (readInset): ditto
874 * text.C, text2.C: ditto
876 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
878 * buffer.C: format incremented to 242. There is no file format per
879 se, but the "frenchb" language has been removed from lib/language
880 and has to be translated to "french" by lyx2lyx.
882 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
884 * cursor_slice.h, dociterator.h: add some documentation
885 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
887 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
889 * text.C (leftMargin): do not add identation to display() style
890 insets, because they are always centered (bug 1293).
892 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
894 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
895 formatted_time methods in support/lyxtime.
897 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
899 * toc.[Ch]: new method getGuiName, which is used by the frontends
900 to set the toc combo (fixes bug 1870). Make TOC string translatable.
902 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
904 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
905 StableDocIterator const &)
906 * undo.C (recordUndo): use the above instead of cell.size() comparison
907 (fixes bug 1808; instructed by Andr�.
909 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
912 * dociterator.h: Fix the assert when copying rows/cols in math
914 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
916 * BufferView_pimpl.C:
918 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
920 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
921 (findInset): new functions, refactored from goto Inset that return
922 the position of a certain inset without setting the buffer's cursor
924 (gotoInset): rewrite to call findInset and then set the cursor
927 2005-06-16 Angus Leeming <leeming@lyx.org>
929 * lyxrc.C (output, read): wrap all input and output of paths with
930 calls to os::internal_path and os::external_path, respectively.
931 (output): wrap bind_file inside quotes.
933 * format.C (view): enable the viewer to use the '$$s' placeholder.
935 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
937 * LColor.[Ch] (getFromLaTeXName): new
939 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
941 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
943 2005-06-14 Angus Leeming <leeming@lyx.org>
945 * lyx_main.C (init): ensure that the LyX binary dir is the first
946 element in the PATH on non-POSIX builds.
948 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
950 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
952 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
954 * rowpainter.C (paintInset, paintHebrewComposeChar)
955 (paintArabicComposeChar, paintChars): add a LyXFont argument.
956 (paintChars): use getFontSpan to reduce calls to getFont to a
957 minimum; use Paragraph::lookupChange instead of isXXXText.
958 (paintForeignMark): rename LyXFont argument.
959 (paintFromPos): pass a LyXFont object to the various paintXXX
962 * FontIterator.C (FontIterator, operator++): use
963 Paragraph::getFontSpan
965 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
966 version that returns the font span as a pair.
968 2005-06-09 Angus Leeming <leeming@lyx.org>
970 * converter.C (convert): Don't forget "outfile = real_outfile" as
971 the final step in a conversion where the input and output file names
972 are the same. Otherwise, future conversion steps won't work...
974 2005-06-09 Angus Leeming <leeming@lyx.org>
976 * lyxsocket.C: remove stub code as it isn't needed by
977 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
979 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
981 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
982 effectively disabled -x
984 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
986 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
987 when it actually makes sense.
989 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
991 * BufferView_pimpl.C: revert to showCursor in connection with
992 Lars's front-end stack
994 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
996 * text.C (redoParagraph): move cursor right after a bibitem
999 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1001 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1003 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1006 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1008 * BufferView.[Ch] (update):
1009 * BufferView_pimpl.[Ch] (update, metrics):
1010 * dimension.h (operator==):
1011 * lyxfunc.C (dispatch):
1012 * metricsinfo.h (ViewMetricsInfo):
1013 * rowpainter.C (paintText):
1015 * text.C (redoParagraph):
1016 * text3.C (dispatch): Make LyX only repaint current paragraph in
1017 case of character insert --> speedup. Also fix cursor draw
1020 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1022 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1023 avoid a crash (bug 1891)
1025 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1029 * text2.C (getStringToIndex): constify cur argument.
1031 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1032 argument has been given
1033 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1034 try to invoke LFUN_INSET_APPLY).
1036 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1037 if no inset was created by doInsertInset
1038 (doInsertInset): return true if an inset has been inserted.
1040 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1042 * vspace.C (asGUIName): new method. A version of the space
1043 suitable for showing on screen.
1045 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1048 * lyxrc.C: rename "ASCII" to "Plain Text"
1050 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1052 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1053 translate the labelstring.
1054 (setCounter): translate labelstring as needed.
1056 * output_docbook.C (makeCommand): fix expandLabel invokation
1058 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1060 * BufferView.C: fix dialog title
1062 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1064 * lyx_main.C (priv_exec): fix logic error with help from Angus
1065 * lyx_main.C (parse_execute): set is_gui = false and remove now
1066 obsolete comment about a segfault
1068 2005-05-18 Angus Leeming <leeming@lyx.org>
1070 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1072 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1074 * tabular.[hC]: added setCellInset to fix tabular paste.
1076 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1078 * buffer.C (save): check if destination is writable before trying
1081 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1083 * BufferView_pimpl.C (update): fix processEvents -caused update
1086 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1088 * buffer_funcs.C (setCounter): fix test for numbering of
1091 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1092 depth correctly; use optional argument when it exists
1094 * lyxtextclass.C: remove unused MaxCounterTags enum
1095 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1096 (max_toclevel, min_toclevel): new methods.
1098 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1099 the smallest depth in toc.
1101 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1102 layouts that should not appear in a table of contents.
1104 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1106 * cursor.h (undispatched, noUpdate): add comments from Andr�
1107 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1111 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1113 2005-05-07 André Pönitz <poenitz@gmx.net>
1115 * cursor.[Ch] (leaveInset): new function
1117 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1119 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1121 2005-05-04 Angus Leeming <leeming@lyx.org>
1123 * lyxfunc.C (getStatus): disable the spell checker dialog if
1124 none of USE_[AIP]SPELL are defined.
1126 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1128 * tabular.C (setWidthOfCell): remove obsolete comment
1130 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1132 * paragraph.C (bibitem):
1133 * buffer_funcs.C (setCounter):
1134 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1136 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1138 * text3.C (getStatus): immediately return after setOnOff
1140 * rowpainter.C: fix drawing of appendix start
1142 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1144 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1145 SwitchBetweenClasses and remove the unused return value.
1146 Handle character styles, too
1148 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1150 * factory.C (createInset): handle undefined character styles
1152 2005-05-02 Angus Leeming <leeming@lyx.org>
1154 * buffer.C: protect the #include of utime.h with a preprocessor
1157 2005-05-02 Angus Leeming <leeming@lyx.org>
1159 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1160 function so that auto-saving works, albeit in a blocking manner.
1162 * Makefile.am: make compilation of the client sub directory, of
1163 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1164 on conditionals set at configure time.
1166 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1167 it can be compiled in its own right but has no-op functionality.
1169 * aspell.C, pspell.C: remove preprocessor guards. The files should
1170 be compiled only if the necessary functionality exists.
1172 * lyxserver.C, lyxsocket.C: disable on Windows.
1174 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1176 * text.C (leftMargin): Fix the parindent use bug (1764)
1179 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1181 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1184 2005-04-25 Angus Leeming <leeming@lyx.org>
1192 include <config.h> in .C files, not .h ones.
1194 protect headers inside preprocessor guards.
1196 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1198 * FuncStatus.h (StatusCodes): document
1200 2005-04-21 André Pönitz <poenitz@gmx.net>
1202 * FuncStatus.h (enabled, onoff): document
1204 2005-04-19 Angus Leeming <leeming@lyx.org>
1206 * BufferView_pimpl.C (cursorToggle): no longer test whether
1207 any child processes have been reaped before calling
1208 handleCompletedProcesses().
1210 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1212 * text3.C (dispatch): fix, finally fix, the language problem in
1213 new lyxtexts, without disabling on-the-fly font changes (Helge's
1216 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1218 * text3.C (dispatch): set cursor on double/triple click events
1221 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1223 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1224 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1226 * rowpainter.C (paintFirst): simplify the code a little bit. In
1227 particular, remove the test for secnumdepth.
1228 * text.C (setHeightOfRow): only allocate space for chapter number
1229 when updateCounters provided an actual label, instead of looking
1230 at secnumdepth directly.
1232 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1234 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1235 paragraphs when secnumdepth is large enough or, for environments,
1236 when they are not the first in a sequence.
1238 2005-04-17 Angus Leeming <leeming@lyx.org>
1240 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1241 containing space and '~' characters with a call to latex_path().
1243 2005-04-17 Angus Leeming <leeming@lyx.org>
1245 * converter.C (convert): protect all args of convertDefault.sh
1248 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1250 * text3.C (dispatch): change the layout to "Caption" after inserting
1253 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1255 * text3.C (dispatch): fix language problem in newly created
1256 textinsets (and main text) in non-english docs
1258 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1260 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1261 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1262 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1264 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1268 * text2.C (getFont):
1269 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1272 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1274 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1275 output of \item arguments without trailing text.
1277 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1279 * FontIterator.C (operator*): avoid a copy of the font.
1281 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1283 * rowpainter.C (getFont): fix language bug from previous fix
1285 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1287 * rowpainter.C (RowPainter, getFont): fix font inside inset
1290 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1292 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1293 preventing inserted font, deco, delim insets jumping to start of
1296 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1298 * lyxfunc.C (dispatch): translate message before sending it to the
1301 2005-03-29 Angus Leeming <leeming@lyx.org>
1303 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1304 to LyX on the command line.
1306 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1308 * vc-backend.C: use QuoteName to protect file names wherever
1311 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1314 * BranchList.h: fix bugs 1844,1845: document settings don't
1317 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1319 * lyxrc.C (setDefaults, read, output, getDescription): add support
1320 for tex_allows_spaces.
1322 * exporter.C (Export): allows files in directory containing spaces
1323 if tex_allows_spaces is true.
1325 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1326 output it in double quotes.
1328 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1330 * rowpainter.C: use default text height for drawing change tracker
1333 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1335 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1337 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1339 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1340 directory is missing.
1342 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1344 * text2.C: fixed the fix, extended to other case.
1346 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1348 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1350 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1352 * text2.C (cursorUp): get rid of a crash
1353 * text.C (x2pos): add an assert
1355 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1357 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1361 * dociterator.C: include <boost/current_function.hpp>, which is
1362 needed when assertions are disabled.
1364 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1366 * text2.C: fix for stuck cursor when traversing two
1367 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1369 2005-02-25 Andreas Vox <avox@arcor.de>
1371 * output_docbook.C (makeParagraph): suppress trailing newline
1372 after a run of paragraphs
1374 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1376 * paragraph.C: fix for confused change tracker when pasting
1377 text that begins with a lineseparator. [bug 1827]
1378 (setChange(0, Change::INSERTED);)
1380 * paragraph_funcs.C: fix for lost changes on triple-paste
1381 in change tracking mode [bug 1827] (par.setChange()).
1383 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1385 * text2.C (updateCounters, setCounter, expandLabel): move to
1388 * buffer_funcs.C (updateCounters): turn into a free standing
1389 function and add a buffer parameter. Remove dead code for tracking
1391 (setCounter): change into a free-standing function which gets a
1392 dociterator as argument. Use this iterator to fix captions in a
1393 simple way. When no float is found above the caption, use the
1394 labelstring of the caption layout as default.
1396 * text.C (breakParagraph, backspace):
1397 * text2.C (init, setLayout, changeDepth):
1398 * text3.C (dispatch):
1399 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1402 * dociterator.C (forwardPar): make it much faster by calling
1403 forwardPos() only when really necessary.
1405 * output_docbook.C (makeCommand): adapt to expandLabel move.
1407 * cursor.C: remove unused variable
1409 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1411 * paragraph_funcs.C: fix crash when pasting insets in change
1412 tracking mode [bug 1277] (honour change type in moveItem).
1414 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1416 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1418 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1420 * BufferView.C (setCursor): change to use a DocIterator.
1421 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1422 (putSelectionAt): adapt to BufferView::setCursor change.
1424 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1425 moved here from LyXText and rewritten to use proper cursor
1426 methods. Fixes bug 1787, 616 and 835.
1428 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1429 when inside an inset (part of bug 781).
1430 (dispatch): adapt to change of BufferView::setCursor.
1431 (getStatus, dispatch): handle LFUN_GOTOERROR,
1432 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1434 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1435 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1436 * text3.C (gotoNextInset, gotoInset): removed.
1438 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1440 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1442 2005-02-15 Angus Leeming <leeming@lyx.org>
1444 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1445 can be used meaningfully in a comparison.
1447 2005-02-13 André Pönitz <poenitz@gmx.net>
1449 * bufferview_funcs.C (coordOffset): improve cursor drawing
1451 2005-02-13 André Pönitz <poenitz@gmx.net>
1453 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1454 * Cursor.C (dispatch): use fixIfBroken
1455 * lyxfunc.C (getStatus): use fixIfBroken
1457 2005-02-15 Angus Leeming <leeming@lyx.org>
1459 * lyx_main.C (error_handler):
1461 * lyxrc.C (setDefaults):
1463 #include "environment.h".
1465 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1467 2005-02-15 Angus Leeming <leeming@lyx.org>
1469 * lyxserver.C (startPipe): squash MSVC warning "local variable
1470 'fd' used without having been initialized".
1472 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1474 * BufferView_pimpl.C: revert accidental commit.
1476 2005-02-14 André Pönitz <poenitz@gmx.net>
1478 * dociterator.[Ch]: new member forwardPosNoDescent(),
1479 which doesn't enter nested insets.
1480 * text2.C (setFont): use forwardPosNoDescent() instead
1481 of ForwardPos() (fixes crash on font change).
1483 2005-02-13 Angus Leeming <leeming@lyx.org>
1485 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1486 only if lyxrc.path_prefix is not empty.
1488 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1490 * bufferparams.C (readGraphicsDriver): prevent crash
1492 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1494 * text2.C (setCounter): check for inInset() == 0
1496 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1498 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1499 but use update() to get correct screen display; use convert
1500 instead of istringstream.
1501 (getStatus): handle LFUN_GOTO_PARAGRAPH
1503 * lyxfunc.C (dispatch, getStatus): do not handle
1504 LFUN_GOTO_PARAGRAPH here.
1506 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1508 * text3.C (dispatch): size() -> depth()
1510 * text2.C: remove some debug output
1512 * paragraph.C: ws changes only
1514 * lyxfunc.C (getStatus): size() -> depth()
1516 * dociterator.h (clear, push_back, pop_back, internalData,
1517 operator[], resize, empty): new functions
1518 Make StableDocIterator and operator== be friends. Don't inherit
1519 from std::vector use a privat class variable slices_ instead.
1522 * dociterator.C: update because of not inheriting from std::vector
1523 anymore. Call explictly to slices_ instead. Use depth() instead of
1524 size() and top() instead of back()
1526 * cursor.C: chagne size() -> depth and back() -> top(). Also
1527 remove some direct operator[](i) calls in favour of foo[i]
1528 (getFont): remove some dead code
1530 * bufferview_funcs.C (coordOffset): size() -> depth()
1532 * buffer.C: ws changes only
1534 * CutAndPaste.C (eraseSelection): back() -> top()
1536 * BufferView_pimpl.C (selectionRequested): back() -> top()
1538 * BufferView.C (setCursor): size() -> depth()
1540 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1542 * text3.C (cursorPrevious): return true if depm changed something
1544 (dispatch): rename sl to oldTopSlice, remove moving use the new
1545 NoUpdate func attrib instead. Make sure that needsUpdate is set
1546 for function that have NoUpdate, but where depm might have changed
1549 * text2.C (cursorLeft): make us return true if depm changed
1551 (cursorRight): ditto
1552 (cursorUpParagraph): ditto
1553 (curosrDownParagraph): ditto
1554 (cursorUp, cursorDown): ditto, make sure to read comments in code
1555 (deleteEmptyParagraphMechanism): remove an assert, also return
1556 true if just a single char was deleted.
1558 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1559 cursor that we modify, to avoid modifying an active cursor before
1560 we call setCursor. This allows depm to run. Also return true if
1561 depm deleted something.
1563 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1564 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1565 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1566 something was changed in the buffer because of them (ie. depm run)
1568 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1569 debug messages. Make update by default be false. Make sure that
1570 the result of update is retained throught several calls down to
1573 * LyXAction.h: add a new func_attrib: NoUpdate
1575 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1576 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1577 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1579 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1581 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1583 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1584 bv_->owner(), bv_->buffer() by direct references to the private
1586 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1587 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1588 (fitCursor): center() is in BufferView::Pimpl.
1589 (getStatus, trackChanges, dispatch): no need for a temporary buf
1591 (fitCursor, workAreaDispatch): use workarea().workheight()
1593 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1595 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1597 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1599 * buffer.C: format up to 241.
1600 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1601 break if pasting into ERT
1602 * lyxfunc.C (getStatus): suppress mathpanel and
1603 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1605 2005-02-01 Angus Leeming <leeming@lyx.org>
1607 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1609 2005-02-01 Angus Leeming <leeming@lyx.org>
1611 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1612 calling fs::is_directory().
1614 2005-01-31 Angus Leeming <leeming@lyx.org>
1616 * lyx_main.C (priv_exec): specify explicitly the relative location
1617 of the top level build directory when run in-place.
1619 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1621 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1622 LyXText containing the cursor, not the top-level one.
1624 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1626 (insertStringAsLines): rename par to pit; use temporary variable
1627 par to hold a Paragraph; do not store par.layout() in a variable,
1628 since the pointer may die when breaking paragraphs; pass pars to
1629 breakParagraph() instead of Buffer::paragraphs().
1631 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1633 * lyxlex_pimpl.h: #include <fstream>.
1635 * BufferView.[Ch] (getLyXText): add a const version.
1637 * BufferView_pimpl.C: add debug aids.
1642 * paragraph_funcs.h: add commentary explaining what the class does.
1645 * coordcache.[Ch]: add lots of commentary.
1646 (startUpdating, doneUpdating): debug aids.
1647 (arrays, insets, parPos, getParPos): accessors to private data.
1649 * cursor_slice.[Ch] (text): add a const version.
1650 * dociterator.[Ch] (text, innerText): add const versions.
1652 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1655 * paragraph.C (getRow, pos2ros): add asserts.
1657 * paragraph.h: add commentary. Lots of.
1659 * paragraph.[Ch] (metrucs, draw): removed.
1662 * rowpainter.[Ch]: const-correct changes.
1664 * text.C: various obvious clean-ups. Removal of ancient cruft.
1667 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1669 * vc-backend.C (find_file): rewrite to use boost.filesystem
1672 * main.C (main): set default name check for boost.filesystem to
1675 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1678 (actOnUpdatedPrefs): ditto
1680 * lyx_main.C (init): rewrite to use boost.filesystem
1681 (queryUserLyXDir): ditto
1683 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1684 (getContentsOfAsciiFile): ditto
1686 * lastfiles.C (readFile): rewrite to use boost.filesystem
1688 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1690 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1691 (loadLyXFile): ditto
1693 * buffer.C (Buffer): adjust for destroydir
1694 (getLogName): rewrite to use boost.filesystem
1695 (setFileName): ditto
1696 (save): use fs::copy_file (from fs_extras)
1698 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1700 * LaTeX.C (run): rewrite to use boost.filesystem
1701 (scanAuxFiles): ditto
1702 (handleFoundFile): ditto
1704 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1706 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1708 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1710 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1712 * lyxlayout.[Ch]: change some vars from float to double
1714 * buffer.C (readFile): make a local var const
1716 * Several files: use convert<> instead of atoi,strToXXX and friends
1718 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1720 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1721 holds the contents of packages.lst. New functions getAvailable
1722 and isAvailable to parse and check that list, resp.
1726 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1728 * bufferparams.[Ch]: new param output_changes.
1730 * Buffer.C: increase file format to 240.
1731 Use output_changes and isVailable.
1735 * paragraph_pimpl.C: Use output_changes and isVailable.
1737 2005-01-23 Angus Leeming <leeming@lyx.org>
1739 * output_latex.C: #include "insetbibitem.h", rather than
1740 forward declare function bibitemWidest.
1742 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1744 * lyx_main.C (init): make it compile on the Mac.
1746 2005-01-20 Angus Leeming <leeming@lyx.org>
1748 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1749 (setLyXMisc): (char string literal) != (char string literal) is
1750 performing a comparison on the addresses. Convert one operand
1751 explicitly to string to guarantee expected behaviour.
1754 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1757 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1759 * output_plaintext.C: remove unneeded #include gzstream.h.
1761 2005-01-20 Angus Leeming <leeming@lyx.org>
1763 * SpellBase.h: rename some of the elements of the Result enum.
1770 * pspell.C (check): ditto
1772 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1774 * buffer.C: add #include <fstream>.
1776 * lyx_main.C (init): Compile fix.
1778 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1780 2005-01-20 Angus Leeming <leeming@lyx.org>
1782 * mover.h: change commentary to reflect the changed meaning of
1783 the $$s placeholder.
1785 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1787 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1789 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1791 2005-01-20 Angus Leeming <leeming@lyx.org>
1793 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1794 printing diagnostic data by not dereferecing an iterator past the
1797 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1799 * buffer.C (readHeader): use "&&" rather than "and".
1801 * lyxserver.h (inPipeName, outPipeName): make these const.
1803 2005-01-19 Angus Leeming <leeming@lyx.org>
1805 * lyx_main.C (error_handler, init): protect SIGHUP with
1806 #ifdef SIGHUP guards.
1808 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1810 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1812 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1814 * text.C (setHeightOfRow): add a margin at the top and bottom of
1815 the document (bug 1761)
1817 2005-01-17 Angus Leeming <leeming@lyx.org>
1819 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1820 with "python ". Workaround for a brain-dead Windows.
1822 2005-01-16 Angus Leeming <leeming@lyx.org>
1824 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1825 for MacOSX and Windows to use prependEnvPath.
1826 Strip out the hard-coded block to add elements to the PATH for
1827 MacOSX and replace it with a call to prependEnvPath using the
1828 contents of LyXRC::path_prefix.
1829 (queryUserLyXDir): strip out the code to run reconfigure, instead
1830 returning a boolean indicating the necessity to do so.
1831 (reconfigureUserLyXDir): contains the code to reconfigure the
1832 user support directory. Is now called after the various LyXRC data
1833 files have been read.
1835 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1837 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1839 * converter.[Ch] (convert): take a new parameter try_default. Use
1840 a default converter (imagemagick) if try_default is true.
1842 2005-01-13 Angus Leeming <leeming@lyx.org>
1844 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1845 os::cygwin_path_fix.
1846 (write): output LyXRC::cygwin_path_fix as necessary.
1848 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1851 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1853 2005-01-12 Angus Leeming <leeming@lyx.org>
1855 * lyx_main.C (init): set the PATH variable to include the
1856 directory containing the LyX binary when running on Mac or Windows.
1858 2005-01-12 Angus Leeming <leeming@lyx.org>
1860 * lyx_main.C (init): remove cruft that purports to set the locale
1861 dir. It doesn't and is not needed anyway.
1863 2005-01-10 Angus Leeming <leeming@lyx.org>
1865 * Makefile.am: remove the lyx_main.C special casing.
1867 * BufferView_pimpl.C:
1873 * messages.C: use support/package.h to provide the paths to the
1874 various directories used by LyX.
1876 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1878 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1879 layout if pasting into an empty paragraph)
1881 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1883 * tex-accent.C: add <string>
1885 2005-01-06 José Matos <jamatos@lyx.org>
1887 * ParagraphParameters.C (write): put every parameter in its own line.
1888 * paragraph.C (write): reduce number of consecutive empty lines exported.
1889 * buffer.C (LYX_FORMAT): increase file format to 239.
1891 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1893 * everywhere: change support/tostr.h -> support/convert.h
1895 * tabular.C: make all write_attributes templates, tostr -> convert
1897 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1898 (emptyTag): and -> &&, and fix type for ret from getChar
1899 (getFirstWord): fix type for ret from getChar
1900 (onlyText): and -> &&
1901 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1904 * toc.C (goTo, action):
1905 * text3.C (dispatch):
1906 * text.C (currentState):
1907 * tex-accent.C (DoAccent):
1910 * lyxfunc.C (menuNew):
1911 * lyxfinc.C (replace):
1912 * counters.C (laberItem):
1913 * bufferview_funcs.C (font2string):
1914 * bufferparams.C (writeFile):
1915 * buffer.C (readFile):
1917 * MenuBackend.C: tostr -> convert
1919 * LaTeX.C (runMessage): fix format
1920 (scanAuxFiles): tostr -> convert
1922 * BufferView_pimpl.C (savePosition): fix format
1923 (restorePosition): ditto
1926 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1928 * Spacing.[Ch]: New method getValueAsString().
1932 * ParagraphParameters.C:
1935 * text3.C: store/read spacing value as string.
1937 * rowpainter.C: change float value (spacing_val) to double.
1939 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1940 broken custom document spacing).
1942 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1944 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1945 namespace, also more use of temp references and const
1947 * cursor.[Ch] (getStatus): move to lyxfunc.C
1949 * bufferparams.C: reformat slightly
1951 * bufferview_funcs.C (font2string): constify arg
1957 * buffer_funcs.C: (many funcs): constify arg on function
1958 definitions, also make more local vars const, also add ASSERTS on
1961 * buffer.C (LYX_FORMAT): put const in correct place
1962 (many funcs): constify arg on function definitions, also make
1963 more local vars const
1965 * aspell_local.h: remove "struct" from typdef setup
1967 * aspell.C (check): make word_ok const
1968 (nextMiss): simplify slightly
1971 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1973 * lyxrc.[Ch]: store all float values as strings.
1974 use int (not float) for lyxrc.dpi.
1976 2005-01-04 Angus Leeming <leeming@lyx.org>
1978 * lyx_cb.C (Reconfigure):
1979 * lyx_main.C (queryUserLyXDir):
1980 to run the <system_lyxdir>/configure correctly on Windows, prefix
1981 the path to the script with "sh " when generating the string that
1982 is passed to system().
1984 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1986 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1988 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1990 * lyxlength.C (asLatexString): get rid of setprecision
1992 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1994 * text2.C (setLayout): remove unused variable endpit.
1995 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1997 * paragraph.C (onlyText): remove unused variable style.
1999 * cursor.C (bruteFind): remove unused variables beg and end.
2001 * Makefile.am (dist_noinset_DATA): not needed anymore
2003 * cheaders/*: remove.
2005 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2007 * text3.C: fix LFUN_MATH_MODE.
2009 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2011 * buffer_funcs.C (countWords): new function. Counts words between
2014 * BufferView_pimpl.C (getStatus, dispatch): handle
2017 * LyXAction.C (init):
2018 * lfuns.h: add LFUN_WORDS_COUNT.
2020 2004-12-19 Angus Leeming <leeming@lyx.org>
2022 * buffer.C (save): s/slashify_path/internal_path/.
2024 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2026 * lyxfind.C (findChange): do not search for end of pars, because
2027 the change tracker cannot handle this (fixes bug 1719).
2029 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2031 * paragraph.[Ch] (autoBreakRows): remove
2033 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2035 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2036 avoid using the paragraph one
2038 * text2.C (LyXText, insertStringAsLines): adjust
2040 2004-12-16 Angus Leeming <leeming@lyx.org>
2044 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2046 2004-12-14 Angus Leeming <leeming@lyx.org>
2048 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2050 * bufferlist.C (emergencyWrite):
2051 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2054 2004-12-14 Angus Leeming <leeming@lyx.org>
2056 * main.C: (main): no longer pass pointers to os::init.
2058 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2060 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2061 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2063 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2066 * text3.C: remove selection_possible global flag
2068 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2070 * text2.C (getSelectionSpan): remove
2071 (changeDepth, changeDepthAllowed): adjust
2073 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2075 * Makefile.am (BOOST_LIBS): use boost variables
2077 2004-12-03 José Matos <jamatos@lyx.org>
2079 * buffer.C: format up to 238.
2081 2004-12-03 José Matos <jamatos@lyx.org>
2083 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2085 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2087 * cursor.C (goUpDown): remove call to idxUpDown2
2089 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2091 * tabular.[Ch]: use size_t-like types for cell, row and column
2094 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2096 * lyxfunc.C (getStatus): do not lose previous information when
2097 calling BufferView::getStatus; do not set a default "Command
2098 disabled" message at the beginning, but just before returning.
2100 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2102 * cursor.h (getStatus): add better comment from src/cursor.C
2104 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2106 * text3.C (getStatus): return false when the lfun is not handled
2108 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2110 * broken_headers.h: remove
2112 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2114 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2116 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2117 offset_ref accessors
2119 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2120 top_y_, merge fitcursor with update
2121 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2123 (metrics): introduce
2124 (workAreaDispatch): adapt to new coord scheme
2125 (redoCurrentBuffer): remove
2127 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2129 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2132 * coordcache.[Ch]: add paragraph cache and helpers
2134 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2137 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2138 (targetX, setTargetX): introduce
2140 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2141 baseline -> ascent, as the rest of lyx
2143 * lyxtext.h: remove redoParagraphs, updateParPositions,
2144 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2145 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2146 have ascent/descent (ascent is ascent of first par)
2148 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2151 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2153 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2155 * pariterator.C: fix infinite loop introduced in par->pit renaming
2157 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2158 in insets and LyXText, draw two off-screen paragraphs using
2159 NullPainter, and adapt to new coord scheme
2163 * text3.C: adapt lfun handlers to the new coord scheme, which
2164 means: there's only guaranteed coord information for onscreen pars
2165 plus one above and one below. This implies that one can do search
2166 from y coordinates in the range [-1,workHeight]
2168 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2170 * rename a lot of InsetOld to InsetBase
2172 2004-11-25 Angus Leeming <leeming@lyx.org>
2174 * BufferView_pimpl.C:
2176 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2178 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2180 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2181 call BufferView::getStatus if LCursor::getStatus did nothing
2182 (setStatusMessage, getStatusMessage): removed.
2184 * FuncStatus.C (message): new methods. Used to provide an error
2185 message indicating why a command is disabled.
2186 (clear, |=, FuncStatus): update for message.
2188 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2190 * lyxfunc.C (dispatch): always call sendDispatchMessage
2192 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2195 * BufferView_pimpl.C:
2200 * cursor_slice.[Ch]:
2203 * paragraph_funcs.C:
2209 * undo.C: par->pit renaming
2211 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2213 * tabular.C (cellstruct): use initialization, store a shared_ptr
2214 to insettext instead of the insettext directly, adjust to fit.
2215 (operator=): new function
2216 (swap): new function
2217 (rowstruct): use initialization
2218 (columnstruct): use initialization
2219 (ltType): use initialization
2222 * lyxlength.h (swap): new function
2224 * LColor.[Ch] (operator=): use the common semantics
2226 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2228 * lyxfind.C (findNextChange): update the bufferview after setting
2231 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2233 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2234 number of InsetOptArgs has already been inserted.
2236 * output_latex.C (latexOptArgInsets): new method. This outputs all
2237 the optarg insets, up to the limit defined in the layout file.
2238 (optArgInset): removed
2239 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2241 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2243 * paragraph.C (isLetter): remove special spellchecker-related
2244 code; return true also for digits
2245 (isWord, isKomma): remove
2247 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2248 * lyxfind.C (MatchString()): use isLetter instead of isWord
2250 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2252 * pariterator.h (operatir=): comment out un-implemented member
2255 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2258 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2260 * lyxfont.h: include LColor.h to satisfy concept checks.
2262 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2264 * pariterator.h: add typdefs for value_type, difference_type,
2265 pointer and reference to satisfy concept checks. Also add default
2266 constructor for same reason.
2268 * pariterator.C (operator++): add post-increment operator to
2269 satisfy concept checks.
2271 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2274 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2276 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2277 checks. Also rename base_type to BaseType to follow naming
2280 * FloatList.h: include Floating.h to satisfy concept checks.
2282 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2284 * lyxfunc.C (getStatus): when the origin of the request is menu or
2285 toolbar, and the LyXView does not have focus, do as if there was
2286 no buffer (bug 1720)
2288 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2289 FuncRequest to individual entries of LFUN_SEQUENCE
2291 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2293 * output_latex.C (TeXOnePar): override runparams.moving_arg
2294 according to the needprotect value of the current paragraph (bug
2297 * paragraph.C (simpleTeXOnePar): no need to override
2298 runparams.moving_args here
2300 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2302 * vspace.C: fix off-by-one-error, related to fix #1682
2304 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2306 * lengthcommon.C: a more general fix for bug 1682
2308 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2310 * text.C (backspace): fix crash
2312 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2314 * format.[Ch] (getFormatFromFile): new method
2315 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2317 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2319 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2321 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2323 * lyxfunc.C (dispatch): remove the verbose argument
2324 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2327 * kbmap.C (defkey): set the origin of func to KEYBOARD
2329 * MenuBackend.C (MenuItem):
2330 * ToolbarBackend.C (add): set the origin of func to UI
2332 * funcrequest.[Ch]: add origin member, which indicates which part
2333 of LyX requests an action
2335 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2337 * converter.C (move): don't lie in the error message
2338 * converter.h (isReachable, move): document
2340 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2342 * buffer.C: remove unused using lyx::support::atoi
2343 * paragraph_funcs.C: ditto
2345 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2347 * bufferlist.C (exists): use bind and equal_to instead of
2350 * lyxtextclasslist.C (NumberOfClass): ditto
2352 * cursor.C (insert): use for_each instead of explicit for loop
2354 * bufferlist.C (getFileNames): use std::transform and
2355 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2357 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2360 * buffer.C (changeLanguage): use for_each instead of explicit for
2362 (hasParWithID): implement using getParFromID
2364 * LaTeXFeatures.C: ws change only
2366 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2369 * BufferView_pimpl.C (trackChanges): use for_each instead of
2372 2004-11-04 André Pönitz <poenitz@gmx.net>
2375 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2377 * dociterator.C (asDocIterator): use hard assert again.
2379 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2381 * lyxlength.C (asLatexString): rewrite so that it does not use
2384 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2386 * text3.C (specialChar, dispatch): make sure cursor moves to the
2387 right after inserting an inset
2389 2004-11-02 José Matos <jamatos@lyx.org>
2391 * output_docbook.C (docbook):
2392 * paragraph.C (getID):
2393 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2394 garantee that the output is always legal.
2396 * tabular.C (docbook):
2397 * outputprams.[Ch]: remove mixed contents.
2399 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2401 * text2.C (setCounter): prevent endless loop
2403 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2405 * exporter.C (copyFile): use the mover instead of support::copy()
2406 * exporter.C (Export): pass format and latex name to copyFile()
2407 * exporter.h (addExternalFile): document
2408 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2410 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2412 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2414 2004-10-30 José Matos <jamatos@lyx.org>
2416 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2417 text and no inset or font change. This allows to use CDATA
2418 sections just for the whole paragraph.
2420 2004-10-30 José Matos <jamatos@lyx.org>
2422 * paragraph.C (getFirstWord): remove unused variable.
2424 2004-10-30 José Matos <jamatos@lyx.org>
2426 * paragraph.C (getFirstWord): the content should always be escaped
2428 (simpleDocBookOnePar):
2429 * output_docbook.C (makeEnvironment): replace reference to CDATA
2432 2004-10-30 José Matos <jamatos@lyx.org>
2434 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2436 2004-10-30 José Matos <jamatos@lyx.org>
2438 * output_docbook.C (makeParagraphs):
2439 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2440 standard paragraph has only a given type of content drop the wrapper.
2442 2004-10-29 José Matos <jamatos@lyx.org>
2444 * output_docbook.C (makeEnvironment):
2446 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2448 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2450 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2451 (cleanID): sanitize any id.
2453 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2455 * buffer.C, lyxlex_pimpl.C:
2456 * lyxlex_pimpl.C (setFile):
2457 s/getExtFromContents/getFormatFromContents/
2459 2004-10-28 José Matos <jamatos@lyx.org>
2461 * output_docbook.C (makeEnvironment): move id to broadest possible
2464 * sgml.C (openTag): apply substitution of <> for all attributes.
2466 2004-10-28 José Matos <jamatos@lyx.org>
2468 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2469 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2470 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2472 * sgml.[Ch]: new version for open and closeTag for paragraph and
2473 for strings. Now they handle the ids of paragraphs.
2475 2004-10-26 Angus Leeming <leeming@lyx.org>
2477 * Makefile.am: add mover.[Ch].
2479 * converter.C (convert, move): use the new Movers to move external
2480 files to the temp directory.
2482 * lyx_main.C (init): ensure that the global system_movers data
2485 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2488 * mover.[Ch]: new files, defining a Mover as a utility to move an
2489 external file between directories and, if necessary, manipulate this
2490 file using a helper script.
2492 2004-10-25 José Matos <jamatos@lyx.org>
2494 * output_docbook.C (makeCommand): merge two if's that tested the
2497 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2499 * sgml.C (escapeString): fix warning in a better way
2501 2004-10-25 José Matos <jamatos@lyx.org>
2503 * sgml.C (escapeString): import the require boosts header file for
2504 tie, and avoid a signed unsigned comparison.
2506 2004-10-25 José Matos <jamatos@lyx.org>
2508 * sgml.h: add #include <string>
2510 2004-10-25 José Matos <jamatos@lyx.org>
2512 * sgml.[Ch] (escapeString): new function to escape all the string.
2514 2004-10-24 José Matos <jamatos@lyx.org>
2516 * paragraph.[Ch] (getFirstWord): new function to get the first
2517 word. Useful for description.
2518 (simpleDocBookOnePar): remove depth argument, add another that
2519 says where to start the paragraph.
2521 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2522 use the new functions to fix cleanly the support for descriptions.
2524 2004-10-24 José Matos <jamatos@lyx.org>
2526 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2527 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2528 * output_linuxdoc.C (linuxdocParagraphs):
2529 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2530 add buffer as argument.
2532 2004-10-24 José Matos <jamatos@lyx.org>
2534 * output_docbook.C (makeEnvironment, searchEnvironment): place
2535 CDATA inside paragraphs and fix scope for listitems.
2537 2004-10-24 José Matos <jamatos@lyx.org>
2539 * output_docbook.C: remove using statement for stack.
2541 2004-10-23 José Matos <jamatos@lyx.org>
2543 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2544 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2545 docbook. The new scheme is recursive and makes use of iterators, the
2546 same as latex export works.
2547 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2548 directly with the paragraph contents. This code was moved up to
2549 output_docbook.C (docbookParagraphs).
2550 * sgml.C (openTag, closeTag): removed unneeded newlines.
2551 (closeEnvTags) removed.
2553 2004-10-23 André Pönitz <poenitz@gmx.net>
2555 * undo.C (textUndoOrRedo):
2556 * dociterator.C (asDocIterator): work around crash
2558 * cursor.C (getStatus): replace ASSERT by more verbose error message
2559 and manual correction of the problem. Should increase stability
2560 while providing more sensible information.
2562 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2564 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2566 * bufferlist.C (previous, next): new methods
2569 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2571 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2573 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2574 entities to preamble.
2576 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2578 * messages.C (Pimpl): strip off translation context information
2580 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2582 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2583 the cursor is correct (bug 1694)
2585 2004-10-13 José Matos <jamatos@lyx.org>
2587 * output_docbook.C (docbookParagraphs): fix closing tags in the
2588 end of the document.
2590 2004-10-09 José Matos <jamatos@lyx.org>
2592 * buffer.C: format up to 237.
2593 * bufferparams.C (write): use tostr to convert booleans to strings.
2595 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2597 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2599 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2601 * LaTeX.C: implement use of babel language in xindy.
2603 2004-10-05 José Matos <jamatos@lyx.org>
2605 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2606 Add new translators to help reading and writing the lyx file.
2608 2004-10-05 José Matos <jamatos@lyx.org>
2610 * ParagraphParameters.C (read):
2611 * text.C (readParToken): replace nexToken by more appropriate lex
2614 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2616 * LaTeX.C (runMakeIndex):
2617 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2618 (usually 'makeindex') configurable.
2620 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2621 with a variable rather than with a number.
2623 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2625 * output_latex.C (TeXOnePar): make sure font setting is the first
2626 thing that gets output (and the last at the end). Should fix bug
2629 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2631 * pch.h: use proper signal include
2633 * LaTeX.h: Use preferred calling of Boost.Signal
2636 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2638 * pch.h: dont include <boost/function/function0.hpp>
2640 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2642 * paragraph_pimpl.h: remove usage of ShareContainer
2644 * paragraph_pimpl.C: remove initialization of ShareContainer.
2646 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2650 * BufferView.C (putSelectionAt): change the semantics when
2651 backwards == true: now, this just swaps cursor and anchor wrt the
2654 * BufferView.h (putSelectionAt): add some documentation
2656 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2657 make sure backwardChar is done at least once (to avoid getting
2659 (findNextChange): use putSelectionAt in the forward direction
2660 (operator()): use Paragraph::isWord
2662 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2664 * Spacing.C (set): c_str fix
2666 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2668 * lyx_cb.C (Reconfigure): quote the name of configure script in
2669 case it contains spaces
2671 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2675 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2676 (BOOST_LIBS): use top_buildir when looking for the file
2678 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2680 * pch.h: do not use include boost/format.hpp, multiple symbols
2681 will result (gcc bug)
2684 2004-08-23 José Matos <jamatos@lyx.org>
2686 * bufferparams.C (readToken): fix reading of the author field.
2688 2004-08-20 José Matos <jamatos@lyx.org>
2690 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2692 2004-08-20 José Matos <jamatos@lyx.org>
2694 * lyxlex.[Ch] (findToken): remove function.
2696 * ParagraphParameters.C (findToken):
2697 * bufferparams.C (findToken): replace call for previous function
2698 with local copy. This local function has one more argument, the
2699 read string argument.
2701 2004-08-16 José Matos <jamatos@lyx.org>
2703 * ParagraphParameters.C (write):
2704 * Spacing.C (writeFile):
2705 * bufferparams.C (writeLaTeX):
2706 * lyx_cb.C (Reconfigure):
2707 * paragraph.C (write):
2708 * tabular.C (write): remove unnecessary space at end of line.
2711 2004-08-16 José Matos <jamatos@lyx.org>
2713 * text.C (readParagraph): remove debug message.
2715 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2717 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2720 * output_plaintext.C (asciiParagraph): set depth correctly
2722 * outputparams.h: add member depth
2724 * paragraph_funcs.C (ownerPar): remove.
2726 * text2.C (setCounter): remove first_pit; comment out some
2727 non-working code that uses ownerPar
2729 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2732 2004-08-16 José Matos <jamatos@lyx.org>
2734 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2735 For the same level of importance use the same chanel to report problems.
2736 (read): add code to deal with \begin_body and \end_body.
2739 2004-08-15 José Matos <jamatos@lyx.org>
2741 * lyxlex.C (getString): fix comment, buffer::readBody is now
2742 buffer:readDocument.
2744 * tex-strings.C (string_papersize): Default -> default,
2745 Custom -> custom, for consistency with other options.
2747 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2751 * Makefile.am: support pch
2753 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2755 * text.C (readParToken): remove the static LyXFont variable and
2756 pass it as a parameter instead. This fixes a nasty bug where an
2757 inset will be inserted with a bad font in some situations
2758 (readParagraph): adapt
2760 * text2.C (setCounter): reduce number of calls to pars_[pit]
2762 * text.C (singleWidth): add an assert, fix a test
2764 * rowpainter.C (paintText): reduce number of calls to singleWidth
2766 * paragraph.C (isHfill):
2767 (isNewline): ws only
2769 2004-08-14 André Pönitz <poenitz@gmx.net>
2774 * lyxtext.h (several functions): use a Paragraph & argument
2777 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2779 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2781 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2783 * text.C (singleWidth): remove useless test
2785 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2787 * tabular.h: remove bogus comments
2789 * tabular.C (getDescentOfRow):
2790 (isPartOfMultiColumn): add assertions
2792 * lyxlength.C (inPixels): remove #warning
2794 2004-08-14 André Pönitz <poenitz@gmx.net>
2796 * paragraph.h: inline getChar()
2798 * BufferView.h: remove unused declarations
2800 2004-08-14 José Matos <jamatos@lyx.org>
2802 * Buffer.[Ch] (readDocument): new name for old readBody.
2803 * Buffer.C: new file format, new keywords: \begin_document,
2804 \begin_header, \begin_body, \end_body.
2806 * bufferparams.C (readToken): replace all calls to lex.nextToken
2807 by lex.next(). Do the same to eatLine except where really needed.
2809 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2810 line when writing to the lyx file.
2812 * output_plaintext.C (asciiParagraph): fix Bibliography style
2815 * text.C (read): fix end of file handling.
2817 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2819 * MenuBackend.C (Menu::operator[]): new method to access
2820 individual menu items
2821 (Menu::hasFunc): new method. search for an item that corresponds
2823 (MenuBackend::specialMenu): new method
2824 (MenuBackend::expand): if a special menu has been set, skip
2825 entries whose func() appears in this menu
2827 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2829 * text3.C: use Debug::DEBUG a bit more
2831 * text.C (leftMargin): try to simplify a tiny bit change var x to
2832 l_margin. Dont output the wide margins always.
2833 (rightMargin): no margin in inner texts
2835 * rowpainter.h (nestMargin): new func
2836 (changebarMargin): new func
2837 (rightMargin): new func
2839 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2843 * factory.C (createInset): modify setDrawFrame
2845 * cursor.C: use Debug::DEBUG a bit more
2847 2004-08-14 André Pönitz <poenitz@gmx.net>
2850 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2851 cache for all insets in (at least partially) visible (top-level)
2854 * BufferView_pimpl.C: reset external coord cache before every update.
2855 This means the coord cache only contains valid entries.
2857 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2860 * BufferView_pimpl.C (getInsetByCode): move function out of class
2861 and change in to a template in anon namespace. Also fix to do what
2864 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2867 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2869 (breakParagraph): rename par to par_offset and use a local
2870 reference. Add code to keep the language over a rebreak.
2871 (breakParagraphConservative): rename par to par_offset, use a
2873 (mergeParagraph): ditto
2875 (isFirstInSequence): ditto
2876 (outerFont): rename pit to par_offset
2878 * paragraph.C: ws change
2879 * paragraph.h: ditto
2883 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2885 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2888 * paragraph.C (simpleTeXOnePar): when we have a \item with
2889 optional argument, enclose the argument with curly brackets (in
2890 case it contains a closing square bracket)
2894 * text3.C (checkInsetHit): constify
2896 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2898 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2899 documents (bug 1629)
2901 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2903 Fix toggling of collapsable insets with the mouse (bug 1558)
2905 * lyxfunc.C (dispatch): adapt to LCursor changes
2907 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2908 make sure that dispatch is not invoked twice
2910 * cursor.C (needsUpdate): new method
2911 (dispatch): return void
2912 (result): new method, to access the DispatchResult of the cursor.
2914 2004-08-13 José Matos <jamatos@lyx.org>
2916 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2918 2004-08-13 André Pönitz <poenitz@gmx.net>
2920 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2922 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2925 2004-08-12 André Pönitz <poenitz@gmx.net>
2927 * text3.C: take out the 'cursor right' form insertInset and only
2928 do it in those places when it is really needed. Fixes crash on
2931 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2933 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2935 * BufferView_pimpl.C (setBuffer): initialize the current font of
2936 the underlying LyXText
2938 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2940 * kbsequence.C (print): use UI native formatting for menu
2943 * text.C (insertChar): call Paragraph::insertChar with a font
2946 * paragraph.C (insertInset, insertChar): the version that takes a
2947 LyXFont argument is now a wrapper around the other one (the
2948 opposite used to be true).
2950 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2951 argument. Font setting is done in Paragraph now.
2953 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2955 * outputparams.h: add new members intitle and lang.
2957 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2958 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2960 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2962 * text3.C (dispatch): remove special handling of button 4 and 5,
2963 it is now taken care of in the frontend code.
2965 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2967 * Spacing.h: add <string> (STLPort compile fix)
2969 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2971 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2973 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2975 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2978 * converter.C (showMessage): inherit from unary_function, make
2981 * buffer.C (writeFile): initialize retval
2983 * InsetList.h: rename private variable list to list_
2984 * InsetList.[Ch]: adjust accordingly.
2986 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2988 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2989 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2990 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2991 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2992 * ParagraphParameters.C, LaTeXFeatures.C: replace
2993 "support/std_sstream.h" with <sstream>
2995 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2997 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2998 * lyxsocket.C (LyXServerSocket): ditto
2999 (serverCallback): ditto
3001 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3003 * LaTeXFeatures.C: check release date when loading jurabib.
3005 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3007 * lyxserver.C (startPipe): call register_socket_callback
3008 (endPipe): call unregister_socket_callback
3010 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3012 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3013 (LyXServerSocket): register the callback
3014 (LyXServerSocket): unregister the callback
3015 (fd): delete function
3016 (serverCallback): improve error checking and setup the callbacks.
3017 (dataCallback): change arg to fd.
3018 (writeln): new func (copied fro the client socket) used for server
3020 (LyXDataSocket): simplify
3021 (~LyXDataSocket): close ann unregiser callback
3022 (server): delete function
3023 (fd): delete function
3024 (readln): small changes, improve some std::string usage
3025 (writeln): constify a bit
3027 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3029 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3032 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3034 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3035 after it has been populated
3037 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3039 * text2.C (insertInset): move cursor when inserting inset.
3041 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3043 * kbmap.C (findbindings): a couple of new methods. returns a
3044 container of kb_sequence objects. The real work is done by the
3045 private recursive version
3046 (printbindings): uses findbindings to print out a bracketed list
3047 of bindings (renamed from findbinding).
3049 * MenuBackend.C (binding): use kb_keymap::findbindings
3051 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3053 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3055 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3057 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3059 * paragraph.C (isWord): return true on insets that report
3062 * text.C (getWord): use Paragraph::isWord to decide what is in a
3063 word and what is not; fix bug 1609.
3065 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3067 * tex-strings.C: add "none" to string_paperpackages[], fixes
3068 off-by-one-error in the paperpackage selection.
3071 * tex-strings.[Ch]: char const * string[n]
3072 -> char const * const string[]
3074 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3076 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3077 command, return early.
3079 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3081 * debug.h: add DEBUG to enum and fix size of ANY.
3083 * debug.C: add support for Debug::DEBUG
3084 (showTags): cast errorTags.level to unsigned int
3086 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3087 (redoCurrentBuffer): ditto
3088 (updateScrollbar): ditto
3089 * cursor.C (dispatch): ditto
3090 * text2.C (setLayout): ditto
3092 (updateCounters): ditto
3094 (deleteEmptyParagraphMechanism): ditto
3096 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3098 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3099 annotations to cleanup the Makefile slightly.
3101 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3103 * lyxrc.C: do not set user_email to a default value but use empty
3104 instead. The entry used to be translated, which does not work
3105 since at the point where lyxrc is constructed there is no
3106 translation service available
3108 * messages.C (getLocaleDir): remove and use directly
3109 lyx_localedir() instead
3111 2004-06-02 Angus Leeming <leeming@lyx.org>
3113 Fix crash caused by dereferencing null pointer 'exportdata' in
3114 OutputParams by creating a new ExportData variable on the heap,
3115 storing it in a boost::shared_ptr.
3116 The crash was triggered when generating an Instant Preview
3117 of an external inset.
3119 * Makefile.am: add outputparams.C
3121 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3122 (c-tor): allocate memory to it.
3124 * exporter.C (c-tor): associated changes.
3126 2004-06-01 Angus Leeming <leeming@lyx.org>
3128 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3129 contains data before calling isInset(0). (Bug 1513.)
3131 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3133 * exporter.C (checkOverwrite): new method
3134 * exporter.C (copyFile): new method
3135 * exporter.C (Export): copy referenced files to the document dir
3136 * exporter.[Ch]: new class ExportedFile
3137 * exporter.[Ch]: new class ExportData. Contains currently the
3138 names of referenced external files
3139 * outputparams.h: add exportdata member.
3141 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3143 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3146 2004-05-19 Angus Leeming <leeming@lyx.org>
3151 * lyxfunc.C: small changes due to the introduction of namespace
3152 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3154 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3156 * text3.C (dispatch): supress update when only moving the cursor
3157 * cursor.C (selHandle): remove commented code
3159 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3161 * paragraph.C (startTeXParParams): correct column count
3162 * CutAndPaste.C (pasteSelection): remove const_cast
3163 * output_docbook.C (docbookParagraphs): remove const_cast
3164 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3165 const_cast and return ParagraphList::const_iterator
3166 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3167 * output_plaintext.C (writeFileAscii): remove const_cast
3168 * paragraph.[Ch] (simpleTeXOnePar): make const
3169 * paragraph_funcs.C (outerPar): use const iterators
3170 * paragraph_pimpl.C (validate): use const iterators
3171 * text.C (setHeightOfRow): use const iterators
3173 2004-05-17 Angus Leeming <leeming@lyx.org>
3176 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3178 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3179 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3180 if the citation engine has changed.
3182 2004-05-14 José Matos <jamatos@lyx.org>
3184 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3185 if the textclass does not provide it. Have it different for sgml and
3187 support the language of document.
3188 * output_docbook.C (docbookParagraphs):
3189 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3190 first anchor as the id of the paragraph, remove special case code.
3191 * sgml.C (escapeChar): escape only < & >.
3193 2004-05-14 Angus Leeming <leeming@lyx.org>
3195 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3196 dependencies on src/frontends/controllers/biblio.h. Define a
3197 CiteEngine_enum wrapper class to enable the enum to be forward
3200 2004-05-12 Angus Leeming <leeming@lyx.org>
3202 * buffer.C: up LYX_FORMAT to 234.
3203 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3204 use_numerical_citations with a single biblio::CiteEngine cite_engine
3206 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3208 2004-05-13 José Matos <jamatos@lyx.org>
3211 * converter.C (Converter, readFlags): add xml member.
3212 * outputparams.h: add XML flavor.
3213 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3215 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3217 * lyxfunc.C (dispatch):
3218 (getStatus): fix handling of LFUN_SEQUENCE
3220 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3222 * debug.C (showLevel): do not forget the end-of-line marker
3224 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3226 * kbmap.C (read): do not stop parsing a bind file when an error
3229 2004-04-29 Angus Leeming <leeming@lyx.org>
3234 * text2.C: wrap a bunch of #warning statements
3235 inside #ifdef WITH_WARNINGS blocks.
3237 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3239 * buffer.C: increment format to 233.
3241 2004-04-28 Angus Leeming <leeming@lyx.org>
3243 * BufferView_pimpl.C:
3246 s/updateToolbar()/updateToolbars()/
3247 s/Toolbar.h/Toolbars.h/
3249 2004-04-28 Angus Leeming <leeming@lyx.org>
3251 * BufferView.[Ch] (c-tor):
3252 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3253 No longer passes these data to the WorkArea generator.
3255 2004-04-28 Angus Leeming <leeming@lyx.org>
3257 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3259 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3261 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3263 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3265 * output_latex.C (TeXEnvironment): make sure that there is a line
3266 break before \end{foo} for the last paragraph of a document
3267 (TeXOnePar): if the paragraph is at the end of the document (or
3268 inset) and the language has to be reset, then make sure that the
3269 line break is _before_ the language command, not after (fixes bug
3270 1225); also make sure that the language reset command is the first
3271 thing after the paragraph (to ensure proper nesting of
3272 environments and thus fix bug 1404)
3274 2004-04-21 John Levon <levon@movementarian.org>
3277 * ToolbarBackend.C: make "name" be a programmatic name
3278 and a gui_name field.
3280 * lyxfunc.C: display the minibuffer on M-x
3282 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3284 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3287 2004-04-19 Angus Leeming <leeming@lyx.org>
3289 * BufferView_pimpl.C (setBuffer): changed preview interface.
3291 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3294 2004-04-19 John Levon <levon@movementarian.org>
3296 * BufferView_pimpl.C:
3297 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3299 2004-04-05 Angus Leeming <leeming@lyx.org>
3301 * text.C (redoParagraphs): add call to updateCounters(), thereby
3302 fixing the missing "Figure #:" label from the caption of a
3305 2004-04-13 Angus Leeming <leeming@lyx.org>
3307 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3308 cursor is clicked out of an inset.
3310 2004-04-13 Angus Leeming <leeming@lyx.org>
3312 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3313 than an InsetOld one.
3315 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3317 * format.[Ch]: add editor to Format
3318 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3319 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3321 2004-04-08 André Pönitz <poenitz@gmx.net>
3323 * metricsinfo.h: remove PainterInfo::width member
3325 2004-04-08 Angus Leeming <leeming@lyx.org>
3327 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3328 "\providecommand" rather than "\newcommand", thereby preventing
3329 clashes with packages that define "\boldsymbol" themselves.
3332 2004-04-08 Angus Leeming <leeming@lyx.org>
3334 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3335 thereby squashing an unnecessary warning.
3337 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3339 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3342 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3344 * BufferView.C (setCursor): call redoParagraph (some insets could
3346 (putSelectionAt): remove the 'double update' trick
3348 * BufferView_pimpl.C (fitCursor): call refreshPar
3349 (workAreaDispatch): remove an uneeded update call
3350 (dispatch): remove some manual update calls
3352 * cursor.[Ch]: remove cached_y_, updatePos
3353 (selHandle): set noUpdate when appropriate
3355 * lyxfunc.C (dispatch): track if we need an update
3357 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3359 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3360 (paintSelection): cheap optimization, do not call cursorX when not
3362 (paintPars): change signature
3365 (paintTextInset): adjust
3369 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3371 * lengthcommon.C: compilation fix: remove explicit array size from
3372 unit_name[] and friends
3374 2004-04-05 Angus Leeming <leeming@lyx.org>
3376 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3378 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3379 present only for the preferences dialog.
3380 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3382 2004-04-05 Angus Leeming <leeming@lyx.org>
3384 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3385 to enable the frontends to export changes to lyxrc correctly.
3387 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3389 2004-04-07 André Pönitz <poenitz@gmx.net>
3391 * cursor.[Ch] (selClear, adjust): remove math
3393 * cursor_slice.C: more agressive assert
3396 * BufferView_pimpl.C: rework mouse event dispatch
3403 2004-04-05 André Pönitz <poenitz@gmx.net>
3405 * cursor.[Ch] (valign, halign...): remove unneeded functions
3407 2004-04-05 Angus Leeming <leeming@lyx.org>
3409 * lyxlength.[Ch] (unit_name et al.): const-correct.
3411 2004-04-05 Angus Leeming <leeming@lyx.org>
3413 * BufferView_pimpl.C:
3422 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3424 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3426 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3428 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3430 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3431 * BufferView_pimpl.[Ch] (getStatus)
3432 * BufferView.[Ch] (getStatus): add
3433 * lyxfunc.C (getStatus): move lfuns handled in
3434 BufferView::dispatch to te function above
3435 * Cursor.C (setSelection): set selection() = true
3437 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3439 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3441 2004-03-31 Angus Leeming <leeming@lyx.org>
3443 * lyxfunc.C (dispatch): Fall through to the generic
3444 Dialogs::show("preamble").
3446 2004-03-31 Angus Leeming <leeming@lyx.org>
3448 * lyxfunc.C (dispatch): Fall through to the generic
3449 Dialogs::show("spellchecker").
3451 2004-03-31 Angus Leeming <leeming@lyx.org>
3453 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3456 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3461 * insetiterator.[Ch]:
3466 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3468 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3470 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3471 insets where we are putting the cursor.
3473 2004-03-31 Angus Leeming <leeming@lyx.org>
3476 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3478 * lyxrc.[Ch] (read, write): overloaded member functions taking
3479 a std::[io]stream arguments.
3481 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3483 2004-03-31 Angus Leeming <leeming@lyx.org>
3485 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3486 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3488 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3489 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3491 2004-03-31 Angus Leeming <leeming@lyx.org>
3493 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3494 the LFUN_ALL_INSETS_TOGGLE code.
3496 2004-03-30 Angus Leeming <leeming@lyx.org>
3498 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3499 has died. Fall through to the generic Dialogs::show("document").
3501 2004-03-30 Angus Leeming <leeming@lyx.org>
3504 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3505 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3507 * lyxfunc.C (getStatus, dispatch): define the actions for these
3508 lfuns. Little more than a cut and pste job from ControlDocument.C
3510 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3512 2004-03-30 Angus Leeming <leeming@lyx.org>
3515 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3516 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3518 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3519 open/closed state of ollapsable insets. Usage:
3521 all-inset-toggle <state> <name>, where
3522 <state> == "open" || "closed" || "toggle" and
3523 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3525 * lyxtext.h, text2.C (toggleInset): removed.
3527 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3528 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3529 now passes LFUN_INSET_TOGGLE to the found inset.
3531 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3532 is now invoked as "all-insets-toggle toggle branch".
3534 2004-03-30 Angus Leeming <leeming@lyx.org>
3538 * pariterator.[Ch]: added/corrected header blurb.
3540 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3542 * dociterator.[Ch]: add an inset_ member
3543 (backwardPos): implemented
3544 (backwardPos, forwardPos): use inset_ when the stack is empty.
3545 (doc_iterator_begin, doc_iterator_end): implemented
3546 * pariterator.[Ch]: adjust, add begin, end
3547 * insetiterator.[Ch]: adjust, add begin, end
3551 * BufferView_pimpl.C:
3552 * CutAndPaste.C: adjust
3554 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3556 * buffer.C: increment file format to 232.
3557 * LaTeXFeatures.C: add bibtopic package.
3558 * bufferparams.[Ch]: param \use_bibtopic.
3560 * lyxrc.[Ch]: add lyxrc bibtex_command
3561 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3563 * buffer.C: increment file format to 231.
3565 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3567 * dociterator.C: implement forwardPar
3568 * iterators.[Ch]: remove, replaced by
3569 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3571 * BufferView_pimpl.C:
3574 * bufferview_funcs.C:
3580 * Makefile.am: adjust
3582 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3584 * CutAndPaste.C (pasteSelection): fix 2 crashes
3585 (eraseSelection): fix a crash
3586 * paragraph_funcs.C: remove a warning
3588 2004-03-28 Angus Leeming <leeming@lyx.org>
3591 * LyXAction.C (init): new LFUN_PRINT.
3593 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3595 2004-03-27 Angus Leeming <leeming@lyx.org>
3598 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3600 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3602 2004-03-27 Angus Leeming <leeming@lyx.org>
3604 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3605 insetlist always contains non-null pointers to insets.
3607 2004-03-26 Angus Leeming <leeming@lyx.org>
3609 * src/BufferView_pimpl.C:
3610 * src/CutAndPaste.C:
3613 * src/output_plaintext.C:
3614 * src/outputparams.h:
3615 * src/paragraph_funcs.C:
3619 * src/frontends/controllers/ControlErrorList.C:
3620 * src/frontends/gtk/FileDialogPrivate.C:
3621 * src/frontends/gtk/GPainter.C:
3622 * src/frontends/gtk/GToolbar.C:
3623 * src/frontends/qt2/QRef.C:
3624 * src/mathed/math_scriptinset.C: squash compiler warnings.
3626 2004-03-26 Angus Leeming <leeming@lyx.org>
3628 * ispell.C (LaunchIspell::start):
3629 * lyx_cb.C (AutoSaveBuffer::start):
3630 invoke run(DontWait) rather than runNonBlocking().
3632 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3634 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3636 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3638 * kbsequence.C (print): adjust
3640 * kbmap.C (printKeySym): rename and change signature
3641 (printKey): use LyXKeySym::print()
3643 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3645 * undo.C: add using std::advance to compile for stlport
3647 2004-03-24 Angus Leeming <leeming@lyx.org>
3649 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3650 it leads to a crash when no buffer is present.
3652 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3653 Martin Vermeer <martin.vermeer@hut.fi>
3655 * lyxfunc.C (dispatch):
3656 * bufferparams.C (readToken): use the new LColor::setColor
3658 * LColor.[Ch] (setColor): new version that takes two strings as
3659 argument and creates a new color entry if necessary
3661 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3663 * buffer.C (makeLaTeXFile): if the main latex file that is
3664 processed is usually a subdocument of some master, then pretend
3665 for a while that it is actually the master
3667 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3669 * buffer.C (getLabelList):
3670 (getBibkeyList): use getMasterBuffer()
3671 (getMasterBuffer): new method. Returns the main document in the
3672 case where one is using included documents.
3674 2004-03-25 André Pönitz <poenitz@gmx.net>
3678 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3680 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3682 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3683 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3685 * ParameterStruct.h: merge with ParagraphParameters
3687 * lyxtext.h: remove LyXText::parOffset() and getPar()
3689 * text3.C: Remove all 'manual' update calls. We do now one per user
3690 interaction which is completely sufficient.
3694 * BufferView_pimpl.C:
3695 * FontIterator.[Ch]:
3697 * ParagraphParameters.[Ch]:
3702 * cursor_slice.[Ch]:
3709 * output_docbook.[Ch]:
3710 * output_latex.[Ch]:
3711 * output_linuxdoc.[Ch]:
3712 * output_plaintext.[Ch]:
3714 * paragraph_funcs.[Ch]:
3715 * paragraph_pimpl.[Ch]:
3723 * frontends/controllers/ControlDocument.C:
3724 * frontends/controllers/ControlErrorList.C:
3725 * frontends/controllers/ControlSpellchecker.C:
3728 * insets/insetbase.h:
3729 * insets/insetbibitem.C:
3730 * insets/insetbox.C:
3731 * insets/insetbranch.C:
3732 * insets/insetcaption.C:
3733 * insets/insetcharstyle.C:
3734 * insets/insetcharstyle.h:
3735 * insets/insetcollapsable.C:
3736 * insets/insetcollapsable.h:
3737 * insets/insetert.C:
3738 * insets/insetfloat.C:
3739 * insets/insetfoot.C:
3740 * insets/insetmarginal.C:
3741 * insets/insetnote.C:
3742 * insets/insetoptarg.C:
3743 * insets/insettabular.C:
3744 * insets/insettext.C:
3745 * insets/insettext.h:
3746 * insets/insetwrap.C:
3747 * mathed/math_mboxinset.C:
3748 * mathed/math_nestinset.C:
3749 * mathed/math_scriptinset.C:
3750 * mathed/math_scriptinset.h:
3753 2004-03-24 Angus Leeming <leeming@lyx.org>
3755 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3756 deal with any child processes that have finished but are waiting to
3757 communicate this fact to the rest of LyX.
3759 2004-03-24 Angus Leeming <leeming@lyx.org>
3761 64-bit compile fixes.
3763 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3764 (c-tor): pass lyx::pos_types rather than ints.
3766 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3769 * text.C (Delete): compile fix.
3770 (getPar): ensure that function declaration is the same as that in
3773 2004-03-23 Angus Leeming <leeming@lyx.org>
3775 * ispell.C (LaunchIspell):
3776 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3777 a boost::shred_ptr rather than a std::auto_ptr.
3779 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3781 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3782 handle LFUN_FILE_INSERT_*
3784 * lyxrc.C (setDefaults, getDescription, output, read):
3785 * lyxrc.h: remove ps_command
3787 2004-03-22 Angus Leeming <leeming@lyx.org>
3789 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3790 Ensure that error_handler is processed once only and that all data
3791 is saved before attempting to output any warning messages.
3793 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3795 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3797 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3799 2004-03-19 André Pönitz <poenitz@gmx.net>
3801 * cursor.[Ch] (reset): take main text inset as argument
3803 * BufferView: adjust
3804 * BufferView_pimpl.C: adjust
3806 * paragraph.[Ch]: fix completely broken operator=()
3808 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3810 * LColor.C (getFromLyXName): make sure that the color name is used
3813 2004-03-17 Angus Leeming <leeming@lyx.org>
3816 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3818 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3819 dialog and to kill a forked process.
3821 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3823 * text2.C (setCursorFromCoordinates): fix font problem
3825 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3827 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3828 bogus "rebuild cursor" code
3830 2004-03-11 André Pönitz <poenitz@gmx.net>
3832 * buffer.[Ch]: use InsetText instead of LyXText as container for
3835 * dociterator.[Ch]: drop the BufferView * member which is not needed
3836 anymore after the change to buffer.C
3838 * paragraph_funcs.C:
3842 * BufferView_pimpl.[Ch]:
3844 * cursor_slice.[Ch]: adjust
3846 * text3.C: fix bug in mathDispatch
3848 2004-03-08 André Pönitz <poenitz@gmx.net>
3850 * undo.[Ch]: use 'StableDocumentIterator' as base for
3853 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3856 * bufferparams.[Ch]: add jurabib support and param.
3858 * LaTeX.C: add FIXME/comment.
3860 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3862 * buffer.C: increment file format to 230.
3864 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3866 * cursor.C (dispatch): avoid infinite loops
3868 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3870 * rowpainter.C (paintSelection): fix x coordinates
3872 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3874 * text.C (rowBreakPoint): fix breaking before displayed insets
3876 2004-03-01 André Pönitz <poenitz@gmx.net>
3878 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3880 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3884 * BufferView_pimpl.C:
3892 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3898 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3899 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3901 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3903 * Bidi.[Ch] (computeTables): const correctness
3904 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3905 fill_hfill, fill_label_hfill and x from Row
3906 * lyxtext.h: prepareToPrint returns a RowMetrics
3907 * rowPainter.C: adjust
3908 * text.C (prepareToPrint): use width, not textWidth. adjust
3909 (redoParagraphInternal, cursorX): adjust
3910 * text2.C (getColumnNearX): adjust
3911 (init): put a default value to the top LyXText::width
3913 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3915 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3917 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3919 * lyxtext.h: add FontIterator class
3921 * text.C (FontIterator, operator*, operator->, operator++): add
3922 (rowBreakPoint, setRowWidth): adjust (fixing a
3925 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3927 * BufferView_pimpl.C (workAreaDispatch): allow also
3928 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3930 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3932 * text.C (rowBreakPoint): fix a bug showing with very large insets
3934 2004-02-25 André Pönitz <poenitz@gmx.net>
3937 * cursor.[Ch]: move some mathed specific code to mathed
3939 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3941 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3942 use_tempdir in preferences
3943 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3945 * lyx_main.C: ensure that tempdir is valid
3946 * lyxlex.h: correct typo
3947 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3948 * paragraph.[Ch] (isMultiLingual): make const
3949 * cursor.[Ch] (openable): make const
3951 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3953 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3955 2004-02-20 André Pönitz <poenitz@gmx.net>
3957 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3959 * cursor.[Ch]: prepare for localized getStatus()
3965 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3967 2004-02-20 André Pönitz <poenitz@gmx.net>
3969 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3971 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3973 * text2.C (setCursorFromCoordinates): switch to absolute coords
3975 (cursorDown): adjust
3976 * text3.C (dispatch): adjust
3978 2004-02-16 André Pönitz <poenitz@gmx.net>
3980 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3983 * cursor_slice.[Ch]: remove unneeded acessor function
3985 * lyxtext.h: rename rtl() to isRTL()
3993 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3995 * rowpainter.C (paintSelection): coord fix
3997 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3999 * Spacing.C: compile fix
4001 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4003 * cursor.C (dispatch): restore current_ before returning
4005 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4007 * text2.C (cursorUp, cursorDown): fix coords
4010 2004-02-12 André Pönitz <poenitz@gmx.net>
4015 * text3.C: add LCursor & parameter to most cursor movement functions
4016 remove usage of LyXText::cursorRow() and cursorPar()
4018 * cursor.[Ch]: add textRow() needed members
4021 * BufferView_pimpl.C:
4024 * BufferView_pimpl.C: adjust
4026 2004-02-11 André Pönitz <poenitz@gmx.net>
4030 * BufferView_pimpl.C: shift undo/redo handling
4032 * cursor.[Ch]: fix mathed crash
4035 * lyxtext.h: move selectionAsText to LCursor
4043 * rowpainter.C: fix excessive drawing
4045 2004-02-06 André Pönitz <poenitz@gmx.net>
4048 * BufferView_pimpl.[Ch]:
4049 * text3.C: move some text specific LFUN handling
4051 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4053 * text3.C (checkInsetHit): adjust coords
4054 * text2.C (getColumnNearX): adjust coords
4055 (edit): adjust coords
4056 * text.C (getRowNearY): add two asserts
4058 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4061 * format.C: add using std::distance to compile on gcc 2.95/stlport
4063 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4065 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4067 2004-02-04 André Pönitz <poenitz@gmx.net>
4069 * BufferView.[Ch] (insertInset):
4070 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4075 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4077 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4078 on the default clause of the switch
4079 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4080 wasn't catched by LCursor::dispatch
4082 2004-02-03 André Pönitz <poenitz@gmx.net>
4085 * cursor.[Ch]: some additional asserts
4087 * undo.[Ch]: remove LyXText dependency in interface
4091 * lyxtext.h (firstPar, lastPar): remove dead functions
4096 * paragraph.[Ch]: adjust
4098 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4100 * lyxfind.C (find): fix argument order in call to ::find
4102 2004-02-02 André Pönitz <poenitz@gmx.net>
4104 * cursor.[Ch]: remove direct access to anchor
4106 * text.C: remove findText() hack
4108 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4110 * iterators.[Ch] (lockPath): remove in favour of...
4111 * BufferView.[Ch] (setCursor): this addition
4112 * BufferView.C (putSelectionAt): adjust
4113 * undo.C (performUndoOrRedo): adjust
4114 * lyxfunc.C (dispatch): adjust
4116 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4118 * iterators.C (lockPath): add a missing slice
4119 * undo.C (performUndoOrRedo): remove redundant positioning code
4121 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4123 * vc-backend.C (scanMaster): ";" -> ';'
4125 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4127 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4128 std::binary_function
4130 * lyxtextclass.C (compare_name): rename to...
4131 (LayoutNamesEqual): ...this
4133 * lyxlex_pimpl.C (compare_tags): inherit from
4134 std::binary_function, put back into anon namespace
4136 * lyxfind.C (MatchString): inherig from std::binary_function
4137 (findChange): use empty() istead of !size()
4139 * format.C (FormatNamesEqual): new functor
4146 * converter.C (compare_Converter): rename to...
4147 (ConverterEqual): ...this, and fixup a bit.
4148 (getConverter): use it, and make function const
4149 (getNumber): use it, and make function const
4153 * bufferlist.C: add using boost::bind
4155 * MenuBackend.C (MenuNamesEqual): new functor
4156 (hasMenu): use it, and make function const
4157 (hasSubmenu): use nested bind to get rid of compare_memfun.
4159 2004-01-30 André Pönitz <poenitz@gmx.net>
4161 * BufferView_pimpl.C:
4164 * cursor_slice.[Ch]:
4167 * paragraph_funcs.C:
4168 * paragraph_funcs.h:
4172 * text3.C: move some of the edit(x,y) handling to the insets
4173 some coordinate changes.
4175 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4177 * text.C: add using statements for std::advance and std::distance
4179 * paragraph.C: add using statement for std::distance
4181 * lyxfind.C: add using statement for std::advance
4183 * cursor.C (region): remove std:: from swap
4184 (openable): use nucleus in stead of operator->
4186 * BufferView.C: add using statements for std::distance and std::swap
4188 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4190 * iterators.C: Remove the pimple, move the needed structures to
4191 the header file. Create accessor for the positions stack.
4192 (asPosIterator): remove function
4194 * PosIterator.C (PosIterator): move constructors to top of file
4195 (PosIterator): reimplement the constructor taking a ParIterator in
4197 (setFrom): new function
4198 (operator!=): inline it
4200 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4202 * lyxfind.C (replaceAll): use std::advance
4204 * iterators.h: inherit from std::iterator.
4206 * PosIterator.C (advance, distance): remove
4207 * PosIterator.h: interit from std::iterator.
4209 2004-01-26 André Pönitz <poenitz@gmx.net>
4212 * BufferView_pimpl.[Ch]:
4216 * bufferview_funcs.C:
4226 * output_linuxdoc.C:
4227 * output_plaintext.C:
4229 * paragraph_funcs.[Ch]:
4230 * paragraph_pimpl.[Ch]:
4236 * text3.C: more IU: dumps most of the rest of the mathcursor
4237 implementation into cursor.[Ch]; "globalize" a bit of it.
4239 2004-01-25 Angus Leeming <leeming@lyx.org>
4241 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4243 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4245 * LaTeXFeatures.h: add nice_ and nice() const
4246 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4248 2004-01-20 André Pönitz <poenitz@gmx.net>
4251 * BufferView_pimpl.C:
4253 * bufferview_funcs.C:
4255 * cursor_slice.[Ch]:
4266 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4267 LCursor and mathcursor parts to LCursor and InsetBase.
4269 2004-01-15 André Pönitz <poenitz@gmx.net>
4271 * cursor_slice.[Ch]: add a few covienience functions
4273 * funcrequest.[Ch]: remove BufferView * member
4275 * BufferView_pimpl.C:
4282 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4284 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4286 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4287 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4289 2004-01-13 André Pönitz <poenitz@gmx.net>
4292 * lyxtext.h: hide cursor and selection anchor behind accessor function
4295 * BufferView_pimpl.[Ch]:
4297 * bufferview_funcs.C:
4307 * cursor_slice.[Ch]: some integer type changes for inset unification
4309 * lyxcursor.[hC]: remove, it's CursorSlice now.
4312 * BufferView_pimpl.[Ch]:
4313 * bufferview_funcs.C:
4319 * textcursor.[Ch]: adjust
4321 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4323 * text2.C (undoSpan): add and use
4324 * text.C (breakParagraph): use undoSpan (fix bug 578)
4327 2004-01-08 Angus Leeming <leeming@lyx.org>
4329 * BufferView_pimpl.C (MenuInsertLyXFile):
4330 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4331 * lyxfunc.C (menuNew, open, doImport):
4332 FileFilterList change to the FileDialog open and save functions.
4334 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4336 * ShareContainer.h: make isEqual and isUnique adaptable
4338 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4340 2004-01-07 Angus Leeming <leeming@lyx.org>
4343 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4345 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4347 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4348 functions replacing find, replace and replaceAll.
4350 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4351 LFUN_WORDFIND(FORWARD|BACKWARD).
4353 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4355 * text.C (breakParagraph): remove an outdated #warning
4357 2004-01-07 André Pönitz <poenitz@gmx.net>
4359 * lyxfind.C: somewhat clearer logic
4361 * text.C: prevent crash in cursorX on unitialized row cache
4363 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4365 * lyxcursor.[Ch] (operator>): add
4366 * textcursor.C (selStart, selEnd): use std::min and std::max
4368 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4370 * Chktex.C: include boost/format.hpp
4372 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4374 * InsetList.C: replace functor MathcIt with adaptable functor
4376 (insetIterator): modify accordingly
4378 * BranchList.h: move the BranchNamesEqual functor here from...
4379 * BranchList.C: ... to here
4381 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4383 (add): replace a finding loop with std::find_if.
4385 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4387 * output_docbook.C: moving LatexParam functionality into
4390 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4392 * buffer.C: increment format to 229.
4394 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4397 * lyx_sty.[Ch]: remove minipageindent_def
4403 * text3.C: remove LFUN_INSET_MINIPAGE
4405 2003-12-28 Angus Leeming <leeming@lyx.org>
4407 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4409 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4411 * text2.C (setParagraph): fix off-by-one crash
4413 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4415 * output_docbook.C: header stuff for AGU
4417 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4419 * text2.C (redoCursor): remove
4422 * BufferView_pimpl.C: remove calls to redoCursor and
4423 setCursor(cursor.par(), cursor.pos()) all around
4425 2003-12-15 Angus Leeming <leeming@lyx.org>
4427 * buffer.C: up the format to 228.
4429 2003-12-15 André Pönitz <poenitz@gmx.net>
4431 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4436 * BufferView_pimpl.C:
4445 2003-12-15 Angus Leeming <leeming@lyx.org>
4447 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4448 than getFromGUIName to manipulate the color.
4450 2003-12-14 Angus Leeming <leeming@lyx.org>
4452 * BranchList.[Ch]: minimize the API.
4453 (Branch::getBranch, getColor): now return a 'const &'.
4454 (Branch::setSelected) now returns a bool set to true if the
4455 selection status changes.
4456 (BranchList::clear, size, getColor, setColor, setSelected,
4457 allBranches, allSelected, separator): removed.
4458 (BranchList::find): new functions, returning the Branch with
4460 (BranchList::add, remove): return a bool indicating that
4461 the operation was successful.
4463 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4464 new InsetBranch::isBranchSlected member function.
4466 * LColor.[Ch]: mimimize the API.
4467 (fill): renamed as addColor and made private.
4468 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4469 versions of these functions taking a string arg have been removed.
4471 * bufferparams.C (readToken):
4472 * lyxfunc.C (dispatch):
4473 * lyxrc.C (read): changes due to the altered BranchList and
4476 * factory.C (createInset, readInset): changes due to altered
4479 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4482 * lyxfunc.C: remove insetminipage. "minipage-insert"
4483 now produces a frameless minipage box inset.
4485 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4487 * textcursor.[Ch] (selStart,selEnd): add new methods
4488 remove selection::start, end, use LyXCursor::operator<
4489 * lyxcursor.[Ch] (operator<): add
4490 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4491 * BufferView.[Ch] (unsetXSel): add
4492 * text2.C (clearSelection): use unsetXSel,adjust
4495 * rowpainter.C: adjust
4496 * bufferview_funcs.C (put_selection_at): adjust
4498 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4500 * BufferView_pimpl.C: small coord. correction
4502 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4504 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4505 dragging over the splash screen.
4507 2003-12-11 Angus Leeming <leeming@lyx.org>
4509 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4510 as it is now handled in LyXText::dispatch.
4512 * text3.C (doInsertInset): remove a level of nesting.
4514 2003-12-11 Angus Leeming <leeming@lyx.org>
4516 * factory.C (createInset): changes due to the changed interface to
4517 InsetCommandMailer::string2params.
4519 2003-12-10 Angus Leeming <leeming@lyx.org>
4521 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4522 'dialog-show-new-inset <inset name>'
4524 2003-12-10 Angus Leeming <leeming@lyx.org>
4526 * buffer.C: up the format to 227.
4528 * factory.C: the box inset is now identified simply by 'Box'.
4530 2003-12-10 Angus Leeming <leeming@lyx.org>
4532 * buffer.C: up the format to 226.
4534 * factory.C: the note inset is now identified simply by 'Note'.
4536 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4538 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4539 when a pit is enough. Standarize a couple of loops.
4541 2003-12-05 Angus Leeming <leeming@lyx.org>
4543 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4544 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4545 data to the re-worked "log" dialog.
4547 2003-12-03 André Pönitz <poenitz@gmx.net>
4553 * paragraph_funcs.C:
4555 * text2.C: use Inset::getText instead of Inset::getParagraph
4557 2003-12-03 André Pönitz <poenitz@gmx.net>
4561 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4562 InsetText::read() as LyXText::read()
4564 2003-12-02 Angus Leeming <leeming@lyx.org>
4566 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4567 type. Add a comment in the implementation that the function uses
4568 the stream's bad() function rather than fail() as the std::streams
4571 2003-12-02 André Pönitz <poenitz@gmx.net>
4573 * lyxlex.[Ch]: make interface more similar to std::stream
4575 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4577 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4579 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4581 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4583 * vspace.[Ch]: remove VSpace::NONE
4585 2003-12-01 André Pönitz <poenitz@gmx.net>
4588 * lyxtext.h: move ParagraphList member to LyXText
4589 rename LyXText::ownerParagraphs to LyXText::paragraph
4592 * bufferview_funcs.C:
4602 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4604 * undo.C: fix cursor positioning
4606 2003-12-01 John Levon <levon@movementarian.org>
4608 * BufferView_pimpl.C: fix a crash on exit with
4611 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4613 * BranchList.C: fix setSelected() method.
4615 2003-11-28 André Pönitz <poenitz@gmx.net>
4617 * ParagraphParameters.[Ch]:
4618 * ParameterStruct.h: remove space above/below from Paragraph to
4621 * BufferView_pimpl.C:
4627 * paragraph_funcs.C:
4633 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4635 * factory.C: Syntax change for CharStyles
4637 2003-11-28 André Pönitz <poenitz@gmx.net>
4642 * buffer.[Ch]: move LyXText member
4644 2003-11-28 André Pönitz <poenitz@gmx.net>
4646 * BufferView.[Ch]: make LyXText * text a private member
4648 * BufferView_pimpl.C:
4659 * output_plaintext.C: cleanup
4661 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4664 * lyxtextclass.[Ch]: parametrize SGML document header
4666 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4669 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4672 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4674 * text2.C (setFont): rework using PosIterator (no more recursive)
4675 (setCharFont): no more needed
4676 (setLayout): no more selection cursors fiddling (done by redoCursor)
4677 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4678 destroy remaining ones)
4680 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4682 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4684 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4687 * text3.C: adjust + re-allow multi par depth changes
4688 * textcursor.C: simplify a bit
4690 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4696 * src/output_docbook.C:
4697 * src/output_latex.C:
4702 * src/text2.C: Introducing a number of tags parametrizing various
4703 XML formats that we may want to support
4705 2003-11-25 André Pönitz <poenitz@gmx.net>
4707 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4709 * lyxtext.h (leftMargin/rightMargin): simplify interface
4716 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4718 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4719 master file to any child files. Fixes bug 546.
4721 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4723 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4725 2003-11-24 André Pönitz <poenitz@gmx.net>
4727 * rowpainter.C: simplification
4729 * text2.C (updateCounters): remove call to redoParagraph on
4730 changed labels as this is far too expensive.
4732 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4734 * converter.C (convert): fix a crash: this function gets
4735 called with buffer == 0 from importer code.
4737 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4739 * text3.C (cursorPrevious): make sure that we do not compare
4740 iterators form different containers.
4743 * rowpainter.C (paintSelection): make sure that we do not compare
4744 iterators from different containers.
4746 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4747 iterators from different ParagraphList containers.
4750 * text2.C (LyXText): change order of initialization slightly
4751 (operator=): new function. copy all variables except cache_par_
4752 (moveUp): make sure that we do not compare iterators from
4753 different ParagraphList constainers.
4756 * text.C (firstPar): new function
4757 (lastPar): new function
4758 (endPar): new function
4760 * lyxtext.h: move things around and group public functions, public
4761 variables, private functions, private variables
4763 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4765 * factory.C: change call to InsetERT constructor to avoid
4766 additional invocation of method status
4767 * text2.C (toggleInset): remove redundant update() call
4768 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4769 instead of a Bufferview pointer
4771 2003-11-21 André Pönitz <poenitz@gmx.net>
4773 * rowpainter.C: simplification
4775 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4777 * text3.C (dispatch): make possible to extend a word/row selection
4780 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4782 * lyxtext.h: x0_,y0_ -> xo_,yo_
4783 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4784 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4785 * rowpainter.C (paintRows): paint full paragraphs
4787 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4789 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4792 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4794 * lyxtext.h: add x0_, y0_
4795 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4796 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4798 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4800 * text2.C (setCursorIntern): move the x_target update here *
4801 * text3.C: change some bv() to true/false in calls to
4802 cursorUp/Down/Right/Left
4803 * cursor.C: use helper function.
4805 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4807 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4808 * paragraph_funcs.[Ch]: correct comment
4809 * rowpainter.C: do not paint selections away from bv->cursor()
4810 Fix a long standing selection painting bug.
4811 * text3.C: generalize mouse-selection code to LyXTexts other that
4813 * textcursor.C: do not use y coords if we can use par offsets
4815 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4817 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4818 cursor position after e.g. inset insert)
4820 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4822 * lyxfind.C (replace): adjust to locking removal + some
4825 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4827 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4830 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4833 * output_docbook.C: XML sanitation: new layout
4834 parameters InnerTag and CommandDepth
4836 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4838 * BufferView_pimpl.C:
4840 * text3.C: Fix the insertion and modification of button-style
4843 2003-11-13 André Pönitz <poenitz@gmx.net>
4845 * InsetList.[Ch]: remove deleteLyXText
4847 * paragraph.[Ch]: cache beginOfBody position
4852 * text3.C: remove superfluous update() calls
4856 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4858 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4859 * BufferView.C (fitLockedInsetCursor): remove
4860 * cursor.[Ch] (getDim): add
4861 * text.C (getRowNearY): add faster version
4862 * text3.C: remove some update calls
4864 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4876 * text3.C: The Character Style /XML short element patch.
4878 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4881 * factory.C: Small step to solving 'unable to insert some insets'
4884 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4886 * cursor.[Ch] (updatePos): new function for updating the y
4887 position of the tip inset
4888 * bufferview_funcs.C (put_selection_at):
4889 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4891 2003-11-11 André Pönitz <poenitz@gmx.net>
4893 * text.C: remove big comment on invalid Paragraph pointers as it is
4896 2003-11-11 André Pönitz <poenitz@gmx.net>
4898 * text_funcs.[Ch]: merge with ...
4906 * Makefile.am: remove text_funcs.[Ch]
4908 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4910 * cursor.C (getPos): return absolute cached y coord
4912 * BufferView_pimpl.C (fitCursor): new simplistic code
4913 (workAreaDispatch): add a fitCursor call
4915 2003-11-10 André Pönitz <poenitz@gmx.net>
4918 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4920 2003-11-10 André Pönitz <poenitz@gmx.net>
4922 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4923 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4924 indicate that the cursor needs to leave an inset
4926 * lyxtext.h: remove inset locking
4928 * cursor.[Ch]: re-implement functionality provided by inset locking
4931 * BufferView_pimpl.[Ch]:
4933 * bufferview_funcs.[Ch]:
4945 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4947 * PosIterator.[Ch]: replace the stack with a vector, add inset
4949 * iterators.[C]: adjust
4951 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4953 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4955 * paragraph_funcs.C (readParToken): put the correct id in the
4956 error item, not the id of the top paragraph
4958 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4960 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4961 * bufferview_funcs.C (put_selection_at): use the above
4963 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4965 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4967 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4969 * output_linuxdoc.h:
4970 * output_plaintext.h:
4972 * output_docbook.h: add #include statements
4974 2003-11-05 José Matos <jamatos@lyx.org>
4976 * output_docbook.[Ch]:
4977 * output_latex.[Ch]:
4978 * output_linuxdoc.[Ch]:
4979 * output_plaintext.[Ch]: New files for output formats.
4980 * output.[Ch]: New file for helper functions.
4983 * paragraph_funcs.[Ch]: output functions moved to new files.
4985 * outputparams.h: rename of latexrunparams.h
4993 * paragraph_funcs.[Ch]:
4994 * paragraph_pimpl.[Ch]:
4995 * tabular.[Ch]: rename ascii to plaintext
4996 and LatexRunParams to OutputParams.
4998 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5000 * iterators.[Ch] (text): require bv argument
5001 * undo.C (recordUndo):
5002 * lyxfunc.C (dispatch):
5003 * bufferview_funcs.C (put_selection_at): adjust
5005 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5007 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5009 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5011 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5014 2003-11-04 André Pönitz <poenitz@gmx.net>
5016 * cursor.[Ch]: restructure
5019 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5021 * iterators.[Ch] (asCursor): remove
5023 * lfuns.h: remove LFUN_INSET_EDIT
5029 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5031 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5033 * lyxfind.[Ch]: complete overhaul
5034 * BufferView_pimpl.C:
5036 * paragraph.[Ch] (insert): add
5038 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5042 * text.C: remove dead spellcheck code
5044 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5046 * dispatchresult.h: add a val setter
5048 * cursor.C (dispatch): use a tempvar for data_[i]
5050 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5052 * PosIterator.[Ch]: compile fix
5054 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5056 * text.C (cursorPar): deactivate the cursor cache
5058 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5060 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5062 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5064 * text3.C (dispatch): adjust for new DisptchResult semantics.
5066 * lyxfunc.C (dispatch): handle update when return from
5067 Cursor::dispatch, adjust for new DispatchResult semantics.
5069 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5070 DispatchResult(true) mean to not update. Add class functions for
5071 setting dispatched and update, as well as reading.
5073 * cursor.C (dispatch): don't handle update here
5075 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5077 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5078 * trans_mgr.C: adjust
5080 * paragraph_funcs.C (readParToken): exception safety
5082 * lyxvc.h: store the vcs pointer in a scoped_ptr
5085 * lyxsocket.C (serverCallback): exception safety
5087 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5089 * ispell.C (clone): make it return a auto_ptr
5091 * factory.C (createInset): exception safety
5092 (readInset): exception safety
5094 * bufferlist.C (newBuffer): exception safety
5096 * Thesaurus.C (Thesaurus): use initialization for aik_
5098 * MenuBackend.C (expandToc): exception safety.
5100 2003-11-03 André Pönitz <poenitz@gmx.net>
5104 * bufferview_funcs.C: remove getInsetFromId()
5107 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5113 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5115 * PosIterator.C (distance, advance): new
5116 * bufferview_funcs.[Ch] (put_selection_at): new
5117 * iterators.[Ch] (lockPath): new
5119 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5121 * iterators.[Ch] (asPosIterator): added
5122 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5123 * PosIterator.[Ch]: added
5125 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5129 * cursor.C (dispatch):
5130 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5132 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5133 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5134 contructor, add a class function dispatched. Remove operator>=
5136 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5138 * debug.C: only use the default constructor for debugstream
5141 * main.C (main): include debug.h and setup the lyxerr streambuf
5144 2003-10-31 José Matos <jamatos@lyx.org>
5146 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5148 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5149 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5150 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5151 * paragraph_pimpl.C (simpleTeXSpecialC):
5152 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5153 add LatexRunParams argument.
5155 * exporter.C (Export): change call accordingly.
5157 * latexrunparams.h: add new member to take care of the other backends.
5158 2003-10-30 José Matos <jamatos@lyx.org>
5160 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5161 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5162 factorise code for paragraph output.
5164 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5167 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5169 * text3.C (dispatch):
5170 * lyxfunc.C (dispatch):
5171 * cursor.C (dispatch):
5172 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5174 * dispatchresult.h: make the dispatch_result_t ctor explicit
5176 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5179 * buffer.C: small refactoring of docbook stuff
5181 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5183 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5186 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5188 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5189 operator dispatch_result_t, and operators for == != and >=
5191 * cursor.C (dispatch): adjust for operator dispatch_result_t
5192 removal. comment out call to update
5194 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5196 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5204 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5207 * dispatchresult.h: new file, DispatchResult broken out of
5210 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5212 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5214 * text.C (rowBreakPoint): put a hack inside #if 0
5216 2003-10-28 André Pönitz <poenitz@gmx.net>
5220 * paragraph_funcs.C:
5223 * text2.C: general cleanup (lots of small stuff)
5225 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5227 * text2.C (cursorEnd): simple fix to the "end key goes to one
5228 before the end on last row" bug
5230 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5232 * text.C (backspace): fix the "zombie characters"
5234 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5236 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5238 2003-10-27 André Pönitz <poenitz@gmx.net>
5240 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5242 * factory.C: handle new InsetPagebreak, InsetLine
5244 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5245 and move handling into new InsetPagebreak, InsetLine
5247 * BufferView_pimpl.C:
5249 * ParagraphParameters.C:
5250 * ParameterStruct.h:
5255 * paragraph_funcs.C:
5256 * paragraph_pimpl.C:
5262 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5265 * lyxrow_funcs.[Ch]:
5271 * text3.C: remove lastPos uses in favour of Row::endpos
5273 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5275 * undo.C (performUndoOrRedo): fix two crashes by setting a
5276 cursor by hand and reordering some calls. Use bv->lockInset instead
5277 of inset->edit because the latter loses cursor information
5279 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5281 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5283 (rowBreakPoint): fix width. change point to point + 1.
5284 Add a missing check.
5286 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5289 * lyxfunc.C: fix (at least partly) the problems
5290 with the Nav menu and headers inside branch insets
5293 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5295 * paragraph.C (getChar): add strong asserts
5297 * lyxrow_funcs.C (lastPos): remove hideous hack
5299 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5300 (fill): adjust to that (avoid an infinite loop)
5302 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5304 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5306 2003-10-23 André Pönitz <poenitz@gmx.net>
5308 * RowList_fwd.h: change list<> to vector<> to gain speed
5309 after suggestion from Alfredo
5311 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5313 * lyxtext.h: move the bidi stuff from here...
5316 * Bidi.[Ch]: ... to here
5318 2003-10-23 André Pönitz <poenitz@gmx.net>
5321 * text.C (isLastRow, isFirstRow): new functions
5323 * paragraph.h: new width cache member
5325 * rowpainter.C: replace RowList::iterator with Row & where possible
5327 * lyxfunc.C: replace several view()->text with a single call
5329 * toc.C: fix 'unused' warning
5331 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5333 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5334 when woring with stream::pos_type
5335 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5337 2003-10-22 André Pönitz <poenitz@gmx.net>
5340 * text.C: use Row & instead of RowList::iterator
5342 * lyxrow.h: rename end() to endpos()
5348 2003-10-22 Angus Leeming <leeming@lyx.org>
5350 * buffer.[Ch] (fully_loaded): new member function, returning true
5351 only when the file has been loaded fully.
5352 Used to prevent the premature generation of previews and by the
5353 citation inset to prevent computation of the natbib-style label.
5355 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5356 templates are all set up.
5358 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5360 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5362 * text.C: fixed an "oops" in the "is a bit silly"
5365 2003-10-21 André Pönitz <poenitz@gmx.net>
5367 * FuncStatus.[Ch]: small stuff, whitespace
5369 * lyxfont.[Ch]: operator<<() for debug reasons
5373 * lyxtext.h: whitespace, spelling
5375 * paragraph.C: naming of variables
5378 * text2.C: small stuff
5381 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5383 * text.C: (1) finish off the inset display() work;
5384 (2) fix the "is a bit silly" bug (accessing char
5387 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5389 * text.C: re-introduce display() for insets, fixing the
5390 various bugs (stretch of line above, math inset
5393 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5395 * text.C (rightMargin): remove spurious semicolon
5397 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5400 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5402 * text3.C: fix one crash due to wrong cursor def
5404 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5406 * vc-backend.C (scanMaster): make the regex static
5408 * LaTeX.C (scanAuxFile): make the regexs static
5410 * text3.C (doInsertInset, dispatch, dispatch):
5411 * text2.C (cursorUp, cursorDown):
5412 * text.C (selectNextWordToSpellcheck):
5413 * BufferView_pimpl.C (dispatch):
5414 * lyxfunc.C (dispatch): localDispatch -> dispatch
5416 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5418 * lyxsocket.C: include <cerrno>
5420 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5422 * lyxfunc.C (dispatch): remove textcache stuff
5424 * bufferlist.C (release): remove textcache stuff
5427 * TextCache.C: delete file
5428 * TextCache.h: delete file
5430 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5432 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5433 delete of the bv_->text.
5434 (resizeCurrentBuffer): remove texcache stuff
5435 (workAreaResize): ditto
5437 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5439 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5442 2003-10-16 André Pönitz <poenitz@gmx.net>
5449 * text3.C: speed up by storing y positions per paragraph plus per-row
5450 offset instead of having a 'full' y position in the row.
5452 2003-10-15 André Pönitz <poenitz@gmx.net>
5456 * undo.[Ch]: make undo aware of inner insets
5458 2003-10-14 Angus Leeming <leeming@lyx.org>
5460 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5461 static member functions LyX::ref() and LyX::cref.
5462 (lastfiles): new accessor functions for the new lastfiles_ member var.
5463 (addLyXView, views_): add a new LyXView to the list of views_.
5464 (updateInset): loop over all LyXViews to call their own updateInset
5465 member function, returning a pointer to the Buffer owning the inset.
5467 * BufferView_pimpl.C (loadLyXFile):
5468 * MenuBackend.C (expandLastfiles):
5469 * bufferlist.C (MenuWrite, QuitLyX):
5470 lastfiles is no longer a global variable.
5471 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5473 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5474 static function. Access through LyX::cref().emergencyCleanup().
5476 2003-10-14 André Pönitz <poenitz@gmx.net>
5478 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5480 * undo.[Ch]: restoring part of 'undo in insets'
5483 * undo_funcs.[Ch]: merge with undo.[Ch]
5485 * tabular.C: small cleansing stuff
5487 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5489 * paragraph_funcs.C (readParToken): report unknown insets as error
5490 boxes. Use the outer paragraph as location (also for unknown
5493 * factory.C (readInset): do not abort on reading an unknown inset.
5494 Eat it and return 0.
5496 2003-10-13 Angus Leeming <leeming@lyx.org>
5498 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5500 * lyxrc.C: displayTranslator is now a function,
5501 declared in GraphicsTypes.h.
5503 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5505 * format.C: new placeholder $$a to pass the socket address.
5507 * bufferlist.[Ch]: new function getBufferFromTmp.
5509 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5510 files in the temporary dir.
5512 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5514 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5516 * Makefile.am: add lyxsocket.[Ch].
5518 * lyx_main.C (error_handler): handle SIGPIPE.
5520 2003-10-13 André Pönitz <poenitz@gmx.net>
5522 * BufferView_pimpl.C:
5527 * undo_funcs.[Ch]: use paroffset_type instead of
5528 ParagraphList::iterators to prevent multiple conversion
5529 (and get a more robust interface)
5531 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5533 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5535 * text3.C (dispatch): ditto
5537 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5539 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5540 move the onlyfile, use onlyfile instead of foundfile in a couple
5543 * DepTable.C (update): flush the error stream a bit more
5545 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5547 * lyxserver.C (callback): adjust
5549 * lyxfunc.C (getStatus): add a missing brace in commented code
5550 (ensureBufferClean): reindent
5551 (dispatch): delete version taking a string
5553 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5555 * LaTeX.C (deplog): move found file handlig from here...
5556 (handleFoundFile): .. to new function here.
5557 (deplog): make sure to discover several files mentioned on the
5560 2003-10-10 André Pönitz <poenitz@gmx.net>
5567 * text3.C: fix some of the tabular crashes
5569 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5571 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5573 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5575 2003-10-09 André Pönitz <poenitz@gmx.net>
5577 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5580 * BufferView_pimpl.C:
5581 * bufferview_funcs.C:
5592 * undo_funcs.C: adjust
5594 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5596 * text2.C (incrementItemDepth): new function, use a backtracking
5597 algorithm to discover the correct item depth.
5598 (resetEnumCounterIfNeeded): new function, use a backtracking
5599 algorithm to discover if counter reset is needed.
5600 (setCounter): use them. Simplify a bit. Add different labels for
5601 different item depths for itemize.
5603 * paragraph.C (Paragraph): remove initialization of enumdepth
5606 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5607 enumerate and itemize. Change the type of itemdepth to signed char.
5609 2003-10-08 André Pönitz <poenitz@gmx.net>
5611 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5616 * tabular.[Ch]: fix crash after 'row-insert'
5618 2003-10-08 Angus Leeming <leeming@lyx.org>
5620 Fix doxygen warnings.
5622 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5623 Remove CutAndPaste:: prefix from header file declaration.
5625 * LColor.h (fill): remove LColor:: prefix from declaration.
5627 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5628 use lyx::depth_type rather than Paragraph::depth_type so that
5629 header file and .C file match.
5631 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5633 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5634 * aspell.C: \file aspell_local.C -> \file aspell.C
5635 * gettext.C: \file gettext.C -> \file src/gettext.C
5636 * gettext.h: \file gettext.h -> \file src/gettext.h
5637 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5638 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5639 * text.C: \file text.C -> \file src/text.C
5641 * toc.C: move comment so that doxygen is not confused.
5643 2003-10-07 Angus Leeming <leeming@lyx.org>
5645 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5647 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5650 * aspell_local.h: add forgotten std::string's.
5652 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5659 * text3.C: The Box patch. Fancybox support, minipage, parbox
5661 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5667 * ParagraphParameters.h:
5677 * lyxtextclasslist.h:
5680 * paragraph_pimpl.C:
5681 * textcursor.h: add <string> and other small fixes to make Lars'
5682 std::string patch compile with STLport.
5684 2003-10-06 Angus Leeming <leeming@lyx.org>
5686 * LColor.h: Add missing #include <string>.
5688 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5690 * All most all file in all subdirs: Make <string> be the prefered
5691 way of getting to std::string, add using declarations.
5693 2003-10-06 André Pönitz <poenitz@gmx.net>
5695 * metricsinfo.C: initialize LyXFont before changing attribute.
5696 (fixes the 'math in \emph is upright' bug)
5698 2003-10-06 André Pönitz <poenitz@gmx.net>
5700 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5702 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5705 * paragraph_pimpl.C: Small fixes to build using STLport
5707 2003-10-02 André Pönitz <poenitz@gmx.net>
5710 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5712 2003-10-01 André Pönitz <poenitz@gmx.net>
5714 * factory.C: assert early
5716 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5718 * lyx_main.C: remove the global debug object
5720 * debug.h: adjust for new debugstream
5722 * debug.C: adjust for new debugstream and keep the global debug
5725 2003-09-22 Angus Leeming <leeming@lyx.org>
5727 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5728 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5729 an incomplete class LyXFont.
5731 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5733 * factory.C: bug fix in branches
5735 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5737 * lyxfunc.C (processKeySym): adjust
5739 (dispatch): change arg name from ev to func, adjust
5740 (sendDispatchMessage): ditto
5742 * lyx_main.C (defaultKeyBindings): adjust keybindings
5743 (deadKeyBindings): ditto
5745 * kbsequence.C (addkey): return a FuncRequest
5747 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5749 * kbmap.C (bind): take a FuncRequest as arg, adjust
5752 (defkey): change to take a FuncRequest as arg, adjust
5753 (findbinding): take a FuncRequest as arg, adjust.
5755 * funcrequest.h (operator=): added
5757 * funcrequest.C (FuncRequest): default kb_action changed from
5758 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5760 * buffer.C (dispatch): simplify
5761 (dispatch): adjust to take a FuncRequest as arg, adjust
5763 * boost.C (assertion_failed): change assertion message slightly
5765 * ToolbarBackend.C (read): simplify
5767 * MenuBackend.C (binding): adjust call to findbinding, add a
5768 message if no binding is found.
5770 (expandToc): correct by adding a empty FuncRequest
5772 * LyXAction.C: include <boost/assert.hpp>
5773 (isPseudoAction): delete function
5774 (LookupFunc): change name to...
5775 (lookupFunc): this. change return type to FuncRequest.
5776 (getActionName): take kb_action as arg, simplify
5777 (funcHasFlag): add an assert, simplify.
5779 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5781 * toc.C (action): return a FuncRequest, simplify
5783 * lyxfunc.C (processKeySym): adjust
5784 (getStatus): delete version that takes an int.
5786 (dispatch): delete version that takes action as int
5788 (sendDispatchMessage): simplify and adjust
5790 * funcrequest.C (getArg): take unsigned int as arg
5792 * ToolbarBackend.C (read): adjust
5793 (add): delete version that takes func as a string.
5794 (getIton): take a FuncRequest as arg
5796 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5799 * MenuBackend.C (MenuItem): add a new construct that only takes a
5800 Kind, simplify the constructor use for submenus.
5802 (expandLastfiles): adjust
5803 (expandDocuments): adjust
5804 (expandFormats): adjust
5805 (expandFloatListInsert): adjust
5806 (expandFloatInsert): adjust
5807 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5809 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5810 Remove class variables lyx_pseudo_map and lyx_arg_map
5812 * LyXAction.C (searchActionArg): delete function
5813 (getPseudoAction): delete function
5814 (retrieveActionArg): delete function
5815 (LookupFunc): make it return kb_action, simplify.
5816 (getActionName): simplify
5818 * factory.C (createInset): fix new bug
5820 2003-09-19 Angus Leeming <leeming@lyx.org>
5822 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5823 masterFilename_ parameter in the include inset.
5825 * factory.C (createInset): changes due to the changes to InsetInclude.
5827 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5829 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5831 2003-09-18 Angus Leeming <leeming@lyx.org>
5834 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5835 Inset::fillWithBibKeys.
5836 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5838 2003-09-18 Angus Leeming <leeming@lyx.org>
5840 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5842 (ctor): pass and store a 'Buffer const &'
5843 (buffer): new member function.
5845 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5846 '*this' to the LaTeXFeatures ctor.
5848 2003-09-18 Angus Leeming <leeming@lyx.org>
5854 * text.C: rename EnumLColor as LColor_color.
5856 2003-09-18 Angus Leeming <leeming@lyx.org>
5858 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5859 remove #include "insets/insetbase.h" from cursor.h.
5861 2003-09-18 Angus Leeming <leeming@lyx.org>
5863 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5864 InsetOld_code to remove #include "inset.h".
5866 * iterators.C: add #include "insets/inset.h"
5868 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5870 * BufferView.C: remove more locking stuff that apparently doesn't
5871 do anything sensible.
5873 2003-09-16 André Pönitz <poenitz@gmx.net>
5876 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5879 2003-09-16 Angus Leeming <leeming@lyx.org>
5881 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5883 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5886 * paragraph.h: remove #include "lyxfont.h". Forward declare
5889 2003-09-16 Angus Leeming <leeming@lyx.org>
5891 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5892 of support/textutils.h.
5893 (isWord): move the contents of support/textutils.h's IsWordChar here.
5899 * text2.C: add #include "paragraph.h".
5902 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5904 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5910 * LaTeX.C: use namespace alias for lyx::support::os
5912 2003-09-16 Angus Leeming <leeming@lyx.org>
5915 * bufferview_funcs.C:
5918 * paragraph_pimpl.C:
5920 * text.C: add #include "LColor.h".
5922 2003-09-16 Angus Leeming <leeming@lyx.org>
5924 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5925 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5927 Store the FontBits::color variable as an int rather than as an
5928 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5931 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5932 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5933 string calls together.
5935 * lyxrc.C: add #include "LColor.h".
5937 2003-09-15 Angus Leeming <leeming@lyx.org>
5939 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5942 2003-09-15 Angus Leeming <leeming@lyx.org>
5944 * LColor.h: add an EnumLColor wrapper for LColor::color.
5946 * lyxfont.[Ch] (color, setColor, realColor):
5947 * lyxtext.h, text.C (backgroundColor):
5948 pass EnumLColor args to/from the functions, rather than LColor::color
5952 * lyxtext.h: forward declare EnumLColor.
5954 * lyx_main.C: add #include "LColor.h".
5956 2003-09-15 Angus Leeming <leeming@lyx.org>
5958 * .cvsignore: add lyx-gtk.
5960 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5965 * ParagraphParameters.C
5969 * bufferview_funcs.C
5979 * vc-backend.C: remove usage of STRCONV
5981 2003-09-15 Angus Leeming <leeming@lyx.org>
5983 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5984 explicitly define the color passed to the painter.
5986 2003-09-15 Angus Leeming <leeming@lyx.org>
5988 * bufferparams.C (BufferParams): reorder member initializers to avoid
5991 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5993 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5994 * text.C (updateRowPositions): remove an unusual nop
5996 2003-09-12 André Pönitz <poenitz@gmx.net>
5998 * BufferView_pimpl.C:
6007 * Counters.[Ch]: finish the 'automatic counters' job
6009 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6011 * aspell.C: include <boost/assert.cpp> (compile fix)
6013 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6015 * boost.C (assertion_failed): use lyx::support::abort instead of
6018 2003-09-10 Angus Leeming <leeming@lyx.org>
6020 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6021 with their _fwd progeny.
6023 2003-09-09 Angus Leeming <leeming@lyx.org>
6025 134 files throughtout the source tree: replace 'using namespace abc;'
6026 directives with the appropriate 'using abc::xyz;' declarations.
6028 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6030 * boost.C (emergencyCleanup): moved here from LAssert.c
6031 (assertion_failed): new function, called by BOOST_ASSERT
6033 * several files: change Assert to BOOST_ASSERT
6035 2003-09-09 Angus Leeming <leeming@lyx.org>
6037 * buffer.[Ch]: Add an Impl class and move Buffer's member
6038 variables into it. As a result move several header files out of
6041 Add header files to lots of .C files all over the tree as a result.
6043 2003-09-09 Angus Leeming <leeming@lyx.org>
6045 * buffer.[Ch]: make Buffer's member variables private. Add
6048 Lots of changes all over the tree as a result.
6050 2003-09-08 Angus Leeming <leeming@lyx.org>
6052 * graph.C: #include <config.h>.
6054 2003-09-08 Angus Leeming <leeming@lyx.org>
6058 * BufferView_pimpl.C:
6087 * toc.C: remove redundant using directives.
6089 2003-09-07 Angus Leeming <leeming@lyx.org>
6091 * LaTeXFeatures.h: remove #include "support/types.h".
6092 * ToolbarBackend.h: remove #include <algorithm>.
6093 * changes.h: remove #include <ctime>.
6094 * debug.h: remove #include <iosfwd>.
6095 * graph.h: remove #include "support/std_string.h".
6096 * lyx_main.h: remove #include <csignal>.
6097 * lyxlex_pimpl.h: remove #include <fstream>.
6098 * sgml.h: remove #include <algorithm>, <utility>.
6099 * toc.h: remove #include "support/std_ostream.h".
6100 Add #include <iosfwd>.
6102 2003-09-07 Angus Leeming <leeming@lyx.org>
6104 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6106 * converter.h: forward declare LatexRunParams.
6107 * encoding.h: remove #include "lyxrc.h".
6108 * lyxtext.h: remove #include "LColor.h".
6109 * lyxtextclass.h: remove #include "support/types.h".
6110 * trans.h: remove #include "tex-accent.h".
6111 * trans_mgr.h: remove #include "tex-accent.h".
6112 * insets/inset.h: remove #include "support/types.h", <vector>.
6113 * insets/insetcollapsable.h: remove #include "LColor.h".
6114 * insets/insetinclude.h: remove #include "dimension.h".
6115 * insets/insetlatexaccent.h: remove #include "dimension.h".
6116 * insets/insetoptarg.h:: remove #include "insettext.h".
6117 * insets/insettext.h: remove #include "dimension.h",
6118 <boost/shared_ptr.hpp>
6120 * insets/renderers.h: add #include "dimension.h".
6121 * insets/updatableinset.h: add #include "support/types.h".
6123 * many .C files: Associated changes.
6125 2003-09-06 Angus Leeming <leeming@lyx.org>
6127 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6128 one, inside testInvariant.
6130 * PrinterParams.C: new file.
6131 * PrinterParams.[Ch]: move the function bodies out of line.
6133 2003-09-06 Angus Leeming <leeming@lyx.org>
6135 * ParagraphParameters.h: forward declare ParameterStruct rather than
6136 including its header file.
6137 (depth): moved out-of-line.
6139 2003-09-06 Angus Leeming <leeming@lyx.org>
6141 * BufferView_pimpl.h:
6144 * lyxfunc.h: forward declare LyXKeySym rather than
6145 #include "frontends/LyXKeySym.h".
6147 * BufferView_pimpl.C:
6150 * lyxfunc.C: associated changes.
6152 2003-09-06 Angus Leeming <leeming@lyx.org>
6154 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6155 As a result, can remove the #include "insets/inset.h" from BufferView.h
6157 2003-09-06 Angus Leeming <leeming@lyx.org>
6159 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6160 As a result, can remove the #include "insets/inset.h" from BufferView.h
6162 2003-09-06 Angus Leeming <leeming@lyx.org>
6168 * bufferview_funcs.C:
6169 * BufferView_pimpl.C:
6174 * ParagraphParameters.C:
6179 * frontends/controllers/ControlDocument.C:
6180 * insets/insetcaption.C: rearrange the #includes into some sort of
6183 * buffer.h: remove #includes ErrorList.h, undo.h
6185 2003-09-06 Angus Leeming <leeming@lyx.org>
6187 * support/types.h: add a 'depth_type' typedef, used to store the
6188 nesting depth of a paragraph.
6191 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6192 defining explicitly.
6195 * paragraph_funcs.h:
6196 * ParagraphParameters.h:
6197 * sgml.h: use lyx::depth_type rather than Paragraph or
6198 ParameterStruct's depth_type.
6201 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6204 * BufferView_pimpl.C:
6206 * ParagraphParameters.C:
6209 * bufferview_funcs.C:
6216 * frontends/LyXView.C:
6217 * frontends/controllers/ControlDocument.C:
6218 * frontends/controllers/ControlErrorList.C:
6219 * insets/insetbibitem.C:
6220 * insets/insetbranch.C:
6221 * insets/insetcaption.C:
6222 * insets/insetcollapsable.C:
6223 * insets/insetenv.C:
6224 * insets/insetert.C:
6225 * insets/insetfloat.C:
6226 * insets/insetfoot.C:
6227 * insets/insetfootlike.C:
6228 * insets/insetnewline.C:
6229 * insets/insetquotes.C:
6230 * insets/insettabular.C:
6231 * insets/insettext.C:
6232 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6234 * frontends/controllers/ControlChanges.C: #include "changes.h".
6236 2003-09-06 Angus Leeming <leeming@lyx.org>
6238 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6239 than #including paragraph.h.
6242 * RowList.h: deleted. Superfluous.
6252 * insets/insettext.h: use ParagraphList_fwd.h rather than
6255 * paragraph.h: don't forward declare ParagraphList.
6258 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6259 rather than ParagraphList.h. paragraph.h is still needed for the
6260 Paragraph::depth_type parameters.
6262 * textcursor.h: enable it to compile stand-alone in light of the
6265 * bufferview_funcs.C:
6277 * frontends/controllers/ControlParagraph.C:
6278 * frontends/controllers/ControlTabular.C:
6279 * insets/insetmarginal.C:
6280 * insets/insetminipage.C:
6281 * insets/insetnote.C:
6282 * insets/insetoptarg.C: add header files needed to compile again.
6284 2003-09-06 Angus Leeming <leeming@lyx.org>
6286 * RowList_fwd.h: new file, forward-declaring Row rather than
6287 #including lyxrow.h.
6292 * insets/insettext.h: use it instead of RowList.h
6294 * bufferview_funcs.C:
6301 * text3.C: #include "RowList.h".
6303 2003-09-05 Angus Leeming <leeming@lyx.org>
6305 * factory.C (createInset):
6306 * vspace.C (c-tor): replace sscanf call with an istringstream.
6307 * ispell.C: re-add missing HP/UX headers.
6308 * lyxserver.C: re-add missing os2 headers.
6310 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6319 * text3.C: re-add missing system headers, needed for 2.95.2.
6321 2003-09-05 Angus Leeming <leeming@lyx.org>
6323 Changes most place everywhere due to the removal of using directives
6324 from support/std_sstream.h.
6326 2003-09-05 Angus Leeming <leeming@lyx.org>
6328 Replace LString.h with support/std_string.h,
6329 Lsstream.h with support/std_sstream.h,
6330 support/LIstream.h with support/std_istream.h,
6331 support/LOstream.h with support/std_ostream.h.
6333 Changes resulting throughout the tree.
6335 2003-09-05 Angus Leeming <leeming@lyx.org>
6337 * sgml.h: ensure that the header file can be compiled stand-alone.
6338 * *.C: strip out redundant #includes. (320 in total.)
6340 2003-09-04 Angus Leeming <leeming@lyx.org>
6342 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6343 here (from getPackages).
6345 * debug.[Ch]: add a new EXTERNAL tag.
6347 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6349 * text2.C (cursorEnd): simplify
6351 (getColumnNearX): adjust
6353 * text.C (computeBidiTables): adjust
6356 * rowpainter.C (paintChars): adjust
6357 (paintSelection): adjust
6358 (paintChangeBar): adjust
6361 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6363 (numberOfSeparators): adjust
6365 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6371 * text3.C: Restricts the mouse click functionality
6372 of insets like bibtex, include, toc and floatlist to the visible
6373 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6374 up the dialogs. Cursor has to be in front of the inset (i.e.
6375 start of row) for this to function.
6377 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6379 * bufferview_funcs.C (currentState): output row information
6381 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6383 * bufferview_funcs.C (currentState): output paragraph position
6385 2003-09-04 Angus Leeming <leeming@lyx.org>
6387 * FloatList.h: move out #include "Floating.h".
6388 * LaTeX.h: move out #include "DepTable.h".
6389 * LyXAction.h: move out #include "funcrequest.h".
6390 * buffer.h: move out #include "author.h", "iterators.h".
6391 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6392 * lyx_main.h: move out #include "errorlist.h".
6393 * lyxfunc.h: move out #include "FuncStatus.h".
6394 * lyxtext: move out #include "lyxcursor.h".
6395 * paragraph_pimpl.h: move out #include "counters.h".
6397 2003-09-03 Angus Leeming <leeming@lyx.org>
6399 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6400 preamble_snippets list, enabling us to add snippets to the preamble
6401 only if the snippet was not there already.
6403 2003-09-04 Angus Leeming <leeming@lyx.org>
6405 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6407 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6409 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6412 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6414 * BranchList.C: point fix, earlier forgotten
6416 2003-09-02 Angus Leeming <leeming@lyx.org>
6418 * box.C (contains): renamed from 'contained' after a fantastic
6421 2003-09-02 John Levon <levon@movementarian.org>
6427 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6429 2003-09-02 John Levon <levon@movementarian.org>
6431 * text2.C: simplification of cursorEnd(), including partial
6434 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6436 * buffer.C (readFile): add a space
6438 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6440 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6442 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6444 * buffer.C (readFile): new function, take a filename and a
6445 ParagraphList::iterator
6447 (readFile): adjust, make it private. don't use setStream, make
6448 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6449 always contain the filename.
6451 * BufferView.C (insertLyXFile): simplify and make it work for
6454 2003-08-30 John Levon <levon@movementarian.org>
6456 * Makefile.am: fix dist (from Kayvan)
6458 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6460 * most files: change to use const Buffer refs
6462 2003-08-27 André Pönitz <poenitz@gmx.net>
6464 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6465 on top of ownerPar().
6467 2003-08-27 John Levon <levon@movementarian.org>
6469 * funcrequest.C: properly initialise POD members
6471 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6473 * lyxtext.h (top_y): move top_y from here
6478 * BufferView_pimpl.[Ch]: to here
6479 * frontends/screen.C:
6480 * insets/insettabular.C:
6481 * insets/insettext.C: adjust
6482 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6484 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6487 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6489 2003-08-26 André Pönitz <poenitz@gmx.net>
6491 * paragraph_func.[Ch] (outerPar): new function
6494 * paragraph_funcs.C:
6495 * paragraph_funcs.h:
6496 * paragraph_pimpl.C:
6497 * text2.C: remove Inset::par_owner
6499 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6504 * text2.C: eliminates the needFullRow/display() stuff
6505 altogether, putting the logic in metrics/draw in the insets.
6507 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6509 * text2.C (redoParagraphInternal, redoParagraphs):
6510 * text.C (redoParagraph): add a call to updateRowPositions at the
6511 end of each 'metrics-like' call. Remove all others.
6512 (getRow): remove the 'y-computing' version.
6513 (getRowNearY): do not compute nor return the real y. Solve the
6514 'y < 0' problem and simplify.
6516 2003-08-22 Angus Leeming <leeming@lyx.org>
6518 * *.[Ch]: clean-up of licence and author blurbs.
6519 Also move config.h out of a few .h files and into a few .C files.
6521 2003-08-22 André Pönitz <poenitz@gmx.net>
6523 * lyxrow.[Ch]: add x_ and *fill_ members
6528 * text2.C: adjust/remove prepareToPrint() calls
6530 2003-08-22 André Pönitz <poenitz@gmx.net>
6532 * lyxrow.[Ch]: add end_ member
6534 * lyxrow_funcs.C: use LyXRow::end_
6536 * lyxtext.h (singleWidth): add LyXFont parameter
6539 * text2.C: adjust LyXText::singleWidth() calls
6541 * text.C (redoParagraph): simplify row breaking logic
6544 2003-08-19 André Pönitz <poenitz@gmx.net>
6546 * funcrequest.C: initialize button_ member
6549 * rowpainter.[Ch]: interface consolidation
6551 2003-08-18 André Pönitz <poenitz@gmx.net>
6554 * BufferView_pimpl.C:
6556 * paragraph_funcs.C:
6558 * text3.C: remove LyXScreen::draw() and fitCursor calls
6560 * BranchList.h: remove spurious semicolons
6562 * MenuBackend.C: fix branchlist related crash
6564 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6572 * bufferparams.[Ch]:
6576 * text3.C: implements the 'branch inset'
6577 idea. This allows the output of various versions of a document
6578 from a single source version, selectively outputing or suppressing
6579 output of parts of the text.
6580 This implementation contains a 'branch list editor' in a separate
6581 tab of the document settings dialog. Branches are user definable
6582 and have a "display colour" to distinguish them on-screen.
6584 ColorHandler was somewhat cleaned up.
6585 (1) make possible a dynamically growing LColor list by allowing
6586 the graphic context cache to grow along (vector);
6587 (2) eliminate an IMHO unnecessary step in colour allocation.
6589 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6591 * BufferView_pimpl.C: compile fix
6593 2003-08-15 André Pönitz <poenitz@gmx.net>
6595 * rowpainter.C: remove extra metrics calls
6597 * lyxtext.h: merge the two constructors into a single one,
6598 pass reference to owner's par list
6600 * BufferView_pimpl.C:
6604 2003-08-15 André Pönitz <poenitz@gmx.net>
6606 * lyxrow_funcs.[Ch]:
6609 * paragraph_funcs.C:
6614 * text_funcs.C: split LyXText::rowlist_ into individual
6615 Paragraph::rows_ chunks
6618 * BufferView_pimpl.[Ch]:
6621 * text3.C: remove toggleSelection()
6623 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6625 * bufferlist.C: beautify two alerts (shorter text of buttons)
6626 * buffer.C: Remove redundant ' ' from message
6628 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6629 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6630 rename VALIGN_CENTER to VALIGN_MIDDLE
6632 2003-08-11 André Pönitz <poenitz@gmx.net>
6634 * lyxtext.h (getPar):
6635 * text.C: new function
6637 2003-08-11 André Pönitz <poenitz@gmx.net>
6640 * tracer.[Ch]: remove unneeded files
6642 * InsetList.[Ch]: remove resizeInsetsLyXText()
6647 * text3.C: merge insertParagraphs() and appendParagraph()
6648 remove breakAgain(), update()
6650 * BufferView_pimpl.[Ch]:
6651 * bufferview_funcs.[Ch]:
6655 * tabular.C: adjust after text & InsetList changes.
6657 2003-08-08 André Pönitz <poenitz@gmx.net>
6659 * text.C (insertChar, backspace): replace rowlist fiddling
6660 with rebreak of full par
6663 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6664 checkParagraph, updateInset): removed
6666 2003-08-07 André Pönitz <poenitz@gmx.net>
6669 * text3.C: merge some LFUN handlers, remove dead code
6671 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6673 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6675 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6677 * text2.C (DEPM): fix part of bug 1255 and 1256
6679 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6681 * BufferView_pimpl.C (workAreaDispatch): change to use
6682 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6683 that are no mouse related.
6685 2003-08-05 André Pönitz <poenitz@gmx.net>
6688 * BufferView_pimpl.[Ch]:
6689 * bufferview_funcs.C:
6691 * text3.C: rip out "deep update"
6693 * textcursor.[Ch] (last_sel_cursor): remove unused member
6695 2003-08-04 André Pönitz <poenitz@gmx.net>
6698 * BufferView_pimpl.[Ch]:
6699 * ParagraphParameters.C:
6700 * bufferview_funcs.C:
6706 * text3.C: replace "complicated" BufferView::update(...) calls with
6709 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6711 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6713 * Makefile.am (lyx_SOURCES): add paper.h
6715 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6717 * Makefile.am: move things around so that both lyx-qt and
6718 lyx-xforms can be built (according to --with-frontend). Then lyx
6719 is a symbolic link to lyx-[firstfrontend]
6721 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6723 * Always use std::endl with lyxerr
6725 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6727 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6729 2003-08-01 André Pönitz <poenitz@gmx.net>
6732 * BufferView_pimpl.[Ch]:
6734 * text3.C: merge BufferView::repaint() and BufferView::update()
6736 2003-08-01 José Matos <jamatos@lyx.org>
6738 * buffer.[Ch]: file_format is no longer a buffer data element.
6740 2003-08-01 André Pönitz <poenitz@gmx.net>
6745 * text2.C: make redoParagraph more independent of current cursor
6747 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6749 * text2.C: remove unneeded members
6751 2003-07-30 André Pönitz <poenitz@gmx.net>
6753 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6755 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6756 create a single function...
6758 * paragraph_funcs.C (moveItem): ... here.
6761 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6763 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6765 * LColor.[Ch]: Add comment and greyedout logical colors.
6767 2003-07-30 André Pönitz <poenitz@gmx.net>
6769 * tabular.C: don't use Assert too heavily. This crashes where it
6772 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6774 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6775 is disabled (bug 1232)
6777 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6779 * factory.C: limited 'arg' scope
6781 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6783 * factory.C: fixed Note submenu issues
6785 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6787 * factory.C: submenu for Note/Comment/Greyedout
6789 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6792 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6794 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6797 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6798 greyedout. Patch provided by Jürgen Spitzmüller.
6800 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6802 * kbmap.C (read): fix error message when reading bind files
6804 2003-07-29 Angus Leeming <leeming@lyx.org>
6806 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6807 certainly does not do what it purports to do. I am doing it, and
6808 us, a favour by killing it.
6810 2003-07-28 José Matos <jamatos@lyx.org>
6812 * buffer.C (readBody, do_writeFile):
6813 * paragraph.C(readParagraph): \end_document replaces \the_end.
6815 2003-07-29 André Pönitz <poenitz@gmx.net>
6818 * BufferView_pimpl.[Ch]:
6822 * textcursor.[Ch]: remove toggleToggle & Co
6824 2003-07-28 José Matos <jamatos@fep.up.pt>
6826 * buffer.C (readParagraph):
6827 * params_func (readParToken, readParagraph):
6828 * paragraph.C (write): \layout -> \begin_layout.
6830 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6832 * lyxlex_pimpl.C (setFile): clean up slightly.
6834 * bufferparams.h: add compressed var
6836 * buffer_funcs.C (readFile): adjust for LyXLex change
6837 (newFile): ditto + simplify
6839 * buffer.C (writeFile): handle writing of compressed files
6841 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6842 Check if the file is compressed and set a bufferparm if so.
6844 * Makefile.am (lyx_LDADD): remove explicit -lz
6846 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6848 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6849 makeDocBookFile): put the real LyX version in the first line of
6853 * version.C.in: remove lyx_docversion
6855 * tabular.C (write_attribute): add a template-based version to
6856 write enums properly
6858 2003-07-28 André Pönitz <poenitz@gmx.net>
6863 * text3.C: use doubles again for x-coordinates. They are needed.
6865 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6867 * messages.C (getLocaleDir): use lyx_localedir()
6869 * lyxlex_pimpl.C (setFile): compress stuff
6871 * buffer.C (writeFile): add some compression stuff
6872 (do_writeFile): new func, dont call expliti close... will this
6875 * Makefile.am (lyx_LDADD): add -lz
6877 2003-07-28 José Matos <jamatos@fep.up.pt>
6879 * buffer.C: increment file format.
6880 * paragraph_funcs (readParagraph, readParToken):
6881 * paragraph.C (readParagraph): add \end_layout.
6883 2003-07-27 Angus Leeming <leeming@lyx.org>
6885 * Makefile.am: remove special casing for configure-time setting of
6886 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6888 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6889 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6891 2003-07-26 André Pönitz <poenitz@gmx.net>
6893 * paragraph_func.[Ch]:
6894 * paragraph.C (realizeFont): inline it whereever it is used
6899 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6902 2003-07-26 André Pönitz <poenitz@gmx.net>
6906 * text2.C: get rid of LyXText::need_break_row
6908 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6910 * toc.[Ch]: put namespace toc inside namespace lyx
6912 * MenuBackend.C (expandToc2): adjust for lyx::toc
6915 * lyxfunc.C (dispatch): adjust for lyx::find
6917 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6918 lyx::find instead. Reorganize a bit.
6919 (LyXReplace): rename to replace
6920 (LyXFind): rename to find
6922 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6925 2003-07-26 André Pönitz <poenitz@gmx.net>
6927 * text.C (setHeightOfRow): restrict scope of temporary variable
6929 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6930 code (never has been used?)
6932 2003-07-27 Asger Alstrup <alstrup@local>
6934 * text.C (fill): Optimise algorithm to exploit that we can reuse
6935 the LyXFont for many characters.
6936 (setHeightOfRow): Same thing.
6937 (rowBreakPoint): Same thing.
6939 2003-07-26 Asger Alstrup <alstrup@local>
6941 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6943 * text.C (singleWidth): Spurious font copying in hot-spot
6944 singleWidth avoided. Reorder tests for arabic for efficiency.
6946 * text.C (fill): handle empty paragraphs better.
6948 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6951 * encoding.h: add includes
6953 * lyxrc.C: remove reading of bind files
6955 * lyx_main.C (init): setup bindings and menus only if we have a
6958 * kbmap.C (read): new method. Do the actual reading of bind
6961 * converter.C (dvipdfm_options):
6964 (output): adapt PAPER_* enums.
6966 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6968 * bufferparams.h: remove paper-related enums from there
6970 * paper.h: New file. A trivial header file to hold paper-related
6971 enums. It should later expand to contain many paper-related
6974 * lyxrc.C: declare extern displayTranslator
6976 2003-07-27 José Matos <jamatos@fep.up.pt>
6978 * tabular.[Ch] (linuxdoc): add support for tables and figures
6981 2003-07-27 José Matos <jamatos@fep.up.pt>
6983 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6984 consistency in both functions.
6985 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6987 2003-07-26 Asger Alstrup <alstrup@local>
6989 * rowpainter.C (paintRows): Change algorithm to work directly on
6990 the insets rather than asking every character in the document
6991 whether its an inset.
6993 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6995 * buffer.C (openFileWrite): factorize some code
6997 2003-07-26 Angus Leeming <leeming@lyx.org>
7000 * lyx_main.[Ch]: replace occurances of system_tempdir with
7003 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7005 * rename Inset to InsetOld
7007 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7009 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7010 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7011 which I think is a bit clearer. EDIT is gone, since it was
7012 premature optimisation, and broken for mathed anyway.
7013 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7014 with cursor positioning in insets as well (math insets still do not
7015 work, but that's a different story anyway.) It mysteriously
7016 crashes sometimes with undo in the first paragraph, but I'm fairly
7017 confident that this is a compiler bug.
7019 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7021 * paragraph.C (Paragraph): adjust for new clone return type
7023 (copyIntoMinibuffer): ditto
7025 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7027 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7028 by not having a special case, and always doing a full rebreak of
7029 the document after undo.
7031 2003-07-23 Angus Leeming <leeming@lyx.org>
7033 * factory.C (createInset): InsetExternal::setParams now takes a
7036 2003-07-23 Angus Leeming <leeming@lyx.org>
7038 * factory.C (createInset): changed interface to the external and
7039 graphics mailers' string2params functions.
7041 2003-07-23 Angus Leeming <leeming@lyx.org>
7043 * factory.C (createInset): pass a
7044 Buffer const * parameter to InsetExternalMailer's string2params.
7046 2003-07-22 John Levon <levon@movementarian.org>
7048 * Thesaurus.h: include the right aiksaurus header
7050 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7052 * MenuBackend.C (expand): check menu shortcuts unconditionally
7054 2003-07-21 Angus Leeming <leeming@lyx.org>
7056 * factory.C (createInset): pass a
7057 buffer_path parameter to InsetGraphicsMailer's string2params.
7059 2003-07-21 Angus Leeming <leeming@lyx.org>
7061 * BufferView_pimpl.C (buffer):
7064 * lyxfunc.C (dispatch):
7065 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7066 rather than the grfx shortcut.
7068 2003-07-21 André Pönitz <poenitz@gmx.net>
7070 * rowpainter.C: remove unused variables
7073 * tabular_funcs.h: move to tabular.C
7074 * Makefile.am: adjust
7076 * tabular.[Ch]: basic optical cleaning
7078 * author.h: pass references, not values
7080 2003-07-18 André Pönitz <poenitz@gmx.net>
7088 * text3.C: two-phase drawing for InsetText and InsetTabular
7089 some float -> int changes.
7091 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7093 * lyx_main.C: fix the fix
7095 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7097 * lyx_main.C: fix a crash in batch mode if no files specified
7100 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7102 * format.[Ch] (papersize): moved to BufferParams
7103 * converter.[Ch] (dvips_options): moved to BufferParams
7104 (dvipdfm_options): moved to anon namespace
7105 * bufferparams.[Ch]: added above functions.
7107 2003-07-17 André Pönitz <poenitz@gmx.net>
7111 * text2.C: don't call inset->update() anymore
7113 * metricsinfo.[Ch]: add convenience constructor
7115 2003-07-16 André Pönitz <poenitz@gmx.net>
7120 * text2.C: replace the LyXCursor::irow_ member with
7121 on-demand computation of the value
7123 2003-07-16 John Levon <levon@movementarian.org>
7125 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7127 2003-07-15 André Pönitz <poenitz@gmx.net>
7130 * text2.C: remove no more needed refresh_row
7132 2003-07-15 André Pönitz <poenitz@gmx.net>
7137 * text3.C: refresh_status tristate -> need_update bool
7139 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7141 * lyxtext.h (init): remove reinit argument (act as if always true)
7142 * text2.C: adjust to that
7144 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7146 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7147 * text3.C: use it to delete selections in some cases
7148 (bugs 441, 673, 702, 954).
7150 2003-07-14 André Pönitz <poenitz@gmx.net>
7152 * rowpainter.[Ch]: reduce interface
7154 2003-07-14 André Pönitz <poenitz@gmx.net>
7156 * BufferView_pimpl.C:
7157 * text2.C: adjust after removing unused BufferView * argument
7159 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7161 * text2.C (init): fix a crash fired on resize
7163 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7165 * buffer.[Ch]: added new closing signal
7166 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7167 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7168 BufferView::Pimpl via the closing the signal
7170 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7172 * buffer.[Ch]: take out all bv-related from buffer
7174 * BufferView_pimpl.[Ch]: connect to new signals
7175 * CutAndPaste.C: removed useless asserts
7176 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7179 * lyxfunc.C: moved view-related funciontality from vc here
7180 * paragraph.C: removed outdated comments
7183 2003-07-10 André Pönitz <poenitz@gmx.net>
7185 * BufferView_pimpl.C:
7189 * text2.C: remove InsetText::InnerCache, clean up consequences
7191 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7193 * ispell.C: fix two typos in error messages
7195 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7197 * Extend Note inset to other forms of annotation like Comment
7198 and Greyedout. Right button click gives dialog.
7200 Files modified or added (+):
7204 * ControlNote.[Ch] +
7206 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7207 frontends/controllers
7211 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7213 * aspell.C: add missing namespace lyx::support
7215 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7217 * BufferView.[Ch] (newFile): Add
7218 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7219 * LaTeX.[Ch] (message): added this signal and use it
7220 * buffer.[Ch] (busy, message): added these signals and use them
7221 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7225 * importer.C: use buffer signals instead of direct bv calling
7226 * lyx_cb.[Ch] (ShowMessage): removed
7229 * paragraph_funcs.C:
7230 * text2.C: use buffer signals
7232 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7234 * introduce namespace lyx::graphics
7236 2003-07-02 André Pönitz <poenitz@gmx.net>
7238 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7240 2003-07-01 André Pönitz <poenitz@gmx.net>
7247 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7248 text*.C to text_func.C
7250 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7252 * introduce namespace lyx::support
7254 2003-06-30 André Pönitz <poenitz@gmx.net>
7259 * text.C: re-enable --with-included-string
7261 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7263 * textcursor.C: add <config.h>
7265 * text.C (getWord): remove const from word_location arg
7267 * lyxvc.C (getLogFile): fix const type order
7269 * lyxtext.h: remove const from word_location arg, add arg name
7271 * lyxlayout.h: currect type on labeltype.
7273 * importer.C: correct \file
7275 * converter.C (intToFormat): use std:: on ret val, ws changes
7277 * bufferlist.h: correct \file
7279 * buffer.C (makeLinuxDocFile): fix const type order
7280 (makeDocBookFile): ditto
7281 (fillWithBibKeys): use std:: on stdlib args.
7283 * CutAndPaste.C: fix authors.
7284 (availableSelections): use std:: on return vector
7286 2003-06-27 André Pönitz <poenitz@gmx.net>
7288 * BufferView_pimpl.C:
7289 * bufferview_funcs.C:
7297 * text3.C: remove LyXCursor::row_ member
7300 * text.C: rename fullRebreak() to partialRebreak() and implement
7301 a fullRebreak() that really bereks fully
7303 * textcursor.h: new struct for cursor-related data
7305 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7307 * lyx_main.C (LyX): get full path of document loaded on the
7310 2003-06-26 André Pönitz <poenitz@gmx.net>
7312 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7313 remove unused/broken operator>,<,>=.
7315 * text.C: remove only use of broken operator<= in an Assert().
7317 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7319 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7320 moved errorlist_.clear to showErrorList
7322 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7324 * converter.C (scanLog, runLaTeX):
7325 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7326 move the bv->showErrorList call to the callers
7327 * lyxfunc.C: i.e. here...
7329 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7330 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7331 namespace, the second to...
7332 * buffer_funcs (BufferFormat, parseErrors): added
7333 * errorlist.C (ErrorList(TeXErrors const &)): removed
7335 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7337 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7339 2003-06-24 "Garst R. Reese" <reese@isn.net>
7343 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7345 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7347 * version.C.in: change docversion to 1.4
7349 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7351 * buffer.C: fix a bug just introduced
7353 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7355 * buffer.[Ch]: added the parseError signal and use it, removed
7357 * BufferView.[Ch] (addError): moved to ...
7358 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7359 to the Buffer::parseError signal to catch (guess what) parse errors
7360 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7362 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7364 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7365 ability to create a buffer and to return an existing one from
7366 the list. Moved these functions to...
7367 * buffer_funcs.[Ch]: added
7368 * BufferView.[Ch] (loadLyXFile): added
7369 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7370 job removed from bufferlist::loadLyXFile.
7371 * buffer.C (setReadOnly): make it work without view
7372 (i.e added an if (users))
7374 2003-06-19 Angus Leeming <leeming@lyx.org>
7377 * LyXAction.C (init):
7378 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7379 with LFUN_DIALOG_SHOW <name> <data>.
7381 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7383 * CutAndPaste.C (availableSelections): small compilation fix for
7384 ancient (gcc 2.9x) compilers
7386 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7388 * text3.C (cursorNext): add tmp var
7390 * text2.C (updateCounters): for function calling out of for clause
7391 (replaceSelectionWithString): ditto
7392 (insertStringAsParagraphs): ditto
7393 (getColumnNearX): add tmp var
7394 (setCursorFromCoordinates): add tmp var
7395 (cursorDownParagraph): add tmp var
7396 (deleteEmptyParagraphMechanism): add tmp var
7398 * text.C (insertChar): add tmp var
7400 * rowpainter.C (paintDepthBar): add tmp var
7402 * CutAndPaste.C (availableSelections): potentially check all
7403 paragraphs in a cut to fill the shown strings.
7405 2003-06-18 André Pönitz <poenitz@gmx.net>
7407 * kbmap.[Ch]: use vector<> instead of list<>
7409 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7411 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7412 pasteSelection with index
7414 * text2.C (pasteSelection): modify, call pasteSelection with index
7416 * paragraph.C (asString): reimplement version with no interval to
7417 call the one with interval.
7419 * lyxtext.h: add index arg to pasteSelection
7421 * MenuBackend.C (MenuItem): handle PasteRecent
7422 (Menu::read::Menutags): add md_pasterecent
7424 (expandPasteRecent): new function
7427 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7429 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7431 (availableSelections): new function
7433 2003-06-17 Angus Leeming <leeming@lyx.org>
7435 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7437 2003-06-17 Angus Leeming <leeming@lyx.org>
7440 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7442 * lyxfunc.C (dispatch): invoke it.
7444 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7446 * iterators.C (operator++, ParPosition): reintroduce some
7447 const_cast for the benefit of older compilers.
7449 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7451 * text3.C (dispatch): do not modify clipboard when doing
7452 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7453 LFUN_DELETE_SKIP on a selection selection
7455 2003-06-16 André Pönitz <poenitz@gmx.net>
7461 * tabular.[Ch]: IU of clone() and getLabelList();
7463 2003-06-13 André Pönitz <poenitz@gmx.net>
7465 * tabular.h: compactification
7467 2003-06-12 André Pönitz <poenitz@gmx.net>
7471 * tabular_funcs.h: some renaming plus whitespace
7473 2003-06-12 André Pönitz <poenitz@gmx.net>
7476 * BufferView_pimpl.C:
7482 * toc.C: Return a Paragraph & for ParIterator::operator*()
7484 2003-06-11 John Levon <levon@movementarian.org>
7488 * ToolbarBackend.C: add "Toolbars" section and
7491 2003-06-10 Angus Leeming <leeming@lyx.org>
7494 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7496 * lyxfunc.C (dispatch): invoke it.
7498 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7500 * main.C: protect <ios> with HAVE_IOS
7501 (main): protect sync_with_stdio with HAVE_IOS
7503 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7505 * text2.C (cutSelection): adjust
7506 (pasteSelection): adjust
7508 * messages.C: handle get of empty string
7510 * main.C (main): use sync_with_stdio(false)
7512 * lyxfunc.C (dispatch): adjust
7514 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7515 (WriteAs): remove unneeded BufferView arg.
7517 * bufferparams.h: use correct types on papersize, papersize2 and
7520 * bufferparams.C (readToken): adjust for type
7521 (writeLaTeX): add missing cases to switch.
7523 * bufferlist.C (quitWriteBuffer): adjust
7526 * buffer.C (asciiParagraph): remove some commented code.
7528 * CutAndPaste.C: remove current_view extern variable.
7529 (cutSelection): add BufferParams arg.
7530 (eraseSelection): add BufferParams arg.
7531 (pasteSelection): add Buffer const & arg
7533 2003-06-07 John Levon <levon@movementarian.org>
7536 * paragraph_funcs.C:
7537 * paragraph_pimpl.C:
7541 * paragraph.C: allow InsetERT to freely space lines,
7542 and some consolidation of code
7544 2003-06-06 José Matos <jamatos@fep.up.pt>
7546 * buffer.C (makeDocBookFile): fix bug #821
7548 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7550 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7552 2003-06-04 Angus Leeming <leeming@lyx.org>
7554 * buffer.C: bump format to 224.
7556 2003-06-05 André Pönitz <poenitz@gmx.net>
7558 * text2.C (redoParagraphs): remove two const_cast<>
7560 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7562 * ParagraphList.h: remove last remnants of NO_STD_LIST
7564 2003-06-03 Angus Leeming <leeming@lyx.org>
7566 * factory.C (createInset): small change to the way InsetExternal's params
7569 2003-06-04 André Pönitz <poenitz@gmx.net>
7571 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7573 * paragraph_pimpl.h:
7574 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7576 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7578 * undo_funcs.C: make some simple cases of undo work again
7580 2003-06-03 John Levon <levon@movementarian.org>
7582 * ispell.C: HPUX doesn't have sys/select.h
7585 2003-06-03 John Levon <levon@movementarian.org>
7587 * CutAndPaste.C: update tabular and include inset
7592 * paragraph.C: remove owningBuffer(), don't pass Buffer
7595 * factory.C: insetGraphicsParams changed
7597 2003-06-02 John Levon <levon@movementarian.org>
7603 * text3.C: remove insetparent
7605 2003-06-02 John Levon <levon@movementarian.org>
7608 * buffer.C: fix inset_iterator.end(), move out of line
7611 2003-06-01 John Levon <levon@movementarian.org>
7613 * text3.C: use a proper cut/paste when doing inset
7614 insert (from Jürgen Spitzmüller)
7616 2003-06-01 John Levon <levon@movementarian.org>
7618 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7620 2003-05-30 André Pönitz <poenitz@gmx.net>
7622 * rowpainter.C: unify second drawing phase
7624 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7626 * trans_mgr.C: remove one case of current_view
7628 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7630 * paragraph_funcs.h: remove paragraph.h include
7632 * paragraph.h: delete NO_STD_LIST stuff
7634 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7636 * buffer.h: remove paragraph.h include
7638 * ParagraphList.C: delete file
7640 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7642 * toc.C (getTocList): adjust
7644 * paragraph_pimpl.C (validate): adjust
7646 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7648 * paragraph.C (Paragraph): adjust
7649 (getPositionOfInset): use const_iterator, adjust
7650 (bibitem): use const_iterator, adjust
7651 (setInsetOwner): adjust
7653 * iterators.C (operator++): adjust
7655 * InsetList.[Ch]: Replace selfmade iterator with standard
7656 vector::iterator also introduce const_iterator. Remove getPos,
7657 getInset and setInset from InsetTable. Adjust accordingly.
7659 * BufferView.C (lockInset): adjust
7660 (ChangeInsets): adjust
7662 * tabular.[Ch]: delete commented same_id functions
7664 2003-05-28 John Levon <levon@movementarian.org>
7666 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7668 2003-05-28 André Pönitz <poenitz@gmx.net>
7670 * metricsinfo.[Ch]: remove 'fullredraw' member
7672 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7674 * lyxtextclass.C (operator): remove caching.
7676 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7680 * text2.C (cursorBottom): adjust
7681 (setCounter): use ParagraphList::find, adjust
7683 * text.C (workWidth): use ParagraphList::find, adjust
7685 * lyxcursor.C (LyXCursor): adjust
7687 * buffer.C (inset_iterator): adjust
7689 * ParagraphList.h: make iterator(value_type) private, make
7690 ParagraphList a friend of iterator.
7692 * ParagraphList.C (find): new function
7694 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7696 2003-05-27 André Pönitz <poenitz@gmx.net>
7698 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7700 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7702 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7704 2003-05-26 John Levon <levon@movementarian.org>
7706 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7708 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7710 * remove same_id from function signatures, adjust.
7712 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7714 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7716 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7718 * paragraph.C (Paragraph): get rid of same_ids parameter
7720 * ParagraphList.C (insert): adjust
7723 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7725 * paragraph_funcs.C (breakParagraph): adjust
7726 (breakParagraphConservative): adjust
7728 * buffer.C (readParagraph): adjust
7730 * ParagraphList.C (insert): take a reference instead of a pointer
7733 * paragraph.[Ch] (id): new function
7735 * bufferlist.C (newFile): adjust
7737 * ParagraphList.C (ParagraphList): adjust
7739 (push_back): take a reference instead of a pointer.
7741 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7743 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7746 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7747 set else use old code.
7749 * ParagraphList.C: remove all NO_NEXT code and only compile this
7750 code of NO_STD_LIST is set.
7752 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7754 * BufferView_pimpl.C:
7764 * graphics/GraphicsConverter.C:
7765 * graphics/PreviewLoader.C: header adjustment
7767 2003-05-23 Angus Leeming <leeming@lyx.org>
7769 * LaTeXFeatures.[Ch] (useBabel): new method.
7770 * bufferparams.C (writeLaTeX): use it.
7772 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7774 * ParagraphList.h (set): remove unused function.
7776 2003-05-23 André Pönitz <poenitz@gmx.net>
7779 * BufferView_pimpl.C:
7783 * undo_funcs.C: setUndo reworked
7785 * iterators.[Ch]: add access to topmost ParagraphList
7787 * lyxtext.[Ch] (workWidth): add a const
7789 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7791 * texrow.[Ch] (increasePos): remove function
7792 * exporter.C (export): removed unused var and outdated comment
7794 2003-05-23 Angus Leeming <leeming@lyx.org>
7796 * latexrunparams.h: rename fragile as moving_arg.
7797 * paragraph.C (simpleTeXOnePar): ditto.
7798 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7800 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7802 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7804 (textUndoOrRedo): comment out a currently unused var.
7806 * paragraph.h (NO_NEXT): enable NO_NEXT
7808 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7810 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7812 * exporter.C (Export): adjust for removeAutoInsets removal.
7814 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7816 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7818 * BufferView.[Ch] (removeAutoInsets): delete function
7820 2003-05-22 Angus Leeming <leeming@lyx.org>
7822 * latexrunparams.h: add a free_spacing variable.
7824 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7825 to pass moving_arg, as the data is stored in runparams.fragile.
7827 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7828 to Inset::latexOptional or to simpleTeXOnePar.
7830 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7831 free_spacing arg to Inset::latexOptional.
7833 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7836 2003-05-22 Angus Leeming <leeming@lyx.org>
7838 * latexrunparams.h: add fragile and use_babel variables.
7840 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7841 * buffer.C (makeLaTeXFile): store this returned value in
7842 runparams.use_babel, thus passing it to the inset::latex methods.
7844 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7845 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7847 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7848 longer has a fragile arg, as it is stored in runparams.fragile.
7850 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7851 moving_arg parameter as the data is stored in runparams.fragile.
7853 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7854 a fragile parameter as the data is stored in runparams.fragile.
7856 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7858 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7860 2003-05-22 Angus Leeming <leeming@lyx.org>
7862 * latexrunparams.h: add a 'bool nice' which defaults to false.
7864 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7865 now encapsulated within runparams.
7867 * bufferlist.C (updateIncludedTeXfiles):
7868 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7870 2003-05-22 Angus Leeming <leeming@lyx.org>
7872 * latexrunparams.h: new file containing struct LatexRunParams.
7873 * Makefile.am: add new file.
7875 * LaTeX.[Ch] (c-tor, run):
7876 * buffer.[Ch] (makeLaTeXFile):
7877 * bufferlist.[Ch] (updateIncludedTeXfiles):
7878 * converter.C (convert, scanLog):
7879 * converter.[Ch] (runLaTeX):
7880 * exporter.C (Export):
7881 * paragraph.[Ch] (simpleTeXOnePar):
7882 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7883 * paragraph_funcs.[Ch] (latexParagraphs):
7884 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7885 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7886 pass around a LatexRunParams parameter.
7888 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7890 * paragraph.[Ch]: remove unused constructor
7892 * ParagraphList.C (erase): new function, taking two iterators
7894 2003-05-22 André Pönitz <poenitz@gmx.net>
7896 * undo_funcs.C: remove duplicated code
7898 * iterator.[Ch]: operator=
7900 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7902 * tabular.C (SetMultiColumn): ws changes
7904 * rowpainter.C (paintFirst): get rid of a ->previous
7906 * lyx_cb.C (getPossibleLabel): parlist simplification
7908 * BufferView.C (ChangeInsets): simplify slightly.
7910 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7912 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7913 * lfuns.h: new LFUN_SPACE
7914 * lyxfunc.C: protected space has a new lfun
7915 * paragraph_funcs.C: read new space insets
7917 * factory.C: handle new space insets
7919 2003-05-22 André Pönitz <poenitz@gmx.net>
7922 * BufferView_pimpl.C:
7925 * undo_funcs.C: return a ParIterator from getParFromID.
7927 * iterators.[Ch]: add two const's
7929 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7931 * toc.C (getTocList): adjust
7933 * iterators.[Ch]: rework for parlist
7935 * buffer.C (par_iterator_begin): adjust
7936 (par_iterator_end): adjust
7938 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7940 * BufferView.C (removeAutoInsets): adjust
7941 (ChangeInsets): adjust
7943 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7945 * text.C (top_y): fix bug 1110
7947 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7949 * errorlist.[Ch]: added
7952 * BufferView_pimpl.C:
7953 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7956 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7958 * Makefile.am: ensure that lyx is relinked upon changes to the
7959 various "convenience" libs.
7961 2003-05-20 Angus Leeming <leeming@lyx.org>
7963 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7964 files are compiled in alphabetical order again.
7966 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7968 2003-05-19 Angus Leeming <leeming@lyx.org>
7970 * gettext.[Ch]: remove "char const * _(char const *)".
7972 2003-05-19 André Pönitz <poenitz@gmx.net>
7974 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7983 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7985 2003-05-19 André Pönitz <poenitz@gmx.net>
7989 * lyxtextclass.[Ch]:
7991 * paragraph_funcs.[Ch]:
7993 * text3.C: more insetenv work
7995 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7997 * ParagraphParameters.C (params2string): small bug fixed
7999 2003-05-16 André Pönitz <poenitz@gmx.net>
8002 * bufferview_funcs.C: patch from Kornel Benko to prevent
8003 crash when _(...) is called twice in a statement
8005 2003-05-16 André Pönitz <poenitz@gmx.net>
8012 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8014 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8016 * lyx_main.C (init): remove spurious static_cast
8018 2003-05-14 André Pönitz <poenitz@gmx.net>
8020 * BufferView.C: fix format string
8022 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8024 * BufferView.[Ch] (insertErrors): removed
8025 * BufferView.[Ch] (showErrorList): added
8026 * buffer.C (runChkTeX):
8027 * converter.C (scanLog): call showErrorList instead of inserterrors
8029 2003-05-13 André Pönitz <poenitz@gmx.net>
8031 * BufferView_pimpl.C:
8033 * bufferview_func.C:
8040 * tabular_funcs.h: tostr() from its own header
8042 * ParagraphParameters.C:
8047 * text3.C: STRCONV()
8049 2003-05-12 André Pönitz <poenitz@gmx.net>
8052 * BufferView_pimpl.C:
8056 * ParagraphParameters.C:
8060 * bufferview_funcs.C:
8073 * paragraph_funcs.C:
8077 * text3.C: boost::format -> bformat all over the place
8080 2003-05-09 André Pönitz <poenitz@gmx.net>
8082 * LColor.[Ch]: Pimpl the #include <map> away
8084 2003-05-09 John Levon <levon@movementarian.org>
8086 * bufferlist.C: never remove emergency saves
8088 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8090 * Makefile.am: better lib building
8092 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8094 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8096 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8097 (simpleTeXSpecialChars): adjust
8098 (simpleTeXSpecialChars): adjust
8099 * paragraph.C (simpleTeXOnePar): adjust
8100 * buffer.C (makeLaTeXFile): adjust
8102 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8104 * text2.C (changeDepth): parlist cleanup
8105 (getColumnNearX): ditto
8107 * rowpainter.C (getLabelFont): parlist cleanup
8109 * bufferlist.C (newFile): parlist cleanup
8111 * CutAndPaste.C (eraseSelection): parlist cleanup
8113 * BufferView_pimpl.C (trackChanges): parlist cleanup
8116 * BufferView.C (lockInset): parlist cleanup.
8117 (ChangeInsets): ditto
8119 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8121 * CutAndPaste.h: Update file header.
8123 * CutAndPaste.C: Update file header.
8124 Store the parts cut out of the Document in a limited_stack.
8125 (copySelection): adjust
8126 (pasteSelection): new function, takes the index in the limited stack.
8127 (nrOfParagraphs): adjust
8128 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8129 simplify error inset insertion.
8130 (checkPastePossible): adjust
8132 2003-05-06 John Levon <levon@movementarian.org>
8134 * text2.C: don't cast wrap inset to float
8136 2003-05-05 André Pönitz <poenitz@gmx.net>
8139 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8141 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8142 few naked Paragraph *.
8144 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8146 * bufferparams.C: Output warning if a document with missing
8147 TeX document class is loaded
8148 * exporter.C: Disable TeX exports if the document class is missing
8151 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8152 isTeXClassAvailable()
8154 2003-05-03 John Levon <levon@movementarian.org>
8157 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8158 explicit cursor show/hide
8160 * BufferView_pimpl.h:
8161 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8162 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8164 * lyxfunc.C: hide cursor before dispatching.
8169 * text3.C: remove explicit cursor hides
8171 2003-05-02 André Pönitz <poenitz@gmx.net>
8173 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8176 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8179 * text2.C: tiny whitespace
8181 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8183 * undo_funcs.C: almost only ws changes.
8185 * ParagraphList.C (splice): just return if pl is empty.
8187 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8189 * ParagraphList.C (splice): new function.
8191 * CutAndPaste.C (pasteSelection): use it
8193 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8195 * CutAndPaste.C (pasteSelection): remove the last next and
8196 previous from this file.
8198 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8200 * CutAndPaste.C (pasteSelection): more clean up, user proper
8201 ParagraphList functions for pasteing.
8203 * ParagraphList.C (insert): new function, three arg insert
8205 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8207 * ParagraphList.C (insert): new function, three arg insert
8209 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8212 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8214 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8216 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8218 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8220 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8222 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8223 (copySelection): clean up a bit.
8224 (pasteSelection): use make_pair
8226 * ParagraphList.C (ParagraphList): implement copy constructor
8227 (operator=): implement, base on copy constructor.
8230 * paragraph.C (erase): return a bool
8232 * paragraph_pimpl.C (erasePos): remove function, move contents...
8233 (erase): ... here. Return a bool.
8234 (erase): call erase instead of erasePos.
8236 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8238 * ParagraphList.h: define PitPosPair
8239 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8240 ParagraphList, fix a bug on pasting multiple pars
8241 * text2.C: change interface to C&P
8243 2003-04-30 André Pönitz <poenitz@gmx.net>
8245 * undo_func.C: revert part of yesterday's patch 2
8247 2003-04-30 John Levon <levon@movementarian.org>
8249 * LColor.C: s/tabular/table/
8251 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8253 * text3.C (dispatch): do not convert iterator -> pointer
8254 * undo_funcs.C (setCursorParUndo): ditto
8255 * text_funcs.C (transposeChars): ditto
8257 * text2.C (setLayout): ws changes only
8259 * text.C (breakParagraph): do not convert iterator -> pointer
8261 (acceptChange): ditto
8262 (rejectChange): ditto
8267 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8270 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8272 * text3.C (gotoInset): YABG (yet another bad getChar)
8274 2003-04-29 André Pönitz <poenitz@gmx.net>
8276 * paragraph.h: make operator= private unimplemented as long as
8279 * ParagraphList.C: whitespace
8282 * paragraph_pimpl.[Ch]:
8283 * paragraph_funcs.C:
8285 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8288 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8290 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8292 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8293 * paragraph.[Ch] (erase):
8294 * paragraph_pimpl.[Ch] (erase): change return type and value
8295 * text2.C (cutSelection): some rework
8297 2003-04-28 John Levon <levon@movementarian.org>
8299 * bufferlist.C: changes for unsaved changes dialog
8301 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8303 * bufferlist.C (newFile): set language (messages_) for new
8306 * buffer.C (readFile): ws changes only.
8308 2003-04-28 André Pönitz <poenitz@gmx.net>
8313 * BufferView_pimpl.C:
8314 * BufferView.C: getParFromID related ParagraphList::iterator changes
8316 2003-04-28 André Pönitz <poenitz@gmx.net>
8318 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8321 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8323 * messages.C: remove one more localedir class variable.
8325 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8327 * messages.C (getLocaleDir): singleton generation function
8329 (Messages): add a default constructor.
8331 * main.C (main): do not setup localedir here, do not call
8334 * gettext.C (_): use it.
8335 (gettext_init): delete funciton
8337 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8339 * gettext.C (getLyXMessages): new singleton generating function.
8341 * buffer.C (updateDocLang): adjust
8343 * Makefile.am (messages.o): add target
8344 (main.o): remove target
8346 2003-04-27 John Levon <levon@movementarian.org>
8351 * lyxvc.C: specify cancel button in Alert::prompt
8353 2003-04-26 John Levon <levon@movementarian.org>
8358 * LyXAction.C: add LFUN_INSET_SETTINGS
8360 * lyxfunc.C: don't enable tabular-feature when there's
8361 just any locking inset
8363 2003-04-26 John Levon <levon@movementarian.org>
8365 * bufferlist.C: re-add Cancel to buffer close question
8367 * lyxfunc.C: fix import UI a bit
8369 2003-04-25 John Levon <levon@movementarian.org>
8371 * gettext.C: remove the broken asserts for now
8373 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8375 * messages.C: make case where setlocale cannot comply work better.
8377 * buffer.C (updateDocLang): new function
8378 (changeLanguage): use it
8381 * text2.C (setCounter): use B_ a bit.
8383 * lyxlayout.C (Read): be sure to trim the label strings.
8385 * messages.C (Messages): fix typo in comment
8387 * buffer.C (readFile): set message_ after file is loaded.
8388 (makeDocBookFile): remove double return
8389 (changeLanguage): reset message_ upon language change.
8390 (B_): new func, use this to get translated buffer strings.
8392 * main.C: add myself and Jean Marc as authors.
8394 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8396 * messages.[hC]: pimplify Messages, and three different pimpls to be
8397 used in different circumstances.
8399 * gettext.[Ch]: change for use with new message code.
8401 2003-04-24 André Pönitz <poenitz@gmx.net>
8403 * factory.C: support for eqref
8405 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8407 * messages.[Ch]: add missing char
8409 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8411 * messages.[Ch]: New files
8413 2003-04-18 John Levon <levon@movementarian.org>
8417 * BufferView_pimpl.C:
8421 * text2.C: remove layout-copy/paste (bug 778)
8423 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8425 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8427 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8429 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8430 if they succeed. Act accordingly.
8432 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8434 * text2.C (setCharFont): adjust
8435 (setCounter): adjust
8436 (insertStringAsLines): adjust
8438 * text.C (leftMargin): adjust
8439 (setHeightOfRow): adjust
8441 * rowpainter.C (paintFirst): adjust
8444 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8446 (isFirstInSequence): ditto
8447 (getEndLabel): ditto
8450 * paragraph.C (getParLanguage): comment out some hard stuff.
8452 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8454 (simpleDocBookOnePar): ditto
8455 (makeDocBookFile): use ParagraphList::iterator
8457 * CutAndPaste.C (pasteSelection): adjust
8459 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8461 * text2.C (getFont): adjust
8462 (getLayoutFont): adjust
8463 (getLabelFont): adjust
8465 * paragraph_funcs.C (TeXOnePar): adjust
8467 * buffer.C (simpleLinuxDocOnePar): adjust
8468 (simpleDocBookOnePar): adjust
8470 * CutAndPaste.C (pasteSelection): adjust
8472 * BufferView.C (getEncoding): adjust
8474 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8476 2003-04-16 John Levon <levon@movementarian.org>
8478 * lyxfind.C: use parlist stuff for search/changes
8480 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8482 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8484 * text2.C (deleteEmptyParagraphMechanism): adjust
8486 * text2.[Ch] (ownerParagraph): delete func (both of them
8488 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8490 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8492 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8494 * ParagraphList.C: prepare for NO_NEXT
8496 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8498 * text2.C (getFont): adjust
8499 (getLayoutFont): adjust
8500 (getLabelFont): adjust
8502 * paragraph.C (getFont): adjust
8503 (getLabelFont): adjust
8504 (getLayoutFont): adjust
8506 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8508 2003-04-15 John Levon <levon@movementarian.org>
8512 * lyx_main.C: handle Include in .ui files
8514 2003-04-15 John Levon <levon@movementarian.org>
8516 * MenuBackend.C: make the doc files length shorter
8519 * ToolbarBackend.C: handle toolbar placement flags,
8522 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8524 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8527 * paragraph_funcs.C (TeXOnePar): adjust
8529 * paragraph.C (getLabelFont): add outerfont arg, adjust
8530 (getLayoutFont): ditto
8531 (simpleTeXOnePar): adjust
8533 * paragraph_pimpl.C (realizeFont): delete func
8535 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8537 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8538 row argument, constify cur argument.
8540 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8542 * text2.C (getFont): adjust
8543 (getLayoutFont): adjust
8544 (getLabelFont): adjust
8546 * paragraph_funcs.C (TeXOnePar): adjust
8547 (outerFont): new func...
8548 (realizeFont): ...moved out from here, changed this to facilitate
8551 * paragraph.C (getFont): take outerfont as arg, adjust
8552 (simpleTeXOnePar): add outerfont arg, adjust
8554 * buffer.C (simpleLinuxDocOnePar): adjust
8555 (simpleDocBookOnePar): adjust
8557 * CutAndPaste.C (pasteSelection): adjust
8559 * BufferView.C (getEncoding): adjust
8561 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8563 * text2.C (setCharFont): adjust
8564 (setCounter): adjust
8566 * text.C (leftMargin): adjust
8567 (setHeightOfRow): adjust
8569 * rowpainter.C (paintFirst): adjust
8572 * paragraph_pimpl.C (realizeFont): adjust
8574 * paragraph.C (isFirstInSequence): move from here...
8575 * paragraph_funcs.C (isFirstInSequence): ...to here
8577 * paragraph.C (outerHook): move from here...
8578 * paragraph_funcs.C (outerHook): ...to here
8580 * paragraph.C (depthHook): move from here...
8581 * paragraph_funcs.C (depthHook): ...to here
8583 * paragraph.C (getEndLabel): move from here...
8584 * paragraph_funcs.C (getEndLabel): ...to here
8586 * text2.C (realizeFont): move from here...
8587 * paragraph_funcs.C (realizeFont): ...to here
8589 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8591 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8593 2003-04-14 Angus Leeming <leeming@lyx.org>
8595 * LColor.[Ch]: scrap LColor mathcursor.
8597 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8599 * lyxlex.[Ch] (text): delete function
8600 * trans.C (Load): adjust
8601 * paragraph_funcs.C (readParToken): adjust
8603 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8605 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8606 vector<char> instead of a char[].
8608 * lyxlex_pimpl.C (getString): adjust
8610 (lex): use getString
8614 * lyxlex.C (text): use pimpl_->getString()
8618 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8620 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8621 (makeFontEntriesLayoutSpecific): temp var for par.size()
8622 (setLayout): temp var for ownerParagraphs().end()
8623 (fullRebreak): temp var for rows().end()
8624 (selectionAsString): temp var for boost::next(startpit), realize
8625 that the while really is a regular for loop.
8626 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8627 setCursor in one place.
8628 (setParagraph): temp vr for ownerParagraphs().end()
8629 (updateCounters): make the while loop a for loop
8630 (cutSelection): temp var for ownerParagraphs().end()
8631 (updateInset): make the do {} while() a regular for loop
8632 (getCursorX): use temp vars
8633 (setCurrentFont): use temp vars
8634 (getColumnNearX): use temp vars
8636 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8638 * text.C (transformChar): use temp var for getChar
8639 (computeBidiTables): use temp var for row->par()
8640 (fill): move temp vars for row->par() and pit->layout() earlier in
8642 (labelFill): use temp var for row->par()
8643 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8644 asc and desc, realize that pit never changes and that firstpit is
8645 just a duplicate and not needed. Exchange rit->par() with pit in a
8647 (breakAgain): use a temp var for boost::next(rit)
8648 (breakAgainOneRow): ditto
8649 (breakParagraph): use a temp var for rows().begin()
8650 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8651 (cursorRightOneWord): use temp var for cursor.par() and
8652 cursor.pos(), remove usage of tmpcursor.
8653 (cursorLeftOneWord): use temp var for cursor.par() and
8654 cursor.pos() only set cur at end of function.
8656 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8658 * text.C, text2.C: exchange all usage of Paragraph::next with
8659 boost::next(ParagraphList::iterator)
8661 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8663 * text2.C (cursorTop): simplify implementation
8664 (cursorBottom): ditto
8665 (setParagraph): use ParagraphList::iterator
8666 (setCurrentFont): adjust
8667 (getColumnNearX): adjust
8668 (cursorRight): adjust
8669 (cursorLeft): remove usage of Paragraph::previous
8670 (cursorUpParagraph): ditto
8671 (deleteEmptyParagraphMechanism): slight cleanup
8673 * text.C (isBoundary): take a Paragraph const & instead of a
8675 (addressBreakPoint): ditto
8676 (leftMargin): remove usage of Paragraph::previous.
8677 (setHeightOfRow): ditto
8678 (cursorLeftOneWord): ditto
8679 (selectNextWordToSpellcheck): ditto
8682 (breakParagraph): remove one usage of Paragraph::next
8683 (redoParagraph): ditto
8684 (acceptChange): ditto
8685 (insertChar): adjust
8686 (rowBreakPoint): adjust
8688 * bufferview_funcs.C (toggleAndShow): adjust
8690 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8692 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8693 methods to access it.
8695 * text.C: Added updateRowPositions to compute all row positions.
8696 Make top_y and getRowNearY() to use the cached y position
8698 2003-04-11 John Levon <levon@movementarian.org>
8700 * text.C (rowBreakPoint): reintroduce the labelEnd
8701 checks, code copied from the row fill stuff. Deep voodoo.
8703 * text.C (fill): add a comment and debugging for the
8706 2003-04-11 John Levon <levon@movementarian.org>
8708 * text.C: make sure fullrow insets get wrapped to the next line,
8709 even when they're in a manual label
8711 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8713 * text2.C (insertParagraph): make it take ParagraphList::iterator
8715 (setLayout): make it return ParagraphList::iterator
8716 (redoParagraphs): ditto
8718 (checkParagraph): ditto
8720 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8722 * text2.C: adjust several funcs.
8723 (realizeFont): take a ParagraphList::iterator as arg.
8724 (getLayoutFont): ditto
8725 (getLabelFont): ditto
8726 (setCharFont): ditto
8728 * text.C: adjust several funcs.
8730 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8732 * text.C (selectNextWordToSpellcheck): don't accidentally
8735 2003-04-10 John Levon <levon@movementarian.org>
8737 * ToolbarBackend.C (getIcon): special handling for
8740 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8742 * text2.C (cursorRight): a getChar assert fixed
8744 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8746 * text2.C (getFont): change to take a ParagraphList::iterator
8747 instead of Paragraph*
8748 Adjust several functions.
8750 * text.C (transformChar): change to take a ParagraphList::iterator
8751 instead of Paragraph*
8752 (singleWidth): ditto
8753 Adjust several functions.
8755 * rowpainter.C: adjust several functions
8756 * rowpainter.h:store a ParagraphList::iterator and not a
8760 2003-04-09 John Levon <levon@movementarian.org>
8765 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8766 and the "help" bits as well
8768 2003-04-09 John Levon <levon@movementarian.org>
8771 * ToolbarBackend.C: allow multiple toolbars
8773 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8775 * undo_funcs.C (setCursorParUndo): adjust
8777 * text_funcs.C (transposeChars): adjust
8779 * text3.C (gotoNextInset): adjust
8782 * text2.C (setLayout): adjust
8783 (changeDepth): adjust
8785 (redoParagraphs): adjust
8786 (selectionAsString): adjust
8787 (setParagraph): adjust
8788 (insertInset): adjust
8789 (cutSelection): adjust
8790 (copySelection): adjust
8791 (pasteSelection): adjust
8792 (insertStringAsLines): adjust
8793 (updateInset): adjust
8794 (setCursor): change to take a ParagraphList::iterator parameter
8795 (setCursorIntern): change to take a ParagraphList::iterator parameter
8796 (setCurrentFont): adjust
8797 (cursorLeft): adjust
8798 (cursorRight): adjust
8799 (deleteEmptyParagraphMechanism): adjust
8801 * text.C (breakParagraph): adjust
8802 (insertChar): adjust
8803 (acceptChange): adjust
8804 (rejectChange): adjust
8805 (selectNextWordToSpellcheck): adjust
8806 (changeCase): adjust
8810 * lyxfind.C (SearchForward): adjust
8811 (SearchBackward): adjust
8812 (nextChange): adjust
8814 * lyxcursor.C (par): adjust
8816 * lyxcursor.h: store a ParagraphList::iterator instead of a
8819 * lyx_cb.C (getPossibleLabel): adjust
8821 * bufferview_funcs.C (toggleAndShow): adjust
8823 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8826 * BufferView.C (removeAutoInsets): adjust
8827 (lockedInsetStoreUndo): adjust
8829 2003-04-09 John Levon <levon@movementarian.org>
8831 * ToolbarBackend.C: try icon without argument
8832 if with argument fails
8834 2003-04-08 John Levon <levon@movementarian.org>
8837 * ToolbarBackend.C: add getIcon(), handle tooltip,
8838 and change from "Icon" to "Item".
8840 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8842 * BufferView.C (lockInset): another bad getchar crunched
8844 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8846 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8849 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8851 * lyxfind.C (searchForward, searchBackwards): bug 782
8853 2003-04-07 John Levon <levon@movementarian.org>
8855 * paragraph.C: remove dead comment
8857 * text.C: remove troublesome depth-fiddling code
8858 in leftMargin() and rightMargin() (bug 1017)
8860 * text.C: fix breaking of rows in nested lists
8863 * text2.C (updateCounters): fix up depth values
8866 2003-04-07 John Levon <levon@movementarian.org>
8868 * BufferView_pimpl.C: clear message when doc finishes resizing,
8869 and after a mouse event
8871 * lyxfunc.C: clear message after exiting inset
8873 2003-04-07 John Levon <levon@movementarian.org>
8875 * bufferview_funcs.C: show math status not outside
8876 status in the statusbar
8878 2003-04-07 John Levon <levon@movementarian.org>
8880 * lyxfunc.C: note status changed after a depth change
8882 2003-04-04 Angus Leeming <leeming@lyx.org>
8884 * LaTeX.h: move AuxInfo operator==, != out of line.
8885 Remove LaTeX virtual destructor; nothing derives from it.
8886 Move operator()() out of public area and rename it startscript().
8887 Change protected for private.
8889 2003-04-04 Angus Leeming <leeming@lyx.org>
8892 * text2.C: remove unneeded #includes.
8894 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8896 * text2.C (dEPM): fix the heigth of the next row
8898 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8900 * text.C: squashed an invalid getChar requester + some ws changes
8902 2003-04-03 John Levon <levon@movementarian.org>
8904 * bufferview_funcs.h:
8905 * bufferview_funcs.C:
8908 * text2.C: make getStatus work for the env depth lfuns
8910 2003-04-03 John Levon <levon@movementarian.org>
8912 * bufferview_funcs.h:
8913 * bufferview_funcs.C:
8916 * text2.C: parlistize decDepth(), by merging it with incDepth()
8918 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8920 * lyxrow.h: store a ParagraphList::iterator instead of a
8921 Paragraph* and adjust other class functions to suit.
8923 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8926 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8928 * text2.C (setCursor): do not anchor to cursor row for the time being
8930 2003-04-02 John Levon <levon@movementarian.org>
8937 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8939 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8941 * paragraph.h: make ParagraphList and ParagraphList::iterator
8942 friends of Paragraph.
8944 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8946 * ParagraphList.C: Use the private next_ and previous_ from
8949 2003-04-01 John Levon <levon@movementarian.org>
8953 * Makefile.am: rename, remove defaults gunk
8956 * MenuBackend.C: remove defaults gunk
8959 * Languages.C: remove defaults gunk
8962 * lyx_main.C: error out if files couldn't be found.
8964 2003-04-02 John Levon <levon@movementarian.org>
8966 * text2.C: make incDepth() use parlist
8968 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8970 * undo_funcs.C (firstUndoParagraph): adjust
8972 * text3.C (gotoInset): adjust
8973 (dispatch): adjust, and rewrite loop.
8975 * text2.C (init): adjust, and rewrite loop.
8976 (redoParagraphs): adjust
8977 (updateInset): adjust, and rewrite loop.
8978 (deleteEmptyParagraphMechanism): adjust
8980 * tabular.C (LyXTabular): adjust
8981 (SetMultiColumn): adjust
8984 * lyxtext.[Ch] (ownerParagraph): delete function
8985 (ownerParagraphs): new function returns a ParagraphList.
8987 * BufferView.C (removeAutoInsets): adjust
8988 (insertErrors): adjust
8989 (setCursorFromRow): adjust
8991 2003-04-01 Angus Leeming <leeming@lyx.org>
8993 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8996 2003-04-02 John Levon <levon@movementarian.org>
9002 * text_funcs.C: make transposeChars a free function
9004 * lyxrow_funcs.C: remove wrong comment
9006 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9009 * rowpainter.C: adjust
9014 * lyxrow_funcs. [Ch]: new files
9016 * lyxrow.[Ch]: remove next and previous pointers
9017 (next,previous): remove accessor functions
9018 (isParEnd): move to lyxrow_funcs
9019 (lastPos): move to lyxrow_funcs
9020 (nextRowIsAllInset): move to lyxrow_funcs
9021 (lastPrintablePos): move to lyxrow_funcs
9022 (numberOfSeparators): move to lyxrow_funcs
9023 (numberOfHfills): move to lyxrow_funcs
9024 (numberOfLabelHfills): move to lyxrow_funcs
9025 (hfillExpansion): move to lyxrow_funcs
9029 * bufferview_funcs.C (toggleAndShow): adjust
9031 * RowList.h: Remove class RowList from file leave just a
9034 * RowList.C: delete file
9036 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9039 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9041 * text3.C (cursorPrevious): adjust
9042 (cursorNext): adjust
9045 * text2.C (redoHeightOfParagraph): adjust
9046 (redoDrawingOfParagraph): adjust
9049 * text.C (breakParagraph): adjust
9050 (insertChar): adjust
9053 * rowpainter.C (RowPainter): adjust
9054 (leftMargin): simplify and adjust
9055 (most rowpainter functions): adjust.
9057 * rowpainter.h: store the row as RowList::iterator not as Row*
9059 * lyxcursor.C (row): taka RowList::iterator as arg
9062 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9065 2003-04-01 Angus Leeming <leeming@lyx.org>
9067 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9068 stuff like bool Bool.
9070 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9072 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9075 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9077 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9080 * lyxtext.h (rows): drop one version and leve a const variant that
9081 returns a RowList::iterator.
9083 2003-03-31 Angus Leeming <leeming@lyx.org>
9085 * text.C (fill): ensure that the signature is the same as that in the
9088 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9090 * text2.C (redoParagraphs): adjust
9091 (updateCounters): adjust
9092 (checkParagraph): adjust
9093 (getColumnNearX): adjust and reformat a bit.
9095 * text.C (top_y): adjust
9097 (leftMargin): adjust
9098 (prepareToPrint): adjust
9100 (getRowNearY): adjust
9102 * lyxtext.h: make rowlist_ mutable.
9104 * RowList.h: add const_iterator
9105 * RowList.C: adjust for RowList::const_iterator.
9107 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9110 2003-03-31 John Levon <levon@movementarian.org>
9113 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9115 * lyx_main.C: set default fonts from using lyx_gui funcs
9117 * exporter.C: pdf_mode moved from lyxrc
9120 * lyxfunc.C: changes from above
9122 2003-03-31 John Levon <levon@movementarian.org>
9124 * lyx_main.C: fix to the last fix
9126 2003-03-31 John Levon <levon@movementarian.org>
9128 * bufferlist.C: "Load original" -> "Load Original"
9134 * format.C: more Alert cleanups
9136 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9138 * text2.C (removeParagraph): make it take a RowList::iterator as
9140 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9141 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9143 * text.C (anchor_row): make it take a RowList::iterator as arg,
9145 (computeBidiTables): make it take a const reference to Row instead
9146 of Row pointer, adjust.
9147 (leftMargin): make it take a RowList::iterator as arg, adjust.
9148 (rowBreakPoint): adjust
9149 (breakAgainOneRow): make it take a RowList::iterator as arg,
9151 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9153 * bufferview_funcs.C (toggleAndShow): adjust
9155 2003-03-30 John Levon <levon@movementarian.org>
9159 * boost-inst.C: moved to support
9161 * several files: changes as a result
9163 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9165 * text2.C (LyXText): adjust.
9167 (removeRow): make it take a RowList::iterator as arg, adjust.
9168 (fullRebreak): adjust
9169 (deleteEmptyParagraphMechanism): adjust
9170 (clearPaint): adjust
9173 * text.C (top_y): adjust
9174 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9175 (breakAgain): make it take a RowList::iterator as arg, adjust.
9176 (breakParagraph): adjust
9177 (insertChar): adjust
9180 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9181 need_break_row, and refresh_row.
9183 * text3.C (dispatch): adjust
9185 * text2.C (checkParagraph): adjust
9187 (setCursorFromCoordinates): adjust
9189 * text.C (top_y): adjust
9191 (getRow): make it return a RowList::iterator, adjust
9192 (getRowNearY): make it return a RowList::iterator, adjust
9194 * text2.C (init): adjust
9195 (insertRow): remove function
9196 (insertParagraph): adjust
9197 (redoParagraphs): adjust
9198 (fullRebreak): adjust
9199 (updateCounters): adjust
9201 * text.C (top_y): rewrite to use RowList iterators.
9203 (setHeightOfRow): rewrite to sue RowList iterators.
9204 (appendParagraph): adjust
9205 (breakAgain): adjust
9206 (breakAgainOneRow): adjust
9207 (breakParagraph): adjust
9209 (getRowNearY): adjust, and remove commented code.
9211 * lyxtext.h (firstRow): delete function
9212 (lastRow): delete function
9213 (rows): new function (const and non-const versions.)
9214 (insertRow): delete function
9216 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9218 2003-03-29 John Levon <levon@movementarian.org>
9220 * BufferView_pimpl.C: always update scrollbar top
9221 because pasting text when we're anchored could mean we
9222 miss an update altogether
9224 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9226 * text2.C (init): use rowlist_.end() and not 0.
9227 (insertRow): change to take a RowList::iterator as arg, adjust
9229 (insertParagraph): change to take a RowList::iterator as arg,
9231 (redoParagraphs): remove some debug msgs.
9233 * text.C (appendParagraph): change to take a RowList::iterator
9234 arg, adjust for this.
9235 (breakAgain): add an assert
9236 (breakAgainOneRow): ditto
9238 2003-03-29 John Levon <levon@movementarian.org>
9240 * text2.C: do not clear selection after inc/decDepth
9243 2003-03-29 John Levon <levon@movementarian.org>
9246 * buffer.C: fix broken strerrors according to Lars
9248 2003-03-29 John Levon <levon@movementarian.org>
9250 * converters.C: more Alert cleanups
9252 2003-03-29 John Levon <levon@movementarian.org>
9254 * bufferview_funcs.C: remove pointless Alert
9256 * buffer.C: fix confusing error message when
9257 a template is chmoded 000
9259 2003-03-29 John Levon <levon@movementarian.org>
9263 * BufferView_pimpl.C: Alert fixes
9267 * tabular-old.C: remove unused table compat reading
9269 2003-03-29 John Levon <levon@movementarian.org>
9274 * lyx_cb.C: more Alert cleanups
9276 * lyxfunc.C: don't allow chktex if not latex document
9278 2003-03-29 John Levon <levon@movementarian.org>
9282 * buffer.C: warnings pushed down from support/,
9285 2003-03-29 John Levon <levon@movementarian.org>
9287 * lyxfunc.C: safety check for C-r (revert)
9289 2003-03-29 John Levon <levon@movementarian.org>
9292 * bufferlist.C: several UI fixes using Alert::prompt.
9293 Fix the pointless looping quit code. Fix stupid revert
9298 * lyx_cb.C: use Alert::prompt
9300 * lyx_main.C: remove a silly question
9302 * lyxfunc.C: remove a couple of silly questions,
9305 2003-03-28 John Levon <levon@movementarian.org>
9307 * text2.C: fix bug 974 (End on empty par)
9309 2003-03-28 John Levon <levon@movementarian.org>
9311 * BufferView_pimpl.C:
9313 * lfuns.h: remove do-nothing math greek lfuns
9315 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9317 * lyxgluelength.h (isValidGlueLength): add default arg on
9318 parameter 2. Remove default arg from friend in class.
9320 * lyxlength.h (isValidLength): add default arg on parameter 2.
9321 Remove default arg from friend in class.
9323 * text2.C (LyXText): adjust, initialize refresh_row.
9327 (insertParagraph): adjst
9328 (redoParagraphs): adjust
9329 (fullRebreak): adjust
9330 (updateCounters): adjust
9331 (deleteEmptyParagraphMechanism): first attempt at fixing a
9334 * text.C (top_y): adjust
9335 (setHeightOfRow): adjust
9337 (getRowNearY): adjust
9339 * lyxtext.h: include RowList.h
9340 (~LyXText): not needed anymore, deleted.
9341 (firstRow): modify for RowList
9342 (lastRow): new function
9343 Delete firstrow and lastrow class variables, add a Rowlist
9344 rowlist_ class variable.
9346 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9349 * RowList.C (insert): fix case where it == begin().
9351 2003-03-26 Angus Leeming <leeming@lyx.org>
9353 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9354 the thesaurus dialog.
9356 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9358 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9360 * RowList.[Ch]: new files
9362 * ParagraphList.C (erase): handle the case where it == begin
9365 2003-03-25 John Levon <levon@movementarian.org>
9369 * aspell.C: add new aspell support
9372 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9375 2003-03-25 Angus Leeming <leeming@lyx.org>
9378 * LyXAction.C (init): new LFUN_INSET_INSERT.
9380 * BufferView_pimpl.C (dispatch): split out part of the
9381 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9383 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9386 2003-03-25 Angus Leeming <leeming@lyx.org>
9388 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9390 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9393 * text3.C: remove useless row->height(0)
9395 2003-03-25 John Levon <levon@movementarian.org>
9399 * text3.C: rename the refreshing stuff to better names
9401 2003-03-24 John Levon <levon@movementarian.org>
9403 * BufferView_pimpl.h:
9404 * BufferView_pimpl.C: update layout choice on a mouse
9407 2003-03-23 John Levon <levon@movementarian.org>
9409 * Makefile.am: fix commandtags.h reference
9411 2003-03-22 John Levon <levon@movementarian.org>
9413 * BufferView_pimpl.C:
9418 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9420 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9423 * text.C: take the rtl methods out of line
9425 2003-03-21 André Pönitz <poenitz@gmx.net>
9427 * metricsinfo.[Ch]: new files containing structures to be passed around
9428 during the two-phase-drawing...
9430 2003-03-21 André Pönitz <poenitz@gmx.net>
9432 * lyxtextclass.C: read 'environment' tag.
9434 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9436 * text2.C (removeRow): fix bug 964
9438 2003-03-20 John Levon <levon@movementarian.org>
9442 * text2.C: paint cleanups. Inset::update() dropped font
9445 2003-03-19 John Levon <levon@movementarian.org>
9447 * lyxfunc.C: only fitcursor/markDirty if available()
9449 2003-03-19 John Levon <levon@movementarian.org>
9451 * commandtags.h: rename to ...
9453 * lfuns.h: ... this, and renumber / cleanup
9455 2003-03-19 John Levon <levon@movementarian.org>
9457 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9458 fit the cursor after an lfun
9462 * BufferView_pimpl.h:
9463 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9465 * LyXAction.C: layout-character should have ReadOnly
9467 * ParagraphParameters.C:
9469 * bufferview_funcs.C:
9476 * undo_funcs.C: changes from above
9478 2003-03-18 John Levon <levon@movementarian.org>
9480 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9481 remove it from update()
9483 * lyxfunc.C: update layout choice after an lfun
9485 * text3.C: remove extra updateLayoutChoice()s
9487 2003-03-18 John Levon <levon@movementarian.org>
9489 * text.C: top_y change means full repaint, fix
9490 a drawing bug with cursor movement
9492 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9496 * text2.C: anchor row on setCursor
9498 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9500 * lyxtext.h: remove almost all mutable keywords
9503 * text3.C: remove const keywords accordingly
9505 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9507 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9509 (TeXEnvironment): ditto
9512 2003-03-17 John Levon <levon@movementarian.org>
9514 * text.C (rowBreakPoint): remove attempt to fix displayed
9515 math insets inside a manual label
9517 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9519 * lyxtext.h: remove BufferView* as first arg from almost all class
9521 * other files: adjust.
9523 2003-03-17 John Levon <levon@movementarian.org>
9527 * text2.C: more paint cleanups
9529 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9532 * rowpainter.C: remove "smart" background painting code
9534 2003-03-16 John Levon <levon@movementarian.org>
9539 * text3.C: add helper functions for setting refresh_row/y
9541 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9543 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9544 newline inset which *can* get inserted in the pass_thru layouts.
9545 This is primarily for literate documents.
9547 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9549 * buffer.C: increment LYX_FORMAT to 223
9551 2003-03-14 André Pönitz <poenitz@gmx.net>
9553 * textclass.h: prepare for environment handling, ws changes
9554 * lyxlayout.C: read latexheader and latexfooter tags
9556 2003-03-14 John Levon <levon@movementarian.org>
9558 * text2.C: rewrite ::status() a bit
9560 2003-03-13 John Levon <levon@movementarian.org>
9562 * lyxtext.h: add some docs
9564 2003-03-13 John Levon <levon@movementarian.org>
9569 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9571 2003-03-13 John Levon <levon@movementarian.org>
9573 * text3.C: fix appendix redrawing
9575 2003-03-13 John Levon <levon@movementarian.org>
9577 * text.C (setHeightOfRow):
9579 * rowpainter.C: make appendix mark have the text
9580 "Appendix" so the user knows what it is
9583 * LColor.C: s/appendixline/appendix/ from above
9585 2003-03-13 John Levon <levon@movementarian.org>
9587 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9589 * text.C: fix a getChar(pos) bug properly
9591 2003-03-13 Angus Leeming <leeming@lyx.org>
9594 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9595 Probably only temporary. Let's see how things pan out.
9597 * BufferView.C (unlockInset):
9598 * BufferView_pimpl.C (fitCursor):
9599 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9601 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9602 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9604 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9605 new functions that convert ParagraphParameters to and from a string.
9607 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9608 BufferView::Pimpl's dispatch.
9609 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9611 2003-03-13 André Pönitz <poenitz@gmx.net>
9615 * factory.C: make it aware of InsetEnv
9617 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9619 * text2.C (setCursor): never ask for one past last
9620 (setCursor): add some debugging messages.
9622 * text.C (singleWidth): never ask for one past last
9623 (singleWidth): ditto
9625 (rightMargin): ditto
9626 (rowBreakPoint): ditto
9627 (setHeightOfRow): ditto
9628 (prepareToPrint): ditto
9630 * rowpainter.C (paintBackground): never ask for one past last
9631 (paintText): never ask for one past last
9633 * paragraph_pimpl.C (getChar): make the assert stricter, never
9634 allow the one past last pos to be taken
9636 * paragraph.C (getChar): ws changes only
9638 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9639 (numberOfSeparators): ditto
9640 (numberOfHfills): ditto
9642 2003-03-12 John Levon <levon@movementarian.org>
9648 * paragraph_funcs.C: fix per-buffer authorlists
9650 2003-03-12 John Levon <levon@movementarian.org>
9652 * text.C: fix newline in right address
9654 2003-03-12 Angus Leeming <leeming@lyx.org>
9656 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9657 duplicate those in LyXFunc::dispatch.
9661 * ToolbarDefaults.C:
9662 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9663 Add LFUN_FONTFREE_UPDATE.
9665 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9666 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9668 * bufferview_func.[Ch]: several new functions to facilliate
9669 transfer of data to and from the character dialog.
9671 2003-03-12 John Levon <levon@movementarian.org>
9676 * paragraph_funcs.C:
9677 * paragraph_pimpl.C:
9681 * text3.C: remove META_NEWLINE in favour of an inset
9684 * rowpainter.C: remove paintNewline (done by inset)
9686 2003-03-12 John Levon <levon@movementarian.org>
9688 * paragraph_pimpl.C: complain about bad getChar()s
9689 for a while at least
9691 2003-03-12 John Levon <levon@movementarian.org>
9694 * buffer.C: move paragraph read into a separate function,
9695 a little renaming to reflect that.
9698 * bufferparams.C: remove the author_ids map, not necessary now
9701 * factory.C: moved Buffer::readInset to here
9703 * paragraph_funcs.h:
9704 * paragraph_funcs.C: readParagraph free function moved from
9707 * tabular.C: name change
9709 2003-03-12 John Levon <levon@movementarian.org>
9712 * ParagraphParameters.C: move par params input to
9715 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9716 behave like a normal read from the stream wrt reading
9717 a line vs. a \\token
9719 2003-03-12 John Levon <levon@movementarian.org>
9722 * ParagraphParameters.h:
9723 * ParagraphParameters.C: move output code to a
9726 2003-03-12 John Levon <levon@movementarian.org>
9728 * BufferView.C (insertLyXFile):
9731 * tabular.C: use a parlist iterator for creating the
9734 2003-03-12 John Levon <levon@movementarian.org>
9736 * buffer.C: make current_change static local not
9739 2003-03-12 John Levon <levon@movementarian.org>
9741 * buffer.C: fix insertStringAsLines for change tracking
9743 2003-03-12 John Levon <levon@movementarian.org>
9750 * bufferparams.C: move author list into params. Rename some
9751 functions. Move the header reading into a separate token
9752 loop. Move the header token reading into BufferParams.
9754 2003-03-12 John Levon <levon@movementarian.org>
9756 * changes.C: put debug inside lyxerr.debugging() checks
9758 2003-03-11 André Pönitz <poenitz@gmx.net>
9760 * factory.C: make it aware of InsetHFill
9762 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9764 * buffer.C (latexParagraphs): move function from here...
9765 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9768 2003-03-10 Angus Leeming <leeming@lyx.org>
9770 * LyXAction.C (init): fix bug in poplating array with multiple entries
9771 with the same LFUN (spotted by JMarc).
9773 2003-03-10 John Levon <levon@movementarian.org>
9776 * text2.C: move getColumnNearX() near its
9779 2003-03-10 John Levon <levon@movementarian.org>
9781 * text.C: fix break before a minipage
9783 2003-03-10 John Levon <levon@movementarian.org>
9785 * text.C: fix the last commit
9787 2003-03-09 John Levon <levon@movementarian.org>
9791 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9792 bug 365 (don't break before insets unless needed). Don't
9793 return a value > last under any circumstances.
9795 2003-03-09 Angus Leeming <leeming@lyx.org>
9797 * BufferView_pimpl.C (trackChanges, dispatch): call
9798 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9800 2003-03-09 Angus Leeming <leeming@lyx.org>
9802 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9803 than Dialogs::showAboutlyx().
9805 2003-03-09 Angus Leeming <leeming@lyx.org>
9807 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9808 than Dialogs::showTabularCreate().
9810 2003-03-09 John Levon <levon@movementarian.org>
9814 * text2.C: 3rd arg to nextBreakPoint was always the same.
9817 2003-03-08 John Levon <levon@movementarian.org>
9824 * text2.C: Remove the "main" bit from the "main body"
9827 2003-03-08 John Levon <levon@movementarian.org>
9829 * text.C (leftMargin): The left margin of an empty
9830 manual label paragraph should not include the label width
9833 * text.C (prepareToPrint): don't attempt to measure hfills
9834 for empty manual label paragraphs - the answer should be 0
9836 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9838 * CutAndPaste.C: remove commented code and reindent.
9840 2003-03-08 John Levon <levon@movementarian.org>
9843 * lyxfunc.C: move reloadBuffer()
9846 * BufferView.C: to here
9848 * lyxvc.C: add comment
9851 * vc-backend.C: call bv->reload() to avoid
9852 getStatus() check on MENURELOAD
9854 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9856 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9857 to an old format .dep file.
9859 2003-03-07 Angus Leeming <leeming@lyx.org>
9861 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9862 when the LFUN_MOUSE_RELEASE should have been handled by
9863 inset->localDispatch.
9865 2003-03-07 Angus Leeming <leeming@lyx.org>
9867 * BufferView_pimpl.C (dispatch):
9868 * LyXAction.C (init):
9869 * ToolbarDefaults.C (init):
9871 * lyxfunc.C (getStatus):
9872 remove LFUN_INSET_GRAPHICS.
9874 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9876 2003-03-07 Angus Leeming <leeming@lyx.org>
9879 * LyXAction.C (init):
9880 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9882 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9885 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9887 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9888 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9890 2003-03-07 Angus Leeming <leeming@lyx.org>
9892 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9895 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9897 * ParagraphList.C (front): new function
9900 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9902 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9903 and top_row_offset_. removed var first_y.
9905 * text2.C (LyXText, removeRow):
9907 * BufferView_pimpl.C:
9908 use these methods instead of using first_y
9910 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9912 * text2.C (pasteSelection): adjust for checkPastePossible
9914 * CutAndPaste.C: remove Paragraph * buf and replace with
9915 ParagraphList paragraphs.
9916 (DeleteBuffer): delete
9917 (cutSelection): change the tc type to textclass_type
9918 (copySelection): change the tc type to textclass_type
9919 (copySelection): adjust for ParagraphList
9920 (pasteSelection): change the tc type to textclass_type
9921 (pasteSelection): adjust for Paragraphlist
9922 (nrOfParagraphs): simplify for ParagraphList
9923 (checkPastePossible): simplify for ParagraphList
9924 (checkPastePossible): remove unused arg
9926 * ParagraphList.C (insert): handle the case where there are no
9929 * CutAndPaste.h: make CutAndPaste a namespace.
9931 * text3.C (dispatch): adjust
9933 * text.C (breakParagraph): add a ParagraphList as arg
9935 * paragraph_funcs.C (breakParagraph): change to take a
9936 BufferParams and a ParagraphList as args.
9937 (breakParagraphConservative): ditto
9938 (mergeParagraph): ditto
9939 (TeXDeeper): add a ParagraphList arg
9940 (TeXEnvironment): ditto
9943 * buffer.C (readLyXformat2): adjust
9944 (insertStringAsLines): adjust
9945 (latexParagraphs): adjust
9947 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9948 (cutSelection): adjust
9949 (pasteSelection): adjust
9951 * BufferView_pimpl.C (insertInset): adjust
9953 2003-03-05 Angus Leeming <leeming@lyx.org>
9956 * LyXAction.C (init):
9957 * BufferView_pimpl.C (dispatch):
9958 * lyxfunc.C (getStatus):
9959 remove LFUN_CHILD_INSERT.
9961 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9963 2003-03-05 Angus Leeming <leeming@lyx.org>
9966 * LyXAction.C (init):
9967 * src/factory.C (createInset):
9968 * lyxfunc.C (getStatus):
9969 * text3.C (dispatch):
9970 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9972 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9974 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9976 * ParagraphList.C (insert): handle insert right before end()
9977 (erase): fix cases where it can be first or last paragraph.
9979 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9981 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9982 Paragraph::next and Paragraph::previous
9985 * text.C (breakParagraph): adjust
9987 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9988 BufferParams& as arg.
9989 (breakParagraph): use ParagraphList::insert
9990 (breakParagraphConservative): take a Buffer* instead of a
9991 BufferParams& as arg.
9992 (breakParagraphConservative): use ParagraphList::insert.
9994 * buffer.C (insertStringAsLines): un-const it
9995 (insertStringAsLines): adjust
9997 * ParagraphList.C (insert): new function
9999 * CutAndPaste.C (pasteSelection): adjust
10001 * text.C (backspace): adjust
10003 * tabular.C (SetMultiColumn): adjust
10005 * CutAndPaste.C (cutSelection): adjust
10006 (pasteSelection): adjust
10008 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10009 Buffer const * as arg
10011 * ParagraphList.C (erase): new function
10012 * paragraph_funcs.C (mergeParagraph): use it
10013 (mergeParagraph): make it take a Buffer* instead of a
10014 BufferParams* as arg
10016 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10018 (breakParagraphConservative): ditto
10020 * paragraph.h: remove the breakParagraph friend
10022 * paragraph.C (eraseIntern): new function
10023 (setChange): new function
10025 * paragraph_funcs.C (mergeParagraph): make it take a
10026 ParagraphList::iterator instead of a Paragraph *, adjust
10029 * paragraph.h: move an #endif so that the change tracking stuff
10030 also works in the NO_NEXT case.
10032 2003-03-04 Angus Leeming <leeming@lyx.org>
10035 * LyXAction.C: new LFUN_INSET_MODIFY.
10037 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10038 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10040 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10042 * several files: ws changes only
10044 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10045 (TeXEnvironment): ditto
10048 * buffer.C (makeLaTeXFile): adjust
10049 (latexParagraphs): make it take ParagraphList::iterator as args
10051 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10053 * buffer.C (latexParagraphs): adjust
10055 * paragraph.C (TeXOnePar): move function...
10056 (optArgInset): move function...
10057 (TeXEnvironment): move function...
10058 * paragraph_pimpl.C (TeXDeeper): move function...
10059 * paragraph_funcs.C: ...here
10061 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10063 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10065 * buffer.C (readInset): remove compability code for old Figure and
10068 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10070 * buffer.C: ws changes
10073 * BufferView_pimpl.C: ditto
10076 * bufferlist.h: ditto
10080 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10082 * converter.[Ch]: split into itself +
10085 * Makefile.am: += graph.[Ch] + format.[Ch]
10092 * lyxrc.C: added #include "format.h"
10094 2003-02-27 Angus Leeming <leeming@lyx.org>
10096 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10099 * factory.C (createInset): add "label" to the factory.
10101 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10102 string and do no more.
10104 2003-02-27 Angus Leeming <leeming@lyx.org>
10107 * LyXAction.C (init):
10108 * factory.C (createInset):
10109 * BufferView_pimpl.C (dispatch):
10110 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10112 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10114 * lyxfunc.C (dispatch):
10115 * text3.C (dispatch): pass name to params2string.
10117 2003-02-26 Angus Leeming <leeming@lyx.org>
10119 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10121 Rearrange the ~includes. Strip out the unnecessary ones.
10123 * factory.C (createInset): reformat.
10124 create new insets for the various LFUN_XYZ_APPLY lfuns.
10126 2003-02-26 John Levon <levon@movementarian.org>
10129 * lyxrow.C: add isParStart,isParEnd helpers
10131 * paragraph.h: make isInserted/DeletedText take refs
10133 * paragraph_funcs.h:
10134 * paragraph_funcs.C: remove #if 0'd code
10139 * text.C: use lyxrow helpers above.
10140 Move draw and paint routines to RowPainter.
10141 Make several methods use refs not pointers.
10142 Make backgroundColor() const.
10143 Add markChangeInDraw(), isInInset().
10144 Merge changeRegionCase into changeCase.
10145 Make workWidth() shouldn't-happen code into an Assert.
10148 * rowpainter.C: new class for painting a row.
10151 * vspace.C: make inPixels take a ref
10153 2003-02-26 Angus Leeming <leeming@lyx.org>
10155 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10158 2003-02-25 John Levon <levon@movementarian.org>
10160 * ispell.C: give the forked command a more accurate name
10162 2003-02-22 John Levon <levon@movementarian.org>
10165 * toc.C: make TocItem store an id not a Paragraph *
10168 2003-02-21 Angus Leeming <leeming@lyx.org>
10170 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10171 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10172 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10173 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10174 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10175 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10177 * BufferView_pimpl.C (dispatch):
10178 * LyXAction.C (init):
10179 * factory.C (createInset):
10180 * lyxfunc.C (getStatus, dispatch):
10181 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10183 2003-02-21 Angus Leeming <leeming@lyx.org>
10185 * BufferView_pimpl.C (MenuInsertLyXFile):
10186 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10187 * lyxfunc.C (menuNew, open, doImport):
10188 no longer pass a LyXView & to fileDlg.
10190 2003-02-21 Angus Leeming <leeming@lyx.org>
10192 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10193 * LyXAction.C: change, BIBKEY to BIBITEM.
10194 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10195 Change InsetBibKey to InsetBibitem.
10196 Change BIBKEY_CODE to BIBITEM_CODE.
10197 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10198 * factory.C: replace insetbib.h with insetbibitem.h.
10199 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10200 * paragraph.C: replace insetbib.h with insetbibitem.h.
10201 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10202 Change bibkey() to bibitem().
10203 * text.C: remove insetbib.h.
10204 * text2.C: replace insetbib.h with insetbibitem.h.
10205 change bibkey() to bibitem().
10206 * text3.C: remove insetbib.h.
10207 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10209 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10211 * lyxrc.C (output): enclose user email in quotes (in case there are
10214 2003-02-18 John Levon <levon@movementarian.org>
10216 * buffer.h: add std::
10218 2003-02-17 John Levon <levon@movementarian.org>
10224 * pspell.C: reworking. Especially in ispell, a large
10225 number of clean ups and bug fixes.
10227 * lyxfunc.C: fix revert to behave sensibly
10229 2003-02-17 André Pönitz <poenitz@gmx.net>
10232 * commandtags.h: new LFUN_INSERT_BIBKEY
10242 * paragraph_func.C: remove special bibkey handling
10244 2003-02-17 John Levon <levon@movementarian.org>
10246 * text.C (Delete): fix case where delete at the end of
10247 the very first paragraph would not merge the pars
10249 2003-02-17 John Levon <levon@movementarian.org>
10251 * lyxrow.C: fix lastPrintablePos()
10253 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10255 * bufferparams.C (writeLaTeX): add a std:here
10257 * buffer.C: and remove a using directive there
10259 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10261 * buffer.C (makeLaTeXFile): move the code that generates the
10264 * bufferparams.C (writeLaTeX): ... in this new method
10266 * LaTeXFeatures.C (getEncodingSet): make const
10267 (getLanguages): make const
10269 * MenuBackend.C (binding): returns the binding associated to this
10271 (add): sets the status of each item by calling getStatus. Adds
10273 (read): add support for OptSubMenu
10274 (expand): remove extra separator at the end of expanded menu
10276 2003-02-15 John Levon <levon@movementarian.org>
10279 * BufferView_pimpl.C:
10281 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10282 inset code that had no actual effect. Remove unneeded status
10285 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10287 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10290 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10292 * text.C (drawLengthMarker): also draw an arrow marker for
10293 symbolic lengths (medskip...)
10295 2003-02-14 John Levon <levon@movementarian.org>
10298 * tabular.C: better method names
10300 2003-02-14 John Levon <levon@movementarian.org>
10302 * BufferView_pimpl.C:
10307 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10308 it's a more accurate name. Remove some pointless uses.
10310 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10312 * text2.C (LyXText): change order of initilizers to shut off
10315 2003-02-14 John Levon <levon@movementarian.org>
10317 * buffer.C: use ParIterator for getParFromID()
10321 * paragraph_pimpl.h:
10322 * paragraph_pimpl.C: remove unused getParFromID()
10324 2003-02-14 John Levon <levon@movementarian.org>
10326 * buffer.C: remove some very old #if 0'd parse code
10328 2003-02-13 John Levon <levon@movementarian.org>
10332 * text2.C: move hfillExpansion(), numberOfSeparators(),
10333 rowLast(), rowLastPrintable(), numberofHfills(),
10334 numberOfLabelHfills() ...
10337 * lyxrow.C: ... to member functions here.
10342 * text.C: remove LyXText::beginningOfMainBody(), and call
10343 p->beginningOfMainBody() directly. Move the check for
10344 LABEL_MANUAL into the latter.
10351 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10357 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10358 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10360 2003-02-13 John Levon <levon@movementarian.org>
10362 * CutAndPaste.C: remove debug
10364 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10366 * paragraph.C (asString): remove two unused variables
10368 * lyxtextclass.C (readTitleType):
10370 (LyXTextClass): handle new members titletype_ and titlename_
10372 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10374 2003-02-09 John Levon <levon@movementarian.org>
10377 * buffer.C: replace hand-coded list with a map for the dep clean
10379 2003-02-08 John Levon <levon@movementarian.org>
10381 * LaTeX.C: consolidate code into showRunMessage() helper
10383 2003-02-08 John Levon <levon@movementarian.org>
10388 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10389 and pass the size in explicitly
10391 * BufferView_pimpl.h:
10392 * BufferView_pimpl.C:
10394 * BufferView.C: add getCurrentChange()
10396 * BufferView_pimpl.h:
10397 * BufferView_pimpl.C: handle change lfuns
10399 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10400 for changes. Mark pasted paragraphs as new.
10402 * support/lyxtime.h:
10403 * support/lyxtime.C:
10404 * DepTable.C: abstract time_t as lyx::time_type
10407 * LColor.C: add colours for new text, deleted text, changebars
10409 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10410 package use "usenames" option.
10414 * LyXAction.C: add change lfuns
10418 * author.C: author handling
10421 * buffer.C: add a per-buffer author list, with first entry as
10422 current author. Handle new .lyx tokens for change tracking. Output
10423 author list to .lyx file. Output dvipost stuff to .tex preamble.
10424 Bump lyx format to 222.
10427 * bufferlist.C: add setCurrentAuthor() to reset current author details
10431 * bufferparams.C: add param for tracking
10433 * bufferview_funcs.C: output change info in minibuffer
10437 * changes.C: add change-tracking structure
10440 * debug.C: add CHANGES debug flag
10443 * lyxfind.C: add code for finding the next change piece
10446 * lyxrc.C: add user_name and user_email
10449 * lyxrow.C: add a metric for the top of the text line
10452 * text.C: implement accept/rejectChange()
10455 * text.C: paint changebars. Paint new/deleted text in the chosen
10456 colours. Strike through deleted text.
10460 * paragraph_pimpl.h:
10461 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10462 in the current change to the insert functions. Rework erase to
10463 mark text as deleted, adding an eraseIntern() and a range-based
10464 erase(). Implement per-paragraph change lookup and
10467 * paragraph_funcs.C: Fixup paste for change tracking.
10469 * tabular.C: mark added row/columns as new.
10471 * text.C: fix rowLast() to never return -1. Don't allow
10472 spellchecking of deleted text. Track transpose changes. Don't
10473 allow paragraph break or merge where appropriate.
10475 * text2.C: leave cursor at end of selection after a cut.
10477 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10479 * text.C (getLengthMarkerHeight):
10480 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10481 visible on screen too.
10483 2003-02-07 John Levon <levon@movementarian.org>
10485 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10487 2003-02-05 Angus Leeming <leeming@lyx.org>
10489 * lyxserver.C (read_ready): revert my patch of 11 September last year
10490 as it sends PC cpu through the roof. Presumably this means that
10491 the lyxserver will no longer run on an Alpha...
10493 2003-01-30 Angus Leeming <leeming@lyx.org>
10495 * factory.C (createInset): create an InsetCommandParam of type "index"
10496 and use it to 'do the right thing'.
10498 * text2.C (getStringToIndex): ensure that cursor position is always
10499 reset to the reset_cursor position.
10501 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10503 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10506 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10510 * lyxfunc.C: Output messages with identical spelling, punctuation,
10513 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10515 * MenuBackend.C (expandFormats): List only viewable export formats
10518 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10521 * lyxfunc.C (getStatus): Make sure that formats other than
10522 "fax" can also be disabled
10524 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10526 * text3.C (dispatch): put the lfuns that insert insets in 3
10527 groups, and call doInsertInset with appropriate arguments.
10528 (doInsertInset): new function, that creates an inset and inserts
10529 it according to some boolean parameters.
10531 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10533 * buffer.C (readFile): remember to pass on 'par' when calling
10534 readFile recursively.
10536 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10538 * MenuBackend.C (expandFormats): add "..." to import formats.
10540 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10542 * paragraph.C (asString): Remove XForms RTL hacks.
10544 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10545 * buffer.C: fix typo
10547 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10549 * Makefile.am (LIBS): delete var
10550 (lyx_LDADD): add @LIBS@ here instead.
10552 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10554 * Clarify the meaning of "wheel mouse jump"
10556 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10558 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10561 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10563 * importer.C (Loaders): do not preallocate 3 elements in the
10564 vector, since one ends up with 6 elements otherwise
10566 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10568 * DepTable.C (write): write the file name as last element of the
10569 .dep file (because it may contain spaces)
10570 (read): read info in the right order
10572 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10574 * paragraph_pimpl.C (simpleTeXBlanks):
10575 (simpleTeXSpecialChars):
10576 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10578 * tabular.C (latex): add some missing case statements. Reindent.
10580 * MenuBackend.C (expandToc): remove unused variable.
10582 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10591 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10594 2003-01-05 John Levon <levon@movementarian.org>
10597 * BufferView.C: add getEncoding()
10600 * kbsequence.C: do not store last keypress
10603 * lyxfunc.C: store last keypress here instead. Pass encoding
10606 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10608 * lyx_main.C (init): remove annoying error message when following
10609 symbolic links (bug #780)
10611 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10613 * text.C (insertChar):
10614 * lyxrc.C (getDescription): remove extra spaces
10616 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10618 * lyxrc.C (getDescription): remove extra spaces
10620 2002-12-20 John Levon <levon@movementarian.org>
10622 * text3.C: hack fix for page up/down across tall rows
10624 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10626 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10629 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10631 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10632 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10633 thesaurus is not compiled in
10635 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10637 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10639 2002-12-16 Angus Leeming <leeming@lyx.org>
10642 * lyx_main.C (init): remove override_x_deadkeys stuff.
10644 2002-12-12 John Levon <levon@movementarian.org>
10646 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10647 insert. Only remove shift modifier under strict
10650 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10652 * MenuBackend.C (expandToc): fix crash.
10654 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10656 * MenuBackend.C (expandToc): gettext on float names.
10658 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10660 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10661 implement bool empty() [bug 490]
10663 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10665 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10667 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10669 * several files: ws changes
10671 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10673 * text2.C (setCounter): clean up a bit, use boost.format.
10674 (updateCounters): initialize par upon declaration.
10676 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10677 if the layout exists. We do not just store the layout any more.
10678 (SwitchLayoutsBetweenClasses): use boost.format
10680 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10682 * converter.C (convert): if from and to files are the same, use a
10683 temporary files as intermediary
10685 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10688 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10690 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10692 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10694 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10696 * tabular.C (asciiPrintCell): use string(size, char) instead of
10699 * sgml.C (openTag): fix order of arguments to string constructor
10702 * lyxfunc.C (dispatch): use boost.format
10704 * lots of files: change "c" -> 'c'
10706 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10708 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10710 2002-11-25 Angus Leeming <leeming@lyx.org>
10712 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10714 * lyx_main.C (init): compile fix.
10716 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10718 * lyx_cb.C (start): boost.formatify
10719 do not include <iostream>
10721 * lengthcommon.C: ws only
10723 * boost-inst.C,BoostFormat.h: add more explict instantations
10725 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10727 * lots of files: handle USE_BOOST_FORMAT
10729 2002-11-21 John Levon <levon@movementarian.org>
10731 * pspell.C: fix compile
10733 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10735 * lyxfunc.C (dispatch): use boost::format
10739 * lyxfont.C (stateText): use boost::format
10741 * lyx_main.C (LyX): use boost::format
10743 (queryUserLyXDir): ditto
10744 (readRcFile): ditto
10746 (typedef boost::function): use the recommened syntax.
10748 * importer.C (Import): use boost::format
10750 * debug.C (showLevel): use boost::format
10752 * converter.C (view): use boost::format
10757 * bufferview_funcs.C (currentState): use boost::format
10759 * bufferlist.C (emergencyWrite): use boost::format
10761 * buffer.C (readLyXformat2): use boost::format
10762 (parseSingleLyXformat2Token): ditto
10764 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10766 * LaTeX.C (run): use boost::format
10768 * Chktex.C (scanLogFile): use boost::format
10770 * BufferView_pimpl.C (savePosition): use boost::format
10771 (restorePosition): ditto
10772 (MenuInsertLyXFile): ditto
10774 * BoostFormat.h: help file for explicit instation.
10776 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10778 * tabular.C (latex): Support for block alignment in fixed width
10781 2002-11-17 John Levon <levon@movementarian.org>
10783 * BufferView_pimpl.C:
10785 * lyxfunc.C: split filedialog into open/save
10787 2002-11-08 Juergen Vigna <jug@sad.it>
10789 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10790 by my last patch (hopefully).
10792 2002-11-08 John Levon <levon@movementarian.org>
10801 * toc.C: ParConstIterator, and use it (from Lars)
10803 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10805 * lyxtextclass.[Ch]: revise and add doxygen comments
10807 2002-11-07 John Levon <levon@movementarian.org>
10809 * text.C: fix progress value for spellchecker
10811 * toc.C: fix navigate menu for insetwrap inside minipage
10813 * paragraph_funcs.C: added FIXME for suspect code
10815 2002-11-07 John Levon <levon@movementarian.org>
10817 * BufferView_pimpl.C: fix redrawing of insets
10820 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10822 * text2.C (updateCounters): fix bug 668
10824 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10826 * text3.C (dispatch): Do not make the buffer dirty when moving the
10829 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10831 * vc-backend.C: STRCONV
10832 (scanMaster): ditto
10834 * text2.C (setCounter): STRCONV
10836 * paragraph.C (asString): STRCONV
10838 * lyxlength.C (asString): STRCONV
10839 (asLatexString): ditto
10841 * lyxgluelength.C (asString): STRCONV
10842 (asLatexString): ditto
10844 * lyxfunc.C (dispatch): STRCONV
10847 * lyxfont.C (stateText): STRCONV
10849 * importer.C (Import): STRCONV
10851 * counters.C (labelItem): STRCONV
10852 (numberLabel): ditto
10853 (numberLabel): remove unused ostringstream o
10858 * bufferview_funcs.C (currentState): STRCONV
10860 * buffer.C (readFile): STRCONV
10861 (asciiParagraph): ditto
10862 (makeLaTeXFile): ditto
10864 * Spacing.C (writeEnvirBegin): STRCONV
10866 * LaTeXFeatures.C (getLanguages): STRCONV
10867 (getPackages): ditto
10869 (getBabelOptions): ditto
10870 (getTClassPreamble): ditto
10871 (getLyXSGMLEntities): ditto
10872 (getIncludedFiles): ditto
10876 (scanAuxFile): ditto
10879 * LString.h: add the STRCONV macros
10881 * BufferView_pimpl.C (savePosition): STRCONV
10882 (restorePosition): ditto
10883 (MenuInsertLyXFile): ditto
10885 * vc-backend.C (scanMaster): change from submatch[...] to
10888 * funcrequest.C: include config.h
10890 * factory.C: include config.h
10892 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10894 * box.C: include config.h
10896 * LaTeX.C (scanAuxFile): change from submatch[...] to
10900 2002-10-25 Angus Leeming <leeming@lyx.org>
10902 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10904 * ispell.[Ch] (setError): new method.
10905 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10906 Use setError() insetead of goto END.
10908 * lyx_cb.C (AutoSave): move out child process into new class
10911 2002-10-30 John Levon <levon@movementarian.org>
10913 * text3.C: make start appendix undoable
10915 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10917 * lyxlength.C (inPixels): Fix returned value.
10919 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10922 2002-10-24 Angus Leeming <leeming@lyx.org>
10924 * lyxgluelength.h: no need to forward declare BufferParams
10925 or BufferView, so don't.
10927 2002-10-21 John Levon <levon@movementarian.org>
10929 * BufferView.C: menuUndo ->undo, redo
10931 * BufferView.h: document, remove dead, make some methods private
10933 * paragraph_funcs.h:
10934 * paragraph_funcs.C:
10935 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10940 * sgml.C: move sgml open/close tag into sgml.C
10942 * bufferview_funcs.h: unused prototype
10945 * lyxfunc.C: remove unused
10948 * text.C: remove unused
10950 2002-10-21 John Levon <levon@movementarian.org>
10954 * BufferView_pimpl.h:
10955 * BufferView_pimpl.C: fix mouse wheel handling based on
10956 patch from Darren Freeman
10958 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10960 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10962 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10964 * lyxlength.C (inPixels): Fix hanfling of negative length.
10965 Fix LyXLength::MU case.
10967 2002-10-16 John Levon <levon@movementarian.org>
10969 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10971 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10973 * converter.C (view): add support for $$i (file name) and $$p
10974 (file path) for the viewer command. If $$i is not specified, then
10975 it is appended to the command (for compatibility with old syntax)
10977 2002-10-14 Juergen Vigna <jug@sad.it>
10979 * undo_funcs.C (textHandleUndo): alter the order in which the
10980 new undopar is added to the LyXText, as we have to set first
10981 the right prev/next and then add it as otherwise the rebuild of
10982 LyXText is not correct. Also reset the cursor to the right paragraph,
10983 with this IMO we could remove the hack in "redoParagraphs()".
10985 2002-10-09 Angus Leeming <leeming@lyx.org>
10987 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10988 to turn off an optimisation if a new inset is to be inserted.
10990 2002-10-11 André Pönitz <poenitz@gmx.net>
10992 * lyxtext.h: make some functions public to allow access
10993 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10995 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10997 * text3.C (dispatch): when changing layout, avoid an infinite loop
11000 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11002 * lyxrc.C (read): treat a viewer or converter command of "none" as
11005 * MenuBackend.C (expandFormats): for an update, also allow the
11006 formats that are not viewable
11008 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11009 script if it is newer than the lyxrc.defaults in user directory
11011 2002-10-07 André Pönitz <poenitz@gmx.net>
11013 * text.C: Vitaly Lipatov's small i18n fix
11015 2002-09-25 Angus Leeming <leeming@lyx.org>
11017 * ispell.h: doxygen fix.
11019 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11021 * buffer.h (readFile): Add a new argument to the method, to allow
11022 reading of old-format templates.
11024 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11026 * toc.C (getTocList): Get TOC from InsetWrap.
11028 2002-09-16 John Levon <levon@movementarian.org>
11030 * lyxfunc.C: check tabular for cut/copy too
11032 2002-09-12 John Levon <levon@movementarian.org>
11034 * LyXAction.C: tidy
11037 * factory.C: add header
11039 * paragraph_funcs.h:
11040 * paragraph_funcs.C: cleanup
11042 2002-09-11 John Levon <levon@movementarian.org>
11044 * PrinterParams.h: odd/even default to true
11046 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11048 * PrinterParams.h: update printer parameters for new xforms dialog
11050 2002-09-11 Angus Leeming <leeming@lyx.org>
11052 * lyxserver.C (read_ready): re-write to make it more transparent
11053 and to make it work in coherent fashion under Tru64 Unix.
11055 2002-09-11 André Pönitz <poenitz@gmx.net>
11059 * text3.C: implement LFUN_WORDSEL
11061 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11063 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11064 make floatlist_ a boost::shared_ptr<FloatList>
11066 * lyxtextclass.C: include FloatList.h
11067 (LyXTextClass): initialize floatlist_
11068 (TextClassTags): add TC_NOFLOAT
11069 (Read): match "nofloat" to TC_NOFLOAT and use it.
11070 (readFloat): modify call to floatlist_
11074 * FloatList.[Ch] (FloatList): remove commented out float
11076 (erase): new function
11078 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11080 * MenuBackend.C (expandToc): fix crash when there is no document
11083 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11085 * many files: Add insetwrap.
11087 2002-09-09 John Levon <levon@movementarian.org>
11089 * text2.C: remove confusing and awkward depth wraparound
11091 2002-09-09 John Levon <levon@movementarian.org>
11093 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11096 * buffer.C: remove getIncludeonlyList()
11099 * lyxfunc.C: remove headers
11101 2002-09-09 Juergen Vigna <jug@sad.it>
11103 * text.C (getColumnNearX): fix form Michael this is most
11104 probably a cut&paste bug.
11106 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11108 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11110 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11111 references, ws changes.
11113 * text2.C (init): update counters after init
11114 (insertParagraph): no need to set counter on idividual paragraphs.
11115 (setCounter): access the counters object in the textclass object
11116 on in the buffer object.
11117 (updateCounters): ditto
11119 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11120 shared_ptr<Counters> to avoid loading counters.h in all
11122 (LyXTextClass): initialize ctrs_
11123 (TextClassTags): add TC_COUNTER, and ...
11124 (Read): use it here.
11125 (CounterTags): new tags
11126 (readCounter): new function
11127 (counters): new funtion
11128 (defaultLayoutName): return a const reference
11130 * counters.C (Counters): remove contructor
11131 (newCounter): remove a couple of unneeded statements.
11132 (newCounter): simplify a bit.
11133 (numberLabel): some small formatting changes.
11135 * buffer.[Ch]: remove all traces of counters, move the Counters
11136 object to the LyXTextClass.
11138 2002-09-06 Alain Castera <castera@in2p3.fr>
11140 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11141 package to set the horizontal alignment on fixed width columns.
11144 * lyx_sty.h: added tabularnewline macro def.
11146 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11148 2002-09-06 John Levon <levon@movementarian.org>
11150 * LyXAction.C: tooltips for sub/superscript
11152 * MenuBackend.C: a bit more verbose
11154 * lyxfunc.C: tiny clean
11156 * undo_funcs.C: document undo_frozen
11158 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11160 * counters.C (Counters): add missing algorithm counter.
11162 * text2.C (setCounter): lookup the counter with layouts latexname
11163 instead of by section number.
11164 (setCounter): use a hackish way to lookup the correct enum
11166 a float name->type change
11167 reset enum couners with counter name directly instead of depth value.
11169 * counters.C (Counters): remove the push_backs, change to use the
11170 float type not the float name.
11171 (labelItem): remove unused string, float name->type change
11173 * counters.h: don't include vector, loose the enums and sects vectors
11175 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11177 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11178 (Read): add float->TC_FLOAT to textclassTags
11179 (Read): and handle it in the switch
11180 (readFloat): new function
11182 * FloatList.C (FloatList): comment out the hardcoded float
11185 * lyxlayout.h: ws change.
11187 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11189 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11191 2002-09-03 Angus Leeming <leeming@lyx.org>
11193 * BufferView_pimpl.h: qualified name is not allowed in member
11194 declaration: WorkArea & Pimpl::workarea() const;
11196 * factory.C: added using std::endl directive.
11198 * text3.C: added using std::find and std::vector directives.
11200 2002-08-29 André Pönitz <poenitz@gmx.net>
11203 * text2.C: remove unused member number_of_rows
11206 * BufferView2.C: remove file, move contents to...
11207 * BufferView.C: ... here
11209 * BufferView_pimpl.C:
11210 * factory.C: move more inset creation to factory
11212 * vspace.C: avoid direct usage of LyXText, ws changes
11215 don't provide direct access to WorkArea, use two simple
11216 acessors haveSelction() and workHeight() instead
11219 2002-08-29 John Levon <levon@movementarian.org>
11221 * BufferView_pimpl.C (dispatch): do not continue when
11224 2002-08-28 André Pönitz <poenitz@gmx.net>
11226 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11229 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11231 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11233 * buffer.C: increment LYX_FORMAT to 221
11235 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11236 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11238 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11240 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11242 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11244 * factory.C (createInset): use LyXTextClass::floats
11246 * MenuBackend.C (expandFloatListInsert):
11247 (expandFloatInsert):
11250 * text2.C (setCounter):
11252 * LaTeXFeatures.C (useFloat):
11253 (getFloatDefinitions):
11255 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11257 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11258 floatlist_, with accessor floats().
11260 * FloatList.h: remove global FloatList
11262 2002-08-26 André Pönitz <poenitz@gmx.net>
11264 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11268 * BufferView_pimpl.C:
11269 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11271 2002-08-25 John Levon <levon@movementarian.org>
11273 * LyXAction.C: fix margin note description
11275 2002-08-24 John Levon <levon@movementarian.org>
11279 * bufferview_funcs.C:
11281 * undo_funcs.C: cleanups
11283 * lyxfunc.C: disable CUT/COPY when no selection
11285 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11287 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11288 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11290 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11291 Add backward compatibility to "mono", "gray" and "no".
11293 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11295 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11296 (and file_format >= 200).
11298 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11300 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11302 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11304 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11306 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11308 * BufferView_pimpl.C:
11315 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11316 inset and code to make it work with the paragraph code. The inset
11317 can be anywhere in the paragraph, but will only do the expected
11318 thing in LaTeX if the layout file contains the parameter line
11320 (or more generally, a nonzero value) for that layout.
11322 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11324 * paragraph.h: remove the declaration of undefined counters class
11327 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11329 * text2.C (setCounter): fixed enumeration mis-count as reported by
11330 Dr. Richard Hawkins.
11332 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11334 * paragraph_funcs.h: remove some unneeded includes
11336 * text.C (backspace): pasteParagraph now in global scipe
11338 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11339 (pasteSelection): ditto
11341 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11342 * paragraph_funcs.C (pasteParagraph): ... here
11344 2002-08-20 André Pönitz <poenitz@gmx.net>
11346 * commandtags.h: new LFUNs for swapping/copying table row/colums
11349 * lyxfunc.C: support for new lfuns
11351 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11354 * buffer.[Ch]: remove NO_COMPABILITY stuff
11356 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11358 * boost.C (throw_exception): new file, with helper function for
11359 boost compiled without exceptions.
11364 * ParameterStruct.h:
11365 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11367 * bufferlist.C (emergencyWriteAll): use boost bind
11369 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11371 * text.C: include paragraph_funcs.h
11372 (breakParagraph): breakParagraph is now in global scope
11374 * paragraph_funcs.[Ch]: new files
11376 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11379 * buffer.C: include paragraph_funcs.h
11380 (insertStringAsLines): breakParagraph is now in global scope
11382 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11385 * CutAndPaste.C: include paragraph_funcs.h
11386 (cutSelection): breakParagraphConservative is now in global scope
11387 (pasteSelection): ditto
11389 * buffer.h: declare oprator== and operator!= for
11390 Buffer::inset_iterator
11392 * bufferlist.C (emergencyWrite): don't use fmt(...)
11394 * text3.C: add using std::endl
11396 * BufferView.C (moveCursorUpdate): remove default arg
11398 2002-08-20 André Pönitz <poenitz@gmx.net>
11400 * buffer.[Ch]: move inline functions to .C
11403 * BufferView_pimpl.C:
11405 * buffer.[Ch]: use improved inset_iterator
11408 * paragraph.[Ch]: write one paragraph at a time
11410 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11412 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11413 style if style is not specified.
11415 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11417 * text2.C (setCounter): when searching for right label for a
11418 caption, make sure to recurse to parent insets (so that a caption
11419 in a minipage in a figure float works) (bug #568)
11421 2002-08-20 André Pönitz <poenitz@gmx.net>
11423 * text3.C: new file for LyXText::dispatch() and helpers
11425 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11427 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11429 2002-08-19 André Pönitz <poenitz@gmx.net>
11432 * text.C: new LyXText::dispatch()
11434 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11436 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11438 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11440 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11443 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11445 * Makefile.am: use $(variables) instead of @substitutions@
11447 2002-08-15 André Pönitz <poenitz@gmx.net>
11450 * BufferView_pimpl.C: streamlining mathed <-> outer world
11454 * LyXAction.C: remove unused LFUN_MATH
11456 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11458 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11460 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11462 * paragraph.C (Paragraph): reformat a bit
11463 (cutIntoMinibuffer): use builtin InsetList function instad of
11467 * buffer.C: include boost/bind.hpp, add using std::for_each
11468 (writeFileAscii): use ParagraphList iterators
11469 (validate): use for_each for validate traversal of paragraphs
11470 (getBibkeyList): use ParagraphList iterators
11471 (resizeInsets): use for_each to resizeInsetsLyXText for all
11473 (getParFromID): use ParagraphList iterators
11475 * BufferView2.C (lockInset): use paragraph list and iterators
11477 2002-08-14 John Levon <levon@movementarian.org>
11479 * lyxserver.C: remove spurious xforms include
11481 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11483 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11485 2002-08-13 André Pönitz <poenitz@gmx.net>
11488 * lyxfunc.C: further cleaning
11490 2002-08-13 André Pönitz <poenitz@gmx.net>
11492 * funcrequest.h: new constructor
11494 * funcrequest.C: move stuff here from .h
11497 * BufferView_pimpl.C:
11500 * lyxfunc.C: subsequent changes
11502 * lyxfunc.h: new view() member function
11504 * lyxfunc.C: subsequent changes
11506 2002-08-13 Angus Leeming <leeming@lyx.org>
11509 * BufferView_pimpl.C:
11517 changes due to the changed LyXView interface that now returns references
11518 to member variables not pointers.
11520 2002-08-13 Angus Leeming <leeming@lyx.org>
11522 * WordLangTuple (word, lang_code): return references to strings,
11527 * lyxtext.h: forward-declare WordLangTuple.
11532 * text.C: #include "WordLangTuple.h".
11535 * text.C: (selectNextWordToSpellcheck): constify return type.
11537 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11543 * paragraph_pimpl.h:
11546 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11547 suggested by Angus.
11548 Made updateCounter always count from start of buffer, and removed
11549 second argument (par).
11550 Reverted floats number display to '#'. Perhaps I'll try again when the
11551 code base is sanitized a bit.
11553 2002-08-12 Angus Leeming <leeming@lyx.org>
11555 * buffer.[Ch] (getLabelList): constify.
11557 2002-08-07 André Pönitz <poenitz@gmx.net>
11559 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11561 * funcrequest.h: extension to keep mouse (x,y) position
11563 2002-08-12 Juergen Vigna <jug@sad.it>
11565 * BufferView2.C (insertErrors): forbid undo when inserting error
11568 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11570 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11572 * ParagraphList.[Ch]: new files
11574 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11576 * BufferView2.C (lockInset): ParagraphList changes
11579 * bufferlist.C: ditto
11583 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11585 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11586 unused class variable counter_,
11588 * paragraph.[Ch] (getFirstCounter): delete unused function
11590 * counters.C: include LAssert.h
11591 (reset): add a new function with no arg, change other version to
11592 not have def. arg and to not allow empty arg.
11594 * text2.C (setCounter): remove empty arg from call to Counters::reset
11596 2002-08-11 John Levon <levon@movementarian.org>
11598 * Makefile.am: add WordLangTuple.h
11600 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11602 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11603 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11605 * insets/insettext.C: InsetList changes
11607 * graphics/GraphicsSupport.C (operator()): InsetList changes
11609 * toc.C (getTocList): InsetList changes
11611 * paragraph_pimpl.[Ch]: InsetList changes
11613 * paragraph.[Ch]: InsetList changes
11615 * buffer.C (inset_iterator): InsetList changes
11616 (setParagraph): ditto
11617 * buffer.h (inset_iterator): ditto
11618 * iterators.C (operator++): ditto
11619 * iterators.h: ditto
11621 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11623 * InsetList.[Ch]: new files, most InsetList handling moved out of
11626 * BufferView2.C (removeAutoInsets): InsetList changes
11628 (ChangeInsets): ditto
11630 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11632 * paragraph_pimpl.h (empty): new function
11634 * paragraph.[Ch] (empty): new function
11636 * other files: use the new Paragraph::empty function
11638 2002-08-09 John Levon <levon@movementarian.org>
11640 * lyxtext.h: remove unused refresh_height
11642 2002-08-09 John Levon <levon@movementarian.org>
11649 * paragraph.C: move sgml char escaping out of paragraph
11652 * paragraph.C: remove id setter
11656 * paragraph_pimpl.C: remove dead tex_code_break_column
11658 * bufferview_funcs.C: small cleanup
11660 * lyxfunc.C: remove dead proto
11662 * lyxtext.h: make some stuff private. Remove some dead stuff.
11664 * lyxgluelength.C: make as[LyX]String() readable
11666 2002-08-08 John Levon <levon@movementarian.org>
11671 * ToolbarDefaults.C:
11674 * toc.C: lyxaction cleanup
11676 2002-08-08 John Levon <levon@movementarian.org>
11678 * BufferView2.C: small cleanup
11681 * lyxfind.C: move unnecessary header into the .C
11683 2002-08-08 John Levon <levon@movementarian.org>
11685 * funcrequest.h: just tedious nonsense
11688 * lyx_main.C: cleanups
11691 * vspace.C: remove dead header lyx_main.h
11693 2002-08-07 Angus Leeming <leeming@lyx.org>
11696 * paragraph_pimpl.h:
11697 Forward declare class Counters in paragraph.h by moving the ctrs member
11698 variable into Paragraph::Pimpl.
11699 (counters): new method, returning a reference to pimpl_->ctrs.
11701 * text2.C: ensuing changes.
11703 2002-08-07 John Levon <levon@movementarian.org>
11705 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11707 * BufferView_pimpl.C: announce X selection on double/triple
11710 * lyx_main.C: use correct bool in batch dispatch
11712 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11714 2002-08-07 André Pönitz <poenitz@gmx.net>
11716 * funcrequest.h: new class to wrap a kb_action and its argument
11719 * BufferView_pimpl[Ch]:
11723 * lyxrc.C: subsequent changes
11726 2002-08-07 John Levon <levon@movementarian.org>
11728 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11729 document options change.
11731 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11736 * makefile.am: move counters functionality over from
11737 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11739 2002-08-06 John Levon <levon@movementarian.org>
11741 * WordLangTuple.h: new file for word + language code tuple
11752 * BufferView2.C: use WordLangTuple
11755 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11757 2002-08-06 John Levon <levon@movementarian.org>
11759 * lyx_main.C: fix cmdline batch handling
11761 2002-08-06 André Pönitz <poenitz@gmx.net>
11763 * lyxrc.C: set default for show_banner to true
11765 2002-08-06 John Levon <levon@movementarian.org>
11767 * pspell.C: fix a crash, and allow new aspell to work
11769 2002-08-06 John Levon <levon@movementarian.org>
11772 * kbmap.C: small cleanup
11775 * vspace.C: add const
11777 2002-08-05 John Levon <levon@movementarian.org>
11779 * LyXAction.C: back to tabular-insert
11781 2002-08-04 John Levon <levon@movementarian.org>
11784 * BufferView.C: cosmetic change
11786 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11796 * BufferView2.C: purge all "Lyx" not "LyX" strings
11799 * lyxcursor.C: attempt to add some documentation
11804 * ToolbarDefaults.C:
11805 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11806 merge with LFUN_TABULAR_INSERT
11813 * pspell.C: split up i/pspell implementations into separate
11814 files, many cleanups
11816 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11818 * text2.C: some cleanup
11820 * lyxfunc.C: don't check for isp_command == "none" any more, it
11821 didn't make any sense
11823 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11828 * makefile.am: move counters functionality over
11829 from text2.C/paragraph.[Ch] to counters.[Ch], and
11831 2002-08-02 John Levon <levon@movementarian.org>
11833 * buffer.C: s/lyxconvert/lyx2lyx/
11835 2002-08-02 Angus Leeming <leeming@lyx.org>
11837 * lyxlex.C: revert John's change as it breaks reading of the user
11840 2002-08-02 Angus Leeming <leeming@lyx.org>
11842 * importer.C (Import):
11843 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11844 changes due to LyXView::view() now returning a boost::shared_ptr.
11846 2002-08-02 John Levon <levon@movementarian.org>
11848 * lyxlex.C: small cleanup
11850 2002-08-02 John Levon <levon@movementarian.org>
11852 * text2.C (status): small cleanup, no logic change
11854 2002-08-01 John Levon <levon@movementarian.org>
11857 * buffer.C (writeFile): don't output alerts, caller
11861 * lyx_cb.C: from above
11863 * lyxfunc.C: allow to open non-existent files
11865 2002-07-31 John Levon <levon@movementarian.org>
11867 * lyxserver.C: don't let incidental errors get
11870 2002-07-30 John Levon <levon@movementarian.org>
11872 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11874 2002-07-30 John Levon <levon@movementarian.org>
11877 * lyxserver.C: remove I/O callback too
11879 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11881 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11884 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11886 * many files: strip,frontStrip -> trim,ltrim,rtrim
11888 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11890 * PrinterParams.h: remove extern containsOnly, and include
11891 support/lstrings.h instead.
11893 * LaTeX.C (scanAuxFile): modify because of strip changes
11895 * buffer.C (makeLaTeXFile): ditto
11896 * bufferparams.C (writeFile): ditt
11897 * lyxfont.C (stateText): ditto
11898 * lyxserver.C (read_ready): ditto
11899 * vc-backend.C (scanMaster): ditto
11901 * BufferView_pimpl.h: ws changes
11903 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11905 2002-07-26 André Pönitz <poenitz@gmx.net>
11907 * kb_sequence.C: remove unnedred usings
11909 2002-07-26 Juergen Vigna <jug@sad.it>
11911 * lyxfind.C (LyXReplace): we have to check better if the returned
11912 text is not of theLockingInset()->getLockingInset().
11914 2002-07-25 Juergen Vigna <jug@sad.it>
11916 * lyxfind.C (LyXReplace): don't replace if we don't get the
11919 * undo_funcs.C (createUndo): remove debugging code.
11921 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11923 * buffer.C (parseSingleLyXformat2Token): Use default placement
11924 when reading old floats.
11926 * FloatList.C (FloatList): Change the default placement of figure
11927 and tables to "tbp".
11929 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11931 * MenuBackend.C: using std::max
11933 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11935 * MenuBackend.C (expandToc):
11936 (expandToc2): code moved from xforms menu frontend. It is now
11937 generic and TOCs are transparent to menu frontends.
11939 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11941 * toc.C (getTocList): protect against buf=0
11943 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11944 Menu as first parameter. Now, this calls itself recursively to
11945 expand a whole tree (this will be useful for TOC handling)
11946 (expandFloatInsert): remove 'wide' version of floats
11948 * MenuBackend.h (submenuname): returns the name of the submenu.
11949 (submenu): returns the submenu itself, provided it has been
11950 created by MenuBackend::expand
11952 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11954 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11955 insets which have noFontChange == true. (bug #172)
11957 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11959 * BufferView_pimpl.C: add connection objects and use them...
11962 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11964 * MenuBackend.C (expandLastfiles):
11967 (expandFloatListInsert):
11968 (expandFloatInsert):
11969 (expand): split expand in parts
11971 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11973 * lyx_gui.C: use lyx_gui::exit()
11975 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11977 * LyXAction.C: show the failing pseudo action
11979 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11981 * buffer.C (readFile): Run the lyxconvert script in order to read
11984 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11988 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11990 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11994 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11996 2002-07-22 Herbert Voss <voss@lyx.org>
11999 * lyxlength.[Ch]: add support for the vertical lengths
12001 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12003 * toc.[Ch]: std:: fixes
12005 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12007 * lyxrc.C: do not include lyx_main.h
12009 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12015 * BufferView2.C: include "lyxlex.h"
12018 * bufferparams.h: do not #include "lyxlex.h"
12020 * lyxtextclasslist.C (Add): remove method
12021 (classlist): renamed to classlist_
12023 * paragraph_pimpl.C:
12027 * bufferview_funcs.C:
12032 * toc.C (getTocList): use BufferParams::getLyXTextClass
12034 * toc.C (getTocList): use InsetFloat::addToToc
12036 * toc.[Ch]: new files, containing helper functions to handle table
12039 * lyxfunc.C (dispatch): no need to remove spaces around command
12041 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12042 first command of the sequence; it is not very clever, but I do not
12043 have a better idea, actually
12045 * LyXAction.C (LookupFunc): make sure to remove space at the
12046 beginning and end of the command
12048 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12050 * MenuBackend.C (getMenubar): new method: return the menubar of
12052 (read): treat differently reading of menu and menubar (in
12053 particular, the menubar has no name now)
12054 (Menu::menubar): remove
12056 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12059 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12061 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12062 a bibitem inset in a RTL paragraph.
12064 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12066 * paragraph_pimpl.C: constify
12068 * BufferView_pimpl.C:
12070 * lyxfunc.C: fix dispatch in a nicer way
12072 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12074 * lyxfunc.C (dispatch):
12075 * BufferView_pimpl.C:
12076 * BufferView_pimpl.h:
12078 * BufferView.h: rename Dispatch() to dispatch()
12080 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12082 * lyxlayout.C (Read): honor DependsOn tag
12084 * lyxlayout.[Ch] (depends_on): new method
12086 * version.C.in: update lyx_docversion
12088 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12090 * paragraph.C (validate): remove from here...
12091 * paragraph_pimpl.C (validate): ... and move here
12092 (isTextAt): make it const
12094 * buffer.C (getLists): ws cleanup
12096 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12098 * language.C (read): Use iso8859-1 encoding in latex_lang
12099 (this prevents LyX from crashing when using iso10646-1 encoding).
12101 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12103 * text2.C (toggleInset): if cursor is inside an inset, close the
12104 inset and leave cursor _after_ it
12106 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12108 * lyxfunc.C: move minibuffer completion handling out of here
12110 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12112 * BufferView_pimpl.C:
12113 * LaTeX.C: fix dispatch calls
12115 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12117 * text.C (drawChars): Fix Arabic text rendering.
12119 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12123 * lyxfunc.C: remove message-push/pop
12127 * lyxfunc.C: rationalise some code by removing verboseDispatch
12128 in favour of a bool argument to dispatch()
12130 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12132 * lyx_main.C (init): make sure to read symlinks as absolute paths
12134 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12137 * lyxfunc.C: no need for commandshortcut to be a member
12139 2002-07-15 André Pönitz <poenitz@gmx.net>
12141 * converter.C: add support for $$s (scripts from lib/scripts dir)
12142 * lyx_main.C: white space
12144 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12148 * lyxrc.C: remove second exit confirmation
12150 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12155 * BufferView_pimpl.h:
12156 * BufferView_pimpl.C:
12157 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12159 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12161 * MenuBackend.C (expand): add numeric shortcuts to document menu
12163 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12165 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12167 * lyxfont.C (setLyXFamily):
12174 * buffer.C (asciiParagraph): use ascii_lowercase
12176 2002-07-15 Mike Fabian <mfabian@suse.de>
12178 * lyxlex_pimpl.C (search_kw):
12179 * lyxlex.C (getLongString):
12180 * converter.h (operator<):
12181 * converter.C (operator<):
12182 * buffer.C (parseSingleLyXformat2Token):
12184 * ToolbarDefaults.C (read):
12185 * MenuBackend.C (checkShortcuts):
12187 * LColor.C (getFromGUIName):
12188 (getFromLyXName): use the compare_ascii_no_case instead of
12189 compare_no_case, because in turkish, 'i' is not the lowercase
12190 version of 'I', and thus turkish locale breaks parsing of tags.
12192 2002-07-16 Angus Leeming <leeming@lyx.org>
12194 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12195 now takes a Buffer const & argument.
12197 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12199 * BufferView.C (resize): check there's a buffer to resize
12201 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12203 * lyxfunc.C: remove dead code
12206 * lyxserver.C: use lyx_guii::set_read_callback
12208 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12210 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12211 an inset in a RTL paragraph.
12213 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12215 * lyxfunc.C: repaint after a font size update
12217 2002-07-15 André Pönitz <poenitz@gmx.net>
12219 * lyxlength.C: inBP should be able to return negative values
12221 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12223 * lyxfunc.C: use lyx_gui::update_fonts()
12225 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12227 * lyxfunc.C: use lyx_gui::update_color()
12229 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12235 * lyxrc.C: remove file->new asks for name option, and let
12236 buffer-new take an argument
12238 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12240 * BufferView_pimpl.C: remove unneeded extra repaint()
12242 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12244 * LyXAction.C: allow command-sequence with NoBuffer
12246 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12248 2002-07-10 Angus Leeming <leeming@lyx.org>
12250 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12252 2002-07-09 Angus Leeming <leeming@lyx.org>
12254 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12256 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12258 * lengthcommon.h: whitespace
12260 * lyxfunc.C: update scrollbar after goto paragraph
12262 * lyxtext.h: factor out page break drawing, and fix it so
12263 page break/added space paints as selected nicely
12265 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12267 * BufferView_pimpl.C: add FIXMEs, clean up a little
12269 2002-07-09 André Pönitz <poenitz@gmx.net>
12271 * lyxfont.[Ch]: support for wasy symbols
12273 2002-07-08 André Pönitz <poenitz@gmx.net>
12275 * BufferView_pimpl.C: apply John's patch for #93.
12277 2002-07-05 Angus Leeming <leeming@lyx.org>
12279 * BufferView_pimpl.C (buffer): generate previews if desired.
12281 * LColor.h: add "preview" to the color enum.
12283 * LColor.C (LColor): add a corresponding entry to the items array.
12285 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12288 2002-07-05 Angus Leeming <leeming@lyx.org>
12290 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12291 The body of the code is now in the method that is passed an ostream &
12292 rather than a file name.
12293 Pass an additional only_preamble parameter, useful for the forthcoming
12296 2002-07-03 André Pönitz <poenitz@gmx.net>
12298 * lyxfunc.C: simplify getStatus() a bit for math stuff
12300 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12302 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12304 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12306 * text.C (changeRegionCase): do not change case of all the
12307 document when region ends at paragraph end (bug #461)
12309 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12311 * paragraph.C (startTeXParParams):
12312 (endTeXParParams): add \protect when necessary
12314 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12316 * BufferView_pimpl.C (workAreaExpose): remove warning
12318 2002-06-27 Angus Leeming <leeming@lyx.org>
12320 * Makefile.am: add lyxlayout_ptr_fwd.h.
12322 2002-06-26 André Pönitz <poenitz@gmx.net>
12324 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12326 2002-06-25 Angus Leeming <leeming@lyx.org>
12328 * lyxfunc.C (dispatch): Comment out the call to
12329 grfx::GCache::changeDisplay. The method no longer exists now that the
12330 pixmap generation part of the graphics loader has been moved into
12333 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12335 * text2.C: layout as layout
12337 * text.C: layout as layout
12339 * tabular.C (OldFormatRead): layout as layout
12341 * paragraph_pimpl.C (TeXDeeper): layout as layout
12342 (realizeFont): layout as layout
12344 * paragraph.C (writeFile): layout as layout
12345 (validate): layout as layout
12346 (getFont): layout as layout
12347 (getLabelFont): layout as layout
12348 (getLayoutFont): layout as layout
12349 (breakParagraph): layout as layout
12350 (stripLeadingSpaces): layout as layout
12351 (getEndLabel): layout as layout
12352 (getMaxDepthAfter): layout as layout
12353 (applyLayout): layout as layout
12354 (TeXOnePar): layout as layout
12355 (simpleTeXOnePar): layout as layout
12356 (TeXEnvironment): layout as layout
12357 (layout): layout as layout
12358 (layout): layout as layout
12360 * lyxtextclass.C (compare_name): new functor to work with
12361 shared_ptr, layout as layout
12362 (Read): layout as layout
12363 (hasLayout): layout as layout
12364 (operator): layout as layout
12365 (delete_layout): layout as layout
12366 (defaultLayout): layout as layout
12368 * lyxlayout_ptr_fwd.h: new file
12370 * lyxlayout.C (Read): layout as layout
12372 * lyx_cb.C (MenuInsertLabel): layout as layout
12374 * bufferlist.C (newFile): layout as layout
12376 * buffer.C (readLyXformat2): layout as layout
12377 (parseSingleLyXformat2Token): layout as layout
12378 (insertStringAsLines): layout as layout
12379 (asciiParagraph): layout as layout
12380 (latexParagraphs): layout as layout
12381 (makeLinuxDocFile): layout as layout
12382 (simpleLinuxDocOnePar): layout as layout
12383 (makeDocBookFile): layout as layout
12384 (simpleDocBookOnePar): layout as layout
12385 (getLists): layout as layout
12387 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12389 * CutAndPaste.C (cutSelection): layout as layout
12390 (pasteSelection): layout as layout
12391 (SwitchLayoutsBetweenClasses): layout as layout
12393 * BufferView_pimpl.C (Dispatch): layout as layout
12394 (smartQuote): layout as layout
12396 * BufferView2.C (unlockInset): layout as layout
12398 2002-06-24 André Pönitz <poenitz@gmx.net>
12400 * lyxfunc.C: fix #487
12402 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12406 * lyxfunc.C: remove display_shortcuts, show_banner
12408 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12410 * Buffer_pimpl.C: oops, update on resize
12412 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12419 * BufferView.C: use repaint()
12421 * BufferView_pimpl.h:
12422 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12423 as it's a clearer description. Remove superfluous
12426 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12428 * text.C: fix bug 488. Not ideal, but getting
12429 getWord() to work properly for the insets that
12430 matter is more difficult ...
12432 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12434 * BufferView_pimpl.C:
12437 * lyxfunc.C: remove the six million index lyxfuncs to just
12438 one, and DTRT (bug 458)
12440 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12444 * BufferView_pimpl.h:
12445 * BufferView_pimpl.C: clean up resize() stuff,
12446 and unnecessary updateScreen()s
12448 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12452 * BufferView_pimpl.h:
12453 * BufferView_pimpl.C:
12456 * minibuffer.C: remove focus management of workarea,
12457 not needed. Use screen's greyOut()
12459 2002-06-17 Herbert Voss <voss@lyx.org>
12461 * converter.C: (convert) do not post a message, when converting
12462 fails, let the calling function decide what to do in this case
12464 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12466 * lyxfunc.C: tidy up a little
12468 2002-06-16 <alstrup@diku.dk>
12470 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12471 Got rid of FORMS_H_LOCATION include. Now we are
12474 2002-06-15 LyX Development team <lyx@rilke>
12476 * buffer.[Ch] (sgmlOpenTag):
12477 (sgmlCloseTag): Added support for avoiding pernicious mixed
12478 content. Return number of lines written.
12480 (makeLinuxDocFile):
12481 (makeDocBookFile): Fixed calls to sgml*Tag.
12482 Simple white space clean.
12484 (simpleDocBookOnePar): Simple white space clean.
12486 * tabular.[Ch] (docBook): Renamed to docbook and got another
12487 argument to related with the pernicious mixed content.
12489 (docbookRow): Fixed calls for docbook inset method.
12491 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12493 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12494 so it's X11 independent.
12498 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12500 2002-06-15 Lyx Development team <lyx@electronia>
12502 * intl.h: Renamed getTrans to getTransManager.
12504 2002-06-14 Angus Leeming <leeming@lyx.org>
12506 * Makefile.am: nuke forgotten stl_string_fwd.h.
12508 2002-06-12 Angus Leeming <leeming@lyx.org>
12510 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12512 2002-06-13 Angus Leeming <leeming@lyx.org>
12515 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12517 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12519 * kbmap.C (getiso): add support for cyrillic and greek
12521 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12525 * BufferView_pimpl.h:
12526 * BufferView_pimpl.C: move bogus scrolling logic
12529 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12532 * BufferView_pimpl.C: view->resize() change
12534 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12536 * BufferView_pimpl.C: topCursorVisible
12539 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12543 * lyx_gui.C: move to frontends/
12547 * lyx_main.C: changes from above
12549 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12556 * lyx_main.C: minor tidy
12558 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12560 * BufferView_pimpl.h:
12561 * BufferView_pimpl.C:
12563 * BufferView.C: make painter() const,
12566 * BufferView2.C: use screen() accessor
12569 * lyx_main.C: some minor cleanup
12571 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12573 * BufferView_pimpl.h:
12574 * BufferView_pimpl.C: remove enter/leaveView,
12577 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12582 * BufferView_pimpl.h:
12583 * BufferView_pimpl.C: only construct screen once,
12586 * lyxrc.C: remove pointless comment
12588 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12591 * BufferView.C: remove active() and belowMouse()
12593 * BufferView_pimpl.h:
12594 * BufferView_pimpl.C: use workarea() not workarea_,
12595 and make it use a scoped_ptr instead
12597 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12599 * lyx_gui.C: add debug message on BadWindow
12601 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12603 * sp_spell.C: fdopen is not part of the C++ standard.
12605 * paragraph.C (InsetIterator): use >= instead of ==
12607 2002-06-07 Angus Leeming <leeming@lyx.org>
12609 Fixes needed to compile with Compaq cxx 6.5.
12610 * BufferView_pimpl.C:
12617 * lyxtextclasslist.C:
12622 all c-library variables have been moved into namespace std. Wrap
12623 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12628 Add a using std::abs declaration.
12630 * kbmap.h (modifier_pair):
12631 * paragraph.h (InsetTable, InsetList):
12632 * lyxfont.h (FontBits):
12633 type definition made public.
12635 * bufferlist.C (emergencyWriteAll): the compiler complains that
12636 there is more than one possible lyx::class_fun template to choose from.
12637 I re-named the void specialisation as lyx::void_class_fun.
12639 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12641 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12642 the compiler is is unable to find tostr in write_attribute.
12644 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12646 * buffer.C (sgmlError): hide #warning
12648 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12650 * xtl/*: get rid of xtl, which is not in use anyway
12652 * LyXAction.C (init):
12653 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12654 were unimplemented xtl experimentation
12656 2002-06-04 André Pönitz <poenitz@gmx.net>
12658 * lyxfunc.C: disable array operation on simple formulae
12660 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12662 * converter.C: constify a bit
12664 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12666 * lyx_gui.C: check xforms version correctly
12668 2002-04-30 Herbert Voss <voss@lyx.org>
12670 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12673 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12675 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12676 attempt to register it with a VCS)
12678 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12680 * lyx_main.C (init): honor variables LYX_DIR_13x and
12683 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12687 * lyx_main.C: fix a crash on bad command line,
12688 and give a useful exit status on error
12690 * lyxfunc.C (doImport): allow -i lyx to work
12692 2002-03-30 André Pönitz <poenitz@gmx.net>
12694 * lyxfunc.C: mathed font changes
12696 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12711 * trans_mgr.h: srcdocs, and some minor cleanups
12713 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12715 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12716 call getFont all the time)
12718 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12720 * switch from SigC signals to boost::signals
12722 2002-05-29 André Pönitz <poenitz@gmx.net>
12724 * paragraph_pimpl.C (getChar): don't call size() too often...
12726 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12728 * paragraph_pimpl.C (insertChar): do not try to update tables when
12729 appending (pos == size())
12731 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12732 in order to reduce drastically the number of comparisons needed to
12733 parse a large document
12735 2002-05-29 André Pönitz <poenitz@gmx.net>
12741 * textclasslist.[Ch]:
12742 * sp_ispell.h: whitespace change
12744 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12746 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12747 lyxaction directly now.
12749 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12753 * lyxvc.C: remove unused headers
12755 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12762 * undo_funcs.C: some cleanups. Use shared_ptr
12763 and a template for the undo stacks.
12765 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12767 * BufferView_pimpl.h:
12768 * BufferView_pimpl.C:
12775 * text2.C: use key_state/mouse_state
12777 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12779 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12782 * chset.C: change include order
12783 (loadFile): use boost regex and get rid of LRegex and LSubstring
12785 * Makefile.am (BOOST_LIBS): new variable
12786 (lyx_LDADD): use it
12788 * LaTeX.C: change include order.
12789 (scanAuxFile): use boost regex and get rid of LRegex and
12793 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12798 * FontInfo.C: moved to frontends/xforms/
12801 * FontLoader.C: moved into frontends for GUIIzation
12806 * lyxfunc.C: changes from above
12808 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12810 * LColor.C: remove spurious X include
12812 * BufferView_pimpl.C:
12817 * text2.C: move font metrics to frontends/
12819 2002-05-24 Juergen Vigna <jug@sad.it>
12821 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12822 setting the undo_cursor.
12824 * ParagraphParameters.h: include local includes first.
12826 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12828 * BufferView_pimpl.C:
12829 * BufferView_pimpl.h:
12833 * screen.C: move WorkArea into frontends/
12839 * BufferView2.C: move LyXScreen into frontends/
12843 * lyx_gui.C: move lyxlookup into frontends/xforms/
12845 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12848 * BufferView_pimpl.C:
12858 * bufferview_funcs.C:
12871 * vc-backend.C: move LyX/XFormsView into frontends/
12873 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12885 * text2.C: move Painter to frontends/
12887 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12889 * buffer.C: comment out some some code that depend upon lyx_format
12892 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12893 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12895 * buffer.h (NO_COMPABILITY): turn off compability
12897 * ColorHandler.C: include scoped_array.hpp
12899 * font.C: Use more specific smart_ptr header.
12902 * ShareContainer.h: ditto
12903 * lyx_main.h: ditto
12905 * FontInfo.h: ditto
12906 * BufferView_pimpl.h: ditto
12907 * ColorHandler.h: ditto
12909 * kbmap.C (defkey): change call to shared_ptr::reset
12911 2002-05-21 Juergen Vigna <jug@sad.it>
12913 * buffer.C (insertErtContents): fix to insert ert asis if it is
12914 non empty. Skip it completely if it contains only whitespaces.
12916 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12918 * BufferView_pimpl.C:
12919 * BufferView2.C: clear selection on paste (bug 393)
12921 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12923 * DepTable.C: include ctime
12925 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12927 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12929 2002-05-14 Juergen Vigna <jug@sad.it>
12931 * text.C (breakParagraph): fixed function to honor the keepempty
12932 layout in the right maner and also to permit the right breaking
12933 algorithm on empty or non empyt keepempty paragraphs.
12935 * paragraph.C (breakParagraph): we have to check also if the par
12936 is really empty (!size()) for isempty otherwise we do the wrong
12939 2002-05-10 Juergen Vigna <jug@sad.it>
12941 * buffer.[Ch] : The following are only changes to the ert
12942 compatibility read reading old LaTeX layout and font stuff and
12943 convert it to ERTInsets.
12945 * buffer.h: added isErtInset().
12947 * buffer.C (struct ErtComp): add a fromlayout bool to check
12948 if we're inside a LaTeX layout.
12949 (isErtInset): new helper function.
12950 (insertErtContents): look for other ert insets before this one
12951 and insert the contents there, so that we don't have subsequent
12952 ERT insets with nothing between them. This way we create only one
12953 inset with multiple paragraphs. Also check if we don't insert only
12954 spaces ' ' as they are ignored anyway afterwards in the .tex file
12955 so if we have only spaces we will ignore this latex part in the
12957 (parseSingleLyXformat2Token \\layout): better compatibility when
12958 reading layout-latex stuff.
12959 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12961 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12962 stuff after reading the inset only get the information back from
12965 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12967 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12969 * LaTeXFeatures.C (getBabelOptions): New method.
12971 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12973 * BufferView_pimpl.C (Dispatch): work around missing argument for
12976 2002-05-08 Juergen Vigna <jug@sad.it>
12978 * text.C (leftMargin): handle paragraph leftindent.
12980 * paragraph.C (writeFile): write the new \\leftindent tag.
12981 (validate): handle leftindent code.
12982 (TeXEnvironment): handle paragraphleftindent code again.
12984 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12986 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12987 for paragrap_extra indent code and new token \\leftindent.
12988 (latexParagraphs): handle the leftindent as environment.
12990 * ParameterStruct.h: added leftindent support.
12992 * ParagraphParameters.C (leftIndent): added support functions for
12993 the paragraph left indent.
12995 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12998 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13000 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13003 * text.C (computeBidiTables): No bidi in insetERT.
13005 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13008 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13010 * version.C.in: pre 5
13012 2002-05-02 José Matos <jamatos@fep.up.pt>
13013 * buffer.C (makeDocBookFile): white space changes, add newline to
13015 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13017 * tabular.C (docBook): fix typo.
13019 2002-05-03 Juergen Vigna <jug@sad.it>
13021 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13022 change in LyXText as we can not be sure it was not freed.
13023 (drawOneRow): remove unused code.
13025 * text.C (drawInset): redo the calculation of the need_break_row as
13026 it could have a row which was already freed.
13027 (draw): look at the return value of drawInset and return false if
13028 it also returned false.
13029 (paintRowText): look at the return value of draw and return false if
13030 it also returned false.
13032 * lyxtext.h: added bool return type to drawInset() and draw() so that
13033 if we have a change in the row so that the rowbreak has to be redone
13034 we abort drawing as it will be called again.
13036 2002-05-02 Juergen Vigna <jug@sad.it>
13038 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13039 a change in the maintext also if we're inside an inset.
13040 (Dispatch): set the cursor again after a break line and after the
13041 screen has been updated as it could be we're in a different row.
13043 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13044 to set the cursor behind the pargraph with > size().
13045 (setCursor): check also for the same paragraph when checking where
13046 to put the cursor if we have a NFR inset.
13048 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13049 parts of layout read further up as it still was in the wrong
13052 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13054 * screen.C (drawFromTo): change sine fullRebreak always return
13057 * buffer.C (parseSingleLyXformat2Token): reindent some
13059 * BufferView_pimpl.C (update): change since fullRebreak always
13061 (Dispatch): git rid of the last hardcoded "Standard"s.
13063 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13065 * text2.[Ch] (fullRebreak): make it return void now that we always
13068 2002-04-30 Juergen Vigna <jug@sad.it>
13070 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13071 ert compatibility check for "latex" layout.
13073 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13075 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13076 minipages: use col% instead of p%, and also use the current font.
13077 (makeLaTeXFile): Fix use babel condition.
13078 (parseSingleLyXformat2Token): Correct font when reading old floats.
13080 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13082 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13083 inserting list of floats.
13085 2002-04-25 Herbert Voss <voss@lyx.org>
13087 * MenuBackend.C (expand): don't add the graphics extensions to the
13090 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13092 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13093 non-existing layout, do not complain if it was the default layout
13094 of the original class (bug #342)
13096 2002-04-24 Juergen Vigna <jug@sad.it>
13098 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13099 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13101 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13103 * buffer.C (getBibkeyList): If using \bibliography, return the
13104 option field with the reference itself. Enables us to provide natbib
13105 support when using \bibliography.
13107 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13109 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13111 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13112 natbib is provided by the LaTeX class.
13114 2002-04-23 Juergen Vigna <jug@sad.it>
13116 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13119 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13121 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13123 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13125 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13126 ensuremath around textordmasculine, textordfeminine and
13129 2002-04-19 Juergen Vigna <jug@sad.it>
13131 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13132 reinitializing the buffer otherwise row-dimensions may be wrong.
13133 (update): reset also the selection cursors if they do exits otherwise
13134 their x/y positions may be wrong.
13136 * text2.C (cursorDown): don't enter the inset if we came from a row
13137 above and are one row over the inset.
13139 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13140 really leaving an inset.
13142 2002-04-18 Juergen Vigna <jug@sad.it>
13144 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13145 of the selected paragraph does not have the selected layout also if
13148 * text2.C (setLayout): fixed bug which did not change last selected
13151 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13152 changed the read and substituted \\end_float with \\end_inset!
13154 * BufferView_pimpl.C (cursorPrevious):
13155 (cursorNext): fixed to make it work with rows heigher than the work
13156 area without moving the cursor only the draw of the row.
13157 (workAreaMotionNotify): fix jumping over high rows.
13159 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13161 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13164 2002-04-16 Juergen Vigna <jug@sad.it>
13166 * text2.C (setCursor): set also the irow().
13167 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13169 (cursorDown): support for locking an inset if the x_fix value goes
13170 inside it. That way I can transverse insets too with cursor up/down.
13172 * lyxrow.h: added irow helper function same as other (i) functions.
13174 * BufferView_pimpl.C (cursorPrevious):
13175 (cursorNext): fixed for insets!
13177 2002-04-15 Juergen Vigna <jug@sad.it>
13179 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13180 position otherwise it is wrong in some cases.
13182 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13183 inside the inset before the call.
13185 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13187 * buffer.[Ch] (getBibkeyList): make it const.
13189 2002-04-12 Juergen Vigna <jug@sad.it>
13191 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13193 * text2.C (getCursorX): new helper function
13194 (setCursor): compute also ix_
13195 (setCursorFromCoordinates): set also ix.
13197 * lyxcursor.h: added ix_ and helper functions.
13199 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13201 * buffer.C (insertStringAsLines): dont break paragraph if the this
13202 paragraph is inside an inset which does not permit it!
13204 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13205 also with no chars on this paragraph.
13206 (paintRowText): only paint stuff if it's inside the workarea!
13208 * paragraph.C (breakParagraph): honor keepempty flag and break the
13209 paragraph always below not above.
13211 * BufferView2.C (unlockInset): update the paragraph layout on inset
13212 unlock as we changed paragraph in such a case.
13214 * lyxfind.C (LyXFind): clear the former selection if not found!
13216 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13217 again called in insertChar().
13219 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13220 an inset which uses the whole row!
13221 (rightMargin): ditto.
13222 (insertChar): force a rebreak if we inserted an inset!
13224 2002-03-28 Herbert Voss <voss@lyx.org>
13226 * lyxlength.[Ch]: add inBP() to get the right PS-point
13227 units (BigPoint). With inPixels we have rounding errors
13229 2002-04-11 Juergen Vigna <jug@sad.it>
13231 * text2.C (setCursorFromCoordinates): set iy to the right value.
13232 (setCursor): add check if row->previous exists!
13234 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13235 an old float_type as this was the case in the old code!
13237 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13239 * BufferView2.C (showLockedInsetCursor): use iy
13240 (fitLockedInsetCursor): ditto
13242 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13243 locked insets as there we have the right value now.
13245 * lyxcursor.C: added iy_ variable and iy functions to set to the
13246 baseline of cursor-y of the locked inset.
13248 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13249 (setCursor): fixed for insets which need a full row.
13251 * text.C (rowLastPrintable): don't ignore the last space when before
13252 an inset which needs a full row.
13253 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13254 as last character of a row when before a inset which needs a full row.
13256 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13258 * version.C.in: update date
13260 * text2.C (fullRebreak): try to always return true and see what
13263 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13265 * MenuBackend.C (expand): use Floating::listName
13267 * FloatList.C (FloatList): add listName argument to the built-in
13270 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13271 text associated with the float.
13273 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13275 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13277 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13279 * ShareContainer.h: add a couple of missing typenames.
13281 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13283 * lyxrc.C (getDescription): use _() correctly rather than N_().
13285 2002-03-28 Herbert Voss <voss@lyx.org>
13287 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13288 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13290 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13292 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13293 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13295 2002-03-29 Juergen Vigna <jug@sad.it>
13297 * lyxfunc.C (dispatch): add a missing fitCursor call.
13299 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13300 it was scrolled by a cursor move, so return the bool status.
13302 * BufferView.C (fitCursor): return the bool flag also to the outside
13303 world as this is needed.
13305 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13307 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13308 call the edit() as it is not needed (and wrong) IMO.
13309 (workAreaButtonPress): set the screen_first variable before evt.
13310 unlock the inset as this may change screen_first and then we have
13311 a wrong y position for the click!
13313 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13315 * MenuBackend.C (expand): another translation that I missed
13317 2002-03-28 Juergen Vigna <jug@sad.it>
13319 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13321 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13323 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13325 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13327 * MenuBackend.C (expand): fix export/view/update when there is no
13330 2002-03-27 Herbert Voss <voss@lyx.org>
13332 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13335 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13337 * bufferview_funcs.C (currentState): only show paragraph number
13338 for is DEVEL_VERSION is set.
13340 * lyxfunc.C (dispatch): put warning in INFO channel
13342 * MenuBackend.C (expand): translate the name of floats
13344 * FloatList.C (FloatList): mark the float names for translation
13346 * converter.C (convert): use LibScriptSearch
13348 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13350 * MenuBackend.C (defaults): fix default menu (we might as well get
13353 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13355 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13358 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13360 * lyxvc.C: reorder includes.
13362 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13364 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13367 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13369 * CutAndPaste.C: change layouts earlier on paste
13370 to avoid crashing when calling getFont()
13372 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13374 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13377 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13379 * WorkArea.C: remove 'Pending' debug message.
13381 * most files: ws cleanup
13383 * buffer.[Ch]: ws changes
13385 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13387 2002-03-21 Juergen Vigna <jug@sad.it>
13389 * tabular.C (SetMultiColumn): collapse also the contents of the
13390 cells and set the last border right. Added a Buffer const * param.
13392 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13394 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13397 2002-03-19 Juergen Vigna <jug@sad.it>
13399 * text2.C (clearSelection): reset also xsel_cache.
13401 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13402 where it needs to be called (John tells us to do so too :)
13403 (selectionLost): reset sel_cache.
13405 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13407 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13409 * text2.C (setCursorIntern): put debuging code in INSETS channel
13411 2002-03-19 André Pönitz <poenitz@gmx.net>
13413 * lyxfunc.C: tiny whitespace change
13415 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13417 * ToolbarDefaults.C (init):
13418 * LyXAction.C (init):
13420 * BufferView_pimpl.C (Dispatch):
13421 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13423 2002-03-19 Allan Rae <rae@lyx.org>
13425 * exporter.C (Export): removeAutoInsets before doing anything else.
13426 While I've just introduced a dependency on BufferView this really is
13427 the best place to clean the buffer otherwise you need to cleanup in
13428 a dozen places before calling export or cleanup in a dozen functions
13431 * converter.C (runLaTeX):
13432 (scanLog): Better handling of removeAutoInsets and screen updates.
13434 * lyxfunc.C (dispatch): small whitespace changes
13436 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13438 * WorkArea.C (C_WorkAreaEvent): return a value.
13439 (event_cb): return 1 if we handled the event, 0 otherwise.
13441 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13443 2002-03-18 Juergen Vigna <jug@sad.it>
13445 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13446 (GetAdditionalWidth): ditto.
13447 (RightLine): ditto.
13450 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13451 inset if we're there actually (probably not used right now but this
13452 is the direction to go for unifying code).
13453 (paste): disable code to clear the selection.
13455 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13456 inside an InsetText and move the check further up as it is in the
13459 * text2.C (pasteSelection): set a selection over the pasted text.
13461 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13463 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13464 and libgraphics to build on Cygwin.
13466 2002-03-15 Juergen Vigna <jug@sad.it>
13468 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13469 inserting an Inset into the paragraph. I know this is not the best
13470 fix but we already use current_view in CutAndPaste so we will remove
13471 all of it's using at the same time.
13473 * buffer.C (sgmlError): deactivated function till it is rewritten in
13474 the right mode, now it can create problems.
13476 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13477 before accessing it.
13479 2002-03-14 Juergen Vigna <jug@sad.it>
13481 * undo_funcs.C (textHandleUndo): do the right thing when updating
13482 the inset after the undo/redo.
13484 * text2.C (setCursor): just some testcode for #44 not ready yet.
13486 * undo_funcs.C (textHandleUndo): set the next() and previous()
13487 pointers of the paragraph to 0 before deleting otherwise we have
13488 problems with the Paragraph::[destructor].
13490 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13491 on a paragraph insertion.
13493 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13495 * buffer.C (asciiParagraph): use += operator for char append to
13498 * paragraph.C (getFontSettings): compare >= not just >
13499 (highestFontInRange): ditto
13502 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13504 * paragraph.C: change several algorithm to be more appripriate for
13505 the problem domain. This is lookip in FontList and in the InsetList.
13507 2002-03-13 André Pönitz <poenitz@gmx.net>
13510 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13512 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13517 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13519 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13521 * Painter.C (display): anon helper function, adjust code for this
13523 (pixmap): remove function.
13525 * Painter.h: remove private display variable.
13527 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13529 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13531 * WorkArea.[Ch]: remove figinset_canvas cruft.
13533 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13535 * lyxtextclass.C (operator): add one item cache optimization.
13537 * bufferlist.h: doxy changes
13539 * bufferlist.C: ws changes
13541 * DepTable.[Ch] (ext_exist): place const in the right spot.
13543 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13545 (workAreaExpose): call resizeInsets when the with BufferView changes.
13546 (Dispatch): adjust for protectedBlank removal
13547 (specialChar): call updateInset if the insert went ok.
13549 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13550 specialChar instead.
13552 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13554 * BufferView.h: doxy change
13556 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13558 * lyxtextclass.C (operator[]): remove non-const version
13559 (defaultLayout): remove non-const version
13561 2002-03-12 Juergen Vigna <jug@sad.it>
13563 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13564 did resize the LyXText too.
13566 * buffer.C (readLyXformat2): set layout information on newly allocated
13569 * tabular.C (OldFormatRead): set layout information on the paragraph.
13571 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13573 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13575 2002-03-11 Juergen Vigna <jug@sad.it>
13577 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13579 (resizeCurrentBuffer): force also the insets to resize themselfes.
13580 (moveCursorUpdate): fixed up for InsetText.
13582 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13585 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13586 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13587 value of Dialogs::tooltipsEnabled().
13588 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13590 2002-03-08 Juergen Vigna <jug@sad.it>
13592 * BufferView_pimpl.C (updateInset): update inset inside inset also
13593 if it isn't inside theLockingInset().
13595 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13597 * buffer.C (asciiParagraph): redo some of the word and line length
13599 (getLists): look for Caption instead of caption.
13601 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13603 * buffer.C (Buffer): initialize niceFile to true
13605 (makeLinuxDocFile):
13606 (makeDocBookFile): make sure niceFile is true on exit
13608 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13610 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13612 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13614 * LyXSendto.C: remove.
13615 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13616 * lyx_gui.C: remove now-redundant comment.
13617 * ColorHandler.h: remove forward declaration of class WorkArea.
13618 * lyxfunc.C: remove #include "WorkArea.h".
13620 2002-03-07 Juergen Vigna <jug@sad.it>
13622 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13623 got moved away with the DEPM and also set the inset_owner always
13624 right which before could have been omitted.
13626 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13628 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13629 wanted layout is not found.
13631 2002-03-07 Juergen Vigna <jug@sad.it>
13633 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13635 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13637 * paragraph.C (breakParagraph): use default layout not layout of
13639 (Paragraph): clear ParagraphParameters.
13641 2002-03-06 Juergen Vigna <jug@sad.it>
13643 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13644 otherwise it would not be a valid lenght. Fixed a special case in
13645 the minipage compatibility read where we end the document with a
13648 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13649 was set as it could be 0 for InsetTexts first entry.
13651 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13653 * paragraph.C (writeFile): if layout is empty write out
13654 defaultLayoutName().
13656 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13657 file without named layout we set layout to defaultLayoutName().
13659 2002-03-06 Juergen Vigna <jug@sad.it>
13661 * CutAndPaste.C (copySelection): set layout for new paragraph.
13663 * text.C (prepareToPrint): leave ERT inset left aligned
13664 (leftMargin): don't indent paragraphs inside ERT insets
13666 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13668 * paragraph.C (breakParagraph): dont call clear do the work manually
13670 * paragraph.[Ch] (clear): remove function
13672 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13674 * paragraph.C (Paragraph): dont call clear, the work has already
13677 * lyxtextclass.C (operator): assert if n is empty
13679 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13680 work manually instead.
13682 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13684 * BufferView_pimpl.C: protect selectionLost against text == 0
13686 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13688 * text.C (breakParagraph): fix a setting layout to '0' problem.
13690 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13692 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13693 final location of file, for the included files, and graphics.
13695 2002-03-05 Juergen Vigna <jug@sad.it>
13697 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13699 2002-03-04 Juergen Vigna <jug@sad.it>
13701 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13703 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13704 last column of multicolumn cells.
13705 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13707 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13709 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13710 file if it doesn't go to a temporary file.
13712 * buffer.C (sgmlOpenTag):
13713 (sgmlCloseTag): remove extra newline insertion.
13715 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13717 * text.C (getRowNearY): comment out debug msg
13719 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13721 * text2.C: first -> first_y
13723 * text.C (getRowNearY): add some attemts at a possible
13724 optimization, not working.
13726 * tabular.[Ch]: add BufferParams to several function so that newly
13727 created paragraph can be initialized to he default layotu for the
13730 * tabular-old.C (ReadOld): add buf->params to call of Init
13732 * screen.C: rename text->first to text->first_y
13734 * paragraph.C (breakParagraph): always set layout in the broken
13737 * lyxtextclass.C (Read): remove lowercase
13740 (delete_layout): ditto
13742 * lyxtext.h: rename first -> first_y
13744 * lyxlayout.C (Read): remove lowercase
13747 (obsoleted_by): ditto
13749 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13751 * buffer.C (insertErtContents): add params are to InsetERT
13752 (parseSingleLyXformat2Token): add code to check if a paragraphs
13753 layout really exist.
13754 (parseSingleLyXformat2Token): add params to several inset
13756 (asciiParagraph): remove lowercase, do the layout comparisons with
13759 * BufferView_pimpl.C (cursorNext): first -> first_y
13760 (resizeCurrentBuffer): first -> first_y
13761 (updateScrollbar): first -> first_y
13762 (scrollCB): first -> first_y
13763 (workAreaMotionNotify): first -> first_y
13764 (workAreaButtonPress): first -> first_y
13765 (checkInsetHit): first -> first_y
13766 (cursorPrevious): first -> first_y
13767 (cursorNext): first -> first_y
13768 (Dispatch): add buffer_->params to severl inset contructors
13770 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13772 * lyxlayout.C (Read): remove some debug info that I forgot.
13774 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13775 clean up the code slightly.
13776 (makeLinuxDocFile): ditto
13777 (makeDocBookFile): ditto
13779 * text2.C: layout as string
13781 * text.C: layout as string
13783 * paragraph_pimpl.C: layout as string
13785 * paragraph.[Ch]: layout as string
13787 * lyxtextclasslist.[Ch]: layout as string
13789 * lyxtextclass.[Ch]: layout as string
13791 * lyxtext.h: layout as string
13793 * lyxlayout.[Ch]: layout as string
13795 * lyx_cb.C: layout as string
13797 * bufferview_funcs.C: layout as string
13799 * bufferparams.C: layout as string
13801 * buffer.C: layout as string
13803 * LyXView.[Ch]: layout as string
13805 * LaTeXFeatures.[Ch]: layout as string
13807 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13809 * BufferView_pimpl.C: change current_layout to string, remove
13814 (workAreaButtonRelease): layout as string
13816 * BufferView2.C (unlockInset): adjust
13818 * vspace.C (asLatexCommand): use an explict temp variable.
13820 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13822 * Makefile.am: use FRONTEND_*
13824 2002-03-01 Juergen Vigna <jug@sad.it>
13826 * tabular.C (SetWidthOfMulticolCell): changed to something better
13827 I hope but still work in progress.
13828 (recalculateMulticolumnsOfColumn): renamed function from
13829 recalculateMulticolCells as it is more appropriate now.
13830 (SetWidthOfCell): calculate multicols better.
13832 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13834 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13836 * lyxfunc.C (processKeySym): print sequence also if it is
13837 `deleted' (complete)
13839 * kbsequence.C (print): print sequence even if it is deleted
13840 (complete would be a better word, actually).
13842 * lyxfunc.C (dispatch): print complete options after a prefix key
13844 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13846 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13848 * text2.C (setCharFont): eliminate setCharFont code duplication.
13850 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13852 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13853 LFUN_TABULAR_FEATURE (bug #177)
13855 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13857 * Makefile.am: remove figure.h
13859 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13861 * Bufferview_pimpl.C:
13873 * text2.C: remove #include "lyx_gui_misc.h".
13875 * LaTeX.C: added #include <cstdio>
13877 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13879 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13880 that the paragraph following this one can have.
13882 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13884 * vspace.C (asLatexCommand): fix bogus gcc warning
13886 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13888 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13890 * text2.C (setLayout): get rid of redundant code
13892 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13894 * text2.C (incDepth): make sure depth cannot be increased beyond
13897 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13899 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13900 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13902 * PainterBase.h (image):
13903 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13904 a LyXImage const *.
13906 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13910 * BufferView_pimpl.C:
13911 * BufferView_pimpl.h:
13931 * sp_spell.C: remove fig inset, and the crap house of
13932 cards that follows it
13934 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13939 * os2_errortable.h:
13940 * nt_defines.h: move .h into support/
13942 * vms_defines.h: remove
13944 * WorkArea.C: add space in debug output
13948 * buffer.C: add WITH_WARNINGS
13952 * bufferlist.C: s/retrive/retrieve/, add docs
13961 * chset.C: add docs
13963 * lyxgui.C: add ID to X error handler
13965 * lyxtestclass.c: fix typo
13967 2002-02-26 Juergen Vigna <jug@sad.it>
13969 * tabular_funcs.C (write_attribute): changed so that some default
13970 attributes are not written at all.
13971 (getTokenValue): set default values before trying to read the
13972 value so we have the return value always set as default if we don't
13973 find the token we search for.
13975 * tabular.C (Write): write bools as bools not as strings!
13977 2002-02-22 Juergen Vigna <jug@sad.it>
13979 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13980 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13982 * text.C (leftMargin): don't add an indent for paragraphs inside
13983 tabular cells (fix #208).
13985 2002-02-21 José Matos <jamatos@fep.up.pt>
13987 * tabular.C (docBook): fixed support for long tables.
13989 2002-02-20 Juergen Vigna <jug@sad.it>
13991 * text2.C (getFont): get the drawing font of the Inset if this
13992 paragraph is inside an inset (only important for InsetERT for now).
13994 * buffer.C (insertErtContents): use new lanugage params in ERT
13997 * CutAndPaste.C: commenting out seemingly uneeded code.
13999 2002-02-19 Allan Rae <rae@lyx.org>
14001 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14002 Iterators might be simple to use but they also get invalidated.
14003 (removeAutoInsets): renamed saved cursor tracking variables and added
14004 some comments to clarify what everything does.
14006 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14013 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14014 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14017 * vc-backend.h: remove #include "support/syscall.h"
14021 * converter.C: rearrange #includes in Lars' approved fashion.
14023 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14024 forward declare class Timeout in the header file.
14026 * XFormsView.C: changes due to the above.
14028 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14029 similar to LyXView.
14031 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14032 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14034 2002-02-18 José Matos <jamatos@fep.up.pt>
14036 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14039 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14041 * a lot of small ws changes
14042 * add a lot of using std::XXX
14043 * use std construcs some places where approp.
14044 * use some exisint stuff from lyxfunctional where approp.
14045 * Make file changes to use partial linking (lets test this now...)
14047 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14051 remove #include "support/syscontr.h" as it's redundant. Always has been.
14059 change Systemcalls::System to Systemcalls::Wait and
14060 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14061 No change of functionality, just reflects the stripped down Systemcalls
14064 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14066 * debug.[Ch]: add a GRAPHICS type to the enum.
14068 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14070 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14072 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14075 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14077 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14078 match the changes below.
14080 * text2.C (toggleInset): if there is not editable inset at cursor
14081 position, try to see if cursor is _inside_ a collapsable inset
14084 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14086 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14087 document menu has a nice checkbox
14089 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14091 * lyxlength.C (asLatexString): change PW to output as percent of
14094 * lengthcommon.C: change '%' to 't%'
14096 * lyxfunc.C (dispatch): a few comments from Martin
14098 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14102 * BufferView_pimpl.h:
14103 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14106 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14108 * vspace.C (inPixels): fix compiler warning
14110 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14112 * lyxfunc.C (getStatus): fix status message for disabled commands.
14114 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14116 * BufferView_pimpl.C: fix crash on close buffer
14117 during selection (#227)
14119 2002-01-27 Herbert Voss <voss@lyx.org>
14121 * buffer.C: link old Figure to new graphic inset
14123 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14125 * FontLoader.C (getFontinfo): Change the latex font names in order
14126 to match the names of type1inst.
14128 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14130 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14132 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14133 (extchanged): ditto
14135 (remove_files_with_extension): ditto
14136 (remove_file): ditto
14139 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14140 document is smaller than the work area height. Do not initialize
14141 static variables to 0.
14143 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14145 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14147 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14148 LFUN_LAYOUT_PARAGRAPHS.
14150 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14151 tabular. It is possible to provide a possible cell, which will
14152 typically be the actcell from the corresponding insettabular
14154 * lyxfunc.C (getStatus): small cleanup; disable
14155 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14158 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14160 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14162 * paragraph.C (startTeXParParams):
14163 (endTeXParParams): new methods. The LaTeX code to
14164 start/end paragraph formatting
14165 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14166 empty (fixes bug #200)
14168 * vspace.C (inPixels): adapt to the change below
14169 (inPixels): [later] more cleanups (remove unused variables)
14171 * lyxlength.C (inPixels): change to use a width and a height as
14174 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14176 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14177 Replaced with \paperwidth
14179 * DepTable.C (insert): add std:: qualifier
14181 2002-01-18 Allan Rae <rae@lyx.org>
14183 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14186 * text.C (drawInset): Turned out I didn't know enough about how
14187 rebreaking worked. This fixes most of the redraw problems. I see
14188 an occasional cursor trail when a line is broken now and the cursor
14189 placement can seem out by a few pixels also after a rebreak.
14191 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14193 * buffer.C (parseSingleLyXformat2Token): update because minipage
14194 width is now a LyXLength
14196 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14198 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14201 2002-01-17 Juergen Vigna <jug@sad.it>
14203 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14205 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14206 is set correctly and the inset is updated correctly.
14208 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14210 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14211 the beginning of the loop.
14213 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14215 * lyxrc.C: improve help for use_scalable_fonts
14217 2002-01-17 Allan Rae <rae@lyx.org>
14219 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14221 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14223 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14224 make sure to set their inset_owner to the right value (bug #171)
14226 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14229 * DepTable.C: Implement mtime checking to reduce time spent doing
14232 2002-01-16 Juergen Vigna <jug@sad.it>
14234 * tabular.C (GetAdditionalHeight): one of error fixed.
14236 * lyxrc.C (output): small fix in writing use_pspell.
14238 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14240 * sp_base.h: #include LString.h
14242 2002-01-16 Allan Rae <rae@lyx.org>
14244 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14245 Can someone check this please?
14247 * text.C (drawInset): It was possible that p.row would be removed by
14248 breakAgainOneRow upsetting a few other settings. There may be another
14249 small tweak possible by setting need_break_row = 0 when p.row has been
14250 removed but I don't know enough about the logic here.
14252 2002-01-15 Allan Rae <rae@lyx.org>
14254 * text.C (insertChar): removed conditional truism.
14256 * BufferView2.C (removeAutoInsets): More tweaks.
14257 cur_par_prev could be a stray pointer. Check for trailing empty line
14258 in case last line was cur_par and only had an error inset on it.
14260 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14262 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14265 * vc-backend.C (most methods):
14266 * exporter.C (Export):
14267 * converter.C (convert):
14269 * LyXSendto.C (SendtoApplyCB):
14270 * lyxfunc.C (dispatch):
14274 * lyx_cb.C (AutoSave):
14276 * BufferView_pimpl.C (MenuInsertLyXFile):
14277 * buffer.C (runChktex): use Buffer::filePath().
14279 * buffer.h: rename filename to filename_; rename filepath to
14280 filepath_ and make it private
14281 (filePath): new method
14283 * buffer.C (writeFile): use fileName()
14286 * lyx_main.C (init): fix starting of LyX when the binary is a
14287 link from so,ewhere else.
14289 * minibuffer.C: include <cctype> for isprint
14291 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14293 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14294 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14295 name clash with InsetCollapsable's width function.
14297 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14299 * lastfiles.C: include <iterator>
14301 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14303 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14306 * buffer.C (makeLaTeXFile): ditto.
14307 Also make loop operation more transparent.
14309 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14311 * ToolbarDefaults.C: remove trailing comma closing namespace.
14313 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14315 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14318 * trans.C (Load): comment out unused variable, allowed.
14320 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14322 * minibuffer.[Ch] (append_char): new method to recieve input from the
14323 drop-down completion browser. If a key was pressed, then recieve this
14324 char and append it to the existing string.
14325 (peek_event): modify the positioning data passed to the completion
14326 browser so that it can be placed above the minibuffer rather than below.
14327 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14329 * LyXAction.C (init): alloe error-next for readonly documents.
14331 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14334 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14336 * bufferlist.C (readFile): create the buffer _after_ checking that
14339 * lyxfunc.C (verboseDispatch): fix handling of arguments
14341 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14343 * lyxrc.C: use string::erase() instead of initializing to "".
14346 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14348 * BufferView_pimpl.h:
14349 * BufferView_pimpl.C:
14352 * text2.C: tell X when we have made a selection for copying
14354 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14356 * BufferView_pimpl.C (MenuInsertLyXFile):
14357 * lyxfunc.C (menuNew):
14359 (doImport): add shortcuts to directory buttons
14361 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14364 * lyxfunc.C (setStatusMessage):
14365 (getStatusMessage): new methods
14366 (getStatus):use setStatusMessage instead of setErrorMessage
14367 (dispatch): when function is disabled, set error message here
14368 [instead of in getStatus previously]
14370 * BufferView_pimpl.C (workAreaButtonRelease): update
14371 toolbar/menubar here too.
14373 2002-01-13 Allan Rae <rae@lyx.org>
14375 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14376 Now seems indestructible. Remaining task is to audit all other
14377 code affected by deleteEmptyParagraphMechanism. One small quirk
14378 left is that an empty document with an error in the preamble can
14379 be made to report an error but no error box appears. I don't know
14381 (removeAutoInsets): Improved comments.
14383 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14386 * Thesaurus.C: update for Aiksaurus 0.14
14388 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14390 * text2.C (firstParagraph): removed member function, all uses
14391 replaces with ownerParagraph
14392 (redoParagraphs): here
14393 (updateInset): here
14394 (toggleAppendix): here
14395 * BufferView2.C (insertErrors): here
14396 (setCursorFromRow): here
14398 2002-01-13 Allan Rae <rae@lyx.org>
14400 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14401 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14402 There is still a way to segfault this although you may have to do this
14403 multiple times: Have an InsetERT with an unknown command in it.
14404 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14405 <down-arrow>, <Enter> again, View->DVI, BANG!
14407 * text2.C (setCursor):
14408 (deleteEmptyParagraphMechanism):
14409 * lyxtext.h (setCursor):
14410 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14411 Making use of the return value may help fix other bugs.
14413 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14415 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14417 * LyXView.C (updateMenubar): call MenuBar::update here
14418 (updateToolbar): but not here
14419 (showState): do not update toolbar/menubar
14421 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14422 should need to care about that.
14424 * lyxfunc.C (verboseDispatch): simplify a bit
14425 (getStatus): have a version which takes a pseudoaction, and
14426 another which requires a (kb_action,string).
14428 * LyXAction.C (retrieveActionArg): make it work also when action
14429 is not a pseudo-action.
14430 (getActionName): simplify a bit
14433 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14435 * lyxfunc.C (verboseDispatch): new families of methods with
14436 several ways to specify a command and a bool to indicate whether
14437 the command name and shortcut should be displayed in minibuffer
14438 (eventually, we could extend that to a finer bitmask like
14439 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14440 (dispatch): the pristine dispatch command which just, well,
14441 dispatchs! Note it still sets its result to minibuffer; I'm not
14444 * lyxfunc.h: remove setHintMessage
14446 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14448 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14450 * BufferView_pimpl.C (specialChar): delete new inset if we have
14451 not been able to insert it.
14453 * kbmap.C: revert to using int instead of kb_action, since all we
14454 are dealing with is pseudo-actions.
14456 * LyXAction.C (searchActionArg): change to return int instead of
14457 kb_action, since the result is a pseudoaction.
14459 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14461 * buffer.C (insertErtContents): Fix (partially) the font bug.
14463 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14465 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14466 as the other one is broken on my machine!
14468 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14471 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14473 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14475 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14476 reflect their actual use. Provide compatibility code for older lyxrc
14479 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14481 change names of popup font variables in line with the changes to lyxrc.C
14483 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14485 * buffer.C (asciiParagraph): avoid outputing a word twice after
14488 * lyxrc.C (getDescription): document that document_path and
14489 template_path can be empty.
14491 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14493 * LaTeXFeatures.C (getMacros):
14494 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14496 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14498 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14500 (getPackages): rename feature "floats" to "float". Use an array to
14501 iterate over 'simple' features (i.e. just a \usepackage). Add
14502 handling of "amsmath" (renamed from "amsstyle").
14504 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14506 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14509 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14511 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14512 FuncStaus::FuncStatus & FuncStaus::some_method().
14514 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14516 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14517 of the func_satus stuff. Edited and massaged in various ways by
14520 * lyxfunc.C (getStatus): use FuncStatus
14522 2002-01-08 Juergen Vigna <jug@sad.it>
14524 * text.C (nextBreakPoint): use function Inset::isChar().
14526 * paragraph.C (TeXOnePar): use function
14527 Inset::forceDefaultParagraphs.
14529 * buffer.C (latexParagraphs): use function
14530 Inset::forceDefaultParagraphs.
14532 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14534 * lyx_gui.C (init): set the style of the menu popups to
14535 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14537 2002-01-07 Juergen Vigna <jug@sad.it>
14539 * text.C (setHeightOfRow): small fix
14540 (prepareToPrint): don't look at alignment if we don't have the place
14543 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14545 * box.C: New file. Move the Box methods and functions out of box.h,
14546 following Lars' suggestion.
14548 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14550 * box.h: #include "support/LOstream.h", needed for inlined function.
14553 * lyxtextclasslist.C: added some using std declarations.
14555 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14557 * box.h: make signed dimensions to allow insets wider than
14558 the screen (bug #162)
14560 * BufferView_pimpl.C: add some insetHit debug
14562 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14564 * vc-backend.C: add FIXME
14566 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14568 * lyxfunc.C (getStatus): enable code for showing math font status
14571 2002-01-07 Juergen Vigna <jug@sad.it>
14573 * text.C (nextBreakPoint): removed debug output not needed anymore.
14575 2002-01-06 Juergen Vigna <jug@sad.it>
14577 * text.C (nextBreakPoint): fixed up this function we had this bug
14578 since ever but now hopefully we break row better.
14579 (insertChar): we have to check if an inset is the next char as it
14580 could now happen that a large inset is causing a break.
14582 2002-01-05 Juergen Vigna <jug@sad.it>
14584 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14585 if it doesn't like to be drawed.
14587 2002-01-04 Juergen Vigna <jug@sad.it>
14589 * BufferView2.C (lockInset): forgot to set a cursor.
14591 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14593 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14595 * FormMathsPanel.C:
14598 * form_maths_panel.C:
14599 * form_maths_panel.h:
14600 * form_maths_panel.fd: implemented sub- and super- buttons in math
14603 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14604 (or ^ space) to be used as in TeX (req'd by Andr�.
14606 * lyxfunc.C: Allow ^ and _ again to be used both as
14607 super/subscript (mathed) and as themselves (in text).
14609 2002-01-03 Allan Rae <rae@lyx.org>
14611 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14612 "LyX" or the filename of the current buffer if it has one. This is a
14613 modified form of John Levon's patch.
14615 * XFormsView.C (setWindowTitle): also set icon title.
14617 * LyXView.h (setWindowTitle): signature changed.
14618 * XFormsView.h (setWindowTitle): ditto.
14620 2002-01-02 Juergen Vigna <jug@sad.it>
14622 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14624 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14626 * screen.C (topCursorVisible): introduce a temp var for
14627 text->cursor.row(), handle the case where this row is null. (kindo
14630 * text2.C (setCursor): add a couple of asserts.
14632 * paragraph.h (inset_iterator): add -> operator
14634 * paragraph.[Ch] (autoDeleteInsets): remove member function
14636 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14637 cursor pos correctly and handle inset deletion by itself.
14638 (insertErrors): move iterator declaration out of for expression
14640 * lyxtextclass.C: add <algorithm>
14642 * Makefile.am: added the new files to sources, removed layout.C
14644 * layout.C: removed file
14646 * layout.h: remove LYX_DUMMY_LAYOUT
14648 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14652 * lyxtextclass.[Ch]:
14653 * lyxtextclasslist.[Ch]: new files
14655 * include order changes to a lot of files, also changes because of
14658 2001-12-27 Juergen Vigna <jug@sad.it>
14660 * buffer.C (asciiParagraph): more fixes.
14662 * tabular.C (ascii): make ascii export support export of only the
14663 data separated by a column-delimiter.
14664 (ascii): better support for ascii export.
14666 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14668 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14670 * tabular_funcs.C: use a "using std::getline" instead of the
14671 previous fix from Angus (necessary for cxx + lyxstring)
14673 2001-12-24 Juergen Vigna <jug@sad.it>
14675 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14677 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14678 problems. First check a minipage also if we have some ert-contents
14679 (not only on par->size(), second set the right depth of the paragraph
14680 on the relink to the root-paragraph-list!
14682 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14683 which then did not anymore update the main paragraphs on undo/redo!
14685 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14687 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14688 code. Support all font-changing funcs (even those which are not in
14689 menu currently). Support for reporting font settings in
14690 mathed (disabled until Andre provides a function on mathed's side).
14692 * func_status.h (toggle): small helper function to set toggle
14695 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14697 * tabular_funcs.C: getline -> std::getline
14699 2001-12-21 Juergen Vigna <jug@sad.it>
14701 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14702 accessed and could be 0 (I couldn't generate this but it seems
14705 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14707 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14708 * tabular_funcs.h: here and include iosfwd
14710 2001-12-20 Juergen Vigna <jug@sad.it>
14712 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14713 inside inset but undo_par was.
14715 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14717 * Thesaurus.C: always include <config.h> in sources.
14721 * box.h: do not include <config.h> in header files
14723 * text.C (paintLastRow): remove unused variable
14725 * text.C (transformChar):
14727 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14729 * Painter.C (text):
14730 * font.C (width): rewrite to use uppercase() instead of
14733 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14735 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14737 * lyxfind.C: clean up of find failure position change
14739 2001-12-20 Juergen Vigna <jug@sad.it>
14741 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14743 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14744 (TeXRow): added to LaTeX a single tabular row.
14745 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14746 (Latex): simplified and finally good LT-h/f support.
14747 (various_functions): just small adaptions for LT-h/f support.
14749 * tabular_funcs.[hC]: added and moved here all not classfunctions
14752 2001-12-19 Juergen Vigna <jug@sad.it>
14754 * tabular.[Ch]: better support for longtabular options (not finished
14757 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14759 * text.C (paintLastRow): use the label font instead of the font of
14760 the last character to compute the size of *_BOX. This makes more
14761 sense and avoids a crash with empty paragraphs.
14762 Use Painter::rectangle to draw EMPTY_BOX.
14764 2001-12-19 Juergen Vigna <jug@sad.it>
14766 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14767 the paragraphs if the replaced paragraph is not the first one!
14768 Tried to delete not used paragraphs but does not work yet so for
14769 now it's inside #ifdef's and by default off!
14771 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14773 * MenuBackend.C: include "lyx_main.h" instead of declaring
14774 lastfiles (actually was declared as LastFiles* instead of a
14777 2001-12-17 Juergen Vigna <jug@sad.it>
14779 * tabular.C (AppendColumn): applied John's fix
14781 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14785 * BufferView_pimpl.h:
14786 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14789 * box.h: new start of class for above
14791 * lyxfunc.C: ignore space-only minibuffer dispatches.
14792 Show the command name when it doesn't exist
14794 * minibuffer.C: don't add empty lines to the history
14796 * minibuffer.C: add a space on dropdown completion
14798 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14800 * text.C: fix line above/below drawing in insets
14802 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14804 * lyxlength.C (LyXLength): Initialize private variables.
14806 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14808 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14809 when inserting error insets.
14811 2001-12-13 Juergen Vigna <jug@sad.it>
14813 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14814 actually sometimes the before-paragraph.
14815 (setUndo): don't clear the redostack if we're not actually undoing!
14817 2001-12-06 Juergen Vigna <jug@sad.it>
14819 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14820 and fixed redoing of main paragraph, so we can use it now ;)
14822 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14824 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14826 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14829 2001-12-13 André Pönitz <poenitz@gmx.net>
14832 * undo_func.C: minor cleanup
14834 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14836 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14837 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14838 font in urw-fonts package which is marked as -urw-fontspecific and
14839 does not work (incidentally, changing the encoding in the
14840 fonts.dir of this package to -adobe-fontspecific fixes the
14843 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14844 is a crash when undoing first paragraph (Juergen, please take a
14845 look). THis does not mean the undo fix is wrong, just that it
14848 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14849 the (Paragraph*) version when needed instead of duplicating the
14852 * text.C (workWidth): use Inset::parOwner to find out where the
14853 inset has been inserted. This is a huge performance gain for large
14854 documents with lots of insets. If Inset::parOwner is not set, fall
14855 back on the brute force method
14857 * paragraph_pimpl.C (insertInset):
14858 * paragraph.C (Paragraph):
14859 (cutIntoMinibuffer): set parOwner of insets when
14860 inserting/removing them
14862 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14864 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14870 * mathed/formulabase.C:
14871 * mathed/math_cursor.[Ch]:
14872 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14875 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14877 * lyxlength.[Ch] (operator!=): new function
14879 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14881 * text.C (workWidth): use Inset::parOwner to find out where the
14882 inset has been inserted. This is a huge performance gain for large
14883 documents with lots of insets. If Inset::parOwner is not set, fall
14884 back on the brute force method
14886 * paragraph_pimpl.C (insertInset):
14887 * paragraph.C (Paragraph):
14888 (cutIntoMinibuffer): set parOwner of insets when
14889 inserting/removing them
14891 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14893 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14895 * tabular-old.C (getTokenValue):
14896 * tabular.C (getTokenValue):
14897 (write_attribute): new versions for LyXLength
14898 (everywhere): adjust the use of widths
14900 * tabular.h: change the type of widths from string to LyXLength
14902 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14904 * paragraph.C: fixed missing line number count when exporting
14905 Environments to LaTeX file
14907 * buffer.C: added informational message for checking line numbers.
14909 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14911 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14912 paragraph, do the 'double space' part, but not the 'empty
14915 * text.C (workWidth): small optimization
14916 (getLengthMarkerHeight): use minimal size for negative lengths.
14918 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14920 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14922 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14924 2001-12-11 André Pönitz <poenitz@gmx.net>
14927 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14929 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14931 * text2.C: keep selection on a setFont()
14933 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14935 * lyx_cb.C: another bv->text misuse, from insert label
14937 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14940 * kbsequence.C: re-instate nmodifier mask
14942 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14944 * lyx_main.h: make lyxGUI private.
14946 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14948 * lyxfind.C: place the cursor correctly on failed search
14950 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14952 * text.C (getLengthMarkerHeight): for small heights, the arrows
14953 are not always on top/bottom of the text
14954 (drawLengthMarker): smaller arrows; take the left margin in
14955 account; draw also vfills.
14957 (paintLastRow): remove special code for vfill and standard spaces,
14958 since everything is handled in drawLengthMarker now.
14960 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14962 * buffer.C (insertErtContents): try to handle font and language
14963 interaction a bit better.g
14965 * ColorHandler.C (updateColor): change the hash to cover the whole
14966 LColor enum, ws cleanup
14967 (getGCLinepars): ditto
14968 (getGCLinepars): only lookup in the linecache once.
14970 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14972 * iterators.C (operator++): Make the iterator more robust
14974 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14976 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14978 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14981 * text.C: better added space drawing
14983 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14986 * BufferView2.C: fix layout combo update on inset unlock
14988 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14990 * Makefile.am: don't compile unused files
14992 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14996 * LyXAction.C: remove old LFUN_LAYOUTNO
14998 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15000 * paragraph_pimpl.h:
15001 * paragraph_pimpl.C: isTextAt() doesn't need font param
15003 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15006 * lyxlex.C: little cleanup
15008 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15010 * BufferView_pimpl.C: fix insertAscii for insets
15012 2001-12-05 Juergen Vigna <jug@sad.it>
15014 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15015 set the right font on the "multi" paragraph paste!
15017 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15023 * lyxlength.C: remove out-commented code.
15025 * BufferView_pimpl:
15039 * vc-backend.C: change "while(" to "while ("
15041 * lyxlength.[Ch]: add zero function to check if length is zero or
15043 * lyxgluelength.C: use it
15045 2001-12-05 Allan Rae <rae@lyx.org>
15047 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15048 Works for 2.95.3, from what I understand of Garst's reports this should
15049 work for other g++ versions. We're screwed if the abs(int) definition
15050 changed between bugfix releases of gcc.
15052 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15054 * text.C: fix chapter label offset !
15056 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15059 * text.C: fix hfill at end of line, clean up
15061 2001-12-04 Juergen Vigna <jug@sad.it>
15063 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15064 that we force an update of the inset and it's owners if neccessary.
15066 2001-12-03 Juergen Vigna <jug@sad.it>
15068 * text.C (rowLast): simplified code
15070 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15072 * lyxfunc.C: fix show options on timeout
15074 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15076 * screen.C (topCursorVisible): scroll half a page when the cursor
15077 reached top of bottom of screen
15079 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15081 * minibuffer.C: deactivate on loss of focus
15083 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15085 * vspace.[Ch] (operator!=): add operator.
15087 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15089 * BufferView_pimpl.C: refuse to open an inset when
15090 there's a selection.
15092 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15094 * BufferView_pimpl.C: allow to click on RHS of full row insets
15096 2001-11-30 Juergen Vigna <jug@sad.it>
15098 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15099 insets for undo reasons.
15101 2001-11-28 André Pönitz <poenitz@gmx.net>
15103 * vspace.[Ch]: cosmetical changes
15105 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15115 * kbsequence.C: part re-write of old kb code
15118 * WorkArea.C: remove Lgb_bug_find_hack
15120 2001-11-30 José Matos <jamatos@fep.up.pt>
15122 * buffer.C (makeDocBookFile): add a comment to point a hack.
15123 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15124 Fixed a double write of labels.
15126 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15129 * LaTeX.h Fixed bug in LaTeX class where it would not
15130 re-run latex if no depfiles were changed, but the .dvi was removed.
15132 2001-11-28 André Pönitz <poenitz@gmx.net>
15134 * all the files from the change on 2001/11/26:
15135 use lyx::layout_type instead of LyXTextClass::size_type
15136 use lyx::textclass_type instead of LyXTextClassList::size_type
15138 2001-11-29 Juergen Vigna <jug@sad.it>
15140 * text.C: added support for paragraph::isFreeSpacing()
15142 * buffer.C: same as above
15144 * paragraph.h: inserted isFreeSpacing() function to enable
15145 FreeSpacing inside InsetERT.
15147 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15148 of the paragraph's in the cut/copy buffer to 0!
15150 * text2.C (removeRow): remove the assert as it can!
15152 * lyxtext.h: added helper function firstRow returning firstrow and
15153 made firstrow private again.
15155 * BufferView2.C (lockInset): don't relock if we're already locked!
15157 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15158 the only paragraph.
15159 (removeRow): added Assert::(firstrow)
15161 * debug.C: forgot to add INSETTEXT here.
15163 2001-11-28 Juergen Vigna <jug@sad.it>
15165 * sp_spell.C (initialize): changed error text to more general
15166 spellchecker command use (not only ispell!)
15168 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15170 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15172 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15174 * vspace.C: initialise lyxgluelength on failure
15176 2001-11-28 Allan Rae <rae@lyx.org>
15178 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15179 declaration & definition that looks like a function declaration.
15181 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15183 * BufferView2.C (copy):
15184 (copyEnvironment): do not clear the selection when doing a copy.
15186 * text.C (paintFirstRow): compilation fix
15188 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15190 * tabular.C (Latex): correct line count when writing latex.
15192 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15194 * paragraph_pimpl.h:
15195 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15198 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15202 * LColor.C: change vfillline->added_space
15204 * text.C: add markers and text for added space
15206 * vspace.C: fix comment
15208 2001-11-28 André Pönitz <poenitz@gmx.net>
15210 * paragraph.C: whitespace changes
15211 * all the other files from the change on 2001/11/26:
15212 change *::pos_type into lyx::pos_type
15214 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15216 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15217 language of the document when inserting error insets.
15219 2001-11-26 André Pönitz <poenitz@gmx.net>
15221 * BufferView_pimpl.[Ch]:
15229 * paragraph_pimpl.[Ch]:
15232 * text2.C: reduce header dependencies, introduce type for positions
15234 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15236 * <various>: change to use Alert.h
15238 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15240 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15241 when encountering an unknown token.
15242 (readLyXformat2): Show an error message if there were unknown tokens.
15244 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15247 * BufferView_pimpl.C:
15251 * text2.C: use par->isInset()
15253 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15255 * paragraph_pimpl.h:
15256 * paragraph_pimpl.C: cleanup
15258 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15260 * text2.C (removeRow):
15261 * text.C (setHeightOfRow): remove useless (and costly) call to
15264 2001-11-20 Allan Rae <rae@lyx.org>
15266 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15267 Now need Inset*::checkInsertChar() to return true for appropriate
15268 cases so that the characters in the minibuffer will actually be
15271 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15273 * text.C: change the order of the includes.
15274 (workWidth): initialize it at once.
15275 (workWidth): make maxw unsigned
15276 (setHeightOfRow): remove unused variable (inset)
15277 (selectSelectedWord): remove unused variable (inset)
15278 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15280 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15282 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15283 server is not running.
15285 (closeConnection): add debug info when server is disabled.
15287 * ColorHandler.C (getGCForeground): send debug message to GUI
15290 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15292 * kbmap.C (bind): modify because return conventions of
15293 kb_sequence::parse have changed.
15295 * kbsequence.C (parse): only ignore spaces and not any stupid
15296 control character. This avoids tests like s[i] <= ' ', which are
15297 guaranteed to fail with 8bit characters and signed chars.
15298 Change return code to string::npos when there have been no error
15299 (0 was a bad idea when error is at first character)
15301 2001-11-14 José Matos <jamatos@fep.up.pt>
15304 * buffer.C (simpleDocBookOnePar): removed unused argument.
15306 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15308 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15309 insets which are part of a word. Paragraph::isLetter takes care of
15310 that now. Use Paragraph::isInset to identify insets.
15311 (selectSelectedWord): do not test for hyphenation break.
15313 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15314 that protected spaces are considered as spaces.
15316 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15319 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15322 * lyxserver.C: fix it. and small cleanup.
15324 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15326 * BufferView_pimpl.C: use inline helpers
15329 * LaTeXFeatures.C: fix typos
15332 * Spacing.C: move spacing_string into class
15334 * ToolbarDefaults.C: move stuff into namespace anon
15336 * layout.h: update enum
15338 * lyxfunc.C: use better debug
15340 * minibuffer.h: fix typo
15344 * WorkArea.C: add and use Debug::WORKAREA
15348 * text2.C: code re-organisation, inline helpers
15350 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15352 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15353 std::vector.empty().
15355 2001-11-09 Allan Rae <rae@lyx.org>
15357 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15358 '\n's after tables. Tabular and ERT inset work now makes this no
15361 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15364 * minibuffer.C: fix crash, improve drop-down completion
15366 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15369 * lyxserver.C: invalidate fd's when doing endPipe()
15371 2001-11-08 José Matos <jamatos@fep.up.pt>
15373 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15374 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15377 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15379 2001-11-07 José Matos <jamatos@fep.up.pt>
15382 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15385 * buffer.C (sgmlOpenTag):
15386 * buffer.C (sgmlCloseTag): removed debug info.
15388 * buffer.h (sgmlOpenTag):
15389 * buffer.h (sgmlCloseTag): made public.
15391 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15393 * buffer.C (saveParamsAsDefaults):
15394 * lyx_cb.C (MenuLayoutSave): remove
15396 * LyXAction.C (init):
15398 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15400 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15402 * buffer.C (setPaperStuff): removed from here...
15404 * bufferparams.C (setPaperStuff): ... and moved there.
15406 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15410 * XFormsView.C: add support for drop-down completion
15412 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15414 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15417 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15419 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15422 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15424 * lyx_main.C: change ref to known bugs
15426 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15428 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15429 to work around older babel problems.
15431 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15433 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15435 2001-10-24 Juergen Vigna <jug@sad.it>
15437 * tabular-old.C (ReadOld): below variable changes reflected.
15439 * tabular.[Ch]: added ltType struct for longtable header/footer
15440 defines and changed all instances where they are used. Added
15441 future support for double top/bottom rows.
15443 2001-10-24 José Matos <jamatos@fep.up.pt>
15445 * buffer.h (docbookHandleCaption):
15446 * buffer.C (docbookHandleCaption): removed unused function.
15447 (makeDocBookFile): moved docbook supported version to v4.1.
15449 2001-10-24 José Matos <jamatos@fep.up.pt>
15452 * tabular.C (docbookRow): new function to export docbook code of a row.
15453 (DocBook): now honors the longtable flags.
15455 2001-10-23 José Matos <jamatos@fep.up.pt>
15458 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15459 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15461 * buffer.C (makeLinuxDocFile):
15462 (makeDocBookFile): reworked the preamble, more clean, and with
15463 support for lyx defined entities. Changed the document declaration
15464 to be more XML friendly.
15466 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15467 if we need to output XML that should be done with a filter.
15469 2001-10-22 Juergen Vigna <jug@sad.it>
15471 * sp_pspell.h (class PSpell): add alive function needed in the
15472 controller to see if the spellchecker could be started.
15474 2001-10-22 Juergen Vigna <jug@sad.it>
15476 * buffer.C (insertStringAsLines): modify the font for inserting
15477 chars in certain conditions by calling checkInsertChar(font).
15479 2001-10-19 Juergen Vigna <jug@sad.it>
15481 * text.C (workWidth): use getRow instead of wrong algorithm.
15482 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15484 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15489 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15491 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15493 * text.C (workWidth): do not search for the exact row when
15494 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15495 optimization for big documents.
15497 2001-10-18 Juergen Vigna <jug@sad.it>
15499 * text.C (workWidth): new function with added Inset * parameter.
15501 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15503 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15505 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15506 change return type of getColumnNearX.
15509 * text.C (changeRegionCase): use uppercase/lowercase instead of
15512 (rightMargin): simplify code by factoring out the uses of
15517 (appendParagraph): use Paragraph::size_type
15519 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15521 * vspace.C (asLatexString): add a missing break
15523 2001-10-15 Herbert Voss <voss@perce.de>
15525 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15527 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15529 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15532 2001-10-10 André Pönitz <poenitz@gmx.net>
15534 * lyxfunc.C: removed greek_kb_flag.
15536 2001-10-10 Herbert Voss <voss@perce.de>
15538 * lyx_main.C: delete global string help_lyxdir.
15540 2001-10-09 Herbert Voss <voss@perce.de>
15542 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15544 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15546 * lyx_main.C: added global string help_lyxdir.
15548 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15550 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15552 * lyxrc.C (set_font_norm_type): support iso8859-4
15554 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15556 * LaTeX.C (deplog): add another regex for MikTeX
15558 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15560 * lyxrc.C (set_font_norm_type): support iso8859-3
15562 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15564 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15566 * LaTeXFeatures.C: remove special case of french and index
15568 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15569 before \begin{document}). This solves several incompatibilities.
15571 2001-10-03 Garst Reese <reese@isn.net>
15573 * lyx_cb.C: change CheckTex error msg.
15575 2001-10-03 José Matos <jamatos@fep.up.pt>
15577 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15579 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15581 * .cvsignore: update
15583 * lyx_main.C (commandLineVersionInfo): use new style version info.
15585 * buffer.C (writeFile):
15587 (makeLinuxDocFile):
15588 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15590 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15592 * version.h: update to use stuff in version.C
15594 * version.C.in: new file. Contains version information determined
15595 at compile time. This is a merging of version.h and
15598 2001-10-03 Juergen Vigna <jug@sad.it>
15600 * BufferView_pimpl.C (update): don't change "dirty" status in
15603 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15605 * WorkArea.C (c-tor): re-position version string slightly.
15607 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15609 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15610 revert to previous code.
15612 WorkArea.[Ch]: (show, destroySplash): methods removed.
15614 WorkArea.C: rework code so that it's an amalgam of the codes before and
15615 after the splash screen was moved to WorkArea.
15617 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15620 * vspace.C (inPixels):
15623 * buffer.C (insertStringAsLines):
15624 (asciiParagraph): fix types to be large enough
15626 * lyxlex_pimpl.h: change member status from short to int
15628 * layout.h: fix type of endlabeltype
15631 * kbsequence.C (parse): change return type to string::size_type
15633 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15636 * Bullet.C (bulletSize):
15637 (bulletEntry): do not use short ints as parameters
15639 * BufferView2.C (insertLyXFile): change a char to an int.
15641 * WorkArea.C (WorkArea): remove unneeded floats in computation
15643 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15645 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15647 * paragraph.C (asString): Do not ignore newline/hfill chars when
15648 copying to the clipboard.
15650 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15652 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15653 after a multi-line inset.
15655 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15657 * paragraph.C (validate): Set NeedLyXFootnoteCode
15659 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15661 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15662 and decrease-error to decrease.
15664 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15666 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15667 it more readable (should be equivalent)
15669 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15671 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15673 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15675 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15676 of a cursor (row, etc.) after a character has been deleted
15677 (deleteEmptyParagraphMechanism): call the method above on _all_
15678 cursors held by the LyXText when a double space has been
15681 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15683 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15685 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15687 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15688 background. Use greyOut() and the new show() methods to toggle between
15689 the foreground and background. Add code to remove the splash after
15690 its initial showing.
15692 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15693 (create_forms): no longer call Dialogs::showSplash.
15695 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15697 * .cvsignore: add version_info.h
15699 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15701 * version_info.h.in: new file
15703 * Makefile.am: add version_info.h.in
15705 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15706 version_info.h instead of VERSION_INFO
15708 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15710 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15711 The ERT inset now returns string().
15713 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15715 * lyxtext.h, text.C (selectNextWord): renamed as
15716 selectNextWordToSpellcheck.
15718 * text.C (selectNextWordToSpellcheck): Modified to not select
15719 words inside an ERT inset.
15721 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15723 * lyx_cb.C (MenuLayoutSave): change a bit the question
15725 * sp_base.h: include <sys/types.h>
15727 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15729 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15731 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15733 * several files: fix typos in user-visible strings
15735 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15737 * text2.C (pasteSelection): do not set the selection, since it
15738 will be cleared later. Actually, the intent was to fix the way the
15739 selection was set, but I figured rmoving the code was just as good.
15741 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15743 * FontLoader.C (available): Check if font is available without
15746 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15748 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15750 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15752 * lyxrc.[Ch]: added display_graphics variable and associated code.
15754 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15756 * bufferparams.C (hasClassDefaults): new method. Returns true if
15757 the buffer parameters correspond to known class defaults
15759 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15761 * XFormsView.C (show): set minimum size to the main window.
15763 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15765 * text2.C (copySelection):
15767 * lyxfind.C (LyXReplace):
15768 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15769 LyXText::selectionAsString.
15771 * paragraph.C (asString): add "label" argument to the second form
15773 * text2.C (selectionAsString): add "label" argument and pass it to
15774 Paragraph::asString.
15776 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15778 * lyx_main.C (commandLineHelp): remove version information
15780 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15782 * lyx_main.C: add -version commandline option
15784 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15786 * paragraph.h: make the optional constructor arg required instead.
15787 some modifications to other files because of this.
15789 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15791 * lyxserver.C (C_LyXComm_callback): make it static
15793 * lyx_main.C (error_handler): make it static
15795 * lyx_gui.C (LyX_XErrHandler): make it static
15797 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15799 * WorkArea.C: make the extern "C" methods static.
15801 * Makefile.am (lyx_LDADD): simplify
15803 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15805 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15806 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15808 * LyXAction.C (init):
15809 * lyxfunc.C (dispatch): associated code removal.
15811 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15813 * lyxfont.h (isSymbolFont): shut off warning
15815 * text.C (setHeightOfRow):
15816 (getVisibleRow): fix crash with empty paragraphs which have a
15819 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15821 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15824 2001-09-04 José Matos <jamatos@fep.up.pt>
15827 * tabular.C (docbook): rename docBook method to docbook.
15829 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15831 * Makefile.am: add dependencies to main.o.
15833 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15835 * FontLoader.C (available): Return false if !lyxrc.use_gui
15837 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15839 * FontInfo.C (query):
15840 * converter.C (view):
15841 * importer.C (Import):
15842 * exporter.C (Export): Can not -> cannot.
15844 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15846 * BufferView_pimpl.C: allow to create index inset even if
15849 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15851 * buffer.C (getLists): replace boost::tie code with an explicit pair
15852 as boost::tie can break some compilers.
15854 * iterators.h: Added a std:: declaration to the return type of
15857 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15859 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15862 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15864 * iterators.[Ch]: New files. Provide paragraph iterators.
15866 * buffer.C (changeLanguage): Use paragraph iterators.
15867 (isMultiLingual): ditto
15869 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15871 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15873 * FontLoader.C: Support for cmr font.
15875 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15877 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15878 (available): New method.
15880 * FontInfo.C (getFontname): Use scalable fonts even when
15881 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15884 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15886 * converter.C (Formats::view): reverted! Incorrect fix.
15888 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15890 * converter.C (Formats::view): only output the -paper option
15891 if the dvi viewer is xdvi, thereby fixing bug #233429.
15893 2001-08-23 Herbert Voss <voss@perce>
15895 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15897 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15899 * Spacing.h (Spacing): Set space to Default on in the default
15902 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15904 * vc-backend.h (RCS::versionString): add RCS to version
15905 (CVS::versionString): add CVS to version
15907 * vc-backend.C (scanMaster): do not add CVS to version.
15908 (scanMaster): do not add RCS to version
15910 * lyxvc.C (versionString): new method
15912 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15914 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15916 * Spacing.C (set): initialize fval
15918 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15920 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15923 2001-08-16 Juergen Vigna <jug@sad.it>
15925 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15927 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15929 * BufferView_pimpl.C:
15932 * text2.C: setParagraph takes linespacing now
15934 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15936 * LyxAction.C: add internal LFUN_CITATION_INSERT
15938 * LyXView.C: actually apply fix
15940 * bufferlist.C: fix open non-existent file
15942 * lyxfind.C: fix indentation
15944 * lyxfunc.C: remove unneeded assert, fix typo
15946 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15948 * MenuBackend.C: use "Floatname List"
15950 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15952 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15953 when converting LaTeX layout to insetERT.
15954 Generate a non-collapsed float when reading old float
15956 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15958 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15961 2001-08-13 Juergen Vigna <jug@sad.it>
15963 * text.C (fill): return 0 instead of 20 as this seems to be the more
15966 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15968 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15971 2001-08-13 Juergen Vigna <jug@sad.it>
15973 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15975 (SearchBackward): comment out the unlocking of the inset_owner this
15976 should not be needed!
15978 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15980 * Many files: Remove inherit_language, and add latex_language
15982 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15983 collapsible insets.
15985 2001-08-10 Juergen Vigna <jug@sad.it>
15987 * text.C (prepareToPrint): fixed hfill-width in draw!
15989 * BufferView2.C (selectLastWord): save the selection cursor as this
15990 now is cleared in the function LyXText::clearSelection!
15992 2001-08-08 Juergen Vigna <jug@sad.it>
15994 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15995 BACKSPACE type functions.
15997 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15998 is only cutted from the document but not put in the cut-buffer, where
15999 still the old stuff should be.
16001 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16003 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16005 * tabular.C (SetWidthOfCell): fixed special case where the width
16007 (LeftLine): handle '|' in align_special.
16009 (LeftAlreadyDrawed): ditto
16010 (SetWidthOfCell): ditto
16012 2001-08-07 Juergen Vigna <jug@sad.it>
16014 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16016 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16018 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16019 * lyxlex.[hC]: ditto
16021 2001-08-06 Juergen Vigna <jug@sad.it>
16023 * text.C (getVisibleRow): fix up row clearing a bit.
16025 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16027 * minibuffer.C: make sure the X server sees the changes in the input.
16029 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16031 * paragraph.C (getFont): split into...
16032 (getLabelFont): this
16033 (getLayoutFont): and this
16034 * paragraph_pimpl.C (realizeFont): calling this
16036 * text2.C (getFont): split into...
16037 (getLayoutFont): this
16038 (getLabelFont): and this
16039 (realizeFont): all three calling this
16041 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16044 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16046 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16048 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16050 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16051 layouts from the Quote inset insertion.
16053 2001-08-03 Juergen Vigna <jug@sad.it>
16055 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16057 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16058 only if status not is already CHANGED_IN_DRAW (second level).
16060 * text.C (draw): don't set the need_break_row when inside an
16063 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16065 * buffer.C (parseSingleLyXformat2Token): handle more latex
16068 * bufferview_funcs.[hC]: change function names to
16069 begin with small char, adjust other files.
16071 2001-08-02 André Pönitz <poenitz@gmx.net>
16074 BufferView_pimpl.C: remove broken special code for math-greek
16076 2001-08-02 Juergen Vigna <jug@sad.it>
16078 * BufferView_pimpl.C (update): redone this function so that we
16079 update the text again if there was a CHANGE_IN_DRAW.
16081 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16082 (drawFromTo): added a new internal bool which is used by draw() and
16084 (general): some cursor drawing problems fixed.
16086 2001-08-01 Juergen Vigna <jug@sad.it>
16088 * lyxfind.C (LyXFind): fixed
16089 (SearchForward): ditto
16090 (SearchBackward): ditto
16092 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16093 spurius drawing of the cursor in the main area.
16095 * text2.C (status): small fix which could lead to a segfault!
16096 (clearSelection): remove unneeded BufferView param.
16098 2001-08-01 André Pönitz <poenitz@gmx.net>
16100 * lyxfunc.C: small change due to changed mathed interface
16102 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16104 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16106 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16108 * lyxfunc.c: fail gracefully if file doesn't exist
16113 * BufferView_pimpl.C: IsDirWriteable() proto changed
16115 * LyXView.C: fix updateWindowTitle() to store the last title
16117 2001-07-31 Juergen Vigna <jug@sad.it>
16119 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16120 the font (wrong since using of Paragraph::highestFontInRange).
16122 * paragraph.C (highestFontInRange): added a default_size parameter.
16124 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16125 (setHeightOfRow): reformat
16127 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16129 * converter.[hC] + affected files: move to (inital-char)lowercase
16132 * ParagraphParameters.C (ParagraphParameters): remove commented code
16134 * PainterBase.[Ch]: remove commented code
16136 * LaTeXFeatures.h: add "bool floats" for float.sty
16138 * LaTeXFeatures.C (LaTeXFeatures): init floats
16139 (require): handle float
16140 (getPackages): do it with floats
16142 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16144 * BufferView_pimpl.C (Dispatch): improve handling of
16145 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16147 * commandtags.h: #include lyxfont.h here temporarily to avoid
16150 * bufferlist.h: include LString.h here.
16152 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16154 * text2.C (getStringToIndex): new method.
16156 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16158 * *: Reduced header file dependencies all over.
16160 2001-07-30 Baruch Even <baruch@lyx.org>
16162 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16164 2001-07-29 Baruch Even <baruch@lyx.org>
16166 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16168 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16170 * ParameterStruct.h (endif): add a default constructor to make
16171 sure that all variables is initialized.
16173 * ParagraphParameters.C (ParagraphParameters): adjust
16175 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16177 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16178 index; also, check that there is something to index, and that it
16179 does not span over several paragraphs.
16180 (doubleClick): use WHOLE_WORD_STRICT for double click.
16182 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16184 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16187 2001-07-26 Baruch Even <baruch@lyx.org>
16189 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16190 an InsetFig figure, backwards compatible reading of old figure code.
16192 2001-07-27 Juergen Vigna <jug@sad.it>
16194 * text2.C: font.realize function adaption.
16196 * text.C (draw): add a warnings lyxerr text if needed.
16198 * layout.C: font.realize function adaption.
16200 * language.C: add inherit_language and implement it's handlings
16202 * bufferview_funcs.C (StyleReset): remove language parameter from
16203 font creation (should be language_inherit now).
16205 * bufferparams.C (writeFile): handle ignore_language.
16207 * paragraph.C (getFontSettings): the language has to be resolved
16208 otherwise we have problems in LyXFont!
16210 * lyxfont.C (lyxWriteChanges): added document_language parameter
16211 (update): removed unneeded language parameter
16213 * paragraph.C (validate): fixed wrong output of color-package when
16214 using interface colors for certain fonts in certain environments,
16215 which should not seen as that on the final output.
16217 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16219 * BufferView_pimpl.C:
16224 * LyXAction.C: add thesaurus support
16227 * lyxfind.C: add "once" parameter, for thesaurus, to not
16228 move to the next match
16230 2001-07-26 Juergen Vigna <jug@sad.it>
16232 * lyxfont.C (realize): honor ignore_language too!
16235 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16237 * text.C (draw): one place more for ignore_language to not draw
16240 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16242 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16244 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16246 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16247 the minipage conversion problem.
16249 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16251 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16254 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16256 * BufferView.h: don't forward declare WorkArea
16258 * BufferView.C: don't include WorkArea.h
16260 2001-07-25 André Pönitz <poenitz@gmx.net>
16264 * lyxfunc.C: new LFUN 'math-space'
16266 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16268 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16270 * text2.C (toggleInset): call open/close
16272 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16274 * lyxfunc.C (dispatch): add debug for the disabled case
16276 * font.C (buttonText): make similar to rectText
16278 * buffer.C (readInset): comment out parsing of insetlist and
16281 * PainterBase.C (rectText): small correction
16283 * BufferView_pimpl.C: comment out insettheorem and insetlist
16284 * LyXAction.C: ditto
16285 * commandtags.h: ditto
16287 2001-07-24 Juergen Vigna <jug@sad.it>
16289 * text.C (draw): honor the ignore_language.
16291 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16293 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16295 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16298 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16300 * lyxtext.h: remove unused (and unimplemented) methods
16302 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16304 * text.C (getVisibleRow): honor background color
16307 * Painter.h: remove default color argument for fillRectangle
16309 * text.C (backgroundColor): new method
16311 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16313 * text.C (getVisibleRow): adjust
16315 * font.[Ch] (rectText): new method, metrics
16316 (buttonText): new method, metrics
16318 * PainterBase.[hC]: make rectText and buttonText always draw and take
16321 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16323 * ToolbarDefaults.C (read):
16324 * MenuBackend.C (read): allow escaping in all strings
16326 * BufferView_pimpl.C (insertAndEditInset): new method.
16327 (Dispatch): use insertAndEditInset whenever appropriate.
16329 * BufferView_pimpl.C (insertNote): removed
16331 * BufferView_pimpl.C (smartQuote): new method, moved from
16332 BufferView; if an insetquote cannot be inserted, insert a '"'
16335 * BufferView2.C: remove insertCorrectQuote();
16337 * lyxfunc.C (getStatus): Add support for all remaingin
16338 inset-insert lfuns.
16340 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16342 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16343 command (necessary to pass " as parameter of self-insert.
16345 * text.C (selectWordWhenUnderCursor):
16346 (selectWord): add word_location parameter
16347 (selectWordWhenUnderCursor): same + remove special code for word
16349 (selectNextWord): use kind() to guess type of insetspecialchar,
16352 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16353 (insertErtContents): create ert insets as collapsed.
16354 (readInset): better compatibility code for Info inset.
16356 2001-07-20 Juergen Vigna <jug@sad.it>
16358 * lyxfunc.C (dispatch): use always LyXFind now!
16360 * text2.C (init): add a reinit flag so that the LyXText can be
16361 reinited instead of deleted and reallocated (used in InsetText).
16363 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16369 2001-07-18 Juergen Vigna <jug@sad.it>
16371 * text.C (selectNextWord): handle insets inside inset by calling
16372 always the bv->text functions so that we can go up the_locking_inset!
16374 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16375 in strange locations when inside an inset!
16377 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16378 handling to include insets.
16380 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16382 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16384 * LyXAction.C (init):
16386 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16387 LIGATURE_BREAK, since the name is so stupid.
16389 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16391 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16394 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16396 * sp_form.[Ch]: remove.
16398 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16400 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16403 * src/buffer.C (readInset): ditto.
16405 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16407 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16408 menuSeparator(), endOfSentenceDot(), ldots() and
16409 hyphenationPoint(), which are therefore removed.
16410 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16412 * LyXAction.C (init):
16413 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16415 * paragraph.C (getWord): removed.
16417 * BufferView_pimpl.C (Dispatch): use last word or selection for
16418 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16420 * lyx_main.C (queryUserLyXDir): do not ask before creating
16421 user_dir, except if it has been named explicitely.
16423 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16425 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16426 a document of zero size.
16428 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16430 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16431 approriately in the c-tor and in require().
16432 (getPackages): output the appropriate LaTeX for natbib support.
16434 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16435 variables "use_natbib" and "use_numerical_citations" when reading the
16437 (readInset): read the various natbib cite commands.
16438 (validate): white-space change.
16440 * bufferparams.[Ch]: new variables "bool use_natbib" and
16441 "bool use_numerical_citations".
16442 (writeFile): output them in the LyX file.
16444 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16446 * lyxfunc.C (getStatus): add support for all the inset insertion
16449 * text2.C (insertInset):
16450 * paragraph.C (insetAllowed):
16451 * BufferView_pimpl.C (insertInset): update to take in account the
16452 renaming of insertInsetAllowed
16454 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16456 * text2.C (getInset): new method. returns inset at cursor position.
16458 * BufferView_pimpl.C (Dispatch): changes because of this.
16460 * LyXAction.C (init): rename open-stuff to inset-toggle.
16462 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16464 * text2.C (toggleInset): renamed from openStuff; use
16467 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16469 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16471 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16473 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16475 * buffer.C (readLyXformat2): Add filename to the error dialog
16477 2001-07-18 Juergen Vigna <jug@sad.it>
16479 * tabular.C (GetCellNumber): put an assert here instead of the check!
16481 2001-07-17 Juergen Vigna <jug@sad.it>
16483 * BufferView_pimpl.C (toggleSelection): adapted too.
16485 * text.C (selectNextWord): adapted for use with insets.
16486 (selectSelectedWord): ditto
16488 2001-07-17 Juergen Vigna <jug@sad.it>
16490 * sp_spell.C (PSpell): fix initialitation order.
16492 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16494 * paragraph.C: spacing
16496 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16498 * sp_spell.C: repair language selection for pspell
16500 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16502 * lyxfunc.h: change more methods to begin with lower char.
16504 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16506 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16507 for unknown layouts.
16509 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16511 * buffer.C (readLyXformat2): Generate an error dialog if there are
16514 2001-07-16 Juergen Vigna <jug@sad.it>
16516 * sp_spell.C: always compile ISpell part.
16518 * lyxrc.C: added use_pspell entry and it's handling.
16520 2001-07-13 Juergen Vigna <jug@sad.it>
16522 * sp_spell.C: removed double includes.
16524 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16526 Consistent use of Lsstream.h:
16527 * Lsstream.h: added using std::stringstream for consistencies sake.
16529 * buffer.C: removed using std::stringstream
16531 * lyxfont.C (stateText):
16532 * paragraph.C (asString):
16533 * text.C (selectNextWord, selectSelectedWord):
16534 * text2.C (setCounter):
16535 * vspace.C (asString, asLatexString):
16536 std::ostringstream -> ostringstream.
16538 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16540 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16541 * commandtags.h: add LFUN_HELP_ABOUTLYX
16542 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16544 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16546 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16548 * lyx_gui_misc.C: remove spellchecker
16549 * lyxfunc.C: showSpellchecker
16551 * sp_ispell.h: added
16552 * sp_pspell.h: added
16553 * sp_spell.C: added
16554 * sp_form.[Ch]: removed
16555 * spellchecker.[Ch]: removed
16557 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16559 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16561 (simpleTeXSpecialChars): Simply print the input character without
16562 any special translation if pass_thru is set.
16564 * layout.h: Added bool pass_thru to layout class for being able to
16565 implement pass through of a paragraph for Literate Programming.
16567 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16568 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16569 * layout.C (Read): add "passthru" to list of layout tags and add
16570 code to set the pass_thru boolean when it is read.
16572 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16574 * trans_decl.h: remove allowed from KmodInfo
16576 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16577 remove allowed code
16580 * paragraph_pimpl.C (erase): use boost::prior
16582 * Painter.C (text): use data() instead of c_str() when length is
16584 * WorkArea.C (putClipboard): ditto
16585 * font.h (width): ditto
16587 * BufferView2.C: use it-> instead of (*it). for iterators
16589 * paragraph_pimpl.C: ditto
16590 * paragraph.C: ditto
16591 * minibuffer.C: ditto
16592 * language.C: ditto
16594 * encoding.C: ditto
16595 * counters.C: ditto
16596 * converter.C: ditto
16598 * Variables.C: ditto
16599 * TextCache.C: ditto
16600 * MenuBackend.C: ditto
16601 * LyXAction.C: ditto
16603 * FloatList.C: ditto
16604 * DepTable.C: ditto
16605 * ColorHandler.C (LyXColorHandler): ditto
16607 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16609 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16611 * text2.C (openStuff): reintroduce this method (which had been
16612 nuked in NEW_INSETS frenzy).
16614 * lyxfunc.C (Dispatch): when an action has not been handled, use
16615 its name in the error message, not its number.
16617 * paragraph.C (inInset): change method name to begin with lowercase.
16620 * text2.C: updates because of this.
16622 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16624 * ToolbarDefaults.C (add): add spaces in error message
16626 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16628 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16629 (readLyXformat2): rename return_par to first_par, use lyxlex's
16630 pushToken and remove the manual push handling.
16631 (parseSingleLyXformat2Token): add another ert comp. variable:
16632 in_tabular, rename return_par to first_par. handle newlines better
16634 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16636 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16638 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16640 * text2.C (getParFromID): removed
16642 * buffer.C (getParFromID): new method moved form lyxtext.
16643 * BufferView2.C (insertErrors): adjust
16644 (setCursorFromRow): adjust
16645 * BufferView_pimpl.C (restorePosition): adjust
16646 * lyxfunc.C (Dispatch): adjust
16647 * undo_funcs.C (textUndo): adjust
16649 (textHandleUndo): adjust
16650 (textHandleUndo): adjust
16652 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16654 * buffer.C: up' the LYX_FORMAT
16656 * lyxfont.h: turn NO_LATEX on as default
16658 * buffer.C (insertErtContents): new methods of tex style compability.
16659 (parseSingleLyXformat2Token): use it several places.
16660 * tabular.C (OldFormatRead): and here
16662 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16664 * text2.C: remove some commented code.
16667 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16668 * trans.C: changes because of the above.
16670 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16672 * text2.C (setCounter): Fix counters bug with bibliography layout.
16674 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16676 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16677 own member functions
16678 (simpleTeXSpecialChars): ditto
16680 2001-07-06 Juergen Vigna <jug@sad.it>
16682 * a lot of files: changed the access to LyXText::status and the
16683 call of undo-functions.
16685 * undo.[Ch]: added a inset_id to the undo informations.
16687 * undo_funcs.[Ch]: added and moved here all undo functions.
16689 * lyxtext.h: give the status enum a weight, made status_ a private
16690 variable and made accessor functions for it, removed the whole bunch
16691 of undo-functions as they are now in their own file, make some
16692 functions publically available. Added function ownerParagraph with
16695 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16696 made InInset() a const function, added getParFromID() function.
16698 * buffer.[Ch]: added const version for inset_iterator functions,
16699 added getInsetFromID() function.
16701 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16702 changed undo functions for new version.
16704 2001-07-05 Juergen Vigna <jug@sad.it>
16706 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16707 unknow mechanism does not call the proper constructor but only this
16708 one also if I request the other!?
16710 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16712 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16714 * text2.C (LyXText): use initialization lists.
16716 * lyxtext.h (Selection): initialize set_ and mark_
16717 (init): remove method
16719 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16721 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16723 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16725 * screen.[Ch]: change method names to begin with lowercase
16727 * BufferView_pimpl.C (updateScrollbar): simplify further and
16728 hopefully make it a bit faster.
16730 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16732 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16733 calling directly xforms functions.
16735 * Painter.C (Painter):
16736 * lyx_cb.C (MenuWrite):
16737 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16740 * lyx_gui.C: remove bogus guiruntime extern declaration.
16742 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16744 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16746 (redoDrawingOfParagraph): ditto
16747 (redoParagraphs): ditto
16748 (cutSelection): don't create a object for CutAndPaste use the
16749 static method directly
16750 (pasteSelection): ditto
16752 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16755 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16757 * modifications to some other files because of this.
16759 * Makefile.am (lyx_SOURCES): add XFormsView
16761 * XFormsView.[Ch]: new files
16763 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16764 the main window. Move the gui dependent stuff to XFormsView
16766 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16768 * tabular.C (GetCellInset): update cur_cell also in the row/col
16769 version of this function.
16771 * lyxfunc.C: no need to include figure_form.h here.
16777 * lyxvc.C: no need to include forms.h here.
16779 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16781 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16783 * lyxfunc.C (Dispatch):
16785 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16786 constructor argument.
16788 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16790 * paragraph.C (Paragraph): dont't clear, and just set layout.
16791 (makeSameLayout): use params's copy contructor.
16793 * ParagraphParameters.[Ch] (makeSame): delete method
16795 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16797 * Variables.[Ch]: fix indentation, rename set to isSet
16799 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16801 * lyxfunc.C (Dispatch): fix typo
16803 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16805 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16808 * bufferlist.C: include assert.h for emergencyWrite().
16810 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16812 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16813 give up at last (bug #425202) !
16815 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16821 * spellchecker.C: strip spellchecker options and bring up
16822 preferences tab instead
16824 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16826 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16827 the istringstream constructor
16829 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16831 * paragraph.C (getLayout): fix return value
16833 * paragraph.h: do not declare getLayout as inline.
16835 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16837 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16839 * lyxcursor.h (operator<): new func
16840 (operator>): new func
16841 (operator>=): new func
16842 (operator<=): new func
16844 * text.C (changeCase): use selection.start and selection.end
16845 (changeRegionCase): require from to be <= to. Require par to be a
16848 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16850 2001-06-27 Juergen Vigna <jug@sad.it>
16852 * text.C (cursorLeftOneWord): changed to return the cursor and added
16853 overlay with BufferView * parameter which calls this one.
16855 (selectWord): use new getWord function.
16856 (changeCase): renamed from changeWordCase as and extended to work
16857 also on selections.
16859 * lyxtext.h: added enum word_location
16861 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16862 changeCase as this operates now also on selections.
16864 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16866 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16868 * many files: send debug output to Debug::INFO instead of
16871 * converter.C (View):
16873 (Move): send debug output to Debug::FILES instead of console.
16875 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16877 * lyxfunc.C (getStatus): use func_status
16879 * func_status.h: new header, describing the results of
16880 LyXFunc::getStatus;
16882 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16885 2001-06-25 The LyX Project <jug@sad.it>
16887 * buffer.C (sgmlOpenTag):
16889 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16891 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16893 * text2.C: remove some dead code
16895 * tabular.C (GetCellInset): store the last cell checked (gotten)
16897 * tabular.h: add the helper for the speedup
16899 * lyxtext.h: remove some dead code
16901 2001-06-26 The LyX Project <Asger>
16903 * paragraph.C: Change export to LaTeX of alignment to
16904 \begin{center} and family for better roundtrip work with reLyX.
16906 * Tune the math drawing a bit.
16908 2001-06-25 The LyX Project <Asger>
16910 * LColor.C (LColor): New color for math background. New color
16913 2001-06-25 The LyX Project <jug@sad.it>
16915 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16917 * lyxfunc.C (Open):
16918 * bufferlist.C (newFile): do not restrict to files ending with
16921 * BufferView_pimpl.C (MenuInsertLyXFile):
16923 2001-06-24 The LyX Project <jug@sad.it>
16925 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16928 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16930 * lyxtext.h: rename most methods to begin with a small char.
16931 Lots of changes because of this.
16933 * paragraph.C (Paragraph): do not call fitToSize
16934 (erase): call Pimpl::erase
16935 (insertChar): call Pimpl::insertChar
16936 (insertInset): call Pipl::insertInset
16937 (breakParagraph): do not call fitToSize
16938 (breakParagraphConservative): do not call fitToSize
16939 (fitToSize): remove method
16941 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16943 2001-06-24 The LyX Project <Asger>
16945 * Fix Qt compilation^2
16947 2001-06-24 The LyX Project <jug@sad.it>
16949 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16950 depthHook(getDepth()-1).
16953 * ParagraphParameters.h:
16954 * ParameterStruct.h: change type of depth to unsigned int ==
16955 depth_type. Many adaptations to other files before of that.
16957 2001-06-24 The LyX Project <Asger>
16959 * Fix Qt compilation.
16961 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16963 * paragraph.h: renamed several methods to begin with small letter.
16964 several changes to many parts of the code because of this.
16966 2001-06-23 The LyX Project <jug@sad.it>
16968 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16969 rewritten to discard all double spaces when KeepEmpty is off
16970 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16971 to only handle newlines but not fiddle with spaces and friends.
16973 * lyxfunc.C (MenuNew): when doing 'new from template', use
16974 template_path as default directory
16976 2001-06-23 The LyX Project <Asger>
16978 * Clean-up of header file includes all over
16979 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16981 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16983 * paragraph.h: renamed from lyxparagraph.h
16985 2001-06-23 Asger <lyx@violet.home.sad.it>
16987 * Buffer.h: Removed Buffer::resize
16988 * BufferList.h: Removed BufferList::resize
16989 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16990 the document lazily when we change the width, or the font settings.
16992 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16994 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16996 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16998 * buffer.h: remove out of date comment
17000 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17003 * screen.C: fix "theoretical" GC leak
17005 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17007 * LaTeX.C (scanAuxFile):
17008 (deplog): remove trailing \r when reading stream (useful under
17011 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17013 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17014 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17015 and BufferView::theLockingInset(Inset*), so should use them and not
17016 access bv_->text->the_locking_inset directly.
17018 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17020 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17023 * tex-defs.h: remove old unused file
17025 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17027 * BufferView_pimpl.C: fix typo, remove minibuffer message
17028 when buffer has loaded
17030 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17032 * lyxfunc.C (Dispatch): use stringstream
17033 (MenuNew): use stringstream
17034 (Open): use stringstream
17036 * importer.C (Import): use stringstream
17038 * bufferview_funcs.C (CurrentState): use stringstream
17040 * LaTeX.C (run): use stringstream
17042 * BufferView_pimpl.C (savePosition): use stringstream
17043 (restorePosition): use stringstream
17044 (MenuInsertLyXFile): use stringstream
17046 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17059 * vspace.C: removed // -*- C++ -*- as first line.
17062 * version.h: added // -*- C++ -*- as first line.
17064 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17066 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17068 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17071 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17073 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17076 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17078 * gettext.C: include LString.h even when --disable-nls is on.
17080 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17082 * converter.h (Get): changed argument type from int to
17083 FormatList::size_type to avoid unnecessary conversion.
17085 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17088 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17090 * gettext.h: include LString.h even when --disable-nls is on.
17092 2001-06-07 Juergen Vigna <jug@sad.it>
17094 * text.C (BreakAgain): subst spaces with tabs.
17096 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17097 (resizeInsetsLyXText): set force on resizeLyXText.
17099 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17101 * gettext.h (gettext_init):
17102 (locale_init): use a real definition instead of a macro
17104 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17106 * Bufferview_pimpl.C:
17108 * LColor.C: further lcolor tidies
17110 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17112 * BufferView_pimpl.C (updateScrollbar): simplify.
17114 * BufferView2.C: don't include insets/insetinfo.h, change
17115 prototype for insertInset and call the Pimpl version. let
17116 updateInset call Pimpl version.
17118 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17119 gotoInset to BufferView::Pimpl
17121 2001-06-01 Juergen Vigna <jug@sad.it>
17123 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17124 inside a LockingInset (is the update needed at all?).
17126 2001-05-31 Juergen Vigna <jug@sad.it>
17128 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17129 here not the old one otherwise how should we compare it afterwards
17132 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17137 * FontInfo.C: bring C functions into global namespace when
17140 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17142 * LString.h: make sure config.h has been loaded before LString.h.
17144 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17145 (one for each char read by EatLine!).
17147 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17150 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17152 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17153 to the same as the par we break from
17155 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17157 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17159 * MenuBackend.C (expand): also create menu entries for wide
17160 versions of the floats.
17162 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17164 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17166 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17167 frontends/Makefile.am
17173 * tabular.C (getTokenValue): add std::
17175 * tabular-old.C (getTokenValue): add std::
17176 (getTokenValue): ditto
17177 (getTokenValue): ditto
17179 * screen.C (ToggleSelection): adjust
17181 * lyxtext.h: put selection cursors inside a Selection struct.
17183 * lyxfunc.C (moveCursorUpdate): adjust
17185 * lyxfont.C (latexWriteStartChanges): add std::
17187 * lyxfind.C: adjust
17189 * font.h: delete with(char const *, LyXFont const &)
17191 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17193 * FontInfo.C (getFontname): add std::
17195 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17196 (workAreaButtonPress): adjust
17197 (tripleClick): adjust
17199 (moveCursorUpdate): adjust
17202 * BufferView2.C (gotoInset): adjust
17204 2001-05-30 Juergen Vigna <jug@sad.it>
17206 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17207 to check pspell I add this as default as I now have new pspell
17208 libraries and they seem to use this.
17210 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17212 * text2.C (CutSelection): make the cursor valid before the call to
17215 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17217 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17218 relied on 0 terminated strings and other horrors. Bug found due to
17219 the new assert in lyxstring!
17221 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17224 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17226 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17229 * lyxfunc.C (processKeySym): change method of getting to the
17232 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17233 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17234 * BufferView_pimpl.[Ch]: here as private methods.
17236 2001-05-28 Juergen Vigna <jug@sad.it>
17238 * text.C (SetHeightOfRow): added the update() call again as it is
17239 needed to initialize inset dimensions!
17241 2001-05-16 Juergen Vigna <jug@sad.it>
17243 * text2.C (SetCharFont): Add new function with BufferView * and
17244 bool toggleall parameters for setting insets internal fonts.
17245 (SetFont): Freeze the undo as we may change fonts in Insets and
17246 all this change should be inside only one Undo!
17248 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17249 setting font's in insets as for them we have the SetFont function!
17251 2001-05-15 Juergen Vigna <jug@sad.it>
17253 * text2.C (ClearSelection): to be sure we REALLY don't have any
17256 * tabular.C (TeXCellPreamble): fixed the left border problem for
17259 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17261 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17264 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17266 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17267 LFUN_BREAKPARAGRAPH.
17269 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17270 help test to "internal only", similar for LFUN_INSERT_URL
17272 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17273 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17274 auto_region_delete and deadkeys.
17276 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17279 * LColor.C: remove some dead entries, tidy a little
17281 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17283 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17285 (Dispatch): implement LFUN_ESCAPE
17287 * commandtags.h: add LFUN_ESCAPE
17289 * LyXAction.C (init): add entry for LFUN_ESCAPE
17291 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17292 Remove commented code.
17293 (insertNote): moved here
17294 (open_new_inset): moved here
17296 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17299 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17301 * kbmap.C (findbinding): clean it up and make it work correctly.
17303 * lyx_main.C (init): do not pass argc and argv as parameters
17305 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17307 * buffer.C: fix path for OS/2 & Win32
17311 * lyx_main.C: Added os:: class.
17313 * os2_defines.h: update
17315 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17317 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17318 better by trying again with reduced state.
17320 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17322 * lyxrc.C (read): print error about invalid key sequence only when
17323 debugging (because not all latinX keysyms are known to some X
17326 * kbsequence.C (getiso): add a few std:: qualifiers
17327 (getiso): comment out extra return statement.
17329 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17331 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17333 (Dispatch): enhance the accent inset a bit. (not perfect)
17335 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17337 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17339 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17341 * bufferlist.C (emergencyWrite): fix assert() call
17343 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17345 * text.C (InsertChar): Added trivial patch to only send the "you
17346 can not do multiple spaces this way" message once during a
17349 2001-05-08 Baruch Even <baruch@lyx.org>
17351 * Makefile.am: Changed order of libraries to get LyX to link properly
17352 with the gnome frontend.
17354 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17356 * LaTeXFeatures.h: add a std:: qualifier
17358 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17360 * paragraph.C (String): use stringstream
17362 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17364 * paragraph.C (writeFile): remove footflag arg
17366 * buffer.C (makeLaTeXFile): use stringstream
17367 (latexParagraphs): remove footnot gurba
17369 * LaTeXFeatures.C (getPackages): use stringstream
17370 (getMacros): likewise
17371 (getTClassPreamble): likewise
17372 (getFloatDefinitions): new method
17374 * paragraph.C (writeFile): reindent
17377 * WorkArea.h: revert the xpos + etc changes.
17379 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17381 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17383 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17384 (pasteSelection): likewise
17385 * text2.C (CreateUndo): likewise
17387 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17389 * minibuffer.C (peek_event): temporarily reduce the functionality
17390 of the minibuffer (to allow args on lfuns)
17392 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17393 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17395 * buffer.C (readInset): add compability reading of old float
17396 lists, add reading of new style float list.
17397 (readInset): avoid reevaluation of inscmd.getCmdName()
17398 (getLists): reindent
17400 * MenuBackend.C (MenuItem): implement parsing of
17401 md_floatlistinsert and md_floatinsert.
17402 (expand::LastFiles): move initalizaton of iterators out of loop,
17403 avoid reevaluation.
17404 (expand::Documents): introduce typdedef vector<string> Strings,
17406 (expand::ExportFormats): introduce typedef vector<Format const *>
17407 Formats, and use it.
17408 (expand): implement FloatListInsert and FloatInsert.
17410 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17411 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17412 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17414 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17416 (Dispatch::LFUN_FLOAT_LIST): implement
17418 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17420 * LaTeX.C (run): Fix problem with --export code.
17422 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17424 * BufferView.[Ch] (workarea): removed.
17425 (getClipboard) new method; wrapper for workarea()->getClipboard()
17427 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17430 * WorkArea.h (width, height, xpos, ypos): These methods all
17431 returned the dimensions of the work_area sub-area of WorkArea,
17432 resulting in a position error if the WorkArea were resized. Now
17433 return the dimensions of the entire WorkArea.
17435 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17437 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17439 * LaTeX.C (deplog): correct the syntax of regex reg1
17441 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17443 * undo.C: remove !NEW_INSETS cruft
17445 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17447 * text2.C: remove !NEW_INSETS cruft
17449 * text.C: remove !NEW_INSETS cruft
17451 * tabular.C: remove !NEW_INSETS cruft
17453 * spellchecker.C: remove !NEW_INSETS cruft
17455 * lyxtext.h: remove !NEW_INSETS cruft
17457 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17459 * lyxfunc.C: remove !NEW_INSETS cruft
17461 * lyxfind.C: remove !NEW_INSETS cruft
17463 * lyx_cb.C: remove !NEW_INSETS cruft
17465 * figureForm.C: remove !NEW_INSETS cruft
17467 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17469 * buffer.[Ch]: remove !NEW_INSETS cruft
17471 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17473 * CutAndPaste.C: remove !NEW_INSETS cruft
17475 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17477 * BufferView2.C: remove !NEW_INSETS cruft
17479 * BufferView.h: remove !NEW_INSETS cruft
17481 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17483 * Lsstream.h: include LString.h before the sstream headers to
17484 fix problem with gcc 2.95.3 and lyxstring
17486 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17488 * lyx_main.C: add using directives when needed for C functions
17489 declared in std:: namespace.
17491 2001-04-27 Juergen Vigna <jug@sad.it>
17493 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17494 (SetHeightOfRow): comment out the update call should not be needed!
17496 2001-04-13 Juergen Vigna <jug@sad.it>
17498 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17499 (LyXTabular): tried to minimize operator= operations (and realized
17500 hopfully Lars wish).
17502 2001-04-27 Juergen Vigna <jug@sad.it>
17504 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17506 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17508 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17510 * buffer.C (readInset): hack to make listof algorithm work
17512 * BufferView_pimpl.C: hack to make listof algorithm work
17514 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17516 * LyXAction.C: removed all !NEW_INSETS cruft
17517 (init): moved lfun_item in method
17519 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17521 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17523 * BufferView2.C (theLockingInset): white space.
17525 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17527 * minibuffer.C: include <iostream>
17529 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17531 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17533 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17535 * text.[Ch] (TransposeChars): new method
17537 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17539 * call message directly through LyXView instead of through LyXFunc
17540 * BufferView2.C: adjust
17541 * BufferView_pimpl.C: adjust
17542 * FontLoader.C: adjust
17544 * bufferview_funcs.C: adjust
17545 * converter.C: adjust
17546 * figureForm.C: adjust
17547 * importer.C: adjust
17549 * lyx_gui_misc.C: adjust
17550 * lyxfunc.C: adjust
17553 + more files in subdirs
17555 * lyxparagraph.h (size): move up int file
17558 * adjust all uses of Assert to lyx::Assert.
17560 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17561 lyxfunctional in namespace lyx
17562 * layout.C (hasLayout): ditto
17565 (delete_layout): ditto
17566 (NumberOfClass): ditto
17567 * converter.C (GetFormat): ditto
17572 * bufferlist.C (getFileNames): ditto
17573 (emergencyWriteAll): ditto
17576 * MenuBackend.C (hasSubmenu): ditto
17579 * BufferView_pimpl.C (getInsetByCode): ditto
17581 2001-04-18 Juergen Vigna <jug@sad.it>
17583 * vspace.C (asLatexString): fixed the 100% problem.
17585 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17587 * lyxfunc.C (Dispatch):
17589 * minibuffer.h: add a few std:: qualifiers
17591 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17593 * minibuffer.[Ch]: reimplement so that commands is initiated and
17594 run from lyxfunc, simplified som handling, and made the completion
17595 and history code for complete. wip.
17597 * lyxfunc.C (processKeySym): call message
17598 (miniDispatch): new temporary method
17599 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17600 (LFUN_MESSAGE): implement
17601 (LFUN_MESSAGE_PUSH): implement
17602 (LFUN_MESSAGE_POP): implement
17603 (initMiniBuffer): the initial/defualt minibuffer message.
17605 * lyxfont.[Ch]: inline some more getters
17607 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17609 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17611 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17612 (AutoSave): use LFUN_MESSAGE
17613 (Reconfigure): ditto
17615 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17617 * figureForm.C: use LFUN_MESSAGE
17619 * converter.C (runLaTeX): use LFUN_MESSAGE
17621 * bufferview_funcs.C: use LFUN_MESSAGE
17623 (changeDepth): ditto
17625 * bufferparams.h: use boost::
17627 * bufferlist.h: inherit privately from noncopyable
17629 * bufferlist.C (loadLyXFile): remove some commented code.
17631 * buffer.C (runChktex): use LFUN_MESSAGE
17633 * ShareContainer.h: inherit privately from noncopyable
17635 * ParagraphParameters.[hC] (depth): inline it.
17637 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17639 (message): new method
17640 (messagePush): ditto
17641 (messagePop): ditto
17642 (show): init minibuffer
17643 (showState): direct call
17645 * LaTeX.[Ch]: inherit privately from noncopyable
17646 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17647 instead of WriteStatus.
17649 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17651 * BufferView_pimpl.C (buffer): don't init minibuffer
17652 (workAreaButtonPress): use LFUN_MESSAGE
17653 (workAreaButtonRelease): ditto
17654 (savePosition): ditto
17655 (restorePosition): ditto
17656 (MenuInsertLyXFile): ditto
17657 (workAreaExpose): don't init minibuffer
17658 (update): remove commented code, simplify
17660 * BufferView2.C (openStuff): use LFUN_MESSAGE
17661 (toggleFloat): ditto
17664 (copyEnvironment): ditto
17665 (pasteEnvironment): ditto
17670 (updateInset): remove some commented code
17672 * lastfiles.h: inherit privately from noncopyable
17675 * lyx_main.h: ditto
17677 * lyxlex_pimpl.h: ditto
17679 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17680 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17681 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17683 * LyXAction.h: inherit privately from noncopyable, add methods
17684 func_begin, func_end, returning iterators to the func map.
17686 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17687 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17688 (func_begin): new method
17689 (func_end): new method
17691 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17693 (copySelection): ditto
17694 (pasteSelection): ditto
17696 * BufferView.C: whitespace change
17697 * BufferView.h: inherit privately from noncopyable
17699 2001-04-16 Allan Rae <rae@lyx.org>
17701 * tabular-old.C (l_getline):
17702 * spellchecker.C (sc_check_word):
17703 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17704 an unrecognised preprocessor directive. So ensure they're wrapped.
17706 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17708 * src/exporter.C (Export): Give an error message when path to file
17711 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17713 * LaTeX.C (deplog): Always check that foundfile exists.
17715 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17718 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17720 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17722 * tabular.[Ch] (getLabelList): implement new method
17724 * minibuffer.h: comment ouf setTiimer
17726 * minibuffer.C (ExecutingCB): constify res
17727 (peek_event): constify s
17728 (Set): constify ntext
17729 (Init): constify nicename
17731 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17733 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17734 (savePosition): use two params to Minibuffer::Set
17735 (restorePosition): ditto
17737 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17739 * lyx_main.C: include language.h
17741 * Makefile.am (lyx_main.o): add language.h
17743 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17749 * CutAndPaste.C: include gettext.h
17751 * lyxfont.h: remove old hack with ON and OFF.
17754 * lyxfont.h: do not include language.h...
17759 * bufferview_funcs.C:
17765 * paragraph.C: ... but do it here instead
17767 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17769 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17771 * tabular.C: small reformat
17773 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17776 (BreakParagraph): ditto
17777 (SetOnlyLayout): ditto
17780 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17783 * lastfiles.C: removed most using decl, add std:: where needed
17785 * buffer.C: ws changes
17787 * MenuBackend.C (class compare_format): put into anon namespace
17788 (expand): constify label, names, action, action2
17791 * text.C (SingleWidth): constify font
17792 (IsBoundary): constify rtl2
17793 (GetVisibleRow): constify ww
17795 * LaTeX.C (deplog): constify logfile
17797 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17799 (workAreaExpose): constify widthChange, heightChange
17801 * lyxrow.C (par): moved
17804 * lyxrow.h: as inlines here
17806 * lyxfont.h (shape): moved from lyxfont.C
17807 (emph): moved from lyxfont.C
17809 * lyxfont.C (LyXFont): use initialization list for all
17811 (shape): move to lyxfont.h as inline
17812 (emph): move to lyxfont.h as inline
17815 2001-04-04 Juergen Vigna <jug@sad.it>
17817 * vspace.C: had to include stdio.h for use of sscanf
17819 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17822 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17823 independent of xforms.
17825 2001-04-02 Juergen Vigna <jug@sad.it>
17827 * spellchecker.C: fixed namespace placing!
17829 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17831 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17832 the LyXParagraph * is 0.
17834 2001-03-29 Juergen Vigna <jug@sad.it>
17836 * vspace.C: added support for %, c%, p%, l%.
17837 (stringFromUnit): added helper function.
17838 (asLatexString): changed to give right results for the %-values.
17840 * buffer.C: convert the widthp in a width%.
17842 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17844 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17847 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17848 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17850 * lyx_cb.[Ch]: see above.
17852 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17856 * lyx.[Ch]: replaced by figure_form.[Ch].
17860 * lyxfunc.C: changed headers associated with above changes.
17862 2001-03-27 Juergen Vigna <jug@sad.it>
17864 * BufferView_pimpl.C: set the temporary cursor right!
17866 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17868 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17870 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17872 * LString.h: removed "using std::getline"!
17874 * BufferView_pimpl.C (Dispatch): changes due to changes in
17875 InsetInclude::Params.
17877 * buffer.C (tag_name): removed redundant break statements as they were
17878 producing lots of warnings with my compiler.
17880 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17882 * LString.h: add "using std::getline" when using the real <string>.
17884 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17886 * buffer.C: removed bitset usage.
17887 PAR_TAG moved to an anonymous name space.
17888 (tag_name): new funtion, also in the anonymous namespace.
17889 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17890 (makeDocBookFile): clean code. Completed transition from string arrays
17892 (SimpleDocBookOnePar): code clean.
17894 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17896 * tabular.C: add some comments.
17898 2001-03-22 Juergen Vigna <jug@sad.it>
17900 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17901 compatibility read a bit and fixed bug with minipage in different
17904 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17906 * buffer.C (pop_tag): removed.
17907 (push_tag): removed.
17908 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17909 array replaced with vector. Added support for CDATA sections.
17910 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17912 (makeDocBookFile): XML conformant declaration of CDATA section,
17913 fixed bug related to <emphasis> in the first paragraph char.
17914 (sgmlOpenTag): exclude empty tags.
17915 (sgmlCloseTag): ditto.
17917 * buffer.h (pop_tag): removed.
17918 (push_tag): removed.
17920 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17922 * language.h (Languages): added size_type and size().
17924 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17926 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17927 response on compability reading of minipages. One probliem is that
17928 the old usage of minipages was flertydig
17930 * several files here and in subdirs: don't use static at file
17931 scope use anon namespaces instead.
17933 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17935 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17936 LaTeX output. This is necessary for Literate document
17939 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17941 * buffer.C: insert hfill when needed.
17943 * tabular.C (l_getline): use string::erase, small whitespace change.
17945 * BufferView_pimpl.C: try the anon namespace.
17946 * WorkArea.C: ditto
17948 2001-03-16 Juergen Vigna <jug@sad.it>
17950 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17951 otherwise it won't open options-dialogs.
17953 * buffer.C: honor pextraWidth(p) on converting minipages.
17955 * tabular.C (l_getline): changed the functions to strip trailing \r.
17957 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17959 * BufferView_pimpl.C:
17960 * minibuffer..C: added "using SigC::slot" declaration.
17962 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17964 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17970 * paragraph.C: ditto
17972 * lyxtext.h: NO_PEXTRA
17974 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17976 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17977 * ParameterStruct.h: ditto
17978 * ParagraphParameters.h: ditto
17979 * lyxparagraph.h: ditto
17981 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17983 * buffer.C: add compability for minipage alignment.
17984 (latexParagraphs): remove unwanted pextra check.
17986 * several files: remove CXX_WORKING_NAMESPACES
17988 * buffer.C (pop_tag): tie is in namespace boost
17990 * BufferView.h: noncopyable is in namespace boost
17992 * lyx_main.h: ditto
17995 * lastfiles.h: ditto
17996 * bufferlist.h: ditto
17997 * ShareContainer.h: ditto
17999 * LyXAction.h: ditto
18002 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18004 * Merging changes from BRANCH_MVC back into HEAD.
18006 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18008 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18010 * BufferView_pimpl.C: change from intl.C
18014 * Makefile.am: move combox.*
18020 * intl.C: remove dialog (covered by prefs)
18022 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18024 * lyxfunc.C (Dispatch): removed redundant break statement.
18026 2001-03-14 Juergen Vigna <jug@sad.it>
18028 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18030 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18032 * buffer.C: add hack to fix compability reading of minipages.
18034 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18036 * buffer.C (getLists): Cleanup.
18038 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18040 * lyxfont.C (update): don't honor toggleall on font size.
18042 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18046 * Makefile.am: moved to frontends/xforms/
18050 * BufferView_pimpl.C: changes for moved mathpanel
18052 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18054 * gettext.h: fix gettext_init() in --disable-nls
18056 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18058 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18060 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18063 * lyx.h: strip external form
18065 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18067 * BufferView_pimpl.C: add comment, destroySplash()
18069 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18071 * BufferView_pimpl.C:
18075 * lyxfunc.C: use re-worked insetinclude
18077 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18079 * buffer.C: add using std::stringstream.
18081 * lyx_cb.C: readd using std::ios.
18083 * buffer.C: add using std::map.
18085 * BufferView_pimpl.C: add using std::vector.
18087 * ShareContainer.h: add std:: to swap.
18089 * buffer.h: add some typedefs
18090 * buffer.C (getLists): use them
18091 (getLists): renamed from getTocList.
18092 add a counter for the different float types and use it in the
18094 (getLists): use the same counter for the NEW_INSETS and the "non"
18097 * lyx_cb.h: remove unused items, includes, using etc.
18099 * ShareContainer.h: remove some commented code, add more comments
18100 and "documentation".
18102 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18104 * buffer.C (getTocList): make the list also when NEW_INSETS is
18107 * buffer.h: remove TocType
18109 * buffer.C (getTocList): change to return a map<string,
18110 vector<TocItem> >, implement for dynamic number of list.
18112 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18113 * text2.C (PasteSelection): adjust
18114 * CutAndPaste.C (pasteSelection): adjust
18116 * FloatList.C (FloatList): update from the new_insets branch.
18117 * Floating.[Ch]: ditto
18118 * LaTeXFeatures.C: ditto
18120 * lyxlex_pimpl.C: ditto
18122 * paragraph.C (Last): remove when NEW_INSETS is defined.
18124 * other file: changes because of the above.
18126 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18128 * lyxparagraph.h: rename next to next_, previous to previous_,
18129 make them private for NEW_INSETS. Rename Next() to next(),
18130 Previous() to previous().
18132 * other files: changes because of the above.
18134 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18137 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18140 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18142 * main.C (main): pass lyx_localedir to gettext_init().
18144 * gettext.h: remove locale_init and gettext_init macros
18146 * gettext.C (locale_init): new function
18147 (gettext_init): new function
18149 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18152 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18154 * Moved credits to frontends:
18155 * credits.[Ch]: removed
18156 * credits_form.[Ch]: removed
18157 * lyx_gui_misc.C: remove credits stuff
18160 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18162 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18164 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18165 unneeded destructor.
18167 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18168 a standalone pointer again.
18170 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18172 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18178 * ToolbarDefaults.C:
18187 * BufferView_pimpl.C: use new file dialog in GUII
18190 * lyx_cb.C: remove LayoutsCB to Toolbar
18192 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18194 * ShareContainer.h (get): add std:: qualifier
18196 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18198 * ShareContainer.h: define a proper ShareContainer::value_type
18199 type (and use typename to please compaq cxx)
18201 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18203 * lyxparagraph.h: move serveral local vars to
18204 ParameterStruct/ParagraphParameters., use ShareContainer in
18205 FontTable., make vars in FontTable private and add getter and
18208 * paragraph.C: changes because of the above.
18210 * lyxfont.h: remove copy constructor and copy assignment. (the
18211 default ones is ok), move number inside FontBits. move inlines to
18214 * lyxfont.C: add number to initializaton of statics, move several
18215 inlines here. constify several local vars. some whitespace
18216 cleanup. Dont hide outerscope variables.
18218 * Spacing.h: add two new constructors to match the set methods.
18220 * ShareContainer.h: new file, will perhaps be moved to support
18222 * ParameterStruct.h: new file
18224 * ParagraphParameters.h: new file
18226 * ParagraphParameters.C: new file
18228 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18229 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18231 * BufferView_pimpl.C: ParagraphParameter changes.
18232 * buffer.C: Likewise.
18233 * bufferview_funcs.C: Likewise.
18234 * text.C: Likewise.
18235 * text2.C: Likewise.
18237 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18239 * lyxfind.C (LyXReplace): do not redefine default argument in
18241 (IsStringInText): ditto
18242 (SearchForward): ditto
18243 (SearchBackward): ditto
18245 2001-03-06 Juergen Vigna <jug@sad.it>
18247 * lyxfind.C (IsStringInText): put parentes around expressions.
18249 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18251 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18253 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18255 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18257 * stl_string_fwd.h: add comment
18259 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18262 * tabular.C: remove unused DocBook methods
18268 killed DO_USE_DEFAULT_LANGUAGE
18270 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18272 * lyx_gui.C: do not include language.h.
18274 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18275 arguments in function implementation.
18277 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18279 * BufferView_pimpl.C: add <ctime>
18281 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18283 * BufferView_pimpl.C: add using std::find_if
18285 2001-02-27 José Matos <jamatos@fep.up.pt>
18287 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18290 2001-02-11 José Matos <jamatos@fep.up.pt>
18292 * buffer.C (makeDocBookFile): command styles now have a parameter as
18293 "title" by default.
18295 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18297 * layout_forms.[Ch]: removed
18298 * lyx_cb.[Ch]: out character
18299 * lyx_gui.C: out character
18300 * lyx_gui_misc.C: out character
18301 * bufferview_funcs.C: : out character,
18302 added toggleall as parameter in ToggleAndShow
18304 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18306 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18308 * text2.C (SetCurrentFont): Disable number property at boundary.
18310 2001-02-26 Juergen Vigna <jug@sad.it>
18312 * lyxfunc.C (getStatus): added a string argument override function so
18313 that this is correctly called from LyXFunc::Dispatch if it contains a
18314 do_not_use_argument which is used!
18315 (Dispatch): added check for "custom" export and call appropriate func.
18317 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18319 * lyxrc.C: Add language_command_local, language_use_babel and
18320 language_global_options.
18322 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18324 * buffer.C (makeLaTeXFile): Use language_use_babel and
18325 language_global_options.
18327 2001-02-23 Juergen Vigna <jug@sad.it>
18329 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18330 which works with LyXText and putted it inside BufferView. Here now we
18331 only call for that part the BufferView::Dispatch() function.
18333 * BufferView.C (Dispatch): added.
18335 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18336 functions which needs to use a LyXText over from LyXFunc.
18337 (MenuInsertLyXFile): added
18338 (getInsetByCode): added
18339 (moveCursorUpdate): added
18340 (static TEXT): added
18342 2001-02-22 Juergen Vigna <jug@sad.it>
18344 * BufferView_pimpl.C (update): call a status update to see if LyXText
18347 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18349 * vc-backend.C (revert): implement for CVS
18350 (getLog): implement for CVS
18352 2001-02-20 Juergen Vigna <jug@sad.it>
18354 * text2.C (ClearSelection): added BufferView param for inset_owner call
18356 * lyxfunc.C (TEXT): added this function and use it instead of
18357 directly owner->view()-text of getLyXText().
18359 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18361 * src/layout_forms.C: out preamble
18362 * src/layout_forms.h: out preamble
18363 * src/lyx_cb.C: out preamble
18364 * src/lyx_cb.h: out preamble
18365 * src/lyx_gui.C: out preamble
18366 * src/lyx_gui_misc.C: out preamble
18367 * src/lyxfunc.C: connect with guii preamble
18369 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18371 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18373 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18375 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18376 whether to run bibtex.
18378 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18380 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18382 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18384 * Makefile.am (lyx_SOURCES): removed bibforms.h
18386 * vspace.h: doxygen
18388 * text.C (GetVisibleRow): make several local vars const
18390 * tabular.C: small cleanup.
18392 * lyxserver.C (callback): use compare instead of strncmp
18394 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18395 inlines to after class or to paragraph.C
18397 * lyxfont.h: remove friend operator!=
18399 * converter.h: move friend bool operator< to non friend and after
18402 * combox.h: small cleanup
18404 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18405 to inlines after class def.
18407 * buffer.C (pop_tag): use string operations instead of strcmp
18409 * bmtable.c: doxygen, small cleanup
18411 * LaTeX.h: remove friend operator==
18413 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18425 * BufferView_pimpl.C:
18426 * BufferView.[Ch]: remove cruft
18428 2001-02-14 Juergen Vigna <jug@sad.it>
18430 * lyxfunc.C: removed #if 0 unused code
18432 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18434 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18436 * text2.C (SetSelection): added a BufferView * parameter
18438 2001-02-13 Juergen Vigna <jug@sad.it>
18440 * lyxfunc.C (Dispatch): fixed protected blank problem.
18441 * BufferView2.C (protectedBlank): added LyxText * parameter.
18443 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18444 (AppendColumn): same as above for column_info.
18446 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18447 (moveCursorUpdate): use a LyXText param for support of InsetText.
18449 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18450 (tripleClick): ditto
18452 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18454 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18456 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18458 * text2.C (SetSelection): set correct update status if inset_owner
18459 (ToggleFree): ditto
18461 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18463 * tabular.C: remove some commented code.
18465 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18467 * BufferView_pimpl.C: call hideSplash()
18469 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18472 * bibforms.h: remove
18475 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18476 add LFUN_CHILD_CREATE
18478 * counters.h: fix tiny typo
18483 * lyx.C: move splash to frontends/xforms/
18485 * lyx_gui_misc.C: move Include and Bibform to frontends
18487 * lyxvc.h: clarify comment
18489 * vspace.C: tiny housekeeping
18491 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18493 * text.C (PrepareToPrint): RTL Fix.
18495 * paragraph.C (GetUChar): New method.
18496 (String): Use GetUChar.
18498 * buffer.C (asciiParagraph): Use GetUChar.
18500 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18502 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18504 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18507 * buffer.C: rename to getLogName(), handle
18508 build log / latex log nicely
18510 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18513 * MenuBackend.h: remove support for reference menuitem type.
18515 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18517 * BufferView_pimpl.C: housekeeping
18518 * BufferView_pimpl.h:
18523 * minibuffer.h: move Timeout GUI-I
18525 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18527 * lyxrc.C (read): Update converters data-structures.
18529 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18531 * LaTeX.h (operator!=): add operator != for Aux_Info
18533 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18535 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18537 * LaTeXLog.C: deleted, useful code moved to Buffer
18540 * buffer.C: new function getLatexLogName()
18546 * lyxfunc.C: use frontends for LaTeX and VC logs
18548 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18550 * LaTeX.h: yet another std:: that Allan forgot.
18552 * Variables.C (set): renamed from isset(), because this clashes
18553 with some HP-UX macros (grr).
18555 2001-02-06 Allan Rae <rae@lyx.org>
18557 * LaTeX.h: Another bug fix. Missing std:: this time.
18559 2001-02-04 Allan Rae <rae@lyx.org>
18561 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18562 floats problem. I've left it commented out because it's not quite
18563 correct. It should also test that the current object is a table or
18564 figure inset. But I haven't gotten around to figuring out how to do
18565 that. I *think* it'll be something like: "table" == inset.type()
18567 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18570 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18572 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18573 all the citation/databases/styles in the auxilary file.
18574 (run): Rerun latex if there was a babel language error.
18576 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18578 * text.C (Backspace): Preserve the font when changing newline char
18580 (BreakParagraph): If the cursor is before a space, delete the space.
18582 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18584 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18586 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18587 new argument (code).
18588 (ChangeCitationsIfUnique): New method.
18590 * paragraph.C (GetPositionOfInset): Handle bibkey.
18592 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18594 * BufferView_pimpl.h: change type of Position::par_pos to
18595 LyXParagraph::size_type.
18597 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18599 * BufferView_pimpl.C (savePosition, restorePosition): Write
18600 messages to minibuffer.
18602 2001-01-28 José Matos <jamatos@fep.up.pt>
18604 * buffer.C (makeDocBookFile): adds support for document language.
18605 A silly restriction on the name of LatexCommand types where removed.
18606 Added support for CDATA sections, allows to chars unescaped, used
18607 among others in code, to avoid escape < and >.
18609 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18611 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18612 saved positions instrad of a stack. Furthermore, a position is
18613 stored using paragraph id/paragraph position.
18615 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18616 Remove LFUN_REF_BACK.
18618 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18620 * converter.C (dvipdfm_options): New method.
18622 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18624 * vspace.C (isValidLength): Fix for empty input string.
18626 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18628 * LyXAction.C (init): change description of LFUN_FIGURE to
18631 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18633 * LaTeX.C: add using directive
18635 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18637 * MenuBackend.C (expand): Fix the sorting of the formats.
18639 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18641 * lyx_main.C: tiny error message fix
18643 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18645 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18646 calling fl_initialize(). This fixes the problem with ',' as
18647 decimal separator in text files.
18649 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18651 * trans.C (process): Fix the keymap bug.
18653 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18655 * LaTeX.C (scanAuxFiles): New method. Provides support for
18656 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18657 (scanLogFile) Scan for "run BibTeX" messages.
18659 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18660 OT1 font encoding. Also, load the aecompl package if the ae
18663 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18665 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18667 * texrow.C (increasePos): turn two error messages into debug
18670 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18672 * LaTeX.C (scanAux): Handle the \@input macro.
18673 (runBibTeX): Use scanAux().
18675 * language.C (latex_options_): New field.
18677 * LaTeXFeatures.C (getMacros): Add language macros.
18679 * buffer.C (makeLaTeXFile): Small fix.
18681 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18683 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18685 * text2.C: add a using directive.
18687 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18692 * lyxfunc.C: kill LyXBell.
18694 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18696 * text.C (IsBoundary): Remove the error message
18698 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18700 * lyxrc.C (setDefaults): Correct initialization value for
18703 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18705 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18708 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18709 and GotoNextNote().
18711 * src/LyXAction.C: Added reference-next.
18713 * text.C (InsertChar): Use contains instead of strchr.
18715 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18717 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18719 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18720 alignment commands (when needed).
18722 * text.C (InsertChar): Add ':' to number separator chars.