1 2006-01-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * messages.C (get): Only warn once if setlocale fails (bug 2177)
5 2006-01-28 Martin Vermeer <martin.vermeer@hut.fi>
7 * text2.C (setCharFont): take inset's own font settings into account
8 when defining the font to reduce to, fixes 2019
10 2006-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12 * bufferview_funcs.C (coordOffset): remove the check for
13 collapsed collapsables (fix for bug 2094). This is now done
14 on a more general level (cursor.C).
16 * dociterator.[Ch] (forwardPos): add an optional argument
17 bool "ignorecollapsed" (default false), which lets forwardPos
18 skip collapsed insets.
20 * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
21 (fixes bug 2241 and 2094).
23 2006-01-26 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
25 * buffer.C: change tracking (dvipost) doesn't require
28 * LaTeXFeatures.C (getPackages): no need for the color
29 option "usenames" (bug 2169).
31 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
32 * buffer_funcs.C: Trivial fix - added {} around
33 the statements to be affected by a if-test. Now
34 label in a minipage in a float looks ok on screen again.
36 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
38 * text2.C: fix bug 2015: on screen fonts in nested environments
41 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
43 * converter.C (convert): handle unknown formats
45 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
47 * cursor.C (goUpDown): comment out some debug messages.
49 * counters.C (newCounter): make error messages more explicit
50 (these appear with some textclasses like beamer)
52 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
55 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
56 have origin set to KEYBOARD. (bug 2221)
58 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
60 * rowpainter.C (isCursorOnRow): do not exclude endpos().
62 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
64 * cursor.C (macroModeClose): returns true if an inset actually got
65 inserted; revert faulty fix to bug 2034.
67 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
69 * tabular.C (getLabelList): remove (not used anymore).
71 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
73 * outputparams.[Ch]: add new flag inComment
75 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
77 * text2.C (deleteEmptyParagraphMechanism): since we delete a
78 paragraph, recordUndo should span two paragraphs (bug 2155).
80 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
82 * rowpainter.C (paintPar): always repaint the row with the
85 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
91 * vspace.h: fix syntax error
93 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
95 * text3.C (dispatch): Force refresh if typing into inset changes its
98 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
103 * rowpainter.C: Speed up rendering by only re-painting rows that
104 have changed. When selection or whole-screen update active, all rows
105 are repainted, as are all rows within insets.
107 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
109 * version.C.in: Use PACKAGE_VERSION instead of VERSION
111 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
113 * tabular.C (toggleFixedWidth): Use default layout of text class
114 instead of hardcoded "Standard"
116 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
118 * lyxfunc.C (dispatch): do not call getStatus again to determine
119 whether a lfun is disabled (bug 2172).
121 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
123 * cursor.C (macroModeClose): set the cursor inside the new math
124 atom if relevant (think \frac{}{}) (bug 2034)
126 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
130 * text3.C (Delete, backspace): force update when merging paragraphs
132 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
134 * BufferView.C (mouseSetCursor): clear the selection properly (bug
137 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
139 * text.C (redoParagraph): honor inset->noFontChange()
140 * rowpainter.C (paintInset): ditto
142 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
144 * lyx_main.C (priv_exec): don't initialize Math on startup
145 (initMath() has been moved to math_hullinset).
147 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
149 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
150 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
151 * paper.h: dispose dead PAPER_PACKAGES enum.
153 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
155 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
158 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
160 * exporter.C (Export): Don't try to copy a file if it does not exist
163 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
165 * text2.C (makeFontEntriesLayoutSpecific): remove.
168 * text.C (insertChar): remove bogus caching of fonts (did not do
171 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
172 ALL_SANE). (bug 2146)
174 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
176 * rowpainter.C (paintFirst): fix centering of
177 LABEL_CENTERED_TOP_ENVIRONMENT.
179 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
181 * BufferView.C (mouseSetCursor): new method. Calls
182 deleteEmptyParagraphMechanism if necessary.
184 * lyxtext.h: make deleteEmptyParagraphMechanism public.
186 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
187 BufferView::mouseSetCursor (bug 2109).
188 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
190 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
192 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
193 do not remove it (this inset behaves differently from the others).
195 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
199 * BufferView_pimpl.C (getStatus): it is only possible to insert a
200 file in a text inset.
202 * buffer.C (readDocument): remove pit argument and code releated
203 to it; set the inset owner correctly (unrelated, but useful).
204 (readFile): get rid of pit argument.
206 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
207 textclass instead of a selection index.
208 (pasteParagraphList): new function.
209 (pasteSelection): make it a wrapper around pasteParagraphList.
211 * BufferView_pimpl.C (MenuInsertLyXFile): use
212 cap::pasteParagraphList to insert a file.
214 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
216 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
218 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
220 * exporter.C: fix typo in text message
222 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
224 * text2.C (setLayout): move recUndo call to other setLayout method
225 * tabular.C (toggleFixedWidth): new, handle cell width changes
226 * tabular.C (setColumnPWidth): move some code from insettabular.C here
227 and use toggleFixedWidth
228 * tabular.C (setMColumnPWidth): ditto
230 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
232 * paragraph.C (asString): use new inset->textString method (fix
235 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
237 * CutAndPaste.C (numberOfSelections): new helper function.
239 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
241 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
242 LyXFunc::getStatus; implement LFUN_PASTE.
244 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
246 * dociterator.[Ch]: new member realInset() that returns the cell
247 for tabulars and the inset for the rest (bug 1952).
248 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
251 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
253 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
255 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
259 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
262 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
264 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
265 line after typing ctrl-enter
267 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
269 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
270 math insets do not return a proper editable() state yet (bug 2124).
272 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
274 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
275 docs containing very large paragraphs.
277 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
279 * cursor.C (selectionBegin, selectionEnd):
280 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
281 cursor at different depths.
283 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
285 * bufferview_funcs.C (coordOffset): do not call cursorPos
286 for collapsed collapsables (fix bug 2094).
288 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
290 * paragraph.C (fontSpan): make sure that the FontSpan does not
291 span across beginOfBody (bug 1947).
293 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
295 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
297 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
299 * messages.C: fix crash and localization on MinGW/Windows platform
301 2005-11-02 Angus Leeming <leeming@lyx.org>
304 * lyxtextclass.C: trivial fixes to some MSVS warnings.
306 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
308 * text3.C (getStatus): re-enable disabled code. (bug 2081)
310 * BranchList.h (empty): constify.
312 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
314 * text3.C (getStatus):
315 * MenuBackend.C (expandBranches): take the branch list from the
316 master document (bug 2092).
318 * MenuBackend.C (expandBranches):
319 * bufferparams.C (writeFile): use BranchList type.
321 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
323 * text3.C (dispatch, getStatus):
324 * LyXAction.C (init):
325 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
327 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
329 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
331 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * text.C (insertChar): do not reset boundary (bug 2061)
335 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
337 * dociterator.C (updateInsets): new method. Updates the inset_
338 cache of all the slices of the iterator.
340 * text2.C (deleteEmptyParagraphMechanism): compare also containing
341 insets when comparing pit/pos; pass the right cursor to
342 recordUndo; when a paragraph has been deleted, compare `old.top()' to
343 the right cursor slice of `cur'; use updateInsets on cur to make
344 sure that the inset caches are correct; general cleanup.
346 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
348 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
349 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
350 containg inset. If this does not work, the same command will be
351 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
353 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
356 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
358 * lyxtextclass.C (Read): convert layout file if the format is wrong
359 * lyxtextclass.C (layout2layout): new, needed for the above
361 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
363 * messages.C: do not forget to include <cerrno>.
365 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
367 * dociterator.h (StableDocIterator): add access to pos().
368 * undo.C (samePar): new method to check if two
369 iterators are in the same paragraph
370 * undo.C (recordUndo): check for samePar instead of cell identity
371 (which includes pos() and is too strict) (fixes bug 2097)
373 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
375 * text.C (setCursorFromCoordinates): return a bool telling whether
378 * text3.C (cursorPrevious): update if needed after
379 setCursorFromCoordinates (when dEPM triggered).
381 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
382 (otherwise the anchor may be completely wrong and make dEPM assert).
384 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
386 * buffer.C: version upgrade to 245.
387 * bufferparams.C: remove \quotes_times (bug 2090).
388 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
389 quotation marks as default.
391 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
393 * CutAndPaste.C (nrOfParagraphs): remove (unused)
394 * CutAndPaste.C (cutSelection): Remove debug message
395 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
396 undo information and only copy if this is a real cut
397 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
399 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
401 * CutAndPaste.C (eraseSelection): prevent cursor corruption
402 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
403 superflous cur.selection() setting
404 * CutAndPaste.[Ch] (grabSelection): take a const cursor
405 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
407 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
409 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
412 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
414 * BufferView_pimpl.C: comment layout change
416 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
420 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
421 by bibliography managers (bug 2071).
423 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
425 * BufferView_pimpl.C (update): choose arguments to update call so
426 that single-par update works most times
427 * text3.C (dispatch): carefully tune updating separately for
428 whole-screen and current-paragraph
429 * rowpainter.C (paintText): 1) replace painting by caching for
430 the two extra paragraphs, because we can;
431 2) suppress greying out of areas below/above drawn area in case of
433 * lyxfunc.C (dispatch): remove superfluous update
434 * LyXAction.[Ch]: introduce SingleParUpdate
436 2005-10-05 Angus Leeming <leeming@lyx.org>
438 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
439 always initialised before use.
441 * text.C (setHeightOfRow): squash warning about comparison
442 of signed and unsigned types.
444 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
446 * text.C (cursorX): two fixes involving RtL text drawing
448 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
450 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
451 items, not only large ones (part of bug 2057)
453 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
455 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
456 argument, use "newcommand".
458 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
460 * cursor.C (setSelection): do not open collapsable insets;
461 the insets do by themselves now (autoopen).
463 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
465 * buffer.C: format is up to 244.
467 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
469 * text.C (redoParagraph): fix calcultation of inset width wrt
470 leftMargin (bug 1957).
472 * text3.C (dispatch): leave inset to the right when hitting ESC
475 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * messages.C: include <boost/current_function.hpp>
482 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
484 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
485 when command is internal. (bug 1941)
487 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
489 * text2.C (cursorRight): do not honor boundary when at the end of
490 a paragraph. (bug 2010 again)
492 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
494 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
496 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
498 * rowpainter.C (paintText): fix RtL space width display bug (2029)
500 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
502 * text2.C (setCursor): remove the unused 'boundary' parameter for
503 the CursorSlice version; adapt the LCursor version.
506 * paragraph_pimpl.C (markErased):
507 * cursor.C (bruteFind2, bruteFond3): fix warnings.
509 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
511 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
512 as is already done for "chapter".
514 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
516 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
517 textclass; do not record undo if nothing is changed.
519 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
521 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
523 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
525 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
527 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
529 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
530 combox, it is necessary to search for the topmost paragraph in the
531 cursor stack (bug 1926)
533 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
535 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
536 end of paragraph. (bug 2010)
538 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
540 * text.C (leftMargin): check for inInset == 0
542 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
544 * text.C (leftMargin): test for insetbase's new neverIndent()
545 bool instead of listing each and every inset that does not
546 wish par indendation.
548 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
550 * buffer_funcs.C (setCounter): put the code to compute enum label
551 here (where it belongs).
553 * counters.C (enumLabel): move code to buffer_funcs.C.
555 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
557 * outputparams.[Ch]: store local_font instead of local_language
558 * paragraph.C (simpleTeXOnePar): adapt to the change above
560 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
563 * counters.[Ch]: clean up special code for Hebrew.
565 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
567 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
570 2005-09-08 Angus Leeming <leeming@lyx.org>
573 * lyxrc.C: correct grammar describing invocation of the
576 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
578 * text.C (read): remove unused variable.
579 (readParToken): remove static Change variable (never good in
580 recursive settings...); add it as a parameter instead.
582 * paragraph_pimpl.C (acceptChange): make debug info conditional.
584 * metricsinfo.C (PainterInfo): add new member erased_.
586 * rowpainter.C (RowPainter): add erased_ member, initialized from
588 (paintInset): pass erased_ to Inset::draw.
590 * lyxfunc.C (lookupChange): new function. Tells whether change
591 tracking is disabled at a given postion.
592 (getStatus): disable some actions when in deleted text with change
595 2005-08-03 John Levon <levon@movementarian.org>
597 * tabular.C (appendColumn, setMultiColumn): adapt to change to
600 * paragraph_pimpl.C (markErased): add bool argument and handle it.
601 Also make sure to mark insets recursively.
602 (rejectChange, erase): be recursive
604 * paragraph.C (markErased): add bool argument.
605 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
607 * lyxfind.C (findNextChange): tiny cleanup.
609 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
610 change tracking with the cursor in an inset; make sure the first
611 change is not skipped.
613 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
615 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
616 tabularStackDirty to work around bug 1919 (tabular needs
617 to know whether its own cell paste buffer or the one of
619 * CutAndPaste.C: mark tabular_stack_ clean after copy.
621 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
623 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
625 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
627 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
628 use old deleteion algorithm when changetracking is on.
630 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
632 * messages.C (get): add debug output.
634 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
636 * text.C (cursorX): fix bug 1965: cursor movement at
637 line end broken in RtL.
638 (drawSelection): fix bug 1970: drawing of single-line
639 selection broken for RtL.
641 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
645 * dociterator.h (clear, push_back, pop_back): change from
648 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
649 and changed to just return the value of the item depth; take a
650 ParIterator as argument; take the itemdepth at outer nesting level
651 in account if necessary; cleanup and comment the code.
652 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
653 and changed to just return true if reset is needed; take a
654 ParIterator as argument; cleanup and comment the code.
655 (setCounter): adapt to above changes.
657 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
659 * text3.C (dispatch): make debug message optional
661 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
663 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
666 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
668 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
670 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
672 * text.C (insertChar):
673 * text2.C (deleteEmptyParagraphMechanism): take care whether
674 a blank has been deleted (in change tracking mode) (bug 1254).
676 2005-07-20 John Levon <levon@movementarian.org>
678 * text2.C (insertStringAsLines): remove old dubious code,
681 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
683 * MenuBackend.C (expandToc): use Floating::listName() as title of
686 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
688 * toc.[Ch]: Do not use translatable strings (bug 1870).
690 2005-07-20 John Levon <levon@movementarian.org>
692 * tabular.C: fix 1748 - setting multicolumn adds
693 left line to the first cell
695 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
698 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
701 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
703 * messages.C: supress some lyxerr messages
705 2005-07-18 Juergen Vigna <jug@lyx.org>
707 * text.C (drawSelection): honor boundary when asking for cursorX.
709 2005-07-17 José Matos <jamatos@fc.up.pt>
711 * tabular.C (recalculateMulticolumns): fix handling of one column
714 2005-07-17 Juergen Vigna <jug@lyx.org>
716 * text.C (Delete, backspace): fixed so that paragraph with the
717 same layout can be merged by Delete/Backspace.
719 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
721 * text.C (readParToken): fix spelling.
723 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
725 * text2.C: fix counter update for DEPM problem reported by
728 2005-07-17 Juergen Vigna <jug@lyx.org>
730 * BufferView_pimpl.C (setBuffer): save/restore the
731 cursor/selection when switching buffers
734 * buffer.C (saveCursor): add saveDocumentIterators to save the
735 cursor when switching buffer.
737 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
740 * buffer.C: clarify message
742 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
744 * dociterator.C (DocIterator): fix initialization order
746 2005-07-17 Juergen Vigna <jug@lyx.org>
748 * text2.C (cursorHome):
749 * text.C (drawSelection, cursorX):
750 * dociterator.C (textRow): add boundary to getRow() call
752 * paragraph.C (getRow): implementation of below
754 * paragraph.h: add parameter boundary for getRow() function
756 2005-07-17 José Matos <jamatos@fc.up.pt>
760 * tex-strings.[Ch]: new file format, remove support for a4.sty,
761 a4wide.sty and a4widemargins.
763 2005-07-17 Juergen Vigna <jug@lyx.org>
765 * text2.C (cursorLeft): fix one of error
767 2005-07-17 Juergen Vigna <jug@lyx.org>
769 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
771 more fixes for boundary handling
773 * text3.C (dispatch): don't reset cursor if boundary has changed
776 2005-07-16 Juergen Vigna <jug@lyx.org>
778 * text2.C (getColumnNearX): hopefully got it right now,
779 check if we are on column 0 for special case.
781 2005-07-16 Juergen Vigna <jug@lyx.org>
783 * text2.C (getColumnNearX): handle special case Newline Inset
785 * text.C (singleWidth): Just remove bogus check
787 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
789 * funcrequest.C (split): avoid reading uninitialized char c
791 2005-07-16 José Matos <jamatos@fc.up.pt>
797 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
798 single papersize variable.
800 2005-07-16 Juergen Vigna <jug@lyx.org>
802 * text3.C (dispatch): honor boundary when checking if a cursor
803 movement has been done
805 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
806 (setCursor, setCursorIntern): fix cursor movement with boundary
808 2005-07-16 Juergen Vigna <jug@lyx.org>
810 * text.C (currentState): output the actual Boundary
812 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
814 * factory.C (createInset): fix bad logic for tabular creation
816 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
818 * lyx_main.C (init): change some reLyX reference to tex2lyx
820 2005-07-16 Juergen Vigna <jug@lyx.org>
822 * dociterator.C (DocIterator): initialize boundary
824 2005-07-16 Juergen Vigna <jug@lyx.org>
826 * text2.C (getColumnNearX): Consider rows without trailing blank.
828 2005-07-16 André Pönitz <poenitz@gmx.net>
830 * lyxfont.h: Change order of declarations to give the compiler
831 a better chance to inline things
833 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
834 questions on unsaved docs for better scritability
836 2005-07-16 André Pönitz <poenitz@gmx.net>
838 * paragraph.h (getChar): remove asserts as the same kind of security
839 can be achieved by using a suitable standard library implementation
840 and the function was in the critical path (25.9% in profiler)
842 2005-07-16 Juergen Vigna <jug@lyx.org>
844 * cursor.C (bruteFind2):
845 * bufferview_funcs.C (coordOffset):
846 * text.C (cursorX,cursorY): Handle cursor position after last char
847 in row before a inset which uses a whole row.
849 2005-07-15 José Matos <jamatos@lyx.org>
851 * output_plaintext.[Ch] (writeFileAscii): control reference title
853 (asciiParagraph): noparbreak was already deal and was incorrectly
856 2005-07-15 Juergen Vigna <jug@lyx.org>
858 * lyxfunc.C (dispatch): save and restore the cursor after a
861 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
863 * text.C (backspace): bug 806 for empty keepempty paragraphs we
864 change the layout to default before letting DEPM do its thing.
866 * paragraph_funcs.C (breakParagraph): dont reset the layout on
869 * text.C (setCursorFromCoordinates): add a debug statement
871 * text2.C (getColumnNearX): bug 1825 make sure that we don't
872 return a pos that is not on the row
874 * output_latex.C (TeXDeeper): get rid of potential dereferencing
875 of past the end iterator
877 2005-07-14 André Pönitz <poenitz@gmx.net>
879 * undo.C (recordUndoFullBuffer): implement undo for
882 2005-07-14 André Pönitz <poenitz@gmx.net>
884 * cursor.C (setSelection): open insets when selection is set there
885 to avoid crashs with cold coord cache
887 2005-07-14 André Pönitz <poenitz@gmx.net>
889 * trans_mgr.C (insert): move cursor to the right after inserting
892 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
894 * BufferView_pimpl.C (update): dampen some of the debug blabbering
895 * factory.C (readInset): ditto
896 * text.C, text2.C: ditto
898 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
900 * buffer.C: format incremented to 242. There is no file format per
901 se, but the "frenchb" language has been removed from lib/language
902 and has to be translated to "french" by lyx2lyx.
904 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
906 * cursor_slice.h, dociterator.h: add some documentation
907 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
909 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
911 * text.C (leftMargin): do not add identation to display() style
912 insets, because they are always centered (bug 1293).
914 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
916 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
917 formatted_time methods in support/lyxtime.
919 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
921 * toc.[Ch]: new method getGuiName, which is used by the frontends
922 to set the toc combo (fixes bug 1870). Make TOC string translatable.
924 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
926 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
927 StableDocIterator const &)
928 * undo.C (recordUndo): use the above instead of cell.size() comparison
929 (fixes bug 1808; instructed by Andr�.
931 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
934 * dociterator.h: Fix the assert when copying rows/cols in math
936 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
938 * BufferView_pimpl.C:
940 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
942 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
943 (findInset): new functions, refactored from goto Inset that return
944 the position of a certain inset without setting the buffer's cursor
946 (gotoInset): rewrite to call findInset and then set the cursor
949 2005-06-16 Angus Leeming <leeming@lyx.org>
951 * lyxrc.C (output, read): wrap all input and output of paths with
952 calls to os::internal_path and os::external_path, respectively.
953 (output): wrap bind_file inside quotes.
955 * format.C (view): enable the viewer to use the '$$s' placeholder.
957 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
959 * LColor.[Ch] (getFromLaTeXName): new
961 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
963 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
965 2005-06-14 Angus Leeming <leeming@lyx.org>
967 * lyx_main.C (init): ensure that the LyX binary dir is the first
968 element in the PATH on non-POSIX builds.
970 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
972 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
974 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
976 * rowpainter.C (paintInset, paintHebrewComposeChar)
977 (paintArabicComposeChar, paintChars): add a LyXFont argument.
978 (paintChars): use getFontSpan to reduce calls to getFont to a
979 minimum; use Paragraph::lookupChange instead of isXXXText.
980 (paintForeignMark): rename LyXFont argument.
981 (paintFromPos): pass a LyXFont object to the various paintXXX
984 * FontIterator.C (FontIterator, operator++): use
985 Paragraph::getFontSpan
987 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
988 version that returns the font span as a pair.
990 2005-06-09 Angus Leeming <leeming@lyx.org>
992 * converter.C (convert): Don't forget "outfile = real_outfile" as
993 the final step in a conversion where the input and output file names
994 are the same. Otherwise, future conversion steps won't work...
996 2005-06-09 Angus Leeming <leeming@lyx.org>
998 * lyxsocket.C: remove stub code as it isn't needed by
999 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1001 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1003 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1004 effectively disabled -x
1006 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1008 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1009 when it actually makes sense.
1011 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
1013 * BufferView_pimpl.C: revert to showCursor in connection with
1014 Lars's front-end stack
1016 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1018 * text.C (redoParagraph): move cursor right after a bibitem
1021 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1023 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1025 * buffer_funcs.C (bufferErrors): fix computation of the end of an
1028 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1030 * BufferView.[Ch] (update):
1031 * BufferView_pimpl.[Ch] (update, metrics):
1032 * dimension.h (operator==):
1033 * lyxfunc.C (dispatch):
1034 * metricsinfo.h (ViewMetricsInfo):
1035 * rowpainter.C (paintText):
1037 * text.C (redoParagraph):
1038 * text3.C (dispatch): Make LyX only repaint current paragraph in
1039 case of character insert --> speedup. Also fix cursor draw
1042 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1044 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1045 avoid a crash (bug 1891)
1047 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1051 * text2.C (getStringToIndex): constify cur argument.
1053 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1054 argument has been given
1055 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1056 try to invoke LFUN_INSET_APPLY).
1058 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1059 if no inset was created by doInsertInset
1060 (doInsertInset): return true if an inset has been inserted.
1062 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1064 * vspace.C (asGUIName): new method. A version of the space
1065 suitable for showing on screen.
1067 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1070 * lyxrc.C: rename "ASCII" to "Plain Text"
1072 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1074 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1075 translate the labelstring.
1076 (setCounter): translate labelstring as needed.
1078 * output_docbook.C (makeCommand): fix expandLabel invokation
1080 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1082 * BufferView.C: fix dialog title
1084 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1086 * lyx_main.C (priv_exec): fix logic error with help from Angus
1087 * lyx_main.C (parse_execute): set is_gui = false and remove now
1088 obsolete comment about a segfault
1090 2005-05-18 Angus Leeming <leeming@lyx.org>
1092 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1094 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1096 * tabular.[hC]: added setCellInset to fix tabular paste.
1098 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1100 * buffer.C (save): check if destination is writable before trying
1103 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1105 * BufferView_pimpl.C (update): fix processEvents -caused update
1108 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1110 * buffer_funcs.C (setCounter): fix test for numbering of
1113 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1114 depth correctly; use optional argument when it exists
1116 * lyxtextclass.C: remove unused MaxCounterTags enum
1117 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1118 (max_toclevel, min_toclevel): new methods.
1120 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1121 the smallest depth in toc.
1123 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1124 layouts that should not appear in a table of contents.
1126 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1128 * cursor.h (undispatched, noUpdate): add comments from Andr�
1129 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1133 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1135 2005-05-07 André Pönitz <poenitz@gmx.net>
1137 * cursor.[Ch] (leaveInset): new function
1139 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1141 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1143 2005-05-04 Angus Leeming <leeming@lyx.org>
1145 * lyxfunc.C (getStatus): disable the spell checker dialog if
1146 none of USE_[AIP]SPELL are defined.
1148 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1150 * tabular.C (setWidthOfCell): remove obsolete comment
1152 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1154 * paragraph.C (bibitem):
1155 * buffer_funcs.C (setCounter):
1156 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1158 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1160 * text3.C (getStatus): immediately return after setOnOff
1162 * rowpainter.C: fix drawing of appendix start
1164 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1166 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1167 SwitchBetweenClasses and remove the unused return value.
1168 Handle character styles, too
1170 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1172 * factory.C (createInset): handle undefined character styles
1174 2005-05-02 Angus Leeming <leeming@lyx.org>
1176 * buffer.C: protect the #include of utime.h with a preprocessor
1179 2005-05-02 Angus Leeming <leeming@lyx.org>
1181 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1182 function so that auto-saving works, albeit in a blocking manner.
1184 * Makefile.am: make compilation of the client sub directory, of
1185 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1186 on conditionals set at configure time.
1188 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1189 it can be compiled in its own right but has no-op functionality.
1191 * aspell.C, pspell.C: remove preprocessor guards. The files should
1192 be compiled only if the necessary functionality exists.
1194 * lyxserver.C, lyxsocket.C: disable on Windows.
1196 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1198 * text.C (leftMargin): Fix the parindent use bug (1764)
1201 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1203 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1206 2005-04-25 Angus Leeming <leeming@lyx.org>
1214 include <config.h> in .C files, not .h ones.
1216 protect headers inside preprocessor guards.
1218 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1220 * FuncStatus.h (StatusCodes): document
1222 2005-04-21 André Pönitz <poenitz@gmx.net>
1224 * FuncStatus.h (enabled, onoff): document
1226 2005-04-19 Angus Leeming <leeming@lyx.org>
1228 * BufferView_pimpl.C (cursorToggle): no longer test whether
1229 any child processes have been reaped before calling
1230 handleCompletedProcesses().
1232 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1234 * text3.C (dispatch): fix, finally fix, the language problem in
1235 new lyxtexts, without disabling on-the-fly font changes (Helge's
1238 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1240 * text3.C (dispatch): set cursor on double/triple click events
1243 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1245 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1246 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1248 * rowpainter.C (paintFirst): simplify the code a little bit. In
1249 particular, remove the test for secnumdepth.
1250 * text.C (setHeightOfRow): only allocate space for chapter number
1251 when updateCounters provided an actual label, instead of looking
1252 at secnumdepth directly.
1254 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1256 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1257 paragraphs when secnumdepth is large enough or, for environments,
1258 when they are not the first in a sequence.
1260 2005-04-17 Angus Leeming <leeming@lyx.org>
1262 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1263 containing space and '~' characters with a call to latex_path().
1265 2005-04-17 Angus Leeming <leeming@lyx.org>
1267 * converter.C (convert): protect all args of convertDefault.sh
1270 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1272 * text3.C (dispatch): change the layout to "Caption" after inserting
1275 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1277 * text3.C (dispatch): fix language problem in newly created
1278 textinsets (and main text) in non-english docs
1280 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1282 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1283 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1284 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1286 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1290 * text2.C (getFont):
1291 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1294 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1296 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1297 output of \item arguments without trailing text.
1299 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1301 * FontIterator.C (operator*): avoid a copy of the font.
1303 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1305 * rowpainter.C (getFont): fix language bug from previous fix
1307 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1309 * rowpainter.C (RowPainter, getFont): fix font inside inset
1312 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1314 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1315 preventing inserted font, deco, delim insets jumping to start of
1318 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1320 * lyxfunc.C (dispatch): translate message before sending it to the
1323 2005-03-29 Angus Leeming <leeming@lyx.org>
1325 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1326 to LyX on the command line.
1328 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1330 * vc-backend.C: use QuoteName to protect file names wherever
1333 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1336 * BranchList.h: fix bugs 1844,1845: document settings don't
1339 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1341 * lyxrc.C (setDefaults, read, output, getDescription): add support
1342 for tex_allows_spaces.
1344 * exporter.C (Export): allows files in directory containing spaces
1345 if tex_allows_spaces is true.
1347 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1348 output it in double quotes.
1350 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1352 * rowpainter.C: use default text height for drawing change tracker
1355 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1357 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1359 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1361 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1362 directory is missing.
1364 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1366 * text2.C: fixed the fix, extended to other case.
1368 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1370 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1372 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1374 * text2.C (cursorUp): get rid of a crash
1375 * text.C (x2pos): add an assert
1377 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1379 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1383 * dociterator.C: include <boost/current_function.hpp>, which is
1384 needed when assertions are disabled.
1386 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1388 * text2.C: fix for stuck cursor when traversing two
1389 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1391 2005-02-25 Andreas Vox <avox@arcor.de>
1393 * output_docbook.C (makeParagraph): suppress trailing newline
1394 after a run of paragraphs
1396 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1398 * paragraph.C: fix for confused change tracker when pasting
1399 text that begins with a lineseparator. [bug 1827]
1400 (setChange(0, Change::INSERTED);)
1402 * paragraph_funcs.C: fix for lost changes on triple-paste
1403 in change tracking mode [bug 1827] (par.setChange()).
1405 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1407 * text2.C (updateCounters, setCounter, expandLabel): move to
1410 * buffer_funcs.C (updateCounters): turn into a free standing
1411 function and add a buffer parameter. Remove dead code for tracking
1413 (setCounter): change into a free-standing function which gets a
1414 dociterator as argument. Use this iterator to fix captions in a
1415 simple way. When no float is found above the caption, use the
1416 labelstring of the caption layout as default.
1418 * text.C (breakParagraph, backspace):
1419 * text2.C (init, setLayout, changeDepth):
1420 * text3.C (dispatch):
1421 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1424 * dociterator.C (forwardPar): make it much faster by calling
1425 forwardPos() only when really necessary.
1427 * output_docbook.C (makeCommand): adapt to expandLabel move.
1429 * cursor.C: remove unused variable
1431 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1433 * paragraph_funcs.C: fix crash when pasting insets in change
1434 tracking mode [bug 1277] (honour change type in moveItem).
1436 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1438 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1440 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1442 * BufferView.C (setCursor): change to use a DocIterator.
1443 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1444 (putSelectionAt): adapt to BufferView::setCursor change.
1446 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1447 moved here from LyXText and rewritten to use proper cursor
1448 methods. Fixes bug 1787, 616 and 835.
1450 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1451 when inside an inset (part of bug 781).
1452 (dispatch): adapt to change of BufferView::setCursor.
1453 (getStatus, dispatch): handle LFUN_GOTOERROR,
1454 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1456 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1457 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1458 * text3.C (gotoNextInset, gotoInset): removed.
1460 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1462 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1464 2005-02-15 Angus Leeming <leeming@lyx.org>
1466 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1467 can be used meaningfully in a comparison.
1469 2005-02-13 André Pönitz <poenitz@gmx.net>
1471 * bufferview_funcs.C (coordOffset): improve cursor drawing
1473 2005-02-13 André Pönitz <poenitz@gmx.net>
1475 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1476 * Cursor.C (dispatch): use fixIfBroken
1477 * lyxfunc.C (getStatus): use fixIfBroken
1479 2005-02-15 Angus Leeming <leeming@lyx.org>
1481 * lyx_main.C (error_handler):
1483 * lyxrc.C (setDefaults):
1485 #include "environment.h".
1487 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1489 2005-02-15 Angus Leeming <leeming@lyx.org>
1491 * lyxserver.C (startPipe): squash MSVC warning "local variable
1492 'fd' used without having been initialized".
1494 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1496 * BufferView_pimpl.C: revert accidental commit.
1498 2005-02-14 André Pönitz <poenitz@gmx.net>
1500 * dociterator.[Ch]: new member forwardPosNoDescent(),
1501 which doesn't enter nested insets.
1502 * text2.C (setFont): use forwardPosNoDescent() instead
1503 of ForwardPos() (fixes crash on font change).
1505 2005-02-13 Angus Leeming <leeming@lyx.org>
1507 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1508 only if lyxrc.path_prefix is not empty.
1510 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1512 * bufferparams.C (readGraphicsDriver): prevent crash
1514 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1516 * text2.C (setCounter): check for inInset() == 0
1518 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1520 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1521 but use update() to get correct screen display; use convert
1522 instead of istringstream.
1523 (getStatus): handle LFUN_GOTO_PARAGRAPH
1525 * lyxfunc.C (dispatch, getStatus): do not handle
1526 LFUN_GOTO_PARAGRAPH here.
1528 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1530 * text3.C (dispatch): size() -> depth()
1532 * text2.C: remove some debug output
1534 * paragraph.C: ws changes only
1536 * lyxfunc.C (getStatus): size() -> depth()
1538 * dociterator.h (clear, push_back, pop_back, internalData,
1539 operator[], resize, empty): new functions
1540 Make StableDocIterator and operator== be friends. Don't inherit
1541 from std::vector use a privat class variable slices_ instead.
1544 * dociterator.C: update because of not inheriting from std::vector
1545 anymore. Call explictly to slices_ instead. Use depth() instead of
1546 size() and top() instead of back()
1548 * cursor.C: chagne size() -> depth and back() -> top(). Also
1549 remove some direct operator[](i) calls in favour of foo[i]
1550 (getFont): remove some dead code
1552 * bufferview_funcs.C (coordOffset): size() -> depth()
1554 * buffer.C: ws changes only
1556 * CutAndPaste.C (eraseSelection): back() -> top()
1558 * BufferView_pimpl.C (selectionRequested): back() -> top()
1560 * BufferView.C (setCursor): size() -> depth()
1562 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1564 * text3.C (cursorPrevious): return true if depm changed something
1566 (dispatch): rename sl to oldTopSlice, remove moving use the new
1567 NoUpdate func attrib instead. Make sure that needsUpdate is set
1568 for function that have NoUpdate, but where depm might have changed
1571 * text2.C (cursorLeft): make us return true if depm changed
1573 (cursorRight): ditto
1574 (cursorUpParagraph): ditto
1575 (curosrDownParagraph): ditto
1576 (cursorUp, cursorDown): ditto, make sure to read comments in code
1577 (deleteEmptyParagraphMechanism): remove an assert, also return
1578 true if just a single char was deleted.
1580 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1581 cursor that we modify, to avoid modifying an active cursor before
1582 we call setCursor. This allows depm to run. Also return true if
1583 depm deleted something.
1585 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1586 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1587 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1588 something was changed in the buffer because of them (ie. depm run)
1590 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1591 debug messages. Make update by default be false. Make sure that
1592 the result of update is retained throught several calls down to
1595 * LyXAction.h: add a new func_attrib: NoUpdate
1597 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1598 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1599 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1601 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1603 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1605 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1606 bv_->owner(), bv_->buffer() by direct references to the private
1608 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1609 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1610 (fitCursor): center() is in BufferView::Pimpl.
1611 (getStatus, trackChanges, dispatch): no need for a temporary buf
1613 (fitCursor, workAreaDispatch): use workarea().workheight()
1615 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1617 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1619 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1621 * buffer.C: format up to 241.
1622 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1623 break if pasting into ERT
1624 * lyxfunc.C (getStatus): suppress mathpanel and
1625 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1627 2005-02-01 Angus Leeming <leeming@lyx.org>
1629 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1631 2005-02-01 Angus Leeming <leeming@lyx.org>
1633 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1634 calling fs::is_directory().
1636 2005-01-31 Angus Leeming <leeming@lyx.org>
1638 * lyx_main.C (priv_exec): specify explicitly the relative location
1639 of the top level build directory when run in-place.
1641 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1643 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1644 LyXText containing the cursor, not the top-level one.
1646 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1648 (insertStringAsLines): rename par to pit; use temporary variable
1649 par to hold a Paragraph; do not store par.layout() in a variable,
1650 since the pointer may die when breaking paragraphs; pass pars to
1651 breakParagraph() instead of Buffer::paragraphs().
1653 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1655 * lyxlex_pimpl.h: #include <fstream>.
1657 * BufferView.[Ch] (getLyXText): add a const version.
1659 * BufferView_pimpl.C: add debug aids.
1664 * paragraph_funcs.h: add commentary explaining what the class does.
1667 * coordcache.[Ch]: add lots of commentary.
1668 (startUpdating, doneUpdating): debug aids.
1669 (arrays, insets, parPos, getParPos): accessors to private data.
1671 * cursor_slice.[Ch] (text): add a const version.
1672 * dociterator.[Ch] (text, innerText): add const versions.
1674 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1677 * paragraph.C (getRow, pos2ros): add asserts.
1679 * paragraph.h: add commentary. Lots of.
1681 * paragraph.[Ch] (metrucs, draw): removed.
1684 * rowpainter.[Ch]: const-correct changes.
1686 * text.C: various obvious clean-ups. Removal of ancient cruft.
1689 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1691 * vc-backend.C (find_file): rewrite to use boost.filesystem
1694 * main.C (main): set default name check for boost.filesystem to
1697 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1700 (actOnUpdatedPrefs): ditto
1702 * lyx_main.C (init): rewrite to use boost.filesystem
1703 (queryUserLyXDir): ditto
1705 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1706 (getContentsOfAsciiFile): ditto
1708 * lastfiles.C (readFile): rewrite to use boost.filesystem
1710 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1712 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1713 (loadLyXFile): ditto
1715 * buffer.C (Buffer): adjust for destroydir
1716 (getLogName): rewrite to use boost.filesystem
1717 (setFileName): ditto
1718 (save): use fs::copy_file (from fs_extras)
1720 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1722 * LaTeX.C (run): rewrite to use boost.filesystem
1723 (scanAuxFiles): ditto
1724 (handleFoundFile): ditto
1726 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1728 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1730 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1732 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1734 * lyxlayout.[Ch]: change some vars from float to double
1736 * buffer.C (readFile): make a local var const
1738 * Several files: use convert<> instead of atoi,strToXXX and friends
1740 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1742 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1743 holds the contents of packages.lst. New functions getAvailable
1744 and isAvailable to parse and check that list, resp.
1748 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1750 * bufferparams.[Ch]: new param output_changes.
1752 * Buffer.C: increase file format to 240.
1753 Use output_changes and isVailable.
1757 * paragraph_pimpl.C: Use output_changes and isVailable.
1759 2005-01-23 Angus Leeming <leeming@lyx.org>
1761 * output_latex.C: #include "insetbibitem.h", rather than
1762 forward declare function bibitemWidest.
1764 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1766 * lyx_main.C (init): make it compile on the Mac.
1768 2005-01-20 Angus Leeming <leeming@lyx.org>
1770 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1771 (setLyXMisc): (char string literal) != (char string literal) is
1772 performing a comparison on the addresses. Convert one operand
1773 explicitly to string to guarantee expected behaviour.
1776 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1779 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1781 * output_plaintext.C: remove unneeded #include gzstream.h.
1783 2005-01-20 Angus Leeming <leeming@lyx.org>
1785 * SpellBase.h: rename some of the elements of the Result enum.
1792 * pspell.C (check): ditto
1794 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1796 * buffer.C: add #include <fstream>.
1798 * lyx_main.C (init): Compile fix.
1800 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1802 2005-01-20 Angus Leeming <leeming@lyx.org>
1804 * mover.h: change commentary to reflect the changed meaning of
1805 the $$s placeholder.
1807 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1809 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1811 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1813 2005-01-20 Angus Leeming <leeming@lyx.org>
1815 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1816 printing diagnostic data by not dereferecing an iterator past the
1819 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1821 * buffer.C (readHeader): use "&&" rather than "and".
1823 * lyxserver.h (inPipeName, outPipeName): make these const.
1825 2005-01-19 Angus Leeming <leeming@lyx.org>
1827 * lyx_main.C (error_handler, init): protect SIGHUP with
1828 #ifdef SIGHUP guards.
1830 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1832 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1834 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1836 * text.C (setHeightOfRow): add a margin at the top and bottom of
1837 the document (bug 1761)
1839 2005-01-17 Angus Leeming <leeming@lyx.org>
1841 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1842 with "python ". Workaround for a brain-dead Windows.
1844 2005-01-16 Angus Leeming <leeming@lyx.org>
1846 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1847 for MacOSX and Windows to use prependEnvPath.
1848 Strip out the hard-coded block to add elements to the PATH for
1849 MacOSX and replace it with a call to prependEnvPath using the
1850 contents of LyXRC::path_prefix.
1851 (queryUserLyXDir): strip out the code to run reconfigure, instead
1852 returning a boolean indicating the necessity to do so.
1853 (reconfigureUserLyXDir): contains the code to reconfigure the
1854 user support directory. Is now called after the various LyXRC data
1855 files have been read.
1857 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1859 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1861 * converter.[Ch] (convert): take a new parameter try_default. Use
1862 a default converter (imagemagick) if try_default is true.
1864 2005-01-13 Angus Leeming <leeming@lyx.org>
1866 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1867 os::cygwin_path_fix.
1868 (write): output LyXRC::cygwin_path_fix as necessary.
1870 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1873 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1875 2005-01-12 Angus Leeming <leeming@lyx.org>
1877 * lyx_main.C (init): set the PATH variable to include the
1878 directory containing the LyX binary when running on Mac or Windows.
1880 2005-01-12 Angus Leeming <leeming@lyx.org>
1882 * lyx_main.C (init): remove cruft that purports to set the locale
1883 dir. It doesn't and is not needed anyway.
1885 2005-01-10 Angus Leeming <leeming@lyx.org>
1887 * Makefile.am: remove the lyx_main.C special casing.
1889 * BufferView_pimpl.C:
1895 * messages.C: use support/package.h to provide the paths to the
1896 various directories used by LyX.
1898 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1900 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1901 layout if pasting into an empty paragraph)
1903 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1905 * tex-accent.C: add <string>
1907 2005-01-06 José Matos <jamatos@lyx.org>
1909 * ParagraphParameters.C (write): put every parameter in its own line.
1910 * paragraph.C (write): reduce number of consecutive empty lines exported.
1911 * buffer.C (LYX_FORMAT): increase file format to 239.
1913 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1915 * everywhere: change support/tostr.h -> support/convert.h
1917 * tabular.C: make all write_attributes templates, tostr -> convert
1919 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1920 (emptyTag): and -> &&, and fix type for ret from getChar
1921 (getFirstWord): fix type for ret from getChar
1922 (onlyText): and -> &&
1923 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1926 * toc.C (goTo, action):
1927 * text3.C (dispatch):
1928 * text.C (currentState):
1929 * tex-accent.C (DoAccent):
1932 * lyxfunc.C (menuNew):
1933 * lyxfinc.C (replace):
1934 * counters.C (laberItem):
1935 * bufferview_funcs.C (font2string):
1936 * bufferparams.C (writeFile):
1937 * buffer.C (readFile):
1939 * MenuBackend.C: tostr -> convert
1941 * LaTeX.C (runMessage): fix format
1942 (scanAuxFiles): tostr -> convert
1944 * BufferView_pimpl.C (savePosition): fix format
1945 (restorePosition): ditto
1948 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1950 * Spacing.[Ch]: New method getValueAsString().
1954 * ParagraphParameters.C:
1957 * text3.C: store/read spacing value as string.
1959 * rowpainter.C: change float value (spacing_val) to double.
1961 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1962 broken custom document spacing).
1964 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1966 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1967 namespace, also more use of temp references and const
1969 * cursor.[Ch] (getStatus): move to lyxfunc.C
1971 * bufferparams.C: reformat slightly
1973 * bufferview_funcs.C (font2string): constify arg
1979 * buffer_funcs.C: (many funcs): constify arg on function
1980 definitions, also make more local vars const, also add ASSERTS on
1983 * buffer.C (LYX_FORMAT): put const in correct place
1984 (many funcs): constify arg on function definitions, also make
1985 more local vars const
1987 * aspell_local.h: remove "struct" from typdef setup
1989 * aspell.C (check): make word_ok const
1990 (nextMiss): simplify slightly
1993 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1995 * lyxrc.[Ch]: store all float values as strings.
1996 use int (not float) for lyxrc.dpi.
1998 2005-01-04 Angus Leeming <leeming@lyx.org>
2000 * lyx_cb.C (Reconfigure):
2001 * lyx_main.C (queryUserLyXDir):
2002 to run the <system_lyxdir>/configure correctly on Windows, prefix
2003 the path to the script with "sh " when generating the string that
2004 is passed to system().
2006 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2008 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2010 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2012 * lyxlength.C (asLatexString): get rid of setprecision
2014 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2016 * text2.C (setLayout): remove unused variable endpit.
2017 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2019 * paragraph.C (onlyText): remove unused variable style.
2021 * cursor.C (bruteFind): remove unused variables beg and end.
2023 * Makefile.am (dist_noinset_DATA): not needed anymore
2025 * cheaders/*: remove.
2027 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2029 * text3.C: fix LFUN_MATH_MODE.
2031 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2033 * buffer_funcs.C (countWords): new function. Counts words between
2036 * BufferView_pimpl.C (getStatus, dispatch): handle
2039 * LyXAction.C (init):
2040 * lfuns.h: add LFUN_WORDS_COUNT.
2042 2004-12-19 Angus Leeming <leeming@lyx.org>
2044 * buffer.C (save): s/slashify_path/internal_path/.
2046 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2048 * lyxfind.C (findChange): do not search for end of pars, because
2049 the change tracker cannot handle this (fixes bug 1719).
2051 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2053 * paragraph.[Ch] (autoBreakRows): remove
2055 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2057 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2058 avoid using the paragraph one
2060 * text2.C (LyXText, insertStringAsLines): adjust
2062 2004-12-16 Angus Leeming <leeming@lyx.org>
2066 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2068 2004-12-14 Angus Leeming <leeming@lyx.org>
2070 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2072 * bufferlist.C (emergencyWrite):
2073 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2076 2004-12-14 Angus Leeming <leeming@lyx.org>
2078 * main.C: (main): no longer pass pointers to os::init.
2080 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2082 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2083 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2085 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2088 * text3.C: remove selection_possible global flag
2090 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2092 * text2.C (getSelectionSpan): remove
2093 (changeDepth, changeDepthAllowed): adjust
2095 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2097 * Makefile.am (BOOST_LIBS): use boost variables
2099 2004-12-03 José Matos <jamatos@lyx.org>
2101 * buffer.C: format up to 238.
2103 2004-12-03 José Matos <jamatos@lyx.org>
2105 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2107 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2109 * cursor.C (goUpDown): remove call to idxUpDown2
2111 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2113 * tabular.[Ch]: use size_t-like types for cell, row and column
2116 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2118 * lyxfunc.C (getStatus): do not lose previous information when
2119 calling BufferView::getStatus; do not set a default "Command
2120 disabled" message at the beginning, but just before returning.
2122 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2124 * cursor.h (getStatus): add better comment from src/cursor.C
2126 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2128 * text3.C (getStatus): return false when the lfun is not handled
2130 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2132 * broken_headers.h: remove
2134 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2136 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2138 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2139 offset_ref accessors
2141 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2142 top_y_, merge fitcursor with update
2143 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2145 (metrics): introduce
2146 (workAreaDispatch): adapt to new coord scheme
2147 (redoCurrentBuffer): remove
2149 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2151 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2154 * coordcache.[Ch]: add paragraph cache and helpers
2156 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2159 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2160 (targetX, setTargetX): introduce
2162 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2163 baseline -> ascent, as the rest of lyx
2165 * lyxtext.h: remove redoParagraphs, updateParPositions,
2166 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2167 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2168 have ascent/descent (ascent is ascent of first par)
2170 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2173 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2175 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2177 * pariterator.C: fix infinite loop introduced in par->pit renaming
2179 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2180 in insets and LyXText, draw two off-screen paragraphs using
2181 NullPainter, and adapt to new coord scheme
2185 * text3.C: adapt lfun handlers to the new coord scheme, which
2186 means: there's only guaranteed coord information for onscreen pars
2187 plus one above and one below. This implies that one can do search
2188 from y coordinates in the range [-1,workHeight]
2190 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2192 * rename a lot of InsetOld to InsetBase
2194 2004-11-25 Angus Leeming <leeming@lyx.org>
2196 * BufferView_pimpl.C:
2198 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2200 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2202 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2203 call BufferView::getStatus if LCursor::getStatus did nothing
2204 (setStatusMessage, getStatusMessage): removed.
2206 * FuncStatus.C (message): new methods. Used to provide an error
2207 message indicating why a command is disabled.
2208 (clear, |=, FuncStatus): update for message.
2210 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2212 * lyxfunc.C (dispatch): always call sendDispatchMessage
2214 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2217 * BufferView_pimpl.C:
2222 * cursor_slice.[Ch]:
2225 * paragraph_funcs.C:
2231 * undo.C: par->pit renaming
2233 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2235 * tabular.C (cellstruct): use initialization, store a shared_ptr
2236 to insettext instead of the insettext directly, adjust to fit.
2237 (operator=): new function
2238 (swap): new function
2239 (rowstruct): use initialization
2240 (columnstruct): use initialization
2241 (ltType): use initialization
2244 * lyxlength.h (swap): new function
2246 * LColor.[Ch] (operator=): use the common semantics
2248 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2250 * lyxfind.C (findNextChange): update the bufferview after setting
2253 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2255 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2256 number of InsetOptArgs has already been inserted.
2258 * output_latex.C (latexOptArgInsets): new method. This outputs all
2259 the optarg insets, up to the limit defined in the layout file.
2260 (optArgInset): removed
2261 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2263 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2265 * paragraph.C (isLetter): remove special spellchecker-related
2266 code; return true also for digits
2267 (isWord, isKomma): remove
2269 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2270 * lyxfind.C (MatchString()): use isLetter instead of isWord
2272 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2274 * pariterator.h (operatir=): comment out un-implemented member
2277 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2280 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2282 * lyxfont.h: include LColor.h to satisfy concept checks.
2284 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2286 * pariterator.h: add typdefs for value_type, difference_type,
2287 pointer and reference to satisfy concept checks. Also add default
2288 constructor for same reason.
2290 * pariterator.C (operator++): add post-increment operator to
2291 satisfy concept checks.
2293 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2296 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2298 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2299 checks. Also rename base_type to BaseType to follow naming
2302 * FloatList.h: include Floating.h to satisfy concept checks.
2304 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2306 * lyxfunc.C (getStatus): when the origin of the request is menu or
2307 toolbar, and the LyXView does not have focus, do as if there was
2308 no buffer (bug 1720)
2310 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2311 FuncRequest to individual entries of LFUN_SEQUENCE
2313 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2315 * output_latex.C (TeXOnePar): override runparams.moving_arg
2316 according to the needprotect value of the current paragraph (bug
2319 * paragraph.C (simpleTeXOnePar): no need to override
2320 runparams.moving_args here
2322 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2324 * vspace.C: fix off-by-one-error, related to fix #1682
2326 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2328 * lengthcommon.C: a more general fix for bug 1682
2330 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2332 * text.C (backspace): fix crash
2334 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2336 * format.[Ch] (getFormatFromFile): new method
2337 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2339 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2341 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2343 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2345 * lyxfunc.C (dispatch): remove the verbose argument
2346 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2349 * kbmap.C (defkey): set the origin of func to KEYBOARD
2351 * MenuBackend.C (MenuItem):
2352 * ToolbarBackend.C (add): set the origin of func to UI
2354 * funcrequest.[Ch]: add origin member, which indicates which part
2355 of LyX requests an action
2357 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2359 * converter.C (move): don't lie in the error message
2360 * converter.h (isReachable, move): document
2362 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2364 * buffer.C: remove unused using lyx::support::atoi
2365 * paragraph_funcs.C: ditto
2367 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2369 * bufferlist.C (exists): use bind and equal_to instead of
2372 * lyxtextclasslist.C (NumberOfClass): ditto
2374 * cursor.C (insert): use for_each instead of explicit for loop
2376 * bufferlist.C (getFileNames): use std::transform and
2377 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2379 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2382 * buffer.C (changeLanguage): use for_each instead of explicit for
2384 (hasParWithID): implement using getParFromID
2386 * LaTeXFeatures.C: ws change only
2388 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2391 * BufferView_pimpl.C (trackChanges): use for_each instead of
2394 2004-11-04 André Pönitz <poenitz@gmx.net>
2397 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2399 * dociterator.C (asDocIterator): use hard assert again.
2401 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2403 * lyxlength.C (asLatexString): rewrite so that it does not use
2406 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2408 * text3.C (specialChar, dispatch): make sure cursor moves to the
2409 right after inserting an inset
2411 2004-11-02 José Matos <jamatos@lyx.org>
2413 * output_docbook.C (docbook):
2414 * paragraph.C (getID):
2415 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2416 garantee that the output is always legal.
2418 * tabular.C (docbook):
2419 * outputprams.[Ch]: remove mixed contents.
2421 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2423 * text2.C (setCounter): prevent endless loop
2425 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2427 * exporter.C (copyFile): use the mover instead of support::copy()
2428 * exporter.C (Export): pass format and latex name to copyFile()
2429 * exporter.h (addExternalFile): document
2430 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2432 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2434 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2436 2004-10-30 José Matos <jamatos@lyx.org>
2438 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2439 text and no inset or font change. This allows to use CDATA
2440 sections just for the whole paragraph.
2442 2004-10-30 José Matos <jamatos@lyx.org>
2444 * paragraph.C (getFirstWord): remove unused variable.
2446 2004-10-30 José Matos <jamatos@lyx.org>
2448 * paragraph.C (getFirstWord): the content should always be escaped
2450 (simpleDocBookOnePar):
2451 * output_docbook.C (makeEnvironment): replace reference to CDATA
2454 2004-10-30 José Matos <jamatos@lyx.org>
2456 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2458 2004-10-30 José Matos <jamatos@lyx.org>
2460 * output_docbook.C (makeParagraphs):
2461 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2462 standard paragraph has only a given type of content drop the wrapper.
2464 2004-10-29 José Matos <jamatos@lyx.org>
2466 * output_docbook.C (makeEnvironment):
2468 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2470 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2472 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2473 (cleanID): sanitize any id.
2475 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2477 * buffer.C, lyxlex_pimpl.C:
2478 * lyxlex_pimpl.C (setFile):
2479 s/getExtFromContents/getFormatFromContents/
2481 2004-10-28 José Matos <jamatos@lyx.org>
2483 * output_docbook.C (makeEnvironment): move id to broadest possible
2486 * sgml.C (openTag): apply substitution of <> for all attributes.
2488 2004-10-28 José Matos <jamatos@lyx.org>
2490 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2491 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2492 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2494 * sgml.[Ch]: new version for open and closeTag for paragraph and
2495 for strings. Now they handle the ids of paragraphs.
2497 2004-10-26 Angus Leeming <leeming@lyx.org>
2499 * Makefile.am: add mover.[Ch].
2501 * converter.C (convert, move): use the new Movers to move external
2502 files to the temp directory.
2504 * lyx_main.C (init): ensure that the global system_movers data
2507 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2510 * mover.[Ch]: new files, defining a Mover as a utility to move an
2511 external file between directories and, if necessary, manipulate this
2512 file using a helper script.
2514 2004-10-25 José Matos <jamatos@lyx.org>
2516 * output_docbook.C (makeCommand): merge two if's that tested the
2519 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2521 * sgml.C (escapeString): fix warning in a better way
2523 2004-10-25 José Matos <jamatos@lyx.org>
2525 * sgml.C (escapeString): import the require boosts header file for
2526 tie, and avoid a signed unsigned comparison.
2528 2004-10-25 José Matos <jamatos@lyx.org>
2530 * sgml.h: add #include <string>
2532 2004-10-25 José Matos <jamatos@lyx.org>
2534 * sgml.[Ch] (escapeString): new function to escape all the string.
2536 2004-10-24 José Matos <jamatos@lyx.org>
2538 * paragraph.[Ch] (getFirstWord): new function to get the first
2539 word. Useful for description.
2540 (simpleDocBookOnePar): remove depth argument, add another that
2541 says where to start the paragraph.
2543 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2544 use the new functions to fix cleanly the support for descriptions.
2546 2004-10-24 José Matos <jamatos@lyx.org>
2548 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2549 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2550 * output_linuxdoc.C (linuxdocParagraphs):
2551 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2552 add buffer as argument.
2554 2004-10-24 José Matos <jamatos@lyx.org>
2556 * output_docbook.C (makeEnvironment, searchEnvironment): place
2557 CDATA inside paragraphs and fix scope for listitems.
2559 2004-10-24 José Matos <jamatos@lyx.org>
2561 * output_docbook.C: remove using statement for stack.
2563 2004-10-23 José Matos <jamatos@lyx.org>
2565 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2566 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2567 docbook. The new scheme is recursive and makes use of iterators, the
2568 same as latex export works.
2569 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2570 directly with the paragraph contents. This code was moved up to
2571 output_docbook.C (docbookParagraphs).
2572 * sgml.C (openTag, closeTag): removed unneeded newlines.
2573 (closeEnvTags) removed.
2575 2004-10-23 André Pönitz <poenitz@gmx.net>
2577 * undo.C (textUndoOrRedo):
2578 * dociterator.C (asDocIterator): work around crash
2580 * cursor.C (getStatus): replace ASSERT by more verbose error message
2581 and manual correction of the problem. Should increase stability
2582 while providing more sensible information.
2584 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2586 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2588 * bufferlist.C (previous, next): new methods
2591 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2593 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2595 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2596 entities to preamble.
2598 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2600 * messages.C (Pimpl): strip off translation context information
2602 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2604 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2605 the cursor is correct (bug 1694)
2607 2004-10-13 José Matos <jamatos@lyx.org>
2609 * output_docbook.C (docbookParagraphs): fix closing tags in the
2610 end of the document.
2612 2004-10-09 José Matos <jamatos@lyx.org>
2614 * buffer.C: format up to 237.
2615 * bufferparams.C (write): use tostr to convert booleans to strings.
2617 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2619 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2621 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2623 * LaTeX.C: implement use of babel language in xindy.
2625 2004-10-05 José Matos <jamatos@lyx.org>
2627 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2628 Add new translators to help reading and writing the lyx file.
2630 2004-10-05 José Matos <jamatos@lyx.org>
2632 * ParagraphParameters.C (read):
2633 * text.C (readParToken): replace nexToken by more appropriate lex
2636 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2638 * LaTeX.C (runMakeIndex):
2639 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2640 (usually 'makeindex') configurable.
2642 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2643 with a variable rather than with a number.
2645 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2647 * output_latex.C (TeXOnePar): make sure font setting is the first
2648 thing that gets output (and the last at the end). Should fix bug
2651 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2653 * pch.h: use proper signal include
2655 * LaTeX.h: Use preferred calling of Boost.Signal
2658 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2660 * pch.h: dont include <boost/function/function0.hpp>
2662 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2664 * paragraph_pimpl.h: remove usage of ShareContainer
2666 * paragraph_pimpl.C: remove initialization of ShareContainer.
2668 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2672 * BufferView.C (putSelectionAt): change the semantics when
2673 backwards == true: now, this just swaps cursor and anchor wrt the
2676 * BufferView.h (putSelectionAt): add some documentation
2678 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2679 make sure backwardChar is done at least once (to avoid getting
2681 (findNextChange): use putSelectionAt in the forward direction
2682 (operator()): use Paragraph::isWord
2684 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2686 * Spacing.C (set): c_str fix
2688 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2690 * lyx_cb.C (Reconfigure): quote the name of configure script in
2691 case it contains spaces
2693 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2697 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2698 (BOOST_LIBS): use top_buildir when looking for the file
2700 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2702 * pch.h: do not use include boost/format.hpp, multiple symbols
2703 will result (gcc bug)
2706 2004-08-23 José Matos <jamatos@lyx.org>
2708 * bufferparams.C (readToken): fix reading of the author field.
2710 2004-08-20 José Matos <jamatos@lyx.org>
2712 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2714 2004-08-20 José Matos <jamatos@lyx.org>
2716 * lyxlex.[Ch] (findToken): remove function.
2718 * ParagraphParameters.C (findToken):
2719 * bufferparams.C (findToken): replace call for previous function
2720 with local copy. This local function has one more argument, the
2721 read string argument.
2723 2004-08-16 José Matos <jamatos@lyx.org>
2725 * ParagraphParameters.C (write):
2726 * Spacing.C (writeFile):
2727 * bufferparams.C (writeLaTeX):
2728 * lyx_cb.C (Reconfigure):
2729 * paragraph.C (write):
2730 * tabular.C (write): remove unnecessary space at end of line.
2733 2004-08-16 José Matos <jamatos@lyx.org>
2735 * text.C (readParagraph): remove debug message.
2737 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2739 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2742 * output_plaintext.C (asciiParagraph): set depth correctly
2744 * outputparams.h: add member depth
2746 * paragraph_funcs.C (ownerPar): remove.
2748 * text2.C (setCounter): remove first_pit; comment out some
2749 non-working code that uses ownerPar
2751 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2754 2004-08-16 José Matos <jamatos@lyx.org>
2756 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2757 For the same level of importance use the same chanel to report problems.
2758 (read): add code to deal with \begin_body and \end_body.
2761 2004-08-15 José Matos <jamatos@lyx.org>
2763 * lyxlex.C (getString): fix comment, buffer::readBody is now
2764 buffer:readDocument.
2766 * tex-strings.C (string_papersize): Default -> default,
2767 Custom -> custom, for consistency with other options.
2769 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2773 * Makefile.am: support pch
2775 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2777 * text.C (readParToken): remove the static LyXFont variable and
2778 pass it as a parameter instead. This fixes a nasty bug where an
2779 inset will be inserted with a bad font in some situations
2780 (readParagraph): adapt
2782 * text2.C (setCounter): reduce number of calls to pars_[pit]
2784 * text.C (singleWidth): add an assert, fix a test
2786 * rowpainter.C (paintText): reduce number of calls to singleWidth
2788 * paragraph.C (isHfill):
2789 (isNewline): ws only
2791 2004-08-14 André Pönitz <poenitz@gmx.net>
2796 * lyxtext.h (several functions): use a Paragraph & argument
2799 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2801 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2803 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2805 * text.C (singleWidth): remove useless test
2807 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2809 * tabular.h: remove bogus comments
2811 * tabular.C (getDescentOfRow):
2812 (isPartOfMultiColumn): add assertions
2814 * lyxlength.C (inPixels): remove #warning
2816 2004-08-14 André Pönitz <poenitz@gmx.net>
2818 * paragraph.h: inline getChar()
2820 * BufferView.h: remove unused declarations
2822 2004-08-14 José Matos <jamatos@lyx.org>
2824 * Buffer.[Ch] (readDocument): new name for old readBody.
2825 * Buffer.C: new file format, new keywords: \begin_document,
2826 \begin_header, \begin_body, \end_body.
2828 * bufferparams.C (readToken): replace all calls to lex.nextToken
2829 by lex.next(). Do the same to eatLine except where really needed.
2831 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2832 line when writing to the lyx file.
2834 * output_plaintext.C (asciiParagraph): fix Bibliography style
2837 * text.C (read): fix end of file handling.
2839 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2841 * MenuBackend.C (Menu::operator[]): new method to access
2842 individual menu items
2843 (Menu::hasFunc): new method. search for an item that corresponds
2845 (MenuBackend::specialMenu): new method
2846 (MenuBackend::expand): if a special menu has been set, skip
2847 entries whose func() appears in this menu
2849 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2851 * text3.C: use Debug::DEBUG a bit more
2853 * text.C (leftMargin): try to simplify a tiny bit change var x to
2854 l_margin. Dont output the wide margins always.
2855 (rightMargin): no margin in inner texts
2857 * rowpainter.h (nestMargin): new func
2858 (changebarMargin): new func
2859 (rightMargin): new func
2861 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2865 * factory.C (createInset): modify setDrawFrame
2867 * cursor.C: use Debug::DEBUG a bit more
2869 2004-08-14 André Pönitz <poenitz@gmx.net>
2872 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2873 cache for all insets in (at least partially) visible (top-level)
2876 * BufferView_pimpl.C: reset external coord cache before every update.
2877 This means the coord cache only contains valid entries.
2879 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2882 * BufferView_pimpl.C (getInsetByCode): move function out of class
2883 and change in to a template in anon namespace. Also fix to do what
2886 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2889 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2891 (breakParagraph): rename par to par_offset and use a local
2892 reference. Add code to keep the language over a rebreak.
2893 (breakParagraphConservative): rename par to par_offset, use a
2895 (mergeParagraph): ditto
2897 (isFirstInSequence): ditto
2898 (outerFont): rename pit to par_offset
2900 * paragraph.C: ws change
2901 * paragraph.h: ditto
2905 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2907 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2910 * paragraph.C (simpleTeXOnePar): when we have a \item with
2911 optional argument, enclose the argument with curly brackets (in
2912 case it contains a closing square bracket)
2916 * text3.C (checkInsetHit): constify
2918 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2920 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2921 documents (bug 1629)
2923 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2925 Fix toggling of collapsable insets with the mouse (bug 1558)
2927 * lyxfunc.C (dispatch): adapt to LCursor changes
2929 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2930 make sure that dispatch is not invoked twice
2932 * cursor.C (needsUpdate): new method
2933 (dispatch): return void
2934 (result): new method, to access the DispatchResult of the cursor.
2936 2004-08-13 José Matos <jamatos@lyx.org>
2938 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2940 2004-08-13 André Pönitz <poenitz@gmx.net>
2942 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2944 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2947 2004-08-12 André Pönitz <poenitz@gmx.net>
2949 * text3.C: take out the 'cursor right' form insertInset and only
2950 do it in those places when it is really needed. Fixes crash on
2953 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2955 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2957 * BufferView_pimpl.C (setBuffer): initialize the current font of
2958 the underlying LyXText
2960 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2962 * kbsequence.C (print): use UI native formatting for menu
2965 * text.C (insertChar): call Paragraph::insertChar with a font
2968 * paragraph.C (insertInset, insertChar): the version that takes a
2969 LyXFont argument is now a wrapper around the other one (the
2970 opposite used to be true).
2972 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2973 argument. Font setting is done in Paragraph now.
2975 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2977 * outputparams.h: add new members intitle and lang.
2979 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2980 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2982 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2984 * text3.C (dispatch): remove special handling of button 4 and 5,
2985 it is now taken care of in the frontend code.
2987 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2989 * Spacing.h: add <string> (STLPort compile fix)
2991 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2993 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2995 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2997 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3000 * converter.C (showMessage): inherit from unary_function, make
3003 * buffer.C (writeFile): initialize retval
3005 * InsetList.h: rename private variable list to list_
3006 * InsetList.[Ch]: adjust accordingly.
3008 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3010 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3011 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3012 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3013 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3014 * ParagraphParameters.C, LaTeXFeatures.C: replace
3015 "support/std_sstream.h" with <sstream>
3017 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3019 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3020 * lyxsocket.C (LyXServerSocket): ditto
3021 (serverCallback): ditto
3023 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3025 * LaTeXFeatures.C: check release date when loading jurabib.
3027 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3029 * lyxserver.C (startPipe): call register_socket_callback
3030 (endPipe): call unregister_socket_callback
3032 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3034 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3035 (LyXServerSocket): register the callback
3036 (LyXServerSocket): unregister the callback
3037 (fd): delete function
3038 (serverCallback): improve error checking and setup the callbacks.
3039 (dataCallback): change arg to fd.
3040 (writeln): new func (copied fro the client socket) used for server
3042 (LyXDataSocket): simplify
3043 (~LyXDataSocket): close ann unregiser callback
3044 (server): delete function
3045 (fd): delete function
3046 (readln): small changes, improve some std::string usage
3047 (writeln): constify a bit
3049 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3051 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3054 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3056 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3057 after it has been populated
3059 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3061 * text2.C (insertInset): move cursor when inserting inset.
3063 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3065 * kbmap.C (findbindings): a couple of new methods. returns a
3066 container of kb_sequence objects. The real work is done by the
3067 private recursive version
3068 (printbindings): uses findbindings to print out a bracketed list
3069 of bindings (renamed from findbinding).
3071 * MenuBackend.C (binding): use kb_keymap::findbindings
3073 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3075 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3077 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3079 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3081 * paragraph.C (isWord): return true on insets that report
3084 * text.C (getWord): use Paragraph::isWord to decide what is in a
3085 word and what is not; fix bug 1609.
3087 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3089 * tex-strings.C: add "none" to string_paperpackages[], fixes
3090 off-by-one-error in the paperpackage selection.
3093 * tex-strings.[Ch]: char const * string[n]
3094 -> char const * const string[]
3096 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3098 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3099 command, return early.
3101 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3103 * debug.h: add DEBUG to enum and fix size of ANY.
3105 * debug.C: add support for Debug::DEBUG
3106 (showTags): cast errorTags.level to unsigned int
3108 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3109 (redoCurrentBuffer): ditto
3110 (updateScrollbar): ditto
3111 * cursor.C (dispatch): ditto
3112 * text2.C (setLayout): ditto
3114 (updateCounters): ditto
3116 (deleteEmptyParagraphMechanism): ditto
3118 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3120 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3121 annotations to cleanup the Makefile slightly.
3123 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3125 * lyxrc.C: do not set user_email to a default value but use empty
3126 instead. The entry used to be translated, which does not work
3127 since at the point where lyxrc is constructed there is no
3128 translation service available
3130 * messages.C (getLocaleDir): remove and use directly
3131 lyx_localedir() instead
3133 2004-06-02 Angus Leeming <leeming@lyx.org>
3135 Fix crash caused by dereferencing null pointer 'exportdata' in
3136 OutputParams by creating a new ExportData variable on the heap,
3137 storing it in a boost::shared_ptr.
3138 The crash was triggered when generating an Instant Preview
3139 of an external inset.
3141 * Makefile.am: add outputparams.C
3143 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3144 (c-tor): allocate memory to it.
3146 * exporter.C (c-tor): associated changes.
3148 2004-06-01 Angus Leeming <leeming@lyx.org>
3150 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3151 contains data before calling isInset(0). (Bug 1513.)
3153 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3155 * exporter.C (checkOverwrite): new method
3156 * exporter.C (copyFile): new method
3157 * exporter.C (Export): copy referenced files to the document dir
3158 * exporter.[Ch]: new class ExportedFile
3159 * exporter.[Ch]: new class ExportData. Contains currently the
3160 names of referenced external files
3161 * outputparams.h: add exportdata member.
3163 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3165 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3168 2004-05-19 Angus Leeming <leeming@lyx.org>
3173 * lyxfunc.C: small changes due to the introduction of namespace
3174 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3176 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3178 * text3.C (dispatch): supress update when only moving the cursor
3179 * cursor.C (selHandle): remove commented code
3181 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3183 * paragraph.C (startTeXParParams): correct column count
3184 * CutAndPaste.C (pasteSelection): remove const_cast
3185 * output_docbook.C (docbookParagraphs): remove const_cast
3186 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3187 const_cast and return ParagraphList::const_iterator
3188 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3189 * output_plaintext.C (writeFileAscii): remove const_cast
3190 * paragraph.[Ch] (simpleTeXOnePar): make const
3191 * paragraph_funcs.C (outerPar): use const iterators
3192 * paragraph_pimpl.C (validate): use const iterators
3193 * text.C (setHeightOfRow): use const iterators
3195 2004-05-17 Angus Leeming <leeming@lyx.org>
3198 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3200 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3201 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3202 if the citation engine has changed.
3204 2004-05-14 José Matos <jamatos@lyx.org>
3206 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3207 if the textclass does not provide it. Have it different for sgml and
3209 support the language of document.
3210 * output_docbook.C (docbookParagraphs):
3211 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3212 first anchor as the id of the paragraph, remove special case code.
3213 * sgml.C (escapeChar): escape only < & >.
3215 2004-05-14 Angus Leeming <leeming@lyx.org>
3217 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3218 dependencies on src/frontends/controllers/biblio.h. Define a
3219 CiteEngine_enum wrapper class to enable the enum to be forward
3222 2004-05-12 Angus Leeming <leeming@lyx.org>
3224 * buffer.C: up LYX_FORMAT to 234.
3225 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3226 use_numerical_citations with a single biblio::CiteEngine cite_engine
3228 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3230 2004-05-13 José Matos <jamatos@lyx.org>
3233 * converter.C (Converter, readFlags): add xml member.
3234 * outputparams.h: add XML flavor.
3235 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3237 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3239 * lyxfunc.C (dispatch):
3240 (getStatus): fix handling of LFUN_SEQUENCE
3242 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3244 * debug.C (showLevel): do not forget the end-of-line marker
3246 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3248 * kbmap.C (read): do not stop parsing a bind file when an error
3251 2004-04-29 Angus Leeming <leeming@lyx.org>
3256 * text2.C: wrap a bunch of #warning statements
3257 inside #ifdef WITH_WARNINGS blocks.
3259 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3261 * buffer.C: increment format to 233.
3263 2004-04-28 Angus Leeming <leeming@lyx.org>
3265 * BufferView_pimpl.C:
3268 s/updateToolbar()/updateToolbars()/
3269 s/Toolbar.h/Toolbars.h/
3271 2004-04-28 Angus Leeming <leeming@lyx.org>
3273 * BufferView.[Ch] (c-tor):
3274 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3275 No longer passes these data to the WorkArea generator.
3277 2004-04-28 Angus Leeming <leeming@lyx.org>
3279 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3281 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3283 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3285 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3287 * output_latex.C (TeXEnvironment): make sure that there is a line
3288 break before \end{foo} for the last paragraph of a document
3289 (TeXOnePar): if the paragraph is at the end of the document (or
3290 inset) and the language has to be reset, then make sure that the
3291 line break is _before_ the language command, not after (fixes bug
3292 1225); also make sure that the language reset command is the first
3293 thing after the paragraph (to ensure proper nesting of
3294 environments and thus fix bug 1404)
3296 2004-04-21 John Levon <levon@movementarian.org>
3299 * ToolbarBackend.C: make "name" be a programmatic name
3300 and a gui_name field.
3302 * lyxfunc.C: display the minibuffer on M-x
3304 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3306 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3309 2004-04-19 Angus Leeming <leeming@lyx.org>
3311 * BufferView_pimpl.C (setBuffer): changed preview interface.
3313 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3316 2004-04-19 John Levon <levon@movementarian.org>
3318 * BufferView_pimpl.C:
3319 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3321 2004-04-05 Angus Leeming <leeming@lyx.org>
3323 * text.C (redoParagraphs): add call to updateCounters(), thereby
3324 fixing the missing "Figure #:" label from the caption of a
3327 2004-04-13 Angus Leeming <leeming@lyx.org>
3329 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3330 cursor is clicked out of an inset.
3332 2004-04-13 Angus Leeming <leeming@lyx.org>
3334 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3335 than an InsetOld one.
3337 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3339 * format.[Ch]: add editor to Format
3340 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3341 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3343 2004-04-08 André Pönitz <poenitz@gmx.net>
3345 * metricsinfo.h: remove PainterInfo::width member
3347 2004-04-08 Angus Leeming <leeming@lyx.org>
3349 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3350 "\providecommand" rather than "\newcommand", thereby preventing
3351 clashes with packages that define "\boldsymbol" themselves.
3354 2004-04-08 Angus Leeming <leeming@lyx.org>
3356 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3357 thereby squashing an unnecessary warning.
3359 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3361 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3364 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3366 * BufferView.C (setCursor): call redoParagraph (some insets could
3368 (putSelectionAt): remove the 'double update' trick
3370 * BufferView_pimpl.C (fitCursor): call refreshPar
3371 (workAreaDispatch): remove an uneeded update call
3372 (dispatch): remove some manual update calls
3374 * cursor.[Ch]: remove cached_y_, updatePos
3375 (selHandle): set noUpdate when appropriate
3377 * lyxfunc.C (dispatch): track if we need an update
3379 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3381 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3382 (paintSelection): cheap optimization, do not call cursorX when not
3384 (paintPars): change signature
3387 (paintTextInset): adjust
3391 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3393 * lengthcommon.C: compilation fix: remove explicit array size from
3394 unit_name[] and friends
3396 2004-04-05 Angus Leeming <leeming@lyx.org>
3398 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3400 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3401 present only for the preferences dialog.
3402 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3404 2004-04-05 Angus Leeming <leeming@lyx.org>
3406 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3407 to enable the frontends to export changes to lyxrc correctly.
3409 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3411 2004-04-07 André Pönitz <poenitz@gmx.net>
3413 * cursor.[Ch] (selClear, adjust): remove math
3415 * cursor_slice.C: more agressive assert
3418 * BufferView_pimpl.C: rework mouse event dispatch
3425 2004-04-05 André Pönitz <poenitz@gmx.net>
3427 * cursor.[Ch] (valign, halign...): remove unneeded functions
3429 2004-04-05 Angus Leeming <leeming@lyx.org>
3431 * lyxlength.[Ch] (unit_name et al.): const-correct.
3433 2004-04-05 Angus Leeming <leeming@lyx.org>
3435 * BufferView_pimpl.C:
3444 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3446 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3448 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3450 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3452 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3453 * BufferView_pimpl.[Ch] (getStatus)
3454 * BufferView.[Ch] (getStatus): add
3455 * lyxfunc.C (getStatus): move lfuns handled in
3456 BufferView::dispatch to te function above
3457 * Cursor.C (setSelection): set selection() = true
3459 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3461 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3463 2004-03-31 Angus Leeming <leeming@lyx.org>
3465 * lyxfunc.C (dispatch): Fall through to the generic
3466 Dialogs::show("preamble").
3468 2004-03-31 Angus Leeming <leeming@lyx.org>
3470 * lyxfunc.C (dispatch): Fall through to the generic
3471 Dialogs::show("spellchecker").
3473 2004-03-31 Angus Leeming <leeming@lyx.org>
3475 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3478 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3483 * insetiterator.[Ch]:
3488 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3490 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3492 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3493 insets where we are putting the cursor.
3495 2004-03-31 Angus Leeming <leeming@lyx.org>
3498 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3500 * lyxrc.[Ch] (read, write): overloaded member functions taking
3501 a std::[io]stream arguments.
3503 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3505 2004-03-31 Angus Leeming <leeming@lyx.org>
3507 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3508 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3510 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3511 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3513 2004-03-31 Angus Leeming <leeming@lyx.org>
3515 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3516 the LFUN_ALL_INSETS_TOGGLE code.
3518 2004-03-30 Angus Leeming <leeming@lyx.org>
3520 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3521 has died. Fall through to the generic Dialogs::show("document").
3523 2004-03-30 Angus Leeming <leeming@lyx.org>
3526 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3527 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3529 * lyxfunc.C (getStatus, dispatch): define the actions for these
3530 lfuns. Little more than a cut and pste job from ControlDocument.C
3532 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3534 2004-03-30 Angus Leeming <leeming@lyx.org>
3537 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3538 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3540 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3541 open/closed state of ollapsable insets. Usage:
3543 all-inset-toggle <state> <name>, where
3544 <state> == "open" || "closed" || "toggle" and
3545 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3547 * lyxtext.h, text2.C (toggleInset): removed.
3549 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3550 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3551 now passes LFUN_INSET_TOGGLE to the found inset.
3553 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3554 is now invoked as "all-insets-toggle toggle branch".
3556 2004-03-30 Angus Leeming <leeming@lyx.org>
3560 * pariterator.[Ch]: added/corrected header blurb.
3562 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3564 * dociterator.[Ch]: add an inset_ member
3565 (backwardPos): implemented
3566 (backwardPos, forwardPos): use inset_ when the stack is empty.
3567 (doc_iterator_begin, doc_iterator_end): implemented
3568 * pariterator.[Ch]: adjust, add begin, end
3569 * insetiterator.[Ch]: adjust, add begin, end
3573 * BufferView_pimpl.C:
3574 * CutAndPaste.C: adjust
3576 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3578 * buffer.C: increment file format to 232.
3579 * LaTeXFeatures.C: add bibtopic package.
3580 * bufferparams.[Ch]: param \use_bibtopic.
3582 * lyxrc.[Ch]: add lyxrc bibtex_command
3583 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3585 * buffer.C: increment file format to 231.
3587 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3589 * dociterator.C: implement forwardPar
3590 * iterators.[Ch]: remove, replaced by
3591 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3593 * BufferView_pimpl.C:
3596 * bufferview_funcs.C:
3602 * Makefile.am: adjust
3604 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3606 * CutAndPaste.C (pasteSelection): fix 2 crashes
3607 (eraseSelection): fix a crash
3608 * paragraph_funcs.C: remove a warning
3610 2004-03-28 Angus Leeming <leeming@lyx.org>
3613 * LyXAction.C (init): new LFUN_PRINT.
3615 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3617 2004-03-27 Angus Leeming <leeming@lyx.org>
3620 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3622 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3624 2004-03-27 Angus Leeming <leeming@lyx.org>
3626 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3627 insetlist always contains non-null pointers to insets.
3629 2004-03-26 Angus Leeming <leeming@lyx.org>
3631 * src/BufferView_pimpl.C:
3632 * src/CutAndPaste.C:
3635 * src/output_plaintext.C:
3636 * src/outputparams.h:
3637 * src/paragraph_funcs.C:
3641 * src/frontends/controllers/ControlErrorList.C:
3642 * src/frontends/gtk/FileDialogPrivate.C:
3643 * src/frontends/gtk/GPainter.C:
3644 * src/frontends/gtk/GToolbar.C:
3645 * src/frontends/qt2/QRef.C:
3646 * src/mathed/math_scriptinset.C: squash compiler warnings.
3648 2004-03-26 Angus Leeming <leeming@lyx.org>
3650 * ispell.C (LaunchIspell::start):
3651 * lyx_cb.C (AutoSaveBuffer::start):
3652 invoke run(DontWait) rather than runNonBlocking().
3654 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3656 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3658 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3660 * kbsequence.C (print): adjust
3662 * kbmap.C (printKeySym): rename and change signature
3663 (printKey): use LyXKeySym::print()
3665 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3667 * undo.C: add using std::advance to compile for stlport
3669 2004-03-24 Angus Leeming <leeming@lyx.org>
3671 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3672 it leads to a crash when no buffer is present.
3674 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3675 Martin Vermeer <martin.vermeer@hut.fi>
3677 * lyxfunc.C (dispatch):
3678 * bufferparams.C (readToken): use the new LColor::setColor
3680 * LColor.[Ch] (setColor): new version that takes two strings as
3681 argument and creates a new color entry if necessary
3683 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3685 * buffer.C (makeLaTeXFile): if the main latex file that is
3686 processed is usually a subdocument of some master, then pretend
3687 for a while that it is actually the master
3689 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3691 * buffer.C (getLabelList):
3692 (getBibkeyList): use getMasterBuffer()
3693 (getMasterBuffer): new method. Returns the main document in the
3694 case where one is using included documents.
3696 2004-03-25 André Pönitz <poenitz@gmx.net>
3700 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3702 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3704 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3705 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3707 * ParameterStruct.h: merge with ParagraphParameters
3709 * lyxtext.h: remove LyXText::parOffset() and getPar()
3711 * text3.C: Remove all 'manual' update calls. We do now one per user
3712 interaction which is completely sufficient.
3716 * BufferView_pimpl.C:
3717 * FontIterator.[Ch]:
3719 * ParagraphParameters.[Ch]:
3724 * cursor_slice.[Ch]:
3731 * output_docbook.[Ch]:
3732 * output_latex.[Ch]:
3733 * output_linuxdoc.[Ch]:
3734 * output_plaintext.[Ch]:
3736 * paragraph_funcs.[Ch]:
3737 * paragraph_pimpl.[Ch]:
3745 * frontends/controllers/ControlDocument.C:
3746 * frontends/controllers/ControlErrorList.C:
3747 * frontends/controllers/ControlSpellchecker.C:
3750 * insets/insetbase.h:
3751 * insets/insetbibitem.C:
3752 * insets/insetbox.C:
3753 * insets/insetbranch.C:
3754 * insets/insetcaption.C:
3755 * insets/insetcharstyle.C:
3756 * insets/insetcharstyle.h:
3757 * insets/insetcollapsable.C:
3758 * insets/insetcollapsable.h:
3759 * insets/insetert.C:
3760 * insets/insetfloat.C:
3761 * insets/insetfoot.C:
3762 * insets/insetmarginal.C:
3763 * insets/insetnote.C:
3764 * insets/insetoptarg.C:
3765 * insets/insettabular.C:
3766 * insets/insettext.C:
3767 * insets/insettext.h:
3768 * insets/insetwrap.C:
3769 * mathed/math_mboxinset.C:
3770 * mathed/math_nestinset.C:
3771 * mathed/math_scriptinset.C:
3772 * mathed/math_scriptinset.h:
3775 2004-03-24 Angus Leeming <leeming@lyx.org>
3777 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3778 deal with any child processes that have finished but are waiting to
3779 communicate this fact to the rest of LyX.
3781 2004-03-24 Angus Leeming <leeming@lyx.org>
3783 64-bit compile fixes.
3785 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3786 (c-tor): pass lyx::pos_types rather than ints.
3788 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3791 * text.C (Delete): compile fix.
3792 (getPar): ensure that function declaration is the same as that in
3795 2004-03-23 Angus Leeming <leeming@lyx.org>
3797 * ispell.C (LaunchIspell):
3798 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3799 a boost::shred_ptr rather than a std::auto_ptr.
3801 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3803 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3804 handle LFUN_FILE_INSERT_*
3806 * lyxrc.C (setDefaults, getDescription, output, read):
3807 * lyxrc.h: remove ps_command
3809 2004-03-22 Angus Leeming <leeming@lyx.org>
3811 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3812 Ensure that error_handler is processed once only and that all data
3813 is saved before attempting to output any warning messages.
3815 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3817 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3819 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3821 2004-03-19 André Pönitz <poenitz@gmx.net>
3823 * cursor.[Ch] (reset): take main text inset as argument
3825 * BufferView: adjust
3826 * BufferView_pimpl.C: adjust
3828 * paragraph.[Ch]: fix completely broken operator=()
3830 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3832 * LColor.C (getFromLyXName): make sure that the color name is used
3835 2004-03-17 Angus Leeming <leeming@lyx.org>
3838 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3840 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3841 dialog and to kill a forked process.
3843 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3845 * text2.C (setCursorFromCoordinates): fix font problem
3847 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3849 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3850 bogus "rebuild cursor" code
3852 2004-03-11 André Pönitz <poenitz@gmx.net>
3854 * buffer.[Ch]: use InsetText instead of LyXText as container for
3857 * dociterator.[Ch]: drop the BufferView * member which is not needed
3858 anymore after the change to buffer.C
3860 * paragraph_funcs.C:
3864 * BufferView_pimpl.[Ch]:
3866 * cursor_slice.[Ch]: adjust
3868 * text3.C: fix bug in mathDispatch
3870 2004-03-08 André Pönitz <poenitz@gmx.net>
3872 * undo.[Ch]: use 'StableDocumentIterator' as base for
3875 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3878 * bufferparams.[Ch]: add jurabib support and param.
3880 * LaTeX.C: add FIXME/comment.
3882 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3884 * buffer.C: increment file format to 230.
3886 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3888 * cursor.C (dispatch): avoid infinite loops
3890 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3892 * rowpainter.C (paintSelection): fix x coordinates
3894 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3896 * text.C (rowBreakPoint): fix breaking before displayed insets
3898 2004-03-01 André Pönitz <poenitz@gmx.net>
3900 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3902 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3906 * BufferView_pimpl.C:
3914 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3920 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3921 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3923 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3925 * Bidi.[Ch] (computeTables): const correctness
3926 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3927 fill_hfill, fill_label_hfill and x from Row
3928 * lyxtext.h: prepareToPrint returns a RowMetrics
3929 * rowPainter.C: adjust
3930 * text.C (prepareToPrint): use width, not textWidth. adjust
3931 (redoParagraphInternal, cursorX): adjust
3932 * text2.C (getColumnNearX): adjust
3933 (init): put a default value to the top LyXText::width
3935 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3937 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3939 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3941 * lyxtext.h: add FontIterator class
3943 * text.C (FontIterator, operator*, operator->, operator++): add
3944 (rowBreakPoint, setRowWidth): adjust (fixing a
3947 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3949 * BufferView_pimpl.C (workAreaDispatch): allow also
3950 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3952 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3954 * text.C (rowBreakPoint): fix a bug showing with very large insets
3956 2004-02-25 André Pönitz <poenitz@gmx.net>
3959 * cursor.[Ch]: move some mathed specific code to mathed
3961 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3963 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3964 use_tempdir in preferences
3965 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3967 * lyx_main.C: ensure that tempdir is valid
3968 * lyxlex.h: correct typo
3969 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3970 * paragraph.[Ch] (isMultiLingual): make const
3971 * cursor.[Ch] (openable): make const
3973 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3975 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3977 2004-02-20 André Pönitz <poenitz@gmx.net>
3979 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3981 * cursor.[Ch]: prepare for localized getStatus()
3987 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3989 2004-02-20 André Pönitz <poenitz@gmx.net>
3991 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3993 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3995 * text2.C (setCursorFromCoordinates): switch to absolute coords
3997 (cursorDown): adjust
3998 * text3.C (dispatch): adjust
4000 2004-02-16 André Pönitz <poenitz@gmx.net>
4002 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4005 * cursor_slice.[Ch]: remove unneeded acessor function
4007 * lyxtext.h: rename rtl() to isRTL()
4015 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
4017 * rowpainter.C (paintSelection): coord fix
4019 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4021 * Spacing.C: compile fix
4023 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4025 * cursor.C (dispatch): restore current_ before returning
4027 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
4029 * text2.C (cursorUp, cursorDown): fix coords
4032 2004-02-12 André Pönitz <poenitz@gmx.net>
4037 * text3.C: add LCursor & parameter to most cursor movement functions
4038 remove usage of LyXText::cursorRow() and cursorPar()
4040 * cursor.[Ch]: add textRow() needed members
4043 * BufferView_pimpl.C:
4046 * BufferView_pimpl.C: adjust
4048 2004-02-11 André Pönitz <poenitz@gmx.net>
4052 * BufferView_pimpl.C: shift undo/redo handling
4054 * cursor.[Ch]: fix mathed crash
4057 * lyxtext.h: move selectionAsText to LCursor
4065 * rowpainter.C: fix excessive drawing
4067 2004-02-06 André Pönitz <poenitz@gmx.net>
4070 * BufferView_pimpl.[Ch]:
4071 * text3.C: move some text specific LFUN handling
4073 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4075 * text3.C (checkInsetHit): adjust coords
4076 * text2.C (getColumnNearX): adjust coords
4077 (edit): adjust coords
4078 * text.C (getRowNearY): add two asserts
4080 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4083 * format.C: add using std::distance to compile on gcc 2.95/stlport
4085 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4087 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4089 2004-02-04 André Pönitz <poenitz@gmx.net>
4091 * BufferView.[Ch] (insertInset):
4092 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4097 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4099 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4100 on the default clause of the switch
4101 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4102 wasn't catched by LCursor::dispatch
4104 2004-02-03 André Pönitz <poenitz@gmx.net>
4107 * cursor.[Ch]: some additional asserts
4109 * undo.[Ch]: remove LyXText dependency in interface
4113 * lyxtext.h (firstPar, lastPar): remove dead functions
4118 * paragraph.[Ch]: adjust
4120 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4122 * lyxfind.C (find): fix argument order in call to ::find
4124 2004-02-02 André Pönitz <poenitz@gmx.net>
4126 * cursor.[Ch]: remove direct access to anchor
4128 * text.C: remove findText() hack
4130 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4132 * iterators.[Ch] (lockPath): remove in favour of...
4133 * BufferView.[Ch] (setCursor): this addition
4134 * BufferView.C (putSelectionAt): adjust
4135 * undo.C (performUndoOrRedo): adjust
4136 * lyxfunc.C (dispatch): adjust
4138 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4140 * iterators.C (lockPath): add a missing slice
4141 * undo.C (performUndoOrRedo): remove redundant positioning code
4143 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4145 * vc-backend.C (scanMaster): ";" -> ';'
4147 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4149 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4150 std::binary_function
4152 * lyxtextclass.C (compare_name): rename to...
4153 (LayoutNamesEqual): ...this
4155 * lyxlex_pimpl.C (compare_tags): inherit from
4156 std::binary_function, put back into anon namespace
4158 * lyxfind.C (MatchString): inherig from std::binary_function
4159 (findChange): use empty() istead of !size()
4161 * format.C (FormatNamesEqual): new functor
4168 * converter.C (compare_Converter): rename to...
4169 (ConverterEqual): ...this, and fixup a bit.
4170 (getConverter): use it, and make function const
4171 (getNumber): use it, and make function const
4175 * bufferlist.C: add using boost::bind
4177 * MenuBackend.C (MenuNamesEqual): new functor
4178 (hasMenu): use it, and make function const
4179 (hasSubmenu): use nested bind to get rid of compare_memfun.
4181 2004-01-30 André Pönitz <poenitz@gmx.net>
4183 * BufferView_pimpl.C:
4186 * cursor_slice.[Ch]:
4189 * paragraph_funcs.C:
4190 * paragraph_funcs.h:
4194 * text3.C: move some of the edit(x,y) handling to the insets
4195 some coordinate changes.
4197 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * text.C: add using statements for std::advance and std::distance
4201 * paragraph.C: add using statement for std::distance
4203 * lyxfind.C: add using statement for std::advance
4205 * cursor.C (region): remove std:: from swap
4206 (openable): use nucleus in stead of operator->
4208 * BufferView.C: add using statements for std::distance and std::swap
4210 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * iterators.C: Remove the pimple, move the needed structures to
4213 the header file. Create accessor for the positions stack.
4214 (asPosIterator): remove function
4216 * PosIterator.C (PosIterator): move constructors to top of file
4217 (PosIterator): reimplement the constructor taking a ParIterator in
4219 (setFrom): new function
4220 (operator!=): inline it
4222 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4224 * lyxfind.C (replaceAll): use std::advance
4226 * iterators.h: inherit from std::iterator.
4228 * PosIterator.C (advance, distance): remove
4229 * PosIterator.h: interit from std::iterator.
4231 2004-01-26 André Pönitz <poenitz@gmx.net>
4234 * BufferView_pimpl.[Ch]:
4238 * bufferview_funcs.C:
4248 * output_linuxdoc.C:
4249 * output_plaintext.C:
4251 * paragraph_funcs.[Ch]:
4252 * paragraph_pimpl.[Ch]:
4258 * text3.C: more IU: dumps most of the rest of the mathcursor
4259 implementation into cursor.[Ch]; "globalize" a bit of it.
4261 2004-01-25 Angus Leeming <leeming@lyx.org>
4263 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4265 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4267 * LaTeXFeatures.h: add nice_ and nice() const
4268 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4270 2004-01-20 André Pönitz <poenitz@gmx.net>
4273 * BufferView_pimpl.C:
4275 * bufferview_funcs.C:
4277 * cursor_slice.[Ch]:
4288 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4289 LCursor and mathcursor parts to LCursor and InsetBase.
4291 2004-01-15 André Pönitz <poenitz@gmx.net>
4293 * cursor_slice.[Ch]: add a few covienience functions
4295 * funcrequest.[Ch]: remove BufferView * member
4297 * BufferView_pimpl.C:
4304 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4306 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4308 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4309 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4311 2004-01-13 André Pönitz <poenitz@gmx.net>
4314 * lyxtext.h: hide cursor and selection anchor behind accessor function
4317 * BufferView_pimpl.[Ch]:
4319 * bufferview_funcs.C:
4329 * cursor_slice.[Ch]: some integer type changes for inset unification
4331 * lyxcursor.[hC]: remove, it's CursorSlice now.
4334 * BufferView_pimpl.[Ch]:
4335 * bufferview_funcs.C:
4341 * textcursor.[Ch]: adjust
4343 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4345 * text2.C (undoSpan): add and use
4346 * text.C (breakParagraph): use undoSpan (fix bug 578)
4349 2004-01-08 Angus Leeming <leeming@lyx.org>
4351 * BufferView_pimpl.C (MenuInsertLyXFile):
4352 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4353 * lyxfunc.C (menuNew, open, doImport):
4354 FileFilterList change to the FileDialog open and save functions.
4356 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4358 * ShareContainer.h: make isEqual and isUnique adaptable
4360 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4362 2004-01-07 Angus Leeming <leeming@lyx.org>
4365 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4367 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4369 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4370 functions replacing find, replace and replaceAll.
4372 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4373 LFUN_WORDFIND(FORWARD|BACKWARD).
4375 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4377 * text.C (breakParagraph): remove an outdated #warning
4379 2004-01-07 André Pönitz <poenitz@gmx.net>
4381 * lyxfind.C: somewhat clearer logic
4383 * text.C: prevent crash in cursorX on unitialized row cache
4385 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4387 * lyxcursor.[Ch] (operator>): add
4388 * textcursor.C (selStart, selEnd): use std::min and std::max
4390 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4392 * Chktex.C: include boost/format.hpp
4394 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4396 * InsetList.C: replace functor MathcIt with adaptable functor
4398 (insetIterator): modify accordingly
4400 * BranchList.h: move the BranchNamesEqual functor here from...
4401 * BranchList.C: ... to here
4403 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4405 (add): replace a finding loop with std::find_if.
4407 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4409 * output_docbook.C: moving LatexParam functionality into
4412 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4414 * buffer.C: increment format to 229.
4416 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4419 * lyx_sty.[Ch]: remove minipageindent_def
4425 * text3.C: remove LFUN_INSET_MINIPAGE
4427 2003-12-28 Angus Leeming <leeming@lyx.org>
4429 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4431 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4433 * text2.C (setParagraph): fix off-by-one crash
4435 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4437 * output_docbook.C: header stuff for AGU
4439 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4441 * text2.C (redoCursor): remove
4444 * BufferView_pimpl.C: remove calls to redoCursor and
4445 setCursor(cursor.par(), cursor.pos()) all around
4447 2003-12-15 Angus Leeming <leeming@lyx.org>
4449 * buffer.C: up the format to 228.
4451 2003-12-15 André Pönitz <poenitz@gmx.net>
4453 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4458 * BufferView_pimpl.C:
4467 2003-12-15 Angus Leeming <leeming@lyx.org>
4469 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4470 than getFromGUIName to manipulate the color.
4472 2003-12-14 Angus Leeming <leeming@lyx.org>
4474 * BranchList.[Ch]: minimize the API.
4475 (Branch::getBranch, getColor): now return a 'const &'.
4476 (Branch::setSelected) now returns a bool set to true if the
4477 selection status changes.
4478 (BranchList::clear, size, getColor, setColor, setSelected,
4479 allBranches, allSelected, separator): removed.
4480 (BranchList::find): new functions, returning the Branch with
4482 (BranchList::add, remove): return a bool indicating that
4483 the operation was successful.
4485 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4486 new InsetBranch::isBranchSlected member function.
4488 * LColor.[Ch]: mimimize the API.
4489 (fill): renamed as addColor and made private.
4490 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4491 versions of these functions taking a string arg have been removed.
4493 * bufferparams.C (readToken):
4494 * lyxfunc.C (dispatch):
4495 * lyxrc.C (read): changes due to the altered BranchList and
4498 * factory.C (createInset, readInset): changes due to altered
4501 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4504 * lyxfunc.C: remove insetminipage. "minipage-insert"
4505 now produces a frameless minipage box inset.
4507 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4509 * textcursor.[Ch] (selStart,selEnd): add new methods
4510 remove selection::start, end, use LyXCursor::operator<
4511 * lyxcursor.[Ch] (operator<): add
4512 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4513 * BufferView.[Ch] (unsetXSel): add
4514 * text2.C (clearSelection): use unsetXSel,adjust
4517 * rowpainter.C: adjust
4518 * bufferview_funcs.C (put_selection_at): adjust
4520 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4522 * BufferView_pimpl.C: small coord. correction
4524 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4526 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4527 dragging over the splash screen.
4529 2003-12-11 Angus Leeming <leeming@lyx.org>
4531 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4532 as it is now handled in LyXText::dispatch.
4534 * text3.C (doInsertInset): remove a level of nesting.
4536 2003-12-11 Angus Leeming <leeming@lyx.org>
4538 * factory.C (createInset): changes due to the changed interface to
4539 InsetCommandMailer::string2params.
4541 2003-12-10 Angus Leeming <leeming@lyx.org>
4543 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4544 'dialog-show-new-inset <inset name>'
4546 2003-12-10 Angus Leeming <leeming@lyx.org>
4548 * buffer.C: up the format to 227.
4550 * factory.C: the box inset is now identified simply by 'Box'.
4552 2003-12-10 Angus Leeming <leeming@lyx.org>
4554 * buffer.C: up the format to 226.
4556 * factory.C: the note inset is now identified simply by 'Note'.
4558 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4560 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4561 when a pit is enough. Standarize a couple of loops.
4563 2003-12-05 Angus Leeming <leeming@lyx.org>
4565 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4566 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4567 data to the re-worked "log" dialog.
4569 2003-12-03 André Pönitz <poenitz@gmx.net>
4575 * paragraph_funcs.C:
4577 * text2.C: use Inset::getText instead of Inset::getParagraph
4579 2003-12-03 André Pönitz <poenitz@gmx.net>
4583 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4584 InsetText::read() as LyXText::read()
4586 2003-12-02 Angus Leeming <leeming@lyx.org>
4588 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4589 type. Add a comment in the implementation that the function uses
4590 the stream's bad() function rather than fail() as the std::streams
4593 2003-12-02 André Pönitz <poenitz@gmx.net>
4595 * lyxlex.[Ch]: make interface more similar to std::stream
4597 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4599 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4601 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4603 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4605 * vspace.[Ch]: remove VSpace::NONE
4607 2003-12-01 André Pönitz <poenitz@gmx.net>
4610 * lyxtext.h: move ParagraphList member to LyXText
4611 rename LyXText::ownerParagraphs to LyXText::paragraph
4614 * bufferview_funcs.C:
4624 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4626 * undo.C: fix cursor positioning
4628 2003-12-01 John Levon <levon@movementarian.org>
4630 * BufferView_pimpl.C: fix a crash on exit with
4633 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4635 * BranchList.C: fix setSelected() method.
4637 2003-11-28 André Pönitz <poenitz@gmx.net>
4639 * ParagraphParameters.[Ch]:
4640 * ParameterStruct.h: remove space above/below from Paragraph to
4643 * BufferView_pimpl.C:
4649 * paragraph_funcs.C:
4655 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4657 * factory.C: Syntax change for CharStyles
4659 2003-11-28 André Pönitz <poenitz@gmx.net>
4664 * buffer.[Ch]: move LyXText member
4666 2003-11-28 André Pönitz <poenitz@gmx.net>
4668 * BufferView.[Ch]: make LyXText * text a private member
4670 * BufferView_pimpl.C:
4681 * output_plaintext.C: cleanup
4683 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4686 * lyxtextclass.[Ch]: parametrize SGML document header
4688 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4691 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4694 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4696 * text2.C (setFont): rework using PosIterator (no more recursive)
4697 (setCharFont): no more needed
4698 (setLayout): no more selection cursors fiddling (done by redoCursor)
4699 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4700 destroy remaining ones)
4702 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4704 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4706 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4709 * text3.C: adjust + re-allow multi par depth changes
4710 * textcursor.C: simplify a bit
4712 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4718 * src/output_docbook.C:
4719 * src/output_latex.C:
4724 * src/text2.C: Introducing a number of tags parametrizing various
4725 XML formats that we may want to support
4727 2003-11-25 André Pönitz <poenitz@gmx.net>
4729 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4731 * lyxtext.h (leftMargin/rightMargin): simplify interface
4738 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4740 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4741 master file to any child files. Fixes bug 546.
4743 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4745 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4747 2003-11-24 André Pönitz <poenitz@gmx.net>
4749 * rowpainter.C: simplification
4751 * text2.C (updateCounters): remove call to redoParagraph on
4752 changed labels as this is far too expensive.
4754 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4756 * converter.C (convert): fix a crash: this function gets
4757 called with buffer == 0 from importer code.
4759 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4761 * text3.C (cursorPrevious): make sure that we do not compare
4762 iterators form different containers.
4765 * rowpainter.C (paintSelection): make sure that we do not compare
4766 iterators from different containers.
4768 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4769 iterators from different ParagraphList containers.
4772 * text2.C (LyXText): change order of initialization slightly
4773 (operator=): new function. copy all variables except cache_par_
4774 (moveUp): make sure that we do not compare iterators from
4775 different ParagraphList constainers.
4778 * text.C (firstPar): new function
4779 (lastPar): new function
4780 (endPar): new function
4782 * lyxtext.h: move things around and group public functions, public
4783 variables, private functions, private variables
4785 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4787 * factory.C: change call to InsetERT constructor to avoid
4788 additional invocation of method status
4789 * text2.C (toggleInset): remove redundant update() call
4790 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4791 instead of a Bufferview pointer
4793 2003-11-21 André Pönitz <poenitz@gmx.net>
4795 * rowpainter.C: simplification
4797 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4799 * text3.C (dispatch): make possible to extend a word/row selection
4802 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4804 * lyxtext.h: x0_,y0_ -> xo_,yo_
4805 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4806 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4807 * rowpainter.C (paintRows): paint full paragraphs
4809 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4811 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4814 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4816 * lyxtext.h: add x0_, y0_
4817 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4818 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4820 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4822 * text2.C (setCursorIntern): move the x_target update here *
4823 * text3.C: change some bv() to true/false in calls to
4824 cursorUp/Down/Right/Left
4825 * cursor.C: use helper function.
4827 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4829 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4830 * paragraph_funcs.[Ch]: correct comment
4831 * rowpainter.C: do not paint selections away from bv->cursor()
4832 Fix a long standing selection painting bug.
4833 * text3.C: generalize mouse-selection code to LyXTexts other that
4835 * textcursor.C: do not use y coords if we can use par offsets
4837 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4839 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4840 cursor position after e.g. inset insert)
4842 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4844 * lyxfind.C (replace): adjust to locking removal + some
4847 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4849 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4852 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4855 * output_docbook.C: XML sanitation: new layout
4856 parameters InnerTag and CommandDepth
4858 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4860 * BufferView_pimpl.C:
4862 * text3.C: Fix the insertion and modification of button-style
4865 2003-11-13 André Pönitz <poenitz@gmx.net>
4867 * InsetList.[Ch]: remove deleteLyXText
4869 * paragraph.[Ch]: cache beginOfBody position
4874 * text3.C: remove superfluous update() calls
4878 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4880 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4881 * BufferView.C (fitLockedInsetCursor): remove
4882 * cursor.[Ch] (getDim): add
4883 * text.C (getRowNearY): add faster version
4884 * text3.C: remove some update calls
4886 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4898 * text3.C: The Character Style /XML short element patch.
4900 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4903 * factory.C: Small step to solving 'unable to insert some insets'
4906 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4908 * cursor.[Ch] (updatePos): new function for updating the y
4909 position of the tip inset
4910 * bufferview_funcs.C (put_selection_at):
4911 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4913 2003-11-11 André Pönitz <poenitz@gmx.net>
4915 * text.C: remove big comment on invalid Paragraph pointers as it is
4918 2003-11-11 André Pönitz <poenitz@gmx.net>
4920 * text_funcs.[Ch]: merge with ...
4928 * Makefile.am: remove text_funcs.[Ch]
4930 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4932 * cursor.C (getPos): return absolute cached y coord
4934 * BufferView_pimpl.C (fitCursor): new simplistic code
4935 (workAreaDispatch): add a fitCursor call
4937 2003-11-10 André Pönitz <poenitz@gmx.net>
4940 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4942 2003-11-10 André Pönitz <poenitz@gmx.net>
4944 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4945 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4946 indicate that the cursor needs to leave an inset
4948 * lyxtext.h: remove inset locking
4950 * cursor.[Ch]: re-implement functionality provided by inset locking
4953 * BufferView_pimpl.[Ch]:
4955 * bufferview_funcs.[Ch]:
4967 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4969 * PosIterator.[Ch]: replace the stack with a vector, add inset
4971 * iterators.[C]: adjust
4973 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4975 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4977 * paragraph_funcs.C (readParToken): put the correct id in the
4978 error item, not the id of the top paragraph
4980 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4982 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4983 * bufferview_funcs.C (put_selection_at): use the above
4985 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4987 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4989 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4991 * output_linuxdoc.h:
4992 * output_plaintext.h:
4994 * output_docbook.h: add #include statements
4996 2003-11-05 José Matos <jamatos@lyx.org>
4998 * output_docbook.[Ch]:
4999 * output_latex.[Ch]:
5000 * output_linuxdoc.[Ch]:
5001 * output_plaintext.[Ch]: New files for output formats.
5002 * output.[Ch]: New file for helper functions.
5005 * paragraph_funcs.[Ch]: output functions moved to new files.
5007 * outputparams.h: rename of latexrunparams.h
5015 * paragraph_funcs.[Ch]:
5016 * paragraph_pimpl.[Ch]:
5017 * tabular.[Ch]: rename ascii to plaintext
5018 and LatexRunParams to OutputParams.
5020 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5022 * iterators.[Ch] (text): require bv argument
5023 * undo.C (recordUndo):
5024 * lyxfunc.C (dispatch):
5025 * bufferview_funcs.C (put_selection_at): adjust
5027 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
5029 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5031 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5033 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5036 2003-11-04 André Pönitz <poenitz@gmx.net>
5038 * cursor.[Ch]: restructure
5041 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5043 * iterators.[Ch] (asCursor): remove
5045 * lfuns.h: remove LFUN_INSET_EDIT
5051 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5053 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5055 * lyxfind.[Ch]: complete overhaul
5056 * BufferView_pimpl.C:
5058 * paragraph.[Ch] (insert): add
5060 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5064 * text.C: remove dead spellcheck code
5066 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5068 * dispatchresult.h: add a val setter
5070 * cursor.C (dispatch): use a tempvar for data_[i]
5072 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5074 * PosIterator.[Ch]: compile fix
5076 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5078 * text.C (cursorPar): deactivate the cursor cache
5080 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5082 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5084 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5086 * text3.C (dispatch): adjust for new DisptchResult semantics.
5088 * lyxfunc.C (dispatch): handle update when return from
5089 Cursor::dispatch, adjust for new DispatchResult semantics.
5091 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5092 DispatchResult(true) mean to not update. Add class functions for
5093 setting dispatched and update, as well as reading.
5095 * cursor.C (dispatch): don't handle update here
5097 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5099 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5100 * trans_mgr.C: adjust
5102 * paragraph_funcs.C (readParToken): exception safety
5104 * lyxvc.h: store the vcs pointer in a scoped_ptr
5107 * lyxsocket.C (serverCallback): exception safety
5109 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5111 * ispell.C (clone): make it return a auto_ptr
5113 * factory.C (createInset): exception safety
5114 (readInset): exception safety
5116 * bufferlist.C (newBuffer): exception safety
5118 * Thesaurus.C (Thesaurus): use initialization for aik_
5120 * MenuBackend.C (expandToc): exception safety.
5122 2003-11-03 André Pönitz <poenitz@gmx.net>
5126 * bufferview_funcs.C: remove getInsetFromId()
5129 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5135 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5137 * PosIterator.C (distance, advance): new
5138 * bufferview_funcs.[Ch] (put_selection_at): new
5139 * iterators.[Ch] (lockPath): new
5141 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5143 * iterators.[Ch] (asPosIterator): added
5144 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5145 * PosIterator.[Ch]: added
5147 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5151 * cursor.C (dispatch):
5152 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5154 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5155 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5156 contructor, add a class function dispatched. Remove operator>=
5158 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5160 * debug.C: only use the default constructor for debugstream
5163 * main.C (main): include debug.h and setup the lyxerr streambuf
5166 2003-10-31 José Matos <jamatos@lyx.org>
5168 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5170 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5171 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5172 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5173 * paragraph_pimpl.C (simpleTeXSpecialC):
5174 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5175 add LatexRunParams argument.
5177 * exporter.C (Export): change call accordingly.
5179 * latexrunparams.h: add new member to take care of the other backends.
5180 2003-10-30 José Matos <jamatos@lyx.org>
5182 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5183 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5184 factorise code for paragraph output.
5186 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5189 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5191 * text3.C (dispatch):
5192 * lyxfunc.C (dispatch):
5193 * cursor.C (dispatch):
5194 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5196 * dispatchresult.h: make the dispatch_result_t ctor explicit
5198 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5201 * buffer.C: small refactoring of docbook stuff
5203 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5205 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5208 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5210 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5211 operator dispatch_result_t, and operators for == != and >=
5213 * cursor.C (dispatch): adjust for operator dispatch_result_t
5214 removal. comment out call to update
5216 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5218 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5226 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5229 * dispatchresult.h: new file, DispatchResult broken out of
5232 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5234 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5236 * text.C (rowBreakPoint): put a hack inside #if 0
5238 2003-10-28 André Pönitz <poenitz@gmx.net>
5242 * paragraph_funcs.C:
5245 * text2.C: general cleanup (lots of small stuff)
5247 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5249 * text2.C (cursorEnd): simple fix to the "end key goes to one
5250 before the end on last row" bug
5252 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5254 * text.C (backspace): fix the "zombie characters"
5256 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5258 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5260 2003-10-27 André Pönitz <poenitz@gmx.net>
5262 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5264 * factory.C: handle new InsetPagebreak, InsetLine
5266 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5267 and move handling into new InsetPagebreak, InsetLine
5269 * BufferView_pimpl.C:
5271 * ParagraphParameters.C:
5272 * ParameterStruct.h:
5277 * paragraph_funcs.C:
5278 * paragraph_pimpl.C:
5284 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5287 * lyxrow_funcs.[Ch]:
5293 * text3.C: remove lastPos uses in favour of Row::endpos
5295 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5297 * undo.C (performUndoOrRedo): fix two crashes by setting a
5298 cursor by hand and reordering some calls. Use bv->lockInset instead
5299 of inset->edit because the latter loses cursor information
5301 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5303 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5305 (rowBreakPoint): fix width. change point to point + 1.
5306 Add a missing check.
5308 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5311 * lyxfunc.C: fix (at least partly) the problems
5312 with the Nav menu and headers inside branch insets
5315 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5317 * paragraph.C (getChar): add strong asserts
5319 * lyxrow_funcs.C (lastPos): remove hideous hack
5321 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5322 (fill): adjust to that (avoid an infinite loop)
5324 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5326 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5328 2003-10-23 André Pönitz <poenitz@gmx.net>
5330 * RowList_fwd.h: change list<> to vector<> to gain speed
5331 after suggestion from Alfredo
5333 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5335 * lyxtext.h: move the bidi stuff from here...
5338 * Bidi.[Ch]: ... to here
5340 2003-10-23 André Pönitz <poenitz@gmx.net>
5343 * text.C (isLastRow, isFirstRow): new functions
5345 * paragraph.h: new width cache member
5347 * rowpainter.C: replace RowList::iterator with Row & where possible
5349 * lyxfunc.C: replace several view()->text with a single call
5351 * toc.C: fix 'unused' warning
5353 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5355 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5356 when woring with stream::pos_type
5357 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5359 2003-10-22 André Pönitz <poenitz@gmx.net>
5362 * text.C: use Row & instead of RowList::iterator
5364 * lyxrow.h: rename end() to endpos()
5370 2003-10-22 Angus Leeming <leeming@lyx.org>
5372 * buffer.[Ch] (fully_loaded): new member function, returning true
5373 only when the file has been loaded fully.
5374 Used to prevent the premature generation of previews and by the
5375 citation inset to prevent computation of the natbib-style label.
5377 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5378 templates are all set up.
5380 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5382 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5384 * text.C: fixed an "oops" in the "is a bit silly"
5387 2003-10-21 André Pönitz <poenitz@gmx.net>
5389 * FuncStatus.[Ch]: small stuff, whitespace
5391 * lyxfont.[Ch]: operator<<() for debug reasons
5395 * lyxtext.h: whitespace, spelling
5397 * paragraph.C: naming of variables
5400 * text2.C: small stuff
5403 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5405 * text.C: (1) finish off the inset display() work;
5406 (2) fix the "is a bit silly" bug (accessing char
5409 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5411 * text.C: re-introduce display() for insets, fixing the
5412 various bugs (stretch of line above, math inset
5415 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5417 * text.C (rightMargin): remove spurious semicolon
5419 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5422 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5424 * text3.C: fix one crash due to wrong cursor def
5426 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5428 * vc-backend.C (scanMaster): make the regex static
5430 * LaTeX.C (scanAuxFile): make the regexs static
5432 * text3.C (doInsertInset, dispatch, dispatch):
5433 * text2.C (cursorUp, cursorDown):
5434 * text.C (selectNextWordToSpellcheck):
5435 * BufferView_pimpl.C (dispatch):
5436 * lyxfunc.C (dispatch): localDispatch -> dispatch
5438 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5440 * lyxsocket.C: include <cerrno>
5442 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5444 * lyxfunc.C (dispatch): remove textcache stuff
5446 * bufferlist.C (release): remove textcache stuff
5449 * TextCache.C: delete file
5450 * TextCache.h: delete file
5452 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5454 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5455 delete of the bv_->text.
5456 (resizeCurrentBuffer): remove texcache stuff
5457 (workAreaResize): ditto
5459 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5461 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5464 2003-10-16 André Pönitz <poenitz@gmx.net>
5471 * text3.C: speed up by storing y positions per paragraph plus per-row
5472 offset instead of having a 'full' y position in the row.
5474 2003-10-15 André Pönitz <poenitz@gmx.net>
5478 * undo.[Ch]: make undo aware of inner insets
5480 2003-10-14 Angus Leeming <leeming@lyx.org>
5482 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5483 static member functions LyX::ref() and LyX::cref.
5484 (lastfiles): new accessor functions for the new lastfiles_ member var.
5485 (addLyXView, views_): add a new LyXView to the list of views_.
5486 (updateInset): loop over all LyXViews to call their own updateInset
5487 member function, returning a pointer to the Buffer owning the inset.
5489 * BufferView_pimpl.C (loadLyXFile):
5490 * MenuBackend.C (expandLastfiles):
5491 * bufferlist.C (MenuWrite, QuitLyX):
5492 lastfiles is no longer a global variable.
5493 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5495 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5496 static function. Access through LyX::cref().emergencyCleanup().
5498 2003-10-14 André Pönitz <poenitz@gmx.net>
5500 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5502 * undo.[Ch]: restoring part of 'undo in insets'
5505 * undo_funcs.[Ch]: merge with undo.[Ch]
5507 * tabular.C: small cleansing stuff
5509 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5511 * paragraph_funcs.C (readParToken): report unknown insets as error
5512 boxes. Use the outer paragraph as location (also for unknown
5515 * factory.C (readInset): do not abort on reading an unknown inset.
5516 Eat it and return 0.
5518 2003-10-13 Angus Leeming <leeming@lyx.org>
5520 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5522 * lyxrc.C: displayTranslator is now a function,
5523 declared in GraphicsTypes.h.
5525 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5527 * format.C: new placeholder $$a to pass the socket address.
5529 * bufferlist.[Ch]: new function getBufferFromTmp.
5531 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5532 files in the temporary dir.
5534 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5536 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5538 * Makefile.am: add lyxsocket.[Ch].
5540 * lyx_main.C (error_handler): handle SIGPIPE.
5542 2003-10-13 André Pönitz <poenitz@gmx.net>
5544 * BufferView_pimpl.C:
5549 * undo_funcs.[Ch]: use paroffset_type instead of
5550 ParagraphList::iterators to prevent multiple conversion
5551 (and get a more robust interface)
5553 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5555 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5557 * text3.C (dispatch): ditto
5559 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5561 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5562 move the onlyfile, use onlyfile instead of foundfile in a couple
5565 * DepTable.C (update): flush the error stream a bit more
5567 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5569 * lyxserver.C (callback): adjust
5571 * lyxfunc.C (getStatus): add a missing brace in commented code
5572 (ensureBufferClean): reindent
5573 (dispatch): delete version taking a string
5575 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * LaTeX.C (deplog): move found file handlig from here...
5578 (handleFoundFile): .. to new function here.
5579 (deplog): make sure to discover several files mentioned on the
5582 2003-10-10 André Pönitz <poenitz@gmx.net>
5589 * text3.C: fix some of the tabular crashes
5591 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5593 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5595 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5597 2003-10-09 André Pönitz <poenitz@gmx.net>
5599 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5602 * BufferView_pimpl.C:
5603 * bufferview_funcs.C:
5614 * undo_funcs.C: adjust
5616 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5618 * text2.C (incrementItemDepth): new function, use a backtracking
5619 algorithm to discover the correct item depth.
5620 (resetEnumCounterIfNeeded): new function, use a backtracking
5621 algorithm to discover if counter reset is needed.
5622 (setCounter): use them. Simplify a bit. Add different labels for
5623 different item depths for itemize.
5625 * paragraph.C (Paragraph): remove initialization of enumdepth
5628 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5629 enumerate and itemize. Change the type of itemdepth to signed char.
5631 2003-10-08 André Pönitz <poenitz@gmx.net>
5633 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5638 * tabular.[Ch]: fix crash after 'row-insert'
5640 2003-10-08 Angus Leeming <leeming@lyx.org>
5642 Fix doxygen warnings.
5644 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5645 Remove CutAndPaste:: prefix from header file declaration.
5647 * LColor.h (fill): remove LColor:: prefix from declaration.
5649 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5650 use lyx::depth_type rather than Paragraph::depth_type so that
5651 header file and .C file match.
5653 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5655 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5656 * aspell.C: \file aspell_local.C -> \file aspell.C
5657 * gettext.C: \file gettext.C -> \file src/gettext.C
5658 * gettext.h: \file gettext.h -> \file src/gettext.h
5659 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5660 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5661 * text.C: \file text.C -> \file src/text.C
5663 * toc.C: move comment so that doxygen is not confused.
5665 2003-10-07 Angus Leeming <leeming@lyx.org>
5667 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5669 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5672 * aspell_local.h: add forgotten std::string's.
5674 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5681 * text3.C: The Box patch. Fancybox support, minipage, parbox
5683 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5689 * ParagraphParameters.h:
5699 * lyxtextclasslist.h:
5702 * paragraph_pimpl.C:
5703 * textcursor.h: add <string> and other small fixes to make Lars'
5704 std::string patch compile with STLport.
5706 2003-10-06 Angus Leeming <leeming@lyx.org>
5708 * LColor.h: Add missing #include <string>.
5710 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5712 * All most all file in all subdirs: Make <string> be the prefered
5713 way of getting to std::string, add using declarations.
5715 2003-10-06 André Pönitz <poenitz@gmx.net>
5717 * metricsinfo.C: initialize LyXFont before changing attribute.
5718 (fixes the 'math in \emph is upright' bug)
5720 2003-10-06 André Pönitz <poenitz@gmx.net>
5722 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5724 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5727 * paragraph_pimpl.C: Small fixes to build using STLport
5729 2003-10-02 André Pönitz <poenitz@gmx.net>
5732 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5734 2003-10-01 André Pönitz <poenitz@gmx.net>
5736 * factory.C: assert early
5738 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5740 * lyx_main.C: remove the global debug object
5742 * debug.h: adjust for new debugstream
5744 * debug.C: adjust for new debugstream and keep the global debug
5747 2003-09-22 Angus Leeming <leeming@lyx.org>
5749 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5750 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5751 an incomplete class LyXFont.
5753 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5755 * factory.C: bug fix in branches
5757 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5759 * lyxfunc.C (processKeySym): adjust
5761 (dispatch): change arg name from ev to func, adjust
5762 (sendDispatchMessage): ditto
5764 * lyx_main.C (defaultKeyBindings): adjust keybindings
5765 (deadKeyBindings): ditto
5767 * kbsequence.C (addkey): return a FuncRequest
5769 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5771 * kbmap.C (bind): take a FuncRequest as arg, adjust
5774 (defkey): change to take a FuncRequest as arg, adjust
5775 (findbinding): take a FuncRequest as arg, adjust.
5777 * funcrequest.h (operator=): added
5779 * funcrequest.C (FuncRequest): default kb_action changed from
5780 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5782 * buffer.C (dispatch): simplify
5783 (dispatch): adjust to take a FuncRequest as arg, adjust
5785 * boost.C (assertion_failed): change assertion message slightly
5787 * ToolbarBackend.C (read): simplify
5789 * MenuBackend.C (binding): adjust call to findbinding, add a
5790 message if no binding is found.
5792 (expandToc): correct by adding a empty FuncRequest
5794 * LyXAction.C: include <boost/assert.hpp>
5795 (isPseudoAction): delete function
5796 (LookupFunc): change name to...
5797 (lookupFunc): this. change return type to FuncRequest.
5798 (getActionName): take kb_action as arg, simplify
5799 (funcHasFlag): add an assert, simplify.
5801 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5803 * toc.C (action): return a FuncRequest, simplify
5805 * lyxfunc.C (processKeySym): adjust
5806 (getStatus): delete version that takes an int.
5808 (dispatch): delete version that takes action as int
5810 (sendDispatchMessage): simplify and adjust
5812 * funcrequest.C (getArg): take unsigned int as arg
5814 * ToolbarBackend.C (read): adjust
5815 (add): delete version that takes func as a string.
5816 (getIton): take a FuncRequest as arg
5818 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5821 * MenuBackend.C (MenuItem): add a new construct that only takes a
5822 Kind, simplify the constructor use for submenus.
5824 (expandLastfiles): adjust
5825 (expandDocuments): adjust
5826 (expandFormats): adjust
5827 (expandFloatListInsert): adjust
5828 (expandFloatInsert): adjust
5829 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5831 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5832 Remove class variables lyx_pseudo_map and lyx_arg_map
5834 * LyXAction.C (searchActionArg): delete function
5835 (getPseudoAction): delete function
5836 (retrieveActionArg): delete function
5837 (LookupFunc): make it return kb_action, simplify.
5838 (getActionName): simplify
5840 * factory.C (createInset): fix new bug
5842 2003-09-19 Angus Leeming <leeming@lyx.org>
5844 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5845 masterFilename_ parameter in the include inset.
5847 * factory.C (createInset): changes due to the changes to InsetInclude.
5849 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5851 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5853 2003-09-18 Angus Leeming <leeming@lyx.org>
5856 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5857 Inset::fillWithBibKeys.
5858 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5860 2003-09-18 Angus Leeming <leeming@lyx.org>
5862 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5864 (ctor): pass and store a 'Buffer const &'
5865 (buffer): new member function.
5867 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5868 '*this' to the LaTeXFeatures ctor.
5870 2003-09-18 Angus Leeming <leeming@lyx.org>
5876 * text.C: rename EnumLColor as LColor_color.
5878 2003-09-18 Angus Leeming <leeming@lyx.org>
5880 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5881 remove #include "insets/insetbase.h" from cursor.h.
5883 2003-09-18 Angus Leeming <leeming@lyx.org>
5885 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5886 InsetOld_code to remove #include "inset.h".
5888 * iterators.C: add #include "insets/inset.h"
5890 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5892 * BufferView.C: remove more locking stuff that apparently doesn't
5893 do anything sensible.
5895 2003-09-16 André Pönitz <poenitz@gmx.net>
5898 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5901 2003-09-16 Angus Leeming <leeming@lyx.org>
5903 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5905 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5908 * paragraph.h: remove #include "lyxfont.h". Forward declare
5911 2003-09-16 Angus Leeming <leeming@lyx.org>
5913 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5914 of support/textutils.h.
5915 (isWord): move the contents of support/textutils.h's IsWordChar here.
5921 * text2.C: add #include "paragraph.h".
5924 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5926 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5932 * LaTeX.C: use namespace alias for lyx::support::os
5934 2003-09-16 Angus Leeming <leeming@lyx.org>
5937 * bufferview_funcs.C:
5940 * paragraph_pimpl.C:
5942 * text.C: add #include "LColor.h".
5944 2003-09-16 Angus Leeming <leeming@lyx.org>
5946 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5947 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5949 Store the FontBits::color variable as an int rather than as an
5950 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5953 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5954 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5955 string calls together.
5957 * lyxrc.C: add #include "LColor.h".
5959 2003-09-15 Angus Leeming <leeming@lyx.org>
5961 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5964 2003-09-15 Angus Leeming <leeming@lyx.org>
5966 * LColor.h: add an EnumLColor wrapper for LColor::color.
5968 * lyxfont.[Ch] (color, setColor, realColor):
5969 * lyxtext.h, text.C (backgroundColor):
5970 pass EnumLColor args to/from the functions, rather than LColor::color
5974 * lyxtext.h: forward declare EnumLColor.
5976 * lyx_main.C: add #include "LColor.h".
5978 2003-09-15 Angus Leeming <leeming@lyx.org>
5980 * .cvsignore: add lyx-gtk.
5982 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5987 * ParagraphParameters.C
5991 * bufferview_funcs.C
6001 * vc-backend.C: remove usage of STRCONV
6003 2003-09-15 Angus Leeming <leeming@lyx.org>
6005 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6006 explicitly define the color passed to the painter.
6008 2003-09-15 Angus Leeming <leeming@lyx.org>
6010 * bufferparams.C (BufferParams): reorder member initializers to avoid
6013 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
6015 * CutAndPaste.C (pasteSelection): remove an outdated #warning
6016 * text.C (updateRowPositions): remove an unusual nop
6018 2003-09-12 André Pönitz <poenitz@gmx.net>
6020 * BufferView_pimpl.C:
6029 * Counters.[Ch]: finish the 'automatic counters' job
6031 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6033 * aspell.C: include <boost/assert.cpp> (compile fix)
6035 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6037 * boost.C (assertion_failed): use lyx::support::abort instead of
6040 2003-09-10 Angus Leeming <leeming@lyx.org>
6042 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6043 with their _fwd progeny.
6045 2003-09-09 Angus Leeming <leeming@lyx.org>
6047 134 files throughtout the source tree: replace 'using namespace abc;'
6048 directives with the appropriate 'using abc::xyz;' declarations.
6050 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6052 * boost.C (emergencyCleanup): moved here from LAssert.c
6053 (assertion_failed): new function, called by BOOST_ASSERT
6055 * several files: change Assert to BOOST_ASSERT
6057 2003-09-09 Angus Leeming <leeming@lyx.org>
6059 * buffer.[Ch]: Add an Impl class and move Buffer's member
6060 variables into it. As a result move several header files out of
6063 Add header files to lots of .C files all over the tree as a result.
6065 2003-09-09 Angus Leeming <leeming@lyx.org>
6067 * buffer.[Ch]: make Buffer's member variables private. Add
6070 Lots of changes all over the tree as a result.
6072 2003-09-08 Angus Leeming <leeming@lyx.org>
6074 * graph.C: #include <config.h>.
6076 2003-09-08 Angus Leeming <leeming@lyx.org>
6080 * BufferView_pimpl.C:
6109 * toc.C: remove redundant using directives.
6111 2003-09-07 Angus Leeming <leeming@lyx.org>
6113 * LaTeXFeatures.h: remove #include "support/types.h".
6114 * ToolbarBackend.h: remove #include <algorithm>.
6115 * changes.h: remove #include <ctime>.
6116 * debug.h: remove #include <iosfwd>.
6117 * graph.h: remove #include "support/std_string.h".
6118 * lyx_main.h: remove #include <csignal>.
6119 * lyxlex_pimpl.h: remove #include <fstream>.
6120 * sgml.h: remove #include <algorithm>, <utility>.
6121 * toc.h: remove #include "support/std_ostream.h".
6122 Add #include <iosfwd>.
6124 2003-09-07 Angus Leeming <leeming@lyx.org>
6126 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6128 * converter.h: forward declare LatexRunParams.
6129 * encoding.h: remove #include "lyxrc.h".
6130 * lyxtext.h: remove #include "LColor.h".
6131 * lyxtextclass.h: remove #include "support/types.h".
6132 * trans.h: remove #include "tex-accent.h".
6133 * trans_mgr.h: remove #include "tex-accent.h".
6134 * insets/inset.h: remove #include "support/types.h", <vector>.
6135 * insets/insetcollapsable.h: remove #include "LColor.h".
6136 * insets/insetinclude.h: remove #include "dimension.h".
6137 * insets/insetlatexaccent.h: remove #include "dimension.h".
6138 * insets/insetoptarg.h:: remove #include "insettext.h".
6139 * insets/insettext.h: remove #include "dimension.h",
6140 <boost/shared_ptr.hpp>
6142 * insets/renderers.h: add #include "dimension.h".
6143 * insets/updatableinset.h: add #include "support/types.h".
6145 * many .C files: Associated changes.
6147 2003-09-06 Angus Leeming <leeming@lyx.org>
6149 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6150 one, inside testInvariant.
6152 * PrinterParams.C: new file.
6153 * PrinterParams.[Ch]: move the function bodies out of line.
6155 2003-09-06 Angus Leeming <leeming@lyx.org>
6157 * ParagraphParameters.h: forward declare ParameterStruct rather than
6158 including its header file.
6159 (depth): moved out-of-line.
6161 2003-09-06 Angus Leeming <leeming@lyx.org>
6163 * BufferView_pimpl.h:
6166 * lyxfunc.h: forward declare LyXKeySym rather than
6167 #include "frontends/LyXKeySym.h".
6169 * BufferView_pimpl.C:
6172 * lyxfunc.C: associated changes.
6174 2003-09-06 Angus Leeming <leeming@lyx.org>
6176 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6177 As a result, can remove the #include "insets/inset.h" from BufferView.h
6179 2003-09-06 Angus Leeming <leeming@lyx.org>
6181 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6182 As a result, can remove the #include "insets/inset.h" from BufferView.h
6184 2003-09-06 Angus Leeming <leeming@lyx.org>
6190 * bufferview_funcs.C:
6191 * BufferView_pimpl.C:
6196 * ParagraphParameters.C:
6201 * frontends/controllers/ControlDocument.C:
6202 * insets/insetcaption.C: rearrange the #includes into some sort of
6205 * buffer.h: remove #includes ErrorList.h, undo.h
6207 2003-09-06 Angus Leeming <leeming@lyx.org>
6209 * support/types.h: add a 'depth_type' typedef, used to store the
6210 nesting depth of a paragraph.
6213 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6214 defining explicitly.
6217 * paragraph_funcs.h:
6218 * ParagraphParameters.h:
6219 * sgml.h: use lyx::depth_type rather than Paragraph or
6220 ParameterStruct's depth_type.
6223 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6226 * BufferView_pimpl.C:
6228 * ParagraphParameters.C:
6231 * bufferview_funcs.C:
6238 * frontends/LyXView.C:
6239 * frontends/controllers/ControlDocument.C:
6240 * frontends/controllers/ControlErrorList.C:
6241 * insets/insetbibitem.C:
6242 * insets/insetbranch.C:
6243 * insets/insetcaption.C:
6244 * insets/insetcollapsable.C:
6245 * insets/insetenv.C:
6246 * insets/insetert.C:
6247 * insets/insetfloat.C:
6248 * insets/insetfoot.C:
6249 * insets/insetfootlike.C:
6250 * insets/insetnewline.C:
6251 * insets/insetquotes.C:
6252 * insets/insettabular.C:
6253 * insets/insettext.C:
6254 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6256 * frontends/controllers/ControlChanges.C: #include "changes.h".
6258 2003-09-06 Angus Leeming <leeming@lyx.org>
6260 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6261 than #including paragraph.h.
6264 * RowList.h: deleted. Superfluous.
6274 * insets/insettext.h: use ParagraphList_fwd.h rather than
6277 * paragraph.h: don't forward declare ParagraphList.
6280 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6281 rather than ParagraphList.h. paragraph.h is still needed for the
6282 Paragraph::depth_type parameters.
6284 * textcursor.h: enable it to compile stand-alone in light of the
6287 * bufferview_funcs.C:
6299 * frontends/controllers/ControlParagraph.C:
6300 * frontends/controllers/ControlTabular.C:
6301 * insets/insetmarginal.C:
6302 * insets/insetminipage.C:
6303 * insets/insetnote.C:
6304 * insets/insetoptarg.C: add header files needed to compile again.
6306 2003-09-06 Angus Leeming <leeming@lyx.org>
6308 * RowList_fwd.h: new file, forward-declaring Row rather than
6309 #including lyxrow.h.
6314 * insets/insettext.h: use it instead of RowList.h
6316 * bufferview_funcs.C:
6323 * text3.C: #include "RowList.h".
6325 2003-09-05 Angus Leeming <leeming@lyx.org>
6327 * factory.C (createInset):
6328 * vspace.C (c-tor): replace sscanf call with an istringstream.
6329 * ispell.C: re-add missing HP/UX headers.
6330 * lyxserver.C: re-add missing os2 headers.
6332 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6341 * text3.C: re-add missing system headers, needed for 2.95.2.
6343 2003-09-05 Angus Leeming <leeming@lyx.org>
6345 Changes most place everywhere due to the removal of using directives
6346 from support/std_sstream.h.
6348 2003-09-05 Angus Leeming <leeming@lyx.org>
6350 Replace LString.h with support/std_string.h,
6351 Lsstream.h with support/std_sstream.h,
6352 support/LIstream.h with support/std_istream.h,
6353 support/LOstream.h with support/std_ostream.h.
6355 Changes resulting throughout the tree.
6357 2003-09-05 Angus Leeming <leeming@lyx.org>
6359 * sgml.h: ensure that the header file can be compiled stand-alone.
6360 * *.C: strip out redundant #includes. (320 in total.)
6362 2003-09-04 Angus Leeming <leeming@lyx.org>
6364 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6365 here (from getPackages).
6367 * debug.[Ch]: add a new EXTERNAL tag.
6369 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6371 * text2.C (cursorEnd): simplify
6373 (getColumnNearX): adjust
6375 * text.C (computeBidiTables): adjust
6378 * rowpainter.C (paintChars): adjust
6379 (paintSelection): adjust
6380 (paintChangeBar): adjust
6383 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6385 (numberOfSeparators): adjust
6387 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6393 * text3.C: Restricts the mouse click functionality
6394 of insets like bibtex, include, toc and floatlist to the visible
6395 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6396 up the dialogs. Cursor has to be in front of the inset (i.e.
6397 start of row) for this to function.
6399 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6401 * bufferview_funcs.C (currentState): output row information
6403 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6405 * bufferview_funcs.C (currentState): output paragraph position
6407 2003-09-04 Angus Leeming <leeming@lyx.org>
6409 * FloatList.h: move out #include "Floating.h".
6410 * LaTeX.h: move out #include "DepTable.h".
6411 * LyXAction.h: move out #include "funcrequest.h".
6412 * buffer.h: move out #include "author.h", "iterators.h".
6413 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6414 * lyx_main.h: move out #include "errorlist.h".
6415 * lyxfunc.h: move out #include "FuncStatus.h".
6416 * lyxtext: move out #include "lyxcursor.h".
6417 * paragraph_pimpl.h: move out #include "counters.h".
6419 2003-09-03 Angus Leeming <leeming@lyx.org>
6421 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6422 preamble_snippets list, enabling us to add snippets to the preamble
6423 only if the snippet was not there already.
6425 2003-09-04 Angus Leeming <leeming@lyx.org>
6427 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6429 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6431 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6434 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6436 * BranchList.C: point fix, earlier forgotten
6438 2003-09-02 Angus Leeming <leeming@lyx.org>
6440 * box.C (contains): renamed from 'contained' after a fantastic
6443 2003-09-02 John Levon <levon@movementarian.org>
6449 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6451 2003-09-02 John Levon <levon@movementarian.org>
6453 * text2.C: simplification of cursorEnd(), including partial
6456 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6458 * buffer.C (readFile): add a space
6460 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6462 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6464 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6466 * buffer.C (readFile): new function, take a filename and a
6467 ParagraphList::iterator
6469 (readFile): adjust, make it private. don't use setStream, make
6470 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6471 always contain the filename.
6473 * BufferView.C (insertLyXFile): simplify and make it work for
6476 2003-08-30 John Levon <levon@movementarian.org>
6478 * Makefile.am: fix dist (from Kayvan)
6480 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6482 * most files: change to use const Buffer refs
6484 2003-08-27 André Pönitz <poenitz@gmx.net>
6486 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6487 on top of ownerPar().
6489 2003-08-27 John Levon <levon@movementarian.org>
6491 * funcrequest.C: properly initialise POD members
6493 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6495 * lyxtext.h (top_y): move top_y from here
6500 * BufferView_pimpl.[Ch]: to here
6501 * frontends/screen.C:
6502 * insets/insettabular.C:
6503 * insets/insettext.C: adjust
6504 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6506 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6509 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6511 2003-08-26 André Pönitz <poenitz@gmx.net>
6513 * paragraph_func.[Ch] (outerPar): new function
6516 * paragraph_funcs.C:
6517 * paragraph_funcs.h:
6518 * paragraph_pimpl.C:
6519 * text2.C: remove Inset::par_owner
6521 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6526 * text2.C: eliminates the needFullRow/display() stuff
6527 altogether, putting the logic in metrics/draw in the insets.
6529 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6531 * text2.C (redoParagraphInternal, redoParagraphs):
6532 * text.C (redoParagraph): add a call to updateRowPositions at the
6533 end of each 'metrics-like' call. Remove all others.
6534 (getRow): remove the 'y-computing' version.
6535 (getRowNearY): do not compute nor return the real y. Solve the
6536 'y < 0' problem and simplify.
6538 2003-08-22 Angus Leeming <leeming@lyx.org>
6540 * *.[Ch]: clean-up of licence and author blurbs.
6541 Also move config.h out of a few .h files and into a few .C files.
6543 2003-08-22 André Pönitz <poenitz@gmx.net>
6545 * lyxrow.[Ch]: add x_ and *fill_ members
6550 * text2.C: adjust/remove prepareToPrint() calls
6552 2003-08-22 André Pönitz <poenitz@gmx.net>
6554 * lyxrow.[Ch]: add end_ member
6556 * lyxrow_funcs.C: use LyXRow::end_
6558 * lyxtext.h (singleWidth): add LyXFont parameter
6561 * text2.C: adjust LyXText::singleWidth() calls
6563 * text.C (redoParagraph): simplify row breaking logic
6566 2003-08-19 André Pönitz <poenitz@gmx.net>
6568 * funcrequest.C: initialize button_ member
6571 * rowpainter.[Ch]: interface consolidation
6573 2003-08-18 André Pönitz <poenitz@gmx.net>
6576 * BufferView_pimpl.C:
6578 * paragraph_funcs.C:
6580 * text3.C: remove LyXScreen::draw() and fitCursor calls
6582 * BranchList.h: remove spurious semicolons
6584 * MenuBackend.C: fix branchlist related crash
6586 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6594 * bufferparams.[Ch]:
6598 * text3.C: implements the 'branch inset'
6599 idea. This allows the output of various versions of a document
6600 from a single source version, selectively outputing or suppressing
6601 output of parts of the text.
6602 This implementation contains a 'branch list editor' in a separate
6603 tab of the document settings dialog. Branches are user definable
6604 and have a "display colour" to distinguish them on-screen.
6606 ColorHandler was somewhat cleaned up.
6607 (1) make possible a dynamically growing LColor list by allowing
6608 the graphic context cache to grow along (vector);
6609 (2) eliminate an IMHO unnecessary step in colour allocation.
6611 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6613 * BufferView_pimpl.C: compile fix
6615 2003-08-15 André Pönitz <poenitz@gmx.net>
6617 * rowpainter.C: remove extra metrics calls
6619 * lyxtext.h: merge the two constructors into a single one,
6620 pass reference to owner's par list
6622 * BufferView_pimpl.C:
6626 2003-08-15 André Pönitz <poenitz@gmx.net>
6628 * lyxrow_funcs.[Ch]:
6631 * paragraph_funcs.C:
6636 * text_funcs.C: split LyXText::rowlist_ into individual
6637 Paragraph::rows_ chunks
6640 * BufferView_pimpl.[Ch]:
6643 * text3.C: remove toggleSelection()
6645 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6647 * bufferlist.C: beautify two alerts (shorter text of buttons)
6648 * buffer.C: Remove redundant ' ' from message
6650 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6651 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6652 rename VALIGN_CENTER to VALIGN_MIDDLE
6654 2003-08-11 André Pönitz <poenitz@gmx.net>
6656 * lyxtext.h (getPar):
6657 * text.C: new function
6659 2003-08-11 André Pönitz <poenitz@gmx.net>
6662 * tracer.[Ch]: remove unneeded files
6664 * InsetList.[Ch]: remove resizeInsetsLyXText()
6669 * text3.C: merge insertParagraphs() and appendParagraph()
6670 remove breakAgain(), update()
6672 * BufferView_pimpl.[Ch]:
6673 * bufferview_funcs.[Ch]:
6677 * tabular.C: adjust after text & InsetList changes.
6679 2003-08-08 André Pönitz <poenitz@gmx.net>
6681 * text.C (insertChar, backspace): replace rowlist fiddling
6682 with rebreak of full par
6685 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6686 checkParagraph, updateInset): removed
6688 2003-08-07 André Pönitz <poenitz@gmx.net>
6691 * text3.C: merge some LFUN handlers, remove dead code
6693 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6695 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6697 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6699 * text2.C (DEPM): fix part of bug 1255 and 1256
6701 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6703 * BufferView_pimpl.C (workAreaDispatch): change to use
6704 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6705 that are no mouse related.
6707 2003-08-05 André Pönitz <poenitz@gmx.net>
6710 * BufferView_pimpl.[Ch]:
6711 * bufferview_funcs.C:
6713 * text3.C: rip out "deep update"
6715 * textcursor.[Ch] (last_sel_cursor): remove unused member
6717 2003-08-04 André Pönitz <poenitz@gmx.net>
6720 * BufferView_pimpl.[Ch]:
6721 * ParagraphParameters.C:
6722 * bufferview_funcs.C:
6728 * text3.C: replace "complicated" BufferView::update(...) calls with
6731 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6733 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6735 * Makefile.am (lyx_SOURCES): add paper.h
6737 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6739 * Makefile.am: move things around so that both lyx-qt and
6740 lyx-xforms can be built (according to --with-frontend). Then lyx
6741 is a symbolic link to lyx-[firstfrontend]
6743 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6745 * Always use std::endl with lyxerr
6747 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6749 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6751 2003-08-01 André Pönitz <poenitz@gmx.net>
6754 * BufferView_pimpl.[Ch]:
6756 * text3.C: merge BufferView::repaint() and BufferView::update()
6758 2003-08-01 José Matos <jamatos@lyx.org>
6760 * buffer.[Ch]: file_format is no longer a buffer data element.
6762 2003-08-01 André Pönitz <poenitz@gmx.net>
6767 * text2.C: make redoParagraph more independent of current cursor
6769 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6771 * text2.C: remove unneeded members
6773 2003-07-30 André Pönitz <poenitz@gmx.net>
6775 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6777 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6778 create a single function...
6780 * paragraph_funcs.C (moveItem): ... here.
6783 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6785 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6787 * LColor.[Ch]: Add comment and greyedout logical colors.
6789 2003-07-30 André Pönitz <poenitz@gmx.net>
6791 * tabular.C: don't use Assert too heavily. This crashes where it
6794 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6796 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6797 is disabled (bug 1232)
6799 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6801 * factory.C: limited 'arg' scope
6803 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6805 * factory.C: fixed Note submenu issues
6807 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6809 * factory.C: submenu for Note/Comment/Greyedout
6811 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6814 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6816 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6819 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6820 greyedout. Patch provided by Jürgen Spitzmüller.
6822 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6824 * kbmap.C (read): fix error message when reading bind files
6826 2003-07-29 Angus Leeming <leeming@lyx.org>
6828 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6829 certainly does not do what it purports to do. I am doing it, and
6830 us, a favour by killing it.
6832 2003-07-28 José Matos <jamatos@lyx.org>
6834 * buffer.C (readBody, do_writeFile):
6835 * paragraph.C(readParagraph): \end_document replaces \the_end.
6837 2003-07-29 André Pönitz <poenitz@gmx.net>
6840 * BufferView_pimpl.[Ch]:
6844 * textcursor.[Ch]: remove toggleToggle & Co
6846 2003-07-28 José Matos <jamatos@fep.up.pt>
6848 * buffer.C (readParagraph):
6849 * params_func (readParToken, readParagraph):
6850 * paragraph.C (write): \layout -> \begin_layout.
6852 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6854 * lyxlex_pimpl.C (setFile): clean up slightly.
6856 * bufferparams.h: add compressed var
6858 * buffer_funcs.C (readFile): adjust for LyXLex change
6859 (newFile): ditto + simplify
6861 * buffer.C (writeFile): handle writing of compressed files
6863 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6864 Check if the file is compressed and set a bufferparm if so.
6866 * Makefile.am (lyx_LDADD): remove explicit -lz
6868 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6870 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6871 makeDocBookFile): put the real LyX version in the first line of
6875 * version.C.in: remove lyx_docversion
6877 * tabular.C (write_attribute): add a template-based version to
6878 write enums properly
6880 2003-07-28 André Pönitz <poenitz@gmx.net>
6885 * text3.C: use doubles again for x-coordinates. They are needed.
6887 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6889 * messages.C (getLocaleDir): use lyx_localedir()
6891 * lyxlex_pimpl.C (setFile): compress stuff
6893 * buffer.C (writeFile): add some compression stuff
6894 (do_writeFile): new func, dont call expliti close... will this
6897 * Makefile.am (lyx_LDADD): add -lz
6899 2003-07-28 José Matos <jamatos@fep.up.pt>
6901 * buffer.C: increment file format.
6902 * paragraph_funcs (readParagraph, readParToken):
6903 * paragraph.C (readParagraph): add \end_layout.
6905 2003-07-27 Angus Leeming <leeming@lyx.org>
6907 * Makefile.am: remove special casing for configure-time setting of
6908 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6910 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6911 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6913 2003-07-26 André Pönitz <poenitz@gmx.net>
6915 * paragraph_func.[Ch]:
6916 * paragraph.C (realizeFont): inline it whereever it is used
6921 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6924 2003-07-26 André Pönitz <poenitz@gmx.net>
6928 * text2.C: get rid of LyXText::need_break_row
6930 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6932 * toc.[Ch]: put namespace toc inside namespace lyx
6934 * MenuBackend.C (expandToc2): adjust for lyx::toc
6937 * lyxfunc.C (dispatch): adjust for lyx::find
6939 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6940 lyx::find instead. Reorganize a bit.
6941 (LyXReplace): rename to replace
6942 (LyXFind): rename to find
6944 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6947 2003-07-26 André Pönitz <poenitz@gmx.net>
6949 * text.C (setHeightOfRow): restrict scope of temporary variable
6951 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6952 code (never has been used?)
6954 2003-07-27 Asger Alstrup <alstrup@local>
6956 * text.C (fill): Optimise algorithm to exploit that we can reuse
6957 the LyXFont for many characters.
6958 (setHeightOfRow): Same thing.
6959 (rowBreakPoint): Same thing.
6961 2003-07-26 Asger Alstrup <alstrup@local>
6963 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6965 * text.C (singleWidth): Spurious font copying in hot-spot
6966 singleWidth avoided. Reorder tests for arabic for efficiency.
6968 * text.C (fill): handle empty paragraphs better.
6970 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6973 * encoding.h: add includes
6975 * lyxrc.C: remove reading of bind files
6977 * lyx_main.C (init): setup bindings and menus only if we have a
6980 * kbmap.C (read): new method. Do the actual reading of bind
6983 * converter.C (dvipdfm_options):
6986 (output): adapt PAPER_* enums.
6988 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6990 * bufferparams.h: remove paper-related enums from there
6992 * paper.h: New file. A trivial header file to hold paper-related
6993 enums. It should later expand to contain many paper-related
6996 * lyxrc.C: declare extern displayTranslator
6998 2003-07-27 José Matos <jamatos@fep.up.pt>
7000 * tabular.[Ch] (linuxdoc): add support for tables and figures
7003 2003-07-27 José Matos <jamatos@fep.up.pt>
7005 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7006 consistency in both functions.
7007 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7009 2003-07-26 Asger Alstrup <alstrup@local>
7011 * rowpainter.C (paintRows): Change algorithm to work directly on
7012 the insets rather than asking every character in the document
7013 whether its an inset.
7015 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
7017 * buffer.C (openFileWrite): factorize some code
7019 2003-07-26 Angus Leeming <leeming@lyx.org>
7022 * lyx_main.[Ch]: replace occurances of system_tempdir with
7025 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7027 * rename Inset to InsetOld
7029 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7031 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7032 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7033 which I think is a bit clearer. EDIT is gone, since it was
7034 premature optimisation, and broken for mathed anyway.
7035 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7036 with cursor positioning in insets as well (math insets still do not
7037 work, but that's a different story anyway.) It mysteriously
7038 crashes sometimes with undo in the first paragraph, but I'm fairly
7039 confident that this is a compiler bug.
7041 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7043 * paragraph.C (Paragraph): adjust for new clone return type
7045 (copyIntoMinibuffer): ditto
7047 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7049 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7050 by not having a special case, and always doing a full rebreak of
7051 the document after undo.
7053 2003-07-23 Angus Leeming <leeming@lyx.org>
7055 * factory.C (createInset): InsetExternal::setParams now takes a
7058 2003-07-23 Angus Leeming <leeming@lyx.org>
7060 * factory.C (createInset): changed interface to the external and
7061 graphics mailers' string2params functions.
7063 2003-07-23 Angus Leeming <leeming@lyx.org>
7065 * factory.C (createInset): pass a
7066 Buffer const * parameter to InsetExternalMailer's string2params.
7068 2003-07-22 John Levon <levon@movementarian.org>
7070 * Thesaurus.h: include the right aiksaurus header
7072 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7074 * MenuBackend.C (expand): check menu shortcuts unconditionally
7076 2003-07-21 Angus Leeming <leeming@lyx.org>
7078 * factory.C (createInset): pass a
7079 buffer_path parameter to InsetGraphicsMailer's string2params.
7081 2003-07-21 Angus Leeming <leeming@lyx.org>
7083 * BufferView_pimpl.C (buffer):
7086 * lyxfunc.C (dispatch):
7087 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7088 rather than the grfx shortcut.
7090 2003-07-21 André Pönitz <poenitz@gmx.net>
7092 * rowpainter.C: remove unused variables
7095 * tabular_funcs.h: move to tabular.C
7096 * Makefile.am: adjust
7098 * tabular.[Ch]: basic optical cleaning
7100 * author.h: pass references, not values
7102 2003-07-18 André Pönitz <poenitz@gmx.net>
7110 * text3.C: two-phase drawing for InsetText and InsetTabular
7111 some float -> int changes.
7113 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7115 * lyx_main.C: fix the fix
7117 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7119 * lyx_main.C: fix a crash in batch mode if no files specified
7122 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7124 * format.[Ch] (papersize): moved to BufferParams
7125 * converter.[Ch] (dvips_options): moved to BufferParams
7126 (dvipdfm_options): moved to anon namespace
7127 * bufferparams.[Ch]: added above functions.
7129 2003-07-17 André Pönitz <poenitz@gmx.net>
7133 * text2.C: don't call inset->update() anymore
7135 * metricsinfo.[Ch]: add convenience constructor
7137 2003-07-16 André Pönitz <poenitz@gmx.net>
7142 * text2.C: replace the LyXCursor::irow_ member with
7143 on-demand computation of the value
7145 2003-07-16 John Levon <levon@movementarian.org>
7147 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7149 2003-07-15 André Pönitz <poenitz@gmx.net>
7152 * text2.C: remove no more needed refresh_row
7154 2003-07-15 André Pönitz <poenitz@gmx.net>
7159 * text3.C: refresh_status tristate -> need_update bool
7161 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7163 * lyxtext.h (init): remove reinit argument (act as if always true)
7164 * text2.C: adjust to that
7166 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7168 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7169 * text3.C: use it to delete selections in some cases
7170 (bugs 441, 673, 702, 954).
7172 2003-07-14 André Pönitz <poenitz@gmx.net>
7174 * rowpainter.[Ch]: reduce interface
7176 2003-07-14 André Pönitz <poenitz@gmx.net>
7178 * BufferView_pimpl.C:
7179 * text2.C: adjust after removing unused BufferView * argument
7181 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7183 * text2.C (init): fix a crash fired on resize
7185 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7187 * buffer.[Ch]: added new closing signal
7188 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7189 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7190 BufferView::Pimpl via the closing the signal
7192 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7194 * buffer.[Ch]: take out all bv-related from buffer
7196 * BufferView_pimpl.[Ch]: connect to new signals
7197 * CutAndPaste.C: removed useless asserts
7198 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7201 * lyxfunc.C: moved view-related funciontality from vc here
7202 * paragraph.C: removed outdated comments
7205 2003-07-10 André Pönitz <poenitz@gmx.net>
7207 * BufferView_pimpl.C:
7211 * text2.C: remove InsetText::InnerCache, clean up consequences
7213 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7215 * ispell.C: fix two typos in error messages
7217 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7219 * Extend Note inset to other forms of annotation like Comment
7220 and Greyedout. Right button click gives dialog.
7222 Files modified or added (+):
7226 * ControlNote.[Ch] +
7228 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7229 frontends/controllers
7233 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7235 * aspell.C: add missing namespace lyx::support
7237 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7239 * BufferView.[Ch] (newFile): Add
7240 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7241 * LaTeX.[Ch] (message): added this signal and use it
7242 * buffer.[Ch] (busy, message): added these signals and use them
7243 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7247 * importer.C: use buffer signals instead of direct bv calling
7248 * lyx_cb.[Ch] (ShowMessage): removed
7251 * paragraph_funcs.C:
7252 * text2.C: use buffer signals
7254 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7256 * introduce namespace lyx::graphics
7258 2003-07-02 André Pönitz <poenitz@gmx.net>
7260 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7262 2003-07-01 André Pönitz <poenitz@gmx.net>
7269 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7270 text*.C to text_func.C
7272 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7274 * introduce namespace lyx::support
7276 2003-06-30 André Pönitz <poenitz@gmx.net>
7281 * text.C: re-enable --with-included-string
7283 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7285 * textcursor.C: add <config.h>
7287 * text.C (getWord): remove const from word_location arg
7289 * lyxvc.C (getLogFile): fix const type order
7291 * lyxtext.h: remove const from word_location arg, add arg name
7293 * lyxlayout.h: currect type on labeltype.
7295 * importer.C: correct \file
7297 * converter.C (intToFormat): use std:: on ret val, ws changes
7299 * bufferlist.h: correct \file
7301 * buffer.C (makeLinuxDocFile): fix const type order
7302 (makeDocBookFile): ditto
7303 (fillWithBibKeys): use std:: on stdlib args.
7305 * CutAndPaste.C: fix authors.
7306 (availableSelections): use std:: on return vector
7308 2003-06-27 André Pönitz <poenitz@gmx.net>
7310 * BufferView_pimpl.C:
7311 * bufferview_funcs.C:
7319 * text3.C: remove LyXCursor::row_ member
7322 * text.C: rename fullRebreak() to partialRebreak() and implement
7323 a fullRebreak() that really bereks fully
7325 * textcursor.h: new struct for cursor-related data
7327 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7329 * lyx_main.C (LyX): get full path of document loaded on the
7332 2003-06-26 André Pönitz <poenitz@gmx.net>
7334 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7335 remove unused/broken operator>,<,>=.
7337 * text.C: remove only use of broken operator<= in an Assert().
7339 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7341 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7342 moved errorlist_.clear to showErrorList
7344 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7346 * converter.C (scanLog, runLaTeX):
7347 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7348 move the bv->showErrorList call to the callers
7349 * lyxfunc.C: i.e. here...
7351 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7352 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7353 namespace, the second to...
7354 * buffer_funcs (BufferFormat, parseErrors): added
7355 * errorlist.C (ErrorList(TeXErrors const &)): removed
7357 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7359 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7361 2003-06-24 "Garst R. Reese" <reese@isn.net>
7365 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7367 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7369 * version.C.in: change docversion to 1.4
7371 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7373 * buffer.C: fix a bug just introduced
7375 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7377 * buffer.[Ch]: added the parseError signal and use it, removed
7379 * BufferView.[Ch] (addError): moved to ...
7380 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7381 to the Buffer::parseError signal to catch (guess what) parse errors
7382 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7384 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7386 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7387 ability to create a buffer and to return an existing one from
7388 the list. Moved these functions to...
7389 * buffer_funcs.[Ch]: added
7390 * BufferView.[Ch] (loadLyXFile): added
7391 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7392 job removed from bufferlist::loadLyXFile.
7393 * buffer.C (setReadOnly): make it work without view
7394 (i.e added an if (users))
7396 2003-06-19 Angus Leeming <leeming@lyx.org>
7399 * LyXAction.C (init):
7400 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7401 with LFUN_DIALOG_SHOW <name> <data>.
7403 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7405 * CutAndPaste.C (availableSelections): small compilation fix for
7406 ancient (gcc 2.9x) compilers
7408 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7410 * text3.C (cursorNext): add tmp var
7412 * text2.C (updateCounters): for function calling out of for clause
7413 (replaceSelectionWithString): ditto
7414 (insertStringAsParagraphs): ditto
7415 (getColumnNearX): add tmp var
7416 (setCursorFromCoordinates): add tmp var
7417 (cursorDownParagraph): add tmp var
7418 (deleteEmptyParagraphMechanism): add tmp var
7420 * text.C (insertChar): add tmp var
7422 * rowpainter.C (paintDepthBar): add tmp var
7424 * CutAndPaste.C (availableSelections): potentially check all
7425 paragraphs in a cut to fill the shown strings.
7427 2003-06-18 André Pönitz <poenitz@gmx.net>
7429 * kbmap.[Ch]: use vector<> instead of list<>
7431 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7433 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7434 pasteSelection with index
7436 * text2.C (pasteSelection): modify, call pasteSelection with index
7438 * paragraph.C (asString): reimplement version with no interval to
7439 call the one with interval.
7441 * lyxtext.h: add index arg to pasteSelection
7443 * MenuBackend.C (MenuItem): handle PasteRecent
7444 (Menu::read::Menutags): add md_pasterecent
7446 (expandPasteRecent): new function
7449 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7451 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7453 (availableSelections): new function
7455 2003-06-17 Angus Leeming <leeming@lyx.org>
7457 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7459 2003-06-17 Angus Leeming <leeming@lyx.org>
7462 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7464 * lyxfunc.C (dispatch): invoke it.
7466 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7468 * iterators.C (operator++, ParPosition): reintroduce some
7469 const_cast for the benefit of older compilers.
7471 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7473 * text3.C (dispatch): do not modify clipboard when doing
7474 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7475 LFUN_DELETE_SKIP on a selection selection
7477 2003-06-16 André Pönitz <poenitz@gmx.net>
7483 * tabular.[Ch]: IU of clone() and getLabelList();
7485 2003-06-13 André Pönitz <poenitz@gmx.net>
7487 * tabular.h: compactification
7489 2003-06-12 André Pönitz <poenitz@gmx.net>
7493 * tabular_funcs.h: some renaming plus whitespace
7495 2003-06-12 André Pönitz <poenitz@gmx.net>
7498 * BufferView_pimpl.C:
7504 * toc.C: Return a Paragraph & for ParIterator::operator*()
7506 2003-06-11 John Levon <levon@movementarian.org>
7510 * ToolbarBackend.C: add "Toolbars" section and
7513 2003-06-10 Angus Leeming <leeming@lyx.org>
7516 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7518 * lyxfunc.C (dispatch): invoke it.
7520 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7522 * main.C: protect <ios> with HAVE_IOS
7523 (main): protect sync_with_stdio with HAVE_IOS
7525 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7527 * text2.C (cutSelection): adjust
7528 (pasteSelection): adjust
7530 * messages.C: handle get of empty string
7532 * main.C (main): use sync_with_stdio(false)
7534 * lyxfunc.C (dispatch): adjust
7536 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7537 (WriteAs): remove unneeded BufferView arg.
7539 * bufferparams.h: use correct types on papersize, papersize2 and
7542 * bufferparams.C (readToken): adjust for type
7543 (writeLaTeX): add missing cases to switch.
7545 * bufferlist.C (quitWriteBuffer): adjust
7548 * buffer.C (asciiParagraph): remove some commented code.
7550 * CutAndPaste.C: remove current_view extern variable.
7551 (cutSelection): add BufferParams arg.
7552 (eraseSelection): add BufferParams arg.
7553 (pasteSelection): add Buffer const & arg
7555 2003-06-07 John Levon <levon@movementarian.org>
7558 * paragraph_funcs.C:
7559 * paragraph_pimpl.C:
7563 * paragraph.C: allow InsetERT to freely space lines,
7564 and some consolidation of code
7566 2003-06-06 José Matos <jamatos@fep.up.pt>
7568 * buffer.C (makeDocBookFile): fix bug #821
7570 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7572 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7574 2003-06-04 Angus Leeming <leeming@lyx.org>
7576 * buffer.C: bump format to 224.
7578 2003-06-05 André Pönitz <poenitz@gmx.net>
7580 * text2.C (redoParagraphs): remove two const_cast<>
7582 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7584 * ParagraphList.h: remove last remnants of NO_STD_LIST
7586 2003-06-03 Angus Leeming <leeming@lyx.org>
7588 * factory.C (createInset): small change to the way InsetExternal's params
7591 2003-06-04 André Pönitz <poenitz@gmx.net>
7593 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7595 * paragraph_pimpl.h:
7596 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7598 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7600 * undo_funcs.C: make some simple cases of undo work again
7602 2003-06-03 John Levon <levon@movementarian.org>
7604 * ispell.C: HPUX doesn't have sys/select.h
7607 2003-06-03 John Levon <levon@movementarian.org>
7609 * CutAndPaste.C: update tabular and include inset
7614 * paragraph.C: remove owningBuffer(), don't pass Buffer
7617 * factory.C: insetGraphicsParams changed
7619 2003-06-02 John Levon <levon@movementarian.org>
7625 * text3.C: remove insetparent
7627 2003-06-02 John Levon <levon@movementarian.org>
7630 * buffer.C: fix inset_iterator.end(), move out of line
7633 2003-06-01 John Levon <levon@movementarian.org>
7635 * text3.C: use a proper cut/paste when doing inset
7636 insert (from Jürgen Spitzmüller)
7638 2003-06-01 John Levon <levon@movementarian.org>
7640 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7642 2003-05-30 André Pönitz <poenitz@gmx.net>
7644 * rowpainter.C: unify second drawing phase
7646 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7648 * trans_mgr.C: remove one case of current_view
7650 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7652 * paragraph_funcs.h: remove paragraph.h include
7654 * paragraph.h: delete NO_STD_LIST stuff
7656 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7658 * buffer.h: remove paragraph.h include
7660 * ParagraphList.C: delete file
7662 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7664 * toc.C (getTocList): adjust
7666 * paragraph_pimpl.C (validate): adjust
7668 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7670 * paragraph.C (Paragraph): adjust
7671 (getPositionOfInset): use const_iterator, adjust
7672 (bibitem): use const_iterator, adjust
7673 (setInsetOwner): adjust
7675 * iterators.C (operator++): adjust
7677 * InsetList.[Ch]: Replace selfmade iterator with standard
7678 vector::iterator also introduce const_iterator. Remove getPos,
7679 getInset and setInset from InsetTable. Adjust accordingly.
7681 * BufferView.C (lockInset): adjust
7682 (ChangeInsets): adjust
7684 * tabular.[Ch]: delete commented same_id functions
7686 2003-05-28 John Levon <levon@movementarian.org>
7688 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7690 2003-05-28 André Pönitz <poenitz@gmx.net>
7692 * metricsinfo.[Ch]: remove 'fullredraw' member
7694 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7696 * lyxtextclass.C (operator): remove caching.
7698 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7702 * text2.C (cursorBottom): adjust
7703 (setCounter): use ParagraphList::find, adjust
7705 * text.C (workWidth): use ParagraphList::find, adjust
7707 * lyxcursor.C (LyXCursor): adjust
7709 * buffer.C (inset_iterator): adjust
7711 * ParagraphList.h: make iterator(value_type) private, make
7712 ParagraphList a friend of iterator.
7714 * ParagraphList.C (find): new function
7716 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7718 2003-05-27 André Pönitz <poenitz@gmx.net>
7720 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7722 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7724 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7726 2003-05-26 John Levon <levon@movementarian.org>
7728 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7730 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7732 * remove same_id from function signatures, adjust.
7734 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7736 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7738 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7740 * paragraph.C (Paragraph): get rid of same_ids parameter
7742 * ParagraphList.C (insert): adjust
7745 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7747 * paragraph_funcs.C (breakParagraph): adjust
7748 (breakParagraphConservative): adjust
7750 * buffer.C (readParagraph): adjust
7752 * ParagraphList.C (insert): take a reference instead of a pointer
7755 * paragraph.[Ch] (id): new function
7757 * bufferlist.C (newFile): adjust
7759 * ParagraphList.C (ParagraphList): adjust
7761 (push_back): take a reference instead of a pointer.
7763 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7765 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7768 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7769 set else use old code.
7771 * ParagraphList.C: remove all NO_NEXT code and only compile this
7772 code of NO_STD_LIST is set.
7774 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7776 * BufferView_pimpl.C:
7786 * graphics/GraphicsConverter.C:
7787 * graphics/PreviewLoader.C: header adjustment
7789 2003-05-23 Angus Leeming <leeming@lyx.org>
7791 * LaTeXFeatures.[Ch] (useBabel): new method.
7792 * bufferparams.C (writeLaTeX): use it.
7794 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7796 * ParagraphList.h (set): remove unused function.
7798 2003-05-23 André Pönitz <poenitz@gmx.net>
7801 * BufferView_pimpl.C:
7805 * undo_funcs.C: setUndo reworked
7807 * iterators.[Ch]: add access to topmost ParagraphList
7809 * lyxtext.[Ch] (workWidth): add a const
7811 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7813 * texrow.[Ch] (increasePos): remove function
7814 * exporter.C (export): removed unused var and outdated comment
7816 2003-05-23 Angus Leeming <leeming@lyx.org>
7818 * latexrunparams.h: rename fragile as moving_arg.
7819 * paragraph.C (simpleTeXOnePar): ditto.
7820 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7822 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7824 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7826 (textUndoOrRedo): comment out a currently unused var.
7828 * paragraph.h (NO_NEXT): enable NO_NEXT
7830 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7832 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7834 * exporter.C (Export): adjust for removeAutoInsets removal.
7836 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7838 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7840 * BufferView.[Ch] (removeAutoInsets): delete function
7842 2003-05-22 Angus Leeming <leeming@lyx.org>
7844 * latexrunparams.h: add a free_spacing variable.
7846 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7847 to pass moving_arg, as the data is stored in runparams.fragile.
7849 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7850 to Inset::latexOptional or to simpleTeXOnePar.
7852 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7853 free_spacing arg to Inset::latexOptional.
7855 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7858 2003-05-22 Angus Leeming <leeming@lyx.org>
7860 * latexrunparams.h: add fragile and use_babel variables.
7862 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7863 * buffer.C (makeLaTeXFile): store this returned value in
7864 runparams.use_babel, thus passing it to the inset::latex methods.
7866 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7867 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7869 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7870 longer has a fragile arg, as it is stored in runparams.fragile.
7872 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7873 moving_arg parameter as the data is stored in runparams.fragile.
7875 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7876 a fragile parameter as the data is stored in runparams.fragile.
7878 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7880 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7882 2003-05-22 Angus Leeming <leeming@lyx.org>
7884 * latexrunparams.h: add a 'bool nice' which defaults to false.
7886 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7887 now encapsulated within runparams.
7889 * bufferlist.C (updateIncludedTeXfiles):
7890 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7892 2003-05-22 Angus Leeming <leeming@lyx.org>
7894 * latexrunparams.h: new file containing struct LatexRunParams.
7895 * Makefile.am: add new file.
7897 * LaTeX.[Ch] (c-tor, run):
7898 * buffer.[Ch] (makeLaTeXFile):
7899 * bufferlist.[Ch] (updateIncludedTeXfiles):
7900 * converter.C (convert, scanLog):
7901 * converter.[Ch] (runLaTeX):
7902 * exporter.C (Export):
7903 * paragraph.[Ch] (simpleTeXOnePar):
7904 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7905 * paragraph_funcs.[Ch] (latexParagraphs):
7906 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7907 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7908 pass around a LatexRunParams parameter.
7910 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7912 * paragraph.[Ch]: remove unused constructor
7914 * ParagraphList.C (erase): new function, taking two iterators
7916 2003-05-22 André Pönitz <poenitz@gmx.net>
7918 * undo_funcs.C: remove duplicated code
7920 * iterator.[Ch]: operator=
7922 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7924 * tabular.C (SetMultiColumn): ws changes
7926 * rowpainter.C (paintFirst): get rid of a ->previous
7928 * lyx_cb.C (getPossibleLabel): parlist simplification
7930 * BufferView.C (ChangeInsets): simplify slightly.
7932 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7934 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7935 * lfuns.h: new LFUN_SPACE
7936 * lyxfunc.C: protected space has a new lfun
7937 * paragraph_funcs.C: read new space insets
7939 * factory.C: handle new space insets
7941 2003-05-22 André Pönitz <poenitz@gmx.net>
7944 * BufferView_pimpl.C:
7947 * undo_funcs.C: return a ParIterator from getParFromID.
7949 * iterators.[Ch]: add two const's
7951 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7953 * toc.C (getTocList): adjust
7955 * iterators.[Ch]: rework for parlist
7957 * buffer.C (par_iterator_begin): adjust
7958 (par_iterator_end): adjust
7960 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7962 * BufferView.C (removeAutoInsets): adjust
7963 (ChangeInsets): adjust
7965 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7967 * text.C (top_y): fix bug 1110
7969 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7971 * errorlist.[Ch]: added
7974 * BufferView_pimpl.C:
7975 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7978 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7980 * Makefile.am: ensure that lyx is relinked upon changes to the
7981 various "convenience" libs.
7983 2003-05-20 Angus Leeming <leeming@lyx.org>
7985 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7986 files are compiled in alphabetical order again.
7988 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7990 2003-05-19 Angus Leeming <leeming@lyx.org>
7992 * gettext.[Ch]: remove "char const * _(char const *)".
7994 2003-05-19 André Pönitz <poenitz@gmx.net>
7996 * dimension.[Ch]: promote from mathed/dimension.[Ch]
8005 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8007 2003-05-19 André Pönitz <poenitz@gmx.net>
8011 * lyxtextclass.[Ch]:
8013 * paragraph_funcs.[Ch]:
8015 * text3.C: more insetenv work
8017 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
8019 * ParagraphParameters.C (params2string): small bug fixed
8021 2003-05-16 André Pönitz <poenitz@gmx.net>
8024 * bufferview_funcs.C: patch from Kornel Benko to prevent
8025 crash when _(...) is called twice in a statement
8027 2003-05-16 André Pönitz <poenitz@gmx.net>
8034 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8036 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8038 * lyx_main.C (init): remove spurious static_cast
8040 2003-05-14 André Pönitz <poenitz@gmx.net>
8042 * BufferView.C: fix format string
8044 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8046 * BufferView.[Ch] (insertErrors): removed
8047 * BufferView.[Ch] (showErrorList): added
8048 * buffer.C (runChkTeX):
8049 * converter.C (scanLog): call showErrorList instead of inserterrors
8051 2003-05-13 André Pönitz <poenitz@gmx.net>
8053 * BufferView_pimpl.C:
8055 * bufferview_func.C:
8062 * tabular_funcs.h: tostr() from its own header
8064 * ParagraphParameters.C:
8069 * text3.C: STRCONV()
8071 2003-05-12 André Pönitz <poenitz@gmx.net>
8074 * BufferView_pimpl.C:
8078 * ParagraphParameters.C:
8082 * bufferview_funcs.C:
8095 * paragraph_funcs.C:
8099 * text3.C: boost::format -> bformat all over the place
8102 2003-05-09 André Pönitz <poenitz@gmx.net>
8104 * LColor.[Ch]: Pimpl the #include <map> away
8106 2003-05-09 John Levon <levon@movementarian.org>
8108 * bufferlist.C: never remove emergency saves
8110 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8112 * Makefile.am: better lib building
8114 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8116 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8118 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8119 (simpleTeXSpecialChars): adjust
8120 (simpleTeXSpecialChars): adjust
8121 * paragraph.C (simpleTeXOnePar): adjust
8122 * buffer.C (makeLaTeXFile): adjust
8124 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8126 * text2.C (changeDepth): parlist cleanup
8127 (getColumnNearX): ditto
8129 * rowpainter.C (getLabelFont): parlist cleanup
8131 * bufferlist.C (newFile): parlist cleanup
8133 * CutAndPaste.C (eraseSelection): parlist cleanup
8135 * BufferView_pimpl.C (trackChanges): parlist cleanup
8138 * BufferView.C (lockInset): parlist cleanup.
8139 (ChangeInsets): ditto
8141 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8143 * CutAndPaste.h: Update file header.
8145 * CutAndPaste.C: Update file header.
8146 Store the parts cut out of the Document in a limited_stack.
8147 (copySelection): adjust
8148 (pasteSelection): new function, takes the index in the limited stack.
8149 (nrOfParagraphs): adjust
8150 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8151 simplify error inset insertion.
8152 (checkPastePossible): adjust
8154 2003-05-06 John Levon <levon@movementarian.org>
8156 * text2.C: don't cast wrap inset to float
8158 2003-05-05 André Pönitz <poenitz@gmx.net>
8161 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8163 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8164 few naked Paragraph *.
8166 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8168 * bufferparams.C: Output warning if a document with missing
8169 TeX document class is loaded
8170 * exporter.C: Disable TeX exports if the document class is missing
8173 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8174 isTeXClassAvailable()
8176 2003-05-03 John Levon <levon@movementarian.org>
8179 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8180 explicit cursor show/hide
8182 * BufferView_pimpl.h:
8183 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8184 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8186 * lyxfunc.C: hide cursor before dispatching.
8191 * text3.C: remove explicit cursor hides
8193 2003-05-02 André Pönitz <poenitz@gmx.net>
8195 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8198 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8201 * text2.C: tiny whitespace
8203 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8205 * undo_funcs.C: almost only ws changes.
8207 * ParagraphList.C (splice): just return if pl is empty.
8209 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8211 * ParagraphList.C (splice): new function.
8213 * CutAndPaste.C (pasteSelection): use it
8215 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8217 * CutAndPaste.C (pasteSelection): remove the last next and
8218 previous from this file.
8220 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8222 * CutAndPaste.C (pasteSelection): more clean up, user proper
8223 ParagraphList functions for pasteing.
8225 * ParagraphList.C (insert): new function, three arg insert
8227 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8229 * ParagraphList.C (insert): new function, three arg insert
8231 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8234 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8236 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8238 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8240 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8242 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8244 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8245 (copySelection): clean up a bit.
8246 (pasteSelection): use make_pair
8248 * ParagraphList.C (ParagraphList): implement copy constructor
8249 (operator=): implement, base on copy constructor.
8252 * paragraph.C (erase): return a bool
8254 * paragraph_pimpl.C (erasePos): remove function, move contents...
8255 (erase): ... here. Return a bool.
8256 (erase): call erase instead of erasePos.
8258 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8260 * ParagraphList.h: define PitPosPair
8261 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8262 ParagraphList, fix a bug on pasting multiple pars
8263 * text2.C: change interface to C&P
8265 2003-04-30 André Pönitz <poenitz@gmx.net>
8267 * undo_func.C: revert part of yesterday's patch 2
8269 2003-04-30 John Levon <levon@movementarian.org>
8271 * LColor.C: s/tabular/table/
8273 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8275 * text3.C (dispatch): do not convert iterator -> pointer
8276 * undo_funcs.C (setCursorParUndo): ditto
8277 * text_funcs.C (transposeChars): ditto
8279 * text2.C (setLayout): ws changes only
8281 * text.C (breakParagraph): do not convert iterator -> pointer
8283 (acceptChange): ditto
8284 (rejectChange): ditto
8289 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8292 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8294 * text3.C (gotoInset): YABG (yet another bad getChar)
8296 2003-04-29 André Pönitz <poenitz@gmx.net>
8298 * paragraph.h: make operator= private unimplemented as long as
8301 * ParagraphList.C: whitespace
8304 * paragraph_pimpl.[Ch]:
8305 * paragraph_funcs.C:
8307 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8310 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8312 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8314 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8315 * paragraph.[Ch] (erase):
8316 * paragraph_pimpl.[Ch] (erase): change return type and value
8317 * text2.C (cutSelection): some rework
8319 2003-04-28 John Levon <levon@movementarian.org>
8321 * bufferlist.C: changes for unsaved changes dialog
8323 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8325 * bufferlist.C (newFile): set language (messages_) for new
8328 * buffer.C (readFile): ws changes only.
8330 2003-04-28 André Pönitz <poenitz@gmx.net>
8335 * BufferView_pimpl.C:
8336 * BufferView.C: getParFromID related ParagraphList::iterator changes
8338 2003-04-28 André Pönitz <poenitz@gmx.net>
8340 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8343 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8345 * messages.C: remove one more localedir class variable.
8347 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8349 * messages.C (getLocaleDir): singleton generation function
8351 (Messages): add a default constructor.
8353 * main.C (main): do not setup localedir here, do not call
8356 * gettext.C (_): use it.
8357 (gettext_init): delete funciton
8359 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8361 * gettext.C (getLyXMessages): new singleton generating function.
8363 * buffer.C (updateDocLang): adjust
8365 * Makefile.am (messages.o): add target
8366 (main.o): remove target
8368 2003-04-27 John Levon <levon@movementarian.org>
8373 * lyxvc.C: specify cancel button in Alert::prompt
8375 2003-04-26 John Levon <levon@movementarian.org>
8380 * LyXAction.C: add LFUN_INSET_SETTINGS
8382 * lyxfunc.C: don't enable tabular-feature when there's
8383 just any locking inset
8385 2003-04-26 John Levon <levon@movementarian.org>
8387 * bufferlist.C: re-add Cancel to buffer close question
8389 * lyxfunc.C: fix import UI a bit
8391 2003-04-25 John Levon <levon@movementarian.org>
8393 * gettext.C: remove the broken asserts for now
8395 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8397 * messages.C: make case where setlocale cannot comply work better.
8399 * buffer.C (updateDocLang): new function
8400 (changeLanguage): use it
8403 * text2.C (setCounter): use B_ a bit.
8405 * lyxlayout.C (Read): be sure to trim the label strings.
8407 * messages.C (Messages): fix typo in comment
8409 * buffer.C (readFile): set message_ after file is loaded.
8410 (makeDocBookFile): remove double return
8411 (changeLanguage): reset message_ upon language change.
8412 (B_): new func, use this to get translated buffer strings.
8414 * main.C: add myself and Jean Marc as authors.
8416 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8418 * messages.[hC]: pimplify Messages, and three different pimpls to be
8419 used in different circumstances.
8421 * gettext.[Ch]: change for use with new message code.
8423 2003-04-24 André Pönitz <poenitz@gmx.net>
8425 * factory.C: support for eqref
8427 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8429 * messages.[Ch]: add missing char
8431 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8433 * messages.[Ch]: New files
8435 2003-04-18 John Levon <levon@movementarian.org>
8439 * BufferView_pimpl.C:
8443 * text2.C: remove layout-copy/paste (bug 778)
8445 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8447 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8449 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8451 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8452 if they succeed. Act accordingly.
8454 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8456 * text2.C (setCharFont): adjust
8457 (setCounter): adjust
8458 (insertStringAsLines): adjust
8460 * text.C (leftMargin): adjust
8461 (setHeightOfRow): adjust
8463 * rowpainter.C (paintFirst): adjust
8466 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8468 (isFirstInSequence): ditto
8469 (getEndLabel): ditto
8472 * paragraph.C (getParLanguage): comment out some hard stuff.
8474 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8476 (simpleDocBookOnePar): ditto
8477 (makeDocBookFile): use ParagraphList::iterator
8479 * CutAndPaste.C (pasteSelection): adjust
8481 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8483 * text2.C (getFont): adjust
8484 (getLayoutFont): adjust
8485 (getLabelFont): adjust
8487 * paragraph_funcs.C (TeXOnePar): adjust
8489 * buffer.C (simpleLinuxDocOnePar): adjust
8490 (simpleDocBookOnePar): adjust
8492 * CutAndPaste.C (pasteSelection): adjust
8494 * BufferView.C (getEncoding): adjust
8496 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8498 2003-04-16 John Levon <levon@movementarian.org>
8500 * lyxfind.C: use parlist stuff for search/changes
8502 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8504 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8506 * text2.C (deleteEmptyParagraphMechanism): adjust
8508 * text2.[Ch] (ownerParagraph): delete func (both of them
8510 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8512 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8514 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8516 * ParagraphList.C: prepare for NO_NEXT
8518 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8520 * text2.C (getFont): adjust
8521 (getLayoutFont): adjust
8522 (getLabelFont): adjust
8524 * paragraph.C (getFont): adjust
8525 (getLabelFont): adjust
8526 (getLayoutFont): adjust
8528 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8530 2003-04-15 John Levon <levon@movementarian.org>
8534 * lyx_main.C: handle Include in .ui files
8536 2003-04-15 John Levon <levon@movementarian.org>
8538 * MenuBackend.C: make the doc files length shorter
8541 * ToolbarBackend.C: handle toolbar placement flags,
8544 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8546 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8549 * paragraph_funcs.C (TeXOnePar): adjust
8551 * paragraph.C (getLabelFont): add outerfont arg, adjust
8552 (getLayoutFont): ditto
8553 (simpleTeXOnePar): adjust
8555 * paragraph_pimpl.C (realizeFont): delete func
8557 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8559 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8560 row argument, constify cur argument.
8562 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8564 * text2.C (getFont): adjust
8565 (getLayoutFont): adjust
8566 (getLabelFont): adjust
8568 * paragraph_funcs.C (TeXOnePar): adjust
8569 (outerFont): new func...
8570 (realizeFont): ...moved out from here, changed this to facilitate
8573 * paragraph.C (getFont): take outerfont as arg, adjust
8574 (simpleTeXOnePar): add outerfont arg, adjust
8576 * buffer.C (simpleLinuxDocOnePar): adjust
8577 (simpleDocBookOnePar): adjust
8579 * CutAndPaste.C (pasteSelection): adjust
8581 * BufferView.C (getEncoding): adjust
8583 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8585 * text2.C (setCharFont): adjust
8586 (setCounter): adjust
8588 * text.C (leftMargin): adjust
8589 (setHeightOfRow): adjust
8591 * rowpainter.C (paintFirst): adjust
8594 * paragraph_pimpl.C (realizeFont): adjust
8596 * paragraph.C (isFirstInSequence): move from here...
8597 * paragraph_funcs.C (isFirstInSequence): ...to here
8599 * paragraph.C (outerHook): move from here...
8600 * paragraph_funcs.C (outerHook): ...to here
8602 * paragraph.C (depthHook): move from here...
8603 * paragraph_funcs.C (depthHook): ...to here
8605 * paragraph.C (getEndLabel): move from here...
8606 * paragraph_funcs.C (getEndLabel): ...to here
8608 * text2.C (realizeFont): move from here...
8609 * paragraph_funcs.C (realizeFont): ...to here
8611 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8613 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8615 2003-04-14 Angus Leeming <leeming@lyx.org>
8617 * LColor.[Ch]: scrap LColor mathcursor.
8619 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8621 * lyxlex.[Ch] (text): delete function
8622 * trans.C (Load): adjust
8623 * paragraph_funcs.C (readParToken): adjust
8625 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8627 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8628 vector<char> instead of a char[].
8630 * lyxlex_pimpl.C (getString): adjust
8632 (lex): use getString
8636 * lyxlex.C (text): use pimpl_->getString()
8640 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8642 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8643 (makeFontEntriesLayoutSpecific): temp var for par.size()
8644 (setLayout): temp var for ownerParagraphs().end()
8645 (fullRebreak): temp var for rows().end()
8646 (selectionAsString): temp var for boost::next(startpit), realize
8647 that the while really is a regular for loop.
8648 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8649 setCursor in one place.
8650 (setParagraph): temp vr for ownerParagraphs().end()
8651 (updateCounters): make the while loop a for loop
8652 (cutSelection): temp var for ownerParagraphs().end()
8653 (updateInset): make the do {} while() a regular for loop
8654 (getCursorX): use temp vars
8655 (setCurrentFont): use temp vars
8656 (getColumnNearX): use temp vars
8658 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8660 * text.C (transformChar): use temp var for getChar
8661 (computeBidiTables): use temp var for row->par()
8662 (fill): move temp vars for row->par() and pit->layout() earlier in
8664 (labelFill): use temp var for row->par()
8665 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8666 asc and desc, realize that pit never changes and that firstpit is
8667 just a duplicate and not needed. Exchange rit->par() with pit in a
8669 (breakAgain): use a temp var for boost::next(rit)
8670 (breakAgainOneRow): ditto
8671 (breakParagraph): use a temp var for rows().begin()
8672 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8673 (cursorRightOneWord): use temp var for cursor.par() and
8674 cursor.pos(), remove usage of tmpcursor.
8675 (cursorLeftOneWord): use temp var for cursor.par() and
8676 cursor.pos() only set cur at end of function.
8678 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8680 * text.C, text2.C: exchange all usage of Paragraph::next with
8681 boost::next(ParagraphList::iterator)
8683 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8685 * text2.C (cursorTop): simplify implementation
8686 (cursorBottom): ditto
8687 (setParagraph): use ParagraphList::iterator
8688 (setCurrentFont): adjust
8689 (getColumnNearX): adjust
8690 (cursorRight): adjust
8691 (cursorLeft): remove usage of Paragraph::previous
8692 (cursorUpParagraph): ditto
8693 (deleteEmptyParagraphMechanism): slight cleanup
8695 * text.C (isBoundary): take a Paragraph const & instead of a
8697 (addressBreakPoint): ditto
8698 (leftMargin): remove usage of Paragraph::previous.
8699 (setHeightOfRow): ditto
8700 (cursorLeftOneWord): ditto
8701 (selectNextWordToSpellcheck): ditto
8704 (breakParagraph): remove one usage of Paragraph::next
8705 (redoParagraph): ditto
8706 (acceptChange): ditto
8707 (insertChar): adjust
8708 (rowBreakPoint): adjust
8710 * bufferview_funcs.C (toggleAndShow): adjust
8712 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8714 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8715 methods to access it.
8717 * text.C: Added updateRowPositions to compute all row positions.
8718 Make top_y and getRowNearY() to use the cached y position
8720 2003-04-11 John Levon <levon@movementarian.org>
8722 * text.C (rowBreakPoint): reintroduce the labelEnd
8723 checks, code copied from the row fill stuff. Deep voodoo.
8725 * text.C (fill): add a comment and debugging for the
8728 2003-04-11 John Levon <levon@movementarian.org>
8730 * text.C: make sure fullrow insets get wrapped to the next line,
8731 even when they're in a manual label
8733 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8735 * text2.C (insertParagraph): make it take ParagraphList::iterator
8737 (setLayout): make it return ParagraphList::iterator
8738 (redoParagraphs): ditto
8740 (checkParagraph): ditto
8742 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8744 * text2.C: adjust several funcs.
8745 (realizeFont): take a ParagraphList::iterator as arg.
8746 (getLayoutFont): ditto
8747 (getLabelFont): ditto
8748 (setCharFont): ditto
8750 * text.C: adjust several funcs.
8752 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8754 * text.C (selectNextWordToSpellcheck): don't accidentally
8757 2003-04-10 John Levon <levon@movementarian.org>
8759 * ToolbarBackend.C (getIcon): special handling for
8762 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8764 * text2.C (cursorRight): a getChar assert fixed
8766 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8768 * text2.C (getFont): change to take a ParagraphList::iterator
8769 instead of Paragraph*
8770 Adjust several functions.
8772 * text.C (transformChar): change to take a ParagraphList::iterator
8773 instead of Paragraph*
8774 (singleWidth): ditto
8775 Adjust several functions.
8777 * rowpainter.C: adjust several functions
8778 * rowpainter.h:store a ParagraphList::iterator and not a
8782 2003-04-09 John Levon <levon@movementarian.org>
8787 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8788 and the "help" bits as well
8790 2003-04-09 John Levon <levon@movementarian.org>
8793 * ToolbarBackend.C: allow multiple toolbars
8795 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8797 * undo_funcs.C (setCursorParUndo): adjust
8799 * text_funcs.C (transposeChars): adjust
8801 * text3.C (gotoNextInset): adjust
8804 * text2.C (setLayout): adjust
8805 (changeDepth): adjust
8807 (redoParagraphs): adjust
8808 (selectionAsString): adjust
8809 (setParagraph): adjust
8810 (insertInset): adjust
8811 (cutSelection): adjust
8812 (copySelection): adjust
8813 (pasteSelection): adjust
8814 (insertStringAsLines): adjust
8815 (updateInset): adjust
8816 (setCursor): change to take a ParagraphList::iterator parameter
8817 (setCursorIntern): change to take a ParagraphList::iterator parameter
8818 (setCurrentFont): adjust
8819 (cursorLeft): adjust
8820 (cursorRight): adjust
8821 (deleteEmptyParagraphMechanism): adjust
8823 * text.C (breakParagraph): adjust
8824 (insertChar): adjust
8825 (acceptChange): adjust
8826 (rejectChange): adjust
8827 (selectNextWordToSpellcheck): adjust
8828 (changeCase): adjust
8832 * lyxfind.C (SearchForward): adjust
8833 (SearchBackward): adjust
8834 (nextChange): adjust
8836 * lyxcursor.C (par): adjust
8838 * lyxcursor.h: store a ParagraphList::iterator instead of a
8841 * lyx_cb.C (getPossibleLabel): adjust
8843 * bufferview_funcs.C (toggleAndShow): adjust
8845 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8848 * BufferView.C (removeAutoInsets): adjust
8849 (lockedInsetStoreUndo): adjust
8851 2003-04-09 John Levon <levon@movementarian.org>
8853 * ToolbarBackend.C: try icon without argument
8854 if with argument fails
8856 2003-04-08 John Levon <levon@movementarian.org>
8859 * ToolbarBackend.C: add getIcon(), handle tooltip,
8860 and change from "Icon" to "Item".
8862 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8864 * BufferView.C (lockInset): another bad getchar crunched
8866 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8868 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8871 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8873 * lyxfind.C (searchForward, searchBackwards): bug 782
8875 2003-04-07 John Levon <levon@movementarian.org>
8877 * paragraph.C: remove dead comment
8879 * text.C: remove troublesome depth-fiddling code
8880 in leftMargin() and rightMargin() (bug 1017)
8882 * text.C: fix breaking of rows in nested lists
8885 * text2.C (updateCounters): fix up depth values
8888 2003-04-07 John Levon <levon@movementarian.org>
8890 * BufferView_pimpl.C: clear message when doc finishes resizing,
8891 and after a mouse event
8893 * lyxfunc.C: clear message after exiting inset
8895 2003-04-07 John Levon <levon@movementarian.org>
8897 * bufferview_funcs.C: show math status not outside
8898 status in the statusbar
8900 2003-04-07 John Levon <levon@movementarian.org>
8902 * lyxfunc.C: note status changed after a depth change
8904 2003-04-04 Angus Leeming <leeming@lyx.org>
8906 * LaTeX.h: move AuxInfo operator==, != out of line.
8907 Remove LaTeX virtual destructor; nothing derives from it.
8908 Move operator()() out of public area and rename it startscript().
8909 Change protected for private.
8911 2003-04-04 Angus Leeming <leeming@lyx.org>
8914 * text2.C: remove unneeded #includes.
8916 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8918 * text2.C (dEPM): fix the heigth of the next row
8920 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8922 * text.C: squashed an invalid getChar requester + some ws changes
8924 2003-04-03 John Levon <levon@movementarian.org>
8926 * bufferview_funcs.h:
8927 * bufferview_funcs.C:
8930 * text2.C: make getStatus work for the env depth lfuns
8932 2003-04-03 John Levon <levon@movementarian.org>
8934 * bufferview_funcs.h:
8935 * bufferview_funcs.C:
8938 * text2.C: parlistize decDepth(), by merging it with incDepth()
8940 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8942 * lyxrow.h: store a ParagraphList::iterator instead of a
8943 Paragraph* and adjust other class functions to suit.
8945 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8948 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8950 * text2.C (setCursor): do not anchor to cursor row for the time being
8952 2003-04-02 John Levon <levon@movementarian.org>
8959 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8961 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8963 * paragraph.h: make ParagraphList and ParagraphList::iterator
8964 friends of Paragraph.
8966 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8968 * ParagraphList.C: Use the private next_ and previous_ from
8971 2003-04-01 John Levon <levon@movementarian.org>
8975 * Makefile.am: rename, remove defaults gunk
8978 * MenuBackend.C: remove defaults gunk
8981 * Languages.C: remove defaults gunk
8984 * lyx_main.C: error out if files couldn't be found.
8986 2003-04-02 John Levon <levon@movementarian.org>
8988 * text2.C: make incDepth() use parlist
8990 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8992 * undo_funcs.C (firstUndoParagraph): adjust
8994 * text3.C (gotoInset): adjust
8995 (dispatch): adjust, and rewrite loop.
8997 * text2.C (init): adjust, and rewrite loop.
8998 (redoParagraphs): adjust
8999 (updateInset): adjust, and rewrite loop.
9000 (deleteEmptyParagraphMechanism): adjust
9002 * tabular.C (LyXTabular): adjust
9003 (SetMultiColumn): adjust
9006 * lyxtext.[Ch] (ownerParagraph): delete function
9007 (ownerParagraphs): new function returns a ParagraphList.
9009 * BufferView.C (removeAutoInsets): adjust
9010 (insertErrors): adjust
9011 (setCursorFromRow): adjust
9013 2003-04-01 Angus Leeming <leeming@lyx.org>
9015 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9018 2003-04-02 John Levon <levon@movementarian.org>
9024 * text_funcs.C: make transposeChars a free function
9026 * lyxrow_funcs.C: remove wrong comment
9028 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9031 * rowpainter.C: adjust
9036 * lyxrow_funcs. [Ch]: new files
9038 * lyxrow.[Ch]: remove next and previous pointers
9039 (next,previous): remove accessor functions
9040 (isParEnd): move to lyxrow_funcs
9041 (lastPos): move to lyxrow_funcs
9042 (nextRowIsAllInset): move to lyxrow_funcs
9043 (lastPrintablePos): move to lyxrow_funcs
9044 (numberOfSeparators): move to lyxrow_funcs
9045 (numberOfHfills): move to lyxrow_funcs
9046 (numberOfLabelHfills): move to lyxrow_funcs
9047 (hfillExpansion): move to lyxrow_funcs
9051 * bufferview_funcs.C (toggleAndShow): adjust
9053 * RowList.h: Remove class RowList from file leave just a
9056 * RowList.C: delete file
9058 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9061 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9063 * text3.C (cursorPrevious): adjust
9064 (cursorNext): adjust
9067 * text2.C (redoHeightOfParagraph): adjust
9068 (redoDrawingOfParagraph): adjust
9071 * text.C (breakParagraph): adjust
9072 (insertChar): adjust
9075 * rowpainter.C (RowPainter): adjust
9076 (leftMargin): simplify and adjust
9077 (most rowpainter functions): adjust.
9079 * rowpainter.h: store the row as RowList::iterator not as Row*
9081 * lyxcursor.C (row): taka RowList::iterator as arg
9084 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9087 2003-04-01 Angus Leeming <leeming@lyx.org>
9089 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9090 stuff like bool Bool.
9092 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9094 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9097 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9099 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9102 * lyxtext.h (rows): drop one version and leve a const variant that
9103 returns a RowList::iterator.
9105 2003-03-31 Angus Leeming <leeming@lyx.org>
9107 * text.C (fill): ensure that the signature is the same as that in the
9110 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9112 * text2.C (redoParagraphs): adjust
9113 (updateCounters): adjust
9114 (checkParagraph): adjust
9115 (getColumnNearX): adjust and reformat a bit.
9117 * text.C (top_y): adjust
9119 (leftMargin): adjust
9120 (prepareToPrint): adjust
9122 (getRowNearY): adjust
9124 * lyxtext.h: make rowlist_ mutable.
9126 * RowList.h: add const_iterator
9127 * RowList.C: adjust for RowList::const_iterator.
9129 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9132 2003-03-31 John Levon <levon@movementarian.org>
9135 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9137 * lyx_main.C: set default fonts from using lyx_gui funcs
9139 * exporter.C: pdf_mode moved from lyxrc
9142 * lyxfunc.C: changes from above
9144 2003-03-31 John Levon <levon@movementarian.org>
9146 * lyx_main.C: fix to the last fix
9148 2003-03-31 John Levon <levon@movementarian.org>
9150 * bufferlist.C: "Load original" -> "Load Original"
9156 * format.C: more Alert cleanups
9158 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9160 * text2.C (removeParagraph): make it take a RowList::iterator as
9162 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9163 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9165 * text.C (anchor_row): make it take a RowList::iterator as arg,
9167 (computeBidiTables): make it take a const reference to Row instead
9168 of Row pointer, adjust.
9169 (leftMargin): make it take a RowList::iterator as arg, adjust.
9170 (rowBreakPoint): adjust
9171 (breakAgainOneRow): make it take a RowList::iterator as arg,
9173 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9175 * bufferview_funcs.C (toggleAndShow): adjust
9177 2003-03-30 John Levon <levon@movementarian.org>
9181 * boost-inst.C: moved to support
9183 * several files: changes as a result
9185 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9187 * text2.C (LyXText): adjust.
9189 (removeRow): make it take a RowList::iterator as arg, adjust.
9190 (fullRebreak): adjust
9191 (deleteEmptyParagraphMechanism): adjust
9192 (clearPaint): adjust
9195 * text.C (top_y): adjust
9196 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9197 (breakAgain): make it take a RowList::iterator as arg, adjust.
9198 (breakParagraph): adjust
9199 (insertChar): adjust
9202 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9203 need_break_row, and refresh_row.
9205 * text3.C (dispatch): adjust
9207 * text2.C (checkParagraph): adjust
9209 (setCursorFromCoordinates): adjust
9211 * text.C (top_y): adjust
9213 (getRow): make it return a RowList::iterator, adjust
9214 (getRowNearY): make it return a RowList::iterator, adjust
9216 * text2.C (init): adjust
9217 (insertRow): remove function
9218 (insertParagraph): adjust
9219 (redoParagraphs): adjust
9220 (fullRebreak): adjust
9221 (updateCounters): adjust
9223 * text.C (top_y): rewrite to use RowList iterators.
9225 (setHeightOfRow): rewrite to sue RowList iterators.
9226 (appendParagraph): adjust
9227 (breakAgain): adjust
9228 (breakAgainOneRow): adjust
9229 (breakParagraph): adjust
9231 (getRowNearY): adjust, and remove commented code.
9233 * lyxtext.h (firstRow): delete function
9234 (lastRow): delete function
9235 (rows): new function (const and non-const versions.)
9236 (insertRow): delete function
9238 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9240 2003-03-29 John Levon <levon@movementarian.org>
9242 * BufferView_pimpl.C: always update scrollbar top
9243 because pasting text when we're anchored could mean we
9244 miss an update altogether
9246 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9248 * text2.C (init): use rowlist_.end() and not 0.
9249 (insertRow): change to take a RowList::iterator as arg, adjust
9251 (insertParagraph): change to take a RowList::iterator as arg,
9253 (redoParagraphs): remove some debug msgs.
9255 * text.C (appendParagraph): change to take a RowList::iterator
9256 arg, adjust for this.
9257 (breakAgain): add an assert
9258 (breakAgainOneRow): ditto
9260 2003-03-29 John Levon <levon@movementarian.org>
9262 * text2.C: do not clear selection after inc/decDepth
9265 2003-03-29 John Levon <levon@movementarian.org>
9268 * buffer.C: fix broken strerrors according to Lars
9270 2003-03-29 John Levon <levon@movementarian.org>
9272 * converters.C: more Alert cleanups
9274 2003-03-29 John Levon <levon@movementarian.org>
9276 * bufferview_funcs.C: remove pointless Alert
9278 * buffer.C: fix confusing error message when
9279 a template is chmoded 000
9281 2003-03-29 John Levon <levon@movementarian.org>
9285 * BufferView_pimpl.C: Alert fixes
9289 * tabular-old.C: remove unused table compat reading
9291 2003-03-29 John Levon <levon@movementarian.org>
9296 * lyx_cb.C: more Alert cleanups
9298 * lyxfunc.C: don't allow chktex if not latex document
9300 2003-03-29 John Levon <levon@movementarian.org>
9304 * buffer.C: warnings pushed down from support/,
9307 2003-03-29 John Levon <levon@movementarian.org>
9309 * lyxfunc.C: safety check for C-r (revert)
9311 2003-03-29 John Levon <levon@movementarian.org>
9314 * bufferlist.C: several UI fixes using Alert::prompt.
9315 Fix the pointless looping quit code. Fix stupid revert
9320 * lyx_cb.C: use Alert::prompt
9322 * lyx_main.C: remove a silly question
9324 * lyxfunc.C: remove a couple of silly questions,
9327 2003-03-28 John Levon <levon@movementarian.org>
9329 * text2.C: fix bug 974 (End on empty par)
9331 2003-03-28 John Levon <levon@movementarian.org>
9333 * BufferView_pimpl.C:
9335 * lfuns.h: remove do-nothing math greek lfuns
9337 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9339 * lyxgluelength.h (isValidGlueLength): add default arg on
9340 parameter 2. Remove default arg from friend in class.
9342 * lyxlength.h (isValidLength): add default arg on parameter 2.
9343 Remove default arg from friend in class.
9345 * text2.C (LyXText): adjust, initialize refresh_row.
9349 (insertParagraph): adjst
9350 (redoParagraphs): adjust
9351 (fullRebreak): adjust
9352 (updateCounters): adjust
9353 (deleteEmptyParagraphMechanism): first attempt at fixing a
9356 * text.C (top_y): adjust
9357 (setHeightOfRow): adjust
9359 (getRowNearY): adjust
9361 * lyxtext.h: include RowList.h
9362 (~LyXText): not needed anymore, deleted.
9363 (firstRow): modify for RowList
9364 (lastRow): new function
9365 Delete firstrow and lastrow class variables, add a Rowlist
9366 rowlist_ class variable.
9368 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9371 * RowList.C (insert): fix case where it == begin().
9373 2003-03-26 Angus Leeming <leeming@lyx.org>
9375 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9376 the thesaurus dialog.
9378 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9380 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9382 * RowList.[Ch]: new files
9384 * ParagraphList.C (erase): handle the case where it == begin
9387 2003-03-25 John Levon <levon@movementarian.org>
9391 * aspell.C: add new aspell support
9394 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9397 2003-03-25 Angus Leeming <leeming@lyx.org>
9400 * LyXAction.C (init): new LFUN_INSET_INSERT.
9402 * BufferView_pimpl.C (dispatch): split out part of the
9403 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9405 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9408 2003-03-25 Angus Leeming <leeming@lyx.org>
9410 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9412 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9415 * text3.C: remove useless row->height(0)
9417 2003-03-25 John Levon <levon@movementarian.org>
9421 * text3.C: rename the refreshing stuff to better names
9423 2003-03-24 John Levon <levon@movementarian.org>
9425 * BufferView_pimpl.h:
9426 * BufferView_pimpl.C: update layout choice on a mouse
9429 2003-03-23 John Levon <levon@movementarian.org>
9431 * Makefile.am: fix commandtags.h reference
9433 2003-03-22 John Levon <levon@movementarian.org>
9435 * BufferView_pimpl.C:
9440 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9442 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9445 * text.C: take the rtl methods out of line
9447 2003-03-21 André Pönitz <poenitz@gmx.net>
9449 * metricsinfo.[Ch]: new files containing structures to be passed around
9450 during the two-phase-drawing...
9452 2003-03-21 André Pönitz <poenitz@gmx.net>
9454 * lyxtextclass.C: read 'environment' tag.
9456 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9458 * text2.C (removeRow): fix bug 964
9460 2003-03-20 John Levon <levon@movementarian.org>
9464 * text2.C: paint cleanups. Inset::update() dropped font
9467 2003-03-19 John Levon <levon@movementarian.org>
9469 * lyxfunc.C: only fitcursor/markDirty if available()
9471 2003-03-19 John Levon <levon@movementarian.org>
9473 * commandtags.h: rename to ...
9475 * lfuns.h: ... this, and renumber / cleanup
9477 2003-03-19 John Levon <levon@movementarian.org>
9479 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9480 fit the cursor after an lfun
9484 * BufferView_pimpl.h:
9485 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9487 * LyXAction.C: layout-character should have ReadOnly
9489 * ParagraphParameters.C:
9491 * bufferview_funcs.C:
9498 * undo_funcs.C: changes from above
9500 2003-03-18 John Levon <levon@movementarian.org>
9502 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9503 remove it from update()
9505 * lyxfunc.C: update layout choice after an lfun
9507 * text3.C: remove extra updateLayoutChoice()s
9509 2003-03-18 John Levon <levon@movementarian.org>
9511 * text.C: top_y change means full repaint, fix
9512 a drawing bug with cursor movement
9514 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9518 * text2.C: anchor row on setCursor
9520 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9522 * lyxtext.h: remove almost all mutable keywords
9525 * text3.C: remove const keywords accordingly
9527 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9529 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9531 (TeXEnvironment): ditto
9534 2003-03-17 John Levon <levon@movementarian.org>
9536 * text.C (rowBreakPoint): remove attempt to fix displayed
9537 math insets inside a manual label
9539 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9541 * lyxtext.h: remove BufferView* as first arg from almost all class
9543 * other files: adjust.
9545 2003-03-17 John Levon <levon@movementarian.org>
9549 * text2.C: more paint cleanups
9551 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9554 * rowpainter.C: remove "smart" background painting code
9556 2003-03-16 John Levon <levon@movementarian.org>
9561 * text3.C: add helper functions for setting refresh_row/y
9563 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9565 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9566 newline inset which *can* get inserted in the pass_thru layouts.
9567 This is primarily for literate documents.
9569 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9571 * buffer.C: increment LYX_FORMAT to 223
9573 2003-03-14 André Pönitz <poenitz@gmx.net>
9575 * textclass.h: prepare for environment handling, ws changes
9576 * lyxlayout.C: read latexheader and latexfooter tags
9578 2003-03-14 John Levon <levon@movementarian.org>
9580 * text2.C: rewrite ::status() a bit
9582 2003-03-13 John Levon <levon@movementarian.org>
9584 * lyxtext.h: add some docs
9586 2003-03-13 John Levon <levon@movementarian.org>
9591 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9593 2003-03-13 John Levon <levon@movementarian.org>
9595 * text3.C: fix appendix redrawing
9597 2003-03-13 John Levon <levon@movementarian.org>
9599 * text.C (setHeightOfRow):
9601 * rowpainter.C: make appendix mark have the text
9602 "Appendix" so the user knows what it is
9605 * LColor.C: s/appendixline/appendix/ from above
9607 2003-03-13 John Levon <levon@movementarian.org>
9609 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9611 * text.C: fix a getChar(pos) bug properly
9613 2003-03-13 Angus Leeming <leeming@lyx.org>
9616 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9617 Probably only temporary. Let's see how things pan out.
9619 * BufferView.C (unlockInset):
9620 * BufferView_pimpl.C (fitCursor):
9621 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9623 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9624 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9626 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9627 new functions that convert ParagraphParameters to and from a string.
9629 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9630 BufferView::Pimpl's dispatch.
9631 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9633 2003-03-13 André Pönitz <poenitz@gmx.net>
9637 * factory.C: make it aware of InsetEnv
9639 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9641 * text2.C (setCursor): never ask for one past last
9642 (setCursor): add some debugging messages.
9644 * text.C (singleWidth): never ask for one past last
9645 (singleWidth): ditto
9647 (rightMargin): ditto
9648 (rowBreakPoint): ditto
9649 (setHeightOfRow): ditto
9650 (prepareToPrint): ditto
9652 * rowpainter.C (paintBackground): never ask for one past last
9653 (paintText): never ask for one past last
9655 * paragraph_pimpl.C (getChar): make the assert stricter, never
9656 allow the one past last pos to be taken
9658 * paragraph.C (getChar): ws changes only
9660 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9661 (numberOfSeparators): ditto
9662 (numberOfHfills): ditto
9664 2003-03-12 John Levon <levon@movementarian.org>
9670 * paragraph_funcs.C: fix per-buffer authorlists
9672 2003-03-12 John Levon <levon@movementarian.org>
9674 * text.C: fix newline in right address
9676 2003-03-12 Angus Leeming <leeming@lyx.org>
9678 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9679 duplicate those in LyXFunc::dispatch.
9683 * ToolbarDefaults.C:
9684 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9685 Add LFUN_FONTFREE_UPDATE.
9687 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9688 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9690 * bufferview_func.[Ch]: several new functions to facilliate
9691 transfer of data to and from the character dialog.
9693 2003-03-12 John Levon <levon@movementarian.org>
9698 * paragraph_funcs.C:
9699 * paragraph_pimpl.C:
9703 * text3.C: remove META_NEWLINE in favour of an inset
9706 * rowpainter.C: remove paintNewline (done by inset)
9708 2003-03-12 John Levon <levon@movementarian.org>
9710 * paragraph_pimpl.C: complain about bad getChar()s
9711 for a while at least
9713 2003-03-12 John Levon <levon@movementarian.org>
9716 * buffer.C: move paragraph read into a separate function,
9717 a little renaming to reflect that.
9720 * bufferparams.C: remove the author_ids map, not necessary now
9723 * factory.C: moved Buffer::readInset to here
9725 * paragraph_funcs.h:
9726 * paragraph_funcs.C: readParagraph free function moved from
9729 * tabular.C: name change
9731 2003-03-12 John Levon <levon@movementarian.org>
9734 * ParagraphParameters.C: move par params input to
9737 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9738 behave like a normal read from the stream wrt reading
9739 a line vs. a \\token
9741 2003-03-12 John Levon <levon@movementarian.org>
9744 * ParagraphParameters.h:
9745 * ParagraphParameters.C: move output code to a
9748 2003-03-12 John Levon <levon@movementarian.org>
9750 * BufferView.C (insertLyXFile):
9753 * tabular.C: use a parlist iterator for creating the
9756 2003-03-12 John Levon <levon@movementarian.org>
9758 * buffer.C: make current_change static local not
9761 2003-03-12 John Levon <levon@movementarian.org>
9763 * buffer.C: fix insertStringAsLines for change tracking
9765 2003-03-12 John Levon <levon@movementarian.org>
9772 * bufferparams.C: move author list into params. Rename some
9773 functions. Move the header reading into a separate token
9774 loop. Move the header token reading into BufferParams.
9776 2003-03-12 John Levon <levon@movementarian.org>
9778 * changes.C: put debug inside lyxerr.debugging() checks
9780 2003-03-11 André Pönitz <poenitz@gmx.net>
9782 * factory.C: make it aware of InsetHFill
9784 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9786 * buffer.C (latexParagraphs): move function from here...
9787 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9790 2003-03-10 Angus Leeming <leeming@lyx.org>
9792 * LyXAction.C (init): fix bug in poplating array with multiple entries
9793 with the same LFUN (spotted by JMarc).
9795 2003-03-10 John Levon <levon@movementarian.org>
9798 * text2.C: move getColumnNearX() near its
9801 2003-03-10 John Levon <levon@movementarian.org>
9803 * text.C: fix break before a minipage
9805 2003-03-10 John Levon <levon@movementarian.org>
9807 * text.C: fix the last commit
9809 2003-03-09 John Levon <levon@movementarian.org>
9813 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9814 bug 365 (don't break before insets unless needed). Don't
9815 return a value > last under any circumstances.
9817 2003-03-09 Angus Leeming <leeming@lyx.org>
9819 * BufferView_pimpl.C (trackChanges, dispatch): call
9820 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9822 2003-03-09 Angus Leeming <leeming@lyx.org>
9824 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9825 than Dialogs::showAboutlyx().
9827 2003-03-09 Angus Leeming <leeming@lyx.org>
9829 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9830 than Dialogs::showTabularCreate().
9832 2003-03-09 John Levon <levon@movementarian.org>
9836 * text2.C: 3rd arg to nextBreakPoint was always the same.
9839 2003-03-08 John Levon <levon@movementarian.org>
9846 * text2.C: Remove the "main" bit from the "main body"
9849 2003-03-08 John Levon <levon@movementarian.org>
9851 * text.C (leftMargin): The left margin of an empty
9852 manual label paragraph should not include the label width
9855 * text.C (prepareToPrint): don't attempt to measure hfills
9856 for empty manual label paragraphs - the answer should be 0
9858 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9860 * CutAndPaste.C: remove commented code and reindent.
9862 2003-03-08 John Levon <levon@movementarian.org>
9865 * lyxfunc.C: move reloadBuffer()
9868 * BufferView.C: to here
9870 * lyxvc.C: add comment
9873 * vc-backend.C: call bv->reload() to avoid
9874 getStatus() check on MENURELOAD
9876 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9878 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9879 to an old format .dep file.
9881 2003-03-07 Angus Leeming <leeming@lyx.org>
9883 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9884 when the LFUN_MOUSE_RELEASE should have been handled by
9885 inset->localDispatch.
9887 2003-03-07 Angus Leeming <leeming@lyx.org>
9889 * BufferView_pimpl.C (dispatch):
9890 * LyXAction.C (init):
9891 * ToolbarDefaults.C (init):
9893 * lyxfunc.C (getStatus):
9894 remove LFUN_INSET_GRAPHICS.
9896 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9898 2003-03-07 Angus Leeming <leeming@lyx.org>
9901 * LyXAction.C (init):
9902 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9904 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9907 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9909 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9910 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9912 2003-03-07 Angus Leeming <leeming@lyx.org>
9914 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9917 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9919 * ParagraphList.C (front): new function
9922 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9924 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9925 and top_row_offset_. removed var first_y.
9927 * text2.C (LyXText, removeRow):
9929 * BufferView_pimpl.C:
9930 use these methods instead of using first_y
9932 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9934 * text2.C (pasteSelection): adjust for checkPastePossible
9936 * CutAndPaste.C: remove Paragraph * buf and replace with
9937 ParagraphList paragraphs.
9938 (DeleteBuffer): delete
9939 (cutSelection): change the tc type to textclass_type
9940 (copySelection): change the tc type to textclass_type
9941 (copySelection): adjust for ParagraphList
9942 (pasteSelection): change the tc type to textclass_type
9943 (pasteSelection): adjust for Paragraphlist
9944 (nrOfParagraphs): simplify for ParagraphList
9945 (checkPastePossible): simplify for ParagraphList
9946 (checkPastePossible): remove unused arg
9948 * ParagraphList.C (insert): handle the case where there are no
9951 * CutAndPaste.h: make CutAndPaste a namespace.
9953 * text3.C (dispatch): adjust
9955 * text.C (breakParagraph): add a ParagraphList as arg
9957 * paragraph_funcs.C (breakParagraph): change to take a
9958 BufferParams and a ParagraphList as args.
9959 (breakParagraphConservative): ditto
9960 (mergeParagraph): ditto
9961 (TeXDeeper): add a ParagraphList arg
9962 (TeXEnvironment): ditto
9965 * buffer.C (readLyXformat2): adjust
9966 (insertStringAsLines): adjust
9967 (latexParagraphs): adjust
9969 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9970 (cutSelection): adjust
9971 (pasteSelection): adjust
9973 * BufferView_pimpl.C (insertInset): adjust
9975 2003-03-05 Angus Leeming <leeming@lyx.org>
9978 * LyXAction.C (init):
9979 * BufferView_pimpl.C (dispatch):
9980 * lyxfunc.C (getStatus):
9981 remove LFUN_CHILD_INSERT.
9983 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9985 2003-03-05 Angus Leeming <leeming@lyx.org>
9988 * LyXAction.C (init):
9989 * src/factory.C (createInset):
9990 * lyxfunc.C (getStatus):
9991 * text3.C (dispatch):
9992 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9994 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9996 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9998 * ParagraphList.C (insert): handle insert right before end()
9999 (erase): fix cases where it can be first or last paragraph.
10001 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10003 * paragraph_funcs.C (TeXEnvironment): remove all usage of
10004 Paragraph::next and Paragraph::previous
10007 * text.C (breakParagraph): adjust
10009 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10010 BufferParams& as arg.
10011 (breakParagraph): use ParagraphList::insert
10012 (breakParagraphConservative): take a Buffer* instead of a
10013 BufferParams& as arg.
10014 (breakParagraphConservative): use ParagraphList::insert.
10016 * buffer.C (insertStringAsLines): un-const it
10017 (insertStringAsLines): adjust
10019 * ParagraphList.C (insert): new function
10021 * CutAndPaste.C (pasteSelection): adjust
10023 * text.C (backspace): adjust
10025 * tabular.C (SetMultiColumn): adjust
10027 * CutAndPaste.C (cutSelection): adjust
10028 (pasteSelection): adjust
10030 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10031 Buffer const * as arg
10033 * ParagraphList.C (erase): new function
10034 * paragraph_funcs.C (mergeParagraph): use it
10035 (mergeParagraph): make it take a Buffer* instead of a
10036 BufferParams* as arg
10038 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10040 (breakParagraphConservative): ditto
10042 * paragraph.h: remove the breakParagraph friend
10044 * paragraph.C (eraseIntern): new function
10045 (setChange): new function
10047 * paragraph_funcs.C (mergeParagraph): make it take a
10048 ParagraphList::iterator instead of a Paragraph *, adjust
10051 * paragraph.h: move an #endif so that the change tracking stuff
10052 also works in the NO_NEXT case.
10054 2003-03-04 Angus Leeming <leeming@lyx.org>
10057 * LyXAction.C: new LFUN_INSET_MODIFY.
10059 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10060 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10062 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10064 * several files: ws changes only
10066 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10067 (TeXEnvironment): ditto
10070 * buffer.C (makeLaTeXFile): adjust
10071 (latexParagraphs): make it take ParagraphList::iterator as args
10073 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10075 * buffer.C (latexParagraphs): adjust
10077 * paragraph.C (TeXOnePar): move function...
10078 (optArgInset): move function...
10079 (TeXEnvironment): move function...
10080 * paragraph_pimpl.C (TeXDeeper): move function...
10081 * paragraph_funcs.C: ...here
10083 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10085 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10087 * buffer.C (readInset): remove compability code for old Figure and
10090 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10092 * buffer.C: ws changes
10095 * BufferView_pimpl.C: ditto
10098 * bufferlist.h: ditto
10102 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10104 * converter.[Ch]: split into itself +
10107 * Makefile.am: += graph.[Ch] + format.[Ch]
10114 * lyxrc.C: added #include "format.h"
10116 2003-02-27 Angus Leeming <leeming@lyx.org>
10118 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10121 * factory.C (createInset): add "label" to the factory.
10123 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10124 string and do no more.
10126 2003-02-27 Angus Leeming <leeming@lyx.org>
10129 * LyXAction.C (init):
10130 * factory.C (createInset):
10131 * BufferView_pimpl.C (dispatch):
10132 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10134 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10136 * lyxfunc.C (dispatch):
10137 * text3.C (dispatch): pass name to params2string.
10139 2003-02-26 Angus Leeming <leeming@lyx.org>
10141 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10143 Rearrange the ~includes. Strip out the unnecessary ones.
10145 * factory.C (createInset): reformat.
10146 create new insets for the various LFUN_XYZ_APPLY lfuns.
10148 2003-02-26 John Levon <levon@movementarian.org>
10151 * lyxrow.C: add isParStart,isParEnd helpers
10153 * paragraph.h: make isInserted/DeletedText take refs
10155 * paragraph_funcs.h:
10156 * paragraph_funcs.C: remove #if 0'd code
10161 * text.C: use lyxrow helpers above.
10162 Move draw and paint routines to RowPainter.
10163 Make several methods use refs not pointers.
10164 Make backgroundColor() const.
10165 Add markChangeInDraw(), isInInset().
10166 Merge changeRegionCase into changeCase.
10167 Make workWidth() shouldn't-happen code into an Assert.
10170 * rowpainter.C: new class for painting a row.
10173 * vspace.C: make inPixels take a ref
10175 2003-02-26 Angus Leeming <leeming@lyx.org>
10177 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10180 2003-02-25 John Levon <levon@movementarian.org>
10182 * ispell.C: give the forked command a more accurate name
10184 2003-02-22 John Levon <levon@movementarian.org>
10187 * toc.C: make TocItem store an id not a Paragraph *
10190 2003-02-21 Angus Leeming <leeming@lyx.org>
10192 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10193 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10194 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10195 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10196 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10197 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10199 * BufferView_pimpl.C (dispatch):
10200 * LyXAction.C (init):
10201 * factory.C (createInset):
10202 * lyxfunc.C (getStatus, dispatch):
10203 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10205 2003-02-21 Angus Leeming <leeming@lyx.org>
10207 * BufferView_pimpl.C (MenuInsertLyXFile):
10208 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10209 * lyxfunc.C (menuNew, open, doImport):
10210 no longer pass a LyXView & to fileDlg.
10212 2003-02-21 Angus Leeming <leeming@lyx.org>
10214 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10215 * LyXAction.C: change, BIBKEY to BIBITEM.
10216 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10217 Change InsetBibKey to InsetBibitem.
10218 Change BIBKEY_CODE to BIBITEM_CODE.
10219 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10220 * factory.C: replace insetbib.h with insetbibitem.h.
10221 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10222 * paragraph.C: replace insetbib.h with insetbibitem.h.
10223 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10224 Change bibkey() to bibitem().
10225 * text.C: remove insetbib.h.
10226 * text2.C: replace insetbib.h with insetbibitem.h.
10227 change bibkey() to bibitem().
10228 * text3.C: remove insetbib.h.
10229 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10231 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10233 * lyxrc.C (output): enclose user email in quotes (in case there are
10236 2003-02-18 John Levon <levon@movementarian.org>
10238 * buffer.h: add std::
10240 2003-02-17 John Levon <levon@movementarian.org>
10246 * pspell.C: reworking. Especially in ispell, a large
10247 number of clean ups and bug fixes.
10249 * lyxfunc.C: fix revert to behave sensibly
10251 2003-02-17 André Pönitz <poenitz@gmx.net>
10254 * commandtags.h: new LFUN_INSERT_BIBKEY
10264 * paragraph_func.C: remove special bibkey handling
10266 2003-02-17 John Levon <levon@movementarian.org>
10268 * text.C (Delete): fix case where delete at the end of
10269 the very first paragraph would not merge the pars
10271 2003-02-17 John Levon <levon@movementarian.org>
10273 * lyxrow.C: fix lastPrintablePos()
10275 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10277 * bufferparams.C (writeLaTeX): add a std:here
10279 * buffer.C: and remove a using directive there
10281 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10283 * buffer.C (makeLaTeXFile): move the code that generates the
10286 * bufferparams.C (writeLaTeX): ... in this new method
10288 * LaTeXFeatures.C (getEncodingSet): make const
10289 (getLanguages): make const
10291 * MenuBackend.C (binding): returns the binding associated to this
10293 (add): sets the status of each item by calling getStatus. Adds
10295 (read): add support for OptSubMenu
10296 (expand): remove extra separator at the end of expanded menu
10298 2003-02-15 John Levon <levon@movementarian.org>
10301 * BufferView_pimpl.C:
10303 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10304 inset code that had no actual effect. Remove unneeded status
10307 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10309 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10312 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10314 * text.C (drawLengthMarker): also draw an arrow marker for
10315 symbolic lengths (medskip...)
10317 2003-02-14 John Levon <levon@movementarian.org>
10320 * tabular.C: better method names
10322 2003-02-14 John Levon <levon@movementarian.org>
10324 * BufferView_pimpl.C:
10329 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10330 it's a more accurate name. Remove some pointless uses.
10332 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10334 * text2.C (LyXText): change order of initilizers to shut off
10337 2003-02-14 John Levon <levon@movementarian.org>
10339 * buffer.C: use ParIterator for getParFromID()
10343 * paragraph_pimpl.h:
10344 * paragraph_pimpl.C: remove unused getParFromID()
10346 2003-02-14 John Levon <levon@movementarian.org>
10348 * buffer.C: remove some very old #if 0'd parse code
10350 2003-02-13 John Levon <levon@movementarian.org>
10354 * text2.C: move hfillExpansion(), numberOfSeparators(),
10355 rowLast(), rowLastPrintable(), numberofHfills(),
10356 numberOfLabelHfills() ...
10359 * lyxrow.C: ... to member functions here.
10364 * text.C: remove LyXText::beginningOfMainBody(), and call
10365 p->beginningOfMainBody() directly. Move the check for
10366 LABEL_MANUAL into the latter.
10373 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10379 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10380 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10382 2003-02-13 John Levon <levon@movementarian.org>
10384 * CutAndPaste.C: remove debug
10386 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10388 * paragraph.C (asString): remove two unused variables
10390 * lyxtextclass.C (readTitleType):
10392 (LyXTextClass): handle new members titletype_ and titlename_
10394 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10396 2003-02-09 John Levon <levon@movementarian.org>
10399 * buffer.C: replace hand-coded list with a map for the dep clean
10401 2003-02-08 John Levon <levon@movementarian.org>
10403 * LaTeX.C: consolidate code into showRunMessage() helper
10405 2003-02-08 John Levon <levon@movementarian.org>
10410 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10411 and pass the size in explicitly
10413 * BufferView_pimpl.h:
10414 * BufferView_pimpl.C:
10416 * BufferView.C: add getCurrentChange()
10418 * BufferView_pimpl.h:
10419 * BufferView_pimpl.C: handle change lfuns
10421 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10422 for changes. Mark pasted paragraphs as new.
10424 * support/lyxtime.h:
10425 * support/lyxtime.C:
10426 * DepTable.C: abstract time_t as lyx::time_type
10429 * LColor.C: add colours for new text, deleted text, changebars
10431 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10432 package use "usenames" option.
10436 * LyXAction.C: add change lfuns
10440 * author.C: author handling
10443 * buffer.C: add a per-buffer author list, with first entry as
10444 current author. Handle new .lyx tokens for change tracking. Output
10445 author list to .lyx file. Output dvipost stuff to .tex preamble.
10446 Bump lyx format to 222.
10449 * bufferlist.C: add setCurrentAuthor() to reset current author details
10453 * bufferparams.C: add param for tracking
10455 * bufferview_funcs.C: output change info in minibuffer
10459 * changes.C: add change-tracking structure
10462 * debug.C: add CHANGES debug flag
10465 * lyxfind.C: add code for finding the next change piece
10468 * lyxrc.C: add user_name and user_email
10471 * lyxrow.C: add a metric for the top of the text line
10474 * text.C: implement accept/rejectChange()
10477 * text.C: paint changebars. Paint new/deleted text in the chosen
10478 colours. Strike through deleted text.
10482 * paragraph_pimpl.h:
10483 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10484 in the current change to the insert functions. Rework erase to
10485 mark text as deleted, adding an eraseIntern() and a range-based
10486 erase(). Implement per-paragraph change lookup and
10489 * paragraph_funcs.C: Fixup paste for change tracking.
10491 * tabular.C: mark added row/columns as new.
10493 * text.C: fix rowLast() to never return -1. Don't allow
10494 spellchecking of deleted text. Track transpose changes. Don't
10495 allow paragraph break or merge where appropriate.
10497 * text2.C: leave cursor at end of selection after a cut.
10499 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10501 * text.C (getLengthMarkerHeight):
10502 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10503 visible on screen too.
10505 2003-02-07 John Levon <levon@movementarian.org>
10507 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10509 2003-02-05 Angus Leeming <leeming@lyx.org>
10511 * lyxserver.C (read_ready): revert my patch of 11 September last year
10512 as it sends PC cpu through the roof. Presumably this means that
10513 the lyxserver will no longer run on an Alpha...
10515 2003-01-30 Angus Leeming <leeming@lyx.org>
10517 * factory.C (createInset): create an InsetCommandParam of type "index"
10518 and use it to 'do the right thing'.
10520 * text2.C (getStringToIndex): ensure that cursor position is always
10521 reset to the reset_cursor position.
10523 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10525 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10528 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10532 * lyxfunc.C: Output messages with identical spelling, punctuation,
10535 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10537 * MenuBackend.C (expandFormats): List only viewable export formats
10540 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10543 * lyxfunc.C (getStatus): Make sure that formats other than
10544 "fax" can also be disabled
10546 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10548 * text3.C (dispatch): put the lfuns that insert insets in 3
10549 groups, and call doInsertInset with appropriate arguments.
10550 (doInsertInset): new function, that creates an inset and inserts
10551 it according to some boolean parameters.
10553 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10555 * buffer.C (readFile): remember to pass on 'par' when calling
10556 readFile recursively.
10558 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10560 * MenuBackend.C (expandFormats): add "..." to import formats.
10562 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10564 * paragraph.C (asString): Remove XForms RTL hacks.
10566 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10567 * buffer.C: fix typo
10569 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10571 * Makefile.am (LIBS): delete var
10572 (lyx_LDADD): add @LIBS@ here instead.
10574 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10576 * Clarify the meaning of "wheel mouse jump"
10578 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10580 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10583 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10585 * importer.C (Loaders): do not preallocate 3 elements in the
10586 vector, since one ends up with 6 elements otherwise
10588 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10590 * DepTable.C (write): write the file name as last element of the
10591 .dep file (because it may contain spaces)
10592 (read): read info in the right order
10594 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10596 * paragraph_pimpl.C (simpleTeXBlanks):
10597 (simpleTeXSpecialChars):
10598 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10600 * tabular.C (latex): add some missing case statements. Reindent.
10602 * MenuBackend.C (expandToc): remove unused variable.
10604 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10613 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10616 2003-01-05 John Levon <levon@movementarian.org>
10619 * BufferView.C: add getEncoding()
10622 * kbsequence.C: do not store last keypress
10625 * lyxfunc.C: store last keypress here instead. Pass encoding
10628 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10630 * lyx_main.C (init): remove annoying error message when following
10631 symbolic links (bug #780)
10633 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10635 * text.C (insertChar):
10636 * lyxrc.C (getDescription): remove extra spaces
10638 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10640 * lyxrc.C (getDescription): remove extra spaces
10642 2002-12-20 John Levon <levon@movementarian.org>
10644 * text3.C: hack fix for page up/down across tall rows
10646 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10648 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10651 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10653 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10654 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10655 thesaurus is not compiled in
10657 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10659 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10661 2002-12-16 Angus Leeming <leeming@lyx.org>
10664 * lyx_main.C (init): remove override_x_deadkeys stuff.
10666 2002-12-12 John Levon <levon@movementarian.org>
10668 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10669 insert. Only remove shift modifier under strict
10672 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10674 * MenuBackend.C (expandToc): fix crash.
10676 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10678 * MenuBackend.C (expandToc): gettext on float names.
10680 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10682 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10683 implement bool empty() [bug 490]
10685 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10687 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10689 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10691 * several files: ws changes
10693 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10695 * text2.C (setCounter): clean up a bit, use boost.format.
10696 (updateCounters): initialize par upon declaration.
10698 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10699 if the layout exists. We do not just store the layout any more.
10700 (SwitchLayoutsBetweenClasses): use boost.format
10702 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10704 * converter.C (convert): if from and to files are the same, use a
10705 temporary files as intermediary
10707 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10710 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10712 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10714 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10716 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10718 * tabular.C (asciiPrintCell): use string(size, char) instead of
10721 * sgml.C (openTag): fix order of arguments to string constructor
10724 * lyxfunc.C (dispatch): use boost.format
10726 * lots of files: change "c" -> 'c'
10728 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10730 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10732 2002-11-25 Angus Leeming <leeming@lyx.org>
10734 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10736 * lyx_main.C (init): compile fix.
10738 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10740 * lyx_cb.C (start): boost.formatify
10741 do not include <iostream>
10743 * lengthcommon.C: ws only
10745 * boost-inst.C,BoostFormat.h: add more explict instantations
10747 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10749 * lots of files: handle USE_BOOST_FORMAT
10751 2002-11-21 John Levon <levon@movementarian.org>
10753 * pspell.C: fix compile
10755 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10757 * lyxfunc.C (dispatch): use boost::format
10761 * lyxfont.C (stateText): use boost::format
10763 * lyx_main.C (LyX): use boost::format
10765 (queryUserLyXDir): ditto
10766 (readRcFile): ditto
10768 (typedef boost::function): use the recommened syntax.
10770 * importer.C (Import): use boost::format
10772 * debug.C (showLevel): use boost::format
10774 * converter.C (view): use boost::format
10779 * bufferview_funcs.C (currentState): use boost::format
10781 * bufferlist.C (emergencyWrite): use boost::format
10783 * buffer.C (readLyXformat2): use boost::format
10784 (parseSingleLyXformat2Token): ditto
10786 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10788 * LaTeX.C (run): use boost::format
10790 * Chktex.C (scanLogFile): use boost::format
10792 * BufferView_pimpl.C (savePosition): use boost::format
10793 (restorePosition): ditto
10794 (MenuInsertLyXFile): ditto
10796 * BoostFormat.h: help file for explicit instation.
10798 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10800 * tabular.C (latex): Support for block alignment in fixed width
10803 2002-11-17 John Levon <levon@movementarian.org>
10805 * BufferView_pimpl.C:
10807 * lyxfunc.C: split filedialog into open/save
10809 2002-11-08 Juergen Vigna <jug@sad.it>
10811 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10812 by my last patch (hopefully).
10814 2002-11-08 John Levon <levon@movementarian.org>
10823 * toc.C: ParConstIterator, and use it (from Lars)
10825 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10827 * lyxtextclass.[Ch]: revise and add doxygen comments
10829 2002-11-07 John Levon <levon@movementarian.org>
10831 * text.C: fix progress value for spellchecker
10833 * toc.C: fix navigate menu for insetwrap inside minipage
10835 * paragraph_funcs.C: added FIXME for suspect code
10837 2002-11-07 John Levon <levon@movementarian.org>
10839 * BufferView_pimpl.C: fix redrawing of insets
10842 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10844 * text2.C (updateCounters): fix bug 668
10846 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10848 * text3.C (dispatch): Do not make the buffer dirty when moving the
10851 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10853 * vc-backend.C: STRCONV
10854 (scanMaster): ditto
10856 * text2.C (setCounter): STRCONV
10858 * paragraph.C (asString): STRCONV
10860 * lyxlength.C (asString): STRCONV
10861 (asLatexString): ditto
10863 * lyxgluelength.C (asString): STRCONV
10864 (asLatexString): ditto
10866 * lyxfunc.C (dispatch): STRCONV
10869 * lyxfont.C (stateText): STRCONV
10871 * importer.C (Import): STRCONV
10873 * counters.C (labelItem): STRCONV
10874 (numberLabel): ditto
10875 (numberLabel): remove unused ostringstream o
10880 * bufferview_funcs.C (currentState): STRCONV
10882 * buffer.C (readFile): STRCONV
10883 (asciiParagraph): ditto
10884 (makeLaTeXFile): ditto
10886 * Spacing.C (writeEnvirBegin): STRCONV
10888 * LaTeXFeatures.C (getLanguages): STRCONV
10889 (getPackages): ditto
10891 (getBabelOptions): ditto
10892 (getTClassPreamble): ditto
10893 (getLyXSGMLEntities): ditto
10894 (getIncludedFiles): ditto
10898 (scanAuxFile): ditto
10901 * LString.h: add the STRCONV macros
10903 * BufferView_pimpl.C (savePosition): STRCONV
10904 (restorePosition): ditto
10905 (MenuInsertLyXFile): ditto
10907 * vc-backend.C (scanMaster): change from submatch[...] to
10910 * funcrequest.C: include config.h
10912 * factory.C: include config.h
10914 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10916 * box.C: include config.h
10918 * LaTeX.C (scanAuxFile): change from submatch[...] to
10922 2002-10-25 Angus Leeming <leeming@lyx.org>
10924 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10926 * ispell.[Ch] (setError): new method.
10927 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10928 Use setError() insetead of goto END.
10930 * lyx_cb.C (AutoSave): move out child process into new class
10933 2002-10-30 John Levon <levon@movementarian.org>
10935 * text3.C: make start appendix undoable
10937 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10939 * lyxlength.C (inPixels): Fix returned value.
10941 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10944 2002-10-24 Angus Leeming <leeming@lyx.org>
10946 * lyxgluelength.h: no need to forward declare BufferParams
10947 or BufferView, so don't.
10949 2002-10-21 John Levon <levon@movementarian.org>
10951 * BufferView.C: menuUndo ->undo, redo
10953 * BufferView.h: document, remove dead, make some methods private
10955 * paragraph_funcs.h:
10956 * paragraph_funcs.C:
10957 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10962 * sgml.C: move sgml open/close tag into sgml.C
10964 * bufferview_funcs.h: unused prototype
10967 * lyxfunc.C: remove unused
10970 * text.C: remove unused
10972 2002-10-21 John Levon <levon@movementarian.org>
10976 * BufferView_pimpl.h:
10977 * BufferView_pimpl.C: fix mouse wheel handling based on
10978 patch from Darren Freeman
10980 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10982 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10984 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10986 * lyxlength.C (inPixels): Fix hanfling of negative length.
10987 Fix LyXLength::MU case.
10989 2002-10-16 John Levon <levon@movementarian.org>
10991 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10993 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10995 * converter.C (view): add support for $$i (file name) and $$p
10996 (file path) for the viewer command. If $$i is not specified, then
10997 it is appended to the command (for compatibility with old syntax)
10999 2002-10-14 Juergen Vigna <jug@sad.it>
11001 * undo_funcs.C (textHandleUndo): alter the order in which the
11002 new undopar is added to the LyXText, as we have to set first
11003 the right prev/next and then add it as otherwise the rebuild of
11004 LyXText is not correct. Also reset the cursor to the right paragraph,
11005 with this IMO we could remove the hack in "redoParagraphs()".
11007 2002-10-09 Angus Leeming <leeming@lyx.org>
11009 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11010 to turn off an optimisation if a new inset is to be inserted.
11012 2002-10-11 André Pönitz <poenitz@gmx.net>
11014 * lyxtext.h: make some functions public to allow access
11015 from inset/lyxtext for handling LFUN_PRIOR/NEXT
11017 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11019 * text3.C (dispatch): when changing layout, avoid an infinite loop
11022 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11024 * lyxrc.C (read): treat a viewer or converter command of "none" as
11027 * MenuBackend.C (expandFormats): for an update, also allow the
11028 formats that are not viewable
11030 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11031 script if it is newer than the lyxrc.defaults in user directory
11033 2002-10-07 André Pönitz <poenitz@gmx.net>
11035 * text.C: Vitaly Lipatov's small i18n fix
11037 2002-09-25 Angus Leeming <leeming@lyx.org>
11039 * ispell.h: doxygen fix.
11041 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11043 * buffer.h (readFile): Add a new argument to the method, to allow
11044 reading of old-format templates.
11046 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11048 * toc.C (getTocList): Get TOC from InsetWrap.
11050 2002-09-16 John Levon <levon@movementarian.org>
11052 * lyxfunc.C: check tabular for cut/copy too
11054 2002-09-12 John Levon <levon@movementarian.org>
11056 * LyXAction.C: tidy
11059 * factory.C: add header
11061 * paragraph_funcs.h:
11062 * paragraph_funcs.C: cleanup
11064 2002-09-11 John Levon <levon@movementarian.org>
11066 * PrinterParams.h: odd/even default to true
11068 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11070 * PrinterParams.h: update printer parameters for new xforms dialog
11072 2002-09-11 Angus Leeming <leeming@lyx.org>
11074 * lyxserver.C (read_ready): re-write to make it more transparent
11075 and to make it work in coherent fashion under Tru64 Unix.
11077 2002-09-11 André Pönitz <poenitz@gmx.net>
11081 * text3.C: implement LFUN_WORDSEL
11083 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11085 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11086 make floatlist_ a boost::shared_ptr<FloatList>
11088 * lyxtextclass.C: include FloatList.h
11089 (LyXTextClass): initialize floatlist_
11090 (TextClassTags): add TC_NOFLOAT
11091 (Read): match "nofloat" to TC_NOFLOAT and use it.
11092 (readFloat): modify call to floatlist_
11096 * FloatList.[Ch] (FloatList): remove commented out float
11098 (erase): new function
11100 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11102 * MenuBackend.C (expandToc): fix crash when there is no document
11105 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11107 * many files: Add insetwrap.
11109 2002-09-09 John Levon <levon@movementarian.org>
11111 * text2.C: remove confusing and awkward depth wraparound
11113 2002-09-09 John Levon <levon@movementarian.org>
11115 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11118 * buffer.C: remove getIncludeonlyList()
11121 * lyxfunc.C: remove headers
11123 2002-09-09 Juergen Vigna <jug@sad.it>
11125 * text.C (getColumnNearX): fix form Michael this is most
11126 probably a cut&paste bug.
11128 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11130 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11132 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11133 references, ws changes.
11135 * text2.C (init): update counters after init
11136 (insertParagraph): no need to set counter on idividual paragraphs.
11137 (setCounter): access the counters object in the textclass object
11138 on in the buffer object.
11139 (updateCounters): ditto
11141 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11142 shared_ptr<Counters> to avoid loading counters.h in all
11144 (LyXTextClass): initialize ctrs_
11145 (TextClassTags): add TC_COUNTER, and ...
11146 (Read): use it here.
11147 (CounterTags): new tags
11148 (readCounter): new function
11149 (counters): new funtion
11150 (defaultLayoutName): return a const reference
11152 * counters.C (Counters): remove contructor
11153 (newCounter): remove a couple of unneeded statements.
11154 (newCounter): simplify a bit.
11155 (numberLabel): some small formatting changes.
11157 * buffer.[Ch]: remove all traces of counters, move the Counters
11158 object to the LyXTextClass.
11160 2002-09-06 Alain Castera <castera@in2p3.fr>
11162 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11163 package to set the horizontal alignment on fixed width columns.
11166 * lyx_sty.h: added tabularnewline macro def.
11168 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11170 2002-09-06 John Levon <levon@movementarian.org>
11172 * LyXAction.C: tooltips for sub/superscript
11174 * MenuBackend.C: a bit more verbose
11176 * lyxfunc.C: tiny clean
11178 * undo_funcs.C: document undo_frozen
11180 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11182 * counters.C (Counters): add missing algorithm counter.
11184 * text2.C (setCounter): lookup the counter with layouts latexname
11185 instead of by section number.
11186 (setCounter): use a hackish way to lookup the correct enum
11188 a float name->type change
11189 reset enum couners with counter name directly instead of depth value.
11191 * counters.C (Counters): remove the push_backs, change to use the
11192 float type not the float name.
11193 (labelItem): remove unused string, float name->type change
11195 * counters.h: don't include vector, loose the enums and sects vectors
11197 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11199 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11200 (Read): add float->TC_FLOAT to textclassTags
11201 (Read): and handle it in the switch
11202 (readFloat): new function
11204 * FloatList.C (FloatList): comment out the hardcoded float
11207 * lyxlayout.h: ws change.
11209 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11211 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11213 2002-09-03 Angus Leeming <leeming@lyx.org>
11215 * BufferView_pimpl.h: qualified name is not allowed in member
11216 declaration: WorkArea & Pimpl::workarea() const;
11218 * factory.C: added using std::endl directive.
11220 * text3.C: added using std::find and std::vector directives.
11222 2002-08-29 André Pönitz <poenitz@gmx.net>
11225 * text2.C: remove unused member number_of_rows
11228 * BufferView2.C: remove file, move contents to...
11229 * BufferView.C: ... here
11231 * BufferView_pimpl.C:
11232 * factory.C: move more inset creation to factory
11234 * vspace.C: avoid direct usage of LyXText, ws changes
11237 don't provide direct access to WorkArea, use two simple
11238 acessors haveSelction() and workHeight() instead
11241 2002-08-29 John Levon <levon@movementarian.org>
11243 * BufferView_pimpl.C (dispatch): do not continue when
11246 2002-08-28 André Pönitz <poenitz@gmx.net>
11248 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11251 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11253 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11255 * buffer.C: increment LYX_FORMAT to 221
11257 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11258 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11260 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11262 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11264 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11266 * factory.C (createInset): use LyXTextClass::floats
11268 * MenuBackend.C (expandFloatListInsert):
11269 (expandFloatInsert):
11272 * text2.C (setCounter):
11274 * LaTeXFeatures.C (useFloat):
11275 (getFloatDefinitions):
11277 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11279 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11280 floatlist_, with accessor floats().
11282 * FloatList.h: remove global FloatList
11284 2002-08-26 André Pönitz <poenitz@gmx.net>
11286 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11290 * BufferView_pimpl.C:
11291 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11293 2002-08-25 John Levon <levon@movementarian.org>
11295 * LyXAction.C: fix margin note description
11297 2002-08-24 John Levon <levon@movementarian.org>
11301 * bufferview_funcs.C:
11303 * undo_funcs.C: cleanups
11305 * lyxfunc.C: disable CUT/COPY when no selection
11307 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11309 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11310 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11312 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11313 Add backward compatibility to "mono", "gray" and "no".
11315 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11317 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11318 (and file_format >= 200).
11320 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11322 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11324 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11326 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11328 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11330 * BufferView_pimpl.C:
11337 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11338 inset and code to make it work with the paragraph code. The inset
11339 can be anywhere in the paragraph, but will only do the expected
11340 thing in LaTeX if the layout file contains the parameter line
11342 (or more generally, a nonzero value) for that layout.
11344 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11346 * paragraph.h: remove the declaration of undefined counters class
11349 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11351 * text2.C (setCounter): fixed enumeration mis-count as reported by
11352 Dr. Richard Hawkins.
11354 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11356 * paragraph_funcs.h: remove some unneeded includes
11358 * text.C (backspace): pasteParagraph now in global scipe
11360 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11361 (pasteSelection): ditto
11363 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11364 * paragraph_funcs.C (pasteParagraph): ... here
11366 2002-08-20 André Pönitz <poenitz@gmx.net>
11368 * commandtags.h: new LFUNs for swapping/copying table row/colums
11371 * lyxfunc.C: support for new lfuns
11373 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11376 * buffer.[Ch]: remove NO_COMPABILITY stuff
11378 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11380 * boost.C (throw_exception): new file, with helper function for
11381 boost compiled without exceptions.
11386 * ParameterStruct.h:
11387 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11389 * bufferlist.C (emergencyWriteAll): use boost bind
11391 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11393 * text.C: include paragraph_funcs.h
11394 (breakParagraph): breakParagraph is now in global scope
11396 * paragraph_funcs.[Ch]: new files
11398 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11401 * buffer.C: include paragraph_funcs.h
11402 (insertStringAsLines): breakParagraph is now in global scope
11404 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11407 * CutAndPaste.C: include paragraph_funcs.h
11408 (cutSelection): breakParagraphConservative is now in global scope
11409 (pasteSelection): ditto
11411 * buffer.h: declare oprator== and operator!= for
11412 Buffer::inset_iterator
11414 * bufferlist.C (emergencyWrite): don't use fmt(...)
11416 * text3.C: add using std::endl
11418 * BufferView.C (moveCursorUpdate): remove default arg
11420 2002-08-20 André Pönitz <poenitz@gmx.net>
11422 * buffer.[Ch]: move inline functions to .C
11425 * BufferView_pimpl.C:
11427 * buffer.[Ch]: use improved inset_iterator
11430 * paragraph.[Ch]: write one paragraph at a time
11432 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11434 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11435 style if style is not specified.
11437 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11439 * text2.C (setCounter): when searching for right label for a
11440 caption, make sure to recurse to parent insets (so that a caption
11441 in a minipage in a figure float works) (bug #568)
11443 2002-08-20 André Pönitz <poenitz@gmx.net>
11445 * text3.C: new file for LyXText::dispatch() and helpers
11447 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11449 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11451 2002-08-19 André Pönitz <poenitz@gmx.net>
11454 * text.C: new LyXText::dispatch()
11456 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11458 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11460 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11462 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11465 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11467 * Makefile.am: use $(variables) instead of @substitutions@
11469 2002-08-15 André Pönitz <poenitz@gmx.net>
11472 * BufferView_pimpl.C: streamlining mathed <-> outer world
11476 * LyXAction.C: remove unused LFUN_MATH
11478 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11480 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11482 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11484 * paragraph.C (Paragraph): reformat a bit
11485 (cutIntoMinibuffer): use builtin InsetList function instad of
11489 * buffer.C: include boost/bind.hpp, add using std::for_each
11490 (writeFileAscii): use ParagraphList iterators
11491 (validate): use for_each for validate traversal of paragraphs
11492 (getBibkeyList): use ParagraphList iterators
11493 (resizeInsets): use for_each to resizeInsetsLyXText for all
11495 (getParFromID): use ParagraphList iterators
11497 * BufferView2.C (lockInset): use paragraph list and iterators
11499 2002-08-14 John Levon <levon@movementarian.org>
11501 * lyxserver.C: remove spurious xforms include
11503 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11505 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11507 2002-08-13 André Pönitz <poenitz@gmx.net>
11510 * lyxfunc.C: further cleaning
11512 2002-08-13 André Pönitz <poenitz@gmx.net>
11514 * funcrequest.h: new constructor
11516 * funcrequest.C: move stuff here from .h
11519 * BufferView_pimpl.C:
11522 * lyxfunc.C: subsequent changes
11524 * lyxfunc.h: new view() member function
11526 * lyxfunc.C: subsequent changes
11528 2002-08-13 Angus Leeming <leeming@lyx.org>
11531 * BufferView_pimpl.C:
11539 changes due to the changed LyXView interface that now returns references
11540 to member variables not pointers.
11542 2002-08-13 Angus Leeming <leeming@lyx.org>
11544 * WordLangTuple (word, lang_code): return references to strings,
11549 * lyxtext.h: forward-declare WordLangTuple.
11554 * text.C: #include "WordLangTuple.h".
11557 * text.C: (selectNextWordToSpellcheck): constify return type.
11559 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11565 * paragraph_pimpl.h:
11568 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11569 suggested by Angus.
11570 Made updateCounter always count from start of buffer, and removed
11571 second argument (par).
11572 Reverted floats number display to '#'. Perhaps I'll try again when the
11573 code base is sanitized a bit.
11575 2002-08-12 Angus Leeming <leeming@lyx.org>
11577 * buffer.[Ch] (getLabelList): constify.
11579 2002-08-07 André Pönitz <poenitz@gmx.net>
11581 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11583 * funcrequest.h: extension to keep mouse (x,y) position
11585 2002-08-12 Juergen Vigna <jug@sad.it>
11587 * BufferView2.C (insertErrors): forbid undo when inserting error
11590 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11592 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11594 * ParagraphList.[Ch]: new files
11596 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11598 * BufferView2.C (lockInset): ParagraphList changes
11601 * bufferlist.C: ditto
11605 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11607 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11608 unused class variable counter_,
11610 * paragraph.[Ch] (getFirstCounter): delete unused function
11612 * counters.C: include LAssert.h
11613 (reset): add a new function with no arg, change other version to
11614 not have def. arg and to not allow empty arg.
11616 * text2.C (setCounter): remove empty arg from call to Counters::reset
11618 2002-08-11 John Levon <levon@movementarian.org>
11620 * Makefile.am: add WordLangTuple.h
11622 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11624 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11625 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11627 * insets/insettext.C: InsetList changes
11629 * graphics/GraphicsSupport.C (operator()): InsetList changes
11631 * toc.C (getTocList): InsetList changes
11633 * paragraph_pimpl.[Ch]: InsetList changes
11635 * paragraph.[Ch]: InsetList changes
11637 * buffer.C (inset_iterator): InsetList changes
11638 (setParagraph): ditto
11639 * buffer.h (inset_iterator): ditto
11640 * iterators.C (operator++): ditto
11641 * iterators.h: ditto
11643 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11645 * InsetList.[Ch]: new files, most InsetList handling moved out of
11648 * BufferView2.C (removeAutoInsets): InsetList changes
11650 (ChangeInsets): ditto
11652 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11654 * paragraph_pimpl.h (empty): new function
11656 * paragraph.[Ch] (empty): new function
11658 * other files: use the new Paragraph::empty function
11660 2002-08-09 John Levon <levon@movementarian.org>
11662 * lyxtext.h: remove unused refresh_height
11664 2002-08-09 John Levon <levon@movementarian.org>
11671 * paragraph.C: move sgml char escaping out of paragraph
11674 * paragraph.C: remove id setter
11678 * paragraph_pimpl.C: remove dead tex_code_break_column
11680 * bufferview_funcs.C: small cleanup
11682 * lyxfunc.C: remove dead proto
11684 * lyxtext.h: make some stuff private. Remove some dead stuff.
11686 * lyxgluelength.C: make as[LyX]String() readable
11688 2002-08-08 John Levon <levon@movementarian.org>
11693 * ToolbarDefaults.C:
11696 * toc.C: lyxaction cleanup
11698 2002-08-08 John Levon <levon@movementarian.org>
11700 * BufferView2.C: small cleanup
11703 * lyxfind.C: move unnecessary header into the .C
11705 2002-08-08 John Levon <levon@movementarian.org>
11707 * funcrequest.h: just tedious nonsense
11710 * lyx_main.C: cleanups
11713 * vspace.C: remove dead header lyx_main.h
11715 2002-08-07 Angus Leeming <leeming@lyx.org>
11718 * paragraph_pimpl.h:
11719 Forward declare class Counters in paragraph.h by moving the ctrs member
11720 variable into Paragraph::Pimpl.
11721 (counters): new method, returning a reference to pimpl_->ctrs.
11723 * text2.C: ensuing changes.
11725 2002-08-07 John Levon <levon@movementarian.org>
11727 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11729 * BufferView_pimpl.C: announce X selection on double/triple
11732 * lyx_main.C: use correct bool in batch dispatch
11734 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11736 2002-08-07 André Pönitz <poenitz@gmx.net>
11738 * funcrequest.h: new class to wrap a kb_action and its argument
11741 * BufferView_pimpl[Ch]:
11745 * lyxrc.C: subsequent changes
11748 2002-08-07 John Levon <levon@movementarian.org>
11750 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11751 document options change.
11753 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11758 * makefile.am: move counters functionality over from
11759 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11761 2002-08-06 John Levon <levon@movementarian.org>
11763 * WordLangTuple.h: new file for word + language code tuple
11774 * BufferView2.C: use WordLangTuple
11777 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11779 2002-08-06 John Levon <levon@movementarian.org>
11781 * lyx_main.C: fix cmdline batch handling
11783 2002-08-06 André Pönitz <poenitz@gmx.net>
11785 * lyxrc.C: set default for show_banner to true
11787 2002-08-06 John Levon <levon@movementarian.org>
11789 * pspell.C: fix a crash, and allow new aspell to work
11791 2002-08-06 John Levon <levon@movementarian.org>
11794 * kbmap.C: small cleanup
11797 * vspace.C: add const
11799 2002-08-05 John Levon <levon@movementarian.org>
11801 * LyXAction.C: back to tabular-insert
11803 2002-08-04 John Levon <levon@movementarian.org>
11806 * BufferView.C: cosmetic change
11808 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11818 * BufferView2.C: purge all "Lyx" not "LyX" strings
11821 * lyxcursor.C: attempt to add some documentation
11826 * ToolbarDefaults.C:
11827 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11828 merge with LFUN_TABULAR_INSERT
11835 * pspell.C: split up i/pspell implementations into separate
11836 files, many cleanups
11838 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11840 * text2.C: some cleanup
11842 * lyxfunc.C: don't check for isp_command == "none" any more, it
11843 didn't make any sense
11845 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11850 * makefile.am: move counters functionality over
11851 from text2.C/paragraph.[Ch] to counters.[Ch], and
11853 2002-08-02 John Levon <levon@movementarian.org>
11855 * buffer.C: s/lyxconvert/lyx2lyx/
11857 2002-08-02 Angus Leeming <leeming@lyx.org>
11859 * lyxlex.C: revert John's change as it breaks reading of the user
11862 2002-08-02 Angus Leeming <leeming@lyx.org>
11864 * importer.C (Import):
11865 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11866 changes due to LyXView::view() now returning a boost::shared_ptr.
11868 2002-08-02 John Levon <levon@movementarian.org>
11870 * lyxlex.C: small cleanup
11872 2002-08-02 John Levon <levon@movementarian.org>
11874 * text2.C (status): small cleanup, no logic change
11876 2002-08-01 John Levon <levon@movementarian.org>
11879 * buffer.C (writeFile): don't output alerts, caller
11883 * lyx_cb.C: from above
11885 * lyxfunc.C: allow to open non-existent files
11887 2002-07-31 John Levon <levon@movementarian.org>
11889 * lyxserver.C: don't let incidental errors get
11892 2002-07-30 John Levon <levon@movementarian.org>
11894 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11896 2002-07-30 John Levon <levon@movementarian.org>
11899 * lyxserver.C: remove I/O callback too
11901 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11903 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11906 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11908 * many files: strip,frontStrip -> trim,ltrim,rtrim
11910 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11912 * PrinterParams.h: remove extern containsOnly, and include
11913 support/lstrings.h instead.
11915 * LaTeX.C (scanAuxFile): modify because of strip changes
11917 * buffer.C (makeLaTeXFile): ditto
11918 * bufferparams.C (writeFile): ditt
11919 * lyxfont.C (stateText): ditto
11920 * lyxserver.C (read_ready): ditto
11921 * vc-backend.C (scanMaster): ditto
11923 * BufferView_pimpl.h: ws changes
11925 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11927 2002-07-26 André Pönitz <poenitz@gmx.net>
11929 * kb_sequence.C: remove unnedred usings
11931 2002-07-26 Juergen Vigna <jug@sad.it>
11933 * lyxfind.C (LyXReplace): we have to check better if the returned
11934 text is not of theLockingInset()->getLockingInset().
11936 2002-07-25 Juergen Vigna <jug@sad.it>
11938 * lyxfind.C (LyXReplace): don't replace if we don't get the
11941 * undo_funcs.C (createUndo): remove debugging code.
11943 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11945 * buffer.C (parseSingleLyXformat2Token): Use default placement
11946 when reading old floats.
11948 * FloatList.C (FloatList): Change the default placement of figure
11949 and tables to "tbp".
11951 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11953 * MenuBackend.C: using std::max
11955 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11957 * MenuBackend.C (expandToc):
11958 (expandToc2): code moved from xforms menu frontend. It is now
11959 generic and TOCs are transparent to menu frontends.
11961 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11963 * toc.C (getTocList): protect against buf=0
11965 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11966 Menu as first parameter. Now, this calls itself recursively to
11967 expand a whole tree (this will be useful for TOC handling)
11968 (expandFloatInsert): remove 'wide' version of floats
11970 * MenuBackend.h (submenuname): returns the name of the submenu.
11971 (submenu): returns the submenu itself, provided it has been
11972 created by MenuBackend::expand
11974 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11976 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11977 insets which have noFontChange == true. (bug #172)
11979 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11981 * BufferView_pimpl.C: add connection objects and use them...
11984 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11986 * MenuBackend.C (expandLastfiles):
11989 (expandFloatListInsert):
11990 (expandFloatInsert):
11991 (expand): split expand in parts
11993 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11995 * lyx_gui.C: use lyx_gui::exit()
11997 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11999 * LyXAction.C: show the failing pseudo action
12001 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
12003 * buffer.C (readFile): Run the lyxconvert script in order to read
12006 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12010 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12012 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
12016 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12018 2002-07-22 Herbert Voss <voss@lyx.org>
12021 * lyxlength.[Ch]: add support for the vertical lengths
12023 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
12025 * toc.[Ch]: std:: fixes
12027 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12029 * lyxrc.C: do not include lyx_main.h
12031 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12037 * BufferView2.C: include "lyxlex.h"
12040 * bufferparams.h: do not #include "lyxlex.h"
12042 * lyxtextclasslist.C (Add): remove method
12043 (classlist): renamed to classlist_
12045 * paragraph_pimpl.C:
12049 * bufferview_funcs.C:
12054 * toc.C (getTocList): use BufferParams::getLyXTextClass
12056 * toc.C (getTocList): use InsetFloat::addToToc
12058 * toc.[Ch]: new files, containing helper functions to handle table
12061 * lyxfunc.C (dispatch): no need to remove spaces around command
12063 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12064 first command of the sequence; it is not very clever, but I do not
12065 have a better idea, actually
12067 * LyXAction.C (LookupFunc): make sure to remove space at the
12068 beginning and end of the command
12070 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12072 * MenuBackend.C (getMenubar): new method: return the menubar of
12074 (read): treat differently reading of menu and menubar (in
12075 particular, the menubar has no name now)
12076 (Menu::menubar): remove
12078 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12081 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12083 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12084 a bibitem inset in a RTL paragraph.
12086 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12088 * paragraph_pimpl.C: constify
12090 * BufferView_pimpl.C:
12092 * lyxfunc.C: fix dispatch in a nicer way
12094 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12096 * lyxfunc.C (dispatch):
12097 * BufferView_pimpl.C:
12098 * BufferView_pimpl.h:
12100 * BufferView.h: rename Dispatch() to dispatch()
12102 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12104 * lyxlayout.C (Read): honor DependsOn tag
12106 * lyxlayout.[Ch] (depends_on): new method
12108 * version.C.in: update lyx_docversion
12110 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12112 * paragraph.C (validate): remove from here...
12113 * paragraph_pimpl.C (validate): ... and move here
12114 (isTextAt): make it const
12116 * buffer.C (getLists): ws cleanup
12118 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12120 * language.C (read): Use iso8859-1 encoding in latex_lang
12121 (this prevents LyX from crashing when using iso10646-1 encoding).
12123 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12125 * text2.C (toggleInset): if cursor is inside an inset, close the
12126 inset and leave cursor _after_ it
12128 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12130 * lyxfunc.C: move minibuffer completion handling out of here
12132 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12134 * BufferView_pimpl.C:
12135 * LaTeX.C: fix dispatch calls
12137 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12139 * text.C (drawChars): Fix Arabic text rendering.
12141 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12145 * lyxfunc.C: remove message-push/pop
12149 * lyxfunc.C: rationalise some code by removing verboseDispatch
12150 in favour of a bool argument to dispatch()
12152 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12154 * lyx_main.C (init): make sure to read symlinks as absolute paths
12156 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12159 * lyxfunc.C: no need for commandshortcut to be a member
12161 2002-07-15 André Pönitz <poenitz@gmx.net>
12163 * converter.C: add support for $$s (scripts from lib/scripts dir)
12164 * lyx_main.C: white space
12166 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12170 * lyxrc.C: remove second exit confirmation
12172 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12177 * BufferView_pimpl.h:
12178 * BufferView_pimpl.C:
12179 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12181 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12183 * MenuBackend.C (expand): add numeric shortcuts to document menu
12185 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12187 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12189 * lyxfont.C (setLyXFamily):
12196 * buffer.C (asciiParagraph): use ascii_lowercase
12198 2002-07-15 Mike Fabian <mfabian@suse.de>
12200 * lyxlex_pimpl.C (search_kw):
12201 * lyxlex.C (getLongString):
12202 * converter.h (operator<):
12203 * converter.C (operator<):
12204 * buffer.C (parseSingleLyXformat2Token):
12206 * ToolbarDefaults.C (read):
12207 * MenuBackend.C (checkShortcuts):
12209 * LColor.C (getFromGUIName):
12210 (getFromLyXName): use the compare_ascii_no_case instead of
12211 compare_no_case, because in turkish, 'i' is not the lowercase
12212 version of 'I', and thus turkish locale breaks parsing of tags.
12214 2002-07-16 Angus Leeming <leeming@lyx.org>
12216 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12217 now takes a Buffer const & argument.
12219 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12221 * BufferView.C (resize): check there's a buffer to resize
12223 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12225 * lyxfunc.C: remove dead code
12228 * lyxserver.C: use lyx_guii::set_read_callback
12230 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12232 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12233 an inset in a RTL paragraph.
12235 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12237 * lyxfunc.C: repaint after a font size update
12239 2002-07-15 André Pönitz <poenitz@gmx.net>
12241 * lyxlength.C: inBP should be able to return negative values
12243 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12245 * lyxfunc.C: use lyx_gui::update_fonts()
12247 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12249 * lyxfunc.C: use lyx_gui::update_color()
12251 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12257 * lyxrc.C: remove file->new asks for name option, and let
12258 buffer-new take an argument
12260 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12262 * BufferView_pimpl.C: remove unneeded extra repaint()
12264 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12266 * LyXAction.C: allow command-sequence with NoBuffer
12268 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12270 2002-07-10 Angus Leeming <leeming@lyx.org>
12272 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12274 2002-07-09 Angus Leeming <leeming@lyx.org>
12276 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12278 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12280 * lengthcommon.h: whitespace
12282 * lyxfunc.C: update scrollbar after goto paragraph
12284 * lyxtext.h: factor out page break drawing, and fix it so
12285 page break/added space paints as selected nicely
12287 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12289 * BufferView_pimpl.C: add FIXMEs, clean up a little
12291 2002-07-09 André Pönitz <poenitz@gmx.net>
12293 * lyxfont.[Ch]: support for wasy symbols
12295 2002-07-08 André Pönitz <poenitz@gmx.net>
12297 * BufferView_pimpl.C: apply John's patch for #93.
12299 2002-07-05 Angus Leeming <leeming@lyx.org>
12301 * BufferView_pimpl.C (buffer): generate previews if desired.
12303 * LColor.h: add "preview" to the color enum.
12305 * LColor.C (LColor): add a corresponding entry to the items array.
12307 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12310 2002-07-05 Angus Leeming <leeming@lyx.org>
12312 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12313 The body of the code is now in the method that is passed an ostream &
12314 rather than a file name.
12315 Pass an additional only_preamble parameter, useful for the forthcoming
12318 2002-07-03 André Pönitz <poenitz@gmx.net>
12320 * lyxfunc.C: simplify getStatus() a bit for math stuff
12322 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12324 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12326 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12328 * text.C (changeRegionCase): do not change case of all the
12329 document when region ends at paragraph end (bug #461)
12331 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12333 * paragraph.C (startTeXParParams):
12334 (endTeXParParams): add \protect when necessary
12336 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12338 * BufferView_pimpl.C (workAreaExpose): remove warning
12340 2002-06-27 Angus Leeming <leeming@lyx.org>
12342 * Makefile.am: add lyxlayout_ptr_fwd.h.
12344 2002-06-26 André Pönitz <poenitz@gmx.net>
12346 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12348 2002-06-25 Angus Leeming <leeming@lyx.org>
12350 * lyxfunc.C (dispatch): Comment out the call to
12351 grfx::GCache::changeDisplay. The method no longer exists now that the
12352 pixmap generation part of the graphics loader has been moved into
12355 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12357 * text2.C: layout as layout
12359 * text.C: layout as layout
12361 * tabular.C (OldFormatRead): layout as layout
12363 * paragraph_pimpl.C (TeXDeeper): layout as layout
12364 (realizeFont): layout as layout
12366 * paragraph.C (writeFile): layout as layout
12367 (validate): layout as layout
12368 (getFont): layout as layout
12369 (getLabelFont): layout as layout
12370 (getLayoutFont): layout as layout
12371 (breakParagraph): layout as layout
12372 (stripLeadingSpaces): layout as layout
12373 (getEndLabel): layout as layout
12374 (getMaxDepthAfter): layout as layout
12375 (applyLayout): layout as layout
12376 (TeXOnePar): layout as layout
12377 (simpleTeXOnePar): layout as layout
12378 (TeXEnvironment): layout as layout
12379 (layout): layout as layout
12380 (layout): layout as layout
12382 * lyxtextclass.C (compare_name): new functor to work with
12383 shared_ptr, layout as layout
12384 (Read): layout as layout
12385 (hasLayout): layout as layout
12386 (operator): layout as layout
12387 (delete_layout): layout as layout
12388 (defaultLayout): layout as layout
12390 * lyxlayout_ptr_fwd.h: new file
12392 * lyxlayout.C (Read): layout as layout
12394 * lyx_cb.C (MenuInsertLabel): layout as layout
12396 * bufferlist.C (newFile): layout as layout
12398 * buffer.C (readLyXformat2): layout as layout
12399 (parseSingleLyXformat2Token): layout as layout
12400 (insertStringAsLines): layout as layout
12401 (asciiParagraph): layout as layout
12402 (latexParagraphs): layout as layout
12403 (makeLinuxDocFile): layout as layout
12404 (simpleLinuxDocOnePar): layout as layout
12405 (makeDocBookFile): layout as layout
12406 (simpleDocBookOnePar): layout as layout
12407 (getLists): layout as layout
12409 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12411 * CutAndPaste.C (cutSelection): layout as layout
12412 (pasteSelection): layout as layout
12413 (SwitchLayoutsBetweenClasses): layout as layout
12415 * BufferView_pimpl.C (Dispatch): layout as layout
12416 (smartQuote): layout as layout
12418 * BufferView2.C (unlockInset): layout as layout
12420 2002-06-24 André Pönitz <poenitz@gmx.net>
12422 * lyxfunc.C: fix #487
12424 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12428 * lyxfunc.C: remove display_shortcuts, show_banner
12430 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12432 * Buffer_pimpl.C: oops, update on resize
12434 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12441 * BufferView.C: use repaint()
12443 * BufferView_pimpl.h:
12444 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12445 as it's a clearer description. Remove superfluous
12448 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12450 * text.C: fix bug 488. Not ideal, but getting
12451 getWord() to work properly for the insets that
12452 matter is more difficult ...
12454 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12456 * BufferView_pimpl.C:
12459 * lyxfunc.C: remove the six million index lyxfuncs to just
12460 one, and DTRT (bug 458)
12462 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12466 * BufferView_pimpl.h:
12467 * BufferView_pimpl.C: clean up resize() stuff,
12468 and unnecessary updateScreen()s
12470 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12474 * BufferView_pimpl.h:
12475 * BufferView_pimpl.C:
12478 * minibuffer.C: remove focus management of workarea,
12479 not needed. Use screen's greyOut()
12481 2002-06-17 Herbert Voss <voss@lyx.org>
12483 * converter.C: (convert) do not post a message, when converting
12484 fails, let the calling function decide what to do in this case
12486 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12488 * lyxfunc.C: tidy up a little
12490 2002-06-16 <alstrup@diku.dk>
12492 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12493 Got rid of FORMS_H_LOCATION include. Now we are
12496 2002-06-15 LyX Development team <lyx@rilke>
12498 * buffer.[Ch] (sgmlOpenTag):
12499 (sgmlCloseTag): Added support for avoiding pernicious mixed
12500 content. Return number of lines written.
12502 (makeLinuxDocFile):
12503 (makeDocBookFile): Fixed calls to sgml*Tag.
12504 Simple white space clean.
12506 (simpleDocBookOnePar): Simple white space clean.
12508 * tabular.[Ch] (docBook): Renamed to docbook and got another
12509 argument to related with the pernicious mixed content.
12511 (docbookRow): Fixed calls for docbook inset method.
12513 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12515 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12516 so it's X11 independent.
12520 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12522 2002-06-15 Lyx Development team <lyx@electronia>
12524 * intl.h: Renamed getTrans to getTransManager.
12526 2002-06-14 Angus Leeming <leeming@lyx.org>
12528 * Makefile.am: nuke forgotten stl_string_fwd.h.
12530 2002-06-12 Angus Leeming <leeming@lyx.org>
12532 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12534 2002-06-13 Angus Leeming <leeming@lyx.org>
12537 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12539 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12541 * kbmap.C (getiso): add support for cyrillic and greek
12543 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12547 * BufferView_pimpl.h:
12548 * BufferView_pimpl.C: move bogus scrolling logic
12551 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12554 * BufferView_pimpl.C: view->resize() change
12556 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12558 * BufferView_pimpl.C: topCursorVisible
12561 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12565 * lyx_gui.C: move to frontends/
12569 * lyx_main.C: changes from above
12571 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12578 * lyx_main.C: minor tidy
12580 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12582 * BufferView_pimpl.h:
12583 * BufferView_pimpl.C:
12585 * BufferView.C: make painter() const,
12588 * BufferView2.C: use screen() accessor
12591 * lyx_main.C: some minor cleanup
12593 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12595 * BufferView_pimpl.h:
12596 * BufferView_pimpl.C: remove enter/leaveView,
12599 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12604 * BufferView_pimpl.h:
12605 * BufferView_pimpl.C: only construct screen once,
12608 * lyxrc.C: remove pointless comment
12610 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12613 * BufferView.C: remove active() and belowMouse()
12615 * BufferView_pimpl.h:
12616 * BufferView_pimpl.C: use workarea() not workarea_,
12617 and make it use a scoped_ptr instead
12619 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12621 * lyx_gui.C: add debug message on BadWindow
12623 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12625 * sp_spell.C: fdopen is not part of the C++ standard.
12627 * paragraph.C (InsetIterator): use >= instead of ==
12629 2002-06-07 Angus Leeming <leeming@lyx.org>
12631 Fixes needed to compile with Compaq cxx 6.5.
12632 * BufferView_pimpl.C:
12639 * lyxtextclasslist.C:
12644 all c-library variables have been moved into namespace std. Wrap
12645 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12650 Add a using std::abs declaration.
12652 * kbmap.h (modifier_pair):
12653 * paragraph.h (InsetTable, InsetList):
12654 * lyxfont.h (FontBits):
12655 type definition made public.
12657 * bufferlist.C (emergencyWriteAll): the compiler complains that
12658 there is more than one possible lyx::class_fun template to choose from.
12659 I re-named the void specialisation as lyx::void_class_fun.
12661 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12663 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12664 the compiler is is unable to find tostr in write_attribute.
12666 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12668 * buffer.C (sgmlError): hide #warning
12670 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12672 * xtl/*: get rid of xtl, which is not in use anyway
12674 * LyXAction.C (init):
12675 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12676 were unimplemented xtl experimentation
12678 2002-06-04 André Pönitz <poenitz@gmx.net>
12680 * lyxfunc.C: disable array operation on simple formulae
12682 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12684 * converter.C: constify a bit
12686 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12688 * lyx_gui.C: check xforms version correctly
12690 2002-04-30 Herbert Voss <voss@lyx.org>
12692 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12695 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12697 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12698 attempt to register it with a VCS)
12700 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12702 * lyx_main.C (init): honor variables LYX_DIR_13x and
12705 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12709 * lyx_main.C: fix a crash on bad command line,
12710 and give a useful exit status on error
12712 * lyxfunc.C (doImport): allow -i lyx to work
12714 2002-03-30 André Pönitz <poenitz@gmx.net>
12716 * lyxfunc.C: mathed font changes
12718 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12733 * trans_mgr.h: srcdocs, and some minor cleanups
12735 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12737 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12738 call getFont all the time)
12740 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12742 * switch from SigC signals to boost::signals
12744 2002-05-29 André Pönitz <poenitz@gmx.net>
12746 * paragraph_pimpl.C (getChar): don't call size() too often...
12748 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12750 * paragraph_pimpl.C (insertChar): do not try to update tables when
12751 appending (pos == size())
12753 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12754 in order to reduce drastically the number of comparisons needed to
12755 parse a large document
12757 2002-05-29 André Pönitz <poenitz@gmx.net>
12763 * textclasslist.[Ch]:
12764 * sp_ispell.h: whitespace change
12766 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12768 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12769 lyxaction directly now.
12771 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12775 * lyxvc.C: remove unused headers
12777 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12784 * undo_funcs.C: some cleanups. Use shared_ptr
12785 and a template for the undo stacks.
12787 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12789 * BufferView_pimpl.h:
12790 * BufferView_pimpl.C:
12797 * text2.C: use key_state/mouse_state
12799 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12801 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12804 * chset.C: change include order
12805 (loadFile): use boost regex and get rid of LRegex and LSubstring
12807 * Makefile.am (BOOST_LIBS): new variable
12808 (lyx_LDADD): use it
12810 * LaTeX.C: change include order.
12811 (scanAuxFile): use boost regex and get rid of LRegex and
12815 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12820 * FontInfo.C: moved to frontends/xforms/
12823 * FontLoader.C: moved into frontends for GUIIzation
12828 * lyxfunc.C: changes from above
12830 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12832 * LColor.C: remove spurious X include
12834 * BufferView_pimpl.C:
12839 * text2.C: move font metrics to frontends/
12841 2002-05-24 Juergen Vigna <jug@sad.it>
12843 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12844 setting the undo_cursor.
12846 * ParagraphParameters.h: include local includes first.
12848 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12850 * BufferView_pimpl.C:
12851 * BufferView_pimpl.h:
12855 * screen.C: move WorkArea into frontends/
12861 * BufferView2.C: move LyXScreen into frontends/
12865 * lyx_gui.C: move lyxlookup into frontends/xforms/
12867 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12870 * BufferView_pimpl.C:
12880 * bufferview_funcs.C:
12893 * vc-backend.C: move LyX/XFormsView into frontends/
12895 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12907 * text2.C: move Painter to frontends/
12909 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12911 * buffer.C: comment out some some code that depend upon lyx_format
12914 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12915 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12917 * buffer.h (NO_COMPABILITY): turn off compability
12919 * ColorHandler.C: include scoped_array.hpp
12921 * font.C: Use more specific smart_ptr header.
12924 * ShareContainer.h: ditto
12925 * lyx_main.h: ditto
12927 * FontInfo.h: ditto
12928 * BufferView_pimpl.h: ditto
12929 * ColorHandler.h: ditto
12931 * kbmap.C (defkey): change call to shared_ptr::reset
12933 2002-05-21 Juergen Vigna <jug@sad.it>
12935 * buffer.C (insertErtContents): fix to insert ert asis if it is
12936 non empty. Skip it completely if it contains only whitespaces.
12938 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12940 * BufferView_pimpl.C:
12941 * BufferView2.C: clear selection on paste (bug 393)
12943 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12945 * DepTable.C: include ctime
12947 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12949 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12951 2002-05-14 Juergen Vigna <jug@sad.it>
12953 * text.C (breakParagraph): fixed function to honor the keepempty
12954 layout in the right maner and also to permit the right breaking
12955 algorithm on empty or non empyt keepempty paragraphs.
12957 * paragraph.C (breakParagraph): we have to check also if the par
12958 is really empty (!size()) for isempty otherwise we do the wrong
12961 2002-05-10 Juergen Vigna <jug@sad.it>
12963 * buffer.[Ch] : The following are only changes to the ert
12964 compatibility read reading old LaTeX layout and font stuff and
12965 convert it to ERTInsets.
12967 * buffer.h: added isErtInset().
12969 * buffer.C (struct ErtComp): add a fromlayout bool to check
12970 if we're inside a LaTeX layout.
12971 (isErtInset): new helper function.
12972 (insertErtContents): look for other ert insets before this one
12973 and insert the contents there, so that we don't have subsequent
12974 ERT insets with nothing between them. This way we create only one
12975 inset with multiple paragraphs. Also check if we don't insert only
12976 spaces ' ' as they are ignored anyway afterwards in the .tex file
12977 so if we have only spaces we will ignore this latex part in the
12979 (parseSingleLyXformat2Token \\layout): better compatibility when
12980 reading layout-latex stuff.
12981 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12983 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12984 stuff after reading the inset only get the information back from
12987 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12989 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12991 * LaTeXFeatures.C (getBabelOptions): New method.
12993 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12995 * BufferView_pimpl.C (Dispatch): work around missing argument for
12998 2002-05-08 Juergen Vigna <jug@sad.it>
13000 * text.C (leftMargin): handle paragraph leftindent.
13002 * paragraph.C (writeFile): write the new \\leftindent tag.
13003 (validate): handle leftindent code.
13004 (TeXEnvironment): handle paragraphleftindent code again.
13006 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13008 * buffer.C (parseSingleLyXformat2Token): added compatibility code
13009 for paragrap_extra indent code and new token \\leftindent.
13010 (latexParagraphs): handle the leftindent as environment.
13012 * ParameterStruct.h: added leftindent support.
13014 * ParagraphParameters.C (leftIndent): added support functions for
13015 the paragraph left indent.
13017 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13020 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
13022 * paragraph.C (isRightToLeftPar): Return false for a paragraph
13025 * text.C (computeBidiTables): No bidi in insetERT.
13027 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13030 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13032 * version.C.in: pre 5
13034 2002-05-02 José Matos <jamatos@fep.up.pt>
13035 * buffer.C (makeDocBookFile): white space changes, add newline to
13037 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13039 * tabular.C (docBook): fix typo.
13041 2002-05-03 Juergen Vigna <jug@sad.it>
13043 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13044 change in LyXText as we can not be sure it was not freed.
13045 (drawOneRow): remove unused code.
13047 * text.C (drawInset): redo the calculation of the need_break_row as
13048 it could have a row which was already freed.
13049 (draw): look at the return value of drawInset and return false if
13050 it also returned false.
13051 (paintRowText): look at the return value of draw and return false if
13052 it also returned false.
13054 * lyxtext.h: added bool return type to drawInset() and draw() so that
13055 if we have a change in the row so that the rowbreak has to be redone
13056 we abort drawing as it will be called again.
13058 2002-05-02 Juergen Vigna <jug@sad.it>
13060 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13061 a change in the maintext also if we're inside an inset.
13062 (Dispatch): set the cursor again after a break line and after the
13063 screen has been updated as it could be we're in a different row.
13065 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13066 to set the cursor behind the pargraph with > size().
13067 (setCursor): check also for the same paragraph when checking where
13068 to put the cursor if we have a NFR inset.
13070 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13071 parts of layout read further up as it still was in the wrong
13074 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13076 * screen.C (drawFromTo): change sine fullRebreak always return
13079 * buffer.C (parseSingleLyXformat2Token): reindent some
13081 * BufferView_pimpl.C (update): change since fullRebreak always
13083 (Dispatch): git rid of the last hardcoded "Standard"s.
13085 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13087 * text2.[Ch] (fullRebreak): make it return void now that we always
13090 2002-04-30 Juergen Vigna <jug@sad.it>
13092 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13093 ert compatibility check for "latex" layout.
13095 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13097 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13098 minipages: use col% instead of p%, and also use the current font.
13099 (makeLaTeXFile): Fix use babel condition.
13100 (parseSingleLyXformat2Token): Correct font when reading old floats.
13102 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13104 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13105 inserting list of floats.
13107 2002-04-25 Herbert Voss <voss@lyx.org>
13109 * MenuBackend.C (expand): don't add the graphics extensions to the
13112 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13114 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13115 non-existing layout, do not complain if it was the default layout
13116 of the original class (bug #342)
13118 2002-04-24 Juergen Vigna <jug@sad.it>
13120 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13121 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13123 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13125 * buffer.C (getBibkeyList): If using \bibliography, return the
13126 option field with the reference itself. Enables us to provide natbib
13127 support when using \bibliography.
13129 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13131 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13133 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13134 natbib is provided by the LaTeX class.
13136 2002-04-23 Juergen Vigna <jug@sad.it>
13138 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13141 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13143 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13145 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13147 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13148 ensuremath around textordmasculine, textordfeminine and
13151 2002-04-19 Juergen Vigna <jug@sad.it>
13153 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13154 reinitializing the buffer otherwise row-dimensions may be wrong.
13155 (update): reset also the selection cursors if they do exits otherwise
13156 their x/y positions may be wrong.
13158 * text2.C (cursorDown): don't enter the inset if we came from a row
13159 above and are one row over the inset.
13161 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13162 really leaving an inset.
13164 2002-04-18 Juergen Vigna <jug@sad.it>
13166 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13167 of the selected paragraph does not have the selected layout also if
13170 * text2.C (setLayout): fixed bug which did not change last selected
13173 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13174 changed the read and substituted \\end_float with \\end_inset!
13176 * BufferView_pimpl.C (cursorPrevious):
13177 (cursorNext): fixed to make it work with rows heigher than the work
13178 area without moving the cursor only the draw of the row.
13179 (workAreaMotionNotify): fix jumping over high rows.
13181 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13183 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13186 2002-04-16 Juergen Vigna <jug@sad.it>
13188 * text2.C (setCursor): set also the irow().
13189 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13191 (cursorDown): support for locking an inset if the x_fix value goes
13192 inside it. That way I can transverse insets too with cursor up/down.
13194 * lyxrow.h: added irow helper function same as other (i) functions.
13196 * BufferView_pimpl.C (cursorPrevious):
13197 (cursorNext): fixed for insets!
13199 2002-04-15 Juergen Vigna <jug@sad.it>
13201 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13202 position otherwise it is wrong in some cases.
13204 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13205 inside the inset before the call.
13207 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13209 * buffer.[Ch] (getBibkeyList): make it const.
13211 2002-04-12 Juergen Vigna <jug@sad.it>
13213 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13215 * text2.C (getCursorX): new helper function
13216 (setCursor): compute also ix_
13217 (setCursorFromCoordinates): set also ix.
13219 * lyxcursor.h: added ix_ and helper functions.
13221 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13223 * buffer.C (insertStringAsLines): dont break paragraph if the this
13224 paragraph is inside an inset which does not permit it!
13226 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13227 also with no chars on this paragraph.
13228 (paintRowText): only paint stuff if it's inside the workarea!
13230 * paragraph.C (breakParagraph): honor keepempty flag and break the
13231 paragraph always below not above.
13233 * BufferView2.C (unlockInset): update the paragraph layout on inset
13234 unlock as we changed paragraph in such a case.
13236 * lyxfind.C (LyXFind): clear the former selection if not found!
13238 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13239 again called in insertChar().
13241 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13242 an inset which uses the whole row!
13243 (rightMargin): ditto.
13244 (insertChar): force a rebreak if we inserted an inset!
13246 2002-03-28 Herbert Voss <voss@lyx.org>
13248 * lyxlength.[Ch]: add inBP() to get the right PS-point
13249 units (BigPoint). With inPixels we have rounding errors
13251 2002-04-11 Juergen Vigna <jug@sad.it>
13253 * text2.C (setCursorFromCoordinates): set iy to the right value.
13254 (setCursor): add check if row->previous exists!
13256 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13257 an old float_type as this was the case in the old code!
13259 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13261 * BufferView2.C (showLockedInsetCursor): use iy
13262 (fitLockedInsetCursor): ditto
13264 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13265 locked insets as there we have the right value now.
13267 * lyxcursor.C: added iy_ variable and iy functions to set to the
13268 baseline of cursor-y of the locked inset.
13270 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13271 (setCursor): fixed for insets which need a full row.
13273 * text.C (rowLastPrintable): don't ignore the last space when before
13274 an inset which needs a full row.
13275 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13276 as last character of a row when before a inset which needs a full row.
13278 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13280 * version.C.in: update date
13282 * text2.C (fullRebreak): try to always return true and see what
13285 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13287 * MenuBackend.C (expand): use Floating::listName
13289 * FloatList.C (FloatList): add listName argument to the built-in
13292 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13293 text associated with the float.
13295 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13297 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13299 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13301 * ShareContainer.h: add a couple of missing typenames.
13303 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13305 * lyxrc.C (getDescription): use _() correctly rather than N_().
13307 2002-03-28 Herbert Voss <voss@lyx.org>
13309 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13310 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13312 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13314 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13315 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13317 2002-03-29 Juergen Vigna <jug@sad.it>
13319 * lyxfunc.C (dispatch): add a missing fitCursor call.
13321 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13322 it was scrolled by a cursor move, so return the bool status.
13324 * BufferView.C (fitCursor): return the bool flag also to the outside
13325 world as this is needed.
13327 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13329 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13330 call the edit() as it is not needed (and wrong) IMO.
13331 (workAreaButtonPress): set the screen_first variable before evt.
13332 unlock the inset as this may change screen_first and then we have
13333 a wrong y position for the click!
13335 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13337 * MenuBackend.C (expand): another translation that I missed
13339 2002-03-28 Juergen Vigna <jug@sad.it>
13341 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13343 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13345 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13347 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13349 * MenuBackend.C (expand): fix export/view/update when there is no
13352 2002-03-27 Herbert Voss <voss@lyx.org>
13354 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13357 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13359 * bufferview_funcs.C (currentState): only show paragraph number
13360 for is DEVEL_VERSION is set.
13362 * lyxfunc.C (dispatch): put warning in INFO channel
13364 * MenuBackend.C (expand): translate the name of floats
13366 * FloatList.C (FloatList): mark the float names for translation
13368 * converter.C (convert): use LibScriptSearch
13370 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13372 * MenuBackend.C (defaults): fix default menu (we might as well get
13375 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13377 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13380 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13382 * lyxvc.C: reorder includes.
13384 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13386 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13389 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13391 * CutAndPaste.C: change layouts earlier on paste
13392 to avoid crashing when calling getFont()
13394 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13396 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13399 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13401 * WorkArea.C: remove 'Pending' debug message.
13403 * most files: ws cleanup
13405 * buffer.[Ch]: ws changes
13407 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13409 2002-03-21 Juergen Vigna <jug@sad.it>
13411 * tabular.C (SetMultiColumn): collapse also the contents of the
13412 cells and set the last border right. Added a Buffer const * param.
13414 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13416 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13419 2002-03-19 Juergen Vigna <jug@sad.it>
13421 * text2.C (clearSelection): reset also xsel_cache.
13423 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13424 where it needs to be called (John tells us to do so too :)
13425 (selectionLost): reset sel_cache.
13427 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13429 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13431 * text2.C (setCursorIntern): put debuging code in INSETS channel
13433 2002-03-19 André Pönitz <poenitz@gmx.net>
13435 * lyxfunc.C: tiny whitespace change
13437 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13439 * ToolbarDefaults.C (init):
13440 * LyXAction.C (init):
13442 * BufferView_pimpl.C (Dispatch):
13443 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13445 2002-03-19 Allan Rae <rae@lyx.org>
13447 * exporter.C (Export): removeAutoInsets before doing anything else.
13448 While I've just introduced a dependency on BufferView this really is
13449 the best place to clean the buffer otherwise you need to cleanup in
13450 a dozen places before calling export or cleanup in a dozen functions
13453 * converter.C (runLaTeX):
13454 (scanLog): Better handling of removeAutoInsets and screen updates.
13456 * lyxfunc.C (dispatch): small whitespace changes
13458 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13460 * WorkArea.C (C_WorkAreaEvent): return a value.
13461 (event_cb): return 1 if we handled the event, 0 otherwise.
13463 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13465 2002-03-18 Juergen Vigna <jug@sad.it>
13467 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13468 (GetAdditionalWidth): ditto.
13469 (RightLine): ditto.
13472 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13473 inset if we're there actually (probably not used right now but this
13474 is the direction to go for unifying code).
13475 (paste): disable code to clear the selection.
13477 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13478 inside an InsetText and move the check further up as it is in the
13481 * text2.C (pasteSelection): set a selection over the pasted text.
13483 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13485 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13486 and libgraphics to build on Cygwin.
13488 2002-03-15 Juergen Vigna <jug@sad.it>
13490 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13491 inserting an Inset into the paragraph. I know this is not the best
13492 fix but we already use current_view in CutAndPaste so we will remove
13493 all of it's using at the same time.
13495 * buffer.C (sgmlError): deactivated function till it is rewritten in
13496 the right mode, now it can create problems.
13498 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13499 before accessing it.
13501 2002-03-14 Juergen Vigna <jug@sad.it>
13503 * undo_funcs.C (textHandleUndo): do the right thing when updating
13504 the inset after the undo/redo.
13506 * text2.C (setCursor): just some testcode for #44 not ready yet.
13508 * undo_funcs.C (textHandleUndo): set the next() and previous()
13509 pointers of the paragraph to 0 before deleting otherwise we have
13510 problems with the Paragraph::[destructor].
13512 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13513 on a paragraph insertion.
13515 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13517 * buffer.C (asciiParagraph): use += operator for char append to
13520 * paragraph.C (getFontSettings): compare >= not just >
13521 (highestFontInRange): ditto
13524 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13526 * paragraph.C: change several algorithm to be more appripriate for
13527 the problem domain. This is lookip in FontList and in the InsetList.
13529 2002-03-13 André Pönitz <poenitz@gmx.net>
13532 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13534 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13539 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13541 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13543 * Painter.C (display): anon helper function, adjust code for this
13545 (pixmap): remove function.
13547 * Painter.h: remove private display variable.
13549 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13551 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13553 * WorkArea.[Ch]: remove figinset_canvas cruft.
13555 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13557 * lyxtextclass.C (operator): add one item cache optimization.
13559 * bufferlist.h: doxy changes
13561 * bufferlist.C: ws changes
13563 * DepTable.[Ch] (ext_exist): place const in the right spot.
13565 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13567 (workAreaExpose): call resizeInsets when the with BufferView changes.
13568 (Dispatch): adjust for protectedBlank removal
13569 (specialChar): call updateInset if the insert went ok.
13571 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13572 specialChar instead.
13574 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13576 * BufferView.h: doxy change
13578 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13580 * lyxtextclass.C (operator[]): remove non-const version
13581 (defaultLayout): remove non-const version
13583 2002-03-12 Juergen Vigna <jug@sad.it>
13585 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13586 did resize the LyXText too.
13588 * buffer.C (readLyXformat2): set layout information on newly allocated
13591 * tabular.C (OldFormatRead): set layout information on the paragraph.
13593 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13595 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13597 2002-03-11 Juergen Vigna <jug@sad.it>
13599 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13601 (resizeCurrentBuffer): force also the insets to resize themselfes.
13602 (moveCursorUpdate): fixed up for InsetText.
13604 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13607 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13608 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13609 value of Dialogs::tooltipsEnabled().
13610 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13612 2002-03-08 Juergen Vigna <jug@sad.it>
13614 * BufferView_pimpl.C (updateInset): update inset inside inset also
13615 if it isn't inside theLockingInset().
13617 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13619 * buffer.C (asciiParagraph): redo some of the word and line length
13621 (getLists): look for Caption instead of caption.
13623 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13625 * buffer.C (Buffer): initialize niceFile to true
13627 (makeLinuxDocFile):
13628 (makeDocBookFile): make sure niceFile is true on exit
13630 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13632 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13634 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13636 * LyXSendto.C: remove.
13637 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13638 * lyx_gui.C: remove now-redundant comment.
13639 * ColorHandler.h: remove forward declaration of class WorkArea.
13640 * lyxfunc.C: remove #include "WorkArea.h".
13642 2002-03-07 Juergen Vigna <jug@sad.it>
13644 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13645 got moved away with the DEPM and also set the inset_owner always
13646 right which before could have been omitted.
13648 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13650 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13651 wanted layout is not found.
13653 2002-03-07 Juergen Vigna <jug@sad.it>
13655 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13657 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13659 * paragraph.C (breakParagraph): use default layout not layout of
13661 (Paragraph): clear ParagraphParameters.
13663 2002-03-06 Juergen Vigna <jug@sad.it>
13665 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13666 otherwise it would not be a valid lenght. Fixed a special case in
13667 the minipage compatibility read where we end the document with a
13670 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13671 was set as it could be 0 for InsetTexts first entry.
13673 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13675 * paragraph.C (writeFile): if layout is empty write out
13676 defaultLayoutName().
13678 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13679 file without named layout we set layout to defaultLayoutName().
13681 2002-03-06 Juergen Vigna <jug@sad.it>
13683 * CutAndPaste.C (copySelection): set layout for new paragraph.
13685 * text.C (prepareToPrint): leave ERT inset left aligned
13686 (leftMargin): don't indent paragraphs inside ERT insets
13688 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13690 * paragraph.C (breakParagraph): dont call clear do the work manually
13692 * paragraph.[Ch] (clear): remove function
13694 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13696 * paragraph.C (Paragraph): dont call clear, the work has already
13699 * lyxtextclass.C (operator): assert if n is empty
13701 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13702 work manually instead.
13704 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13706 * BufferView_pimpl.C: protect selectionLost against text == 0
13708 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13710 * text.C (breakParagraph): fix a setting layout to '0' problem.
13712 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13714 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13715 final location of file, for the included files, and graphics.
13717 2002-03-05 Juergen Vigna <jug@sad.it>
13719 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13721 2002-03-04 Juergen Vigna <jug@sad.it>
13723 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13725 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13726 last column of multicolumn cells.
13727 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13729 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13731 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13732 file if it doesn't go to a temporary file.
13734 * buffer.C (sgmlOpenTag):
13735 (sgmlCloseTag): remove extra newline insertion.
13737 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13739 * text.C (getRowNearY): comment out debug msg
13741 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13743 * text2.C: first -> first_y
13745 * text.C (getRowNearY): add some attemts at a possible
13746 optimization, not working.
13748 * tabular.[Ch]: add BufferParams to several function so that newly
13749 created paragraph can be initialized to he default layotu for the
13752 * tabular-old.C (ReadOld): add buf->params to call of Init
13754 * screen.C: rename text->first to text->first_y
13756 * paragraph.C (breakParagraph): always set layout in the broken
13759 * lyxtextclass.C (Read): remove lowercase
13762 (delete_layout): ditto
13764 * lyxtext.h: rename first -> first_y
13766 * lyxlayout.C (Read): remove lowercase
13769 (obsoleted_by): ditto
13771 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13773 * buffer.C (insertErtContents): add params are to InsetERT
13774 (parseSingleLyXformat2Token): add code to check if a paragraphs
13775 layout really exist.
13776 (parseSingleLyXformat2Token): add params to several inset
13778 (asciiParagraph): remove lowercase, do the layout comparisons with
13781 * BufferView_pimpl.C (cursorNext): first -> first_y
13782 (resizeCurrentBuffer): first -> first_y
13783 (updateScrollbar): first -> first_y
13784 (scrollCB): first -> first_y
13785 (workAreaMotionNotify): first -> first_y
13786 (workAreaButtonPress): first -> first_y
13787 (checkInsetHit): first -> first_y
13788 (cursorPrevious): first -> first_y
13789 (cursorNext): first -> first_y
13790 (Dispatch): add buffer_->params to severl inset contructors
13792 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13794 * lyxlayout.C (Read): remove some debug info that I forgot.
13796 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13797 clean up the code slightly.
13798 (makeLinuxDocFile): ditto
13799 (makeDocBookFile): ditto
13801 * text2.C: layout as string
13803 * text.C: layout as string
13805 * paragraph_pimpl.C: layout as string
13807 * paragraph.[Ch]: layout as string
13809 * lyxtextclasslist.[Ch]: layout as string
13811 * lyxtextclass.[Ch]: layout as string
13813 * lyxtext.h: layout as string
13815 * lyxlayout.[Ch]: layout as string
13817 * lyx_cb.C: layout as string
13819 * bufferview_funcs.C: layout as string
13821 * bufferparams.C: layout as string
13823 * buffer.C: layout as string
13825 * LyXView.[Ch]: layout as string
13827 * LaTeXFeatures.[Ch]: layout as string
13829 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13831 * BufferView_pimpl.C: change current_layout to string, remove
13836 (workAreaButtonRelease): layout as string
13838 * BufferView2.C (unlockInset): adjust
13840 * vspace.C (asLatexCommand): use an explict temp variable.
13842 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13844 * Makefile.am: use FRONTEND_*
13846 2002-03-01 Juergen Vigna <jug@sad.it>
13848 * tabular.C (SetWidthOfMulticolCell): changed to something better
13849 I hope but still work in progress.
13850 (recalculateMulticolumnsOfColumn): renamed function from
13851 recalculateMulticolCells as it is more appropriate now.
13852 (SetWidthOfCell): calculate multicols better.
13854 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13856 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13858 * lyxfunc.C (processKeySym): print sequence also if it is
13859 `deleted' (complete)
13861 * kbsequence.C (print): print sequence even if it is deleted
13862 (complete would be a better word, actually).
13864 * lyxfunc.C (dispatch): print complete options after a prefix key
13866 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13868 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13870 * text2.C (setCharFont): eliminate setCharFont code duplication.
13872 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13874 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13875 LFUN_TABULAR_FEATURE (bug #177)
13877 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13879 * Makefile.am: remove figure.h
13881 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13883 * Bufferview_pimpl.C:
13895 * text2.C: remove #include "lyx_gui_misc.h".
13897 * LaTeX.C: added #include <cstdio>
13899 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13901 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13902 that the paragraph following this one can have.
13904 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13906 * vspace.C (asLatexCommand): fix bogus gcc warning
13908 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13910 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13912 * text2.C (setLayout): get rid of redundant code
13914 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13916 * text2.C (incDepth): make sure depth cannot be increased beyond
13919 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13921 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13922 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13924 * PainterBase.h (image):
13925 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13926 a LyXImage const *.
13928 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13932 * BufferView_pimpl.C:
13933 * BufferView_pimpl.h:
13953 * sp_spell.C: remove fig inset, and the crap house of
13954 cards that follows it
13956 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13961 * os2_errortable.h:
13962 * nt_defines.h: move .h into support/
13964 * vms_defines.h: remove
13966 * WorkArea.C: add space in debug output
13970 * buffer.C: add WITH_WARNINGS
13974 * bufferlist.C: s/retrive/retrieve/, add docs
13983 * chset.C: add docs
13985 * lyxgui.C: add ID to X error handler
13987 * lyxtestclass.c: fix typo
13989 2002-02-26 Juergen Vigna <jug@sad.it>
13991 * tabular_funcs.C (write_attribute): changed so that some default
13992 attributes are not written at all.
13993 (getTokenValue): set default values before trying to read the
13994 value so we have the return value always set as default if we don't
13995 find the token we search for.
13997 * tabular.C (Write): write bools as bools not as strings!
13999 2002-02-22 Juergen Vigna <jug@sad.it>
14001 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14002 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14004 * text.C (leftMargin): don't add an indent for paragraphs inside
14005 tabular cells (fix #208).
14007 2002-02-21 José Matos <jamatos@fep.up.pt>
14009 * tabular.C (docBook): fixed support for long tables.
14011 2002-02-20 Juergen Vigna <jug@sad.it>
14013 * text2.C (getFont): get the drawing font of the Inset if this
14014 paragraph is inside an inset (only important for InsetERT for now).
14016 * buffer.C (insertErtContents): use new lanugage params in ERT
14019 * CutAndPaste.C: commenting out seemingly uneeded code.
14021 2002-02-19 Allan Rae <rae@lyx.org>
14023 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14024 Iterators might be simple to use but they also get invalidated.
14025 (removeAutoInsets): renamed saved cursor tracking variables and added
14026 some comments to clarify what everything does.
14028 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14035 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14036 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14039 * vc-backend.h: remove #include "support/syscall.h"
14043 * converter.C: rearrange #includes in Lars' approved fashion.
14045 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14046 forward declare class Timeout in the header file.
14048 * XFormsView.C: changes due to the above.
14050 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14051 similar to LyXView.
14053 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14054 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14056 2002-02-18 José Matos <jamatos@fep.up.pt>
14058 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14061 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14063 * a lot of small ws changes
14064 * add a lot of using std::XXX
14065 * use std construcs some places where approp.
14066 * use some exisint stuff from lyxfunctional where approp.
14067 * Make file changes to use partial linking (lets test this now...)
14069 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14073 remove #include "support/syscontr.h" as it's redundant. Always has been.
14081 change Systemcalls::System to Systemcalls::Wait and
14082 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14083 No change of functionality, just reflects the stripped down Systemcalls
14086 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14088 * debug.[Ch]: add a GRAPHICS type to the enum.
14090 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14092 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14094 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14097 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14099 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14100 match the changes below.
14102 * text2.C (toggleInset): if there is not editable inset at cursor
14103 position, try to see if cursor is _inside_ a collapsable inset
14106 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14108 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14109 document menu has a nice checkbox
14111 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14113 * lyxlength.C (asLatexString): change PW to output as percent of
14116 * lengthcommon.C: change '%' to 't%'
14118 * lyxfunc.C (dispatch): a few comments from Martin
14120 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14124 * BufferView_pimpl.h:
14125 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14128 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14130 * vspace.C (inPixels): fix compiler warning
14132 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14134 * lyxfunc.C (getStatus): fix status message for disabled commands.
14136 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14138 * BufferView_pimpl.C: fix crash on close buffer
14139 during selection (#227)
14141 2002-01-27 Herbert Voss <voss@lyx.org>
14143 * buffer.C: link old Figure to new graphic inset
14145 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14147 * FontLoader.C (getFontinfo): Change the latex font names in order
14148 to match the names of type1inst.
14150 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14152 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14154 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14155 (extchanged): ditto
14157 (remove_files_with_extension): ditto
14158 (remove_file): ditto
14161 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14162 document is smaller than the work area height. Do not initialize
14163 static variables to 0.
14165 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14167 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14169 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14170 LFUN_LAYOUT_PARAGRAPHS.
14172 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14173 tabular. It is possible to provide a possible cell, which will
14174 typically be the actcell from the corresponding insettabular
14176 * lyxfunc.C (getStatus): small cleanup; disable
14177 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14180 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14182 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14184 * paragraph.C (startTeXParParams):
14185 (endTeXParParams): new methods. The LaTeX code to
14186 start/end paragraph formatting
14187 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14188 empty (fixes bug #200)
14190 * vspace.C (inPixels): adapt to the change below
14191 (inPixels): [later] more cleanups (remove unused variables)
14193 * lyxlength.C (inPixels): change to use a width and a height as
14196 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14198 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14199 Replaced with \paperwidth
14201 * DepTable.C (insert): add std:: qualifier
14203 2002-01-18 Allan Rae <rae@lyx.org>
14205 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14208 * text.C (drawInset): Turned out I didn't know enough about how
14209 rebreaking worked. This fixes most of the redraw problems. I see
14210 an occasional cursor trail when a line is broken now and the cursor
14211 placement can seem out by a few pixels also after a rebreak.
14213 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14215 * buffer.C (parseSingleLyXformat2Token): update because minipage
14216 width is now a LyXLength
14218 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14220 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14223 2002-01-17 Juergen Vigna <jug@sad.it>
14225 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14227 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14228 is set correctly and the inset is updated correctly.
14230 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14232 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14233 the beginning of the loop.
14235 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14237 * lyxrc.C: improve help for use_scalable_fonts
14239 2002-01-17 Allan Rae <rae@lyx.org>
14241 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14243 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14245 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14246 make sure to set their inset_owner to the right value (bug #171)
14248 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14251 * DepTable.C: Implement mtime checking to reduce time spent doing
14254 2002-01-16 Juergen Vigna <jug@sad.it>
14256 * tabular.C (GetAdditionalHeight): one of error fixed.
14258 * lyxrc.C (output): small fix in writing use_pspell.
14260 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14262 * sp_base.h: #include LString.h
14264 2002-01-16 Allan Rae <rae@lyx.org>
14266 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14267 Can someone check this please?
14269 * text.C (drawInset): It was possible that p.row would be removed by
14270 breakAgainOneRow upsetting a few other settings. There may be another
14271 small tweak possible by setting need_break_row = 0 when p.row has been
14272 removed but I don't know enough about the logic here.
14274 2002-01-15 Allan Rae <rae@lyx.org>
14276 * text.C (insertChar): removed conditional truism.
14278 * BufferView2.C (removeAutoInsets): More tweaks.
14279 cur_par_prev could be a stray pointer. Check for trailing empty line
14280 in case last line was cur_par and only had an error inset on it.
14282 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14284 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14287 * vc-backend.C (most methods):
14288 * exporter.C (Export):
14289 * converter.C (convert):
14291 * LyXSendto.C (SendtoApplyCB):
14292 * lyxfunc.C (dispatch):
14296 * lyx_cb.C (AutoSave):
14298 * BufferView_pimpl.C (MenuInsertLyXFile):
14299 * buffer.C (runChktex): use Buffer::filePath().
14301 * buffer.h: rename filename to filename_; rename filepath to
14302 filepath_ and make it private
14303 (filePath): new method
14305 * buffer.C (writeFile): use fileName()
14308 * lyx_main.C (init): fix starting of LyX when the binary is a
14309 link from so,ewhere else.
14311 * minibuffer.C: include <cctype> for isprint
14313 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14315 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14316 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14317 name clash with InsetCollapsable's width function.
14319 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14321 * lastfiles.C: include <iterator>
14323 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14325 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14328 * buffer.C (makeLaTeXFile): ditto.
14329 Also make loop operation more transparent.
14331 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14333 * ToolbarDefaults.C: remove trailing comma closing namespace.
14335 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14337 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14340 * trans.C (Load): comment out unused variable, allowed.
14342 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14344 * minibuffer.[Ch] (append_char): new method to recieve input from the
14345 drop-down completion browser. If a key was pressed, then recieve this
14346 char and append it to the existing string.
14347 (peek_event): modify the positioning data passed to the completion
14348 browser so that it can be placed above the minibuffer rather than below.
14349 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14351 * LyXAction.C (init): alloe error-next for readonly documents.
14353 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14356 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14358 * bufferlist.C (readFile): create the buffer _after_ checking that
14361 * lyxfunc.C (verboseDispatch): fix handling of arguments
14363 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14365 * lyxrc.C: use string::erase() instead of initializing to "".
14368 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14370 * BufferView_pimpl.h:
14371 * BufferView_pimpl.C:
14374 * text2.C: tell X when we have made a selection for copying
14376 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14378 * BufferView_pimpl.C (MenuInsertLyXFile):
14379 * lyxfunc.C (menuNew):
14381 (doImport): add shortcuts to directory buttons
14383 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14386 * lyxfunc.C (setStatusMessage):
14387 (getStatusMessage): new methods
14388 (getStatus):use setStatusMessage instead of setErrorMessage
14389 (dispatch): when function is disabled, set error message here
14390 [instead of in getStatus previously]
14392 * BufferView_pimpl.C (workAreaButtonRelease): update
14393 toolbar/menubar here too.
14395 2002-01-13 Allan Rae <rae@lyx.org>
14397 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14398 Now seems indestructible. Remaining task is to audit all other
14399 code affected by deleteEmptyParagraphMechanism. One small quirk
14400 left is that an empty document with an error in the preamble can
14401 be made to report an error but no error box appears. I don't know
14403 (removeAutoInsets): Improved comments.
14405 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14408 * Thesaurus.C: update for Aiksaurus 0.14
14410 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14412 * text2.C (firstParagraph): removed member function, all uses
14413 replaces with ownerParagraph
14414 (redoParagraphs): here
14415 (updateInset): here
14416 (toggleAppendix): here
14417 * BufferView2.C (insertErrors): here
14418 (setCursorFromRow): here
14420 2002-01-13 Allan Rae <rae@lyx.org>
14422 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14423 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14424 There is still a way to segfault this although you may have to do this
14425 multiple times: Have an InsetERT with an unknown command in it.
14426 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14427 <down-arrow>, <Enter> again, View->DVI, BANG!
14429 * text2.C (setCursor):
14430 (deleteEmptyParagraphMechanism):
14431 * lyxtext.h (setCursor):
14432 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14433 Making use of the return value may help fix other bugs.
14435 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14437 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14439 * LyXView.C (updateMenubar): call MenuBar::update here
14440 (updateToolbar): but not here
14441 (showState): do not update toolbar/menubar
14443 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14444 should need to care about that.
14446 * lyxfunc.C (verboseDispatch): simplify a bit
14447 (getStatus): have a version which takes a pseudoaction, and
14448 another which requires a (kb_action,string).
14450 * LyXAction.C (retrieveActionArg): make it work also when action
14451 is not a pseudo-action.
14452 (getActionName): simplify a bit
14455 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14457 * lyxfunc.C (verboseDispatch): new families of methods with
14458 several ways to specify a command and a bool to indicate whether
14459 the command name and shortcut should be displayed in minibuffer
14460 (eventually, we could extend that to a finer bitmask like
14461 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14462 (dispatch): the pristine dispatch command which just, well,
14463 dispatchs! Note it still sets its result to minibuffer; I'm not
14466 * lyxfunc.h: remove setHintMessage
14468 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14470 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14472 * BufferView_pimpl.C (specialChar): delete new inset if we have
14473 not been able to insert it.
14475 * kbmap.C: revert to using int instead of kb_action, since all we
14476 are dealing with is pseudo-actions.
14478 * LyXAction.C (searchActionArg): change to return int instead of
14479 kb_action, since the result is a pseudoaction.
14481 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14483 * buffer.C (insertErtContents): Fix (partially) the font bug.
14485 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14487 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14488 as the other one is broken on my machine!
14490 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14493 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14495 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14497 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14498 reflect their actual use. Provide compatibility code for older lyxrc
14501 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14503 change names of popup font variables in line with the changes to lyxrc.C
14505 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14507 * buffer.C (asciiParagraph): avoid outputing a word twice after
14510 * lyxrc.C (getDescription): document that document_path and
14511 template_path can be empty.
14513 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14515 * LaTeXFeatures.C (getMacros):
14516 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14518 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14520 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14522 (getPackages): rename feature "floats" to "float". Use an array to
14523 iterate over 'simple' features (i.e. just a \usepackage). Add
14524 handling of "amsmath" (renamed from "amsstyle").
14526 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14528 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14531 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14533 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14534 FuncStaus::FuncStatus & FuncStaus::some_method().
14536 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14538 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14539 of the func_satus stuff. Edited and massaged in various ways by
14542 * lyxfunc.C (getStatus): use FuncStatus
14544 2002-01-08 Juergen Vigna <jug@sad.it>
14546 * text.C (nextBreakPoint): use function Inset::isChar().
14548 * paragraph.C (TeXOnePar): use function
14549 Inset::forceDefaultParagraphs.
14551 * buffer.C (latexParagraphs): use function
14552 Inset::forceDefaultParagraphs.
14554 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14556 * lyx_gui.C (init): set the style of the menu popups to
14557 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14559 2002-01-07 Juergen Vigna <jug@sad.it>
14561 * text.C (setHeightOfRow): small fix
14562 (prepareToPrint): don't look at alignment if we don't have the place
14565 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14567 * box.C: New file. Move the Box methods and functions out of box.h,
14568 following Lars' suggestion.
14570 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14572 * box.h: #include "support/LOstream.h", needed for inlined function.
14575 * lyxtextclasslist.C: added some using std declarations.
14577 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14579 * box.h: make signed dimensions to allow insets wider than
14580 the screen (bug #162)
14582 * BufferView_pimpl.C: add some insetHit debug
14584 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14586 * vc-backend.C: add FIXME
14588 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14590 * lyxfunc.C (getStatus): enable code for showing math font status
14593 2002-01-07 Juergen Vigna <jug@sad.it>
14595 * text.C (nextBreakPoint): removed debug output not needed anymore.
14597 2002-01-06 Juergen Vigna <jug@sad.it>
14599 * text.C (nextBreakPoint): fixed up this function we had this bug
14600 since ever but now hopefully we break row better.
14601 (insertChar): we have to check if an inset is the next char as it
14602 could now happen that a large inset is causing a break.
14604 2002-01-05 Juergen Vigna <jug@sad.it>
14606 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14607 if it doesn't like to be drawed.
14609 2002-01-04 Juergen Vigna <jug@sad.it>
14611 * BufferView2.C (lockInset): forgot to set a cursor.
14613 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14615 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14617 * FormMathsPanel.C:
14620 * form_maths_panel.C:
14621 * form_maths_panel.h:
14622 * form_maths_panel.fd: implemented sub- and super- buttons in math
14625 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14626 (or ^ space) to be used as in TeX (req'd by Andr�.
14628 * lyxfunc.C: Allow ^ and _ again to be used both as
14629 super/subscript (mathed) and as themselves (in text).
14631 2002-01-03 Allan Rae <rae@lyx.org>
14633 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14634 "LyX" or the filename of the current buffer if it has one. This is a
14635 modified form of John Levon's patch.
14637 * XFormsView.C (setWindowTitle): also set icon title.
14639 * LyXView.h (setWindowTitle): signature changed.
14640 * XFormsView.h (setWindowTitle): ditto.
14642 2002-01-02 Juergen Vigna <jug@sad.it>
14644 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14646 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14648 * screen.C (topCursorVisible): introduce a temp var for
14649 text->cursor.row(), handle the case where this row is null. (kindo
14652 * text2.C (setCursor): add a couple of asserts.
14654 * paragraph.h (inset_iterator): add -> operator
14656 * paragraph.[Ch] (autoDeleteInsets): remove member function
14658 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14659 cursor pos correctly and handle inset deletion by itself.
14660 (insertErrors): move iterator declaration out of for expression
14662 * lyxtextclass.C: add <algorithm>
14664 * Makefile.am: added the new files to sources, removed layout.C
14666 * layout.C: removed file
14668 * layout.h: remove LYX_DUMMY_LAYOUT
14670 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14674 * lyxtextclass.[Ch]:
14675 * lyxtextclasslist.[Ch]: new files
14677 * include order changes to a lot of files, also changes because of
14680 2001-12-27 Juergen Vigna <jug@sad.it>
14682 * buffer.C (asciiParagraph): more fixes.
14684 * tabular.C (ascii): make ascii export support export of only the
14685 data separated by a column-delimiter.
14686 (ascii): better support for ascii export.
14688 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14690 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14692 * tabular_funcs.C: use a "using std::getline" instead of the
14693 previous fix from Angus (necessary for cxx + lyxstring)
14695 2001-12-24 Juergen Vigna <jug@sad.it>
14697 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14699 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14700 problems. First check a minipage also if we have some ert-contents
14701 (not only on par->size(), second set the right depth of the paragraph
14702 on the relink to the root-paragraph-list!
14704 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14705 which then did not anymore update the main paragraphs on undo/redo!
14707 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14709 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14710 code. Support all font-changing funcs (even those which are not in
14711 menu currently). Support for reporting font settings in
14712 mathed (disabled until Andre provides a function on mathed's side).
14714 * func_status.h (toggle): small helper function to set toggle
14717 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14719 * tabular_funcs.C: getline -> std::getline
14721 2001-12-21 Juergen Vigna <jug@sad.it>
14723 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14724 accessed and could be 0 (I couldn't generate this but it seems
14727 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14729 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14730 * tabular_funcs.h: here and include iosfwd
14732 2001-12-20 Juergen Vigna <jug@sad.it>
14734 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14735 inside inset but undo_par was.
14737 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14739 * Thesaurus.C: always include <config.h> in sources.
14743 * box.h: do not include <config.h> in header files
14745 * text.C (paintLastRow): remove unused variable
14747 * text.C (transformChar):
14749 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14751 * Painter.C (text):
14752 * font.C (width): rewrite to use uppercase() instead of
14755 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14757 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14759 * lyxfind.C: clean up of find failure position change
14761 2001-12-20 Juergen Vigna <jug@sad.it>
14763 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14765 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14766 (TeXRow): added to LaTeX a single tabular row.
14767 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14768 (Latex): simplified and finally good LT-h/f support.
14769 (various_functions): just small adaptions for LT-h/f support.
14771 * tabular_funcs.[hC]: added and moved here all not classfunctions
14774 2001-12-19 Juergen Vigna <jug@sad.it>
14776 * tabular.[Ch]: better support for longtabular options (not finished
14779 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14781 * text.C (paintLastRow): use the label font instead of the font of
14782 the last character to compute the size of *_BOX. This makes more
14783 sense and avoids a crash with empty paragraphs.
14784 Use Painter::rectangle to draw EMPTY_BOX.
14786 2001-12-19 Juergen Vigna <jug@sad.it>
14788 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14789 the paragraphs if the replaced paragraph is not the first one!
14790 Tried to delete not used paragraphs but does not work yet so for
14791 now it's inside #ifdef's and by default off!
14793 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14795 * MenuBackend.C: include "lyx_main.h" instead of declaring
14796 lastfiles (actually was declared as LastFiles* instead of a
14799 2001-12-17 Juergen Vigna <jug@sad.it>
14801 * tabular.C (AppendColumn): applied John's fix
14803 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14807 * BufferView_pimpl.h:
14808 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14811 * box.h: new start of class for above
14813 * lyxfunc.C: ignore space-only minibuffer dispatches.
14814 Show the command name when it doesn't exist
14816 * minibuffer.C: don't add empty lines to the history
14818 * minibuffer.C: add a space on dropdown completion
14820 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14822 * text.C: fix line above/below drawing in insets
14824 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14826 * lyxlength.C (LyXLength): Initialize private variables.
14828 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14830 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14831 when inserting error insets.
14833 2001-12-13 Juergen Vigna <jug@sad.it>
14835 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14836 actually sometimes the before-paragraph.
14837 (setUndo): don't clear the redostack if we're not actually undoing!
14839 2001-12-06 Juergen Vigna <jug@sad.it>
14841 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14842 and fixed redoing of main paragraph, so we can use it now ;)
14844 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14846 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14848 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14851 2001-12-13 André Pönitz <poenitz@gmx.net>
14854 * undo_func.C: minor cleanup
14856 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14858 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14859 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14860 font in urw-fonts package which is marked as -urw-fontspecific and
14861 does not work (incidentally, changing the encoding in the
14862 fonts.dir of this package to -adobe-fontspecific fixes the
14865 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14866 is a crash when undoing first paragraph (Juergen, please take a
14867 look). THis does not mean the undo fix is wrong, just that it
14870 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14871 the (Paragraph*) version when needed instead of duplicating the
14874 * text.C (workWidth): use Inset::parOwner to find out where the
14875 inset has been inserted. This is a huge performance gain for large
14876 documents with lots of insets. If Inset::parOwner is not set, fall
14877 back on the brute force method
14879 * paragraph_pimpl.C (insertInset):
14880 * paragraph.C (Paragraph):
14881 (cutIntoMinibuffer): set parOwner of insets when
14882 inserting/removing them
14884 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14886 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14892 * mathed/formulabase.C:
14893 * mathed/math_cursor.[Ch]:
14894 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14897 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14899 * lyxlength.[Ch] (operator!=): new function
14901 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14903 * text.C (workWidth): use Inset::parOwner to find out where the
14904 inset has been inserted. This is a huge performance gain for large
14905 documents with lots of insets. If Inset::parOwner is not set, fall
14906 back on the brute force method
14908 * paragraph_pimpl.C (insertInset):
14909 * paragraph.C (Paragraph):
14910 (cutIntoMinibuffer): set parOwner of insets when
14911 inserting/removing them
14913 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14915 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14917 * tabular-old.C (getTokenValue):
14918 * tabular.C (getTokenValue):
14919 (write_attribute): new versions for LyXLength
14920 (everywhere): adjust the use of widths
14922 * tabular.h: change the type of widths from string to LyXLength
14924 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14926 * paragraph.C: fixed missing line number count when exporting
14927 Environments to LaTeX file
14929 * buffer.C: added informational message for checking line numbers.
14931 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14933 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14934 paragraph, do the 'double space' part, but not the 'empty
14937 * text.C (workWidth): small optimization
14938 (getLengthMarkerHeight): use minimal size for negative lengths.
14940 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14942 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14944 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14946 2001-12-11 André Pönitz <poenitz@gmx.net>
14949 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14951 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14953 * text2.C: keep selection on a setFont()
14955 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14957 * lyx_cb.C: another bv->text misuse, from insert label
14959 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14962 * kbsequence.C: re-instate nmodifier mask
14964 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14966 * lyx_main.h: make lyxGUI private.
14968 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14970 * lyxfind.C: place the cursor correctly on failed search
14972 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14974 * text.C (getLengthMarkerHeight): for small heights, the arrows
14975 are not always on top/bottom of the text
14976 (drawLengthMarker): smaller arrows; take the left margin in
14977 account; draw also vfills.
14979 (paintLastRow): remove special code for vfill and standard spaces,
14980 since everything is handled in drawLengthMarker now.
14982 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14984 * buffer.C (insertErtContents): try to handle font and language
14985 interaction a bit better.g
14987 * ColorHandler.C (updateColor): change the hash to cover the whole
14988 LColor enum, ws cleanup
14989 (getGCLinepars): ditto
14990 (getGCLinepars): only lookup in the linecache once.
14992 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14994 * iterators.C (operator++): Make the iterator more robust
14996 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14998 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15000 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15003 * text.C: better added space drawing
15005 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15008 * BufferView2.C: fix layout combo update on inset unlock
15010 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15012 * Makefile.am: don't compile unused files
15014 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15018 * LyXAction.C: remove old LFUN_LAYOUTNO
15020 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15022 * paragraph_pimpl.h:
15023 * paragraph_pimpl.C: isTextAt() doesn't need font param
15025 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15028 * lyxlex.C: little cleanup
15030 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15032 * BufferView_pimpl.C: fix insertAscii for insets
15034 2001-12-05 Juergen Vigna <jug@sad.it>
15036 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15037 set the right font on the "multi" paragraph paste!
15039 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15045 * lyxlength.C: remove out-commented code.
15047 * BufferView_pimpl:
15061 * vc-backend.C: change "while(" to "while ("
15063 * lyxlength.[Ch]: add zero function to check if length is zero or
15065 * lyxgluelength.C: use it
15067 2001-12-05 Allan Rae <rae@lyx.org>
15069 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15070 Works for 2.95.3, from what I understand of Garst's reports this should
15071 work for other g++ versions. We're screwed if the abs(int) definition
15072 changed between bugfix releases of gcc.
15074 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15076 * text.C: fix chapter label offset !
15078 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15081 * text.C: fix hfill at end of line, clean up
15083 2001-12-04 Juergen Vigna <jug@sad.it>
15085 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15086 that we force an update of the inset and it's owners if neccessary.
15088 2001-12-03 Juergen Vigna <jug@sad.it>
15090 * text.C (rowLast): simplified code
15092 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15094 * lyxfunc.C: fix show options on timeout
15096 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15098 * screen.C (topCursorVisible): scroll half a page when the cursor
15099 reached top of bottom of screen
15101 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15103 * minibuffer.C: deactivate on loss of focus
15105 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15107 * vspace.[Ch] (operator!=): add operator.
15109 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15111 * BufferView_pimpl.C: refuse to open an inset when
15112 there's a selection.
15114 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15116 * BufferView_pimpl.C: allow to click on RHS of full row insets
15118 2001-11-30 Juergen Vigna <jug@sad.it>
15120 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15121 insets for undo reasons.
15123 2001-11-28 André Pönitz <poenitz@gmx.net>
15125 * vspace.[Ch]: cosmetical changes
15127 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15137 * kbsequence.C: part re-write of old kb code
15140 * WorkArea.C: remove Lgb_bug_find_hack
15142 2001-11-30 José Matos <jamatos@fep.up.pt>
15144 * buffer.C (makeDocBookFile): add a comment to point a hack.
15145 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15146 Fixed a double write of labels.
15148 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15151 * LaTeX.h Fixed bug in LaTeX class where it would not
15152 re-run latex if no depfiles were changed, but the .dvi was removed.
15154 2001-11-28 André Pönitz <poenitz@gmx.net>
15156 * all the files from the change on 2001/11/26:
15157 use lyx::layout_type instead of LyXTextClass::size_type
15158 use lyx::textclass_type instead of LyXTextClassList::size_type
15160 2001-11-29 Juergen Vigna <jug@sad.it>
15162 * text.C: added support for paragraph::isFreeSpacing()
15164 * buffer.C: same as above
15166 * paragraph.h: inserted isFreeSpacing() function to enable
15167 FreeSpacing inside InsetERT.
15169 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15170 of the paragraph's in the cut/copy buffer to 0!
15172 * text2.C (removeRow): remove the assert as it can!
15174 * lyxtext.h: added helper function firstRow returning firstrow and
15175 made firstrow private again.
15177 * BufferView2.C (lockInset): don't relock if we're already locked!
15179 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15180 the only paragraph.
15181 (removeRow): added Assert::(firstrow)
15183 * debug.C: forgot to add INSETTEXT here.
15185 2001-11-28 Juergen Vigna <jug@sad.it>
15187 * sp_spell.C (initialize): changed error text to more general
15188 spellchecker command use (not only ispell!)
15190 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15192 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15194 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15196 * vspace.C: initialise lyxgluelength on failure
15198 2001-11-28 Allan Rae <rae@lyx.org>
15200 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15201 declaration & definition that looks like a function declaration.
15203 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15205 * BufferView2.C (copy):
15206 (copyEnvironment): do not clear the selection when doing a copy.
15208 * text.C (paintFirstRow): compilation fix
15210 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15212 * tabular.C (Latex): correct line count when writing latex.
15214 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15216 * paragraph_pimpl.h:
15217 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15220 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15224 * LColor.C: change vfillline->added_space
15226 * text.C: add markers and text for added space
15228 * vspace.C: fix comment
15230 2001-11-28 André Pönitz <poenitz@gmx.net>
15232 * paragraph.C: whitespace changes
15233 * all the other files from the change on 2001/11/26:
15234 change *::pos_type into lyx::pos_type
15236 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15238 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15239 language of the document when inserting error insets.
15241 2001-11-26 André Pönitz <poenitz@gmx.net>
15243 * BufferView_pimpl.[Ch]:
15251 * paragraph_pimpl.[Ch]:
15254 * text2.C: reduce header dependencies, introduce type for positions
15256 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15258 * <various>: change to use Alert.h
15260 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15262 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15263 when encountering an unknown token.
15264 (readLyXformat2): Show an error message if there were unknown tokens.
15266 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15269 * BufferView_pimpl.C:
15273 * text2.C: use par->isInset()
15275 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15277 * paragraph_pimpl.h:
15278 * paragraph_pimpl.C: cleanup
15280 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15282 * text2.C (removeRow):
15283 * text.C (setHeightOfRow): remove useless (and costly) call to
15286 2001-11-20 Allan Rae <rae@lyx.org>
15288 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15289 Now need Inset*::checkInsertChar() to return true for appropriate
15290 cases so that the characters in the minibuffer will actually be
15293 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15295 * text.C: change the order of the includes.
15296 (workWidth): initialize it at once.
15297 (workWidth): make maxw unsigned
15298 (setHeightOfRow): remove unused variable (inset)
15299 (selectSelectedWord): remove unused variable (inset)
15300 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15302 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15304 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15305 server is not running.
15307 (closeConnection): add debug info when server is disabled.
15309 * ColorHandler.C (getGCForeground): send debug message to GUI
15312 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15314 * kbmap.C (bind): modify because return conventions of
15315 kb_sequence::parse have changed.
15317 * kbsequence.C (parse): only ignore spaces and not any stupid
15318 control character. This avoids tests like s[i] <= ' ', which are
15319 guaranteed to fail with 8bit characters and signed chars.
15320 Change return code to string::npos when there have been no error
15321 (0 was a bad idea when error is at first character)
15323 2001-11-14 José Matos <jamatos@fep.up.pt>
15326 * buffer.C (simpleDocBookOnePar): removed unused argument.
15328 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15330 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15331 insets which are part of a word. Paragraph::isLetter takes care of
15332 that now. Use Paragraph::isInset to identify insets.
15333 (selectSelectedWord): do not test for hyphenation break.
15335 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15336 that protected spaces are considered as spaces.
15338 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15341 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15344 * lyxserver.C: fix it. and small cleanup.
15346 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15348 * BufferView_pimpl.C: use inline helpers
15351 * LaTeXFeatures.C: fix typos
15354 * Spacing.C: move spacing_string into class
15356 * ToolbarDefaults.C: move stuff into namespace anon
15358 * layout.h: update enum
15360 * lyxfunc.C: use better debug
15362 * minibuffer.h: fix typo
15366 * WorkArea.C: add and use Debug::WORKAREA
15370 * text2.C: code re-organisation, inline helpers
15372 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15374 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15375 std::vector.empty().
15377 2001-11-09 Allan Rae <rae@lyx.org>
15379 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15380 '\n's after tables. Tabular and ERT inset work now makes this no
15383 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15386 * minibuffer.C: fix crash, improve drop-down completion
15388 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15391 * lyxserver.C: invalidate fd's when doing endPipe()
15393 2001-11-08 José Matos <jamatos@fep.up.pt>
15395 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15396 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15399 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15401 2001-11-07 José Matos <jamatos@fep.up.pt>
15404 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15407 * buffer.C (sgmlOpenTag):
15408 * buffer.C (sgmlCloseTag): removed debug info.
15410 * buffer.h (sgmlOpenTag):
15411 * buffer.h (sgmlCloseTag): made public.
15413 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15415 * buffer.C (saveParamsAsDefaults):
15416 * lyx_cb.C (MenuLayoutSave): remove
15418 * LyXAction.C (init):
15420 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15422 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15424 * buffer.C (setPaperStuff): removed from here...
15426 * bufferparams.C (setPaperStuff): ... and moved there.
15428 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15432 * XFormsView.C: add support for drop-down completion
15434 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15436 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15439 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15441 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15444 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15446 * lyx_main.C: change ref to known bugs
15448 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15450 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15451 to work around older babel problems.
15453 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15455 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15457 2001-10-24 Juergen Vigna <jug@sad.it>
15459 * tabular-old.C (ReadOld): below variable changes reflected.
15461 * tabular.[Ch]: added ltType struct for longtable header/footer
15462 defines and changed all instances where they are used. Added
15463 future support for double top/bottom rows.
15465 2001-10-24 José Matos <jamatos@fep.up.pt>
15467 * buffer.h (docbookHandleCaption):
15468 * buffer.C (docbookHandleCaption): removed unused function.
15469 (makeDocBookFile): moved docbook supported version to v4.1.
15471 2001-10-24 José Matos <jamatos@fep.up.pt>
15474 * tabular.C (docbookRow): new function to export docbook code of a row.
15475 (DocBook): now honors the longtable flags.
15477 2001-10-23 José Matos <jamatos@fep.up.pt>
15480 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15481 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15483 * buffer.C (makeLinuxDocFile):
15484 (makeDocBookFile): reworked the preamble, more clean, and with
15485 support for lyx defined entities. Changed the document declaration
15486 to be more XML friendly.
15488 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15489 if we need to output XML that should be done with a filter.
15491 2001-10-22 Juergen Vigna <jug@sad.it>
15493 * sp_pspell.h (class PSpell): add alive function needed in the
15494 controller to see if the spellchecker could be started.
15496 2001-10-22 Juergen Vigna <jug@sad.it>
15498 * buffer.C (insertStringAsLines): modify the font for inserting
15499 chars in certain conditions by calling checkInsertChar(font).
15501 2001-10-19 Juergen Vigna <jug@sad.it>
15503 * text.C (workWidth): use getRow instead of wrong algorithm.
15504 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15506 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15511 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15513 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15515 * text.C (workWidth): do not search for the exact row when
15516 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15517 optimization for big documents.
15519 2001-10-18 Juergen Vigna <jug@sad.it>
15521 * text.C (workWidth): new function with added Inset * parameter.
15523 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15525 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15527 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15528 change return type of getColumnNearX.
15531 * text.C (changeRegionCase): use uppercase/lowercase instead of
15534 (rightMargin): simplify code by factoring out the uses of
15539 (appendParagraph): use Paragraph::size_type
15541 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15543 * vspace.C (asLatexString): add a missing break
15545 2001-10-15 Herbert Voss <voss@perce.de>
15547 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15549 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15551 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15554 2001-10-10 André Pönitz <poenitz@gmx.net>
15556 * lyxfunc.C: removed greek_kb_flag.
15558 2001-10-10 Herbert Voss <voss@perce.de>
15560 * lyx_main.C: delete global string help_lyxdir.
15562 2001-10-09 Herbert Voss <voss@perce.de>
15564 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15566 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15568 * lyx_main.C: added global string help_lyxdir.
15570 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15572 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15574 * lyxrc.C (set_font_norm_type): support iso8859-4
15576 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15578 * LaTeX.C (deplog): add another regex for MikTeX
15580 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15582 * lyxrc.C (set_font_norm_type): support iso8859-3
15584 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15586 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15588 * LaTeXFeatures.C: remove special case of french and index
15590 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15591 before \begin{document}). This solves several incompatibilities.
15593 2001-10-03 Garst Reese <reese@isn.net>
15595 * lyx_cb.C: change CheckTex error msg.
15597 2001-10-03 José Matos <jamatos@fep.up.pt>
15599 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15601 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15603 * .cvsignore: update
15605 * lyx_main.C (commandLineVersionInfo): use new style version info.
15607 * buffer.C (writeFile):
15609 (makeLinuxDocFile):
15610 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15612 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15614 * version.h: update to use stuff in version.C
15616 * version.C.in: new file. Contains version information determined
15617 at compile time. This is a merging of version.h and
15620 2001-10-03 Juergen Vigna <jug@sad.it>
15622 * BufferView_pimpl.C (update): don't change "dirty" status in
15625 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15627 * WorkArea.C (c-tor): re-position version string slightly.
15629 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15631 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15632 revert to previous code.
15634 WorkArea.[Ch]: (show, destroySplash): methods removed.
15636 WorkArea.C: rework code so that it's an amalgam of the codes before and
15637 after the splash screen was moved to WorkArea.
15639 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15642 * vspace.C (inPixels):
15645 * buffer.C (insertStringAsLines):
15646 (asciiParagraph): fix types to be large enough
15648 * lyxlex_pimpl.h: change member status from short to int
15650 * layout.h: fix type of endlabeltype
15653 * kbsequence.C (parse): change return type to string::size_type
15655 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15658 * Bullet.C (bulletSize):
15659 (bulletEntry): do not use short ints as parameters
15661 * BufferView2.C (insertLyXFile): change a char to an int.
15663 * WorkArea.C (WorkArea): remove unneeded floats in computation
15665 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15667 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15669 * paragraph.C (asString): Do not ignore newline/hfill chars when
15670 copying to the clipboard.
15672 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15674 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15675 after a multi-line inset.
15677 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15679 * paragraph.C (validate): Set NeedLyXFootnoteCode
15681 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15683 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15684 and decrease-error to decrease.
15686 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15688 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15689 it more readable (should be equivalent)
15691 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15693 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15695 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15697 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15698 of a cursor (row, etc.) after a character has been deleted
15699 (deleteEmptyParagraphMechanism): call the method above on _all_
15700 cursors held by the LyXText when a double space has been
15703 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15705 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15707 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15709 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15710 background. Use greyOut() and the new show() methods to toggle between
15711 the foreground and background. Add code to remove the splash after
15712 its initial showing.
15714 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15715 (create_forms): no longer call Dialogs::showSplash.
15717 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15719 * .cvsignore: add version_info.h
15721 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15723 * version_info.h.in: new file
15725 * Makefile.am: add version_info.h.in
15727 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15728 version_info.h instead of VERSION_INFO
15730 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15732 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15733 The ERT inset now returns string().
15735 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15737 * lyxtext.h, text.C (selectNextWord): renamed as
15738 selectNextWordToSpellcheck.
15740 * text.C (selectNextWordToSpellcheck): Modified to not select
15741 words inside an ERT inset.
15743 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15745 * lyx_cb.C (MenuLayoutSave): change a bit the question
15747 * sp_base.h: include <sys/types.h>
15749 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15751 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15753 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15755 * several files: fix typos in user-visible strings
15757 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15759 * text2.C (pasteSelection): do not set the selection, since it
15760 will be cleared later. Actually, the intent was to fix the way the
15761 selection was set, but I figured rmoving the code was just as good.
15763 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15765 * FontLoader.C (available): Check if font is available without
15768 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15770 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15772 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15774 * lyxrc.[Ch]: added display_graphics variable and associated code.
15776 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15778 * bufferparams.C (hasClassDefaults): new method. Returns true if
15779 the buffer parameters correspond to known class defaults
15781 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15783 * XFormsView.C (show): set minimum size to the main window.
15785 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15787 * text2.C (copySelection):
15789 * lyxfind.C (LyXReplace):
15790 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15791 LyXText::selectionAsString.
15793 * paragraph.C (asString): add "label" argument to the second form
15795 * text2.C (selectionAsString): add "label" argument and pass it to
15796 Paragraph::asString.
15798 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15800 * lyx_main.C (commandLineHelp): remove version information
15802 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15804 * lyx_main.C: add -version commandline option
15806 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15808 * paragraph.h: make the optional constructor arg required instead.
15809 some modifications to other files because of this.
15811 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15813 * lyxserver.C (C_LyXComm_callback): make it static
15815 * lyx_main.C (error_handler): make it static
15817 * lyx_gui.C (LyX_XErrHandler): make it static
15819 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15821 * WorkArea.C: make the extern "C" methods static.
15823 * Makefile.am (lyx_LDADD): simplify
15825 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15827 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15828 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15830 * LyXAction.C (init):
15831 * lyxfunc.C (dispatch): associated code removal.
15833 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15835 * lyxfont.h (isSymbolFont): shut off warning
15837 * text.C (setHeightOfRow):
15838 (getVisibleRow): fix crash with empty paragraphs which have a
15841 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15843 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15846 2001-09-04 José Matos <jamatos@fep.up.pt>
15849 * tabular.C (docbook): rename docBook method to docbook.
15851 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15853 * Makefile.am: add dependencies to main.o.
15855 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15857 * FontLoader.C (available): Return false if !lyxrc.use_gui
15859 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15861 * FontInfo.C (query):
15862 * converter.C (view):
15863 * importer.C (Import):
15864 * exporter.C (Export): Can not -> cannot.
15866 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15868 * BufferView_pimpl.C: allow to create index inset even if
15871 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15873 * buffer.C (getLists): replace boost::tie code with an explicit pair
15874 as boost::tie can break some compilers.
15876 * iterators.h: Added a std:: declaration to the return type of
15879 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15881 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15884 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15886 * iterators.[Ch]: New files. Provide paragraph iterators.
15888 * buffer.C (changeLanguage): Use paragraph iterators.
15889 (isMultiLingual): ditto
15891 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15893 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15895 * FontLoader.C: Support for cmr font.
15897 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15899 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15900 (available): New method.
15902 * FontInfo.C (getFontname): Use scalable fonts even when
15903 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15906 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15908 * converter.C (Formats::view): reverted! Incorrect fix.
15910 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15912 * converter.C (Formats::view): only output the -paper option
15913 if the dvi viewer is xdvi, thereby fixing bug #233429.
15915 2001-08-23 Herbert Voss <voss@perce>
15917 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15919 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15921 * Spacing.h (Spacing): Set space to Default on in the default
15924 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15926 * vc-backend.h (RCS::versionString): add RCS to version
15927 (CVS::versionString): add CVS to version
15929 * vc-backend.C (scanMaster): do not add CVS to version.
15930 (scanMaster): do not add RCS to version
15932 * lyxvc.C (versionString): new method
15934 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15936 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15938 * Spacing.C (set): initialize fval
15940 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15942 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15945 2001-08-16 Juergen Vigna <jug@sad.it>
15947 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15949 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15951 * BufferView_pimpl.C:
15954 * text2.C: setParagraph takes linespacing now
15956 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15958 * LyxAction.C: add internal LFUN_CITATION_INSERT
15960 * LyXView.C: actually apply fix
15962 * bufferlist.C: fix open non-existent file
15964 * lyxfind.C: fix indentation
15966 * lyxfunc.C: remove unneeded assert, fix typo
15968 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15970 * MenuBackend.C: use "Floatname List"
15972 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15974 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15975 when converting LaTeX layout to insetERT.
15976 Generate a non-collapsed float when reading old float
15978 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15980 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15983 2001-08-13 Juergen Vigna <jug@sad.it>
15985 * text.C (fill): return 0 instead of 20 as this seems to be the more
15988 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15990 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15993 2001-08-13 Juergen Vigna <jug@sad.it>
15995 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15997 (SearchBackward): comment out the unlocking of the inset_owner this
15998 should not be needed!
16000 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
16002 * Many files: Remove inherit_language, and add latex_language
16004 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16005 collapsible insets.
16007 2001-08-10 Juergen Vigna <jug@sad.it>
16009 * text.C (prepareToPrint): fixed hfill-width in draw!
16011 * BufferView2.C (selectLastWord): save the selection cursor as this
16012 now is cleared in the function LyXText::clearSelection!
16014 2001-08-08 Juergen Vigna <jug@sad.it>
16016 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16017 BACKSPACE type functions.
16019 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16020 is only cutted from the document but not put in the cut-buffer, where
16021 still the old stuff should be.
16023 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16025 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16027 * tabular.C (SetWidthOfCell): fixed special case where the width
16029 (LeftLine): handle '|' in align_special.
16031 (LeftAlreadyDrawed): ditto
16032 (SetWidthOfCell): ditto
16034 2001-08-07 Juergen Vigna <jug@sad.it>
16036 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16038 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16040 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16041 * lyxlex.[hC]: ditto
16043 2001-08-06 Juergen Vigna <jug@sad.it>
16045 * text.C (getVisibleRow): fix up row clearing a bit.
16047 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16049 * minibuffer.C: make sure the X server sees the changes in the input.
16051 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16053 * paragraph.C (getFont): split into...
16054 (getLabelFont): this
16055 (getLayoutFont): and this
16056 * paragraph_pimpl.C (realizeFont): calling this
16058 * text2.C (getFont): split into...
16059 (getLayoutFont): this
16060 (getLabelFont): and this
16061 (realizeFont): all three calling this
16063 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16066 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16068 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16070 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16072 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16073 layouts from the Quote inset insertion.
16075 2001-08-03 Juergen Vigna <jug@sad.it>
16077 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16079 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16080 only if status not is already CHANGED_IN_DRAW (second level).
16082 * text.C (draw): don't set the need_break_row when inside an
16085 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16087 * buffer.C (parseSingleLyXformat2Token): handle more latex
16090 * bufferview_funcs.[hC]: change function names to
16091 begin with small char, adjust other files.
16093 2001-08-02 André Pönitz <poenitz@gmx.net>
16096 BufferView_pimpl.C: remove broken special code for math-greek
16098 2001-08-02 Juergen Vigna <jug@sad.it>
16100 * BufferView_pimpl.C (update): redone this function so that we
16101 update the text again if there was a CHANGE_IN_DRAW.
16103 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16104 (drawFromTo): added a new internal bool which is used by draw() and
16106 (general): some cursor drawing problems fixed.
16108 2001-08-01 Juergen Vigna <jug@sad.it>
16110 * lyxfind.C (LyXFind): fixed
16111 (SearchForward): ditto
16112 (SearchBackward): ditto
16114 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16115 spurius drawing of the cursor in the main area.
16117 * text2.C (status): small fix which could lead to a segfault!
16118 (clearSelection): remove unneeded BufferView param.
16120 2001-08-01 André Pönitz <poenitz@gmx.net>
16122 * lyxfunc.C: small change due to changed mathed interface
16124 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16126 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16128 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16130 * lyxfunc.c: fail gracefully if file doesn't exist
16135 * BufferView_pimpl.C: IsDirWriteable() proto changed
16137 * LyXView.C: fix updateWindowTitle() to store the last title
16139 2001-07-31 Juergen Vigna <jug@sad.it>
16141 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16142 the font (wrong since using of Paragraph::highestFontInRange).
16144 * paragraph.C (highestFontInRange): added a default_size parameter.
16146 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16147 (setHeightOfRow): reformat
16149 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16151 * converter.[hC] + affected files: move to (inital-char)lowercase
16154 * ParagraphParameters.C (ParagraphParameters): remove commented code
16156 * PainterBase.[Ch]: remove commented code
16158 * LaTeXFeatures.h: add "bool floats" for float.sty
16160 * LaTeXFeatures.C (LaTeXFeatures): init floats
16161 (require): handle float
16162 (getPackages): do it with floats
16164 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16166 * BufferView_pimpl.C (Dispatch): improve handling of
16167 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16169 * commandtags.h: #include lyxfont.h here temporarily to avoid
16172 * bufferlist.h: include LString.h here.
16174 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16176 * text2.C (getStringToIndex): new method.
16178 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16180 * *: Reduced header file dependencies all over.
16182 2001-07-30 Baruch Even <baruch@lyx.org>
16184 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16186 2001-07-29 Baruch Even <baruch@lyx.org>
16188 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16190 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16192 * ParameterStruct.h (endif): add a default constructor to make
16193 sure that all variables is initialized.
16195 * ParagraphParameters.C (ParagraphParameters): adjust
16197 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16199 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16200 index; also, check that there is something to index, and that it
16201 does not span over several paragraphs.
16202 (doubleClick): use WHOLE_WORD_STRICT for double click.
16204 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16206 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16209 2001-07-26 Baruch Even <baruch@lyx.org>
16211 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16212 an InsetFig figure, backwards compatible reading of old figure code.
16214 2001-07-27 Juergen Vigna <jug@sad.it>
16216 * text2.C: font.realize function adaption.
16218 * text.C (draw): add a warnings lyxerr text if needed.
16220 * layout.C: font.realize function adaption.
16222 * language.C: add inherit_language and implement it's handlings
16224 * bufferview_funcs.C (StyleReset): remove language parameter from
16225 font creation (should be language_inherit now).
16227 * bufferparams.C (writeFile): handle ignore_language.
16229 * paragraph.C (getFontSettings): the language has to be resolved
16230 otherwise we have problems in LyXFont!
16232 * lyxfont.C (lyxWriteChanges): added document_language parameter
16233 (update): removed unneeded language parameter
16235 * paragraph.C (validate): fixed wrong output of color-package when
16236 using interface colors for certain fonts in certain environments,
16237 which should not seen as that on the final output.
16239 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16241 * BufferView_pimpl.C:
16246 * LyXAction.C: add thesaurus support
16249 * lyxfind.C: add "once" parameter, for thesaurus, to not
16250 move to the next match
16252 2001-07-26 Juergen Vigna <jug@sad.it>
16254 * lyxfont.C (realize): honor ignore_language too!
16257 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16259 * text.C (draw): one place more for ignore_language to not draw
16262 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16264 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16266 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16268 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16269 the minipage conversion problem.
16271 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16273 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16276 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16278 * BufferView.h: don't forward declare WorkArea
16280 * BufferView.C: don't include WorkArea.h
16282 2001-07-25 André Pönitz <poenitz@gmx.net>
16286 * lyxfunc.C: new LFUN 'math-space'
16288 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16290 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16292 * text2.C (toggleInset): call open/close
16294 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16296 * lyxfunc.C (dispatch): add debug for the disabled case
16298 * font.C (buttonText): make similar to rectText
16300 * buffer.C (readInset): comment out parsing of insetlist and
16303 * PainterBase.C (rectText): small correction
16305 * BufferView_pimpl.C: comment out insettheorem and insetlist
16306 * LyXAction.C: ditto
16307 * commandtags.h: ditto
16309 2001-07-24 Juergen Vigna <jug@sad.it>
16311 * text.C (draw): honor the ignore_language.
16313 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16315 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16317 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16320 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16322 * lyxtext.h: remove unused (and unimplemented) methods
16324 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16326 * text.C (getVisibleRow): honor background color
16329 * Painter.h: remove default color argument for fillRectangle
16331 * text.C (backgroundColor): new method
16333 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16335 * text.C (getVisibleRow): adjust
16337 * font.[Ch] (rectText): new method, metrics
16338 (buttonText): new method, metrics
16340 * PainterBase.[hC]: make rectText and buttonText always draw and take
16343 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16345 * ToolbarDefaults.C (read):
16346 * MenuBackend.C (read): allow escaping in all strings
16348 * BufferView_pimpl.C (insertAndEditInset): new method.
16349 (Dispatch): use insertAndEditInset whenever appropriate.
16351 * BufferView_pimpl.C (insertNote): removed
16353 * BufferView_pimpl.C (smartQuote): new method, moved from
16354 BufferView; if an insetquote cannot be inserted, insert a '"'
16357 * BufferView2.C: remove insertCorrectQuote();
16359 * lyxfunc.C (getStatus): Add support for all remaingin
16360 inset-insert lfuns.
16362 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16364 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16365 command (necessary to pass " as parameter of self-insert.
16367 * text.C (selectWordWhenUnderCursor):
16368 (selectWord): add word_location parameter
16369 (selectWordWhenUnderCursor): same + remove special code for word
16371 (selectNextWord): use kind() to guess type of insetspecialchar,
16374 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16375 (insertErtContents): create ert insets as collapsed.
16376 (readInset): better compatibility code for Info inset.
16378 2001-07-20 Juergen Vigna <jug@sad.it>
16380 * lyxfunc.C (dispatch): use always LyXFind now!
16382 * text2.C (init): add a reinit flag so that the LyXText can be
16383 reinited instead of deleted and reallocated (used in InsetText).
16385 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16391 2001-07-18 Juergen Vigna <jug@sad.it>
16393 * text.C (selectNextWord): handle insets inside inset by calling
16394 always the bv->text functions so that we can go up the_locking_inset!
16396 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16397 in strange locations when inside an inset!
16399 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16400 handling to include insets.
16402 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16404 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16406 * LyXAction.C (init):
16408 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16409 LIGATURE_BREAK, since the name is so stupid.
16411 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16413 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16416 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16418 * sp_form.[Ch]: remove.
16420 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16422 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16425 * src/buffer.C (readInset): ditto.
16427 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16429 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16430 menuSeparator(), endOfSentenceDot(), ldots() and
16431 hyphenationPoint(), which are therefore removed.
16432 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16434 * LyXAction.C (init):
16435 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16437 * paragraph.C (getWord): removed.
16439 * BufferView_pimpl.C (Dispatch): use last word or selection for
16440 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16442 * lyx_main.C (queryUserLyXDir): do not ask before creating
16443 user_dir, except if it has been named explicitely.
16445 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16447 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16448 a document of zero size.
16450 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16452 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16453 approriately in the c-tor and in require().
16454 (getPackages): output the appropriate LaTeX for natbib support.
16456 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16457 variables "use_natbib" and "use_numerical_citations" when reading the
16459 (readInset): read the various natbib cite commands.
16460 (validate): white-space change.
16462 * bufferparams.[Ch]: new variables "bool use_natbib" and
16463 "bool use_numerical_citations".
16464 (writeFile): output them in the LyX file.
16466 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16468 * lyxfunc.C (getStatus): add support for all the inset insertion
16471 * text2.C (insertInset):
16472 * paragraph.C (insetAllowed):
16473 * BufferView_pimpl.C (insertInset): update to take in account the
16474 renaming of insertInsetAllowed
16476 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16478 * text2.C (getInset): new method. returns inset at cursor position.
16480 * BufferView_pimpl.C (Dispatch): changes because of this.
16482 * LyXAction.C (init): rename open-stuff to inset-toggle.
16484 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16486 * text2.C (toggleInset): renamed from openStuff; use
16489 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16491 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16493 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16495 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16497 * buffer.C (readLyXformat2): Add filename to the error dialog
16499 2001-07-18 Juergen Vigna <jug@sad.it>
16501 * tabular.C (GetCellNumber): put an assert here instead of the check!
16503 2001-07-17 Juergen Vigna <jug@sad.it>
16505 * BufferView_pimpl.C (toggleSelection): adapted too.
16507 * text.C (selectNextWord): adapted for use with insets.
16508 (selectSelectedWord): ditto
16510 2001-07-17 Juergen Vigna <jug@sad.it>
16512 * sp_spell.C (PSpell): fix initialitation order.
16514 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16516 * paragraph.C: spacing
16518 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16520 * sp_spell.C: repair language selection for pspell
16522 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16524 * lyxfunc.h: change more methods to begin with lower char.
16526 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16528 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16529 for unknown layouts.
16531 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16533 * buffer.C (readLyXformat2): Generate an error dialog if there are
16536 2001-07-16 Juergen Vigna <jug@sad.it>
16538 * sp_spell.C: always compile ISpell part.
16540 * lyxrc.C: added use_pspell entry and it's handling.
16542 2001-07-13 Juergen Vigna <jug@sad.it>
16544 * sp_spell.C: removed double includes.
16546 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16548 Consistent use of Lsstream.h:
16549 * Lsstream.h: added using std::stringstream for consistencies sake.
16551 * buffer.C: removed using std::stringstream
16553 * lyxfont.C (stateText):
16554 * paragraph.C (asString):
16555 * text.C (selectNextWord, selectSelectedWord):
16556 * text2.C (setCounter):
16557 * vspace.C (asString, asLatexString):
16558 std::ostringstream -> ostringstream.
16560 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16562 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16563 * commandtags.h: add LFUN_HELP_ABOUTLYX
16564 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16566 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16568 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16570 * lyx_gui_misc.C: remove spellchecker
16571 * lyxfunc.C: showSpellchecker
16573 * sp_ispell.h: added
16574 * sp_pspell.h: added
16575 * sp_spell.C: added
16576 * sp_form.[Ch]: removed
16577 * spellchecker.[Ch]: removed
16579 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16581 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16583 (simpleTeXSpecialChars): Simply print the input character without
16584 any special translation if pass_thru is set.
16586 * layout.h: Added bool pass_thru to layout class for being able to
16587 implement pass through of a paragraph for Literate Programming.
16589 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16590 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16591 * layout.C (Read): add "passthru" to list of layout tags and add
16592 code to set the pass_thru boolean when it is read.
16594 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16596 * trans_decl.h: remove allowed from KmodInfo
16598 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16599 remove allowed code
16602 * paragraph_pimpl.C (erase): use boost::prior
16604 * Painter.C (text): use data() instead of c_str() when length is
16606 * WorkArea.C (putClipboard): ditto
16607 * font.h (width): ditto
16609 * BufferView2.C: use it-> instead of (*it). for iterators
16611 * paragraph_pimpl.C: ditto
16612 * paragraph.C: ditto
16613 * minibuffer.C: ditto
16614 * language.C: ditto
16616 * encoding.C: ditto
16617 * counters.C: ditto
16618 * converter.C: ditto
16620 * Variables.C: ditto
16621 * TextCache.C: ditto
16622 * MenuBackend.C: ditto
16623 * LyXAction.C: ditto
16625 * FloatList.C: ditto
16626 * DepTable.C: ditto
16627 * ColorHandler.C (LyXColorHandler): ditto
16629 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16631 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16633 * text2.C (openStuff): reintroduce this method (which had been
16634 nuked in NEW_INSETS frenzy).
16636 * lyxfunc.C (Dispatch): when an action has not been handled, use
16637 its name in the error message, not its number.
16639 * paragraph.C (inInset): change method name to begin with lowercase.
16642 * text2.C: updates because of this.
16644 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16646 * ToolbarDefaults.C (add): add spaces in error message
16648 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16650 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16651 (readLyXformat2): rename return_par to first_par, use lyxlex's
16652 pushToken and remove the manual push handling.
16653 (parseSingleLyXformat2Token): add another ert comp. variable:
16654 in_tabular, rename return_par to first_par. handle newlines better
16656 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16658 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16660 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16662 * text2.C (getParFromID): removed
16664 * buffer.C (getParFromID): new method moved form lyxtext.
16665 * BufferView2.C (insertErrors): adjust
16666 (setCursorFromRow): adjust
16667 * BufferView_pimpl.C (restorePosition): adjust
16668 * lyxfunc.C (Dispatch): adjust
16669 * undo_funcs.C (textUndo): adjust
16671 (textHandleUndo): adjust
16672 (textHandleUndo): adjust
16674 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16676 * buffer.C: up' the LYX_FORMAT
16678 * lyxfont.h: turn NO_LATEX on as default
16680 * buffer.C (insertErtContents): new methods of tex style compability.
16681 (parseSingleLyXformat2Token): use it several places.
16682 * tabular.C (OldFormatRead): and here
16684 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16686 * text2.C: remove some commented code.
16689 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16690 * trans.C: changes because of the above.
16692 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16694 * text2.C (setCounter): Fix counters bug with bibliography layout.
16696 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16698 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16699 own member functions
16700 (simpleTeXSpecialChars): ditto
16702 2001-07-06 Juergen Vigna <jug@sad.it>
16704 * a lot of files: changed the access to LyXText::status and the
16705 call of undo-functions.
16707 * undo.[Ch]: added a inset_id to the undo informations.
16709 * undo_funcs.[Ch]: added and moved here all undo functions.
16711 * lyxtext.h: give the status enum a weight, made status_ a private
16712 variable and made accessor functions for it, removed the whole bunch
16713 of undo-functions as they are now in their own file, make some
16714 functions publically available. Added function ownerParagraph with
16717 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16718 made InInset() a const function, added getParFromID() function.
16720 * buffer.[Ch]: added const version for inset_iterator functions,
16721 added getInsetFromID() function.
16723 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16724 changed undo functions for new version.
16726 2001-07-05 Juergen Vigna <jug@sad.it>
16728 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16729 unknow mechanism does not call the proper constructor but only this
16730 one also if I request the other!?
16732 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16734 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16736 * text2.C (LyXText): use initialization lists.
16738 * lyxtext.h (Selection): initialize set_ and mark_
16739 (init): remove method
16741 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16743 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16745 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16747 * screen.[Ch]: change method names to begin with lowercase
16749 * BufferView_pimpl.C (updateScrollbar): simplify further and
16750 hopefully make it a bit faster.
16752 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16754 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16755 calling directly xforms functions.
16757 * Painter.C (Painter):
16758 * lyx_cb.C (MenuWrite):
16759 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16762 * lyx_gui.C: remove bogus guiruntime extern declaration.
16764 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16766 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16768 (redoDrawingOfParagraph): ditto
16769 (redoParagraphs): ditto
16770 (cutSelection): don't create a object for CutAndPaste use the
16771 static method directly
16772 (pasteSelection): ditto
16774 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16777 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16779 * modifications to some other files because of this.
16781 * Makefile.am (lyx_SOURCES): add XFormsView
16783 * XFormsView.[Ch]: new files
16785 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16786 the main window. Move the gui dependent stuff to XFormsView
16788 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16790 * tabular.C (GetCellInset): update cur_cell also in the row/col
16791 version of this function.
16793 * lyxfunc.C: no need to include figure_form.h here.
16799 * lyxvc.C: no need to include forms.h here.
16801 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16803 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16805 * lyxfunc.C (Dispatch):
16807 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16808 constructor argument.
16810 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16812 * paragraph.C (Paragraph): dont't clear, and just set layout.
16813 (makeSameLayout): use params's copy contructor.
16815 * ParagraphParameters.[Ch] (makeSame): delete method
16817 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16819 * Variables.[Ch]: fix indentation, rename set to isSet
16821 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16823 * lyxfunc.C (Dispatch): fix typo
16825 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16827 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16830 * bufferlist.C: include assert.h for emergencyWrite().
16832 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16834 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16835 give up at last (bug #425202) !
16837 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16843 * spellchecker.C: strip spellchecker options and bring up
16844 preferences tab instead
16846 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16848 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16849 the istringstream constructor
16851 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16853 * paragraph.C (getLayout): fix return value
16855 * paragraph.h: do not declare getLayout as inline.
16857 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16859 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16861 * lyxcursor.h (operator<): new func
16862 (operator>): new func
16863 (operator>=): new func
16864 (operator<=): new func
16866 * text.C (changeCase): use selection.start and selection.end
16867 (changeRegionCase): require from to be <= to. Require par to be a
16870 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16872 2001-06-27 Juergen Vigna <jug@sad.it>
16874 * text.C (cursorLeftOneWord): changed to return the cursor and added
16875 overlay with BufferView * parameter which calls this one.
16877 (selectWord): use new getWord function.
16878 (changeCase): renamed from changeWordCase as and extended to work
16879 also on selections.
16881 * lyxtext.h: added enum word_location
16883 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16884 changeCase as this operates now also on selections.
16886 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16888 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16890 * many files: send debug output to Debug::INFO instead of
16893 * converter.C (View):
16895 (Move): send debug output to Debug::FILES instead of console.
16897 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16899 * lyxfunc.C (getStatus): use func_status
16901 * func_status.h: new header, describing the results of
16902 LyXFunc::getStatus;
16904 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16907 2001-06-25 The LyX Project <jug@sad.it>
16909 * buffer.C (sgmlOpenTag):
16911 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16913 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16915 * text2.C: remove some dead code
16917 * tabular.C (GetCellInset): store the last cell checked (gotten)
16919 * tabular.h: add the helper for the speedup
16921 * lyxtext.h: remove some dead code
16923 2001-06-26 The LyX Project <Asger>
16925 * paragraph.C: Change export to LaTeX of alignment to
16926 \begin{center} and family for better roundtrip work with reLyX.
16928 * Tune the math drawing a bit.
16930 2001-06-25 The LyX Project <Asger>
16932 * LColor.C (LColor): New color for math background. New color
16935 2001-06-25 The LyX Project <jug@sad.it>
16937 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16939 * lyxfunc.C (Open):
16940 * bufferlist.C (newFile): do not restrict to files ending with
16943 * BufferView_pimpl.C (MenuInsertLyXFile):
16945 2001-06-24 The LyX Project <jug@sad.it>
16947 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16950 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16952 * lyxtext.h: rename most methods to begin with a small char.
16953 Lots of changes because of this.
16955 * paragraph.C (Paragraph): do not call fitToSize
16956 (erase): call Pimpl::erase
16957 (insertChar): call Pimpl::insertChar
16958 (insertInset): call Pipl::insertInset
16959 (breakParagraph): do not call fitToSize
16960 (breakParagraphConservative): do not call fitToSize
16961 (fitToSize): remove method
16963 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16965 2001-06-24 The LyX Project <Asger>
16967 * Fix Qt compilation^2
16969 2001-06-24 The LyX Project <jug@sad.it>
16971 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16972 depthHook(getDepth()-1).
16975 * ParagraphParameters.h:
16976 * ParameterStruct.h: change type of depth to unsigned int ==
16977 depth_type. Many adaptations to other files before of that.
16979 2001-06-24 The LyX Project <Asger>
16981 * Fix Qt compilation.
16983 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16985 * paragraph.h: renamed several methods to begin with small letter.
16986 several changes to many parts of the code because of this.
16988 2001-06-23 The LyX Project <jug@sad.it>
16990 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16991 rewritten to discard all double spaces when KeepEmpty is off
16992 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16993 to only handle newlines but not fiddle with spaces and friends.
16995 * lyxfunc.C (MenuNew): when doing 'new from template', use
16996 template_path as default directory
16998 2001-06-23 The LyX Project <Asger>
17000 * Clean-up of header file includes all over
17001 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17003 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17005 * paragraph.h: renamed from lyxparagraph.h
17007 2001-06-23 Asger <lyx@violet.home.sad.it>
17009 * Buffer.h: Removed Buffer::resize
17010 * BufferList.h: Removed BufferList::resize
17011 * LyXView.h: Added LyXView::resize. This way, we will only reflow
17012 the document lazily when we change the width, or the font settings.
17014 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17016 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17018 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17020 * buffer.h: remove out of date comment
17022 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
17025 * screen.C: fix "theoretical" GC leak
17027 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17029 * LaTeX.C (scanAuxFile):
17030 (deplog): remove trailing \r when reading stream (useful under
17033 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17035 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17036 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17037 and BufferView::theLockingInset(Inset*), so should use them and not
17038 access bv_->text->the_locking_inset directly.
17040 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17042 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17045 * tex-defs.h: remove old unused file
17047 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17049 * BufferView_pimpl.C: fix typo, remove minibuffer message
17050 when buffer has loaded
17052 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17054 * lyxfunc.C (Dispatch): use stringstream
17055 (MenuNew): use stringstream
17056 (Open): use stringstream
17058 * importer.C (Import): use stringstream
17060 * bufferview_funcs.C (CurrentState): use stringstream
17062 * LaTeX.C (run): use stringstream
17064 * BufferView_pimpl.C (savePosition): use stringstream
17065 (restorePosition): use stringstream
17066 (MenuInsertLyXFile): use stringstream
17068 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17081 * vspace.C: removed // -*- C++ -*- as first line.
17084 * version.h: added // -*- C++ -*- as first line.
17086 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17088 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17090 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17093 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17095 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17098 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17100 * gettext.C: include LString.h even when --disable-nls is on.
17102 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17104 * converter.h (Get): changed argument type from int to
17105 FormatList::size_type to avoid unnecessary conversion.
17107 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17110 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17112 * gettext.h: include LString.h even when --disable-nls is on.
17114 2001-06-07 Juergen Vigna <jug@sad.it>
17116 * text.C (BreakAgain): subst spaces with tabs.
17118 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17119 (resizeInsetsLyXText): set force on resizeLyXText.
17121 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17123 * gettext.h (gettext_init):
17124 (locale_init): use a real definition instead of a macro
17126 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17128 * Bufferview_pimpl.C:
17130 * LColor.C: further lcolor tidies
17132 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17134 * BufferView_pimpl.C (updateScrollbar): simplify.
17136 * BufferView2.C: don't include insets/insetinfo.h, change
17137 prototype for insertInset and call the Pimpl version. let
17138 updateInset call Pimpl version.
17140 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17141 gotoInset to BufferView::Pimpl
17143 2001-06-01 Juergen Vigna <jug@sad.it>
17145 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17146 inside a LockingInset (is the update needed at all?).
17148 2001-05-31 Juergen Vigna <jug@sad.it>
17150 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17151 here not the old one otherwise how should we compare it afterwards
17154 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17159 * FontInfo.C: bring C functions into global namespace when
17162 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17164 * LString.h: make sure config.h has been loaded before LString.h.
17166 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17167 (one for each char read by EatLine!).
17169 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17172 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17174 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17175 to the same as the par we break from
17177 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17179 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17181 * MenuBackend.C (expand): also create menu entries for wide
17182 versions of the floats.
17184 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17186 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17188 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17189 frontends/Makefile.am
17195 * tabular.C (getTokenValue): add std::
17197 * tabular-old.C (getTokenValue): add std::
17198 (getTokenValue): ditto
17199 (getTokenValue): ditto
17201 * screen.C (ToggleSelection): adjust
17203 * lyxtext.h: put selection cursors inside a Selection struct.
17205 * lyxfunc.C (moveCursorUpdate): adjust
17207 * lyxfont.C (latexWriteStartChanges): add std::
17209 * lyxfind.C: adjust
17211 * font.h: delete with(char const *, LyXFont const &)
17213 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17215 * FontInfo.C (getFontname): add std::
17217 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17218 (workAreaButtonPress): adjust
17219 (tripleClick): adjust
17221 (moveCursorUpdate): adjust
17224 * BufferView2.C (gotoInset): adjust
17226 2001-05-30 Juergen Vigna <jug@sad.it>
17228 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17229 to check pspell I add this as default as I now have new pspell
17230 libraries and they seem to use this.
17232 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17234 * text2.C (CutSelection): make the cursor valid before the call to
17237 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17239 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17240 relied on 0 terminated strings and other horrors. Bug found due to
17241 the new assert in lyxstring!
17243 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17246 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17248 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17251 * lyxfunc.C (processKeySym): change method of getting to the
17254 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17255 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17256 * BufferView_pimpl.[Ch]: here as private methods.
17258 2001-05-28 Juergen Vigna <jug@sad.it>
17260 * text.C (SetHeightOfRow): added the update() call again as it is
17261 needed to initialize inset dimensions!
17263 2001-05-16 Juergen Vigna <jug@sad.it>
17265 * text2.C (SetCharFont): Add new function with BufferView * and
17266 bool toggleall parameters for setting insets internal fonts.
17267 (SetFont): Freeze the undo as we may change fonts in Insets and
17268 all this change should be inside only one Undo!
17270 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17271 setting font's in insets as for them we have the SetFont function!
17273 2001-05-15 Juergen Vigna <jug@sad.it>
17275 * text2.C (ClearSelection): to be sure we REALLY don't have any
17278 * tabular.C (TeXCellPreamble): fixed the left border problem for
17281 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17283 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17286 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17288 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17289 LFUN_BREAKPARAGRAPH.
17291 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17292 help test to "internal only", similar for LFUN_INSERT_URL
17294 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17295 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17296 auto_region_delete and deadkeys.
17298 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17301 * LColor.C: remove some dead entries, tidy a little
17303 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17305 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17307 (Dispatch): implement LFUN_ESCAPE
17309 * commandtags.h: add LFUN_ESCAPE
17311 * LyXAction.C (init): add entry for LFUN_ESCAPE
17313 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17314 Remove commented code.
17315 (insertNote): moved here
17316 (open_new_inset): moved here
17318 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17321 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17323 * kbmap.C (findbinding): clean it up and make it work correctly.
17325 * lyx_main.C (init): do not pass argc and argv as parameters
17327 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17329 * buffer.C: fix path for OS/2 & Win32
17333 * lyx_main.C: Added os:: class.
17335 * os2_defines.h: update
17337 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17339 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17340 better by trying again with reduced state.
17342 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17344 * lyxrc.C (read): print error about invalid key sequence only when
17345 debugging (because not all latinX keysyms are known to some X
17348 * kbsequence.C (getiso): add a few std:: qualifiers
17349 (getiso): comment out extra return statement.
17351 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17353 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17355 (Dispatch): enhance the accent inset a bit. (not perfect)
17357 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17359 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17361 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17363 * bufferlist.C (emergencyWrite): fix assert() call
17365 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17367 * text.C (InsertChar): Added trivial patch to only send the "you
17368 can not do multiple spaces this way" message once during a
17371 2001-05-08 Baruch Even <baruch@lyx.org>
17373 * Makefile.am: Changed order of libraries to get LyX to link properly
17374 with the gnome frontend.
17376 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17378 * LaTeXFeatures.h: add a std:: qualifier
17380 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17382 * paragraph.C (String): use stringstream
17384 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17386 * paragraph.C (writeFile): remove footflag arg
17388 * buffer.C (makeLaTeXFile): use stringstream
17389 (latexParagraphs): remove footnot gurba
17391 * LaTeXFeatures.C (getPackages): use stringstream
17392 (getMacros): likewise
17393 (getTClassPreamble): likewise
17394 (getFloatDefinitions): new method
17396 * paragraph.C (writeFile): reindent
17399 * WorkArea.h: revert the xpos + etc changes.
17401 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17403 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17405 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17406 (pasteSelection): likewise
17407 * text2.C (CreateUndo): likewise
17409 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17411 * minibuffer.C (peek_event): temporarily reduce the functionality
17412 of the minibuffer (to allow args on lfuns)
17414 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17415 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17417 * buffer.C (readInset): add compability reading of old float
17418 lists, add reading of new style float list.
17419 (readInset): avoid reevaluation of inscmd.getCmdName()
17420 (getLists): reindent
17422 * MenuBackend.C (MenuItem): implement parsing of
17423 md_floatlistinsert and md_floatinsert.
17424 (expand::LastFiles): move initalizaton of iterators out of loop,
17425 avoid reevaluation.
17426 (expand::Documents): introduce typdedef vector<string> Strings,
17428 (expand::ExportFormats): introduce typedef vector<Format const *>
17429 Formats, and use it.
17430 (expand): implement FloatListInsert and FloatInsert.
17432 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17433 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17434 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17436 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17438 (Dispatch::LFUN_FLOAT_LIST): implement
17440 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17442 * LaTeX.C (run): Fix problem with --export code.
17444 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17446 * BufferView.[Ch] (workarea): removed.
17447 (getClipboard) new method; wrapper for workarea()->getClipboard()
17449 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17452 * WorkArea.h (width, height, xpos, ypos): These methods all
17453 returned the dimensions of the work_area sub-area of WorkArea,
17454 resulting in a position error if the WorkArea were resized. Now
17455 return the dimensions of the entire WorkArea.
17457 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17459 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17461 * LaTeX.C (deplog): correct the syntax of regex reg1
17463 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17465 * undo.C: remove !NEW_INSETS cruft
17467 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17469 * text2.C: remove !NEW_INSETS cruft
17471 * text.C: remove !NEW_INSETS cruft
17473 * tabular.C: remove !NEW_INSETS cruft
17475 * spellchecker.C: remove !NEW_INSETS cruft
17477 * lyxtext.h: remove !NEW_INSETS cruft
17479 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17481 * lyxfunc.C: remove !NEW_INSETS cruft
17483 * lyxfind.C: remove !NEW_INSETS cruft
17485 * lyx_cb.C: remove !NEW_INSETS cruft
17487 * figureForm.C: remove !NEW_INSETS cruft
17489 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17491 * buffer.[Ch]: remove !NEW_INSETS cruft
17493 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17495 * CutAndPaste.C: remove !NEW_INSETS cruft
17497 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17499 * BufferView2.C: remove !NEW_INSETS cruft
17501 * BufferView.h: remove !NEW_INSETS cruft
17503 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17505 * Lsstream.h: include LString.h before the sstream headers to
17506 fix problem with gcc 2.95.3 and lyxstring
17508 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17510 * lyx_main.C: add using directives when needed for C functions
17511 declared in std:: namespace.
17513 2001-04-27 Juergen Vigna <jug@sad.it>
17515 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17516 (SetHeightOfRow): comment out the update call should not be needed!
17518 2001-04-13 Juergen Vigna <jug@sad.it>
17520 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17521 (LyXTabular): tried to minimize operator= operations (and realized
17522 hopfully Lars wish).
17524 2001-04-27 Juergen Vigna <jug@sad.it>
17526 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17528 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17530 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17532 * buffer.C (readInset): hack to make listof algorithm work
17534 * BufferView_pimpl.C: hack to make listof algorithm work
17536 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17538 * LyXAction.C: removed all !NEW_INSETS cruft
17539 (init): moved lfun_item in method
17541 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17543 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17545 * BufferView2.C (theLockingInset): white space.
17547 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17549 * minibuffer.C: include <iostream>
17551 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17553 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17555 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17557 * text.[Ch] (TransposeChars): new method
17559 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17561 * call message directly through LyXView instead of through LyXFunc
17562 * BufferView2.C: adjust
17563 * BufferView_pimpl.C: adjust
17564 * FontLoader.C: adjust
17566 * bufferview_funcs.C: adjust
17567 * converter.C: adjust
17568 * figureForm.C: adjust
17569 * importer.C: adjust
17571 * lyx_gui_misc.C: adjust
17572 * lyxfunc.C: adjust
17575 + more files in subdirs
17577 * lyxparagraph.h (size): move up int file
17580 * adjust all uses of Assert to lyx::Assert.
17582 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17583 lyxfunctional in namespace lyx
17584 * layout.C (hasLayout): ditto
17587 (delete_layout): ditto
17588 (NumberOfClass): ditto
17589 * converter.C (GetFormat): ditto
17594 * bufferlist.C (getFileNames): ditto
17595 (emergencyWriteAll): ditto
17598 * MenuBackend.C (hasSubmenu): ditto
17601 * BufferView_pimpl.C (getInsetByCode): ditto
17603 2001-04-18 Juergen Vigna <jug@sad.it>
17605 * vspace.C (asLatexString): fixed the 100% problem.
17607 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17609 * lyxfunc.C (Dispatch):
17611 * minibuffer.h: add a few std:: qualifiers
17613 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17615 * minibuffer.[Ch]: reimplement so that commands is initiated and
17616 run from lyxfunc, simplified som handling, and made the completion
17617 and history code for complete. wip.
17619 * lyxfunc.C (processKeySym): call message
17620 (miniDispatch): new temporary method
17621 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17622 (LFUN_MESSAGE): implement
17623 (LFUN_MESSAGE_PUSH): implement
17624 (LFUN_MESSAGE_POP): implement
17625 (initMiniBuffer): the initial/defualt minibuffer message.
17627 * lyxfont.[Ch]: inline some more getters
17629 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17631 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17633 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17634 (AutoSave): use LFUN_MESSAGE
17635 (Reconfigure): ditto
17637 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17639 * figureForm.C: use LFUN_MESSAGE
17641 * converter.C (runLaTeX): use LFUN_MESSAGE
17643 * bufferview_funcs.C: use LFUN_MESSAGE
17645 (changeDepth): ditto
17647 * bufferparams.h: use boost::
17649 * bufferlist.h: inherit privately from noncopyable
17651 * bufferlist.C (loadLyXFile): remove some commented code.
17653 * buffer.C (runChktex): use LFUN_MESSAGE
17655 * ShareContainer.h: inherit privately from noncopyable
17657 * ParagraphParameters.[hC] (depth): inline it.
17659 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17661 (message): new method
17662 (messagePush): ditto
17663 (messagePop): ditto
17664 (show): init minibuffer
17665 (showState): direct call
17667 * LaTeX.[Ch]: inherit privately from noncopyable
17668 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17669 instead of WriteStatus.
17671 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17673 * BufferView_pimpl.C (buffer): don't init minibuffer
17674 (workAreaButtonPress): use LFUN_MESSAGE
17675 (workAreaButtonRelease): ditto
17676 (savePosition): ditto
17677 (restorePosition): ditto
17678 (MenuInsertLyXFile): ditto
17679 (workAreaExpose): don't init minibuffer
17680 (update): remove commented code, simplify
17682 * BufferView2.C (openStuff): use LFUN_MESSAGE
17683 (toggleFloat): ditto
17686 (copyEnvironment): ditto
17687 (pasteEnvironment): ditto
17692 (updateInset): remove some commented code
17694 * lastfiles.h: inherit privately from noncopyable
17697 * lyx_main.h: ditto
17699 * lyxlex_pimpl.h: ditto
17701 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17702 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17703 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17705 * LyXAction.h: inherit privately from noncopyable, add methods
17706 func_begin, func_end, returning iterators to the func map.
17708 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17709 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17710 (func_begin): new method
17711 (func_end): new method
17713 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17715 (copySelection): ditto
17716 (pasteSelection): ditto
17718 * BufferView.C: whitespace change
17719 * BufferView.h: inherit privately from noncopyable
17721 2001-04-16 Allan Rae <rae@lyx.org>
17723 * tabular-old.C (l_getline):
17724 * spellchecker.C (sc_check_word):
17725 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17726 an unrecognised preprocessor directive. So ensure they're wrapped.
17728 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17730 * src/exporter.C (Export): Give an error message when path to file
17733 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17735 * LaTeX.C (deplog): Always check that foundfile exists.
17737 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17740 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17742 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17744 * tabular.[Ch] (getLabelList): implement new method
17746 * minibuffer.h: comment ouf setTiimer
17748 * minibuffer.C (ExecutingCB): constify res
17749 (peek_event): constify s
17750 (Set): constify ntext
17751 (Init): constify nicename
17753 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17755 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17756 (savePosition): use two params to Minibuffer::Set
17757 (restorePosition): ditto
17759 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17761 * lyx_main.C: include language.h
17763 * Makefile.am (lyx_main.o): add language.h
17765 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17771 * CutAndPaste.C: include gettext.h
17773 * lyxfont.h: remove old hack with ON and OFF.
17776 * lyxfont.h: do not include language.h...
17781 * bufferview_funcs.C:
17787 * paragraph.C: ... but do it here instead
17789 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17791 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17793 * tabular.C: small reformat
17795 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17798 (BreakParagraph): ditto
17799 (SetOnlyLayout): ditto
17802 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17805 * lastfiles.C: removed most using decl, add std:: where needed
17807 * buffer.C: ws changes
17809 * MenuBackend.C (class compare_format): put into anon namespace
17810 (expand): constify label, names, action, action2
17813 * text.C (SingleWidth): constify font
17814 (IsBoundary): constify rtl2
17815 (GetVisibleRow): constify ww
17817 * LaTeX.C (deplog): constify logfile
17819 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17821 (workAreaExpose): constify widthChange, heightChange
17823 * lyxrow.C (par): moved
17826 * lyxrow.h: as inlines here
17828 * lyxfont.h (shape): moved from lyxfont.C
17829 (emph): moved from lyxfont.C
17831 * lyxfont.C (LyXFont): use initialization list for all
17833 (shape): move to lyxfont.h as inline
17834 (emph): move to lyxfont.h as inline
17837 2001-04-04 Juergen Vigna <jug@sad.it>
17839 * vspace.C: had to include stdio.h for use of sscanf
17841 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17844 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17845 independent of xforms.
17847 2001-04-02 Juergen Vigna <jug@sad.it>
17849 * spellchecker.C: fixed namespace placing!
17851 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17853 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17854 the LyXParagraph * is 0.
17856 2001-03-29 Juergen Vigna <jug@sad.it>
17858 * vspace.C: added support for %, c%, p%, l%.
17859 (stringFromUnit): added helper function.
17860 (asLatexString): changed to give right results for the %-values.
17862 * buffer.C: convert the widthp in a width%.
17864 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17866 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17869 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17870 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17872 * lyx_cb.[Ch]: see above.
17874 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17878 * lyx.[Ch]: replaced by figure_form.[Ch].
17882 * lyxfunc.C: changed headers associated with above changes.
17884 2001-03-27 Juergen Vigna <jug@sad.it>
17886 * BufferView_pimpl.C: set the temporary cursor right!
17888 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17890 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17892 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17894 * LString.h: removed "using std::getline"!
17896 * BufferView_pimpl.C (Dispatch): changes due to changes in
17897 InsetInclude::Params.
17899 * buffer.C (tag_name): removed redundant break statements as they were
17900 producing lots of warnings with my compiler.
17902 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17904 * LString.h: add "using std::getline" when using the real <string>.
17906 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17908 * buffer.C: removed bitset usage.
17909 PAR_TAG moved to an anonymous name space.
17910 (tag_name): new funtion, also in the anonymous namespace.
17911 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17912 (makeDocBookFile): clean code. Completed transition from string arrays
17914 (SimpleDocBookOnePar): code clean.
17916 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17918 * tabular.C: add some comments.
17920 2001-03-22 Juergen Vigna <jug@sad.it>
17922 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17923 compatibility read a bit and fixed bug with minipage in different
17926 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17928 * buffer.C (pop_tag): removed.
17929 (push_tag): removed.
17930 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17931 array replaced with vector. Added support for CDATA sections.
17932 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17934 (makeDocBookFile): XML conformant declaration of CDATA section,
17935 fixed bug related to <emphasis> in the first paragraph char.
17936 (sgmlOpenTag): exclude empty tags.
17937 (sgmlCloseTag): ditto.
17939 * buffer.h (pop_tag): removed.
17940 (push_tag): removed.
17942 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17944 * language.h (Languages): added size_type and size().
17946 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17948 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17949 response on compability reading of minipages. One probliem is that
17950 the old usage of minipages was flertydig
17952 * several files here and in subdirs: don't use static at file
17953 scope use anon namespaces instead.
17955 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17957 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17958 LaTeX output. This is necessary for Literate document
17961 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17963 * buffer.C: insert hfill when needed.
17965 * tabular.C (l_getline): use string::erase, small whitespace change.
17967 * BufferView_pimpl.C: try the anon namespace.
17968 * WorkArea.C: ditto
17970 2001-03-16 Juergen Vigna <jug@sad.it>
17972 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17973 otherwise it won't open options-dialogs.
17975 * buffer.C: honor pextraWidth(p) on converting minipages.
17977 * tabular.C (l_getline): changed the functions to strip trailing \r.
17979 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17981 * BufferView_pimpl.C:
17982 * minibuffer..C: added "using SigC::slot" declaration.
17984 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17986 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17992 * paragraph.C: ditto
17994 * lyxtext.h: NO_PEXTRA
17996 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17998 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17999 * ParameterStruct.h: ditto
18000 * ParagraphParameters.h: ditto
18001 * lyxparagraph.h: ditto
18003 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18005 * buffer.C: add compability for minipage alignment.
18006 (latexParagraphs): remove unwanted pextra check.
18008 * several files: remove CXX_WORKING_NAMESPACES
18010 * buffer.C (pop_tag): tie is in namespace boost
18012 * BufferView.h: noncopyable is in namespace boost
18014 * lyx_main.h: ditto
18017 * lastfiles.h: ditto
18018 * bufferlist.h: ditto
18019 * ShareContainer.h: ditto
18021 * LyXAction.h: ditto
18024 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18026 * Merging changes from BRANCH_MVC back into HEAD.
18028 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18030 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18032 * BufferView_pimpl.C: change from intl.C
18036 * Makefile.am: move combox.*
18042 * intl.C: remove dialog (covered by prefs)
18044 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18046 * lyxfunc.C (Dispatch): removed redundant break statement.
18048 2001-03-14 Juergen Vigna <jug@sad.it>
18050 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18052 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18054 * buffer.C: add hack to fix compability reading of minipages.
18056 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18058 * buffer.C (getLists): Cleanup.
18060 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18062 * lyxfont.C (update): don't honor toggleall on font size.
18064 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18068 * Makefile.am: moved to frontends/xforms/
18072 * BufferView_pimpl.C: changes for moved mathpanel
18074 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18076 * gettext.h: fix gettext_init() in --disable-nls
18078 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18080 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18082 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18085 * lyx.h: strip external form
18087 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18089 * BufferView_pimpl.C: add comment, destroySplash()
18091 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18093 * BufferView_pimpl.C:
18097 * lyxfunc.C: use re-worked insetinclude
18099 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18101 * buffer.C: add using std::stringstream.
18103 * lyx_cb.C: readd using std::ios.
18105 * buffer.C: add using std::map.
18107 * BufferView_pimpl.C: add using std::vector.
18109 * ShareContainer.h: add std:: to swap.
18111 * buffer.h: add some typedefs
18112 * buffer.C (getLists): use them
18113 (getLists): renamed from getTocList.
18114 add a counter for the different float types and use it in the
18116 (getLists): use the same counter for the NEW_INSETS and the "non"
18119 * lyx_cb.h: remove unused items, includes, using etc.
18121 * ShareContainer.h: remove some commented code, add more comments
18122 and "documentation".
18124 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18126 * buffer.C (getTocList): make the list also when NEW_INSETS is
18129 * buffer.h: remove TocType
18131 * buffer.C (getTocList): change to return a map<string,
18132 vector<TocItem> >, implement for dynamic number of list.
18134 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18135 * text2.C (PasteSelection): adjust
18136 * CutAndPaste.C (pasteSelection): adjust
18138 * FloatList.C (FloatList): update from the new_insets branch.
18139 * Floating.[Ch]: ditto
18140 * LaTeXFeatures.C: ditto
18142 * lyxlex_pimpl.C: ditto
18144 * paragraph.C (Last): remove when NEW_INSETS is defined.
18146 * other file: changes because of the above.
18148 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18150 * lyxparagraph.h: rename next to next_, previous to previous_,
18151 make them private for NEW_INSETS. Rename Next() to next(),
18152 Previous() to previous().
18154 * other files: changes because of the above.
18156 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18159 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18162 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18164 * main.C (main): pass lyx_localedir to gettext_init().
18166 * gettext.h: remove locale_init and gettext_init macros
18168 * gettext.C (locale_init): new function
18169 (gettext_init): new function
18171 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18174 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18176 * Moved credits to frontends:
18177 * credits.[Ch]: removed
18178 * credits_form.[Ch]: removed
18179 * lyx_gui_misc.C: remove credits stuff
18182 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18184 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18186 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18187 unneeded destructor.
18189 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18190 a standalone pointer again.
18192 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18194 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18200 * ToolbarDefaults.C:
18209 * BufferView_pimpl.C: use new file dialog in GUII
18212 * lyx_cb.C: remove LayoutsCB to Toolbar
18214 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18216 * ShareContainer.h (get): add std:: qualifier
18218 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18220 * ShareContainer.h: define a proper ShareContainer::value_type
18221 type (and use typename to please compaq cxx)
18223 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18225 * lyxparagraph.h: move serveral local vars to
18226 ParameterStruct/ParagraphParameters., use ShareContainer in
18227 FontTable., make vars in FontTable private and add getter and
18230 * paragraph.C: changes because of the above.
18232 * lyxfont.h: remove copy constructor and copy assignment. (the
18233 default ones is ok), move number inside FontBits. move inlines to
18236 * lyxfont.C: add number to initializaton of statics, move several
18237 inlines here. constify several local vars. some whitespace
18238 cleanup. Dont hide outerscope variables.
18240 * Spacing.h: add two new constructors to match the set methods.
18242 * ShareContainer.h: new file, will perhaps be moved to support
18244 * ParameterStruct.h: new file
18246 * ParagraphParameters.h: new file
18248 * ParagraphParameters.C: new file
18250 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18251 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18253 * BufferView_pimpl.C: ParagraphParameter changes.
18254 * buffer.C: Likewise.
18255 * bufferview_funcs.C: Likewise.
18256 * text.C: Likewise.
18257 * text2.C: Likewise.
18259 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18261 * lyxfind.C (LyXReplace): do not redefine default argument in
18263 (IsStringInText): ditto
18264 (SearchForward): ditto
18265 (SearchBackward): ditto
18267 2001-03-06 Juergen Vigna <jug@sad.it>
18269 * lyxfind.C (IsStringInText): put parentes around expressions.
18271 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18273 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18275 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18277 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18279 * stl_string_fwd.h: add comment
18281 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18284 * tabular.C: remove unused DocBook methods
18290 killed DO_USE_DEFAULT_LANGUAGE
18292 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18294 * lyx_gui.C: do not include language.h.
18296 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18297 arguments in function implementation.
18299 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18301 * BufferView_pimpl.C: add <ctime>
18303 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18305 * BufferView_pimpl.C: add using std::find_if
18307 2001-02-27 José Matos <jamatos@fep.up.pt>
18309 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18312 2001-02-11 José Matos <jamatos@fep.up.pt>
18314 * buffer.C (makeDocBookFile): command styles now have a parameter as
18315 "title" by default.
18317 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18319 * layout_forms.[Ch]: removed
18320 * lyx_cb.[Ch]: out character
18321 * lyx_gui.C: out character
18322 * lyx_gui_misc.C: out character
18323 * bufferview_funcs.C: : out character,
18324 added toggleall as parameter in ToggleAndShow
18326 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18328 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18330 * text2.C (SetCurrentFont): Disable number property at boundary.
18332 2001-02-26 Juergen Vigna <jug@sad.it>
18334 * lyxfunc.C (getStatus): added a string argument override function so
18335 that this is correctly called from LyXFunc::Dispatch if it contains a
18336 do_not_use_argument which is used!
18337 (Dispatch): added check for "custom" export and call appropriate func.
18339 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18341 * lyxrc.C: Add language_command_local, language_use_babel and
18342 language_global_options.
18344 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18346 * buffer.C (makeLaTeXFile): Use language_use_babel and
18347 language_global_options.
18349 2001-02-23 Juergen Vigna <jug@sad.it>
18351 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18352 which works with LyXText and putted it inside BufferView. Here now we
18353 only call for that part the BufferView::Dispatch() function.
18355 * BufferView.C (Dispatch): added.
18357 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18358 functions which needs to use a LyXText over from LyXFunc.
18359 (MenuInsertLyXFile): added
18360 (getInsetByCode): added
18361 (moveCursorUpdate): added
18362 (static TEXT): added
18364 2001-02-22 Juergen Vigna <jug@sad.it>
18366 * BufferView_pimpl.C (update): call a status update to see if LyXText
18369 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18371 * vc-backend.C (revert): implement for CVS
18372 (getLog): implement for CVS
18374 2001-02-20 Juergen Vigna <jug@sad.it>
18376 * text2.C (ClearSelection): added BufferView param for inset_owner call
18378 * lyxfunc.C (TEXT): added this function and use it instead of
18379 directly owner->view()-text of getLyXText().
18381 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18383 * src/layout_forms.C: out preamble
18384 * src/layout_forms.h: out preamble
18385 * src/lyx_cb.C: out preamble
18386 * src/lyx_cb.h: out preamble
18387 * src/lyx_gui.C: out preamble
18388 * src/lyx_gui_misc.C: out preamble
18389 * src/lyxfunc.C: connect with guii preamble
18391 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18393 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18395 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18397 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18398 whether to run bibtex.
18400 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18402 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18404 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18406 * Makefile.am (lyx_SOURCES): removed bibforms.h
18408 * vspace.h: doxygen
18410 * text.C (GetVisibleRow): make several local vars const
18412 * tabular.C: small cleanup.
18414 * lyxserver.C (callback): use compare instead of strncmp
18416 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18417 inlines to after class or to paragraph.C
18419 * lyxfont.h: remove friend operator!=
18421 * converter.h: move friend bool operator< to non friend and after
18424 * combox.h: small cleanup
18426 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18427 to inlines after class def.
18429 * buffer.C (pop_tag): use string operations instead of strcmp
18431 * bmtable.c: doxygen, small cleanup
18433 * LaTeX.h: remove friend operator==
18435 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18447 * BufferView_pimpl.C:
18448 * BufferView.[Ch]: remove cruft
18450 2001-02-14 Juergen Vigna <jug@sad.it>
18452 * lyxfunc.C: removed #if 0 unused code
18454 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18456 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18458 * text2.C (SetSelection): added a BufferView * parameter
18460 2001-02-13 Juergen Vigna <jug@sad.it>
18462 * lyxfunc.C (Dispatch): fixed protected blank problem.
18463 * BufferView2.C (protectedBlank): added LyxText * parameter.
18465 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18466 (AppendColumn): same as above for column_info.
18468 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18469 (moveCursorUpdate): use a LyXText param for support of InsetText.
18471 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18472 (tripleClick): ditto
18474 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18476 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18478 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18480 * text2.C (SetSelection): set correct update status if inset_owner
18481 (ToggleFree): ditto
18483 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18485 * tabular.C: remove some commented code.
18487 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18489 * BufferView_pimpl.C: call hideSplash()
18491 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18494 * bibforms.h: remove
18497 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18498 add LFUN_CHILD_CREATE
18500 * counters.h: fix tiny typo
18505 * lyx.C: move splash to frontends/xforms/
18507 * lyx_gui_misc.C: move Include and Bibform to frontends
18509 * lyxvc.h: clarify comment
18511 * vspace.C: tiny housekeeping
18513 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18515 * text.C (PrepareToPrint): RTL Fix.
18517 * paragraph.C (GetUChar): New method.
18518 (String): Use GetUChar.
18520 * buffer.C (asciiParagraph): Use GetUChar.
18522 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18524 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18526 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18529 * buffer.C: rename to getLogName(), handle
18530 build log / latex log nicely
18532 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18535 * MenuBackend.h: remove support for reference menuitem type.
18537 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18539 * BufferView_pimpl.C: housekeeping
18540 * BufferView_pimpl.h:
18545 * minibuffer.h: move Timeout GUI-I
18547 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18549 * lyxrc.C (read): Update converters data-structures.
18551 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18553 * LaTeX.h (operator!=): add operator != for Aux_Info
18555 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18557 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18559 * LaTeXLog.C: deleted, useful code moved to Buffer
18562 * buffer.C: new function getLatexLogName()
18568 * lyxfunc.C: use frontends for LaTeX and VC logs
18570 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18572 * LaTeX.h: yet another std:: that Allan forgot.
18574 * Variables.C (set): renamed from isset(), because this clashes
18575 with some HP-UX macros (grr).
18577 2001-02-06 Allan Rae <rae@lyx.org>
18579 * LaTeX.h: Another bug fix. Missing std:: this time.
18581 2001-02-04 Allan Rae <rae@lyx.org>
18583 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18584 floats problem. I've left it commented out because it's not quite
18585 correct. It should also test that the current object is a table or
18586 figure inset. But I haven't gotten around to figuring out how to do
18587 that. I *think* it'll be something like: "table" == inset.type()
18589 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18592 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18594 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18595 all the citation/databases/styles in the auxilary file.
18596 (run): Rerun latex if there was a babel language error.
18598 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18600 * text.C (Backspace): Preserve the font when changing newline char
18602 (BreakParagraph): If the cursor is before a space, delete the space.
18604 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18606 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18608 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18609 new argument (code).
18610 (ChangeCitationsIfUnique): New method.
18612 * paragraph.C (GetPositionOfInset): Handle bibkey.
18614 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18616 * BufferView_pimpl.h: change type of Position::par_pos to
18617 LyXParagraph::size_type.
18619 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18621 * BufferView_pimpl.C (savePosition, restorePosition): Write
18622 messages to minibuffer.
18624 2001-01-28 José Matos <jamatos@fep.up.pt>
18626 * buffer.C (makeDocBookFile): adds support for document language.
18627 A silly restriction on the name of LatexCommand types where removed.
18628 Added support for CDATA sections, allows to chars unescaped, used
18629 among others in code, to avoid escape < and >.
18631 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18633 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18634 saved positions instrad of a stack. Furthermore, a position is
18635 stored using paragraph id/paragraph position.
18637 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18638 Remove LFUN_REF_BACK.
18640 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18642 * converter.C (dvipdfm_options): New method.
18644 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18646 * vspace.C (isValidLength): Fix for empty input string.
18648 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18650 * LyXAction.C (init): change description of LFUN_FIGURE to
18653 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18655 * LaTeX.C: add using directive
18657 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18659 * MenuBackend.C (expand): Fix the sorting of the formats.
18661 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18663 * lyx_main.C: tiny error message fix
18665 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18667 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18668 calling fl_initialize(). This fixes the problem with ',' as
18669 decimal separator in text files.
18671 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18673 * trans.C (process): Fix the keymap bug.
18675 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18677 * LaTeX.C (scanAuxFiles): New method. Provides support for
18678 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18679 (scanLogFile) Scan for "run BibTeX" messages.
18681 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18682 OT1 font encoding. Also, load the aecompl package if the ae
18685 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18687 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18689 * texrow.C (increasePos): turn two error messages into debug
18692 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18694 * LaTeX.C (scanAux): Handle the \@input macro.
18695 (runBibTeX): Use scanAux().
18697 * language.C (latex_options_): New field.
18699 * LaTeXFeatures.C (getMacros): Add language macros.
18701 * buffer.C (makeLaTeXFile): Small fix.
18703 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18705 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18707 * text2.C: add a using directive.
18709 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18714 * lyxfunc.C: kill LyXBell.
18716 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18718 * text.C (IsBoundary): Remove the error message
18720 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18722 * lyxrc.C (setDefaults): Correct initialization value for
18725 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18727 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18730 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18731 and GotoNextNote().
18733 * src/LyXAction.C: Added reference-next.
18735 * text.C (InsertChar): Use contains instead of strchr.
18737 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18739 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18741 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18742 alignment commands (when needed).
18744 * text.C (InsertChar): Add ':' to number separator chars.