1 2006-01-23 Helge Hafting <helge.hafting@aitel.hist.no>
2 * buffer_funcs.C: Trivial fix - added {} around
3 the statements to be affected by a if-test. Now
4 label in a minipage in a float looks ok on screen again.
6 2006-01-23 Martin Vermeer <martin.vermeer@hut.fi>
8 * text2.C: fix bug 2015: on screen fonts in nested environments
11 2006-01-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
13 * converter.C (convert): handle unknown formats
15 2006-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
17 * cursor.C (goUpDown): comment out some debug messages.
19 * counters.C (newCounter): make error messages more explicit
20 (these appear with some textclasses like beamer)
22 2006-01-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
25 * lyxfunc.C (processKeySym): make sure new FuncRequest objects
26 have origin set to KEYBOARD. (bug 2221)
28 2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
30 * rowpainter.C (isCursorOnRow): do not exclude endpos().
32 2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
34 * cursor.C (macroModeClose): returns true if an inset actually got
35 inserted; revert faulty fix to bug 2034.
37 2006-01-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
39 * tabular.C (getLabelList): remove (not used anymore).
41 2006-01-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
43 * outputparams.[Ch]: add new flag inComment
45 2006-01-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
47 * text2.C (deleteEmptyParagraphMechanism): since we delete a
48 paragraph, recordUndo should span two paragraphs (bug 2155).
50 2006-01-01 Martin Vermeer <martin.vermeer@hut.fi>
52 * rowpainter.C (paintPar): always repaint the row with the
55 2006-01-01 Lars Gullik Bjønnes <larsbj@gullik.net>
61 * vspace.h: fix syntax error
63 2005-12-31 Martin Vermeer <martin.vermeer@hut.fi>
65 * text3.C (dispatch): Force refresh if typing into inset changes its
68 2005-12-30 Martin Vermeer <martin.vermeer@hut.fi>
73 * rowpainter.C: Speed up rendering by only re-painting rows that
74 have changed. When selection or whole-screen update active, all rows
75 are repainted, as are all rows within insets.
77 2005-12-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
79 * version.C.in: Use PACKAGE_VERSION instead of VERSION
81 2005-12-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
83 * tabular.C (toggleFixedWidth): Use default layout of text class
84 instead of hardcoded "Standard"
86 2005-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
88 * lyxfunc.C (dispatch): do not call getStatus again to determine
89 whether a lfun is disabled (bug 2172).
91 2005-12-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
93 * cursor.C (macroModeClose): set the cursor inside the new math
94 atom if relevant (think \frac{}{}) (bug 2034)
96 2005-12-19 Martin Vermeer <martin.vermeer@hut.fi>
100 * text3.C (Delete, backspace): force update when merging paragraphs
102 2005-12-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
104 * BufferView.C (mouseSetCursor): clear the selection properly (bug
107 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
109 * text.C (redoParagraph): honor inset->noFontChange()
110 * rowpainter.C (paintInset): ditto
112 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
114 * lyx_main.C (priv_exec): don't initialize Math on startup
115 (initMath() has been moved to math_hullinset).
117 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
119 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
120 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
121 * paper.h: dispose dead PAPER_PACKAGES enum.
123 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
125 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
128 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
130 * exporter.C (Export): Don't try to copy a file if it does not exist
133 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
135 * text2.C (makeFontEntriesLayoutSpecific): remove.
138 * text.C (insertChar): remove bogus caching of fonts (did not do
141 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
142 ALL_SANE). (bug 2146)
144 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
146 * rowpainter.C (paintFirst): fix centering of
147 LABEL_CENTERED_TOP_ENVIRONMENT.
149 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
151 * BufferView.C (mouseSetCursor): new method. Calls
152 deleteEmptyParagraphMechanism if necessary.
154 * lyxtext.h: make deleteEmptyParagraphMechanism public.
156 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
157 BufferView::mouseSetCursor (bug 2109).
158 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
160 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
162 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
163 do not remove it (this inset behaves differently from the others).
165 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
169 * BufferView_pimpl.C (getStatus): it is only possible to insert a
170 file in a text inset.
172 * buffer.C (readDocument): remove pit argument and code releated
173 to it; set the inset owner correctly (unrelated, but useful).
174 (readFile): get rid of pit argument.
176 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
177 textclass instead of a selection index.
178 (pasteParagraphList): new function.
179 (pasteSelection): make it a wrapper around pasteParagraphList.
181 * BufferView_pimpl.C (MenuInsertLyXFile): use
182 cap::pasteParagraphList to insert a file.
184 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
186 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
188 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
190 * exporter.C: fix typo in text message
192 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
194 * text2.C (setLayout): move recUndo call to other setLayout method
195 * tabular.C (toggleFixedWidth): new, handle cell width changes
196 * tabular.C (setColumnPWidth): move some code from insettabular.C here
197 and use toggleFixedWidth
198 * tabular.C (setMColumnPWidth): ditto
200 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
202 * paragraph.C (asString): use new inset->textString method (fix
205 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
207 * CutAndPaste.C (numberOfSelections): new helper function.
209 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
211 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
212 LyXFunc::getStatus; implement LFUN_PASTE.
214 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
216 * dociterator.[Ch]: new member realInset() that returns the cell
217 for tabulars and the inset for the rest (bug 1952).
218 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
221 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
225 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
229 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
232 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
234 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
235 line after typing ctrl-enter
237 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
239 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
240 math insets do not return a proper editable() state yet (bug 2124).
242 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
244 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
245 docs containing very large paragraphs.
247 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
249 * cursor.C (selectionBegin, selectionEnd):
250 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
251 cursor at different depths.
253 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
255 * bufferview_funcs.C (coordOffset): do not call cursorPos
256 for collapsed collapsables (fix bug 2094).
258 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
260 * paragraph.C (fontSpan): make sure that the FontSpan does not
261 span across beginOfBody (bug 1947).
263 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
265 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
267 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
269 * messages.C: fix crash and localization on MinGW/Windows platform
271 2005-11-02 Angus Leeming <leeming@lyx.org>
274 * lyxtextclass.C: trivial fixes to some MSVS warnings.
276 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
278 * text3.C (getStatus): re-enable disabled code. (bug 2081)
280 * BranchList.h (empty): constify.
282 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
284 * text3.C (getStatus):
285 * MenuBackend.C (expandBranches): take the branch list from the
286 master document (bug 2092).
288 * MenuBackend.C (expandBranches):
289 * bufferparams.C (writeFile): use BranchList type.
291 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
293 * text3.C (dispatch, getStatus):
294 * LyXAction.C (init):
295 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
297 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
301 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
303 * text.C (insertChar): do not reset boundary (bug 2061)
305 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
307 * dociterator.C (updateInsets): new method. Updates the inset_
308 cache of all the slices of the iterator.
310 * text2.C (deleteEmptyParagraphMechanism): compare also containing
311 insets when comparing pit/pos; pass the right cursor to
312 recordUndo; when a paragraph has been deleted, compare `old.top()' to
313 the right cursor slice of `cur'; use updateInsets on cur to make
314 sure that the inset caches are correct; general cleanup.
316 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
318 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
319 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
320 containg inset. If this does not work, the same command will be
321 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
323 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
326 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
328 * lyxtextclass.C (Read): convert layout file if the format is wrong
329 * lyxtextclass.C (layout2layout): new, needed for the above
331 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * messages.C: do not forget to include <cerrno>.
335 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
337 * dociterator.h (StableDocIterator): add access to pos().
338 * undo.C (samePar): new method to check if two
339 iterators are in the same paragraph
340 * undo.C (recordUndo): check for samePar instead of cell identity
341 (which includes pos() and is too strict) (fixes bug 2097)
343 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
345 * text.C (setCursorFromCoordinates): return a bool telling whether
348 * text3.C (cursorPrevious): update if needed after
349 setCursorFromCoordinates (when dEPM triggered).
351 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
352 (otherwise the anchor may be completely wrong and make dEPM assert).
354 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
356 * buffer.C: version upgrade to 245.
357 * bufferparams.C: remove \quotes_times (bug 2090).
358 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
359 quotation marks as default.
361 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
363 * CutAndPaste.C (nrOfParagraphs): remove (unused)
364 * CutAndPaste.C (cutSelection): Remove debug message
365 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
366 undo information and only copy if this is a real cut
367 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
369 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
371 * CutAndPaste.C (eraseSelection): prevent cursor corruption
372 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
373 superflous cur.selection() setting
374 * CutAndPaste.[Ch] (grabSelection): take a const cursor
375 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
377 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
379 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
382 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
384 * BufferView_pimpl.C: comment layout change
386 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
390 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
391 by bibliography managers (bug 2071).
393 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
395 * BufferView_pimpl.C (update): choose arguments to update call so
396 that single-par update works most times
397 * text3.C (dispatch): carefully tune updating separately for
398 whole-screen and current-paragraph
399 * rowpainter.C (paintText): 1) replace painting by caching for
400 the two extra paragraphs, because we can;
401 2) suppress greying out of areas below/above drawn area in case of
403 * lyxfunc.C (dispatch): remove superfluous update
404 * LyXAction.[Ch]: introduce SingleParUpdate
406 2005-10-05 Angus Leeming <leeming@lyx.org>
408 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
409 always initialised before use.
411 * text.C (setHeightOfRow): squash warning about comparison
412 of signed and unsigned types.
414 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
416 * text.C (cursorX): two fixes involving RtL text drawing
418 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
420 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
421 items, not only large ones (part of bug 2057)
423 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
425 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
426 argument, use "newcommand".
428 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
430 * cursor.C (setSelection): do not open collapsable insets;
431 the insets do by themselves now (autoopen).
433 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
435 * buffer.C: format is up to 244.
437 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
439 * text.C (redoParagraph): fix calcultation of inset width wrt
440 leftMargin (bug 1957).
442 * text3.C (dispatch): leave inset to the right when hitting ESC
445 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
450 * messages.C: include <boost/current_function.hpp>
452 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
454 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
455 when command is internal. (bug 1941)
457 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
459 * text2.C (cursorRight): do not honor boundary when at the end of
460 a paragraph. (bug 2010 again)
462 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
464 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
466 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
468 * rowpainter.C (paintText): fix RtL space width display bug (2029)
470 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
472 * text2.C (setCursor): remove the unused 'boundary' parameter for
473 the CursorSlice version; adapt the LCursor version.
476 * paragraph_pimpl.C (markErased):
477 * cursor.C (bruteFind2, bruteFond3): fix warnings.
479 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
481 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
482 as is already done for "chapter".
484 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
486 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
487 textclass; do not record undo if nothing is changed.
489 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
491 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
493 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
495 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
497 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
499 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
500 combox, it is necessary to search for the topmost paragraph in the
501 cursor stack (bug 1926)
503 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
505 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
506 end of paragraph. (bug 2010)
508 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
510 * text.C (leftMargin): check for inInset == 0
512 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
514 * text.C (leftMargin): test for insetbase's new neverIndent()
515 bool instead of listing each and every inset that does not
516 wish par indendation.
518 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
520 * buffer_funcs.C (setCounter): put the code to compute enum label
521 here (where it belongs).
523 * counters.C (enumLabel): move code to buffer_funcs.C.
525 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
527 * outputparams.[Ch]: store local_font instead of local_language
528 * paragraph.C (simpleTeXOnePar): adapt to the change above
530 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
533 * counters.[Ch]: clean up special code for Hebrew.
535 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
537 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
540 2005-09-08 Angus Leeming <leeming@lyx.org>
543 * lyxrc.C: correct grammar describing invocation of the
546 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
548 * text.C (read): remove unused variable.
549 (readParToken): remove static Change variable (never good in
550 recursive settings...); add it as a parameter instead.
552 * paragraph_pimpl.C (acceptChange): make debug info conditional.
554 * metricsinfo.C (PainterInfo): add new member erased_.
556 * rowpainter.C (RowPainter): add erased_ member, initialized from
558 (paintInset): pass erased_ to Inset::draw.
560 * lyxfunc.C (lookupChange): new function. Tells whether change
561 tracking is disabled at a given postion.
562 (getStatus): disable some actions when in deleted text with change
565 2005-08-03 John Levon <levon@movementarian.org>
567 * tabular.C (appendColumn, setMultiColumn): adapt to change to
570 * paragraph_pimpl.C (markErased): add bool argument and handle it.
571 Also make sure to mark insets recursively.
572 (rejectChange, erase): be recursive
574 * paragraph.C (markErased): add bool argument.
575 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
577 * lyxfind.C (findNextChange): tiny cleanup.
579 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
580 change tracking with the cursor in an inset; make sure the first
581 change is not skipped.
583 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
585 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
586 tabularStackDirty to work around bug 1919 (tabular needs
587 to know whether its own cell paste buffer or the one of
589 * CutAndPaste.C: mark tabular_stack_ clean after copy.
591 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
593 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
595 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
597 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
598 use old deleteion algorithm when changetracking is on.
600 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
602 * messages.C (get): add debug output.
604 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
606 * text.C (cursorX): fix bug 1965: cursor movement at
607 line end broken in RtL.
608 (drawSelection): fix bug 1970: drawing of single-line
609 selection broken for RtL.
611 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
615 * dociterator.h (clear, push_back, pop_back): change from
618 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
619 and changed to just return the value of the item depth; take a
620 ParIterator as argument; take the itemdepth at outer nesting level
621 in account if necessary; cleanup and comment the code.
622 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
623 and changed to just return true if reset is needed; take a
624 ParIterator as argument; cleanup and comment the code.
625 (setCounter): adapt to above changes.
627 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
629 * text3.C (dispatch): make debug message optional
631 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
633 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
636 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
638 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
640 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
642 * text.C (insertChar):
643 * text2.C (deleteEmptyParagraphMechanism): take care whether
644 a blank has been deleted (in change tracking mode) (bug 1254).
646 2005-07-20 John Levon <levon@movementarian.org>
648 * text2.C (insertStringAsLines): remove old dubious code,
651 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
653 * MenuBackend.C (expandToc): use Floating::listName() as title of
656 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
658 * toc.[Ch]: Do not use translatable strings (bug 1870).
660 2005-07-20 John Levon <levon@movementarian.org>
662 * tabular.C: fix 1748 - setting multicolumn adds
663 left line to the first cell
665 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
668 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
671 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
673 * messages.C: supress some lyxerr messages
675 2005-07-18 Juergen Vigna <jug@lyx.org>
677 * text.C (drawSelection): honor boundary when asking for cursorX.
679 2005-07-17 José Matos <jamatos@fc.up.pt>
681 * tabular.C (recalculateMulticolumns): fix handling of one column
684 2005-07-17 Juergen Vigna <jug@lyx.org>
686 * text.C (Delete, backspace): fixed so that paragraph with the
687 same layout can be merged by Delete/Backspace.
689 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
691 * text.C (readParToken): fix spelling.
693 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
695 * text2.C: fix counter update for DEPM problem reported by
698 2005-07-17 Juergen Vigna <jug@lyx.org>
700 * BufferView_pimpl.C (setBuffer): save/restore the
701 cursor/selection when switching buffers
704 * buffer.C (saveCursor): add saveDocumentIterators to save the
705 cursor when switching buffer.
707 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
710 * buffer.C: clarify message
712 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
714 * dociterator.C (DocIterator): fix initialization order
716 2005-07-17 Juergen Vigna <jug@lyx.org>
718 * text2.C (cursorHome):
719 * text.C (drawSelection, cursorX):
720 * dociterator.C (textRow): add boundary to getRow() call
722 * paragraph.C (getRow): implementation of below
724 * paragraph.h: add parameter boundary for getRow() function
726 2005-07-17 José Matos <jamatos@fc.up.pt>
730 * tex-strings.[Ch]: new file format, remove support for a4.sty,
731 a4wide.sty and a4widemargins.
733 2005-07-17 Juergen Vigna <jug@lyx.org>
735 * text2.C (cursorLeft): fix one of error
737 2005-07-17 Juergen Vigna <jug@lyx.org>
739 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
741 more fixes for boundary handling
743 * text3.C (dispatch): don't reset cursor if boundary has changed
746 2005-07-16 Juergen Vigna <jug@lyx.org>
748 * text2.C (getColumnNearX): hopefully got it right now,
749 check if we are on column 0 for special case.
751 2005-07-16 Juergen Vigna <jug@lyx.org>
753 * text2.C (getColumnNearX): handle special case Newline Inset
755 * text.C (singleWidth): Just remove bogus check
757 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
759 * funcrequest.C (split): avoid reading uninitialized char c
761 2005-07-16 José Matos <jamatos@fc.up.pt>
767 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
768 single papersize variable.
770 2005-07-16 Juergen Vigna <jug@lyx.org>
772 * text3.C (dispatch): honor boundary when checking if a cursor
773 movement has been done
775 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
776 (setCursor, setCursorIntern): fix cursor movement with boundary
778 2005-07-16 Juergen Vigna <jug@lyx.org>
780 * text.C (currentState): output the actual Boundary
782 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
784 * factory.C (createInset): fix bad logic for tabular creation
786 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
788 * lyx_main.C (init): change some reLyX reference to tex2lyx
790 2005-07-16 Juergen Vigna <jug@lyx.org>
792 * dociterator.C (DocIterator): initialize boundary
794 2005-07-16 Juergen Vigna <jug@lyx.org>
796 * text2.C (getColumnNearX): Consider rows without trailing blank.
798 2005-07-16 André Pönitz <poenitz@gmx.net>
800 * lyxfont.h: Change order of declarations to give the compiler
801 a better chance to inline things
803 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
804 questions on unsaved docs for better scritability
806 2005-07-16 André Pönitz <poenitz@gmx.net>
808 * paragraph.h (getChar): remove asserts as the same kind of security
809 can be achieved by using a suitable standard library implementation
810 and the function was in the critical path (25.9% in profiler)
812 2005-07-16 Juergen Vigna <jug@lyx.org>
814 * cursor.C (bruteFind2):
815 * bufferview_funcs.C (coordOffset):
816 * text.C (cursorX,cursorY): Handle cursor position after last char
817 in row before a inset which uses a whole row.
819 2005-07-15 José Matos <jamatos@lyx.org>
821 * output_plaintext.[Ch] (writeFileAscii): control reference title
823 (asciiParagraph): noparbreak was already deal and was incorrectly
826 2005-07-15 Juergen Vigna <jug@lyx.org>
828 * lyxfunc.C (dispatch): save and restore the cursor after a
831 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
833 * text.C (backspace): bug 806 for empty keepempty paragraphs we
834 change the layout to default before letting DEPM do its thing.
836 * paragraph_funcs.C (breakParagraph): dont reset the layout on
839 * text.C (setCursorFromCoordinates): add a debug statement
841 * text2.C (getColumnNearX): bug 1825 make sure that we don't
842 return a pos that is not on the row
844 * output_latex.C (TeXDeeper): get rid of potential dereferencing
845 of past the end iterator
847 2005-07-14 André Pönitz <poenitz@gmx.net>
849 * undo.C (recordUndoFullBuffer): implement undo for
852 2005-07-14 André Pönitz <poenitz@gmx.net>
854 * cursor.C (setSelection): open insets when selection is set there
855 to avoid crashs with cold coord cache
857 2005-07-14 André Pönitz <poenitz@gmx.net>
859 * trans_mgr.C (insert): move cursor to the right after inserting
862 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
864 * BufferView_pimpl.C (update): dampen some of the debug blabbering
865 * factory.C (readInset): ditto
866 * text.C, text2.C: ditto
868 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
870 * buffer.C: format incremented to 242. There is no file format per
871 se, but the "frenchb" language has been removed from lib/language
872 and has to be translated to "french" by lyx2lyx.
874 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
876 * cursor_slice.h, dociterator.h: add some documentation
877 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
879 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
881 * text.C (leftMargin): do not add identation to display() style
882 insets, because they are always centered (bug 1293).
884 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
886 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
887 formatted_time methods in support/lyxtime.
889 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
891 * toc.[Ch]: new method getGuiName, which is used by the frontends
892 to set the toc combo (fixes bug 1870). Make TOC string translatable.
894 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
896 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
897 StableDocIterator const &)
898 * undo.C (recordUndo): use the above instead of cell.size() comparison
899 (fixes bug 1808; instructed by Andr�.
901 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
904 * dociterator.h: Fix the assert when copying rows/cols in math
906 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
908 * BufferView_pimpl.C:
910 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
912 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
913 (findInset): new functions, refactored from goto Inset that return
914 the position of a certain inset without setting the buffer's cursor
916 (gotoInset): rewrite to call findInset and then set the cursor
919 2005-06-16 Angus Leeming <leeming@lyx.org>
921 * lyxrc.C (output, read): wrap all input and output of paths with
922 calls to os::internal_path and os::external_path, respectively.
923 (output): wrap bind_file inside quotes.
925 * format.C (view): enable the viewer to use the '$$s' placeholder.
927 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
929 * LColor.[Ch] (getFromLaTeXName): new
931 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
933 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
935 2005-06-14 Angus Leeming <leeming@lyx.org>
937 * lyx_main.C (init): ensure that the LyX binary dir is the first
938 element in the PATH on non-POSIX builds.
940 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
942 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
944 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
946 * rowpainter.C (paintInset, paintHebrewComposeChar)
947 (paintArabicComposeChar, paintChars): add a LyXFont argument.
948 (paintChars): use getFontSpan to reduce calls to getFont to a
949 minimum; use Paragraph::lookupChange instead of isXXXText.
950 (paintForeignMark): rename LyXFont argument.
951 (paintFromPos): pass a LyXFont object to the various paintXXX
954 * FontIterator.C (FontIterator, operator++): use
955 Paragraph::getFontSpan
957 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
958 version that returns the font span as a pair.
960 2005-06-09 Angus Leeming <leeming@lyx.org>
962 * converter.C (convert): Don't forget "outfile = real_outfile" as
963 the final step in a conversion where the input and output file names
964 are the same. Otherwise, future conversion steps won't work...
966 2005-06-09 Angus Leeming <leeming@lyx.org>
968 * lyxsocket.C: remove stub code as it isn't needed by
969 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
971 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
973 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
974 effectively disabled -x
976 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
978 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
979 when it actually makes sense.
981 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
983 * BufferView_pimpl.C: revert to showCursor in connection with
984 Lars's front-end stack
986 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
988 * text.C (redoParagraph): move cursor right after a bibitem
991 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
993 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
995 * buffer_funcs.C (bufferErrors): fix computation of the end of an
998 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
1000 * BufferView.[Ch] (update):
1001 * BufferView_pimpl.[Ch] (update, metrics):
1002 * dimension.h (operator==):
1003 * lyxfunc.C (dispatch):
1004 * metricsinfo.h (ViewMetricsInfo):
1005 * rowpainter.C (paintText):
1007 * text.C (redoParagraph):
1008 * text3.C (dispatch): Make LyX only repaint current paragraph in
1009 case of character insert --> speedup. Also fix cursor draw
1012 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1014 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1015 avoid a crash (bug 1891)
1017 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1021 * text2.C (getStringToIndex): constify cur argument.
1023 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1024 argument has been given
1025 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1026 try to invoke LFUN_INSET_APPLY).
1028 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1029 if no inset was created by doInsertInset
1030 (doInsertInset): return true if an inset has been inserted.
1032 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1034 * vspace.C (asGUIName): new method. A version of the space
1035 suitable for showing on screen.
1037 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
1040 * lyxrc.C: rename "ASCII" to "Plain Text"
1042 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1044 * buffer_funcs.C (expandLabel): take a Buffer as argument;
1045 translate the labelstring.
1046 (setCounter): translate labelstring as needed.
1048 * output_docbook.C (makeCommand): fix expandLabel invokation
1050 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
1052 * BufferView.C: fix dialog title
1054 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1056 * lyx_main.C (priv_exec): fix logic error with help from Angus
1057 * lyx_main.C (parse_execute): set is_gui = false and remove now
1058 obsolete comment about a segfault
1060 2005-05-18 Angus Leeming <leeming@lyx.org>
1062 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1064 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
1066 * tabular.[hC]: added setCellInset to fix tabular paste.
1068 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1070 * buffer.C (save): check if destination is writable before trying
1073 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
1075 * BufferView_pimpl.C (update): fix processEvents -caused update
1078 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1080 * buffer_funcs.C (setCounter): fix test for numbering of
1083 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1084 depth correctly; use optional argument when it exists
1086 * lyxtextclass.C: remove unused MaxCounterTags enum
1087 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1088 (max_toclevel, min_toclevel): new methods.
1090 * MenuBackend.C (expandToc2): fix case where depth is smaller than
1091 the smallest depth in toc.
1093 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1094 layouts that should not appear in a table of contents.
1096 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1098 * cursor.h (undispatched, noUpdate): add comments from Andr�
1099 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
1103 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1105 2005-05-07 André Pönitz <poenitz@gmx.net>
1107 * cursor.[Ch] (leaveInset): new function
1109 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1111 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1113 2005-05-04 Angus Leeming <leeming@lyx.org>
1115 * lyxfunc.C (getStatus): disable the spell checker dialog if
1116 none of USE_[AIP]SPELL are defined.
1118 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1120 * tabular.C (setWidthOfCell): remove obsolete comment
1122 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1124 * paragraph.C (bibitem):
1125 * buffer_funcs.C (setCounter):
1126 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1128 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1130 * text3.C (getStatus): immediately return after setOnOff
1132 * rowpainter.C: fix drawing of appendix start
1134 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1136 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1137 SwitchBetweenClasses and remove the unused return value.
1138 Handle character styles, too
1140 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1142 * factory.C (createInset): handle undefined character styles
1144 2005-05-02 Angus Leeming <leeming@lyx.org>
1146 * buffer.C: protect the #include of utime.h with a preprocessor
1149 2005-05-02 Angus Leeming <leeming@lyx.org>
1151 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1152 function so that auto-saving works, albeit in a blocking manner.
1154 * Makefile.am: make compilation of the client sub directory, of
1155 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1156 on conditionals set at configure time.
1158 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1159 it can be compiled in its own right but has no-op functionality.
1161 * aspell.C, pspell.C: remove preprocessor guards. The files should
1162 be compiled only if the necessary functionality exists.
1164 * lyxserver.C, lyxsocket.C: disable on Windows.
1166 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1168 * text.C (leftMargin): Fix the parindent use bug (1764)
1171 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1173 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1176 2005-04-25 Angus Leeming <leeming@lyx.org>
1184 include <config.h> in .C files, not .h ones.
1186 protect headers inside preprocessor guards.
1188 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1190 * FuncStatus.h (StatusCodes): document
1192 2005-04-21 André Pönitz <poenitz@gmx.net>
1194 * FuncStatus.h (enabled, onoff): document
1196 2005-04-19 Angus Leeming <leeming@lyx.org>
1198 * BufferView_pimpl.C (cursorToggle): no longer test whether
1199 any child processes have been reaped before calling
1200 handleCompletedProcesses().
1202 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1204 * text3.C (dispatch): fix, finally fix, the language problem in
1205 new lyxtexts, without disabling on-the-fly font changes (Helge's
1208 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1210 * text3.C (dispatch): set cursor on double/triple click events
1213 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1215 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1216 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1218 * rowpainter.C (paintFirst): simplify the code a little bit. In
1219 particular, remove the test for secnumdepth.
1220 * text.C (setHeightOfRow): only allocate space for chapter number
1221 when updateCounters provided an actual label, instead of looking
1222 at secnumdepth directly.
1224 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1226 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1227 paragraphs when secnumdepth is large enough or, for environments,
1228 when they are not the first in a sequence.
1230 2005-04-17 Angus Leeming <leeming@lyx.org>
1232 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1233 containing space and '~' characters with a call to latex_path().
1235 2005-04-17 Angus Leeming <leeming@lyx.org>
1237 * converter.C (convert): protect all args of convertDefault.sh
1240 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1242 * text3.C (dispatch): change the layout to "Caption" after inserting
1245 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1247 * text3.C (dispatch): fix language problem in newly created
1248 textinsets (and main text) in non-english docs
1250 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1252 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1253 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1254 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1256 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1260 * text2.C (getFont):
1261 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1264 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1266 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1267 output of \item arguments without trailing text.
1269 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1271 * FontIterator.C (operator*): avoid a copy of the font.
1273 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1275 * rowpainter.C (getFont): fix language bug from previous fix
1277 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1279 * rowpainter.C (RowPainter, getFont): fix font inside inset
1282 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1284 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1285 preventing inserted font, deco, delim insets jumping to start of
1288 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1290 * lyxfunc.C (dispatch): translate message before sending it to the
1293 2005-03-29 Angus Leeming <leeming@lyx.org>
1295 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1296 to LyX on the command line.
1298 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1300 * vc-backend.C: use QuoteName to protect file names wherever
1303 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1306 * BranchList.h: fix bugs 1844,1845: document settings don't
1309 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1311 * lyxrc.C (setDefaults, read, output, getDescription): add support
1312 for tex_allows_spaces.
1314 * exporter.C (Export): allows files in directory containing spaces
1315 if tex_allows_spaces is true.
1317 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1318 output it in double quotes.
1320 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1322 * rowpainter.C: use default text height for drawing change tracker
1325 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1327 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1329 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1331 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1332 directory is missing.
1334 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1336 * text2.C: fixed the fix, extended to other case.
1338 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1340 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1342 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1344 * text2.C (cursorUp): get rid of a crash
1345 * text.C (x2pos): add an assert
1347 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1349 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1353 * dociterator.C: include <boost/current_function.hpp>, which is
1354 needed when assertions are disabled.
1356 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1358 * text2.C: fix for stuck cursor when traversing two
1359 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1361 2005-02-25 Andreas Vox <avox@arcor.de>
1363 * output_docbook.C (makeParagraph): suppress trailing newline
1364 after a run of paragraphs
1366 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1368 * paragraph.C: fix for confused change tracker when pasting
1369 text that begins with a lineseparator. [bug 1827]
1370 (setChange(0, Change::INSERTED);)
1372 * paragraph_funcs.C: fix for lost changes on triple-paste
1373 in change tracking mode [bug 1827] (par.setChange()).
1375 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1377 * text2.C (updateCounters, setCounter, expandLabel): move to
1380 * buffer_funcs.C (updateCounters): turn into a free standing
1381 function and add a buffer parameter. Remove dead code for tracking
1383 (setCounter): change into a free-standing function which gets a
1384 dociterator as argument. Use this iterator to fix captions in a
1385 simple way. When no float is found above the caption, use the
1386 labelstring of the caption layout as default.
1388 * text.C (breakParagraph, backspace):
1389 * text2.C (init, setLayout, changeDepth):
1390 * text3.C (dispatch):
1391 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1394 * dociterator.C (forwardPar): make it much faster by calling
1395 forwardPos() only when really necessary.
1397 * output_docbook.C (makeCommand): adapt to expandLabel move.
1399 * cursor.C: remove unused variable
1401 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1403 * paragraph_funcs.C: fix crash when pasting insets in change
1404 tracking mode [bug 1277] (honour change type in moveItem).
1406 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1408 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1410 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1412 * BufferView.C (setCursor): change to use a DocIterator.
1413 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1414 (putSelectionAt): adapt to BufferView::setCursor change.
1416 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1417 moved here from LyXText and rewritten to use proper cursor
1418 methods. Fixes bug 1787, 616 and 835.
1420 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1421 when inside an inset (part of bug 781).
1422 (dispatch): adapt to change of BufferView::setCursor.
1423 (getStatus, dispatch): handle LFUN_GOTOERROR,
1424 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1426 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1427 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1428 * text3.C (gotoNextInset, gotoInset): removed.
1430 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1432 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1434 2005-02-15 Angus Leeming <leeming@lyx.org>
1436 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1437 can be used meaningfully in a comparison.
1439 2005-02-13 André Pönitz <poenitz@gmx.net>
1441 * bufferview_funcs.C (coordOffset): improve cursor drawing
1443 2005-02-13 André Pönitz <poenitz@gmx.net>
1445 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1446 * Cursor.C (dispatch): use fixIfBroken
1447 * lyxfunc.C (getStatus): use fixIfBroken
1449 2005-02-15 Angus Leeming <leeming@lyx.org>
1451 * lyx_main.C (error_handler):
1453 * lyxrc.C (setDefaults):
1455 #include "environment.h".
1457 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1459 2005-02-15 Angus Leeming <leeming@lyx.org>
1461 * lyxserver.C (startPipe): squash MSVC warning "local variable
1462 'fd' used without having been initialized".
1464 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1466 * BufferView_pimpl.C: revert accidental commit.
1468 2005-02-14 André Pönitz <poenitz@gmx.net>
1470 * dociterator.[Ch]: new member forwardPosNoDescent(),
1471 which doesn't enter nested insets.
1472 * text2.C (setFont): use forwardPosNoDescent() instead
1473 of ForwardPos() (fixes crash on font change).
1475 2005-02-13 Angus Leeming <leeming@lyx.org>
1477 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1478 only if lyxrc.path_prefix is not empty.
1480 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1482 * bufferparams.C (readGraphicsDriver): prevent crash
1484 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1486 * text2.C (setCounter): check for inInset() == 0
1488 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1490 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1491 but use update() to get correct screen display; use convert
1492 instead of istringstream.
1493 (getStatus): handle LFUN_GOTO_PARAGRAPH
1495 * lyxfunc.C (dispatch, getStatus): do not handle
1496 LFUN_GOTO_PARAGRAPH here.
1498 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1500 * text3.C (dispatch): size() -> depth()
1502 * text2.C: remove some debug output
1504 * paragraph.C: ws changes only
1506 * lyxfunc.C (getStatus): size() -> depth()
1508 * dociterator.h (clear, push_back, pop_back, internalData,
1509 operator[], resize, empty): new functions
1510 Make StableDocIterator and operator== be friends. Don't inherit
1511 from std::vector use a privat class variable slices_ instead.
1514 * dociterator.C: update because of not inheriting from std::vector
1515 anymore. Call explictly to slices_ instead. Use depth() instead of
1516 size() and top() instead of back()
1518 * cursor.C: chagne size() -> depth and back() -> top(). Also
1519 remove some direct operator[](i) calls in favour of foo[i]
1520 (getFont): remove some dead code
1522 * bufferview_funcs.C (coordOffset): size() -> depth()
1524 * buffer.C: ws changes only
1526 * CutAndPaste.C (eraseSelection): back() -> top()
1528 * BufferView_pimpl.C (selectionRequested): back() -> top()
1530 * BufferView.C (setCursor): size() -> depth()
1532 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1534 * text3.C (cursorPrevious): return true if depm changed something
1536 (dispatch): rename sl to oldTopSlice, remove moving use the new
1537 NoUpdate func attrib instead. Make sure that needsUpdate is set
1538 for function that have NoUpdate, but where depm might have changed
1541 * text2.C (cursorLeft): make us return true if depm changed
1543 (cursorRight): ditto
1544 (cursorUpParagraph): ditto
1545 (curosrDownParagraph): ditto
1546 (cursorUp, cursorDown): ditto, make sure to read comments in code
1547 (deleteEmptyParagraphMechanism): remove an assert, also return
1548 true if just a single char was deleted.
1550 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1551 cursor that we modify, to avoid modifying an active cursor before
1552 we call setCursor. This allows depm to run. Also return true if
1553 depm deleted something.
1555 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1556 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1557 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1558 something was changed in the buffer because of them (ie. depm run)
1560 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1561 debug messages. Make update by default be false. Make sure that
1562 the result of update is retained throught several calls down to
1565 * LyXAction.h: add a new func_attrib: NoUpdate
1567 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1568 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1569 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1571 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1573 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1575 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1576 bv_->owner(), bv_->buffer() by direct references to the private
1578 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1579 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1580 (fitCursor): center() is in BufferView::Pimpl.
1581 (getStatus, trackChanges, dispatch): no need for a temporary buf
1583 (fitCursor, workAreaDispatch): use workarea().workheight()
1585 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1587 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1589 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1591 * buffer.C: format up to 241.
1592 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1593 break if pasting into ERT
1594 * lyxfunc.C (getStatus): suppress mathpanel and
1595 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1597 2005-02-01 Angus Leeming <leeming@lyx.org>
1599 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1601 2005-02-01 Angus Leeming <leeming@lyx.org>
1603 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1604 calling fs::is_directory().
1606 2005-01-31 Angus Leeming <leeming@lyx.org>
1608 * lyx_main.C (priv_exec): specify explicitly the relative location
1609 of the top level build directory when run in-place.
1611 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1613 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1614 LyXText containing the cursor, not the top-level one.
1616 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1618 (insertStringAsLines): rename par to pit; use temporary variable
1619 par to hold a Paragraph; do not store par.layout() in a variable,
1620 since the pointer may die when breaking paragraphs; pass pars to
1621 breakParagraph() instead of Buffer::paragraphs().
1623 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1625 * lyxlex_pimpl.h: #include <fstream>.
1627 * BufferView.[Ch] (getLyXText): add a const version.
1629 * BufferView_pimpl.C: add debug aids.
1634 * paragraph_funcs.h: add commentary explaining what the class does.
1637 * coordcache.[Ch]: add lots of commentary.
1638 (startUpdating, doneUpdating): debug aids.
1639 (arrays, insets, parPos, getParPos): accessors to private data.
1641 * cursor_slice.[Ch] (text): add a const version.
1642 * dociterator.[Ch] (text, innerText): add const versions.
1644 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1647 * paragraph.C (getRow, pos2ros): add asserts.
1649 * paragraph.h: add commentary. Lots of.
1651 * paragraph.[Ch] (metrucs, draw): removed.
1654 * rowpainter.[Ch]: const-correct changes.
1656 * text.C: various obvious clean-ups. Removal of ancient cruft.
1659 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1661 * vc-backend.C (find_file): rewrite to use boost.filesystem
1664 * main.C (main): set default name check for boost.filesystem to
1667 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1670 (actOnUpdatedPrefs): ditto
1672 * lyx_main.C (init): rewrite to use boost.filesystem
1673 (queryUserLyXDir): ditto
1675 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1676 (getContentsOfAsciiFile): ditto
1678 * lastfiles.C (readFile): rewrite to use boost.filesystem
1680 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1682 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1683 (loadLyXFile): ditto
1685 * buffer.C (Buffer): adjust for destroydir
1686 (getLogName): rewrite to use boost.filesystem
1687 (setFileName): ditto
1688 (save): use fs::copy_file (from fs_extras)
1690 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1692 * LaTeX.C (run): rewrite to use boost.filesystem
1693 (scanAuxFiles): ditto
1694 (handleFoundFile): ditto
1696 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1698 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1700 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1702 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1704 * lyxlayout.[Ch]: change some vars from float to double
1706 * buffer.C (readFile): make a local var const
1708 * Several files: use convert<> instead of atoi,strToXXX and friends
1710 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1712 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1713 holds the contents of packages.lst. New functions getAvailable
1714 and isAvailable to parse and check that list, resp.
1718 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1720 * bufferparams.[Ch]: new param output_changes.
1722 * Buffer.C: increase file format to 240.
1723 Use output_changes and isVailable.
1727 * paragraph_pimpl.C: Use output_changes and isVailable.
1729 2005-01-23 Angus Leeming <leeming@lyx.org>
1731 * output_latex.C: #include "insetbibitem.h", rather than
1732 forward declare function bibitemWidest.
1734 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1736 * lyx_main.C (init): make it compile on the Mac.
1738 2005-01-20 Angus Leeming <leeming@lyx.org>
1740 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1741 (setLyXMisc): (char string literal) != (char string literal) is
1742 performing a comparison on the addresses. Convert one operand
1743 explicitly to string to guarantee expected behaviour.
1746 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1749 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1751 * output_plaintext.C: remove unneeded #include gzstream.h.
1753 2005-01-20 Angus Leeming <leeming@lyx.org>
1755 * SpellBase.h: rename some of the elements of the Result enum.
1762 * pspell.C (check): ditto
1764 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1766 * buffer.C: add #include <fstream>.
1768 * lyx_main.C (init): Compile fix.
1770 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1772 2005-01-20 Angus Leeming <leeming@lyx.org>
1774 * mover.h: change commentary to reflect the changed meaning of
1775 the $$s placeholder.
1777 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1779 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1781 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1783 2005-01-20 Angus Leeming <leeming@lyx.org>
1785 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1786 printing diagnostic data by not dereferecing an iterator past the
1789 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1791 * buffer.C (readHeader): use "&&" rather than "and".
1793 * lyxserver.h (inPipeName, outPipeName): make these const.
1795 2005-01-19 Angus Leeming <leeming@lyx.org>
1797 * lyx_main.C (error_handler, init): protect SIGHUP with
1798 #ifdef SIGHUP guards.
1800 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1802 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1804 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1806 * text.C (setHeightOfRow): add a margin at the top and bottom of
1807 the document (bug 1761)
1809 2005-01-17 Angus Leeming <leeming@lyx.org>
1811 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1812 with "python ". Workaround for a brain-dead Windows.
1814 2005-01-16 Angus Leeming <leeming@lyx.org>
1816 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1817 for MacOSX and Windows to use prependEnvPath.
1818 Strip out the hard-coded block to add elements to the PATH for
1819 MacOSX and replace it with a call to prependEnvPath using the
1820 contents of LyXRC::path_prefix.
1821 (queryUserLyXDir): strip out the code to run reconfigure, instead
1822 returning a boolean indicating the necessity to do so.
1823 (reconfigureUserLyXDir): contains the code to reconfigure the
1824 user support directory. Is now called after the various LyXRC data
1825 files have been read.
1827 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1829 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1831 * converter.[Ch] (convert): take a new parameter try_default. Use
1832 a default converter (imagemagick) if try_default is true.
1834 2005-01-13 Angus Leeming <leeming@lyx.org>
1836 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1837 os::cygwin_path_fix.
1838 (write): output LyXRC::cygwin_path_fix as necessary.
1840 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1843 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1845 2005-01-12 Angus Leeming <leeming@lyx.org>
1847 * lyx_main.C (init): set the PATH variable to include the
1848 directory containing the LyX binary when running on Mac or Windows.
1850 2005-01-12 Angus Leeming <leeming@lyx.org>
1852 * lyx_main.C (init): remove cruft that purports to set the locale
1853 dir. It doesn't and is not needed anyway.
1855 2005-01-10 Angus Leeming <leeming@lyx.org>
1857 * Makefile.am: remove the lyx_main.C special casing.
1859 * BufferView_pimpl.C:
1865 * messages.C: use support/package.h to provide the paths to the
1866 various directories used by LyX.
1868 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1870 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1871 layout if pasting into an empty paragraph)
1873 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1875 * tex-accent.C: add <string>
1877 2005-01-06 José Matos <jamatos@lyx.org>
1879 * ParagraphParameters.C (write): put every parameter in its own line.
1880 * paragraph.C (write): reduce number of consecutive empty lines exported.
1881 * buffer.C (LYX_FORMAT): increase file format to 239.
1883 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1885 * everywhere: change support/tostr.h -> support/convert.h
1887 * tabular.C: make all write_attributes templates, tostr -> convert
1889 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1890 (emptyTag): and -> &&, and fix type for ret from getChar
1891 (getFirstWord): fix type for ret from getChar
1892 (onlyText): and -> &&
1893 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1896 * toc.C (goTo, action):
1897 * text3.C (dispatch):
1898 * text.C (currentState):
1899 * tex-accent.C (DoAccent):
1902 * lyxfunc.C (menuNew):
1903 * lyxfinc.C (replace):
1904 * counters.C (laberItem):
1905 * bufferview_funcs.C (font2string):
1906 * bufferparams.C (writeFile):
1907 * buffer.C (readFile):
1909 * MenuBackend.C: tostr -> convert
1911 * LaTeX.C (runMessage): fix format
1912 (scanAuxFiles): tostr -> convert
1914 * BufferView_pimpl.C (savePosition): fix format
1915 (restorePosition): ditto
1918 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1920 * Spacing.[Ch]: New method getValueAsString().
1924 * ParagraphParameters.C:
1927 * text3.C: store/read spacing value as string.
1929 * rowpainter.C: change float value (spacing_val) to double.
1931 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1932 broken custom document spacing).
1934 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1936 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1937 namespace, also more use of temp references and const
1939 * cursor.[Ch] (getStatus): move to lyxfunc.C
1941 * bufferparams.C: reformat slightly
1943 * bufferview_funcs.C (font2string): constify arg
1949 * buffer_funcs.C: (many funcs): constify arg on function
1950 definitions, also make more local vars const, also add ASSERTS on
1953 * buffer.C (LYX_FORMAT): put const in correct place
1954 (many funcs): constify arg on function definitions, also make
1955 more local vars const
1957 * aspell_local.h: remove "struct" from typdef setup
1959 * aspell.C (check): make word_ok const
1960 (nextMiss): simplify slightly
1963 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1965 * lyxrc.[Ch]: store all float values as strings.
1966 use int (not float) for lyxrc.dpi.
1968 2005-01-04 Angus Leeming <leeming@lyx.org>
1970 * lyx_cb.C (Reconfigure):
1971 * lyx_main.C (queryUserLyXDir):
1972 to run the <system_lyxdir>/configure correctly on Windows, prefix
1973 the path to the script with "sh " when generating the string that
1974 is passed to system().
1976 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1978 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1980 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1982 * lyxlength.C (asLatexString): get rid of setprecision
1984 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1986 * text2.C (setLayout): remove unused variable endpit.
1987 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1989 * paragraph.C (onlyText): remove unused variable style.
1991 * cursor.C (bruteFind): remove unused variables beg and end.
1993 * Makefile.am (dist_noinset_DATA): not needed anymore
1995 * cheaders/*: remove.
1997 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1999 * text3.C: fix LFUN_MATH_MODE.
2001 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2003 * buffer_funcs.C (countWords): new function. Counts words between
2006 * BufferView_pimpl.C (getStatus, dispatch): handle
2009 * LyXAction.C (init):
2010 * lfuns.h: add LFUN_WORDS_COUNT.
2012 2004-12-19 Angus Leeming <leeming@lyx.org>
2014 * buffer.C (save): s/slashify_path/internal_path/.
2016 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2018 * lyxfind.C (findChange): do not search for end of pars, because
2019 the change tracker cannot handle this (fixes bug 1719).
2021 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
2023 * paragraph.[Ch] (autoBreakRows): remove
2025 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2027 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2028 avoid using the paragraph one
2030 * text2.C (LyXText, insertStringAsLines): adjust
2032 2004-12-16 Angus Leeming <leeming@lyx.org>
2036 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2038 2004-12-14 Angus Leeming <leeming@lyx.org>
2040 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2042 * bufferlist.C (emergencyWrite):
2043 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2046 2004-12-14 Angus Leeming <leeming@lyx.org>
2048 * main.C: (main): no longer pass pointers to os::init.
2050 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2052 * undo.C (textUndoOrRedo): simplify logic, fix a crash
2053 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2055 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2058 * text3.C: remove selection_possible global flag
2060 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
2062 * text2.C (getSelectionSpan): remove
2063 (changeDepth, changeDepthAllowed): adjust
2065 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
2067 * Makefile.am (BOOST_LIBS): use boost variables
2069 2004-12-03 José Matos <jamatos@lyx.org>
2071 * buffer.C: format up to 238.
2073 2004-12-03 José Matos <jamatos@lyx.org>
2075 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2077 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2079 * cursor.C (goUpDown): remove call to idxUpDown2
2081 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2083 * tabular.[Ch]: use size_t-like types for cell, row and column
2086 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2088 * lyxfunc.C (getStatus): do not lose previous information when
2089 calling BufferView::getStatus; do not set a default "Command
2090 disabled" message at the beginning, but just before returning.
2092 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2094 * cursor.h (getStatus): add better comment from src/cursor.C
2096 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2098 * text3.C (getStatus): return false when the lfun is not handled
2100 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2102 * broken_headers.h: remove
2104 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2106 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2108 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2109 offset_ref accessors
2111 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2112 top_y_, merge fitcursor with update
2113 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2115 (metrics): introduce
2116 (workAreaDispatch): adapt to new coord scheme
2117 (redoCurrentBuffer): remove
2119 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2121 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2124 * coordcache.[Ch]: add paragraph cache and helpers
2126 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2129 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2130 (targetX, setTargetX): introduce
2132 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2133 baseline -> ascent, as the rest of lyx
2135 * lyxtext.h: remove redoParagraphs, updateParPositions,
2136 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2137 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2138 have ascent/descent (ascent is ascent of first par)
2140 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2143 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2145 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2147 * pariterator.C: fix infinite loop introduced in par->pit renaming
2149 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2150 in insets and LyXText, draw two off-screen paragraphs using
2151 NullPainter, and adapt to new coord scheme
2155 * text3.C: adapt lfun handlers to the new coord scheme, which
2156 means: there's only guaranteed coord information for onscreen pars
2157 plus one above and one below. This implies that one can do search
2158 from y coordinates in the range [-1,workHeight]
2160 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2162 * rename a lot of InsetOld to InsetBase
2164 2004-11-25 Angus Leeming <leeming@lyx.org>
2166 * BufferView_pimpl.C:
2168 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2170 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2172 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2173 call BufferView::getStatus if LCursor::getStatus did nothing
2174 (setStatusMessage, getStatusMessage): removed.
2176 * FuncStatus.C (message): new methods. Used to provide an error
2177 message indicating why a command is disabled.
2178 (clear, |=, FuncStatus): update for message.
2180 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2182 * lyxfunc.C (dispatch): always call sendDispatchMessage
2184 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2187 * BufferView_pimpl.C:
2192 * cursor_slice.[Ch]:
2195 * paragraph_funcs.C:
2201 * undo.C: par->pit renaming
2203 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2205 * tabular.C (cellstruct): use initialization, store a shared_ptr
2206 to insettext instead of the insettext directly, adjust to fit.
2207 (operator=): new function
2208 (swap): new function
2209 (rowstruct): use initialization
2210 (columnstruct): use initialization
2211 (ltType): use initialization
2214 * lyxlength.h (swap): new function
2216 * LColor.[Ch] (operator=): use the common semantics
2218 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2220 * lyxfind.C (findNextChange): update the bufferview after setting
2223 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2225 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2226 number of InsetOptArgs has already been inserted.
2228 * output_latex.C (latexOptArgInsets): new method. This outputs all
2229 the optarg insets, up to the limit defined in the layout file.
2230 (optArgInset): removed
2231 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2233 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2235 * paragraph.C (isLetter): remove special spellchecker-related
2236 code; return true also for digits
2237 (isWord, isKomma): remove
2239 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2240 * lyxfind.C (MatchString()): use isLetter instead of isWord
2242 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2244 * pariterator.h (operatir=): comment out un-implemented member
2247 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2250 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2252 * lyxfont.h: include LColor.h to satisfy concept checks.
2254 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2256 * pariterator.h: add typdefs for value_type, difference_type,
2257 pointer and reference to satisfy concept checks. Also add default
2258 constructor for same reason.
2260 * pariterator.C (operator++): add post-increment operator to
2261 satisfy concept checks.
2263 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2266 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2268 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2269 checks. Also rename base_type to BaseType to follow naming
2272 * FloatList.h: include Floating.h to satisfy concept checks.
2274 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2276 * lyxfunc.C (getStatus): when the origin of the request is menu or
2277 toolbar, and the LyXView does not have focus, do as if there was
2278 no buffer (bug 1720)
2280 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2281 FuncRequest to individual entries of LFUN_SEQUENCE
2283 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2285 * output_latex.C (TeXOnePar): override runparams.moving_arg
2286 according to the needprotect value of the current paragraph (bug
2289 * paragraph.C (simpleTeXOnePar): no need to override
2290 runparams.moving_args here
2292 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2294 * vspace.C: fix off-by-one-error, related to fix #1682
2296 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2298 * lengthcommon.C: a more general fix for bug 1682
2300 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2302 * text.C (backspace): fix crash
2304 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2306 * format.[Ch] (getFormatFromFile): new method
2307 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2309 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2311 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2313 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2315 * lyxfunc.C (dispatch): remove the verbose argument
2316 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2319 * kbmap.C (defkey): set the origin of func to KEYBOARD
2321 * MenuBackend.C (MenuItem):
2322 * ToolbarBackend.C (add): set the origin of func to UI
2324 * funcrequest.[Ch]: add origin member, which indicates which part
2325 of LyX requests an action
2327 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2329 * converter.C (move): don't lie in the error message
2330 * converter.h (isReachable, move): document
2332 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2334 * buffer.C: remove unused using lyx::support::atoi
2335 * paragraph_funcs.C: ditto
2337 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2339 * bufferlist.C (exists): use bind and equal_to instead of
2342 * lyxtextclasslist.C (NumberOfClass): ditto
2344 * cursor.C (insert): use for_each instead of explicit for loop
2346 * bufferlist.C (getFileNames): use std::transform and
2347 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2349 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2352 * buffer.C (changeLanguage): use for_each instead of explicit for
2354 (hasParWithID): implement using getParFromID
2356 * LaTeXFeatures.C: ws change only
2358 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2361 * BufferView_pimpl.C (trackChanges): use for_each instead of
2364 2004-11-04 André Pönitz <poenitz@gmx.net>
2367 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2369 * dociterator.C (asDocIterator): use hard assert again.
2371 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2373 * lyxlength.C (asLatexString): rewrite so that it does not use
2376 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2378 * text3.C (specialChar, dispatch): make sure cursor moves to the
2379 right after inserting an inset
2381 2004-11-02 José Matos <jamatos@lyx.org>
2383 * output_docbook.C (docbook):
2384 * paragraph.C (getID):
2385 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2386 garantee that the output is always legal.
2388 * tabular.C (docbook):
2389 * outputprams.[Ch]: remove mixed contents.
2391 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2393 * text2.C (setCounter): prevent endless loop
2395 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2397 * exporter.C (copyFile): use the mover instead of support::copy()
2398 * exporter.C (Export): pass format and latex name to copyFile()
2399 * exporter.h (addExternalFile): document
2400 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2402 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2404 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2406 2004-10-30 José Matos <jamatos@lyx.org>
2408 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2409 text and no inset or font change. This allows to use CDATA
2410 sections just for the whole paragraph.
2412 2004-10-30 José Matos <jamatos@lyx.org>
2414 * paragraph.C (getFirstWord): remove unused variable.
2416 2004-10-30 José Matos <jamatos@lyx.org>
2418 * paragraph.C (getFirstWord): the content should always be escaped
2420 (simpleDocBookOnePar):
2421 * output_docbook.C (makeEnvironment): replace reference to CDATA
2424 2004-10-30 José Matos <jamatos@lyx.org>
2426 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2428 2004-10-30 José Matos <jamatos@lyx.org>
2430 * output_docbook.C (makeParagraphs):
2431 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2432 standard paragraph has only a given type of content drop the wrapper.
2434 2004-10-29 José Matos <jamatos@lyx.org>
2436 * output_docbook.C (makeEnvironment):
2438 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2440 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2442 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2443 (cleanID): sanitize any id.
2445 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2447 * buffer.C, lyxlex_pimpl.C:
2448 * lyxlex_pimpl.C (setFile):
2449 s/getExtFromContents/getFormatFromContents/
2451 2004-10-28 José Matos <jamatos@lyx.org>
2453 * output_docbook.C (makeEnvironment): move id to broadest possible
2456 * sgml.C (openTag): apply substitution of <> for all attributes.
2458 2004-10-28 José Matos <jamatos@lyx.org>
2460 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2461 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2462 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2464 * sgml.[Ch]: new version for open and closeTag for paragraph and
2465 for strings. Now they handle the ids of paragraphs.
2467 2004-10-26 Angus Leeming <leeming@lyx.org>
2469 * Makefile.am: add mover.[Ch].
2471 * converter.C (convert, move): use the new Movers to move external
2472 files to the temp directory.
2474 * lyx_main.C (init): ensure that the global system_movers data
2477 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2480 * mover.[Ch]: new files, defining a Mover as a utility to move an
2481 external file between directories and, if necessary, manipulate this
2482 file using a helper script.
2484 2004-10-25 José Matos <jamatos@lyx.org>
2486 * output_docbook.C (makeCommand): merge two if's that tested the
2489 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2491 * sgml.C (escapeString): fix warning in a better way
2493 2004-10-25 José Matos <jamatos@lyx.org>
2495 * sgml.C (escapeString): import the require boosts header file for
2496 tie, and avoid a signed unsigned comparison.
2498 2004-10-25 José Matos <jamatos@lyx.org>
2500 * sgml.h: add #include <string>
2502 2004-10-25 José Matos <jamatos@lyx.org>
2504 * sgml.[Ch] (escapeString): new function to escape all the string.
2506 2004-10-24 José Matos <jamatos@lyx.org>
2508 * paragraph.[Ch] (getFirstWord): new function to get the first
2509 word. Useful for description.
2510 (simpleDocBookOnePar): remove depth argument, add another that
2511 says where to start the paragraph.
2513 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2514 use the new functions to fix cleanly the support for descriptions.
2516 2004-10-24 José Matos <jamatos@lyx.org>
2518 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2519 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2520 * output_linuxdoc.C (linuxdocParagraphs):
2521 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2522 add buffer as argument.
2524 2004-10-24 José Matos <jamatos@lyx.org>
2526 * output_docbook.C (makeEnvironment, searchEnvironment): place
2527 CDATA inside paragraphs and fix scope for listitems.
2529 2004-10-24 José Matos <jamatos@lyx.org>
2531 * output_docbook.C: remove using statement for stack.
2533 2004-10-23 José Matos <jamatos@lyx.org>
2535 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2536 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2537 docbook. The new scheme is recursive and makes use of iterators, the
2538 same as latex export works.
2539 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2540 directly with the paragraph contents. This code was moved up to
2541 output_docbook.C (docbookParagraphs).
2542 * sgml.C (openTag, closeTag): removed unneeded newlines.
2543 (closeEnvTags) removed.
2545 2004-10-23 André Pönitz <poenitz@gmx.net>
2547 * undo.C (textUndoOrRedo):
2548 * dociterator.C (asDocIterator): work around crash
2550 * cursor.C (getStatus): replace ASSERT by more verbose error message
2551 and manual correction of the problem. Should increase stability
2552 while providing more sensible information.
2554 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2556 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2558 * bufferlist.C (previous, next): new methods
2561 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2563 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2565 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2566 entities to preamble.
2568 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2570 * messages.C (Pimpl): strip off translation context information
2572 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2574 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2575 the cursor is correct (bug 1694)
2577 2004-10-13 José Matos <jamatos@lyx.org>
2579 * output_docbook.C (docbookParagraphs): fix closing tags in the
2580 end of the document.
2582 2004-10-09 José Matos <jamatos@lyx.org>
2584 * buffer.C: format up to 237.
2585 * bufferparams.C (write): use tostr to convert booleans to strings.
2587 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2589 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2591 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2593 * LaTeX.C: implement use of babel language in xindy.
2595 2004-10-05 José Matos <jamatos@lyx.org>
2597 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2598 Add new translators to help reading and writing the lyx file.
2600 2004-10-05 José Matos <jamatos@lyx.org>
2602 * ParagraphParameters.C (read):
2603 * text.C (readParToken): replace nexToken by more appropriate lex
2606 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2608 * LaTeX.C (runMakeIndex):
2609 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2610 (usually 'makeindex') configurable.
2612 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2613 with a variable rather than with a number.
2615 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2617 * output_latex.C (TeXOnePar): make sure font setting is the first
2618 thing that gets output (and the last at the end). Should fix bug
2621 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2623 * pch.h: use proper signal include
2625 * LaTeX.h: Use preferred calling of Boost.Signal
2628 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2630 * pch.h: dont include <boost/function/function0.hpp>
2632 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2634 * paragraph_pimpl.h: remove usage of ShareContainer
2636 * paragraph_pimpl.C: remove initialization of ShareContainer.
2638 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2642 * BufferView.C (putSelectionAt): change the semantics when
2643 backwards == true: now, this just swaps cursor and anchor wrt the
2646 * BufferView.h (putSelectionAt): add some documentation
2648 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2649 make sure backwardChar is done at least once (to avoid getting
2651 (findNextChange): use putSelectionAt in the forward direction
2652 (operator()): use Paragraph::isWord
2654 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2656 * Spacing.C (set): c_str fix
2658 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2660 * lyx_cb.C (Reconfigure): quote the name of configure script in
2661 case it contains spaces
2663 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2667 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2668 (BOOST_LIBS): use top_buildir when looking for the file
2670 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2672 * pch.h: do not use include boost/format.hpp, multiple symbols
2673 will result (gcc bug)
2676 2004-08-23 José Matos <jamatos@lyx.org>
2678 * bufferparams.C (readToken): fix reading of the author field.
2680 2004-08-20 José Matos <jamatos@lyx.org>
2682 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2684 2004-08-20 José Matos <jamatos@lyx.org>
2686 * lyxlex.[Ch] (findToken): remove function.
2688 * ParagraphParameters.C (findToken):
2689 * bufferparams.C (findToken): replace call for previous function
2690 with local copy. This local function has one more argument, the
2691 read string argument.
2693 2004-08-16 José Matos <jamatos@lyx.org>
2695 * ParagraphParameters.C (write):
2696 * Spacing.C (writeFile):
2697 * bufferparams.C (writeLaTeX):
2698 * lyx_cb.C (Reconfigure):
2699 * paragraph.C (write):
2700 * tabular.C (write): remove unnecessary space at end of line.
2703 2004-08-16 José Matos <jamatos@lyx.org>
2705 * text.C (readParagraph): remove debug message.
2707 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2709 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2712 * output_plaintext.C (asciiParagraph): set depth correctly
2714 * outputparams.h: add member depth
2716 * paragraph_funcs.C (ownerPar): remove.
2718 * text2.C (setCounter): remove first_pit; comment out some
2719 non-working code that uses ownerPar
2721 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2724 2004-08-16 José Matos <jamatos@lyx.org>
2726 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2727 For the same level of importance use the same chanel to report problems.
2728 (read): add code to deal with \begin_body and \end_body.
2731 2004-08-15 José Matos <jamatos@lyx.org>
2733 * lyxlex.C (getString): fix comment, buffer::readBody is now
2734 buffer:readDocument.
2736 * tex-strings.C (string_papersize): Default -> default,
2737 Custom -> custom, for consistency with other options.
2739 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2743 * Makefile.am: support pch
2745 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2747 * text.C (readParToken): remove the static LyXFont variable and
2748 pass it as a parameter instead. This fixes a nasty bug where an
2749 inset will be inserted with a bad font in some situations
2750 (readParagraph): adapt
2752 * text2.C (setCounter): reduce number of calls to pars_[pit]
2754 * text.C (singleWidth): add an assert, fix a test
2756 * rowpainter.C (paintText): reduce number of calls to singleWidth
2758 * paragraph.C (isHfill):
2759 (isNewline): ws only
2761 2004-08-14 André Pönitz <poenitz@gmx.net>
2766 * lyxtext.h (several functions): use a Paragraph & argument
2769 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2771 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2773 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2775 * text.C (singleWidth): remove useless test
2777 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2779 * tabular.h: remove bogus comments
2781 * tabular.C (getDescentOfRow):
2782 (isPartOfMultiColumn): add assertions
2784 * lyxlength.C (inPixels): remove #warning
2786 2004-08-14 André Pönitz <poenitz@gmx.net>
2788 * paragraph.h: inline getChar()
2790 * BufferView.h: remove unused declarations
2792 2004-08-14 José Matos <jamatos@lyx.org>
2794 * Buffer.[Ch] (readDocument): new name for old readBody.
2795 * Buffer.C: new file format, new keywords: \begin_document,
2796 \begin_header, \begin_body, \end_body.
2798 * bufferparams.C (readToken): replace all calls to lex.nextToken
2799 by lex.next(). Do the same to eatLine except where really needed.
2801 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2802 line when writing to the lyx file.
2804 * output_plaintext.C (asciiParagraph): fix Bibliography style
2807 * text.C (read): fix end of file handling.
2809 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2811 * MenuBackend.C (Menu::operator[]): new method to access
2812 individual menu items
2813 (Menu::hasFunc): new method. search for an item that corresponds
2815 (MenuBackend::specialMenu): new method
2816 (MenuBackend::expand): if a special menu has been set, skip
2817 entries whose func() appears in this menu
2819 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2821 * text3.C: use Debug::DEBUG a bit more
2823 * text.C (leftMargin): try to simplify a tiny bit change var x to
2824 l_margin. Dont output the wide margins always.
2825 (rightMargin): no margin in inner texts
2827 * rowpainter.h (nestMargin): new func
2828 (changebarMargin): new func
2829 (rightMargin): new func
2831 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2835 * factory.C (createInset): modify setDrawFrame
2837 * cursor.C: use Debug::DEBUG a bit more
2839 2004-08-14 André Pönitz <poenitz@gmx.net>
2842 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2843 cache for all insets in (at least partially) visible (top-level)
2846 * BufferView_pimpl.C: reset external coord cache before every update.
2847 This means the coord cache only contains valid entries.
2849 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2852 * BufferView_pimpl.C (getInsetByCode): move function out of class
2853 and change in to a template in anon namespace. Also fix to do what
2856 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2859 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2861 (breakParagraph): rename par to par_offset and use a local
2862 reference. Add code to keep the language over a rebreak.
2863 (breakParagraphConservative): rename par to par_offset, use a
2865 (mergeParagraph): ditto
2867 (isFirstInSequence): ditto
2868 (outerFont): rename pit to par_offset
2870 * paragraph.C: ws change
2871 * paragraph.h: ditto
2875 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2877 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2880 * paragraph.C (simpleTeXOnePar): when we have a \item with
2881 optional argument, enclose the argument with curly brackets (in
2882 case it contains a closing square bracket)
2886 * text3.C (checkInsetHit): constify
2888 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2890 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2891 documents (bug 1629)
2893 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2895 Fix toggling of collapsable insets with the mouse (bug 1558)
2897 * lyxfunc.C (dispatch): adapt to LCursor changes
2899 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2900 make sure that dispatch is not invoked twice
2902 * cursor.C (needsUpdate): new method
2903 (dispatch): return void
2904 (result): new method, to access the DispatchResult of the cursor.
2906 2004-08-13 José Matos <jamatos@lyx.org>
2908 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2910 2004-08-13 André Pönitz <poenitz@gmx.net>
2912 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2914 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2917 2004-08-12 André Pönitz <poenitz@gmx.net>
2919 * text3.C: take out the 'cursor right' form insertInset and only
2920 do it in those places when it is really needed. Fixes crash on
2923 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2925 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2927 * BufferView_pimpl.C (setBuffer): initialize the current font of
2928 the underlying LyXText
2930 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2932 * kbsequence.C (print): use UI native formatting for menu
2935 * text.C (insertChar): call Paragraph::insertChar with a font
2938 * paragraph.C (insertInset, insertChar): the version that takes a
2939 LyXFont argument is now a wrapper around the other one (the
2940 opposite used to be true).
2942 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2943 argument. Font setting is done in Paragraph now.
2945 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2947 * outputparams.h: add new members intitle and lang.
2949 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2950 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2952 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2954 * text3.C (dispatch): remove special handling of button 4 and 5,
2955 it is now taken care of in the frontend code.
2957 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2959 * Spacing.h: add <string> (STLPort compile fix)
2961 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2963 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2965 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2967 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2970 * converter.C (showMessage): inherit from unary_function, make
2973 * buffer.C (writeFile): initialize retval
2975 * InsetList.h: rename private variable list to list_
2976 * InsetList.[Ch]: adjust accordingly.
2978 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2980 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2981 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2982 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2983 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2984 * ParagraphParameters.C, LaTeXFeatures.C: replace
2985 "support/std_sstream.h" with <sstream>
2987 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2989 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2990 * lyxsocket.C (LyXServerSocket): ditto
2991 (serverCallback): ditto
2993 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2995 * LaTeXFeatures.C: check release date when loading jurabib.
2997 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2999 * lyxserver.C (startPipe): call register_socket_callback
3000 (endPipe): call unregister_socket_callback
3002 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3004 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3005 (LyXServerSocket): register the callback
3006 (LyXServerSocket): unregister the callback
3007 (fd): delete function
3008 (serverCallback): improve error checking and setup the callbacks.
3009 (dataCallback): change arg to fd.
3010 (writeln): new func (copied fro the client socket) used for server
3012 (LyXDataSocket): simplify
3013 (~LyXDataSocket): close ann unregiser callback
3014 (server): delete function
3015 (fd): delete function
3016 (readln): small changes, improve some std::string usage
3017 (writeln): constify a bit
3019 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3021 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3024 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3026 * BufferView_pimpl.C (setBuffer): set the layout combox value only
3027 after it has been populated
3029 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3031 * text2.C (insertInset): move cursor when inserting inset.
3033 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3035 * kbmap.C (findbindings): a couple of new methods. returns a
3036 container of kb_sequence objects. The real work is done by the
3037 private recursive version
3038 (printbindings): uses findbindings to print out a bracketed list
3039 of bindings (renamed from findbinding).
3041 * MenuBackend.C (binding): use kb_keymap::findbindings
3043 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3045 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3047 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3049 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3051 * paragraph.C (isWord): return true on insets that report
3054 * text.C (getWord): use Paragraph::isWord to decide what is in a
3055 word and what is not; fix bug 1609.
3057 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3059 * tex-strings.C: add "none" to string_paperpackages[], fixes
3060 off-by-one-error in the paperpackage selection.
3063 * tex-strings.[Ch]: char const * string[n]
3064 -> char const * const string[]
3066 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3068 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3069 command, return early.
3071 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3073 * debug.h: add DEBUG to enum and fix size of ANY.
3075 * debug.C: add support for Debug::DEBUG
3076 (showTags): cast errorTags.level to unsigned int
3078 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3079 (redoCurrentBuffer): ditto
3080 (updateScrollbar): ditto
3081 * cursor.C (dispatch): ditto
3082 * text2.C (setLayout): ditto
3084 (updateCounters): ditto
3086 (deleteEmptyParagraphMechanism): ditto
3088 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3090 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3091 annotations to cleanup the Makefile slightly.
3093 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3095 * lyxrc.C: do not set user_email to a default value but use empty
3096 instead. The entry used to be translated, which does not work
3097 since at the point where lyxrc is constructed there is no
3098 translation service available
3100 * messages.C (getLocaleDir): remove and use directly
3101 lyx_localedir() instead
3103 2004-06-02 Angus Leeming <leeming@lyx.org>
3105 Fix crash caused by dereferencing null pointer 'exportdata' in
3106 OutputParams by creating a new ExportData variable on the heap,
3107 storing it in a boost::shared_ptr.
3108 The crash was triggered when generating an Instant Preview
3109 of an external inset.
3111 * Makefile.am: add outputparams.C
3113 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3114 (c-tor): allocate memory to it.
3116 * exporter.C (c-tor): associated changes.
3118 2004-06-01 Angus Leeming <leeming@lyx.org>
3120 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3121 contains data before calling isInset(0). (Bug 1513.)
3123 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3125 * exporter.C (checkOverwrite): new method
3126 * exporter.C (copyFile): new method
3127 * exporter.C (Export): copy referenced files to the document dir
3128 * exporter.[Ch]: new class ExportedFile
3129 * exporter.[Ch]: new class ExportData. Contains currently the
3130 names of referenced external files
3131 * outputparams.h: add exportdata member.
3133 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3135 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3138 2004-05-19 Angus Leeming <leeming@lyx.org>
3143 * lyxfunc.C: small changes due to the introduction of namespace
3144 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3146 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3148 * text3.C (dispatch): supress update when only moving the cursor
3149 * cursor.C (selHandle): remove commented code
3151 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3153 * paragraph.C (startTeXParParams): correct column count
3154 * CutAndPaste.C (pasteSelection): remove const_cast
3155 * output_docbook.C (docbookParagraphs): remove const_cast
3156 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3157 const_cast and return ParagraphList::const_iterator
3158 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3159 * output_plaintext.C (writeFileAscii): remove const_cast
3160 * paragraph.[Ch] (simpleTeXOnePar): make const
3161 * paragraph_funcs.C (outerPar): use const iterators
3162 * paragraph_pimpl.C (validate): use const iterators
3163 * text.C (setHeightOfRow): use const iterators
3165 2004-05-17 Angus Leeming <leeming@lyx.org>
3168 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3170 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3171 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3172 if the citation engine has changed.
3174 2004-05-14 José Matos <jamatos@lyx.org>
3176 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3177 if the textclass does not provide it. Have it different for sgml and
3179 support the language of document.
3180 * output_docbook.C (docbookParagraphs):
3181 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3182 first anchor as the id of the paragraph, remove special case code.
3183 * sgml.C (escapeChar): escape only < & >.
3185 2004-05-14 Angus Leeming <leeming@lyx.org>
3187 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3188 dependencies on src/frontends/controllers/biblio.h. Define a
3189 CiteEngine_enum wrapper class to enable the enum to be forward
3192 2004-05-12 Angus Leeming <leeming@lyx.org>
3194 * buffer.C: up LYX_FORMAT to 234.
3195 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3196 use_numerical_citations with a single biblio::CiteEngine cite_engine
3198 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3200 2004-05-13 José Matos <jamatos@lyx.org>
3203 * converter.C (Converter, readFlags): add xml member.
3204 * outputparams.h: add XML flavor.
3205 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3207 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3209 * lyxfunc.C (dispatch):
3210 (getStatus): fix handling of LFUN_SEQUENCE
3212 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3214 * debug.C (showLevel): do not forget the end-of-line marker
3216 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3218 * kbmap.C (read): do not stop parsing a bind file when an error
3221 2004-04-29 Angus Leeming <leeming@lyx.org>
3226 * text2.C: wrap a bunch of #warning statements
3227 inside #ifdef WITH_WARNINGS blocks.
3229 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3231 * buffer.C: increment format to 233.
3233 2004-04-28 Angus Leeming <leeming@lyx.org>
3235 * BufferView_pimpl.C:
3238 s/updateToolbar()/updateToolbars()/
3239 s/Toolbar.h/Toolbars.h/
3241 2004-04-28 Angus Leeming <leeming@lyx.org>
3243 * BufferView.[Ch] (c-tor):
3244 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3245 No longer passes these data to the WorkArea generator.
3247 2004-04-28 Angus Leeming <leeming@lyx.org>
3249 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3251 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3253 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3255 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3257 * output_latex.C (TeXEnvironment): make sure that there is a line
3258 break before \end{foo} for the last paragraph of a document
3259 (TeXOnePar): if the paragraph is at the end of the document (or
3260 inset) and the language has to be reset, then make sure that the
3261 line break is _before_ the language command, not after (fixes bug
3262 1225); also make sure that the language reset command is the first
3263 thing after the paragraph (to ensure proper nesting of
3264 environments and thus fix bug 1404)
3266 2004-04-21 John Levon <levon@movementarian.org>
3269 * ToolbarBackend.C: make "name" be a programmatic name
3270 and a gui_name field.
3272 * lyxfunc.C: display the minibuffer on M-x
3274 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3276 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3279 2004-04-19 Angus Leeming <leeming@lyx.org>
3281 * BufferView_pimpl.C (setBuffer): changed preview interface.
3283 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3286 2004-04-19 John Levon <levon@movementarian.org>
3288 * BufferView_pimpl.C:
3289 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3291 2004-04-05 Angus Leeming <leeming@lyx.org>
3293 * text.C (redoParagraphs): add call to updateCounters(), thereby
3294 fixing the missing "Figure #:" label from the caption of a
3297 2004-04-13 Angus Leeming <leeming@lyx.org>
3299 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3300 cursor is clicked out of an inset.
3302 2004-04-13 Angus Leeming <leeming@lyx.org>
3304 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3305 than an InsetOld one.
3307 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3309 * format.[Ch]: add editor to Format
3310 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3311 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3313 2004-04-08 André Pönitz <poenitz@gmx.net>
3315 * metricsinfo.h: remove PainterInfo::width member
3317 2004-04-08 Angus Leeming <leeming@lyx.org>
3319 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3320 "\providecommand" rather than "\newcommand", thereby preventing
3321 clashes with packages that define "\boldsymbol" themselves.
3324 2004-04-08 Angus Leeming <leeming@lyx.org>
3326 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3327 thereby squashing an unnecessary warning.
3329 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3331 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3334 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3336 * BufferView.C (setCursor): call redoParagraph (some insets could
3338 (putSelectionAt): remove the 'double update' trick
3340 * BufferView_pimpl.C (fitCursor): call refreshPar
3341 (workAreaDispatch): remove an uneeded update call
3342 (dispatch): remove some manual update calls
3344 * cursor.[Ch]: remove cached_y_, updatePos
3345 (selHandle): set noUpdate when appropriate
3347 * lyxfunc.C (dispatch): track if we need an update
3349 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3351 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3352 (paintSelection): cheap optimization, do not call cursorX when not
3354 (paintPars): change signature
3357 (paintTextInset): adjust
3361 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3363 * lengthcommon.C: compilation fix: remove explicit array size from
3364 unit_name[] and friends
3366 2004-04-05 Angus Leeming <leeming@lyx.org>
3368 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3370 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3371 present only for the preferences dialog.
3372 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3374 2004-04-05 Angus Leeming <leeming@lyx.org>
3376 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3377 to enable the frontends to export changes to lyxrc correctly.
3379 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3381 2004-04-07 André Pönitz <poenitz@gmx.net>
3383 * cursor.[Ch] (selClear, adjust): remove math
3385 * cursor_slice.C: more agressive assert
3388 * BufferView_pimpl.C: rework mouse event dispatch
3395 2004-04-05 André Pönitz <poenitz@gmx.net>
3397 * cursor.[Ch] (valign, halign...): remove unneeded functions
3399 2004-04-05 Angus Leeming <leeming@lyx.org>
3401 * lyxlength.[Ch] (unit_name et al.): const-correct.
3403 2004-04-05 Angus Leeming <leeming@lyx.org>
3405 * BufferView_pimpl.C:
3414 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3416 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3418 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3420 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3422 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3423 * BufferView_pimpl.[Ch] (getStatus)
3424 * BufferView.[Ch] (getStatus): add
3425 * lyxfunc.C (getStatus): move lfuns handled in
3426 BufferView::dispatch to te function above
3427 * Cursor.C (setSelection): set selection() = true
3429 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3431 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3433 2004-03-31 Angus Leeming <leeming@lyx.org>
3435 * lyxfunc.C (dispatch): Fall through to the generic
3436 Dialogs::show("preamble").
3438 2004-03-31 Angus Leeming <leeming@lyx.org>
3440 * lyxfunc.C (dispatch): Fall through to the generic
3441 Dialogs::show("spellchecker").
3443 2004-03-31 Angus Leeming <leeming@lyx.org>
3445 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3448 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3453 * insetiterator.[Ch]:
3458 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3460 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3462 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3463 insets where we are putting the cursor.
3465 2004-03-31 Angus Leeming <leeming@lyx.org>
3468 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3470 * lyxrc.[Ch] (read, write): overloaded member functions taking
3471 a std::[io]stream arguments.
3473 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3475 2004-03-31 Angus Leeming <leeming@lyx.org>
3477 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3478 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3480 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3481 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3483 2004-03-31 Angus Leeming <leeming@lyx.org>
3485 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3486 the LFUN_ALL_INSETS_TOGGLE code.
3488 2004-03-30 Angus Leeming <leeming@lyx.org>
3490 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3491 has died. Fall through to the generic Dialogs::show("document").
3493 2004-03-30 Angus Leeming <leeming@lyx.org>
3496 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3497 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3499 * lyxfunc.C (getStatus, dispatch): define the actions for these
3500 lfuns. Little more than a cut and pste job from ControlDocument.C
3502 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3504 2004-03-30 Angus Leeming <leeming@lyx.org>
3507 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3508 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3510 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3511 open/closed state of ollapsable insets. Usage:
3513 all-inset-toggle <state> <name>, where
3514 <state> == "open" || "closed" || "toggle" and
3515 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3517 * lyxtext.h, text2.C (toggleInset): removed.
3519 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3520 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3521 now passes LFUN_INSET_TOGGLE to the found inset.
3523 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3524 is now invoked as "all-insets-toggle toggle branch".
3526 2004-03-30 Angus Leeming <leeming@lyx.org>
3530 * pariterator.[Ch]: added/corrected header blurb.
3532 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3534 * dociterator.[Ch]: add an inset_ member
3535 (backwardPos): implemented
3536 (backwardPos, forwardPos): use inset_ when the stack is empty.
3537 (doc_iterator_begin, doc_iterator_end): implemented
3538 * pariterator.[Ch]: adjust, add begin, end
3539 * insetiterator.[Ch]: adjust, add begin, end
3543 * BufferView_pimpl.C:
3544 * CutAndPaste.C: adjust
3546 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3548 * buffer.C: increment file format to 232.
3549 * LaTeXFeatures.C: add bibtopic package.
3550 * bufferparams.[Ch]: param \use_bibtopic.
3552 * lyxrc.[Ch]: add lyxrc bibtex_command
3553 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3555 * buffer.C: increment file format to 231.
3557 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3559 * dociterator.C: implement forwardPar
3560 * iterators.[Ch]: remove, replaced by
3561 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3563 * BufferView_pimpl.C:
3566 * bufferview_funcs.C:
3572 * Makefile.am: adjust
3574 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3576 * CutAndPaste.C (pasteSelection): fix 2 crashes
3577 (eraseSelection): fix a crash
3578 * paragraph_funcs.C: remove a warning
3580 2004-03-28 Angus Leeming <leeming@lyx.org>
3583 * LyXAction.C (init): new LFUN_PRINT.
3585 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3587 2004-03-27 Angus Leeming <leeming@lyx.org>
3590 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3592 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3594 2004-03-27 Angus Leeming <leeming@lyx.org>
3596 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3597 insetlist always contains non-null pointers to insets.
3599 2004-03-26 Angus Leeming <leeming@lyx.org>
3601 * src/BufferView_pimpl.C:
3602 * src/CutAndPaste.C:
3605 * src/output_plaintext.C:
3606 * src/outputparams.h:
3607 * src/paragraph_funcs.C:
3611 * src/frontends/controllers/ControlErrorList.C:
3612 * src/frontends/gtk/FileDialogPrivate.C:
3613 * src/frontends/gtk/GPainter.C:
3614 * src/frontends/gtk/GToolbar.C:
3615 * src/frontends/qt2/QRef.C:
3616 * src/mathed/math_scriptinset.C: squash compiler warnings.
3618 2004-03-26 Angus Leeming <leeming@lyx.org>
3620 * ispell.C (LaunchIspell::start):
3621 * lyx_cb.C (AutoSaveBuffer::start):
3622 invoke run(DontWait) rather than runNonBlocking().
3624 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3626 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3628 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3630 * kbsequence.C (print): adjust
3632 * kbmap.C (printKeySym): rename and change signature
3633 (printKey): use LyXKeySym::print()
3635 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3637 * undo.C: add using std::advance to compile for stlport
3639 2004-03-24 Angus Leeming <leeming@lyx.org>
3641 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3642 it leads to a crash when no buffer is present.
3644 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3645 Martin Vermeer <martin.vermeer@hut.fi>
3647 * lyxfunc.C (dispatch):
3648 * bufferparams.C (readToken): use the new LColor::setColor
3650 * LColor.[Ch] (setColor): new version that takes two strings as
3651 argument and creates a new color entry if necessary
3653 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3655 * buffer.C (makeLaTeXFile): if the main latex file that is
3656 processed is usually a subdocument of some master, then pretend
3657 for a while that it is actually the master
3659 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3661 * buffer.C (getLabelList):
3662 (getBibkeyList): use getMasterBuffer()
3663 (getMasterBuffer): new method. Returns the main document in the
3664 case where one is using included documents.
3666 2004-03-25 André Pönitz <poenitz@gmx.net>
3670 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3672 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3674 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3675 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3677 * ParameterStruct.h: merge with ParagraphParameters
3679 * lyxtext.h: remove LyXText::parOffset() and getPar()
3681 * text3.C: Remove all 'manual' update calls. We do now one per user
3682 interaction which is completely sufficient.
3686 * BufferView_pimpl.C:
3687 * FontIterator.[Ch]:
3689 * ParagraphParameters.[Ch]:
3694 * cursor_slice.[Ch]:
3701 * output_docbook.[Ch]:
3702 * output_latex.[Ch]:
3703 * output_linuxdoc.[Ch]:
3704 * output_plaintext.[Ch]:
3706 * paragraph_funcs.[Ch]:
3707 * paragraph_pimpl.[Ch]:
3715 * frontends/controllers/ControlDocument.C:
3716 * frontends/controllers/ControlErrorList.C:
3717 * frontends/controllers/ControlSpellchecker.C:
3720 * insets/insetbase.h:
3721 * insets/insetbibitem.C:
3722 * insets/insetbox.C:
3723 * insets/insetbranch.C:
3724 * insets/insetcaption.C:
3725 * insets/insetcharstyle.C:
3726 * insets/insetcharstyle.h:
3727 * insets/insetcollapsable.C:
3728 * insets/insetcollapsable.h:
3729 * insets/insetert.C:
3730 * insets/insetfloat.C:
3731 * insets/insetfoot.C:
3732 * insets/insetmarginal.C:
3733 * insets/insetnote.C:
3734 * insets/insetoptarg.C:
3735 * insets/insettabular.C:
3736 * insets/insettext.C:
3737 * insets/insettext.h:
3738 * insets/insetwrap.C:
3739 * mathed/math_mboxinset.C:
3740 * mathed/math_nestinset.C:
3741 * mathed/math_scriptinset.C:
3742 * mathed/math_scriptinset.h:
3745 2004-03-24 Angus Leeming <leeming@lyx.org>
3747 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3748 deal with any child processes that have finished but are waiting to
3749 communicate this fact to the rest of LyX.
3751 2004-03-24 Angus Leeming <leeming@lyx.org>
3753 64-bit compile fixes.
3755 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3756 (c-tor): pass lyx::pos_types rather than ints.
3758 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3761 * text.C (Delete): compile fix.
3762 (getPar): ensure that function declaration is the same as that in
3765 2004-03-23 Angus Leeming <leeming@lyx.org>
3767 * ispell.C (LaunchIspell):
3768 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3769 a boost::shred_ptr rather than a std::auto_ptr.
3771 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3773 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3774 handle LFUN_FILE_INSERT_*
3776 * lyxrc.C (setDefaults, getDescription, output, read):
3777 * lyxrc.h: remove ps_command
3779 2004-03-22 Angus Leeming <leeming@lyx.org>
3781 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3782 Ensure that error_handler is processed once only and that all data
3783 is saved before attempting to output any warning messages.
3785 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3787 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3789 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3791 2004-03-19 André Pönitz <poenitz@gmx.net>
3793 * cursor.[Ch] (reset): take main text inset as argument
3795 * BufferView: adjust
3796 * BufferView_pimpl.C: adjust
3798 * paragraph.[Ch]: fix completely broken operator=()
3800 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3802 * LColor.C (getFromLyXName): make sure that the color name is used
3805 2004-03-17 Angus Leeming <leeming@lyx.org>
3808 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3810 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3811 dialog and to kill a forked process.
3813 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3815 * text2.C (setCursorFromCoordinates): fix font problem
3817 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3819 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3820 bogus "rebuild cursor" code
3822 2004-03-11 André Pönitz <poenitz@gmx.net>
3824 * buffer.[Ch]: use InsetText instead of LyXText as container for
3827 * dociterator.[Ch]: drop the BufferView * member which is not needed
3828 anymore after the change to buffer.C
3830 * paragraph_funcs.C:
3834 * BufferView_pimpl.[Ch]:
3836 * cursor_slice.[Ch]: adjust
3838 * text3.C: fix bug in mathDispatch
3840 2004-03-08 André Pönitz <poenitz@gmx.net>
3842 * undo.[Ch]: use 'StableDocumentIterator' as base for
3845 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3848 * bufferparams.[Ch]: add jurabib support and param.
3850 * LaTeX.C: add FIXME/comment.
3852 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3854 * buffer.C: increment file format to 230.
3856 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3858 * cursor.C (dispatch): avoid infinite loops
3860 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3862 * rowpainter.C (paintSelection): fix x coordinates
3864 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3866 * text.C (rowBreakPoint): fix breaking before displayed insets
3868 2004-03-01 André Pönitz <poenitz@gmx.net>
3870 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3872 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3876 * BufferView_pimpl.C:
3884 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3890 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3891 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3893 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3895 * Bidi.[Ch] (computeTables): const correctness
3896 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3897 fill_hfill, fill_label_hfill and x from Row
3898 * lyxtext.h: prepareToPrint returns a RowMetrics
3899 * rowPainter.C: adjust
3900 * text.C (prepareToPrint): use width, not textWidth. adjust
3901 (redoParagraphInternal, cursorX): adjust
3902 * text2.C (getColumnNearX): adjust
3903 (init): put a default value to the top LyXText::width
3905 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3907 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3909 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3911 * lyxtext.h: add FontIterator class
3913 * text.C (FontIterator, operator*, operator->, operator++): add
3914 (rowBreakPoint, setRowWidth): adjust (fixing a
3917 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3919 * BufferView_pimpl.C (workAreaDispatch): allow also
3920 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3922 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3924 * text.C (rowBreakPoint): fix a bug showing with very large insets
3926 2004-02-25 André Pönitz <poenitz@gmx.net>
3929 * cursor.[Ch]: move some mathed specific code to mathed
3931 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3933 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3934 use_tempdir in preferences
3935 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3937 * lyx_main.C: ensure that tempdir is valid
3938 * lyxlex.h: correct typo
3939 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3940 * paragraph.[Ch] (isMultiLingual): make const
3941 * cursor.[Ch] (openable): make const
3943 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3945 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3947 2004-02-20 André Pönitz <poenitz@gmx.net>
3949 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3951 * cursor.[Ch]: prepare for localized getStatus()
3957 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3959 2004-02-20 André Pönitz <poenitz@gmx.net>
3961 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3963 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3965 * text2.C (setCursorFromCoordinates): switch to absolute coords
3967 (cursorDown): adjust
3968 * text3.C (dispatch): adjust
3970 2004-02-16 André Pönitz <poenitz@gmx.net>
3972 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3975 * cursor_slice.[Ch]: remove unneeded acessor function
3977 * lyxtext.h: rename rtl() to isRTL()
3985 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3987 * rowpainter.C (paintSelection): coord fix
3989 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3991 * Spacing.C: compile fix
3993 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3995 * cursor.C (dispatch): restore current_ before returning
3997 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3999 * text2.C (cursorUp, cursorDown): fix coords
4002 2004-02-12 André Pönitz <poenitz@gmx.net>
4007 * text3.C: add LCursor & parameter to most cursor movement functions
4008 remove usage of LyXText::cursorRow() and cursorPar()
4010 * cursor.[Ch]: add textRow() needed members
4013 * BufferView_pimpl.C:
4016 * BufferView_pimpl.C: adjust
4018 2004-02-11 André Pönitz <poenitz@gmx.net>
4022 * BufferView_pimpl.C: shift undo/redo handling
4024 * cursor.[Ch]: fix mathed crash
4027 * lyxtext.h: move selectionAsText to LCursor
4035 * rowpainter.C: fix excessive drawing
4037 2004-02-06 André Pönitz <poenitz@gmx.net>
4040 * BufferView_pimpl.[Ch]:
4041 * text3.C: move some text specific LFUN handling
4043 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4045 * text3.C (checkInsetHit): adjust coords
4046 * text2.C (getColumnNearX): adjust coords
4047 (edit): adjust coords
4048 * text.C (getRowNearY): add two asserts
4050 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
4053 * format.C: add using std::distance to compile on gcc 2.95/stlport
4055 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
4057 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4059 2004-02-04 André Pönitz <poenitz@gmx.net>
4061 * BufferView.[Ch] (insertInset):
4062 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4067 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4069 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4070 on the default clause of the switch
4071 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4072 wasn't catched by LCursor::dispatch
4074 2004-02-03 André Pönitz <poenitz@gmx.net>
4077 * cursor.[Ch]: some additional asserts
4079 * undo.[Ch]: remove LyXText dependency in interface
4083 * lyxtext.h (firstPar, lastPar): remove dead functions
4088 * paragraph.[Ch]: adjust
4090 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
4092 * lyxfind.C (find): fix argument order in call to ::find
4094 2004-02-02 André Pönitz <poenitz@gmx.net>
4096 * cursor.[Ch]: remove direct access to anchor
4098 * text.C: remove findText() hack
4100 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4102 * iterators.[Ch] (lockPath): remove in favour of...
4103 * BufferView.[Ch] (setCursor): this addition
4104 * BufferView.C (putSelectionAt): adjust
4105 * undo.C (performUndoOrRedo): adjust
4106 * lyxfunc.C (dispatch): adjust
4108 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4110 * iterators.C (lockPath): add a missing slice
4111 * undo.C (performUndoOrRedo): remove redundant positioning code
4113 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4115 * vc-backend.C (scanMaster): ";" -> ';'
4117 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4119 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4120 std::binary_function
4122 * lyxtextclass.C (compare_name): rename to...
4123 (LayoutNamesEqual): ...this
4125 * lyxlex_pimpl.C (compare_tags): inherit from
4126 std::binary_function, put back into anon namespace
4128 * lyxfind.C (MatchString): inherig from std::binary_function
4129 (findChange): use empty() istead of !size()
4131 * format.C (FormatNamesEqual): new functor
4138 * converter.C (compare_Converter): rename to...
4139 (ConverterEqual): ...this, and fixup a bit.
4140 (getConverter): use it, and make function const
4141 (getNumber): use it, and make function const
4145 * bufferlist.C: add using boost::bind
4147 * MenuBackend.C (MenuNamesEqual): new functor
4148 (hasMenu): use it, and make function const
4149 (hasSubmenu): use nested bind to get rid of compare_memfun.
4151 2004-01-30 André Pönitz <poenitz@gmx.net>
4153 * BufferView_pimpl.C:
4156 * cursor_slice.[Ch]:
4159 * paragraph_funcs.C:
4160 * paragraph_funcs.h:
4164 * text3.C: move some of the edit(x,y) handling to the insets
4165 some coordinate changes.
4167 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4169 * text.C: add using statements for std::advance and std::distance
4171 * paragraph.C: add using statement for std::distance
4173 * lyxfind.C: add using statement for std::advance
4175 * cursor.C (region): remove std:: from swap
4176 (openable): use nucleus in stead of operator->
4178 * BufferView.C: add using statements for std::distance and std::swap
4180 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4182 * iterators.C: Remove the pimple, move the needed structures to
4183 the header file. Create accessor for the positions stack.
4184 (asPosIterator): remove function
4186 * PosIterator.C (PosIterator): move constructors to top of file
4187 (PosIterator): reimplement the constructor taking a ParIterator in
4189 (setFrom): new function
4190 (operator!=): inline it
4192 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4194 * lyxfind.C (replaceAll): use std::advance
4196 * iterators.h: inherit from std::iterator.
4198 * PosIterator.C (advance, distance): remove
4199 * PosIterator.h: interit from std::iterator.
4201 2004-01-26 André Pönitz <poenitz@gmx.net>
4204 * BufferView_pimpl.[Ch]:
4208 * bufferview_funcs.C:
4218 * output_linuxdoc.C:
4219 * output_plaintext.C:
4221 * paragraph_funcs.[Ch]:
4222 * paragraph_pimpl.[Ch]:
4228 * text3.C: more IU: dumps most of the rest of the mathcursor
4229 implementation into cursor.[Ch]; "globalize" a bit of it.
4231 2004-01-25 Angus Leeming <leeming@lyx.org>
4233 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4235 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4237 * LaTeXFeatures.h: add nice_ and nice() const
4238 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4240 2004-01-20 André Pönitz <poenitz@gmx.net>
4243 * BufferView_pimpl.C:
4245 * bufferview_funcs.C:
4247 * cursor_slice.[Ch]:
4258 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4259 LCursor and mathcursor parts to LCursor and InsetBase.
4261 2004-01-15 André Pönitz <poenitz@gmx.net>
4263 * cursor_slice.[Ch]: add a few covienience functions
4265 * funcrequest.[Ch]: remove BufferView * member
4267 * BufferView_pimpl.C:
4274 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4276 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4278 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4279 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4281 2004-01-13 André Pönitz <poenitz@gmx.net>
4284 * lyxtext.h: hide cursor and selection anchor behind accessor function
4287 * BufferView_pimpl.[Ch]:
4289 * bufferview_funcs.C:
4299 * cursor_slice.[Ch]: some integer type changes for inset unification
4301 * lyxcursor.[hC]: remove, it's CursorSlice now.
4304 * BufferView_pimpl.[Ch]:
4305 * bufferview_funcs.C:
4311 * textcursor.[Ch]: adjust
4313 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4315 * text2.C (undoSpan): add and use
4316 * text.C (breakParagraph): use undoSpan (fix bug 578)
4319 2004-01-08 Angus Leeming <leeming@lyx.org>
4321 * BufferView_pimpl.C (MenuInsertLyXFile):
4322 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4323 * lyxfunc.C (menuNew, open, doImport):
4324 FileFilterList change to the FileDialog open and save functions.
4326 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4328 * ShareContainer.h: make isEqual and isUnique adaptable
4330 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4332 2004-01-07 Angus Leeming <leeming@lyx.org>
4335 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4337 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4339 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4340 functions replacing find, replace and replaceAll.
4342 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4343 LFUN_WORDFIND(FORWARD|BACKWARD).
4345 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4347 * text.C (breakParagraph): remove an outdated #warning
4349 2004-01-07 André Pönitz <poenitz@gmx.net>
4351 * lyxfind.C: somewhat clearer logic
4353 * text.C: prevent crash in cursorX on unitialized row cache
4355 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4357 * lyxcursor.[Ch] (operator>): add
4358 * textcursor.C (selStart, selEnd): use std::min and std::max
4360 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4362 * Chktex.C: include boost/format.hpp
4364 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4366 * InsetList.C: replace functor MathcIt with adaptable functor
4368 (insetIterator): modify accordingly
4370 * BranchList.h: move the BranchNamesEqual functor here from...
4371 * BranchList.C: ... to here
4373 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4375 (add): replace a finding loop with std::find_if.
4377 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4379 * output_docbook.C: moving LatexParam functionality into
4382 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4384 * buffer.C: increment format to 229.
4386 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4389 * lyx_sty.[Ch]: remove minipageindent_def
4395 * text3.C: remove LFUN_INSET_MINIPAGE
4397 2003-12-28 Angus Leeming <leeming@lyx.org>
4399 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4401 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4403 * text2.C (setParagraph): fix off-by-one crash
4405 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4407 * output_docbook.C: header stuff for AGU
4409 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4411 * text2.C (redoCursor): remove
4414 * BufferView_pimpl.C: remove calls to redoCursor and
4415 setCursor(cursor.par(), cursor.pos()) all around
4417 2003-12-15 Angus Leeming <leeming@lyx.org>
4419 * buffer.C: up the format to 228.
4421 2003-12-15 André Pönitz <poenitz@gmx.net>
4423 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4428 * BufferView_pimpl.C:
4437 2003-12-15 Angus Leeming <leeming@lyx.org>
4439 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4440 than getFromGUIName to manipulate the color.
4442 2003-12-14 Angus Leeming <leeming@lyx.org>
4444 * BranchList.[Ch]: minimize the API.
4445 (Branch::getBranch, getColor): now return a 'const &'.
4446 (Branch::setSelected) now returns a bool set to true if the
4447 selection status changes.
4448 (BranchList::clear, size, getColor, setColor, setSelected,
4449 allBranches, allSelected, separator): removed.
4450 (BranchList::find): new functions, returning the Branch with
4452 (BranchList::add, remove): return a bool indicating that
4453 the operation was successful.
4455 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4456 new InsetBranch::isBranchSlected member function.
4458 * LColor.[Ch]: mimimize the API.
4459 (fill): renamed as addColor and made private.
4460 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4461 versions of these functions taking a string arg have been removed.
4463 * bufferparams.C (readToken):
4464 * lyxfunc.C (dispatch):
4465 * lyxrc.C (read): changes due to the altered BranchList and
4468 * factory.C (createInset, readInset): changes due to altered
4471 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4474 * lyxfunc.C: remove insetminipage. "minipage-insert"
4475 now produces a frameless minipage box inset.
4477 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4479 * textcursor.[Ch] (selStart,selEnd): add new methods
4480 remove selection::start, end, use LyXCursor::operator<
4481 * lyxcursor.[Ch] (operator<): add
4482 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4483 * BufferView.[Ch] (unsetXSel): add
4484 * text2.C (clearSelection): use unsetXSel,adjust
4487 * rowpainter.C: adjust
4488 * bufferview_funcs.C (put_selection_at): adjust
4490 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4492 * BufferView_pimpl.C: small coord. correction
4494 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4496 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4497 dragging over the splash screen.
4499 2003-12-11 Angus Leeming <leeming@lyx.org>
4501 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4502 as it is now handled in LyXText::dispatch.
4504 * text3.C (doInsertInset): remove a level of nesting.
4506 2003-12-11 Angus Leeming <leeming@lyx.org>
4508 * factory.C (createInset): changes due to the changed interface to
4509 InsetCommandMailer::string2params.
4511 2003-12-10 Angus Leeming <leeming@lyx.org>
4513 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4514 'dialog-show-new-inset <inset name>'
4516 2003-12-10 Angus Leeming <leeming@lyx.org>
4518 * buffer.C: up the format to 227.
4520 * factory.C: the box inset is now identified simply by 'Box'.
4522 2003-12-10 Angus Leeming <leeming@lyx.org>
4524 * buffer.C: up the format to 226.
4526 * factory.C: the note inset is now identified simply by 'Note'.
4528 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4530 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4531 when a pit is enough. Standarize a couple of loops.
4533 2003-12-05 Angus Leeming <leeming@lyx.org>
4535 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4536 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4537 data to the re-worked "log" dialog.
4539 2003-12-03 André Pönitz <poenitz@gmx.net>
4545 * paragraph_funcs.C:
4547 * text2.C: use Inset::getText instead of Inset::getParagraph
4549 2003-12-03 André Pönitz <poenitz@gmx.net>
4553 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4554 InsetText::read() as LyXText::read()
4556 2003-12-02 Angus Leeming <leeming@lyx.org>
4558 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4559 type. Add a comment in the implementation that the function uses
4560 the stream's bad() function rather than fail() as the std::streams
4563 2003-12-02 André Pönitz <poenitz@gmx.net>
4565 * lyxlex.[Ch]: make interface more similar to std::stream
4567 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4569 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4571 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4573 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4575 * vspace.[Ch]: remove VSpace::NONE
4577 2003-12-01 André Pönitz <poenitz@gmx.net>
4580 * lyxtext.h: move ParagraphList member to LyXText
4581 rename LyXText::ownerParagraphs to LyXText::paragraph
4584 * bufferview_funcs.C:
4594 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4596 * undo.C: fix cursor positioning
4598 2003-12-01 John Levon <levon@movementarian.org>
4600 * BufferView_pimpl.C: fix a crash on exit with
4603 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4605 * BranchList.C: fix setSelected() method.
4607 2003-11-28 André Pönitz <poenitz@gmx.net>
4609 * ParagraphParameters.[Ch]:
4610 * ParameterStruct.h: remove space above/below from Paragraph to
4613 * BufferView_pimpl.C:
4619 * paragraph_funcs.C:
4625 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4627 * factory.C: Syntax change for CharStyles
4629 2003-11-28 André Pönitz <poenitz@gmx.net>
4634 * buffer.[Ch]: move LyXText member
4636 2003-11-28 André Pönitz <poenitz@gmx.net>
4638 * BufferView.[Ch]: make LyXText * text a private member
4640 * BufferView_pimpl.C:
4651 * output_plaintext.C: cleanup
4653 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4656 * lyxtextclass.[Ch]: parametrize SGML document header
4658 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4661 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4664 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4666 * text2.C (setFont): rework using PosIterator (no more recursive)
4667 (setCharFont): no more needed
4668 (setLayout): no more selection cursors fiddling (done by redoCursor)
4669 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4670 destroy remaining ones)
4672 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4674 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4676 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4679 * text3.C: adjust + re-allow multi par depth changes
4680 * textcursor.C: simplify a bit
4682 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4688 * src/output_docbook.C:
4689 * src/output_latex.C:
4694 * src/text2.C: Introducing a number of tags parametrizing various
4695 XML formats that we may want to support
4697 2003-11-25 André Pönitz <poenitz@gmx.net>
4699 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4701 * lyxtext.h (leftMargin/rightMargin): simplify interface
4708 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4710 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4711 master file to any child files. Fixes bug 546.
4713 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4715 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4717 2003-11-24 André Pönitz <poenitz@gmx.net>
4719 * rowpainter.C: simplification
4721 * text2.C (updateCounters): remove call to redoParagraph on
4722 changed labels as this is far too expensive.
4724 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4726 * converter.C (convert): fix a crash: this function gets
4727 called with buffer == 0 from importer code.
4729 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4731 * text3.C (cursorPrevious): make sure that we do not compare
4732 iterators form different containers.
4735 * rowpainter.C (paintSelection): make sure that we do not compare
4736 iterators from different containers.
4738 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4739 iterators from different ParagraphList containers.
4742 * text2.C (LyXText): change order of initialization slightly
4743 (operator=): new function. copy all variables except cache_par_
4744 (moveUp): make sure that we do not compare iterators from
4745 different ParagraphList constainers.
4748 * text.C (firstPar): new function
4749 (lastPar): new function
4750 (endPar): new function
4752 * lyxtext.h: move things around and group public functions, public
4753 variables, private functions, private variables
4755 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4757 * factory.C: change call to InsetERT constructor to avoid
4758 additional invocation of method status
4759 * text2.C (toggleInset): remove redundant update() call
4760 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4761 instead of a Bufferview pointer
4763 2003-11-21 André Pönitz <poenitz@gmx.net>
4765 * rowpainter.C: simplification
4767 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4769 * text3.C (dispatch): make possible to extend a word/row selection
4772 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4774 * lyxtext.h: x0_,y0_ -> xo_,yo_
4775 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4776 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4777 * rowpainter.C (paintRows): paint full paragraphs
4779 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4781 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4784 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4786 * lyxtext.h: add x0_, y0_
4787 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4788 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4790 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4792 * text2.C (setCursorIntern): move the x_target update here *
4793 * text3.C: change some bv() to true/false in calls to
4794 cursorUp/Down/Right/Left
4795 * cursor.C: use helper function.
4797 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4799 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4800 * paragraph_funcs.[Ch]: correct comment
4801 * rowpainter.C: do not paint selections away from bv->cursor()
4802 Fix a long standing selection painting bug.
4803 * text3.C: generalize mouse-selection code to LyXTexts other that
4805 * textcursor.C: do not use y coords if we can use par offsets
4807 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4809 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4810 cursor position after e.g. inset insert)
4812 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4814 * lyxfind.C (replace): adjust to locking removal + some
4817 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4819 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4822 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4825 * output_docbook.C: XML sanitation: new layout
4826 parameters InnerTag and CommandDepth
4828 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4830 * BufferView_pimpl.C:
4832 * text3.C: Fix the insertion and modification of button-style
4835 2003-11-13 André Pönitz <poenitz@gmx.net>
4837 * InsetList.[Ch]: remove deleteLyXText
4839 * paragraph.[Ch]: cache beginOfBody position
4844 * text3.C: remove superfluous update() calls
4848 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4850 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4851 * BufferView.C (fitLockedInsetCursor): remove
4852 * cursor.[Ch] (getDim): add
4853 * text.C (getRowNearY): add faster version
4854 * text3.C: remove some update calls
4856 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4868 * text3.C: The Character Style /XML short element patch.
4870 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4873 * factory.C: Small step to solving 'unable to insert some insets'
4876 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4878 * cursor.[Ch] (updatePos): new function for updating the y
4879 position of the tip inset
4880 * bufferview_funcs.C (put_selection_at):
4881 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4883 2003-11-11 André Pönitz <poenitz@gmx.net>
4885 * text.C: remove big comment on invalid Paragraph pointers as it is
4888 2003-11-11 André Pönitz <poenitz@gmx.net>
4890 * text_funcs.[Ch]: merge with ...
4898 * Makefile.am: remove text_funcs.[Ch]
4900 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4902 * cursor.C (getPos): return absolute cached y coord
4904 * BufferView_pimpl.C (fitCursor): new simplistic code
4905 (workAreaDispatch): add a fitCursor call
4907 2003-11-10 André Pönitz <poenitz@gmx.net>
4910 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4912 2003-11-10 André Pönitz <poenitz@gmx.net>
4914 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4915 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4916 indicate that the cursor needs to leave an inset
4918 * lyxtext.h: remove inset locking
4920 * cursor.[Ch]: re-implement functionality provided by inset locking
4923 * BufferView_pimpl.[Ch]:
4925 * bufferview_funcs.[Ch]:
4937 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4939 * PosIterator.[Ch]: replace the stack with a vector, add inset
4941 * iterators.[C]: adjust
4943 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4945 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4947 * paragraph_funcs.C (readParToken): put the correct id in the
4948 error item, not the id of the top paragraph
4950 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4952 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4953 * bufferview_funcs.C (put_selection_at): use the above
4955 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4957 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4959 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4961 * output_linuxdoc.h:
4962 * output_plaintext.h:
4964 * output_docbook.h: add #include statements
4966 2003-11-05 José Matos <jamatos@lyx.org>
4968 * output_docbook.[Ch]:
4969 * output_latex.[Ch]:
4970 * output_linuxdoc.[Ch]:
4971 * output_plaintext.[Ch]: New files for output formats.
4972 * output.[Ch]: New file for helper functions.
4975 * paragraph_funcs.[Ch]: output functions moved to new files.
4977 * outputparams.h: rename of latexrunparams.h
4985 * paragraph_funcs.[Ch]:
4986 * paragraph_pimpl.[Ch]:
4987 * tabular.[Ch]: rename ascii to plaintext
4988 and LatexRunParams to OutputParams.
4990 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4992 * iterators.[Ch] (text): require bv argument
4993 * undo.C (recordUndo):
4994 * lyxfunc.C (dispatch):
4995 * bufferview_funcs.C (put_selection_at): adjust
4997 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4999 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5001 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
5003 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5006 2003-11-04 André Pönitz <poenitz@gmx.net>
5008 * cursor.[Ch]: restructure
5011 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5013 * iterators.[Ch] (asCursor): remove
5015 * lfuns.h: remove LFUN_INSET_EDIT
5021 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5023 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5025 * lyxfind.[Ch]: complete overhaul
5026 * BufferView_pimpl.C:
5028 * paragraph.[Ch] (insert): add
5030 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5034 * text.C: remove dead spellcheck code
5036 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5038 * dispatchresult.h: add a val setter
5040 * cursor.C (dispatch): use a tempvar for data_[i]
5042 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5044 * PosIterator.[Ch]: compile fix
5046 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
5048 * text.C (cursorPar): deactivate the cursor cache
5050 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5052 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5054 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5056 * text3.C (dispatch): adjust for new DisptchResult semantics.
5058 * lyxfunc.C (dispatch): handle update when return from
5059 Cursor::dispatch, adjust for new DispatchResult semantics.
5061 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5062 DispatchResult(true) mean to not update. Add class functions for
5063 setting dispatched and update, as well as reading.
5065 * cursor.C (dispatch): don't handle update here
5067 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5069 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5070 * trans_mgr.C: adjust
5072 * paragraph_funcs.C (readParToken): exception safety
5074 * lyxvc.h: store the vcs pointer in a scoped_ptr
5077 * lyxsocket.C (serverCallback): exception safety
5079 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5081 * ispell.C (clone): make it return a auto_ptr
5083 * factory.C (createInset): exception safety
5084 (readInset): exception safety
5086 * bufferlist.C (newBuffer): exception safety
5088 * Thesaurus.C (Thesaurus): use initialization for aik_
5090 * MenuBackend.C (expandToc): exception safety.
5092 2003-11-03 André Pönitz <poenitz@gmx.net>
5096 * bufferview_funcs.C: remove getInsetFromId()
5099 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5105 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5107 * PosIterator.C (distance, advance): new
5108 * bufferview_funcs.[Ch] (put_selection_at): new
5109 * iterators.[Ch] (lockPath): new
5111 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5113 * iterators.[Ch] (asPosIterator): added
5114 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5115 * PosIterator.[Ch]: added
5117 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5121 * cursor.C (dispatch):
5122 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5124 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5125 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5126 contructor, add a class function dispatched. Remove operator>=
5128 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5130 * debug.C: only use the default constructor for debugstream
5133 * main.C (main): include debug.h and setup the lyxerr streambuf
5136 2003-10-31 José Matos <jamatos@lyx.org>
5138 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5140 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5141 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5142 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5143 * paragraph_pimpl.C (simpleTeXSpecialC):
5144 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5145 add LatexRunParams argument.
5147 * exporter.C (Export): change call accordingly.
5149 * latexrunparams.h: add new member to take care of the other backends.
5150 2003-10-30 José Matos <jamatos@lyx.org>
5152 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5153 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5154 factorise code for paragraph output.
5156 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5159 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5161 * text3.C (dispatch):
5162 * lyxfunc.C (dispatch):
5163 * cursor.C (dispatch):
5164 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5166 * dispatchresult.h: make the dispatch_result_t ctor explicit
5168 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5171 * buffer.C: small refactoring of docbook stuff
5173 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5175 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5178 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5180 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5181 operator dispatch_result_t, and operators for == != and >=
5183 * cursor.C (dispatch): adjust for operator dispatch_result_t
5184 removal. comment out call to update
5186 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5188 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5196 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5199 * dispatchresult.h: new file, DispatchResult broken out of
5202 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5204 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5206 * text.C (rowBreakPoint): put a hack inside #if 0
5208 2003-10-28 André Pönitz <poenitz@gmx.net>
5212 * paragraph_funcs.C:
5215 * text2.C: general cleanup (lots of small stuff)
5217 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5219 * text2.C (cursorEnd): simple fix to the "end key goes to one
5220 before the end on last row" bug
5222 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5224 * text.C (backspace): fix the "zombie characters"
5226 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5228 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5230 2003-10-27 André Pönitz <poenitz@gmx.net>
5232 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5234 * factory.C: handle new InsetPagebreak, InsetLine
5236 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5237 and move handling into new InsetPagebreak, InsetLine
5239 * BufferView_pimpl.C:
5241 * ParagraphParameters.C:
5242 * ParameterStruct.h:
5247 * paragraph_funcs.C:
5248 * paragraph_pimpl.C:
5254 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5257 * lyxrow_funcs.[Ch]:
5263 * text3.C: remove lastPos uses in favour of Row::endpos
5265 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5267 * undo.C (performUndoOrRedo): fix two crashes by setting a
5268 cursor by hand and reordering some calls. Use bv->lockInset instead
5269 of inset->edit because the latter loses cursor information
5271 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5273 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5275 (rowBreakPoint): fix width. change point to point + 1.
5276 Add a missing check.
5278 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5281 * lyxfunc.C: fix (at least partly) the problems
5282 with the Nav menu and headers inside branch insets
5285 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5287 * paragraph.C (getChar): add strong asserts
5289 * lyxrow_funcs.C (lastPos): remove hideous hack
5291 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5292 (fill): adjust to that (avoid an infinite loop)
5294 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5296 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5298 2003-10-23 André Pönitz <poenitz@gmx.net>
5300 * RowList_fwd.h: change list<> to vector<> to gain speed
5301 after suggestion from Alfredo
5303 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5305 * lyxtext.h: move the bidi stuff from here...
5308 * Bidi.[Ch]: ... to here
5310 2003-10-23 André Pönitz <poenitz@gmx.net>
5313 * text.C (isLastRow, isFirstRow): new functions
5315 * paragraph.h: new width cache member
5317 * rowpainter.C: replace RowList::iterator with Row & where possible
5319 * lyxfunc.C: replace several view()->text with a single call
5321 * toc.C: fix 'unused' warning
5323 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5325 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5326 when woring with stream::pos_type
5327 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5329 2003-10-22 André Pönitz <poenitz@gmx.net>
5332 * text.C: use Row & instead of RowList::iterator
5334 * lyxrow.h: rename end() to endpos()
5340 2003-10-22 Angus Leeming <leeming@lyx.org>
5342 * buffer.[Ch] (fully_loaded): new member function, returning true
5343 only when the file has been loaded fully.
5344 Used to prevent the premature generation of previews and by the
5345 citation inset to prevent computation of the natbib-style label.
5347 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5348 templates are all set up.
5350 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5352 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5354 * text.C: fixed an "oops" in the "is a bit silly"
5357 2003-10-21 André Pönitz <poenitz@gmx.net>
5359 * FuncStatus.[Ch]: small stuff, whitespace
5361 * lyxfont.[Ch]: operator<<() for debug reasons
5365 * lyxtext.h: whitespace, spelling
5367 * paragraph.C: naming of variables
5370 * text2.C: small stuff
5373 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5375 * text.C: (1) finish off the inset display() work;
5376 (2) fix the "is a bit silly" bug (accessing char
5379 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5381 * text.C: re-introduce display() for insets, fixing the
5382 various bugs (stretch of line above, math inset
5385 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5387 * text.C (rightMargin): remove spurious semicolon
5389 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5392 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5394 * text3.C: fix one crash due to wrong cursor def
5396 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5398 * vc-backend.C (scanMaster): make the regex static
5400 * LaTeX.C (scanAuxFile): make the regexs static
5402 * text3.C (doInsertInset, dispatch, dispatch):
5403 * text2.C (cursorUp, cursorDown):
5404 * text.C (selectNextWordToSpellcheck):
5405 * BufferView_pimpl.C (dispatch):
5406 * lyxfunc.C (dispatch): localDispatch -> dispatch
5408 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5410 * lyxsocket.C: include <cerrno>
5412 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5414 * lyxfunc.C (dispatch): remove textcache stuff
5416 * bufferlist.C (release): remove textcache stuff
5419 * TextCache.C: delete file
5420 * TextCache.h: delete file
5422 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5424 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5425 delete of the bv_->text.
5426 (resizeCurrentBuffer): remove texcache stuff
5427 (workAreaResize): ditto
5429 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5431 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5434 2003-10-16 André Pönitz <poenitz@gmx.net>
5441 * text3.C: speed up by storing y positions per paragraph plus per-row
5442 offset instead of having a 'full' y position in the row.
5444 2003-10-15 André Pönitz <poenitz@gmx.net>
5448 * undo.[Ch]: make undo aware of inner insets
5450 2003-10-14 Angus Leeming <leeming@lyx.org>
5452 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5453 static member functions LyX::ref() and LyX::cref.
5454 (lastfiles): new accessor functions for the new lastfiles_ member var.
5455 (addLyXView, views_): add a new LyXView to the list of views_.
5456 (updateInset): loop over all LyXViews to call their own updateInset
5457 member function, returning a pointer to the Buffer owning the inset.
5459 * BufferView_pimpl.C (loadLyXFile):
5460 * MenuBackend.C (expandLastfiles):
5461 * bufferlist.C (MenuWrite, QuitLyX):
5462 lastfiles is no longer a global variable.
5463 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5465 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5466 static function. Access through LyX::cref().emergencyCleanup().
5468 2003-10-14 André Pönitz <poenitz@gmx.net>
5470 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5472 * undo.[Ch]: restoring part of 'undo in insets'
5475 * undo_funcs.[Ch]: merge with undo.[Ch]
5477 * tabular.C: small cleansing stuff
5479 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5481 * paragraph_funcs.C (readParToken): report unknown insets as error
5482 boxes. Use the outer paragraph as location (also for unknown
5485 * factory.C (readInset): do not abort on reading an unknown inset.
5486 Eat it and return 0.
5488 2003-10-13 Angus Leeming <leeming@lyx.org>
5490 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5492 * lyxrc.C: displayTranslator is now a function,
5493 declared in GraphicsTypes.h.
5495 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5497 * format.C: new placeholder $$a to pass the socket address.
5499 * bufferlist.[Ch]: new function getBufferFromTmp.
5501 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5502 files in the temporary dir.
5504 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5506 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5508 * Makefile.am: add lyxsocket.[Ch].
5510 * lyx_main.C (error_handler): handle SIGPIPE.
5512 2003-10-13 André Pönitz <poenitz@gmx.net>
5514 * BufferView_pimpl.C:
5519 * undo_funcs.[Ch]: use paroffset_type instead of
5520 ParagraphList::iterators to prevent multiple conversion
5521 (and get a more robust interface)
5523 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5525 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5527 * text3.C (dispatch): ditto
5529 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5531 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5532 move the onlyfile, use onlyfile instead of foundfile in a couple
5535 * DepTable.C (update): flush the error stream a bit more
5537 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5539 * lyxserver.C (callback): adjust
5541 * lyxfunc.C (getStatus): add a missing brace in commented code
5542 (ensureBufferClean): reindent
5543 (dispatch): delete version taking a string
5545 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5547 * LaTeX.C (deplog): move found file handlig from here...
5548 (handleFoundFile): .. to new function here.
5549 (deplog): make sure to discover several files mentioned on the
5552 2003-10-10 André Pönitz <poenitz@gmx.net>
5559 * text3.C: fix some of the tabular crashes
5561 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5563 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5565 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5567 2003-10-09 André Pönitz <poenitz@gmx.net>
5569 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5572 * BufferView_pimpl.C:
5573 * bufferview_funcs.C:
5584 * undo_funcs.C: adjust
5586 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5588 * text2.C (incrementItemDepth): new function, use a backtracking
5589 algorithm to discover the correct item depth.
5590 (resetEnumCounterIfNeeded): new function, use a backtracking
5591 algorithm to discover if counter reset is needed.
5592 (setCounter): use them. Simplify a bit. Add different labels for
5593 different item depths for itemize.
5595 * paragraph.C (Paragraph): remove initialization of enumdepth
5598 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5599 enumerate and itemize. Change the type of itemdepth to signed char.
5601 2003-10-08 André Pönitz <poenitz@gmx.net>
5603 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5608 * tabular.[Ch]: fix crash after 'row-insert'
5610 2003-10-08 Angus Leeming <leeming@lyx.org>
5612 Fix doxygen warnings.
5614 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5615 Remove CutAndPaste:: prefix from header file declaration.
5617 * LColor.h (fill): remove LColor:: prefix from declaration.
5619 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5620 use lyx::depth_type rather than Paragraph::depth_type so that
5621 header file and .C file match.
5623 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5625 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5626 * aspell.C: \file aspell_local.C -> \file aspell.C
5627 * gettext.C: \file gettext.C -> \file src/gettext.C
5628 * gettext.h: \file gettext.h -> \file src/gettext.h
5629 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5630 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5631 * text.C: \file text.C -> \file src/text.C
5633 * toc.C: move comment so that doxygen is not confused.
5635 2003-10-07 Angus Leeming <leeming@lyx.org>
5637 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5639 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5642 * aspell_local.h: add forgotten std::string's.
5644 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5651 * text3.C: The Box patch. Fancybox support, minipage, parbox
5653 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5659 * ParagraphParameters.h:
5669 * lyxtextclasslist.h:
5672 * paragraph_pimpl.C:
5673 * textcursor.h: add <string> and other small fixes to make Lars'
5674 std::string patch compile with STLport.
5676 2003-10-06 Angus Leeming <leeming@lyx.org>
5678 * LColor.h: Add missing #include <string>.
5680 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5682 * All most all file in all subdirs: Make <string> be the prefered
5683 way of getting to std::string, add using declarations.
5685 2003-10-06 André Pönitz <poenitz@gmx.net>
5687 * metricsinfo.C: initialize LyXFont before changing attribute.
5688 (fixes the 'math in \emph is upright' bug)
5690 2003-10-06 André Pönitz <poenitz@gmx.net>
5692 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5694 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5697 * paragraph_pimpl.C: Small fixes to build using STLport
5699 2003-10-02 André Pönitz <poenitz@gmx.net>
5702 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5704 2003-10-01 André Pönitz <poenitz@gmx.net>
5706 * factory.C: assert early
5708 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5710 * lyx_main.C: remove the global debug object
5712 * debug.h: adjust for new debugstream
5714 * debug.C: adjust for new debugstream and keep the global debug
5717 2003-09-22 Angus Leeming <leeming@lyx.org>
5719 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5720 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5721 an incomplete class LyXFont.
5723 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5725 * factory.C: bug fix in branches
5727 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5729 * lyxfunc.C (processKeySym): adjust
5731 (dispatch): change arg name from ev to func, adjust
5732 (sendDispatchMessage): ditto
5734 * lyx_main.C (defaultKeyBindings): adjust keybindings
5735 (deadKeyBindings): ditto
5737 * kbsequence.C (addkey): return a FuncRequest
5739 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5741 * kbmap.C (bind): take a FuncRequest as arg, adjust
5744 (defkey): change to take a FuncRequest as arg, adjust
5745 (findbinding): take a FuncRequest as arg, adjust.
5747 * funcrequest.h (operator=): added
5749 * funcrequest.C (FuncRequest): default kb_action changed from
5750 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5752 * buffer.C (dispatch): simplify
5753 (dispatch): adjust to take a FuncRequest as arg, adjust
5755 * boost.C (assertion_failed): change assertion message slightly
5757 * ToolbarBackend.C (read): simplify
5759 * MenuBackend.C (binding): adjust call to findbinding, add a
5760 message if no binding is found.
5762 (expandToc): correct by adding a empty FuncRequest
5764 * LyXAction.C: include <boost/assert.hpp>
5765 (isPseudoAction): delete function
5766 (LookupFunc): change name to...
5767 (lookupFunc): this. change return type to FuncRequest.
5768 (getActionName): take kb_action as arg, simplify
5769 (funcHasFlag): add an assert, simplify.
5771 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5773 * toc.C (action): return a FuncRequest, simplify
5775 * lyxfunc.C (processKeySym): adjust
5776 (getStatus): delete version that takes an int.
5778 (dispatch): delete version that takes action as int
5780 (sendDispatchMessage): simplify and adjust
5782 * funcrequest.C (getArg): take unsigned int as arg
5784 * ToolbarBackend.C (read): adjust
5785 (add): delete version that takes func as a string.
5786 (getIton): take a FuncRequest as arg
5788 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5791 * MenuBackend.C (MenuItem): add a new construct that only takes a
5792 Kind, simplify the constructor use for submenus.
5794 (expandLastfiles): adjust
5795 (expandDocuments): adjust
5796 (expandFormats): adjust
5797 (expandFloatListInsert): adjust
5798 (expandFloatInsert): adjust
5799 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5801 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5802 Remove class variables lyx_pseudo_map and lyx_arg_map
5804 * LyXAction.C (searchActionArg): delete function
5805 (getPseudoAction): delete function
5806 (retrieveActionArg): delete function
5807 (LookupFunc): make it return kb_action, simplify.
5808 (getActionName): simplify
5810 * factory.C (createInset): fix new bug
5812 2003-09-19 Angus Leeming <leeming@lyx.org>
5814 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5815 masterFilename_ parameter in the include inset.
5817 * factory.C (createInset): changes due to the changes to InsetInclude.
5819 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5821 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5823 2003-09-18 Angus Leeming <leeming@lyx.org>
5826 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5827 Inset::fillWithBibKeys.
5828 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5830 2003-09-18 Angus Leeming <leeming@lyx.org>
5832 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5834 (ctor): pass and store a 'Buffer const &'
5835 (buffer): new member function.
5837 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5838 '*this' to the LaTeXFeatures ctor.
5840 2003-09-18 Angus Leeming <leeming@lyx.org>
5846 * text.C: rename EnumLColor as LColor_color.
5848 2003-09-18 Angus Leeming <leeming@lyx.org>
5850 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5851 remove #include "insets/insetbase.h" from cursor.h.
5853 2003-09-18 Angus Leeming <leeming@lyx.org>
5855 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5856 InsetOld_code to remove #include "inset.h".
5858 * iterators.C: add #include "insets/inset.h"
5860 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5862 * BufferView.C: remove more locking stuff that apparently doesn't
5863 do anything sensible.
5865 2003-09-16 André Pönitz <poenitz@gmx.net>
5868 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5871 2003-09-16 Angus Leeming <leeming@lyx.org>
5873 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5875 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5878 * paragraph.h: remove #include "lyxfont.h". Forward declare
5881 2003-09-16 Angus Leeming <leeming@lyx.org>
5883 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5884 of support/textutils.h.
5885 (isWord): move the contents of support/textutils.h's IsWordChar here.
5891 * text2.C: add #include "paragraph.h".
5894 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5896 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5902 * LaTeX.C: use namespace alias for lyx::support::os
5904 2003-09-16 Angus Leeming <leeming@lyx.org>
5907 * bufferview_funcs.C:
5910 * paragraph_pimpl.C:
5912 * text.C: add #include "LColor.h".
5914 2003-09-16 Angus Leeming <leeming@lyx.org>
5916 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5917 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5919 Store the FontBits::color variable as an int rather than as an
5920 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5923 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5924 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5925 string calls together.
5927 * lyxrc.C: add #include "LColor.h".
5929 2003-09-15 Angus Leeming <leeming@lyx.org>
5931 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5934 2003-09-15 Angus Leeming <leeming@lyx.org>
5936 * LColor.h: add an EnumLColor wrapper for LColor::color.
5938 * lyxfont.[Ch] (color, setColor, realColor):
5939 * lyxtext.h, text.C (backgroundColor):
5940 pass EnumLColor args to/from the functions, rather than LColor::color
5944 * lyxtext.h: forward declare EnumLColor.
5946 * lyx_main.C: add #include "LColor.h".
5948 2003-09-15 Angus Leeming <leeming@lyx.org>
5950 * .cvsignore: add lyx-gtk.
5952 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5957 * ParagraphParameters.C
5961 * bufferview_funcs.C
5971 * vc-backend.C: remove usage of STRCONV
5973 2003-09-15 Angus Leeming <leeming@lyx.org>
5975 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5976 explicitly define the color passed to the painter.
5978 2003-09-15 Angus Leeming <leeming@lyx.org>
5980 * bufferparams.C (BufferParams): reorder member initializers to avoid
5983 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5985 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5986 * text.C (updateRowPositions): remove an unusual nop
5988 2003-09-12 André Pönitz <poenitz@gmx.net>
5990 * BufferView_pimpl.C:
5999 * Counters.[Ch]: finish the 'automatic counters' job
6001 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6003 * aspell.C: include <boost/assert.cpp> (compile fix)
6005 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
6007 * boost.C (assertion_failed): use lyx::support::abort instead of
6010 2003-09-10 Angus Leeming <leeming@lyx.org>
6012 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6013 with their _fwd progeny.
6015 2003-09-09 Angus Leeming <leeming@lyx.org>
6017 134 files throughtout the source tree: replace 'using namespace abc;'
6018 directives with the appropriate 'using abc::xyz;' declarations.
6020 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
6022 * boost.C (emergencyCleanup): moved here from LAssert.c
6023 (assertion_failed): new function, called by BOOST_ASSERT
6025 * several files: change Assert to BOOST_ASSERT
6027 2003-09-09 Angus Leeming <leeming@lyx.org>
6029 * buffer.[Ch]: Add an Impl class and move Buffer's member
6030 variables into it. As a result move several header files out of
6033 Add header files to lots of .C files all over the tree as a result.
6035 2003-09-09 Angus Leeming <leeming@lyx.org>
6037 * buffer.[Ch]: make Buffer's member variables private. Add
6040 Lots of changes all over the tree as a result.
6042 2003-09-08 Angus Leeming <leeming@lyx.org>
6044 * graph.C: #include <config.h>.
6046 2003-09-08 Angus Leeming <leeming@lyx.org>
6050 * BufferView_pimpl.C:
6079 * toc.C: remove redundant using directives.
6081 2003-09-07 Angus Leeming <leeming@lyx.org>
6083 * LaTeXFeatures.h: remove #include "support/types.h".
6084 * ToolbarBackend.h: remove #include <algorithm>.
6085 * changes.h: remove #include <ctime>.
6086 * debug.h: remove #include <iosfwd>.
6087 * graph.h: remove #include "support/std_string.h".
6088 * lyx_main.h: remove #include <csignal>.
6089 * lyxlex_pimpl.h: remove #include <fstream>.
6090 * sgml.h: remove #include <algorithm>, <utility>.
6091 * toc.h: remove #include "support/std_ostream.h".
6092 Add #include <iosfwd>.
6094 2003-09-07 Angus Leeming <leeming@lyx.org>
6096 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6098 * converter.h: forward declare LatexRunParams.
6099 * encoding.h: remove #include "lyxrc.h".
6100 * lyxtext.h: remove #include "LColor.h".
6101 * lyxtextclass.h: remove #include "support/types.h".
6102 * trans.h: remove #include "tex-accent.h".
6103 * trans_mgr.h: remove #include "tex-accent.h".
6104 * insets/inset.h: remove #include "support/types.h", <vector>.
6105 * insets/insetcollapsable.h: remove #include "LColor.h".
6106 * insets/insetinclude.h: remove #include "dimension.h".
6107 * insets/insetlatexaccent.h: remove #include "dimension.h".
6108 * insets/insetoptarg.h:: remove #include "insettext.h".
6109 * insets/insettext.h: remove #include "dimension.h",
6110 <boost/shared_ptr.hpp>
6112 * insets/renderers.h: add #include "dimension.h".
6113 * insets/updatableinset.h: add #include "support/types.h".
6115 * many .C files: Associated changes.
6117 2003-09-06 Angus Leeming <leeming@lyx.org>
6119 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6120 one, inside testInvariant.
6122 * PrinterParams.C: new file.
6123 * PrinterParams.[Ch]: move the function bodies out of line.
6125 2003-09-06 Angus Leeming <leeming@lyx.org>
6127 * ParagraphParameters.h: forward declare ParameterStruct rather than
6128 including its header file.
6129 (depth): moved out-of-line.
6131 2003-09-06 Angus Leeming <leeming@lyx.org>
6133 * BufferView_pimpl.h:
6136 * lyxfunc.h: forward declare LyXKeySym rather than
6137 #include "frontends/LyXKeySym.h".
6139 * BufferView_pimpl.C:
6142 * lyxfunc.C: associated changes.
6144 2003-09-06 Angus Leeming <leeming@lyx.org>
6146 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6147 As a result, can remove the #include "insets/inset.h" from BufferView.h
6149 2003-09-06 Angus Leeming <leeming@lyx.org>
6151 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6152 As a result, can remove the #include "insets/inset.h" from BufferView.h
6154 2003-09-06 Angus Leeming <leeming@lyx.org>
6160 * bufferview_funcs.C:
6161 * BufferView_pimpl.C:
6166 * ParagraphParameters.C:
6171 * frontends/controllers/ControlDocument.C:
6172 * insets/insetcaption.C: rearrange the #includes into some sort of
6175 * buffer.h: remove #includes ErrorList.h, undo.h
6177 2003-09-06 Angus Leeming <leeming@lyx.org>
6179 * support/types.h: add a 'depth_type' typedef, used to store the
6180 nesting depth of a paragraph.
6183 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6184 defining explicitly.
6187 * paragraph_funcs.h:
6188 * ParagraphParameters.h:
6189 * sgml.h: use lyx::depth_type rather than Paragraph or
6190 ParameterStruct's depth_type.
6193 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6196 * BufferView_pimpl.C:
6198 * ParagraphParameters.C:
6201 * bufferview_funcs.C:
6208 * frontends/LyXView.C:
6209 * frontends/controllers/ControlDocument.C:
6210 * frontends/controllers/ControlErrorList.C:
6211 * insets/insetbibitem.C:
6212 * insets/insetbranch.C:
6213 * insets/insetcaption.C:
6214 * insets/insetcollapsable.C:
6215 * insets/insetenv.C:
6216 * insets/insetert.C:
6217 * insets/insetfloat.C:
6218 * insets/insetfoot.C:
6219 * insets/insetfootlike.C:
6220 * insets/insetnewline.C:
6221 * insets/insetquotes.C:
6222 * insets/insettabular.C:
6223 * insets/insettext.C:
6224 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6226 * frontends/controllers/ControlChanges.C: #include "changes.h".
6228 2003-09-06 Angus Leeming <leeming@lyx.org>
6230 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6231 than #including paragraph.h.
6234 * RowList.h: deleted. Superfluous.
6244 * insets/insettext.h: use ParagraphList_fwd.h rather than
6247 * paragraph.h: don't forward declare ParagraphList.
6250 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6251 rather than ParagraphList.h. paragraph.h is still needed for the
6252 Paragraph::depth_type parameters.
6254 * textcursor.h: enable it to compile stand-alone in light of the
6257 * bufferview_funcs.C:
6269 * frontends/controllers/ControlParagraph.C:
6270 * frontends/controllers/ControlTabular.C:
6271 * insets/insetmarginal.C:
6272 * insets/insetminipage.C:
6273 * insets/insetnote.C:
6274 * insets/insetoptarg.C: add header files needed to compile again.
6276 2003-09-06 Angus Leeming <leeming@lyx.org>
6278 * RowList_fwd.h: new file, forward-declaring Row rather than
6279 #including lyxrow.h.
6284 * insets/insettext.h: use it instead of RowList.h
6286 * bufferview_funcs.C:
6293 * text3.C: #include "RowList.h".
6295 2003-09-05 Angus Leeming <leeming@lyx.org>
6297 * factory.C (createInset):
6298 * vspace.C (c-tor): replace sscanf call with an istringstream.
6299 * ispell.C: re-add missing HP/UX headers.
6300 * lyxserver.C: re-add missing os2 headers.
6302 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6311 * text3.C: re-add missing system headers, needed for 2.95.2.
6313 2003-09-05 Angus Leeming <leeming@lyx.org>
6315 Changes most place everywhere due to the removal of using directives
6316 from support/std_sstream.h.
6318 2003-09-05 Angus Leeming <leeming@lyx.org>
6320 Replace LString.h with support/std_string.h,
6321 Lsstream.h with support/std_sstream.h,
6322 support/LIstream.h with support/std_istream.h,
6323 support/LOstream.h with support/std_ostream.h.
6325 Changes resulting throughout the tree.
6327 2003-09-05 Angus Leeming <leeming@lyx.org>
6329 * sgml.h: ensure that the header file can be compiled stand-alone.
6330 * *.C: strip out redundant #includes. (320 in total.)
6332 2003-09-04 Angus Leeming <leeming@lyx.org>
6334 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6335 here (from getPackages).
6337 * debug.[Ch]: add a new EXTERNAL tag.
6339 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6341 * text2.C (cursorEnd): simplify
6343 (getColumnNearX): adjust
6345 * text.C (computeBidiTables): adjust
6348 * rowpainter.C (paintChars): adjust
6349 (paintSelection): adjust
6350 (paintChangeBar): adjust
6353 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6355 (numberOfSeparators): adjust
6357 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6363 * text3.C: Restricts the mouse click functionality
6364 of insets like bibtex, include, toc and floatlist to the visible
6365 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6366 up the dialogs. Cursor has to be in front of the inset (i.e.
6367 start of row) for this to function.
6369 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6371 * bufferview_funcs.C (currentState): output row information
6373 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6375 * bufferview_funcs.C (currentState): output paragraph position
6377 2003-09-04 Angus Leeming <leeming@lyx.org>
6379 * FloatList.h: move out #include "Floating.h".
6380 * LaTeX.h: move out #include "DepTable.h".
6381 * LyXAction.h: move out #include "funcrequest.h".
6382 * buffer.h: move out #include "author.h", "iterators.h".
6383 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6384 * lyx_main.h: move out #include "errorlist.h".
6385 * lyxfunc.h: move out #include "FuncStatus.h".
6386 * lyxtext: move out #include "lyxcursor.h".
6387 * paragraph_pimpl.h: move out #include "counters.h".
6389 2003-09-03 Angus Leeming <leeming@lyx.org>
6391 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6392 preamble_snippets list, enabling us to add snippets to the preamble
6393 only if the snippet was not there already.
6395 2003-09-04 Angus Leeming <leeming@lyx.org>
6397 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6399 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6401 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6404 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6406 * BranchList.C: point fix, earlier forgotten
6408 2003-09-02 Angus Leeming <leeming@lyx.org>
6410 * box.C (contains): renamed from 'contained' after a fantastic
6413 2003-09-02 John Levon <levon@movementarian.org>
6419 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6421 2003-09-02 John Levon <levon@movementarian.org>
6423 * text2.C: simplification of cursorEnd(), including partial
6426 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6428 * buffer.C (readFile): add a space
6430 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6432 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6434 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6436 * buffer.C (readFile): new function, take a filename and a
6437 ParagraphList::iterator
6439 (readFile): adjust, make it private. don't use setStream, make
6440 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6441 always contain the filename.
6443 * BufferView.C (insertLyXFile): simplify and make it work for
6446 2003-08-30 John Levon <levon@movementarian.org>
6448 * Makefile.am: fix dist (from Kayvan)
6450 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6452 * most files: change to use const Buffer refs
6454 2003-08-27 André Pönitz <poenitz@gmx.net>
6456 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6457 on top of ownerPar().
6459 2003-08-27 John Levon <levon@movementarian.org>
6461 * funcrequest.C: properly initialise POD members
6463 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6465 * lyxtext.h (top_y): move top_y from here
6470 * BufferView_pimpl.[Ch]: to here
6471 * frontends/screen.C:
6472 * insets/insettabular.C:
6473 * insets/insettext.C: adjust
6474 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6476 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6479 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6481 2003-08-26 André Pönitz <poenitz@gmx.net>
6483 * paragraph_func.[Ch] (outerPar): new function
6486 * paragraph_funcs.C:
6487 * paragraph_funcs.h:
6488 * paragraph_pimpl.C:
6489 * text2.C: remove Inset::par_owner
6491 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6496 * text2.C: eliminates the needFullRow/display() stuff
6497 altogether, putting the logic in metrics/draw in the insets.
6499 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6501 * text2.C (redoParagraphInternal, redoParagraphs):
6502 * text.C (redoParagraph): add a call to updateRowPositions at the
6503 end of each 'metrics-like' call. Remove all others.
6504 (getRow): remove the 'y-computing' version.
6505 (getRowNearY): do not compute nor return the real y. Solve the
6506 'y < 0' problem and simplify.
6508 2003-08-22 Angus Leeming <leeming@lyx.org>
6510 * *.[Ch]: clean-up of licence and author blurbs.
6511 Also move config.h out of a few .h files and into a few .C files.
6513 2003-08-22 André Pönitz <poenitz@gmx.net>
6515 * lyxrow.[Ch]: add x_ and *fill_ members
6520 * text2.C: adjust/remove prepareToPrint() calls
6522 2003-08-22 André Pönitz <poenitz@gmx.net>
6524 * lyxrow.[Ch]: add end_ member
6526 * lyxrow_funcs.C: use LyXRow::end_
6528 * lyxtext.h (singleWidth): add LyXFont parameter
6531 * text2.C: adjust LyXText::singleWidth() calls
6533 * text.C (redoParagraph): simplify row breaking logic
6536 2003-08-19 André Pönitz <poenitz@gmx.net>
6538 * funcrequest.C: initialize button_ member
6541 * rowpainter.[Ch]: interface consolidation
6543 2003-08-18 André Pönitz <poenitz@gmx.net>
6546 * BufferView_pimpl.C:
6548 * paragraph_funcs.C:
6550 * text3.C: remove LyXScreen::draw() and fitCursor calls
6552 * BranchList.h: remove spurious semicolons
6554 * MenuBackend.C: fix branchlist related crash
6556 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6564 * bufferparams.[Ch]:
6568 * text3.C: implements the 'branch inset'
6569 idea. This allows the output of various versions of a document
6570 from a single source version, selectively outputing or suppressing
6571 output of parts of the text.
6572 This implementation contains a 'branch list editor' in a separate
6573 tab of the document settings dialog. Branches are user definable
6574 and have a "display colour" to distinguish them on-screen.
6576 ColorHandler was somewhat cleaned up.
6577 (1) make possible a dynamically growing LColor list by allowing
6578 the graphic context cache to grow along (vector);
6579 (2) eliminate an IMHO unnecessary step in colour allocation.
6581 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6583 * BufferView_pimpl.C: compile fix
6585 2003-08-15 André Pönitz <poenitz@gmx.net>
6587 * rowpainter.C: remove extra metrics calls
6589 * lyxtext.h: merge the two constructors into a single one,
6590 pass reference to owner's par list
6592 * BufferView_pimpl.C:
6596 2003-08-15 André Pönitz <poenitz@gmx.net>
6598 * lyxrow_funcs.[Ch]:
6601 * paragraph_funcs.C:
6606 * text_funcs.C: split LyXText::rowlist_ into individual
6607 Paragraph::rows_ chunks
6610 * BufferView_pimpl.[Ch]:
6613 * text3.C: remove toggleSelection()
6615 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6617 * bufferlist.C: beautify two alerts (shorter text of buttons)
6618 * buffer.C: Remove redundant ' ' from message
6620 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6621 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6622 rename VALIGN_CENTER to VALIGN_MIDDLE
6624 2003-08-11 André Pönitz <poenitz@gmx.net>
6626 * lyxtext.h (getPar):
6627 * text.C: new function
6629 2003-08-11 André Pönitz <poenitz@gmx.net>
6632 * tracer.[Ch]: remove unneeded files
6634 * InsetList.[Ch]: remove resizeInsetsLyXText()
6639 * text3.C: merge insertParagraphs() and appendParagraph()
6640 remove breakAgain(), update()
6642 * BufferView_pimpl.[Ch]:
6643 * bufferview_funcs.[Ch]:
6647 * tabular.C: adjust after text & InsetList changes.
6649 2003-08-08 André Pönitz <poenitz@gmx.net>
6651 * text.C (insertChar, backspace): replace rowlist fiddling
6652 with rebreak of full par
6655 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6656 checkParagraph, updateInset): removed
6658 2003-08-07 André Pönitz <poenitz@gmx.net>
6661 * text3.C: merge some LFUN handlers, remove dead code
6663 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6665 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6667 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6669 * text2.C (DEPM): fix part of bug 1255 and 1256
6671 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6673 * BufferView_pimpl.C (workAreaDispatch): change to use
6674 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6675 that are no mouse related.
6677 2003-08-05 André Pönitz <poenitz@gmx.net>
6680 * BufferView_pimpl.[Ch]:
6681 * bufferview_funcs.C:
6683 * text3.C: rip out "deep update"
6685 * textcursor.[Ch] (last_sel_cursor): remove unused member
6687 2003-08-04 André Pönitz <poenitz@gmx.net>
6690 * BufferView_pimpl.[Ch]:
6691 * ParagraphParameters.C:
6692 * bufferview_funcs.C:
6698 * text3.C: replace "complicated" BufferView::update(...) calls with
6701 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6703 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6705 * Makefile.am (lyx_SOURCES): add paper.h
6707 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6709 * Makefile.am: move things around so that both lyx-qt and
6710 lyx-xforms can be built (according to --with-frontend). Then lyx
6711 is a symbolic link to lyx-[firstfrontend]
6713 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6715 * Always use std::endl with lyxerr
6717 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6719 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6721 2003-08-01 André Pönitz <poenitz@gmx.net>
6724 * BufferView_pimpl.[Ch]:
6726 * text3.C: merge BufferView::repaint() and BufferView::update()
6728 2003-08-01 José Matos <jamatos@lyx.org>
6730 * buffer.[Ch]: file_format is no longer a buffer data element.
6732 2003-08-01 André Pönitz <poenitz@gmx.net>
6737 * text2.C: make redoParagraph more independent of current cursor
6739 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6741 * text2.C: remove unneeded members
6743 2003-07-30 André Pönitz <poenitz@gmx.net>
6745 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6747 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6748 create a single function...
6750 * paragraph_funcs.C (moveItem): ... here.
6753 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6755 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6757 * LColor.[Ch]: Add comment and greyedout logical colors.
6759 2003-07-30 André Pönitz <poenitz@gmx.net>
6761 * tabular.C: don't use Assert too heavily. This crashes where it
6764 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6766 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6767 is disabled (bug 1232)
6769 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6771 * factory.C: limited 'arg' scope
6773 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6775 * factory.C: fixed Note submenu issues
6777 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6779 * factory.C: submenu for Note/Comment/Greyedout
6781 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6784 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6786 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6789 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6790 greyedout. Patch provided by Jürgen Spitzmüller.
6792 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6794 * kbmap.C (read): fix error message when reading bind files
6796 2003-07-29 Angus Leeming <leeming@lyx.org>
6798 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6799 certainly does not do what it purports to do. I am doing it, and
6800 us, a favour by killing it.
6802 2003-07-28 José Matos <jamatos@lyx.org>
6804 * buffer.C (readBody, do_writeFile):
6805 * paragraph.C(readParagraph): \end_document replaces \the_end.
6807 2003-07-29 André Pönitz <poenitz@gmx.net>
6810 * BufferView_pimpl.[Ch]:
6814 * textcursor.[Ch]: remove toggleToggle & Co
6816 2003-07-28 José Matos <jamatos@fep.up.pt>
6818 * buffer.C (readParagraph):
6819 * params_func (readParToken, readParagraph):
6820 * paragraph.C (write): \layout -> \begin_layout.
6822 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6824 * lyxlex_pimpl.C (setFile): clean up slightly.
6826 * bufferparams.h: add compressed var
6828 * buffer_funcs.C (readFile): adjust for LyXLex change
6829 (newFile): ditto + simplify
6831 * buffer.C (writeFile): handle writing of compressed files
6833 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6834 Check if the file is compressed and set a bufferparm if so.
6836 * Makefile.am (lyx_LDADD): remove explicit -lz
6838 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6840 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6841 makeDocBookFile): put the real LyX version in the first line of
6845 * version.C.in: remove lyx_docversion
6847 * tabular.C (write_attribute): add a template-based version to
6848 write enums properly
6850 2003-07-28 André Pönitz <poenitz@gmx.net>
6855 * text3.C: use doubles again for x-coordinates. They are needed.
6857 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6859 * messages.C (getLocaleDir): use lyx_localedir()
6861 * lyxlex_pimpl.C (setFile): compress stuff
6863 * buffer.C (writeFile): add some compression stuff
6864 (do_writeFile): new func, dont call expliti close... will this
6867 * Makefile.am (lyx_LDADD): add -lz
6869 2003-07-28 José Matos <jamatos@fep.up.pt>
6871 * buffer.C: increment file format.
6872 * paragraph_funcs (readParagraph, readParToken):
6873 * paragraph.C (readParagraph): add \end_layout.
6875 2003-07-27 Angus Leeming <leeming@lyx.org>
6877 * Makefile.am: remove special casing for configure-time setting of
6878 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6880 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6881 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6883 2003-07-26 André Pönitz <poenitz@gmx.net>
6885 * paragraph_func.[Ch]:
6886 * paragraph.C (realizeFont): inline it whereever it is used
6891 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6894 2003-07-26 André Pönitz <poenitz@gmx.net>
6898 * text2.C: get rid of LyXText::need_break_row
6900 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6902 * toc.[Ch]: put namespace toc inside namespace lyx
6904 * MenuBackend.C (expandToc2): adjust for lyx::toc
6907 * lyxfunc.C (dispatch): adjust for lyx::find
6909 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6910 lyx::find instead. Reorganize a bit.
6911 (LyXReplace): rename to replace
6912 (LyXFind): rename to find
6914 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6917 2003-07-26 André Pönitz <poenitz@gmx.net>
6919 * text.C (setHeightOfRow): restrict scope of temporary variable
6921 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6922 code (never has been used?)
6924 2003-07-27 Asger Alstrup <alstrup@local>
6926 * text.C (fill): Optimise algorithm to exploit that we can reuse
6927 the LyXFont for many characters.
6928 (setHeightOfRow): Same thing.
6929 (rowBreakPoint): Same thing.
6931 2003-07-26 Asger Alstrup <alstrup@local>
6933 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6935 * text.C (singleWidth): Spurious font copying in hot-spot
6936 singleWidth avoided. Reorder tests for arabic for efficiency.
6938 * text.C (fill): handle empty paragraphs better.
6940 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6943 * encoding.h: add includes
6945 * lyxrc.C: remove reading of bind files
6947 * lyx_main.C (init): setup bindings and menus only if we have a
6950 * kbmap.C (read): new method. Do the actual reading of bind
6953 * converter.C (dvipdfm_options):
6956 (output): adapt PAPER_* enums.
6958 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6960 * bufferparams.h: remove paper-related enums from there
6962 * paper.h: New file. A trivial header file to hold paper-related
6963 enums. It should later expand to contain many paper-related
6966 * lyxrc.C: declare extern displayTranslator
6968 2003-07-27 José Matos <jamatos@fep.up.pt>
6970 * tabular.[Ch] (linuxdoc): add support for tables and figures
6973 2003-07-27 José Matos <jamatos@fep.up.pt>
6975 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6976 consistency in both functions.
6977 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6979 2003-07-26 Asger Alstrup <alstrup@local>
6981 * rowpainter.C (paintRows): Change algorithm to work directly on
6982 the insets rather than asking every character in the document
6983 whether its an inset.
6985 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6987 * buffer.C (openFileWrite): factorize some code
6989 2003-07-26 Angus Leeming <leeming@lyx.org>
6992 * lyx_main.[Ch]: replace occurances of system_tempdir with
6995 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6997 * rename Inset to InsetOld
6999 2003-07-25 Asger Alstrup <alstrup@diku.dk>
7001 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7002 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7003 which I think is a bit clearer. EDIT is gone, since it was
7004 premature optimisation, and broken for mathed anyway.
7005 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7006 with cursor positioning in insets as well (math insets still do not
7007 work, but that's a different story anyway.) It mysteriously
7008 crashes sometimes with undo in the first paragraph, but I'm fairly
7009 confident that this is a compiler bug.
7011 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7013 * paragraph.C (Paragraph): adjust for new clone return type
7015 (copyIntoMinibuffer): ditto
7017 2003-07-25 Asger Alstrup <alstrup@lyx.org>
7019 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7020 by not having a special case, and always doing a full rebreak of
7021 the document after undo.
7023 2003-07-23 Angus Leeming <leeming@lyx.org>
7025 * factory.C (createInset): InsetExternal::setParams now takes a
7028 2003-07-23 Angus Leeming <leeming@lyx.org>
7030 * factory.C (createInset): changed interface to the external and
7031 graphics mailers' string2params functions.
7033 2003-07-23 Angus Leeming <leeming@lyx.org>
7035 * factory.C (createInset): pass a
7036 Buffer const * parameter to InsetExternalMailer's string2params.
7038 2003-07-22 John Levon <levon@movementarian.org>
7040 * Thesaurus.h: include the right aiksaurus header
7042 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7044 * MenuBackend.C (expand): check menu shortcuts unconditionally
7046 2003-07-21 Angus Leeming <leeming@lyx.org>
7048 * factory.C (createInset): pass a
7049 buffer_path parameter to InsetGraphicsMailer's string2params.
7051 2003-07-21 Angus Leeming <leeming@lyx.org>
7053 * BufferView_pimpl.C (buffer):
7056 * lyxfunc.C (dispatch):
7057 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7058 rather than the grfx shortcut.
7060 2003-07-21 André Pönitz <poenitz@gmx.net>
7062 * rowpainter.C: remove unused variables
7065 * tabular_funcs.h: move to tabular.C
7066 * Makefile.am: adjust
7068 * tabular.[Ch]: basic optical cleaning
7070 * author.h: pass references, not values
7072 2003-07-18 André Pönitz <poenitz@gmx.net>
7080 * text3.C: two-phase drawing for InsetText and InsetTabular
7081 some float -> int changes.
7083 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7085 * lyx_main.C: fix the fix
7087 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
7089 * lyx_main.C: fix a crash in batch mode if no files specified
7092 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
7094 * format.[Ch] (papersize): moved to BufferParams
7095 * converter.[Ch] (dvips_options): moved to BufferParams
7096 (dvipdfm_options): moved to anon namespace
7097 * bufferparams.[Ch]: added above functions.
7099 2003-07-17 André Pönitz <poenitz@gmx.net>
7103 * text2.C: don't call inset->update() anymore
7105 * metricsinfo.[Ch]: add convenience constructor
7107 2003-07-16 André Pönitz <poenitz@gmx.net>
7112 * text2.C: replace the LyXCursor::irow_ member with
7113 on-demand computation of the value
7115 2003-07-16 John Levon <levon@movementarian.org>
7117 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7119 2003-07-15 André Pönitz <poenitz@gmx.net>
7122 * text2.C: remove no more needed refresh_row
7124 2003-07-15 André Pönitz <poenitz@gmx.net>
7129 * text3.C: refresh_status tristate -> need_update bool
7131 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7133 * lyxtext.h (init): remove reinit argument (act as if always true)
7134 * text2.C: adjust to that
7136 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7138 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7139 * text3.C: use it to delete selections in some cases
7140 (bugs 441, 673, 702, 954).
7142 2003-07-14 André Pönitz <poenitz@gmx.net>
7144 * rowpainter.[Ch]: reduce interface
7146 2003-07-14 André Pönitz <poenitz@gmx.net>
7148 * BufferView_pimpl.C:
7149 * text2.C: adjust after removing unused BufferView * argument
7151 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7153 * text2.C (init): fix a crash fired on resize
7155 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7157 * buffer.[Ch]: added new closing signal
7158 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7159 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7160 BufferView::Pimpl via the closing the signal
7162 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7164 * buffer.[Ch]: take out all bv-related from buffer
7166 * BufferView_pimpl.[Ch]: connect to new signals
7167 * CutAndPaste.C: removed useless asserts
7168 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7171 * lyxfunc.C: moved view-related funciontality from vc here
7172 * paragraph.C: removed outdated comments
7175 2003-07-10 André Pönitz <poenitz@gmx.net>
7177 * BufferView_pimpl.C:
7181 * text2.C: remove InsetText::InnerCache, clean up consequences
7183 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7185 * ispell.C: fix two typos in error messages
7187 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7189 * Extend Note inset to other forms of annotation like Comment
7190 and Greyedout. Right button click gives dialog.
7192 Files modified or added (+):
7196 * ControlNote.[Ch] +
7198 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7199 frontends/controllers
7203 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7205 * aspell.C: add missing namespace lyx::support
7207 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7209 * BufferView.[Ch] (newFile): Add
7210 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7211 * LaTeX.[Ch] (message): added this signal and use it
7212 * buffer.[Ch] (busy, message): added these signals and use them
7213 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7217 * importer.C: use buffer signals instead of direct bv calling
7218 * lyx_cb.[Ch] (ShowMessage): removed
7221 * paragraph_funcs.C:
7222 * text2.C: use buffer signals
7224 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7226 * introduce namespace lyx::graphics
7228 2003-07-02 André Pönitz <poenitz@gmx.net>
7230 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7232 2003-07-01 André Pönitz <poenitz@gmx.net>
7239 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7240 text*.C to text_func.C
7242 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7244 * introduce namespace lyx::support
7246 2003-06-30 André Pönitz <poenitz@gmx.net>
7251 * text.C: re-enable --with-included-string
7253 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7255 * textcursor.C: add <config.h>
7257 * text.C (getWord): remove const from word_location arg
7259 * lyxvc.C (getLogFile): fix const type order
7261 * lyxtext.h: remove const from word_location arg, add arg name
7263 * lyxlayout.h: currect type on labeltype.
7265 * importer.C: correct \file
7267 * converter.C (intToFormat): use std:: on ret val, ws changes
7269 * bufferlist.h: correct \file
7271 * buffer.C (makeLinuxDocFile): fix const type order
7272 (makeDocBookFile): ditto
7273 (fillWithBibKeys): use std:: on stdlib args.
7275 * CutAndPaste.C: fix authors.
7276 (availableSelections): use std:: on return vector
7278 2003-06-27 André Pönitz <poenitz@gmx.net>
7280 * BufferView_pimpl.C:
7281 * bufferview_funcs.C:
7289 * text3.C: remove LyXCursor::row_ member
7292 * text.C: rename fullRebreak() to partialRebreak() and implement
7293 a fullRebreak() that really bereks fully
7295 * textcursor.h: new struct for cursor-related data
7297 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7299 * lyx_main.C (LyX): get full path of document loaded on the
7302 2003-06-26 André Pönitz <poenitz@gmx.net>
7304 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7305 remove unused/broken operator>,<,>=.
7307 * text.C: remove only use of broken operator<= in an Assert().
7309 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7311 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7312 moved errorlist_.clear to showErrorList
7314 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7316 * converter.C (scanLog, runLaTeX):
7317 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7318 move the bv->showErrorList call to the callers
7319 * lyxfunc.C: i.e. here...
7321 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7322 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7323 namespace, the second to...
7324 * buffer_funcs (BufferFormat, parseErrors): added
7325 * errorlist.C (ErrorList(TeXErrors const &)): removed
7327 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7329 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7331 2003-06-24 "Garst R. Reese" <reese@isn.net>
7335 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7337 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7339 * version.C.in: change docversion to 1.4
7341 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7343 * buffer.C: fix a bug just introduced
7345 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7347 * buffer.[Ch]: added the parseError signal and use it, removed
7349 * BufferView.[Ch] (addError): moved to ...
7350 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7351 to the Buffer::parseError signal to catch (guess what) parse errors
7352 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7354 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7356 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7357 ability to create a buffer and to return an existing one from
7358 the list. Moved these functions to...
7359 * buffer_funcs.[Ch]: added
7360 * BufferView.[Ch] (loadLyXFile): added
7361 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7362 job removed from bufferlist::loadLyXFile.
7363 * buffer.C (setReadOnly): make it work without view
7364 (i.e added an if (users))
7366 2003-06-19 Angus Leeming <leeming@lyx.org>
7369 * LyXAction.C (init):
7370 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7371 with LFUN_DIALOG_SHOW <name> <data>.
7373 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7375 * CutAndPaste.C (availableSelections): small compilation fix for
7376 ancient (gcc 2.9x) compilers
7378 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7380 * text3.C (cursorNext): add tmp var
7382 * text2.C (updateCounters): for function calling out of for clause
7383 (replaceSelectionWithString): ditto
7384 (insertStringAsParagraphs): ditto
7385 (getColumnNearX): add tmp var
7386 (setCursorFromCoordinates): add tmp var
7387 (cursorDownParagraph): add tmp var
7388 (deleteEmptyParagraphMechanism): add tmp var
7390 * text.C (insertChar): add tmp var
7392 * rowpainter.C (paintDepthBar): add tmp var
7394 * CutAndPaste.C (availableSelections): potentially check all
7395 paragraphs in a cut to fill the shown strings.
7397 2003-06-18 André Pönitz <poenitz@gmx.net>
7399 * kbmap.[Ch]: use vector<> instead of list<>
7401 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7403 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7404 pasteSelection with index
7406 * text2.C (pasteSelection): modify, call pasteSelection with index
7408 * paragraph.C (asString): reimplement version with no interval to
7409 call the one with interval.
7411 * lyxtext.h: add index arg to pasteSelection
7413 * MenuBackend.C (MenuItem): handle PasteRecent
7414 (Menu::read::Menutags): add md_pasterecent
7416 (expandPasteRecent): new function
7419 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7421 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7423 (availableSelections): new function
7425 2003-06-17 Angus Leeming <leeming@lyx.org>
7427 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7429 2003-06-17 Angus Leeming <leeming@lyx.org>
7432 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7434 * lyxfunc.C (dispatch): invoke it.
7436 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7438 * iterators.C (operator++, ParPosition): reintroduce some
7439 const_cast for the benefit of older compilers.
7441 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7443 * text3.C (dispatch): do not modify clipboard when doing
7444 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7445 LFUN_DELETE_SKIP on a selection selection
7447 2003-06-16 André Pönitz <poenitz@gmx.net>
7453 * tabular.[Ch]: IU of clone() and getLabelList();
7455 2003-06-13 André Pönitz <poenitz@gmx.net>
7457 * tabular.h: compactification
7459 2003-06-12 André Pönitz <poenitz@gmx.net>
7463 * tabular_funcs.h: some renaming plus whitespace
7465 2003-06-12 André Pönitz <poenitz@gmx.net>
7468 * BufferView_pimpl.C:
7474 * toc.C: Return a Paragraph & for ParIterator::operator*()
7476 2003-06-11 John Levon <levon@movementarian.org>
7480 * ToolbarBackend.C: add "Toolbars" section and
7483 2003-06-10 Angus Leeming <leeming@lyx.org>
7486 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7488 * lyxfunc.C (dispatch): invoke it.
7490 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7492 * main.C: protect <ios> with HAVE_IOS
7493 (main): protect sync_with_stdio with HAVE_IOS
7495 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7497 * text2.C (cutSelection): adjust
7498 (pasteSelection): adjust
7500 * messages.C: handle get of empty string
7502 * main.C (main): use sync_with_stdio(false)
7504 * lyxfunc.C (dispatch): adjust
7506 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7507 (WriteAs): remove unneeded BufferView arg.
7509 * bufferparams.h: use correct types on papersize, papersize2 and
7512 * bufferparams.C (readToken): adjust for type
7513 (writeLaTeX): add missing cases to switch.
7515 * bufferlist.C (quitWriteBuffer): adjust
7518 * buffer.C (asciiParagraph): remove some commented code.
7520 * CutAndPaste.C: remove current_view extern variable.
7521 (cutSelection): add BufferParams arg.
7522 (eraseSelection): add BufferParams arg.
7523 (pasteSelection): add Buffer const & arg
7525 2003-06-07 John Levon <levon@movementarian.org>
7528 * paragraph_funcs.C:
7529 * paragraph_pimpl.C:
7533 * paragraph.C: allow InsetERT to freely space lines,
7534 and some consolidation of code
7536 2003-06-06 José Matos <jamatos@fep.up.pt>
7538 * buffer.C (makeDocBookFile): fix bug #821
7540 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7542 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7544 2003-06-04 Angus Leeming <leeming@lyx.org>
7546 * buffer.C: bump format to 224.
7548 2003-06-05 André Pönitz <poenitz@gmx.net>
7550 * text2.C (redoParagraphs): remove two const_cast<>
7552 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7554 * ParagraphList.h: remove last remnants of NO_STD_LIST
7556 2003-06-03 Angus Leeming <leeming@lyx.org>
7558 * factory.C (createInset): small change to the way InsetExternal's params
7561 2003-06-04 André Pönitz <poenitz@gmx.net>
7563 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7565 * paragraph_pimpl.h:
7566 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7568 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7570 * undo_funcs.C: make some simple cases of undo work again
7572 2003-06-03 John Levon <levon@movementarian.org>
7574 * ispell.C: HPUX doesn't have sys/select.h
7577 2003-06-03 John Levon <levon@movementarian.org>
7579 * CutAndPaste.C: update tabular and include inset
7584 * paragraph.C: remove owningBuffer(), don't pass Buffer
7587 * factory.C: insetGraphicsParams changed
7589 2003-06-02 John Levon <levon@movementarian.org>
7595 * text3.C: remove insetparent
7597 2003-06-02 John Levon <levon@movementarian.org>
7600 * buffer.C: fix inset_iterator.end(), move out of line
7603 2003-06-01 John Levon <levon@movementarian.org>
7605 * text3.C: use a proper cut/paste when doing inset
7606 insert (from Jürgen Spitzmüller)
7608 2003-06-01 John Levon <levon@movementarian.org>
7610 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7612 2003-05-30 André Pönitz <poenitz@gmx.net>
7614 * rowpainter.C: unify second drawing phase
7616 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7618 * trans_mgr.C: remove one case of current_view
7620 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7622 * paragraph_funcs.h: remove paragraph.h include
7624 * paragraph.h: delete NO_STD_LIST stuff
7626 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7628 * buffer.h: remove paragraph.h include
7630 * ParagraphList.C: delete file
7632 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7634 * toc.C (getTocList): adjust
7636 * paragraph_pimpl.C (validate): adjust
7638 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7640 * paragraph.C (Paragraph): adjust
7641 (getPositionOfInset): use const_iterator, adjust
7642 (bibitem): use const_iterator, adjust
7643 (setInsetOwner): adjust
7645 * iterators.C (operator++): adjust
7647 * InsetList.[Ch]: Replace selfmade iterator with standard
7648 vector::iterator also introduce const_iterator. Remove getPos,
7649 getInset and setInset from InsetTable. Adjust accordingly.
7651 * BufferView.C (lockInset): adjust
7652 (ChangeInsets): adjust
7654 * tabular.[Ch]: delete commented same_id functions
7656 2003-05-28 John Levon <levon@movementarian.org>
7658 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7660 2003-05-28 André Pönitz <poenitz@gmx.net>
7662 * metricsinfo.[Ch]: remove 'fullredraw' member
7664 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7666 * lyxtextclass.C (operator): remove caching.
7668 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7672 * text2.C (cursorBottom): adjust
7673 (setCounter): use ParagraphList::find, adjust
7675 * text.C (workWidth): use ParagraphList::find, adjust
7677 * lyxcursor.C (LyXCursor): adjust
7679 * buffer.C (inset_iterator): adjust
7681 * ParagraphList.h: make iterator(value_type) private, make
7682 ParagraphList a friend of iterator.
7684 * ParagraphList.C (find): new function
7686 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7688 2003-05-27 André Pönitz <poenitz@gmx.net>
7690 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7692 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7694 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7696 2003-05-26 John Levon <levon@movementarian.org>
7698 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7700 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7702 * remove same_id from function signatures, adjust.
7704 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7706 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7708 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7710 * paragraph.C (Paragraph): get rid of same_ids parameter
7712 * ParagraphList.C (insert): adjust
7715 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7717 * paragraph_funcs.C (breakParagraph): adjust
7718 (breakParagraphConservative): adjust
7720 * buffer.C (readParagraph): adjust
7722 * ParagraphList.C (insert): take a reference instead of a pointer
7725 * paragraph.[Ch] (id): new function
7727 * bufferlist.C (newFile): adjust
7729 * ParagraphList.C (ParagraphList): adjust
7731 (push_back): take a reference instead of a pointer.
7733 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7735 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7738 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7739 set else use old code.
7741 * ParagraphList.C: remove all NO_NEXT code and only compile this
7742 code of NO_STD_LIST is set.
7744 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7746 * BufferView_pimpl.C:
7756 * graphics/GraphicsConverter.C:
7757 * graphics/PreviewLoader.C: header adjustment
7759 2003-05-23 Angus Leeming <leeming@lyx.org>
7761 * LaTeXFeatures.[Ch] (useBabel): new method.
7762 * bufferparams.C (writeLaTeX): use it.
7764 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7766 * ParagraphList.h (set): remove unused function.
7768 2003-05-23 André Pönitz <poenitz@gmx.net>
7771 * BufferView_pimpl.C:
7775 * undo_funcs.C: setUndo reworked
7777 * iterators.[Ch]: add access to topmost ParagraphList
7779 * lyxtext.[Ch] (workWidth): add a const
7781 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7783 * texrow.[Ch] (increasePos): remove function
7784 * exporter.C (export): removed unused var and outdated comment
7786 2003-05-23 Angus Leeming <leeming@lyx.org>
7788 * latexrunparams.h: rename fragile as moving_arg.
7789 * paragraph.C (simpleTeXOnePar): ditto.
7790 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7792 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7794 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7796 (textUndoOrRedo): comment out a currently unused var.
7798 * paragraph.h (NO_NEXT): enable NO_NEXT
7800 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7802 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7804 * exporter.C (Export): adjust for removeAutoInsets removal.
7806 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7808 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7810 * BufferView.[Ch] (removeAutoInsets): delete function
7812 2003-05-22 Angus Leeming <leeming@lyx.org>
7814 * latexrunparams.h: add a free_spacing variable.
7816 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7817 to pass moving_arg, as the data is stored in runparams.fragile.
7819 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7820 to Inset::latexOptional or to simpleTeXOnePar.
7822 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7823 free_spacing arg to Inset::latexOptional.
7825 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7828 2003-05-22 Angus Leeming <leeming@lyx.org>
7830 * latexrunparams.h: add fragile and use_babel variables.
7832 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7833 * buffer.C (makeLaTeXFile): store this returned value in
7834 runparams.use_babel, thus passing it to the inset::latex methods.
7836 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7837 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7839 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7840 longer has a fragile arg, as it is stored in runparams.fragile.
7842 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7843 moving_arg parameter as the data is stored in runparams.fragile.
7845 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7846 a fragile parameter as the data is stored in runparams.fragile.
7848 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7850 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7852 2003-05-22 Angus Leeming <leeming@lyx.org>
7854 * latexrunparams.h: add a 'bool nice' which defaults to false.
7856 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7857 now encapsulated within runparams.
7859 * bufferlist.C (updateIncludedTeXfiles):
7860 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7862 2003-05-22 Angus Leeming <leeming@lyx.org>
7864 * latexrunparams.h: new file containing struct LatexRunParams.
7865 * Makefile.am: add new file.
7867 * LaTeX.[Ch] (c-tor, run):
7868 * buffer.[Ch] (makeLaTeXFile):
7869 * bufferlist.[Ch] (updateIncludedTeXfiles):
7870 * converter.C (convert, scanLog):
7871 * converter.[Ch] (runLaTeX):
7872 * exporter.C (Export):
7873 * paragraph.[Ch] (simpleTeXOnePar):
7874 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7875 * paragraph_funcs.[Ch] (latexParagraphs):
7876 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7877 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7878 pass around a LatexRunParams parameter.
7880 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7882 * paragraph.[Ch]: remove unused constructor
7884 * ParagraphList.C (erase): new function, taking two iterators
7886 2003-05-22 André Pönitz <poenitz@gmx.net>
7888 * undo_funcs.C: remove duplicated code
7890 * iterator.[Ch]: operator=
7892 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7894 * tabular.C (SetMultiColumn): ws changes
7896 * rowpainter.C (paintFirst): get rid of a ->previous
7898 * lyx_cb.C (getPossibleLabel): parlist simplification
7900 * BufferView.C (ChangeInsets): simplify slightly.
7902 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7904 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7905 * lfuns.h: new LFUN_SPACE
7906 * lyxfunc.C: protected space has a new lfun
7907 * paragraph_funcs.C: read new space insets
7909 * factory.C: handle new space insets
7911 2003-05-22 André Pönitz <poenitz@gmx.net>
7914 * BufferView_pimpl.C:
7917 * undo_funcs.C: return a ParIterator from getParFromID.
7919 * iterators.[Ch]: add two const's
7921 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7923 * toc.C (getTocList): adjust
7925 * iterators.[Ch]: rework for parlist
7927 * buffer.C (par_iterator_begin): adjust
7928 (par_iterator_end): adjust
7930 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7932 * BufferView.C (removeAutoInsets): adjust
7933 (ChangeInsets): adjust
7935 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7937 * text.C (top_y): fix bug 1110
7939 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7941 * errorlist.[Ch]: added
7944 * BufferView_pimpl.C:
7945 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7948 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7950 * Makefile.am: ensure that lyx is relinked upon changes to the
7951 various "convenience" libs.
7953 2003-05-20 Angus Leeming <leeming@lyx.org>
7955 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7956 files are compiled in alphabetical order again.
7958 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7960 2003-05-19 Angus Leeming <leeming@lyx.org>
7962 * gettext.[Ch]: remove "char const * _(char const *)".
7964 2003-05-19 André Pönitz <poenitz@gmx.net>
7966 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7975 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7977 2003-05-19 André Pönitz <poenitz@gmx.net>
7981 * lyxtextclass.[Ch]:
7983 * paragraph_funcs.[Ch]:
7985 * text3.C: more insetenv work
7987 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7989 * ParagraphParameters.C (params2string): small bug fixed
7991 2003-05-16 André Pönitz <poenitz@gmx.net>
7994 * bufferview_funcs.C: patch from Kornel Benko to prevent
7995 crash when _(...) is called twice in a statement
7997 2003-05-16 André Pönitz <poenitz@gmx.net>
8004 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8006 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
8008 * lyx_main.C (init): remove spurious static_cast
8010 2003-05-14 André Pönitz <poenitz@gmx.net>
8012 * BufferView.C: fix format string
8014 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
8016 * BufferView.[Ch] (insertErrors): removed
8017 * BufferView.[Ch] (showErrorList): added
8018 * buffer.C (runChkTeX):
8019 * converter.C (scanLog): call showErrorList instead of inserterrors
8021 2003-05-13 André Pönitz <poenitz@gmx.net>
8023 * BufferView_pimpl.C:
8025 * bufferview_func.C:
8032 * tabular_funcs.h: tostr() from its own header
8034 * ParagraphParameters.C:
8039 * text3.C: STRCONV()
8041 2003-05-12 André Pönitz <poenitz@gmx.net>
8044 * BufferView_pimpl.C:
8048 * ParagraphParameters.C:
8052 * bufferview_funcs.C:
8065 * paragraph_funcs.C:
8069 * text3.C: boost::format -> bformat all over the place
8072 2003-05-09 André Pönitz <poenitz@gmx.net>
8074 * LColor.[Ch]: Pimpl the #include <map> away
8076 2003-05-09 John Levon <levon@movementarian.org>
8078 * bufferlist.C: never remove emergency saves
8080 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8082 * Makefile.am: better lib building
8084 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
8086 * texrow.[Ch]: remove dependency on Paragraph and just store a id
8088 * paragraph_pimpl.C (simpleTeXBlanks): adjust
8089 (simpleTeXSpecialChars): adjust
8090 (simpleTeXSpecialChars): adjust
8091 * paragraph.C (simpleTeXOnePar): adjust
8092 * buffer.C (makeLaTeXFile): adjust
8094 * Makefile.am (BOOST_LIBS): allow boost as system lib.
8096 * text2.C (changeDepth): parlist cleanup
8097 (getColumnNearX): ditto
8099 * rowpainter.C (getLabelFont): parlist cleanup
8101 * bufferlist.C (newFile): parlist cleanup
8103 * CutAndPaste.C (eraseSelection): parlist cleanup
8105 * BufferView_pimpl.C (trackChanges): parlist cleanup
8108 * BufferView.C (lockInset): parlist cleanup.
8109 (ChangeInsets): ditto
8111 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8113 * CutAndPaste.h: Update file header.
8115 * CutAndPaste.C: Update file header.
8116 Store the parts cut out of the Document in a limited_stack.
8117 (copySelection): adjust
8118 (pasteSelection): new function, takes the index in the limited stack.
8119 (nrOfParagraphs): adjust
8120 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8121 simplify error inset insertion.
8122 (checkPastePossible): adjust
8124 2003-05-06 John Levon <levon@movementarian.org>
8126 * text2.C: don't cast wrap inset to float
8128 2003-05-05 André Pönitz <poenitz@gmx.net>
8131 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8133 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8134 few naked Paragraph *.
8136 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8138 * bufferparams.C: Output warning if a document with missing
8139 TeX document class is loaded
8140 * exporter.C: Disable TeX exports if the document class is missing
8143 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8144 isTeXClassAvailable()
8146 2003-05-03 John Levon <levon@movementarian.org>
8149 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8150 explicit cursor show/hide
8152 * BufferView_pimpl.h:
8153 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8154 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8156 * lyxfunc.C: hide cursor before dispatching.
8161 * text3.C: remove explicit cursor hides
8163 2003-05-02 André Pönitz <poenitz@gmx.net>
8165 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8168 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8171 * text2.C: tiny whitespace
8173 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8175 * undo_funcs.C: almost only ws changes.
8177 * ParagraphList.C (splice): just return if pl is empty.
8179 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8181 * ParagraphList.C (splice): new function.
8183 * CutAndPaste.C (pasteSelection): use it
8185 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8187 * CutAndPaste.C (pasteSelection): remove the last next and
8188 previous from this file.
8190 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8192 * CutAndPaste.C (pasteSelection): more clean up, user proper
8193 ParagraphList functions for pasteing.
8195 * ParagraphList.C (insert): new function, three arg insert
8197 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8199 * ParagraphList.C (insert): new function, three arg insert
8201 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8204 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8206 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8208 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8210 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8212 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8214 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8215 (copySelection): clean up a bit.
8216 (pasteSelection): use make_pair
8218 * ParagraphList.C (ParagraphList): implement copy constructor
8219 (operator=): implement, base on copy constructor.
8222 * paragraph.C (erase): return a bool
8224 * paragraph_pimpl.C (erasePos): remove function, move contents...
8225 (erase): ... here. Return a bool.
8226 (erase): call erase instead of erasePos.
8228 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8230 * ParagraphList.h: define PitPosPair
8231 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8232 ParagraphList, fix a bug on pasting multiple pars
8233 * text2.C: change interface to C&P
8235 2003-04-30 André Pönitz <poenitz@gmx.net>
8237 * undo_func.C: revert part of yesterday's patch 2
8239 2003-04-30 John Levon <levon@movementarian.org>
8241 * LColor.C: s/tabular/table/
8243 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8245 * text3.C (dispatch): do not convert iterator -> pointer
8246 * undo_funcs.C (setCursorParUndo): ditto
8247 * text_funcs.C (transposeChars): ditto
8249 * text2.C (setLayout): ws changes only
8251 * text.C (breakParagraph): do not convert iterator -> pointer
8253 (acceptChange): ditto
8254 (rejectChange): ditto
8259 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8262 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8264 * text3.C (gotoInset): YABG (yet another bad getChar)
8266 2003-04-29 André Pönitz <poenitz@gmx.net>
8268 * paragraph.h: make operator= private unimplemented as long as
8271 * ParagraphList.C: whitespace
8274 * paragraph_pimpl.[Ch]:
8275 * paragraph_funcs.C:
8277 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8280 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8282 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8284 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8285 * paragraph.[Ch] (erase):
8286 * paragraph_pimpl.[Ch] (erase): change return type and value
8287 * text2.C (cutSelection): some rework
8289 2003-04-28 John Levon <levon@movementarian.org>
8291 * bufferlist.C: changes for unsaved changes dialog
8293 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8295 * bufferlist.C (newFile): set language (messages_) for new
8298 * buffer.C (readFile): ws changes only.
8300 2003-04-28 André Pönitz <poenitz@gmx.net>
8305 * BufferView_pimpl.C:
8306 * BufferView.C: getParFromID related ParagraphList::iterator changes
8308 2003-04-28 André Pönitz <poenitz@gmx.net>
8310 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8313 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8315 * messages.C: remove one more localedir class variable.
8317 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8319 * messages.C (getLocaleDir): singleton generation function
8321 (Messages): add a default constructor.
8323 * main.C (main): do not setup localedir here, do not call
8326 * gettext.C (_): use it.
8327 (gettext_init): delete funciton
8329 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8331 * gettext.C (getLyXMessages): new singleton generating function.
8333 * buffer.C (updateDocLang): adjust
8335 * Makefile.am (messages.o): add target
8336 (main.o): remove target
8338 2003-04-27 John Levon <levon@movementarian.org>
8343 * lyxvc.C: specify cancel button in Alert::prompt
8345 2003-04-26 John Levon <levon@movementarian.org>
8350 * LyXAction.C: add LFUN_INSET_SETTINGS
8352 * lyxfunc.C: don't enable tabular-feature when there's
8353 just any locking inset
8355 2003-04-26 John Levon <levon@movementarian.org>
8357 * bufferlist.C: re-add Cancel to buffer close question
8359 * lyxfunc.C: fix import UI a bit
8361 2003-04-25 John Levon <levon@movementarian.org>
8363 * gettext.C: remove the broken asserts for now
8365 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8367 * messages.C: make case where setlocale cannot comply work better.
8369 * buffer.C (updateDocLang): new function
8370 (changeLanguage): use it
8373 * text2.C (setCounter): use B_ a bit.
8375 * lyxlayout.C (Read): be sure to trim the label strings.
8377 * messages.C (Messages): fix typo in comment
8379 * buffer.C (readFile): set message_ after file is loaded.
8380 (makeDocBookFile): remove double return
8381 (changeLanguage): reset message_ upon language change.
8382 (B_): new func, use this to get translated buffer strings.
8384 * main.C: add myself and Jean Marc as authors.
8386 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8388 * messages.[hC]: pimplify Messages, and three different pimpls to be
8389 used in different circumstances.
8391 * gettext.[Ch]: change for use with new message code.
8393 2003-04-24 André Pönitz <poenitz@gmx.net>
8395 * factory.C: support for eqref
8397 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8399 * messages.[Ch]: add missing char
8401 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8403 * messages.[Ch]: New files
8405 2003-04-18 John Levon <levon@movementarian.org>
8409 * BufferView_pimpl.C:
8413 * text2.C: remove layout-copy/paste (bug 778)
8415 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8417 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8419 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8421 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8422 if they succeed. Act accordingly.
8424 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8426 * text2.C (setCharFont): adjust
8427 (setCounter): adjust
8428 (insertStringAsLines): adjust
8430 * text.C (leftMargin): adjust
8431 (setHeightOfRow): adjust
8433 * rowpainter.C (paintFirst): adjust
8436 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8438 (isFirstInSequence): ditto
8439 (getEndLabel): ditto
8442 * paragraph.C (getParLanguage): comment out some hard stuff.
8444 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8446 (simpleDocBookOnePar): ditto
8447 (makeDocBookFile): use ParagraphList::iterator
8449 * CutAndPaste.C (pasteSelection): adjust
8451 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8453 * text2.C (getFont): adjust
8454 (getLayoutFont): adjust
8455 (getLabelFont): adjust
8457 * paragraph_funcs.C (TeXOnePar): adjust
8459 * buffer.C (simpleLinuxDocOnePar): adjust
8460 (simpleDocBookOnePar): adjust
8462 * CutAndPaste.C (pasteSelection): adjust
8464 * BufferView.C (getEncoding): adjust
8466 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8468 2003-04-16 John Levon <levon@movementarian.org>
8470 * lyxfind.C: use parlist stuff for search/changes
8472 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8474 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8476 * text2.C (deleteEmptyParagraphMechanism): adjust
8478 * text2.[Ch] (ownerParagraph): delete func (both of them
8480 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8482 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8484 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8486 * ParagraphList.C: prepare for NO_NEXT
8488 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8490 * text2.C (getFont): adjust
8491 (getLayoutFont): adjust
8492 (getLabelFont): adjust
8494 * paragraph.C (getFont): adjust
8495 (getLabelFont): adjust
8496 (getLayoutFont): adjust
8498 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8500 2003-04-15 John Levon <levon@movementarian.org>
8504 * lyx_main.C: handle Include in .ui files
8506 2003-04-15 John Levon <levon@movementarian.org>
8508 * MenuBackend.C: make the doc files length shorter
8511 * ToolbarBackend.C: handle toolbar placement flags,
8514 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8516 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8519 * paragraph_funcs.C (TeXOnePar): adjust
8521 * paragraph.C (getLabelFont): add outerfont arg, adjust
8522 (getLayoutFont): ditto
8523 (simpleTeXOnePar): adjust
8525 * paragraph_pimpl.C (realizeFont): delete func
8527 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8529 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8530 row argument, constify cur argument.
8532 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8534 * text2.C (getFont): adjust
8535 (getLayoutFont): adjust
8536 (getLabelFont): adjust
8538 * paragraph_funcs.C (TeXOnePar): adjust
8539 (outerFont): new func...
8540 (realizeFont): ...moved out from here, changed this to facilitate
8543 * paragraph.C (getFont): take outerfont as arg, adjust
8544 (simpleTeXOnePar): add outerfont arg, adjust
8546 * buffer.C (simpleLinuxDocOnePar): adjust
8547 (simpleDocBookOnePar): adjust
8549 * CutAndPaste.C (pasteSelection): adjust
8551 * BufferView.C (getEncoding): adjust
8553 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8555 * text2.C (setCharFont): adjust
8556 (setCounter): adjust
8558 * text.C (leftMargin): adjust
8559 (setHeightOfRow): adjust
8561 * rowpainter.C (paintFirst): adjust
8564 * paragraph_pimpl.C (realizeFont): adjust
8566 * paragraph.C (isFirstInSequence): move from here...
8567 * paragraph_funcs.C (isFirstInSequence): ...to here
8569 * paragraph.C (outerHook): move from here...
8570 * paragraph_funcs.C (outerHook): ...to here
8572 * paragraph.C (depthHook): move from here...
8573 * paragraph_funcs.C (depthHook): ...to here
8575 * paragraph.C (getEndLabel): move from here...
8576 * paragraph_funcs.C (getEndLabel): ...to here
8578 * text2.C (realizeFont): move from here...
8579 * paragraph_funcs.C (realizeFont): ...to here
8581 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8583 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8585 2003-04-14 Angus Leeming <leeming@lyx.org>
8587 * LColor.[Ch]: scrap LColor mathcursor.
8589 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8591 * lyxlex.[Ch] (text): delete function
8592 * trans.C (Load): adjust
8593 * paragraph_funcs.C (readParToken): adjust
8595 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8597 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8598 vector<char> instead of a char[].
8600 * lyxlex_pimpl.C (getString): adjust
8602 (lex): use getString
8606 * lyxlex.C (text): use pimpl_->getString()
8610 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8612 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8613 (makeFontEntriesLayoutSpecific): temp var for par.size()
8614 (setLayout): temp var for ownerParagraphs().end()
8615 (fullRebreak): temp var for rows().end()
8616 (selectionAsString): temp var for boost::next(startpit), realize
8617 that the while really is a regular for loop.
8618 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8619 setCursor in one place.
8620 (setParagraph): temp vr for ownerParagraphs().end()
8621 (updateCounters): make the while loop a for loop
8622 (cutSelection): temp var for ownerParagraphs().end()
8623 (updateInset): make the do {} while() a regular for loop
8624 (getCursorX): use temp vars
8625 (setCurrentFont): use temp vars
8626 (getColumnNearX): use temp vars
8628 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8630 * text.C (transformChar): use temp var for getChar
8631 (computeBidiTables): use temp var for row->par()
8632 (fill): move temp vars for row->par() and pit->layout() earlier in
8634 (labelFill): use temp var for row->par()
8635 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8636 asc and desc, realize that pit never changes and that firstpit is
8637 just a duplicate and not needed. Exchange rit->par() with pit in a
8639 (breakAgain): use a temp var for boost::next(rit)
8640 (breakAgainOneRow): ditto
8641 (breakParagraph): use a temp var for rows().begin()
8642 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8643 (cursorRightOneWord): use temp var for cursor.par() and
8644 cursor.pos(), remove usage of tmpcursor.
8645 (cursorLeftOneWord): use temp var for cursor.par() and
8646 cursor.pos() only set cur at end of function.
8648 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8650 * text.C, text2.C: exchange all usage of Paragraph::next with
8651 boost::next(ParagraphList::iterator)
8653 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8655 * text2.C (cursorTop): simplify implementation
8656 (cursorBottom): ditto
8657 (setParagraph): use ParagraphList::iterator
8658 (setCurrentFont): adjust
8659 (getColumnNearX): adjust
8660 (cursorRight): adjust
8661 (cursorLeft): remove usage of Paragraph::previous
8662 (cursorUpParagraph): ditto
8663 (deleteEmptyParagraphMechanism): slight cleanup
8665 * text.C (isBoundary): take a Paragraph const & instead of a
8667 (addressBreakPoint): ditto
8668 (leftMargin): remove usage of Paragraph::previous.
8669 (setHeightOfRow): ditto
8670 (cursorLeftOneWord): ditto
8671 (selectNextWordToSpellcheck): ditto
8674 (breakParagraph): remove one usage of Paragraph::next
8675 (redoParagraph): ditto
8676 (acceptChange): ditto
8677 (insertChar): adjust
8678 (rowBreakPoint): adjust
8680 * bufferview_funcs.C (toggleAndShow): adjust
8682 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8684 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8685 methods to access it.
8687 * text.C: Added updateRowPositions to compute all row positions.
8688 Make top_y and getRowNearY() to use the cached y position
8690 2003-04-11 John Levon <levon@movementarian.org>
8692 * text.C (rowBreakPoint): reintroduce the labelEnd
8693 checks, code copied from the row fill stuff. Deep voodoo.
8695 * text.C (fill): add a comment and debugging for the
8698 2003-04-11 John Levon <levon@movementarian.org>
8700 * text.C: make sure fullrow insets get wrapped to the next line,
8701 even when they're in a manual label
8703 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8705 * text2.C (insertParagraph): make it take ParagraphList::iterator
8707 (setLayout): make it return ParagraphList::iterator
8708 (redoParagraphs): ditto
8710 (checkParagraph): ditto
8712 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8714 * text2.C: adjust several funcs.
8715 (realizeFont): take a ParagraphList::iterator as arg.
8716 (getLayoutFont): ditto
8717 (getLabelFont): ditto
8718 (setCharFont): ditto
8720 * text.C: adjust several funcs.
8722 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8724 * text.C (selectNextWordToSpellcheck): don't accidentally
8727 2003-04-10 John Levon <levon@movementarian.org>
8729 * ToolbarBackend.C (getIcon): special handling for
8732 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8734 * text2.C (cursorRight): a getChar assert fixed
8736 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8738 * text2.C (getFont): change to take a ParagraphList::iterator
8739 instead of Paragraph*
8740 Adjust several functions.
8742 * text.C (transformChar): change to take a ParagraphList::iterator
8743 instead of Paragraph*
8744 (singleWidth): ditto
8745 Adjust several functions.
8747 * rowpainter.C: adjust several functions
8748 * rowpainter.h:store a ParagraphList::iterator and not a
8752 2003-04-09 John Levon <levon@movementarian.org>
8757 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8758 and the "help" bits as well
8760 2003-04-09 John Levon <levon@movementarian.org>
8763 * ToolbarBackend.C: allow multiple toolbars
8765 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8767 * undo_funcs.C (setCursorParUndo): adjust
8769 * text_funcs.C (transposeChars): adjust
8771 * text3.C (gotoNextInset): adjust
8774 * text2.C (setLayout): adjust
8775 (changeDepth): adjust
8777 (redoParagraphs): adjust
8778 (selectionAsString): adjust
8779 (setParagraph): adjust
8780 (insertInset): adjust
8781 (cutSelection): adjust
8782 (copySelection): adjust
8783 (pasteSelection): adjust
8784 (insertStringAsLines): adjust
8785 (updateInset): adjust
8786 (setCursor): change to take a ParagraphList::iterator parameter
8787 (setCursorIntern): change to take a ParagraphList::iterator parameter
8788 (setCurrentFont): adjust
8789 (cursorLeft): adjust
8790 (cursorRight): adjust
8791 (deleteEmptyParagraphMechanism): adjust
8793 * text.C (breakParagraph): adjust
8794 (insertChar): adjust
8795 (acceptChange): adjust
8796 (rejectChange): adjust
8797 (selectNextWordToSpellcheck): adjust
8798 (changeCase): adjust
8802 * lyxfind.C (SearchForward): adjust
8803 (SearchBackward): adjust
8804 (nextChange): adjust
8806 * lyxcursor.C (par): adjust
8808 * lyxcursor.h: store a ParagraphList::iterator instead of a
8811 * lyx_cb.C (getPossibleLabel): adjust
8813 * bufferview_funcs.C (toggleAndShow): adjust
8815 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8818 * BufferView.C (removeAutoInsets): adjust
8819 (lockedInsetStoreUndo): adjust
8821 2003-04-09 John Levon <levon@movementarian.org>
8823 * ToolbarBackend.C: try icon without argument
8824 if with argument fails
8826 2003-04-08 John Levon <levon@movementarian.org>
8829 * ToolbarBackend.C: add getIcon(), handle tooltip,
8830 and change from "Icon" to "Item".
8832 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8834 * BufferView.C (lockInset): another bad getchar crunched
8836 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8838 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8841 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8843 * lyxfind.C (searchForward, searchBackwards): bug 782
8845 2003-04-07 John Levon <levon@movementarian.org>
8847 * paragraph.C: remove dead comment
8849 * text.C: remove troublesome depth-fiddling code
8850 in leftMargin() and rightMargin() (bug 1017)
8852 * text.C: fix breaking of rows in nested lists
8855 * text2.C (updateCounters): fix up depth values
8858 2003-04-07 John Levon <levon@movementarian.org>
8860 * BufferView_pimpl.C: clear message when doc finishes resizing,
8861 and after a mouse event
8863 * lyxfunc.C: clear message after exiting inset
8865 2003-04-07 John Levon <levon@movementarian.org>
8867 * bufferview_funcs.C: show math status not outside
8868 status in the statusbar
8870 2003-04-07 John Levon <levon@movementarian.org>
8872 * lyxfunc.C: note status changed after a depth change
8874 2003-04-04 Angus Leeming <leeming@lyx.org>
8876 * LaTeX.h: move AuxInfo operator==, != out of line.
8877 Remove LaTeX virtual destructor; nothing derives from it.
8878 Move operator()() out of public area and rename it startscript().
8879 Change protected for private.
8881 2003-04-04 Angus Leeming <leeming@lyx.org>
8884 * text2.C: remove unneeded #includes.
8886 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8888 * text2.C (dEPM): fix the heigth of the next row
8890 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8892 * text.C: squashed an invalid getChar requester + some ws changes
8894 2003-04-03 John Levon <levon@movementarian.org>
8896 * bufferview_funcs.h:
8897 * bufferview_funcs.C:
8900 * text2.C: make getStatus work for the env depth lfuns
8902 2003-04-03 John Levon <levon@movementarian.org>
8904 * bufferview_funcs.h:
8905 * bufferview_funcs.C:
8908 * text2.C: parlistize decDepth(), by merging it with incDepth()
8910 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8912 * lyxrow.h: store a ParagraphList::iterator instead of a
8913 Paragraph* and adjust other class functions to suit.
8915 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8918 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8920 * text2.C (setCursor): do not anchor to cursor row for the time being
8922 2003-04-02 John Levon <levon@movementarian.org>
8929 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8931 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8933 * paragraph.h: make ParagraphList and ParagraphList::iterator
8934 friends of Paragraph.
8936 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8938 * ParagraphList.C: Use the private next_ and previous_ from
8941 2003-04-01 John Levon <levon@movementarian.org>
8945 * Makefile.am: rename, remove defaults gunk
8948 * MenuBackend.C: remove defaults gunk
8951 * Languages.C: remove defaults gunk
8954 * lyx_main.C: error out if files couldn't be found.
8956 2003-04-02 John Levon <levon@movementarian.org>
8958 * text2.C: make incDepth() use parlist
8960 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8962 * undo_funcs.C (firstUndoParagraph): adjust
8964 * text3.C (gotoInset): adjust
8965 (dispatch): adjust, and rewrite loop.
8967 * text2.C (init): adjust, and rewrite loop.
8968 (redoParagraphs): adjust
8969 (updateInset): adjust, and rewrite loop.
8970 (deleteEmptyParagraphMechanism): adjust
8972 * tabular.C (LyXTabular): adjust
8973 (SetMultiColumn): adjust
8976 * lyxtext.[Ch] (ownerParagraph): delete function
8977 (ownerParagraphs): new function returns a ParagraphList.
8979 * BufferView.C (removeAutoInsets): adjust
8980 (insertErrors): adjust
8981 (setCursorFromRow): adjust
8983 2003-04-01 Angus Leeming <leeming@lyx.org>
8985 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8988 2003-04-02 John Levon <levon@movementarian.org>
8994 * text_funcs.C: make transposeChars a free function
8996 * lyxrow_funcs.C: remove wrong comment
8998 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9001 * rowpainter.C: adjust
9006 * lyxrow_funcs. [Ch]: new files
9008 * lyxrow.[Ch]: remove next and previous pointers
9009 (next,previous): remove accessor functions
9010 (isParEnd): move to lyxrow_funcs
9011 (lastPos): move to lyxrow_funcs
9012 (nextRowIsAllInset): move to lyxrow_funcs
9013 (lastPrintablePos): move to lyxrow_funcs
9014 (numberOfSeparators): move to lyxrow_funcs
9015 (numberOfHfills): move to lyxrow_funcs
9016 (numberOfLabelHfills): move to lyxrow_funcs
9017 (hfillExpansion): move to lyxrow_funcs
9021 * bufferview_funcs.C (toggleAndShow): adjust
9023 * RowList.h: Remove class RowList from file leave just a
9026 * RowList.C: delete file
9028 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9031 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9033 * text3.C (cursorPrevious): adjust
9034 (cursorNext): adjust
9037 * text2.C (redoHeightOfParagraph): adjust
9038 (redoDrawingOfParagraph): adjust
9041 * text.C (breakParagraph): adjust
9042 (insertChar): adjust
9045 * rowpainter.C (RowPainter): adjust
9046 (leftMargin): simplify and adjust
9047 (most rowpainter functions): adjust.
9049 * rowpainter.h: store the row as RowList::iterator not as Row*
9051 * lyxcursor.C (row): taka RowList::iterator as arg
9054 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9057 2003-04-01 Angus Leeming <leeming@lyx.org>
9059 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9060 stuff like bool Bool.
9062 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
9064 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9067 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9069 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9072 * lyxtext.h (rows): drop one version and leve a const variant that
9073 returns a RowList::iterator.
9075 2003-03-31 Angus Leeming <leeming@lyx.org>
9077 * text.C (fill): ensure that the signature is the same as that in the
9080 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
9082 * text2.C (redoParagraphs): adjust
9083 (updateCounters): adjust
9084 (checkParagraph): adjust
9085 (getColumnNearX): adjust and reformat a bit.
9087 * text.C (top_y): adjust
9089 (leftMargin): adjust
9090 (prepareToPrint): adjust
9092 (getRowNearY): adjust
9094 * lyxtext.h: make rowlist_ mutable.
9096 * RowList.h: add const_iterator
9097 * RowList.C: adjust for RowList::const_iterator.
9099 * text2.C (getCursorX): make it take a RowList::iterator as arg,
9102 2003-03-31 John Levon <levon@movementarian.org>
9105 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9107 * lyx_main.C: set default fonts from using lyx_gui funcs
9109 * exporter.C: pdf_mode moved from lyxrc
9112 * lyxfunc.C: changes from above
9114 2003-03-31 John Levon <levon@movementarian.org>
9116 * lyx_main.C: fix to the last fix
9118 2003-03-31 John Levon <levon@movementarian.org>
9120 * bufferlist.C: "Load original" -> "Load Original"
9126 * format.C: more Alert cleanups
9128 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9130 * text2.C (removeParagraph): make it take a RowList::iterator as
9132 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9133 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9135 * text.C (anchor_row): make it take a RowList::iterator as arg,
9137 (computeBidiTables): make it take a const reference to Row instead
9138 of Row pointer, adjust.
9139 (leftMargin): make it take a RowList::iterator as arg, adjust.
9140 (rowBreakPoint): adjust
9141 (breakAgainOneRow): make it take a RowList::iterator as arg,
9143 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9145 * bufferview_funcs.C (toggleAndShow): adjust
9147 2003-03-30 John Levon <levon@movementarian.org>
9151 * boost-inst.C: moved to support
9153 * several files: changes as a result
9155 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9157 * text2.C (LyXText): adjust.
9159 (removeRow): make it take a RowList::iterator as arg, adjust.
9160 (fullRebreak): adjust
9161 (deleteEmptyParagraphMechanism): adjust
9162 (clearPaint): adjust
9165 * text.C (top_y): adjust
9166 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9167 (breakAgain): make it take a RowList::iterator as arg, adjust.
9168 (breakParagraph): adjust
9169 (insertChar): adjust
9172 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9173 need_break_row, and refresh_row.
9175 * text3.C (dispatch): adjust
9177 * text2.C (checkParagraph): adjust
9179 (setCursorFromCoordinates): adjust
9181 * text.C (top_y): adjust
9183 (getRow): make it return a RowList::iterator, adjust
9184 (getRowNearY): make it return a RowList::iterator, adjust
9186 * text2.C (init): adjust
9187 (insertRow): remove function
9188 (insertParagraph): adjust
9189 (redoParagraphs): adjust
9190 (fullRebreak): adjust
9191 (updateCounters): adjust
9193 * text.C (top_y): rewrite to use RowList iterators.
9195 (setHeightOfRow): rewrite to sue RowList iterators.
9196 (appendParagraph): adjust
9197 (breakAgain): adjust
9198 (breakAgainOneRow): adjust
9199 (breakParagraph): adjust
9201 (getRowNearY): adjust, and remove commented code.
9203 * lyxtext.h (firstRow): delete function
9204 (lastRow): delete function
9205 (rows): new function (const and non-const versions.)
9206 (insertRow): delete function
9208 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9210 2003-03-29 John Levon <levon@movementarian.org>
9212 * BufferView_pimpl.C: always update scrollbar top
9213 because pasting text when we're anchored could mean we
9214 miss an update altogether
9216 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9218 * text2.C (init): use rowlist_.end() and not 0.
9219 (insertRow): change to take a RowList::iterator as arg, adjust
9221 (insertParagraph): change to take a RowList::iterator as arg,
9223 (redoParagraphs): remove some debug msgs.
9225 * text.C (appendParagraph): change to take a RowList::iterator
9226 arg, adjust for this.
9227 (breakAgain): add an assert
9228 (breakAgainOneRow): ditto
9230 2003-03-29 John Levon <levon@movementarian.org>
9232 * text2.C: do not clear selection after inc/decDepth
9235 2003-03-29 John Levon <levon@movementarian.org>
9238 * buffer.C: fix broken strerrors according to Lars
9240 2003-03-29 John Levon <levon@movementarian.org>
9242 * converters.C: more Alert cleanups
9244 2003-03-29 John Levon <levon@movementarian.org>
9246 * bufferview_funcs.C: remove pointless Alert
9248 * buffer.C: fix confusing error message when
9249 a template is chmoded 000
9251 2003-03-29 John Levon <levon@movementarian.org>
9255 * BufferView_pimpl.C: Alert fixes
9259 * tabular-old.C: remove unused table compat reading
9261 2003-03-29 John Levon <levon@movementarian.org>
9266 * lyx_cb.C: more Alert cleanups
9268 * lyxfunc.C: don't allow chktex if not latex document
9270 2003-03-29 John Levon <levon@movementarian.org>
9274 * buffer.C: warnings pushed down from support/,
9277 2003-03-29 John Levon <levon@movementarian.org>
9279 * lyxfunc.C: safety check for C-r (revert)
9281 2003-03-29 John Levon <levon@movementarian.org>
9284 * bufferlist.C: several UI fixes using Alert::prompt.
9285 Fix the pointless looping quit code. Fix stupid revert
9290 * lyx_cb.C: use Alert::prompt
9292 * lyx_main.C: remove a silly question
9294 * lyxfunc.C: remove a couple of silly questions,
9297 2003-03-28 John Levon <levon@movementarian.org>
9299 * text2.C: fix bug 974 (End on empty par)
9301 2003-03-28 John Levon <levon@movementarian.org>
9303 * BufferView_pimpl.C:
9305 * lfuns.h: remove do-nothing math greek lfuns
9307 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9309 * lyxgluelength.h (isValidGlueLength): add default arg on
9310 parameter 2. Remove default arg from friend in class.
9312 * lyxlength.h (isValidLength): add default arg on parameter 2.
9313 Remove default arg from friend in class.
9315 * text2.C (LyXText): adjust, initialize refresh_row.
9319 (insertParagraph): adjst
9320 (redoParagraphs): adjust
9321 (fullRebreak): adjust
9322 (updateCounters): adjust
9323 (deleteEmptyParagraphMechanism): first attempt at fixing a
9326 * text.C (top_y): adjust
9327 (setHeightOfRow): adjust
9329 (getRowNearY): adjust
9331 * lyxtext.h: include RowList.h
9332 (~LyXText): not needed anymore, deleted.
9333 (firstRow): modify for RowList
9334 (lastRow): new function
9335 Delete firstrow and lastrow class variables, add a Rowlist
9336 rowlist_ class variable.
9338 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9341 * RowList.C (insert): fix case where it == begin().
9343 2003-03-26 Angus Leeming <leeming@lyx.org>
9345 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9346 the thesaurus dialog.
9348 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9350 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9352 * RowList.[Ch]: new files
9354 * ParagraphList.C (erase): handle the case where it == begin
9357 2003-03-25 John Levon <levon@movementarian.org>
9361 * aspell.C: add new aspell support
9364 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9367 2003-03-25 Angus Leeming <leeming@lyx.org>
9370 * LyXAction.C (init): new LFUN_INSET_INSERT.
9372 * BufferView_pimpl.C (dispatch): split out part of the
9373 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9375 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9378 2003-03-25 Angus Leeming <leeming@lyx.org>
9380 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9382 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9385 * text3.C: remove useless row->height(0)
9387 2003-03-25 John Levon <levon@movementarian.org>
9391 * text3.C: rename the refreshing stuff to better names
9393 2003-03-24 John Levon <levon@movementarian.org>
9395 * BufferView_pimpl.h:
9396 * BufferView_pimpl.C: update layout choice on a mouse
9399 2003-03-23 John Levon <levon@movementarian.org>
9401 * Makefile.am: fix commandtags.h reference
9403 2003-03-22 John Levon <levon@movementarian.org>
9405 * BufferView_pimpl.C:
9410 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9412 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9415 * text.C: take the rtl methods out of line
9417 2003-03-21 André Pönitz <poenitz@gmx.net>
9419 * metricsinfo.[Ch]: new files containing structures to be passed around
9420 during the two-phase-drawing...
9422 2003-03-21 André Pönitz <poenitz@gmx.net>
9424 * lyxtextclass.C: read 'environment' tag.
9426 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9428 * text2.C (removeRow): fix bug 964
9430 2003-03-20 John Levon <levon@movementarian.org>
9434 * text2.C: paint cleanups. Inset::update() dropped font
9437 2003-03-19 John Levon <levon@movementarian.org>
9439 * lyxfunc.C: only fitcursor/markDirty if available()
9441 2003-03-19 John Levon <levon@movementarian.org>
9443 * commandtags.h: rename to ...
9445 * lfuns.h: ... this, and renumber / cleanup
9447 2003-03-19 John Levon <levon@movementarian.org>
9449 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9450 fit the cursor after an lfun
9454 * BufferView_pimpl.h:
9455 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9457 * LyXAction.C: layout-character should have ReadOnly
9459 * ParagraphParameters.C:
9461 * bufferview_funcs.C:
9468 * undo_funcs.C: changes from above
9470 2003-03-18 John Levon <levon@movementarian.org>
9472 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9473 remove it from update()
9475 * lyxfunc.C: update layout choice after an lfun
9477 * text3.C: remove extra updateLayoutChoice()s
9479 2003-03-18 John Levon <levon@movementarian.org>
9481 * text.C: top_y change means full repaint, fix
9482 a drawing bug with cursor movement
9484 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9488 * text2.C: anchor row on setCursor
9490 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9492 * lyxtext.h: remove almost all mutable keywords
9495 * text3.C: remove const keywords accordingly
9497 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9499 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9501 (TeXEnvironment): ditto
9504 2003-03-17 John Levon <levon@movementarian.org>
9506 * text.C (rowBreakPoint): remove attempt to fix displayed
9507 math insets inside a manual label
9509 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9511 * lyxtext.h: remove BufferView* as first arg from almost all class
9513 * other files: adjust.
9515 2003-03-17 John Levon <levon@movementarian.org>
9519 * text2.C: more paint cleanups
9521 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9524 * rowpainter.C: remove "smart" background painting code
9526 2003-03-16 John Levon <levon@movementarian.org>
9531 * text3.C: add helper functions for setting refresh_row/y
9533 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9535 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9536 newline inset which *can* get inserted in the pass_thru layouts.
9537 This is primarily for literate documents.
9539 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9541 * buffer.C: increment LYX_FORMAT to 223
9543 2003-03-14 André Pönitz <poenitz@gmx.net>
9545 * textclass.h: prepare for environment handling, ws changes
9546 * lyxlayout.C: read latexheader and latexfooter tags
9548 2003-03-14 John Levon <levon@movementarian.org>
9550 * text2.C: rewrite ::status() a bit
9552 2003-03-13 John Levon <levon@movementarian.org>
9554 * lyxtext.h: add some docs
9556 2003-03-13 John Levon <levon@movementarian.org>
9561 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9563 2003-03-13 John Levon <levon@movementarian.org>
9565 * text3.C: fix appendix redrawing
9567 2003-03-13 John Levon <levon@movementarian.org>
9569 * text.C (setHeightOfRow):
9571 * rowpainter.C: make appendix mark have the text
9572 "Appendix" so the user knows what it is
9575 * LColor.C: s/appendixline/appendix/ from above
9577 2003-03-13 John Levon <levon@movementarian.org>
9579 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9581 * text.C: fix a getChar(pos) bug properly
9583 2003-03-13 Angus Leeming <leeming@lyx.org>
9586 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9587 Probably only temporary. Let's see how things pan out.
9589 * BufferView.C (unlockInset):
9590 * BufferView_pimpl.C (fitCursor):
9591 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9593 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9594 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9596 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9597 new functions that convert ParagraphParameters to and from a string.
9599 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9600 BufferView::Pimpl's dispatch.
9601 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9603 2003-03-13 André Pönitz <poenitz@gmx.net>
9607 * factory.C: make it aware of InsetEnv
9609 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9611 * text2.C (setCursor): never ask for one past last
9612 (setCursor): add some debugging messages.
9614 * text.C (singleWidth): never ask for one past last
9615 (singleWidth): ditto
9617 (rightMargin): ditto
9618 (rowBreakPoint): ditto
9619 (setHeightOfRow): ditto
9620 (prepareToPrint): ditto
9622 * rowpainter.C (paintBackground): never ask for one past last
9623 (paintText): never ask for one past last
9625 * paragraph_pimpl.C (getChar): make the assert stricter, never
9626 allow the one past last pos to be taken
9628 * paragraph.C (getChar): ws changes only
9630 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9631 (numberOfSeparators): ditto
9632 (numberOfHfills): ditto
9634 2003-03-12 John Levon <levon@movementarian.org>
9640 * paragraph_funcs.C: fix per-buffer authorlists
9642 2003-03-12 John Levon <levon@movementarian.org>
9644 * text.C: fix newline in right address
9646 2003-03-12 Angus Leeming <leeming@lyx.org>
9648 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9649 duplicate those in LyXFunc::dispatch.
9653 * ToolbarDefaults.C:
9654 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9655 Add LFUN_FONTFREE_UPDATE.
9657 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9658 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9660 * bufferview_func.[Ch]: several new functions to facilliate
9661 transfer of data to and from the character dialog.
9663 2003-03-12 John Levon <levon@movementarian.org>
9668 * paragraph_funcs.C:
9669 * paragraph_pimpl.C:
9673 * text3.C: remove META_NEWLINE in favour of an inset
9676 * rowpainter.C: remove paintNewline (done by inset)
9678 2003-03-12 John Levon <levon@movementarian.org>
9680 * paragraph_pimpl.C: complain about bad getChar()s
9681 for a while at least
9683 2003-03-12 John Levon <levon@movementarian.org>
9686 * buffer.C: move paragraph read into a separate function,
9687 a little renaming to reflect that.
9690 * bufferparams.C: remove the author_ids map, not necessary now
9693 * factory.C: moved Buffer::readInset to here
9695 * paragraph_funcs.h:
9696 * paragraph_funcs.C: readParagraph free function moved from
9699 * tabular.C: name change
9701 2003-03-12 John Levon <levon@movementarian.org>
9704 * ParagraphParameters.C: move par params input to
9707 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9708 behave like a normal read from the stream wrt reading
9709 a line vs. a \\token
9711 2003-03-12 John Levon <levon@movementarian.org>
9714 * ParagraphParameters.h:
9715 * ParagraphParameters.C: move output code to a
9718 2003-03-12 John Levon <levon@movementarian.org>
9720 * BufferView.C (insertLyXFile):
9723 * tabular.C: use a parlist iterator for creating the
9726 2003-03-12 John Levon <levon@movementarian.org>
9728 * buffer.C: make current_change static local not
9731 2003-03-12 John Levon <levon@movementarian.org>
9733 * buffer.C: fix insertStringAsLines for change tracking
9735 2003-03-12 John Levon <levon@movementarian.org>
9742 * bufferparams.C: move author list into params. Rename some
9743 functions. Move the header reading into a separate token
9744 loop. Move the header token reading into BufferParams.
9746 2003-03-12 John Levon <levon@movementarian.org>
9748 * changes.C: put debug inside lyxerr.debugging() checks
9750 2003-03-11 André Pönitz <poenitz@gmx.net>
9752 * factory.C: make it aware of InsetHFill
9754 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9756 * buffer.C (latexParagraphs): move function from here...
9757 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9760 2003-03-10 Angus Leeming <leeming@lyx.org>
9762 * LyXAction.C (init): fix bug in poplating array with multiple entries
9763 with the same LFUN (spotted by JMarc).
9765 2003-03-10 John Levon <levon@movementarian.org>
9768 * text2.C: move getColumnNearX() near its
9771 2003-03-10 John Levon <levon@movementarian.org>
9773 * text.C: fix break before a minipage
9775 2003-03-10 John Levon <levon@movementarian.org>
9777 * text.C: fix the last commit
9779 2003-03-09 John Levon <levon@movementarian.org>
9783 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9784 bug 365 (don't break before insets unless needed). Don't
9785 return a value > last under any circumstances.
9787 2003-03-09 Angus Leeming <leeming@lyx.org>
9789 * BufferView_pimpl.C (trackChanges, dispatch): call
9790 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9792 2003-03-09 Angus Leeming <leeming@lyx.org>
9794 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9795 than Dialogs::showAboutlyx().
9797 2003-03-09 Angus Leeming <leeming@lyx.org>
9799 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9800 than Dialogs::showTabularCreate().
9802 2003-03-09 John Levon <levon@movementarian.org>
9806 * text2.C: 3rd arg to nextBreakPoint was always the same.
9809 2003-03-08 John Levon <levon@movementarian.org>
9816 * text2.C: Remove the "main" bit from the "main body"
9819 2003-03-08 John Levon <levon@movementarian.org>
9821 * text.C (leftMargin): The left margin of an empty
9822 manual label paragraph should not include the label width
9825 * text.C (prepareToPrint): don't attempt to measure hfills
9826 for empty manual label paragraphs - the answer should be 0
9828 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9830 * CutAndPaste.C: remove commented code and reindent.
9832 2003-03-08 John Levon <levon@movementarian.org>
9835 * lyxfunc.C: move reloadBuffer()
9838 * BufferView.C: to here
9840 * lyxvc.C: add comment
9843 * vc-backend.C: call bv->reload() to avoid
9844 getStatus() check on MENURELOAD
9846 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9848 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9849 to an old format .dep file.
9851 2003-03-07 Angus Leeming <leeming@lyx.org>
9853 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9854 when the LFUN_MOUSE_RELEASE should have been handled by
9855 inset->localDispatch.
9857 2003-03-07 Angus Leeming <leeming@lyx.org>
9859 * BufferView_pimpl.C (dispatch):
9860 * LyXAction.C (init):
9861 * ToolbarDefaults.C (init):
9863 * lyxfunc.C (getStatus):
9864 remove LFUN_INSET_GRAPHICS.
9866 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9868 2003-03-07 Angus Leeming <leeming@lyx.org>
9871 * LyXAction.C (init):
9872 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9874 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9877 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9879 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9880 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9882 2003-03-07 Angus Leeming <leeming@lyx.org>
9884 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9887 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9889 * ParagraphList.C (front): new function
9892 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9894 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9895 and top_row_offset_. removed var first_y.
9897 * text2.C (LyXText, removeRow):
9899 * BufferView_pimpl.C:
9900 use these methods instead of using first_y
9902 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9904 * text2.C (pasteSelection): adjust for checkPastePossible
9906 * CutAndPaste.C: remove Paragraph * buf and replace with
9907 ParagraphList paragraphs.
9908 (DeleteBuffer): delete
9909 (cutSelection): change the tc type to textclass_type
9910 (copySelection): change the tc type to textclass_type
9911 (copySelection): adjust for ParagraphList
9912 (pasteSelection): change the tc type to textclass_type
9913 (pasteSelection): adjust for Paragraphlist
9914 (nrOfParagraphs): simplify for ParagraphList
9915 (checkPastePossible): simplify for ParagraphList
9916 (checkPastePossible): remove unused arg
9918 * ParagraphList.C (insert): handle the case where there are no
9921 * CutAndPaste.h: make CutAndPaste a namespace.
9923 * text3.C (dispatch): adjust
9925 * text.C (breakParagraph): add a ParagraphList as arg
9927 * paragraph_funcs.C (breakParagraph): change to take a
9928 BufferParams and a ParagraphList as args.
9929 (breakParagraphConservative): ditto
9930 (mergeParagraph): ditto
9931 (TeXDeeper): add a ParagraphList arg
9932 (TeXEnvironment): ditto
9935 * buffer.C (readLyXformat2): adjust
9936 (insertStringAsLines): adjust
9937 (latexParagraphs): adjust
9939 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9940 (cutSelection): adjust
9941 (pasteSelection): adjust
9943 * BufferView_pimpl.C (insertInset): adjust
9945 2003-03-05 Angus Leeming <leeming@lyx.org>
9948 * LyXAction.C (init):
9949 * BufferView_pimpl.C (dispatch):
9950 * lyxfunc.C (getStatus):
9951 remove LFUN_CHILD_INSERT.
9953 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9955 2003-03-05 Angus Leeming <leeming@lyx.org>
9958 * LyXAction.C (init):
9959 * src/factory.C (createInset):
9960 * lyxfunc.C (getStatus):
9961 * text3.C (dispatch):
9962 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9964 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9966 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9968 * ParagraphList.C (insert): handle insert right before end()
9969 (erase): fix cases where it can be first or last paragraph.
9971 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9973 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9974 Paragraph::next and Paragraph::previous
9977 * text.C (breakParagraph): adjust
9979 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9980 BufferParams& as arg.
9981 (breakParagraph): use ParagraphList::insert
9982 (breakParagraphConservative): take a Buffer* instead of a
9983 BufferParams& as arg.
9984 (breakParagraphConservative): use ParagraphList::insert.
9986 * buffer.C (insertStringAsLines): un-const it
9987 (insertStringAsLines): adjust
9989 * ParagraphList.C (insert): new function
9991 * CutAndPaste.C (pasteSelection): adjust
9993 * text.C (backspace): adjust
9995 * tabular.C (SetMultiColumn): adjust
9997 * CutAndPaste.C (cutSelection): adjust
9998 (pasteSelection): adjust
10000 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10001 Buffer const * as arg
10003 * ParagraphList.C (erase): new function
10004 * paragraph_funcs.C (mergeParagraph): use it
10005 (mergeParagraph): make it take a Buffer* instead of a
10006 BufferParams* as arg
10008 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10010 (breakParagraphConservative): ditto
10012 * paragraph.h: remove the breakParagraph friend
10014 * paragraph.C (eraseIntern): new function
10015 (setChange): new function
10017 * paragraph_funcs.C (mergeParagraph): make it take a
10018 ParagraphList::iterator instead of a Paragraph *, adjust
10021 * paragraph.h: move an #endif so that the change tracking stuff
10022 also works in the NO_NEXT case.
10024 2003-03-04 Angus Leeming <leeming@lyx.org>
10027 * LyXAction.C: new LFUN_INSET_MODIFY.
10029 * BufferView_pimpl.C (dispatch): if an inset is found to be open
10030 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10032 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10034 * several files: ws changes only
10036 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10037 (TeXEnvironment): ditto
10040 * buffer.C (makeLaTeXFile): adjust
10041 (latexParagraphs): make it take ParagraphList::iterator as args
10043 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
10045 * buffer.C (latexParagraphs): adjust
10047 * paragraph.C (TeXOnePar): move function...
10048 (optArgInset): move function...
10049 (TeXEnvironment): move function...
10050 * paragraph_pimpl.C (TeXDeeper): move function...
10051 * paragraph_funcs.C: ...here
10053 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10055 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10057 * buffer.C (readInset): remove compability code for old Figure and
10060 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10062 * buffer.C: ws changes
10065 * BufferView_pimpl.C: ditto
10068 * bufferlist.h: ditto
10072 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
10074 * converter.[Ch]: split into itself +
10077 * Makefile.am: += graph.[Ch] + format.[Ch]
10084 * lyxrc.C: added #include "format.h"
10086 2003-02-27 Angus Leeming <leeming@lyx.org>
10088 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10091 * factory.C (createInset): add "label" to the factory.
10093 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10094 string and do no more.
10096 2003-02-27 Angus Leeming <leeming@lyx.org>
10099 * LyXAction.C (init):
10100 * factory.C (createInset):
10101 * BufferView_pimpl.C (dispatch):
10102 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10104 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10106 * lyxfunc.C (dispatch):
10107 * text3.C (dispatch): pass name to params2string.
10109 2003-02-26 Angus Leeming <leeming@lyx.org>
10111 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10113 Rearrange the ~includes. Strip out the unnecessary ones.
10115 * factory.C (createInset): reformat.
10116 create new insets for the various LFUN_XYZ_APPLY lfuns.
10118 2003-02-26 John Levon <levon@movementarian.org>
10121 * lyxrow.C: add isParStart,isParEnd helpers
10123 * paragraph.h: make isInserted/DeletedText take refs
10125 * paragraph_funcs.h:
10126 * paragraph_funcs.C: remove #if 0'd code
10131 * text.C: use lyxrow helpers above.
10132 Move draw and paint routines to RowPainter.
10133 Make several methods use refs not pointers.
10134 Make backgroundColor() const.
10135 Add markChangeInDraw(), isInInset().
10136 Merge changeRegionCase into changeCase.
10137 Make workWidth() shouldn't-happen code into an Assert.
10140 * rowpainter.C: new class for painting a row.
10143 * vspace.C: make inPixels take a ref
10145 2003-02-26 Angus Leeming <leeming@lyx.org>
10147 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10150 2003-02-25 John Levon <levon@movementarian.org>
10152 * ispell.C: give the forked command a more accurate name
10154 2003-02-22 John Levon <levon@movementarian.org>
10157 * toc.C: make TocItem store an id not a Paragraph *
10160 2003-02-21 Angus Leeming <leeming@lyx.org>
10162 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10163 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10164 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10165 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10166 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10167 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10169 * BufferView_pimpl.C (dispatch):
10170 * LyXAction.C (init):
10171 * factory.C (createInset):
10172 * lyxfunc.C (getStatus, dispatch):
10173 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10175 2003-02-21 Angus Leeming <leeming@lyx.org>
10177 * BufferView_pimpl.C (MenuInsertLyXFile):
10178 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10179 * lyxfunc.C (menuNew, open, doImport):
10180 no longer pass a LyXView & to fileDlg.
10182 2003-02-21 Angus Leeming <leeming@lyx.org>
10184 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10185 * LyXAction.C: change, BIBKEY to BIBITEM.
10186 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10187 Change InsetBibKey to InsetBibitem.
10188 Change BIBKEY_CODE to BIBITEM_CODE.
10189 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10190 * factory.C: replace insetbib.h with insetbibitem.h.
10191 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10192 * paragraph.C: replace insetbib.h with insetbibitem.h.
10193 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10194 Change bibkey() to bibitem().
10195 * text.C: remove insetbib.h.
10196 * text2.C: replace insetbib.h with insetbibitem.h.
10197 change bibkey() to bibitem().
10198 * text3.C: remove insetbib.h.
10199 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10201 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10203 * lyxrc.C (output): enclose user email in quotes (in case there are
10206 2003-02-18 John Levon <levon@movementarian.org>
10208 * buffer.h: add std::
10210 2003-02-17 John Levon <levon@movementarian.org>
10216 * pspell.C: reworking. Especially in ispell, a large
10217 number of clean ups and bug fixes.
10219 * lyxfunc.C: fix revert to behave sensibly
10221 2003-02-17 André Pönitz <poenitz@gmx.net>
10224 * commandtags.h: new LFUN_INSERT_BIBKEY
10234 * paragraph_func.C: remove special bibkey handling
10236 2003-02-17 John Levon <levon@movementarian.org>
10238 * text.C (Delete): fix case where delete at the end of
10239 the very first paragraph would not merge the pars
10241 2003-02-17 John Levon <levon@movementarian.org>
10243 * lyxrow.C: fix lastPrintablePos()
10245 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10247 * bufferparams.C (writeLaTeX): add a std:here
10249 * buffer.C: and remove a using directive there
10251 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10253 * buffer.C (makeLaTeXFile): move the code that generates the
10256 * bufferparams.C (writeLaTeX): ... in this new method
10258 * LaTeXFeatures.C (getEncodingSet): make const
10259 (getLanguages): make const
10261 * MenuBackend.C (binding): returns the binding associated to this
10263 (add): sets the status of each item by calling getStatus. Adds
10265 (read): add support for OptSubMenu
10266 (expand): remove extra separator at the end of expanded menu
10268 2003-02-15 John Levon <levon@movementarian.org>
10271 * BufferView_pimpl.C:
10273 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10274 inset code that had no actual effect. Remove unneeded status
10277 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10279 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10282 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10284 * text.C (drawLengthMarker): also draw an arrow marker for
10285 symbolic lengths (medskip...)
10287 2003-02-14 John Levon <levon@movementarian.org>
10290 * tabular.C: better method names
10292 2003-02-14 John Levon <levon@movementarian.org>
10294 * BufferView_pimpl.C:
10299 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10300 it's a more accurate name. Remove some pointless uses.
10302 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10304 * text2.C (LyXText): change order of initilizers to shut off
10307 2003-02-14 John Levon <levon@movementarian.org>
10309 * buffer.C: use ParIterator for getParFromID()
10313 * paragraph_pimpl.h:
10314 * paragraph_pimpl.C: remove unused getParFromID()
10316 2003-02-14 John Levon <levon@movementarian.org>
10318 * buffer.C: remove some very old #if 0'd parse code
10320 2003-02-13 John Levon <levon@movementarian.org>
10324 * text2.C: move hfillExpansion(), numberOfSeparators(),
10325 rowLast(), rowLastPrintable(), numberofHfills(),
10326 numberOfLabelHfills() ...
10329 * lyxrow.C: ... to member functions here.
10334 * text.C: remove LyXText::beginningOfMainBody(), and call
10335 p->beginningOfMainBody() directly. Move the check for
10336 LABEL_MANUAL into the latter.
10343 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10349 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10350 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10352 2003-02-13 John Levon <levon@movementarian.org>
10354 * CutAndPaste.C: remove debug
10356 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10358 * paragraph.C (asString): remove two unused variables
10360 * lyxtextclass.C (readTitleType):
10362 (LyXTextClass): handle new members titletype_ and titlename_
10364 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10366 2003-02-09 John Levon <levon@movementarian.org>
10369 * buffer.C: replace hand-coded list with a map for the dep clean
10371 2003-02-08 John Levon <levon@movementarian.org>
10373 * LaTeX.C: consolidate code into showRunMessage() helper
10375 2003-02-08 John Levon <levon@movementarian.org>
10380 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10381 and pass the size in explicitly
10383 * BufferView_pimpl.h:
10384 * BufferView_pimpl.C:
10386 * BufferView.C: add getCurrentChange()
10388 * BufferView_pimpl.h:
10389 * BufferView_pimpl.C: handle change lfuns
10391 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10392 for changes. Mark pasted paragraphs as new.
10394 * support/lyxtime.h:
10395 * support/lyxtime.C:
10396 * DepTable.C: abstract time_t as lyx::time_type
10399 * LColor.C: add colours for new text, deleted text, changebars
10401 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10402 package use "usenames" option.
10406 * LyXAction.C: add change lfuns
10410 * author.C: author handling
10413 * buffer.C: add a per-buffer author list, with first entry as
10414 current author. Handle new .lyx tokens for change tracking. Output
10415 author list to .lyx file. Output dvipost stuff to .tex preamble.
10416 Bump lyx format to 222.
10419 * bufferlist.C: add setCurrentAuthor() to reset current author details
10423 * bufferparams.C: add param for tracking
10425 * bufferview_funcs.C: output change info in minibuffer
10429 * changes.C: add change-tracking structure
10432 * debug.C: add CHANGES debug flag
10435 * lyxfind.C: add code for finding the next change piece
10438 * lyxrc.C: add user_name and user_email
10441 * lyxrow.C: add a metric for the top of the text line
10444 * text.C: implement accept/rejectChange()
10447 * text.C: paint changebars. Paint new/deleted text in the chosen
10448 colours. Strike through deleted text.
10452 * paragraph_pimpl.h:
10453 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10454 in the current change to the insert functions. Rework erase to
10455 mark text as deleted, adding an eraseIntern() and a range-based
10456 erase(). Implement per-paragraph change lookup and
10459 * paragraph_funcs.C: Fixup paste for change tracking.
10461 * tabular.C: mark added row/columns as new.
10463 * text.C: fix rowLast() to never return -1. Don't allow
10464 spellchecking of deleted text. Track transpose changes. Don't
10465 allow paragraph break or merge where appropriate.
10467 * text2.C: leave cursor at end of selection after a cut.
10469 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10471 * text.C (getLengthMarkerHeight):
10472 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10473 visible on screen too.
10475 2003-02-07 John Levon <levon@movementarian.org>
10477 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10479 2003-02-05 Angus Leeming <leeming@lyx.org>
10481 * lyxserver.C (read_ready): revert my patch of 11 September last year
10482 as it sends PC cpu through the roof. Presumably this means that
10483 the lyxserver will no longer run on an Alpha...
10485 2003-01-30 Angus Leeming <leeming@lyx.org>
10487 * factory.C (createInset): create an InsetCommandParam of type "index"
10488 and use it to 'do the right thing'.
10490 * text2.C (getStringToIndex): ensure that cursor position is always
10491 reset to the reset_cursor position.
10493 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10495 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10498 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10502 * lyxfunc.C: Output messages with identical spelling, punctuation,
10505 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10507 * MenuBackend.C (expandFormats): List only viewable export formats
10510 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10513 * lyxfunc.C (getStatus): Make sure that formats other than
10514 "fax" can also be disabled
10516 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10518 * text3.C (dispatch): put the lfuns that insert insets in 3
10519 groups, and call doInsertInset with appropriate arguments.
10520 (doInsertInset): new function, that creates an inset and inserts
10521 it according to some boolean parameters.
10523 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10525 * buffer.C (readFile): remember to pass on 'par' when calling
10526 readFile recursively.
10528 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10530 * MenuBackend.C (expandFormats): add "..." to import formats.
10532 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10534 * paragraph.C (asString): Remove XForms RTL hacks.
10536 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10537 * buffer.C: fix typo
10539 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10541 * Makefile.am (LIBS): delete var
10542 (lyx_LDADD): add @LIBS@ here instead.
10544 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10546 * Clarify the meaning of "wheel mouse jump"
10548 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10550 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10553 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10555 * importer.C (Loaders): do not preallocate 3 elements in the
10556 vector, since one ends up with 6 elements otherwise
10558 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10560 * DepTable.C (write): write the file name as last element of the
10561 .dep file (because it may contain spaces)
10562 (read): read info in the right order
10564 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10566 * paragraph_pimpl.C (simpleTeXBlanks):
10567 (simpleTeXSpecialChars):
10568 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10570 * tabular.C (latex): add some missing case statements. Reindent.
10572 * MenuBackend.C (expandToc): remove unused variable.
10574 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10583 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10586 2003-01-05 John Levon <levon@movementarian.org>
10589 * BufferView.C: add getEncoding()
10592 * kbsequence.C: do not store last keypress
10595 * lyxfunc.C: store last keypress here instead. Pass encoding
10598 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10600 * lyx_main.C (init): remove annoying error message when following
10601 symbolic links (bug #780)
10603 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10605 * text.C (insertChar):
10606 * lyxrc.C (getDescription): remove extra spaces
10608 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10610 * lyxrc.C (getDescription): remove extra spaces
10612 2002-12-20 John Levon <levon@movementarian.org>
10614 * text3.C: hack fix for page up/down across tall rows
10616 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10618 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10621 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10623 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10624 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10625 thesaurus is not compiled in
10627 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10629 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10631 2002-12-16 Angus Leeming <leeming@lyx.org>
10634 * lyx_main.C (init): remove override_x_deadkeys stuff.
10636 2002-12-12 John Levon <levon@movementarian.org>
10638 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10639 insert. Only remove shift modifier under strict
10642 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10644 * MenuBackend.C (expandToc): fix crash.
10646 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10648 * MenuBackend.C (expandToc): gettext on float names.
10650 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10652 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10653 implement bool empty() [bug 490]
10655 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10657 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10659 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10661 * several files: ws changes
10663 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10665 * text2.C (setCounter): clean up a bit, use boost.format.
10666 (updateCounters): initialize par upon declaration.
10668 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10669 if the layout exists. We do not just store the layout any more.
10670 (SwitchLayoutsBetweenClasses): use boost.format
10672 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10674 * converter.C (convert): if from and to files are the same, use a
10675 temporary files as intermediary
10677 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10680 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10682 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10684 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10686 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10688 * tabular.C (asciiPrintCell): use string(size, char) instead of
10691 * sgml.C (openTag): fix order of arguments to string constructor
10694 * lyxfunc.C (dispatch): use boost.format
10696 * lots of files: change "c" -> 'c'
10698 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10700 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10702 2002-11-25 Angus Leeming <leeming@lyx.org>
10704 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10706 * lyx_main.C (init): compile fix.
10708 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10710 * lyx_cb.C (start): boost.formatify
10711 do not include <iostream>
10713 * lengthcommon.C: ws only
10715 * boost-inst.C,BoostFormat.h: add more explict instantations
10717 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10719 * lots of files: handle USE_BOOST_FORMAT
10721 2002-11-21 John Levon <levon@movementarian.org>
10723 * pspell.C: fix compile
10725 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10727 * lyxfunc.C (dispatch): use boost::format
10731 * lyxfont.C (stateText): use boost::format
10733 * lyx_main.C (LyX): use boost::format
10735 (queryUserLyXDir): ditto
10736 (readRcFile): ditto
10738 (typedef boost::function): use the recommened syntax.
10740 * importer.C (Import): use boost::format
10742 * debug.C (showLevel): use boost::format
10744 * converter.C (view): use boost::format
10749 * bufferview_funcs.C (currentState): use boost::format
10751 * bufferlist.C (emergencyWrite): use boost::format
10753 * buffer.C (readLyXformat2): use boost::format
10754 (parseSingleLyXformat2Token): ditto
10756 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10758 * LaTeX.C (run): use boost::format
10760 * Chktex.C (scanLogFile): use boost::format
10762 * BufferView_pimpl.C (savePosition): use boost::format
10763 (restorePosition): ditto
10764 (MenuInsertLyXFile): ditto
10766 * BoostFormat.h: help file for explicit instation.
10768 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10770 * tabular.C (latex): Support for block alignment in fixed width
10773 2002-11-17 John Levon <levon@movementarian.org>
10775 * BufferView_pimpl.C:
10777 * lyxfunc.C: split filedialog into open/save
10779 2002-11-08 Juergen Vigna <jug@sad.it>
10781 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10782 by my last patch (hopefully).
10784 2002-11-08 John Levon <levon@movementarian.org>
10793 * toc.C: ParConstIterator, and use it (from Lars)
10795 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10797 * lyxtextclass.[Ch]: revise and add doxygen comments
10799 2002-11-07 John Levon <levon@movementarian.org>
10801 * text.C: fix progress value for spellchecker
10803 * toc.C: fix navigate menu for insetwrap inside minipage
10805 * paragraph_funcs.C: added FIXME for suspect code
10807 2002-11-07 John Levon <levon@movementarian.org>
10809 * BufferView_pimpl.C: fix redrawing of insets
10812 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10814 * text2.C (updateCounters): fix bug 668
10816 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10818 * text3.C (dispatch): Do not make the buffer dirty when moving the
10821 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10823 * vc-backend.C: STRCONV
10824 (scanMaster): ditto
10826 * text2.C (setCounter): STRCONV
10828 * paragraph.C (asString): STRCONV
10830 * lyxlength.C (asString): STRCONV
10831 (asLatexString): ditto
10833 * lyxgluelength.C (asString): STRCONV
10834 (asLatexString): ditto
10836 * lyxfunc.C (dispatch): STRCONV
10839 * lyxfont.C (stateText): STRCONV
10841 * importer.C (Import): STRCONV
10843 * counters.C (labelItem): STRCONV
10844 (numberLabel): ditto
10845 (numberLabel): remove unused ostringstream o
10850 * bufferview_funcs.C (currentState): STRCONV
10852 * buffer.C (readFile): STRCONV
10853 (asciiParagraph): ditto
10854 (makeLaTeXFile): ditto
10856 * Spacing.C (writeEnvirBegin): STRCONV
10858 * LaTeXFeatures.C (getLanguages): STRCONV
10859 (getPackages): ditto
10861 (getBabelOptions): ditto
10862 (getTClassPreamble): ditto
10863 (getLyXSGMLEntities): ditto
10864 (getIncludedFiles): ditto
10868 (scanAuxFile): ditto
10871 * LString.h: add the STRCONV macros
10873 * BufferView_pimpl.C (savePosition): STRCONV
10874 (restorePosition): ditto
10875 (MenuInsertLyXFile): ditto
10877 * vc-backend.C (scanMaster): change from submatch[...] to
10880 * funcrequest.C: include config.h
10882 * factory.C: include config.h
10884 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10886 * box.C: include config.h
10888 * LaTeX.C (scanAuxFile): change from submatch[...] to
10892 2002-10-25 Angus Leeming <leeming@lyx.org>
10894 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10896 * ispell.[Ch] (setError): new method.
10897 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10898 Use setError() insetead of goto END.
10900 * lyx_cb.C (AutoSave): move out child process into new class
10903 2002-10-30 John Levon <levon@movementarian.org>
10905 * text3.C: make start appendix undoable
10907 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10909 * lyxlength.C (inPixels): Fix returned value.
10911 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10914 2002-10-24 Angus Leeming <leeming@lyx.org>
10916 * lyxgluelength.h: no need to forward declare BufferParams
10917 or BufferView, so don't.
10919 2002-10-21 John Levon <levon@movementarian.org>
10921 * BufferView.C: menuUndo ->undo, redo
10923 * BufferView.h: document, remove dead, make some methods private
10925 * paragraph_funcs.h:
10926 * paragraph_funcs.C:
10927 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10932 * sgml.C: move sgml open/close tag into sgml.C
10934 * bufferview_funcs.h: unused prototype
10937 * lyxfunc.C: remove unused
10940 * text.C: remove unused
10942 2002-10-21 John Levon <levon@movementarian.org>
10946 * BufferView_pimpl.h:
10947 * BufferView_pimpl.C: fix mouse wheel handling based on
10948 patch from Darren Freeman
10950 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10952 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10954 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10956 * lyxlength.C (inPixels): Fix hanfling of negative length.
10957 Fix LyXLength::MU case.
10959 2002-10-16 John Levon <levon@movementarian.org>
10961 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10963 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10965 * converter.C (view): add support for $$i (file name) and $$p
10966 (file path) for the viewer command. If $$i is not specified, then
10967 it is appended to the command (for compatibility with old syntax)
10969 2002-10-14 Juergen Vigna <jug@sad.it>
10971 * undo_funcs.C (textHandleUndo): alter the order in which the
10972 new undopar is added to the LyXText, as we have to set first
10973 the right prev/next and then add it as otherwise the rebuild of
10974 LyXText is not correct. Also reset the cursor to the right paragraph,
10975 with this IMO we could remove the hack in "redoParagraphs()".
10977 2002-10-09 Angus Leeming <leeming@lyx.org>
10979 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10980 to turn off an optimisation if a new inset is to be inserted.
10982 2002-10-11 André Pönitz <poenitz@gmx.net>
10984 * lyxtext.h: make some functions public to allow access
10985 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10987 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10989 * text3.C (dispatch): when changing layout, avoid an infinite loop
10992 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10994 * lyxrc.C (read): treat a viewer or converter command of "none" as
10997 * MenuBackend.C (expandFormats): for an update, also allow the
10998 formats that are not viewable
11000 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11001 script if it is newer than the lyxrc.defaults in user directory
11003 2002-10-07 André Pönitz <poenitz@gmx.net>
11005 * text.C: Vitaly Lipatov's small i18n fix
11007 2002-09-25 Angus Leeming <leeming@lyx.org>
11009 * ispell.h: doxygen fix.
11011 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
11013 * buffer.h (readFile): Add a new argument to the method, to allow
11014 reading of old-format templates.
11016 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
11018 * toc.C (getTocList): Get TOC from InsetWrap.
11020 2002-09-16 John Levon <levon@movementarian.org>
11022 * lyxfunc.C: check tabular for cut/copy too
11024 2002-09-12 John Levon <levon@movementarian.org>
11026 * LyXAction.C: tidy
11029 * factory.C: add header
11031 * paragraph_funcs.h:
11032 * paragraph_funcs.C: cleanup
11034 2002-09-11 John Levon <levon@movementarian.org>
11036 * PrinterParams.h: odd/even default to true
11038 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
11040 * PrinterParams.h: update printer parameters for new xforms dialog
11042 2002-09-11 Angus Leeming <leeming@lyx.org>
11044 * lyxserver.C (read_ready): re-write to make it more transparent
11045 and to make it work in coherent fashion under Tru64 Unix.
11047 2002-09-11 André Pönitz <poenitz@gmx.net>
11051 * text3.C: implement LFUN_WORDSEL
11053 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11055 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11056 make floatlist_ a boost::shared_ptr<FloatList>
11058 * lyxtextclass.C: include FloatList.h
11059 (LyXTextClass): initialize floatlist_
11060 (TextClassTags): add TC_NOFLOAT
11061 (Read): match "nofloat" to TC_NOFLOAT and use it.
11062 (readFloat): modify call to floatlist_
11066 * FloatList.[Ch] (FloatList): remove commented out float
11068 (erase): new function
11070 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11072 * MenuBackend.C (expandToc): fix crash when there is no document
11075 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
11077 * many files: Add insetwrap.
11079 2002-09-09 John Levon <levon@movementarian.org>
11081 * text2.C: remove confusing and awkward depth wraparound
11083 2002-09-09 John Levon <levon@movementarian.org>
11085 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11088 * buffer.C: remove getIncludeonlyList()
11091 * lyxfunc.C: remove headers
11093 2002-09-09 Juergen Vigna <jug@sad.it>
11095 * text.C (getColumnNearX): fix form Michael this is most
11096 probably a cut&paste bug.
11098 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
11100 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11102 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11103 references, ws changes.
11105 * text2.C (init): update counters after init
11106 (insertParagraph): no need to set counter on idividual paragraphs.
11107 (setCounter): access the counters object in the textclass object
11108 on in the buffer object.
11109 (updateCounters): ditto
11111 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11112 shared_ptr<Counters> to avoid loading counters.h in all
11114 (LyXTextClass): initialize ctrs_
11115 (TextClassTags): add TC_COUNTER, and ...
11116 (Read): use it here.
11117 (CounterTags): new tags
11118 (readCounter): new function
11119 (counters): new funtion
11120 (defaultLayoutName): return a const reference
11122 * counters.C (Counters): remove contructor
11123 (newCounter): remove a couple of unneeded statements.
11124 (newCounter): simplify a bit.
11125 (numberLabel): some small formatting changes.
11127 * buffer.[Ch]: remove all traces of counters, move the Counters
11128 object to the LyXTextClass.
11130 2002-09-06 Alain Castera <castera@in2p3.fr>
11132 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11133 package to set the horizontal alignment on fixed width columns.
11136 * lyx_sty.h: added tabularnewline macro def.
11138 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11140 2002-09-06 John Levon <levon@movementarian.org>
11142 * LyXAction.C: tooltips for sub/superscript
11144 * MenuBackend.C: a bit more verbose
11146 * lyxfunc.C: tiny clean
11148 * undo_funcs.C: document undo_frozen
11150 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11152 * counters.C (Counters): add missing algorithm counter.
11154 * text2.C (setCounter): lookup the counter with layouts latexname
11155 instead of by section number.
11156 (setCounter): use a hackish way to lookup the correct enum
11158 a float name->type change
11159 reset enum couners with counter name directly instead of depth value.
11161 * counters.C (Counters): remove the push_backs, change to use the
11162 float type not the float name.
11163 (labelItem): remove unused string, float name->type change
11165 * counters.h: don't include vector, loose the enums and sects vectors
11167 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11169 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11170 (Read): add float->TC_FLOAT to textclassTags
11171 (Read): and handle it in the switch
11172 (readFloat): new function
11174 * FloatList.C (FloatList): comment out the hardcoded float
11177 * lyxlayout.h: ws change.
11179 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11181 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11183 2002-09-03 Angus Leeming <leeming@lyx.org>
11185 * BufferView_pimpl.h: qualified name is not allowed in member
11186 declaration: WorkArea & Pimpl::workarea() const;
11188 * factory.C: added using std::endl directive.
11190 * text3.C: added using std::find and std::vector directives.
11192 2002-08-29 André Pönitz <poenitz@gmx.net>
11195 * text2.C: remove unused member number_of_rows
11198 * BufferView2.C: remove file, move contents to...
11199 * BufferView.C: ... here
11201 * BufferView_pimpl.C:
11202 * factory.C: move more inset creation to factory
11204 * vspace.C: avoid direct usage of LyXText, ws changes
11207 don't provide direct access to WorkArea, use two simple
11208 acessors haveSelction() and workHeight() instead
11211 2002-08-29 John Levon <levon@movementarian.org>
11213 * BufferView_pimpl.C (dispatch): do not continue when
11216 2002-08-28 André Pönitz <poenitz@gmx.net>
11218 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11221 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11223 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11225 * buffer.C: increment LYX_FORMAT to 221
11227 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11228 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11230 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11232 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11234 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11236 * factory.C (createInset): use LyXTextClass::floats
11238 * MenuBackend.C (expandFloatListInsert):
11239 (expandFloatInsert):
11242 * text2.C (setCounter):
11244 * LaTeXFeatures.C (useFloat):
11245 (getFloatDefinitions):
11247 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11249 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11250 floatlist_, with accessor floats().
11252 * FloatList.h: remove global FloatList
11254 2002-08-26 André Pönitz <poenitz@gmx.net>
11256 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11260 * BufferView_pimpl.C:
11261 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11263 2002-08-25 John Levon <levon@movementarian.org>
11265 * LyXAction.C: fix margin note description
11267 2002-08-24 John Levon <levon@movementarian.org>
11271 * bufferview_funcs.C:
11273 * undo_funcs.C: cleanups
11275 * lyxfunc.C: disable CUT/COPY when no selection
11277 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11279 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11280 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11282 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11283 Add backward compatibility to "mono", "gray" and "no".
11285 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11287 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11288 (and file_format >= 200).
11290 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11292 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11294 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11296 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11298 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11300 * BufferView_pimpl.C:
11307 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11308 inset and code to make it work with the paragraph code. The inset
11309 can be anywhere in the paragraph, but will only do the expected
11310 thing in LaTeX if the layout file contains the parameter line
11312 (or more generally, a nonzero value) for that layout.
11314 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11316 * paragraph.h: remove the declaration of undefined counters class
11319 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11321 * text2.C (setCounter): fixed enumeration mis-count as reported by
11322 Dr. Richard Hawkins.
11324 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11326 * paragraph_funcs.h: remove some unneeded includes
11328 * text.C (backspace): pasteParagraph now in global scipe
11330 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11331 (pasteSelection): ditto
11333 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11334 * paragraph_funcs.C (pasteParagraph): ... here
11336 2002-08-20 André Pönitz <poenitz@gmx.net>
11338 * commandtags.h: new LFUNs for swapping/copying table row/colums
11341 * lyxfunc.C: support for new lfuns
11343 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11346 * buffer.[Ch]: remove NO_COMPABILITY stuff
11348 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11350 * boost.C (throw_exception): new file, with helper function for
11351 boost compiled without exceptions.
11356 * ParameterStruct.h:
11357 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11359 * bufferlist.C (emergencyWriteAll): use boost bind
11361 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11363 * text.C: include paragraph_funcs.h
11364 (breakParagraph): breakParagraph is now in global scope
11366 * paragraph_funcs.[Ch]: new files
11368 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11371 * buffer.C: include paragraph_funcs.h
11372 (insertStringAsLines): breakParagraph is now in global scope
11374 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11377 * CutAndPaste.C: include paragraph_funcs.h
11378 (cutSelection): breakParagraphConservative is now in global scope
11379 (pasteSelection): ditto
11381 * buffer.h: declare oprator== and operator!= for
11382 Buffer::inset_iterator
11384 * bufferlist.C (emergencyWrite): don't use fmt(...)
11386 * text3.C: add using std::endl
11388 * BufferView.C (moveCursorUpdate): remove default arg
11390 2002-08-20 André Pönitz <poenitz@gmx.net>
11392 * buffer.[Ch]: move inline functions to .C
11395 * BufferView_pimpl.C:
11397 * buffer.[Ch]: use improved inset_iterator
11400 * paragraph.[Ch]: write one paragraph at a time
11402 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11404 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11405 style if style is not specified.
11407 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11409 * text2.C (setCounter): when searching for right label for a
11410 caption, make sure to recurse to parent insets (so that a caption
11411 in a minipage in a figure float works) (bug #568)
11413 2002-08-20 André Pönitz <poenitz@gmx.net>
11415 * text3.C: new file for LyXText::dispatch() and helpers
11417 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11419 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11421 2002-08-19 André Pönitz <poenitz@gmx.net>
11424 * text.C: new LyXText::dispatch()
11426 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11428 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11430 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11432 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11435 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11437 * Makefile.am: use $(variables) instead of @substitutions@
11439 2002-08-15 André Pönitz <poenitz@gmx.net>
11442 * BufferView_pimpl.C: streamlining mathed <-> outer world
11446 * LyXAction.C: remove unused LFUN_MATH
11448 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11450 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11452 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11454 * paragraph.C (Paragraph): reformat a bit
11455 (cutIntoMinibuffer): use builtin InsetList function instad of
11459 * buffer.C: include boost/bind.hpp, add using std::for_each
11460 (writeFileAscii): use ParagraphList iterators
11461 (validate): use for_each for validate traversal of paragraphs
11462 (getBibkeyList): use ParagraphList iterators
11463 (resizeInsets): use for_each to resizeInsetsLyXText for all
11465 (getParFromID): use ParagraphList iterators
11467 * BufferView2.C (lockInset): use paragraph list and iterators
11469 2002-08-14 John Levon <levon@movementarian.org>
11471 * lyxserver.C: remove spurious xforms include
11473 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11475 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11477 2002-08-13 André Pönitz <poenitz@gmx.net>
11480 * lyxfunc.C: further cleaning
11482 2002-08-13 André Pönitz <poenitz@gmx.net>
11484 * funcrequest.h: new constructor
11486 * funcrequest.C: move stuff here from .h
11489 * BufferView_pimpl.C:
11492 * lyxfunc.C: subsequent changes
11494 * lyxfunc.h: new view() member function
11496 * lyxfunc.C: subsequent changes
11498 2002-08-13 Angus Leeming <leeming@lyx.org>
11501 * BufferView_pimpl.C:
11509 changes due to the changed LyXView interface that now returns references
11510 to member variables not pointers.
11512 2002-08-13 Angus Leeming <leeming@lyx.org>
11514 * WordLangTuple (word, lang_code): return references to strings,
11519 * lyxtext.h: forward-declare WordLangTuple.
11524 * text.C: #include "WordLangTuple.h".
11527 * text.C: (selectNextWordToSpellcheck): constify return type.
11529 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11535 * paragraph_pimpl.h:
11538 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11539 suggested by Angus.
11540 Made updateCounter always count from start of buffer, and removed
11541 second argument (par).
11542 Reverted floats number display to '#'. Perhaps I'll try again when the
11543 code base is sanitized a bit.
11545 2002-08-12 Angus Leeming <leeming@lyx.org>
11547 * buffer.[Ch] (getLabelList): constify.
11549 2002-08-07 André Pönitz <poenitz@gmx.net>
11551 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11553 * funcrequest.h: extension to keep mouse (x,y) position
11555 2002-08-12 Juergen Vigna <jug@sad.it>
11557 * BufferView2.C (insertErrors): forbid undo when inserting error
11560 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11562 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11564 * ParagraphList.[Ch]: new files
11566 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11568 * BufferView2.C (lockInset): ParagraphList changes
11571 * bufferlist.C: ditto
11575 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11577 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11578 unused class variable counter_,
11580 * paragraph.[Ch] (getFirstCounter): delete unused function
11582 * counters.C: include LAssert.h
11583 (reset): add a new function with no arg, change other version to
11584 not have def. arg and to not allow empty arg.
11586 * text2.C (setCounter): remove empty arg from call to Counters::reset
11588 2002-08-11 John Levon <levon@movementarian.org>
11590 * Makefile.am: add WordLangTuple.h
11592 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11594 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11595 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11597 * insets/insettext.C: InsetList changes
11599 * graphics/GraphicsSupport.C (operator()): InsetList changes
11601 * toc.C (getTocList): InsetList changes
11603 * paragraph_pimpl.[Ch]: InsetList changes
11605 * paragraph.[Ch]: InsetList changes
11607 * buffer.C (inset_iterator): InsetList changes
11608 (setParagraph): ditto
11609 * buffer.h (inset_iterator): ditto
11610 * iterators.C (operator++): ditto
11611 * iterators.h: ditto
11613 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11615 * InsetList.[Ch]: new files, most InsetList handling moved out of
11618 * BufferView2.C (removeAutoInsets): InsetList changes
11620 (ChangeInsets): ditto
11622 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11624 * paragraph_pimpl.h (empty): new function
11626 * paragraph.[Ch] (empty): new function
11628 * other files: use the new Paragraph::empty function
11630 2002-08-09 John Levon <levon@movementarian.org>
11632 * lyxtext.h: remove unused refresh_height
11634 2002-08-09 John Levon <levon@movementarian.org>
11641 * paragraph.C: move sgml char escaping out of paragraph
11644 * paragraph.C: remove id setter
11648 * paragraph_pimpl.C: remove dead tex_code_break_column
11650 * bufferview_funcs.C: small cleanup
11652 * lyxfunc.C: remove dead proto
11654 * lyxtext.h: make some stuff private. Remove some dead stuff.
11656 * lyxgluelength.C: make as[LyX]String() readable
11658 2002-08-08 John Levon <levon@movementarian.org>
11663 * ToolbarDefaults.C:
11666 * toc.C: lyxaction cleanup
11668 2002-08-08 John Levon <levon@movementarian.org>
11670 * BufferView2.C: small cleanup
11673 * lyxfind.C: move unnecessary header into the .C
11675 2002-08-08 John Levon <levon@movementarian.org>
11677 * funcrequest.h: just tedious nonsense
11680 * lyx_main.C: cleanups
11683 * vspace.C: remove dead header lyx_main.h
11685 2002-08-07 Angus Leeming <leeming@lyx.org>
11688 * paragraph_pimpl.h:
11689 Forward declare class Counters in paragraph.h by moving the ctrs member
11690 variable into Paragraph::Pimpl.
11691 (counters): new method, returning a reference to pimpl_->ctrs.
11693 * text2.C: ensuing changes.
11695 2002-08-07 John Levon <levon@movementarian.org>
11697 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11699 * BufferView_pimpl.C: announce X selection on double/triple
11702 * lyx_main.C: use correct bool in batch dispatch
11704 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11706 2002-08-07 André Pönitz <poenitz@gmx.net>
11708 * funcrequest.h: new class to wrap a kb_action and its argument
11711 * BufferView_pimpl[Ch]:
11715 * lyxrc.C: subsequent changes
11718 2002-08-07 John Levon <levon@movementarian.org>
11720 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11721 document options change.
11723 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11728 * makefile.am: move counters functionality over from
11729 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11731 2002-08-06 John Levon <levon@movementarian.org>
11733 * WordLangTuple.h: new file for word + language code tuple
11744 * BufferView2.C: use WordLangTuple
11747 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11749 2002-08-06 John Levon <levon@movementarian.org>
11751 * lyx_main.C: fix cmdline batch handling
11753 2002-08-06 André Pönitz <poenitz@gmx.net>
11755 * lyxrc.C: set default for show_banner to true
11757 2002-08-06 John Levon <levon@movementarian.org>
11759 * pspell.C: fix a crash, and allow new aspell to work
11761 2002-08-06 John Levon <levon@movementarian.org>
11764 * kbmap.C: small cleanup
11767 * vspace.C: add const
11769 2002-08-05 John Levon <levon@movementarian.org>
11771 * LyXAction.C: back to tabular-insert
11773 2002-08-04 John Levon <levon@movementarian.org>
11776 * BufferView.C: cosmetic change
11778 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11788 * BufferView2.C: purge all "Lyx" not "LyX" strings
11791 * lyxcursor.C: attempt to add some documentation
11796 * ToolbarDefaults.C:
11797 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11798 merge with LFUN_TABULAR_INSERT
11805 * pspell.C: split up i/pspell implementations into separate
11806 files, many cleanups
11808 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11810 * text2.C: some cleanup
11812 * lyxfunc.C: don't check for isp_command == "none" any more, it
11813 didn't make any sense
11815 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11820 * makefile.am: move counters functionality over
11821 from text2.C/paragraph.[Ch] to counters.[Ch], and
11823 2002-08-02 John Levon <levon@movementarian.org>
11825 * buffer.C: s/lyxconvert/lyx2lyx/
11827 2002-08-02 Angus Leeming <leeming@lyx.org>
11829 * lyxlex.C: revert John's change as it breaks reading of the user
11832 2002-08-02 Angus Leeming <leeming@lyx.org>
11834 * importer.C (Import):
11835 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11836 changes due to LyXView::view() now returning a boost::shared_ptr.
11838 2002-08-02 John Levon <levon@movementarian.org>
11840 * lyxlex.C: small cleanup
11842 2002-08-02 John Levon <levon@movementarian.org>
11844 * text2.C (status): small cleanup, no logic change
11846 2002-08-01 John Levon <levon@movementarian.org>
11849 * buffer.C (writeFile): don't output alerts, caller
11853 * lyx_cb.C: from above
11855 * lyxfunc.C: allow to open non-existent files
11857 2002-07-31 John Levon <levon@movementarian.org>
11859 * lyxserver.C: don't let incidental errors get
11862 2002-07-30 John Levon <levon@movementarian.org>
11864 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11866 2002-07-30 John Levon <levon@movementarian.org>
11869 * lyxserver.C: remove I/O callback too
11871 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11873 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11876 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11878 * many files: strip,frontStrip -> trim,ltrim,rtrim
11880 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11882 * PrinterParams.h: remove extern containsOnly, and include
11883 support/lstrings.h instead.
11885 * LaTeX.C (scanAuxFile): modify because of strip changes
11887 * buffer.C (makeLaTeXFile): ditto
11888 * bufferparams.C (writeFile): ditt
11889 * lyxfont.C (stateText): ditto
11890 * lyxserver.C (read_ready): ditto
11891 * vc-backend.C (scanMaster): ditto
11893 * BufferView_pimpl.h: ws changes
11895 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11897 2002-07-26 André Pönitz <poenitz@gmx.net>
11899 * kb_sequence.C: remove unnedred usings
11901 2002-07-26 Juergen Vigna <jug@sad.it>
11903 * lyxfind.C (LyXReplace): we have to check better if the returned
11904 text is not of theLockingInset()->getLockingInset().
11906 2002-07-25 Juergen Vigna <jug@sad.it>
11908 * lyxfind.C (LyXReplace): don't replace if we don't get the
11911 * undo_funcs.C (createUndo): remove debugging code.
11913 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11915 * buffer.C (parseSingleLyXformat2Token): Use default placement
11916 when reading old floats.
11918 * FloatList.C (FloatList): Change the default placement of figure
11919 and tables to "tbp".
11921 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11923 * MenuBackend.C: using std::max
11925 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11927 * MenuBackend.C (expandToc):
11928 (expandToc2): code moved from xforms menu frontend. It is now
11929 generic and TOCs are transparent to menu frontends.
11931 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11933 * toc.C (getTocList): protect against buf=0
11935 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11936 Menu as first parameter. Now, this calls itself recursively to
11937 expand a whole tree (this will be useful for TOC handling)
11938 (expandFloatInsert): remove 'wide' version of floats
11940 * MenuBackend.h (submenuname): returns the name of the submenu.
11941 (submenu): returns the submenu itself, provided it has been
11942 created by MenuBackend::expand
11944 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11946 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11947 insets which have noFontChange == true. (bug #172)
11949 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11951 * BufferView_pimpl.C: add connection objects and use them...
11954 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11956 * MenuBackend.C (expandLastfiles):
11959 (expandFloatListInsert):
11960 (expandFloatInsert):
11961 (expand): split expand in parts
11963 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11965 * lyx_gui.C: use lyx_gui::exit()
11967 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11969 * LyXAction.C: show the failing pseudo action
11971 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11973 * buffer.C (readFile): Run the lyxconvert script in order to read
11976 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11980 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11982 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11986 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11988 2002-07-22 Herbert Voss <voss@lyx.org>
11991 * lyxlength.[Ch]: add support for the vertical lengths
11993 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11995 * toc.[Ch]: std:: fixes
11997 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11999 * lyxrc.C: do not include lyx_main.h
12001 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12007 * BufferView2.C: include "lyxlex.h"
12010 * bufferparams.h: do not #include "lyxlex.h"
12012 * lyxtextclasslist.C (Add): remove method
12013 (classlist): renamed to classlist_
12015 * paragraph_pimpl.C:
12019 * bufferview_funcs.C:
12024 * toc.C (getTocList): use BufferParams::getLyXTextClass
12026 * toc.C (getTocList): use InsetFloat::addToToc
12028 * toc.[Ch]: new files, containing helper functions to handle table
12031 * lyxfunc.C (dispatch): no need to remove spaces around command
12033 (getStatus): handle LFUN_SEQUENCE by returning the status of the
12034 first command of the sequence; it is not very clever, but I do not
12035 have a better idea, actually
12037 * LyXAction.C (LookupFunc): make sure to remove space at the
12038 beginning and end of the command
12040 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12042 * MenuBackend.C (getMenubar): new method: return the menubar of
12044 (read): treat differently reading of menu and menubar (in
12045 particular, the menubar has no name now)
12046 (Menu::menubar): remove
12048 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12051 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12053 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12054 a bibitem inset in a RTL paragraph.
12056 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
12058 * paragraph_pimpl.C: constify
12060 * BufferView_pimpl.C:
12062 * lyxfunc.C: fix dispatch in a nicer way
12064 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12066 * lyxfunc.C (dispatch):
12067 * BufferView_pimpl.C:
12068 * BufferView_pimpl.h:
12070 * BufferView.h: rename Dispatch() to dispatch()
12072 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12074 * lyxlayout.C (Read): honor DependsOn tag
12076 * lyxlayout.[Ch] (depends_on): new method
12078 * version.C.in: update lyx_docversion
12080 * LaTeXFeatures.C (getMacros): only define \LyX when needed
12082 * paragraph.C (validate): remove from here...
12083 * paragraph_pimpl.C (validate): ... and move here
12084 (isTextAt): make it const
12086 * buffer.C (getLists): ws cleanup
12088 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
12090 * language.C (read): Use iso8859-1 encoding in latex_lang
12091 (this prevents LyX from crashing when using iso10646-1 encoding).
12093 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12095 * text2.C (toggleInset): if cursor is inside an inset, close the
12096 inset and leave cursor _after_ it
12098 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12100 * lyxfunc.C: move minibuffer completion handling out of here
12102 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
12104 * BufferView_pimpl.C:
12105 * LaTeX.C: fix dispatch calls
12107 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12109 * text.C (drawChars): Fix Arabic text rendering.
12111 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12115 * lyxfunc.C: remove message-push/pop
12119 * lyxfunc.C: rationalise some code by removing verboseDispatch
12120 in favour of a bool argument to dispatch()
12122 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12124 * lyx_main.C (init): make sure to read symlinks as absolute paths
12126 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12129 * lyxfunc.C: no need for commandshortcut to be a member
12131 2002-07-15 André Pönitz <poenitz@gmx.net>
12133 * converter.C: add support for $$s (scripts from lib/scripts dir)
12134 * lyx_main.C: white space
12136 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12140 * lyxrc.C: remove second exit confirmation
12142 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12147 * BufferView_pimpl.h:
12148 * BufferView_pimpl.C:
12149 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12151 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12153 * MenuBackend.C (expand): add numeric shortcuts to document menu
12155 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12157 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12159 * lyxfont.C (setLyXFamily):
12166 * buffer.C (asciiParagraph): use ascii_lowercase
12168 2002-07-15 Mike Fabian <mfabian@suse.de>
12170 * lyxlex_pimpl.C (search_kw):
12171 * lyxlex.C (getLongString):
12172 * converter.h (operator<):
12173 * converter.C (operator<):
12174 * buffer.C (parseSingleLyXformat2Token):
12176 * ToolbarDefaults.C (read):
12177 * MenuBackend.C (checkShortcuts):
12179 * LColor.C (getFromGUIName):
12180 (getFromLyXName): use the compare_ascii_no_case instead of
12181 compare_no_case, because in turkish, 'i' is not the lowercase
12182 version of 'I', and thus turkish locale breaks parsing of tags.
12184 2002-07-16 Angus Leeming <leeming@lyx.org>
12186 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12187 now takes a Buffer const & argument.
12189 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12191 * BufferView.C (resize): check there's a buffer to resize
12193 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12195 * lyxfunc.C: remove dead code
12198 * lyxserver.C: use lyx_guii::set_read_callback
12200 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12202 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12203 an inset in a RTL paragraph.
12205 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12207 * lyxfunc.C: repaint after a font size update
12209 2002-07-15 André Pönitz <poenitz@gmx.net>
12211 * lyxlength.C: inBP should be able to return negative values
12213 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12215 * lyxfunc.C: use lyx_gui::update_fonts()
12217 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12219 * lyxfunc.C: use lyx_gui::update_color()
12221 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12227 * lyxrc.C: remove file->new asks for name option, and let
12228 buffer-new take an argument
12230 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12232 * BufferView_pimpl.C: remove unneeded extra repaint()
12234 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12236 * LyXAction.C: allow command-sequence with NoBuffer
12238 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12240 2002-07-10 Angus Leeming <leeming@lyx.org>
12242 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12244 2002-07-09 Angus Leeming <leeming@lyx.org>
12246 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12248 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12250 * lengthcommon.h: whitespace
12252 * lyxfunc.C: update scrollbar after goto paragraph
12254 * lyxtext.h: factor out page break drawing, and fix it so
12255 page break/added space paints as selected nicely
12257 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12259 * BufferView_pimpl.C: add FIXMEs, clean up a little
12261 2002-07-09 André Pönitz <poenitz@gmx.net>
12263 * lyxfont.[Ch]: support for wasy symbols
12265 2002-07-08 André Pönitz <poenitz@gmx.net>
12267 * BufferView_pimpl.C: apply John's patch for #93.
12269 2002-07-05 Angus Leeming <leeming@lyx.org>
12271 * BufferView_pimpl.C (buffer): generate previews if desired.
12273 * LColor.h: add "preview" to the color enum.
12275 * LColor.C (LColor): add a corresponding entry to the items array.
12277 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12280 2002-07-05 Angus Leeming <leeming@lyx.org>
12282 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12283 The body of the code is now in the method that is passed an ostream &
12284 rather than a file name.
12285 Pass an additional only_preamble parameter, useful for the forthcoming
12288 2002-07-03 André Pönitz <poenitz@gmx.net>
12290 * lyxfunc.C: simplify getStatus() a bit for math stuff
12292 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12294 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12296 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12298 * text.C (changeRegionCase): do not change case of all the
12299 document when region ends at paragraph end (bug #461)
12301 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12303 * paragraph.C (startTeXParParams):
12304 (endTeXParParams): add \protect when necessary
12306 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12308 * BufferView_pimpl.C (workAreaExpose): remove warning
12310 2002-06-27 Angus Leeming <leeming@lyx.org>
12312 * Makefile.am: add lyxlayout_ptr_fwd.h.
12314 2002-06-26 André Pönitz <poenitz@gmx.net>
12316 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12318 2002-06-25 Angus Leeming <leeming@lyx.org>
12320 * lyxfunc.C (dispatch): Comment out the call to
12321 grfx::GCache::changeDisplay. The method no longer exists now that the
12322 pixmap generation part of the graphics loader has been moved into
12325 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12327 * text2.C: layout as layout
12329 * text.C: layout as layout
12331 * tabular.C (OldFormatRead): layout as layout
12333 * paragraph_pimpl.C (TeXDeeper): layout as layout
12334 (realizeFont): layout as layout
12336 * paragraph.C (writeFile): layout as layout
12337 (validate): layout as layout
12338 (getFont): layout as layout
12339 (getLabelFont): layout as layout
12340 (getLayoutFont): layout as layout
12341 (breakParagraph): layout as layout
12342 (stripLeadingSpaces): layout as layout
12343 (getEndLabel): layout as layout
12344 (getMaxDepthAfter): layout as layout
12345 (applyLayout): layout as layout
12346 (TeXOnePar): layout as layout
12347 (simpleTeXOnePar): layout as layout
12348 (TeXEnvironment): layout as layout
12349 (layout): layout as layout
12350 (layout): layout as layout
12352 * lyxtextclass.C (compare_name): new functor to work with
12353 shared_ptr, layout as layout
12354 (Read): layout as layout
12355 (hasLayout): layout as layout
12356 (operator): layout as layout
12357 (delete_layout): layout as layout
12358 (defaultLayout): layout as layout
12360 * lyxlayout_ptr_fwd.h: new file
12362 * lyxlayout.C (Read): layout as layout
12364 * lyx_cb.C (MenuInsertLabel): layout as layout
12366 * bufferlist.C (newFile): layout as layout
12368 * buffer.C (readLyXformat2): layout as layout
12369 (parseSingleLyXformat2Token): layout as layout
12370 (insertStringAsLines): layout as layout
12371 (asciiParagraph): layout as layout
12372 (latexParagraphs): layout as layout
12373 (makeLinuxDocFile): layout as layout
12374 (simpleLinuxDocOnePar): layout as layout
12375 (makeDocBookFile): layout as layout
12376 (simpleDocBookOnePar): layout as layout
12377 (getLists): layout as layout
12379 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12381 * CutAndPaste.C (cutSelection): layout as layout
12382 (pasteSelection): layout as layout
12383 (SwitchLayoutsBetweenClasses): layout as layout
12385 * BufferView_pimpl.C (Dispatch): layout as layout
12386 (smartQuote): layout as layout
12388 * BufferView2.C (unlockInset): layout as layout
12390 2002-06-24 André Pönitz <poenitz@gmx.net>
12392 * lyxfunc.C: fix #487
12394 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12398 * lyxfunc.C: remove display_shortcuts, show_banner
12400 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12402 * Buffer_pimpl.C: oops, update on resize
12404 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12411 * BufferView.C: use repaint()
12413 * BufferView_pimpl.h:
12414 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12415 as it's a clearer description. Remove superfluous
12418 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12420 * text.C: fix bug 488. Not ideal, but getting
12421 getWord() to work properly for the insets that
12422 matter is more difficult ...
12424 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12426 * BufferView_pimpl.C:
12429 * lyxfunc.C: remove the six million index lyxfuncs to just
12430 one, and DTRT (bug 458)
12432 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12436 * BufferView_pimpl.h:
12437 * BufferView_pimpl.C: clean up resize() stuff,
12438 and unnecessary updateScreen()s
12440 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12444 * BufferView_pimpl.h:
12445 * BufferView_pimpl.C:
12448 * minibuffer.C: remove focus management of workarea,
12449 not needed. Use screen's greyOut()
12451 2002-06-17 Herbert Voss <voss@lyx.org>
12453 * converter.C: (convert) do not post a message, when converting
12454 fails, let the calling function decide what to do in this case
12456 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12458 * lyxfunc.C: tidy up a little
12460 2002-06-16 <alstrup@diku.dk>
12462 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12463 Got rid of FORMS_H_LOCATION include. Now we are
12466 2002-06-15 LyX Development team <lyx@rilke>
12468 * buffer.[Ch] (sgmlOpenTag):
12469 (sgmlCloseTag): Added support for avoiding pernicious mixed
12470 content. Return number of lines written.
12472 (makeLinuxDocFile):
12473 (makeDocBookFile): Fixed calls to sgml*Tag.
12474 Simple white space clean.
12476 (simpleDocBookOnePar): Simple white space clean.
12478 * tabular.[Ch] (docBook): Renamed to docbook and got another
12479 argument to related with the pernicious mixed content.
12481 (docbookRow): Fixed calls for docbook inset method.
12483 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12485 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12486 so it's X11 independent.
12490 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12492 2002-06-15 Lyx Development team <lyx@electronia>
12494 * intl.h: Renamed getTrans to getTransManager.
12496 2002-06-14 Angus Leeming <leeming@lyx.org>
12498 * Makefile.am: nuke forgotten stl_string_fwd.h.
12500 2002-06-12 Angus Leeming <leeming@lyx.org>
12502 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12504 2002-06-13 Angus Leeming <leeming@lyx.org>
12507 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12509 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12511 * kbmap.C (getiso): add support for cyrillic and greek
12513 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12517 * BufferView_pimpl.h:
12518 * BufferView_pimpl.C: move bogus scrolling logic
12521 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12524 * BufferView_pimpl.C: view->resize() change
12526 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12528 * BufferView_pimpl.C: topCursorVisible
12531 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12535 * lyx_gui.C: move to frontends/
12539 * lyx_main.C: changes from above
12541 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12548 * lyx_main.C: minor tidy
12550 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12552 * BufferView_pimpl.h:
12553 * BufferView_pimpl.C:
12555 * BufferView.C: make painter() const,
12558 * BufferView2.C: use screen() accessor
12561 * lyx_main.C: some minor cleanup
12563 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12565 * BufferView_pimpl.h:
12566 * BufferView_pimpl.C: remove enter/leaveView,
12569 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12574 * BufferView_pimpl.h:
12575 * BufferView_pimpl.C: only construct screen once,
12578 * lyxrc.C: remove pointless comment
12580 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12583 * BufferView.C: remove active() and belowMouse()
12585 * BufferView_pimpl.h:
12586 * BufferView_pimpl.C: use workarea() not workarea_,
12587 and make it use a scoped_ptr instead
12589 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12591 * lyx_gui.C: add debug message on BadWindow
12593 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12595 * sp_spell.C: fdopen is not part of the C++ standard.
12597 * paragraph.C (InsetIterator): use >= instead of ==
12599 2002-06-07 Angus Leeming <leeming@lyx.org>
12601 Fixes needed to compile with Compaq cxx 6.5.
12602 * BufferView_pimpl.C:
12609 * lyxtextclasslist.C:
12614 all c-library variables have been moved into namespace std. Wrap
12615 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12620 Add a using std::abs declaration.
12622 * kbmap.h (modifier_pair):
12623 * paragraph.h (InsetTable, InsetList):
12624 * lyxfont.h (FontBits):
12625 type definition made public.
12627 * bufferlist.C (emergencyWriteAll): the compiler complains that
12628 there is more than one possible lyx::class_fun template to choose from.
12629 I re-named the void specialisation as lyx::void_class_fun.
12631 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12633 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12634 the compiler is is unable to find tostr in write_attribute.
12636 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12638 * buffer.C (sgmlError): hide #warning
12640 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12642 * xtl/*: get rid of xtl, which is not in use anyway
12644 * LyXAction.C (init):
12645 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12646 were unimplemented xtl experimentation
12648 2002-06-04 André Pönitz <poenitz@gmx.net>
12650 * lyxfunc.C: disable array operation on simple formulae
12652 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12654 * converter.C: constify a bit
12656 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12658 * lyx_gui.C: check xforms version correctly
12660 2002-04-30 Herbert Voss <voss@lyx.org>
12662 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12665 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12667 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12668 attempt to register it with a VCS)
12670 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12672 * lyx_main.C (init): honor variables LYX_DIR_13x and
12675 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12679 * lyx_main.C: fix a crash on bad command line,
12680 and give a useful exit status on error
12682 * lyxfunc.C (doImport): allow -i lyx to work
12684 2002-03-30 André Pönitz <poenitz@gmx.net>
12686 * lyxfunc.C: mathed font changes
12688 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12703 * trans_mgr.h: srcdocs, and some minor cleanups
12705 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12707 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12708 call getFont all the time)
12710 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12712 * switch from SigC signals to boost::signals
12714 2002-05-29 André Pönitz <poenitz@gmx.net>
12716 * paragraph_pimpl.C (getChar): don't call size() too often...
12718 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12720 * paragraph_pimpl.C (insertChar): do not try to update tables when
12721 appending (pos == size())
12723 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12724 in order to reduce drastically the number of comparisons needed to
12725 parse a large document
12727 2002-05-29 André Pönitz <poenitz@gmx.net>
12733 * textclasslist.[Ch]:
12734 * sp_ispell.h: whitespace change
12736 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12738 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12739 lyxaction directly now.
12741 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12745 * lyxvc.C: remove unused headers
12747 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12754 * undo_funcs.C: some cleanups. Use shared_ptr
12755 and a template for the undo stacks.
12757 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12759 * BufferView_pimpl.h:
12760 * BufferView_pimpl.C:
12767 * text2.C: use key_state/mouse_state
12769 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12771 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12774 * chset.C: change include order
12775 (loadFile): use boost regex and get rid of LRegex and LSubstring
12777 * Makefile.am (BOOST_LIBS): new variable
12778 (lyx_LDADD): use it
12780 * LaTeX.C: change include order.
12781 (scanAuxFile): use boost regex and get rid of LRegex and
12785 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12790 * FontInfo.C: moved to frontends/xforms/
12793 * FontLoader.C: moved into frontends for GUIIzation
12798 * lyxfunc.C: changes from above
12800 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12802 * LColor.C: remove spurious X include
12804 * BufferView_pimpl.C:
12809 * text2.C: move font metrics to frontends/
12811 2002-05-24 Juergen Vigna <jug@sad.it>
12813 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12814 setting the undo_cursor.
12816 * ParagraphParameters.h: include local includes first.
12818 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12820 * BufferView_pimpl.C:
12821 * BufferView_pimpl.h:
12825 * screen.C: move WorkArea into frontends/
12831 * BufferView2.C: move LyXScreen into frontends/
12835 * lyx_gui.C: move lyxlookup into frontends/xforms/
12837 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12840 * BufferView_pimpl.C:
12850 * bufferview_funcs.C:
12863 * vc-backend.C: move LyX/XFormsView into frontends/
12865 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12877 * text2.C: move Painter to frontends/
12879 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12881 * buffer.C: comment out some some code that depend upon lyx_format
12884 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12885 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12887 * buffer.h (NO_COMPABILITY): turn off compability
12889 * ColorHandler.C: include scoped_array.hpp
12891 * font.C: Use more specific smart_ptr header.
12894 * ShareContainer.h: ditto
12895 * lyx_main.h: ditto
12897 * FontInfo.h: ditto
12898 * BufferView_pimpl.h: ditto
12899 * ColorHandler.h: ditto
12901 * kbmap.C (defkey): change call to shared_ptr::reset
12903 2002-05-21 Juergen Vigna <jug@sad.it>
12905 * buffer.C (insertErtContents): fix to insert ert asis if it is
12906 non empty. Skip it completely if it contains only whitespaces.
12908 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12910 * BufferView_pimpl.C:
12911 * BufferView2.C: clear selection on paste (bug 393)
12913 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12915 * DepTable.C: include ctime
12917 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12919 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12921 2002-05-14 Juergen Vigna <jug@sad.it>
12923 * text.C (breakParagraph): fixed function to honor the keepempty
12924 layout in the right maner and also to permit the right breaking
12925 algorithm on empty or non empyt keepempty paragraphs.
12927 * paragraph.C (breakParagraph): we have to check also if the par
12928 is really empty (!size()) for isempty otherwise we do the wrong
12931 2002-05-10 Juergen Vigna <jug@sad.it>
12933 * buffer.[Ch] : The following are only changes to the ert
12934 compatibility read reading old LaTeX layout and font stuff and
12935 convert it to ERTInsets.
12937 * buffer.h: added isErtInset().
12939 * buffer.C (struct ErtComp): add a fromlayout bool to check
12940 if we're inside a LaTeX layout.
12941 (isErtInset): new helper function.
12942 (insertErtContents): look for other ert insets before this one
12943 and insert the contents there, so that we don't have subsequent
12944 ERT insets with nothing between them. This way we create only one
12945 inset with multiple paragraphs. Also check if we don't insert only
12946 spaces ' ' as they are ignored anyway afterwards in the .tex file
12947 so if we have only spaces we will ignore this latex part in the
12949 (parseSingleLyXformat2Token \\layout): better compatibility when
12950 reading layout-latex stuff.
12951 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12953 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12954 stuff after reading the inset only get the information back from
12957 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12959 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12961 * LaTeXFeatures.C (getBabelOptions): New method.
12963 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12965 * BufferView_pimpl.C (Dispatch): work around missing argument for
12968 2002-05-08 Juergen Vigna <jug@sad.it>
12970 * text.C (leftMargin): handle paragraph leftindent.
12972 * paragraph.C (writeFile): write the new \\leftindent tag.
12973 (validate): handle leftindent code.
12974 (TeXEnvironment): handle paragraphleftindent code again.
12976 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12978 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12979 for paragrap_extra indent code and new token \\leftindent.
12980 (latexParagraphs): handle the leftindent as environment.
12982 * ParameterStruct.h: added leftindent support.
12984 * ParagraphParameters.C (leftIndent): added support functions for
12985 the paragraph left indent.
12987 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12990 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12992 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12995 * text.C (computeBidiTables): No bidi in insetERT.
12997 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13000 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13002 * version.C.in: pre 5
13004 2002-05-02 José Matos <jamatos@fep.up.pt>
13005 * buffer.C (makeDocBookFile): white space changes, add newline to
13007 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13009 * tabular.C (docBook): fix typo.
13011 2002-05-03 Juergen Vigna <jug@sad.it>
13013 * screen.C (drawFromTo): recalculate the rowpointer if we had a
13014 change in LyXText as we can not be sure it was not freed.
13015 (drawOneRow): remove unused code.
13017 * text.C (drawInset): redo the calculation of the need_break_row as
13018 it could have a row which was already freed.
13019 (draw): look at the return value of drawInset and return false if
13020 it also returned false.
13021 (paintRowText): look at the return value of draw and return false if
13022 it also returned false.
13024 * lyxtext.h: added bool return type to drawInset() and draw() so that
13025 if we have a change in the row so that the rowbreak has to be redone
13026 we abort drawing as it will be called again.
13028 2002-05-02 Juergen Vigna <jug@sad.it>
13030 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13031 a change in the maintext also if we're inside an inset.
13032 (Dispatch): set the cursor again after a break line and after the
13033 screen has been updated as it could be we're in a different row.
13035 * text2.C (fixCursorAfterDelete): check to make sure we don't request
13036 to set the cursor behind the pargraph with > size().
13037 (setCursor): check also for the same paragraph when checking where
13038 to put the cursor if we have a NFR inset.
13040 * buffer.C (parseSingleLyXformat2Token): move the compatibility
13041 parts of layout read further up as it still was in the wrong
13044 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13046 * screen.C (drawFromTo): change sine fullRebreak always return
13049 * buffer.C (parseSingleLyXformat2Token): reindent some
13051 * BufferView_pimpl.C (update): change since fullRebreak always
13053 (Dispatch): git rid of the last hardcoded "Standard"s.
13055 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13057 * text2.[Ch] (fullRebreak): make it return void now that we always
13060 2002-04-30 Juergen Vigna <jug@sad.it>
13062 * buffer.C (parseSingleLyXformat2Token): reset the font before the
13063 ert compatibility check for "latex" layout.
13065 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
13067 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13068 minipages: use col% instead of p%, and also use the current font.
13069 (makeLaTeXFile): Fix use babel condition.
13070 (parseSingleLyXformat2Token): Correct font when reading old floats.
13072 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
13074 * BufferView_pimpl.C (Dispatch): Check that float type exists when
13075 inserting list of floats.
13077 2002-04-25 Herbert Voss <voss@lyx.org>
13079 * MenuBackend.C (expand): don't add the graphics extensions to the
13082 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13084 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13085 non-existing layout, do not complain if it was the default layout
13086 of the original class (bug #342)
13088 2002-04-24 Juergen Vigna <jug@sad.it>
13090 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13091 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13093 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
13095 * buffer.C (getBibkeyList): If using \bibliography, return the
13096 option field with the reference itself. Enables us to provide natbib
13097 support when using \bibliography.
13099 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
13101 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13103 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13104 natbib is provided by the LaTeX class.
13106 2002-04-23 Juergen Vigna <jug@sad.it>
13108 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13111 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13113 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13115 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13117 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13118 ensuremath around textordmasculine, textordfeminine and
13121 2002-04-19 Juergen Vigna <jug@sad.it>
13123 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13124 reinitializing the buffer otherwise row-dimensions may be wrong.
13125 (update): reset also the selection cursors if they do exits otherwise
13126 their x/y positions may be wrong.
13128 * text2.C (cursorDown): don't enter the inset if we came from a row
13129 above and are one row over the inset.
13131 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13132 really leaving an inset.
13134 2002-04-18 Juergen Vigna <jug@sad.it>
13136 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13137 of the selected paragraph does not have the selected layout also if
13140 * text2.C (setLayout): fixed bug which did not change last selected
13143 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13144 changed the read and substituted \\end_float with \\end_inset!
13146 * BufferView_pimpl.C (cursorPrevious):
13147 (cursorNext): fixed to make it work with rows heigher than the work
13148 area without moving the cursor only the draw of the row.
13149 (workAreaMotionNotify): fix jumping over high rows.
13151 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13153 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13156 2002-04-16 Juergen Vigna <jug@sad.it>
13158 * text2.C (setCursor): set also the irow().
13159 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13161 (cursorDown): support for locking an inset if the x_fix value goes
13162 inside it. That way I can transverse insets too with cursor up/down.
13164 * lyxrow.h: added irow helper function same as other (i) functions.
13166 * BufferView_pimpl.C (cursorPrevious):
13167 (cursorNext): fixed for insets!
13169 2002-04-15 Juergen Vigna <jug@sad.it>
13171 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13172 position otherwise it is wrong in some cases.
13174 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13175 inside the inset before the call.
13177 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13179 * buffer.[Ch] (getBibkeyList): make it const.
13181 2002-04-12 Juergen Vigna <jug@sad.it>
13183 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13185 * text2.C (getCursorX): new helper function
13186 (setCursor): compute also ix_
13187 (setCursorFromCoordinates): set also ix.
13189 * lyxcursor.h: added ix_ and helper functions.
13191 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13193 * buffer.C (insertStringAsLines): dont break paragraph if the this
13194 paragraph is inside an inset which does not permit it!
13196 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13197 also with no chars on this paragraph.
13198 (paintRowText): only paint stuff if it's inside the workarea!
13200 * paragraph.C (breakParagraph): honor keepempty flag and break the
13201 paragraph always below not above.
13203 * BufferView2.C (unlockInset): update the paragraph layout on inset
13204 unlock as we changed paragraph in such a case.
13206 * lyxfind.C (LyXFind): clear the former selection if not found!
13208 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13209 again called in insertChar().
13211 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13212 an inset which uses the whole row!
13213 (rightMargin): ditto.
13214 (insertChar): force a rebreak if we inserted an inset!
13216 2002-03-28 Herbert Voss <voss@lyx.org>
13218 * lyxlength.[Ch]: add inBP() to get the right PS-point
13219 units (BigPoint). With inPixels we have rounding errors
13221 2002-04-11 Juergen Vigna <jug@sad.it>
13223 * text2.C (setCursorFromCoordinates): set iy to the right value.
13224 (setCursor): add check if row->previous exists!
13226 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13227 an old float_type as this was the case in the old code!
13229 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13231 * BufferView2.C (showLockedInsetCursor): use iy
13232 (fitLockedInsetCursor): ditto
13234 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13235 locked insets as there we have the right value now.
13237 * lyxcursor.C: added iy_ variable and iy functions to set to the
13238 baseline of cursor-y of the locked inset.
13240 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13241 (setCursor): fixed for insets which need a full row.
13243 * text.C (rowLastPrintable): don't ignore the last space when before
13244 an inset which needs a full row.
13245 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13246 as last character of a row when before a inset which needs a full row.
13248 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13250 * version.C.in: update date
13252 * text2.C (fullRebreak): try to always return true and see what
13255 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13257 * MenuBackend.C (expand): use Floating::listName
13259 * FloatList.C (FloatList): add listName argument to the built-in
13262 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13263 text associated with the float.
13265 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13267 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13269 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13271 * ShareContainer.h: add a couple of missing typenames.
13273 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13275 * lyxrc.C (getDescription): use _() correctly rather than N_().
13277 2002-03-28 Herbert Voss <voss@lyx.org>
13279 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13280 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13282 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13284 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13285 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13287 2002-03-29 Juergen Vigna <jug@sad.it>
13289 * lyxfunc.C (dispatch): add a missing fitCursor call.
13291 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13292 it was scrolled by a cursor move, so return the bool status.
13294 * BufferView.C (fitCursor): return the bool flag also to the outside
13295 world as this is needed.
13297 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13299 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13300 call the edit() as it is not needed (and wrong) IMO.
13301 (workAreaButtonPress): set the screen_first variable before evt.
13302 unlock the inset as this may change screen_first and then we have
13303 a wrong y position for the click!
13305 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13307 * MenuBackend.C (expand): another translation that I missed
13309 2002-03-28 Juergen Vigna <jug@sad.it>
13311 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13313 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13315 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13317 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13319 * MenuBackend.C (expand): fix export/view/update when there is no
13322 2002-03-27 Herbert Voss <voss@lyx.org>
13324 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13327 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13329 * bufferview_funcs.C (currentState): only show paragraph number
13330 for is DEVEL_VERSION is set.
13332 * lyxfunc.C (dispatch): put warning in INFO channel
13334 * MenuBackend.C (expand): translate the name of floats
13336 * FloatList.C (FloatList): mark the float names for translation
13338 * converter.C (convert): use LibScriptSearch
13340 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13342 * MenuBackend.C (defaults): fix default menu (we might as well get
13345 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13347 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13350 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13352 * lyxvc.C: reorder includes.
13354 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13356 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13359 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13361 * CutAndPaste.C: change layouts earlier on paste
13362 to avoid crashing when calling getFont()
13364 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13366 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13369 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13371 * WorkArea.C: remove 'Pending' debug message.
13373 * most files: ws cleanup
13375 * buffer.[Ch]: ws changes
13377 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13379 2002-03-21 Juergen Vigna <jug@sad.it>
13381 * tabular.C (SetMultiColumn): collapse also the contents of the
13382 cells and set the last border right. Added a Buffer const * param.
13384 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13386 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13389 2002-03-19 Juergen Vigna <jug@sad.it>
13391 * text2.C (clearSelection): reset also xsel_cache.
13393 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13394 where it needs to be called (John tells us to do so too :)
13395 (selectionLost): reset sel_cache.
13397 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13399 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13401 * text2.C (setCursorIntern): put debuging code in INSETS channel
13403 2002-03-19 André Pönitz <poenitz@gmx.net>
13405 * lyxfunc.C: tiny whitespace change
13407 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13409 * ToolbarDefaults.C (init):
13410 * LyXAction.C (init):
13412 * BufferView_pimpl.C (Dispatch):
13413 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13415 2002-03-19 Allan Rae <rae@lyx.org>
13417 * exporter.C (Export): removeAutoInsets before doing anything else.
13418 While I've just introduced a dependency on BufferView this really is
13419 the best place to clean the buffer otherwise you need to cleanup in
13420 a dozen places before calling export or cleanup in a dozen functions
13423 * converter.C (runLaTeX):
13424 (scanLog): Better handling of removeAutoInsets and screen updates.
13426 * lyxfunc.C (dispatch): small whitespace changes
13428 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13430 * WorkArea.C (C_WorkAreaEvent): return a value.
13431 (event_cb): return 1 if we handled the event, 0 otherwise.
13433 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13435 2002-03-18 Juergen Vigna <jug@sad.it>
13437 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13438 (GetAdditionalWidth): ditto.
13439 (RightLine): ditto.
13442 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13443 inset if we're there actually (probably not used right now but this
13444 is the direction to go for unifying code).
13445 (paste): disable code to clear the selection.
13447 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13448 inside an InsetText and move the check further up as it is in the
13451 * text2.C (pasteSelection): set a selection over the pasted text.
13453 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13455 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13456 and libgraphics to build on Cygwin.
13458 2002-03-15 Juergen Vigna <jug@sad.it>
13460 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13461 inserting an Inset into the paragraph. I know this is not the best
13462 fix but we already use current_view in CutAndPaste so we will remove
13463 all of it's using at the same time.
13465 * buffer.C (sgmlError): deactivated function till it is rewritten in
13466 the right mode, now it can create problems.
13468 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13469 before accessing it.
13471 2002-03-14 Juergen Vigna <jug@sad.it>
13473 * undo_funcs.C (textHandleUndo): do the right thing when updating
13474 the inset after the undo/redo.
13476 * text2.C (setCursor): just some testcode for #44 not ready yet.
13478 * undo_funcs.C (textHandleUndo): set the next() and previous()
13479 pointers of the paragraph to 0 before deleting otherwise we have
13480 problems with the Paragraph::[destructor].
13482 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13483 on a paragraph insertion.
13485 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13487 * buffer.C (asciiParagraph): use += operator for char append to
13490 * paragraph.C (getFontSettings): compare >= not just >
13491 (highestFontInRange): ditto
13494 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13496 * paragraph.C: change several algorithm to be more appripriate for
13497 the problem domain. This is lookip in FontList and in the InsetList.
13499 2002-03-13 André Pönitz <poenitz@gmx.net>
13502 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13504 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13509 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13511 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13513 * Painter.C (display): anon helper function, adjust code for this
13515 (pixmap): remove function.
13517 * Painter.h: remove private display variable.
13519 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13521 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13523 * WorkArea.[Ch]: remove figinset_canvas cruft.
13525 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13527 * lyxtextclass.C (operator): add one item cache optimization.
13529 * bufferlist.h: doxy changes
13531 * bufferlist.C: ws changes
13533 * DepTable.[Ch] (ext_exist): place const in the right spot.
13535 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13537 (workAreaExpose): call resizeInsets when the with BufferView changes.
13538 (Dispatch): adjust for protectedBlank removal
13539 (specialChar): call updateInset if the insert went ok.
13541 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13542 specialChar instead.
13544 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13546 * BufferView.h: doxy change
13548 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13550 * lyxtextclass.C (operator[]): remove non-const version
13551 (defaultLayout): remove non-const version
13553 2002-03-12 Juergen Vigna <jug@sad.it>
13555 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13556 did resize the LyXText too.
13558 * buffer.C (readLyXformat2): set layout information on newly allocated
13561 * tabular.C (OldFormatRead): set layout information on the paragraph.
13563 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13565 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13567 2002-03-11 Juergen Vigna <jug@sad.it>
13569 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13571 (resizeCurrentBuffer): force also the insets to resize themselfes.
13572 (moveCursorUpdate): fixed up for InsetText.
13574 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13577 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13578 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13579 value of Dialogs::tooltipsEnabled().
13580 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13582 2002-03-08 Juergen Vigna <jug@sad.it>
13584 * BufferView_pimpl.C (updateInset): update inset inside inset also
13585 if it isn't inside theLockingInset().
13587 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13589 * buffer.C (asciiParagraph): redo some of the word and line length
13591 (getLists): look for Caption instead of caption.
13593 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13595 * buffer.C (Buffer): initialize niceFile to true
13597 (makeLinuxDocFile):
13598 (makeDocBookFile): make sure niceFile is true on exit
13600 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13602 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13604 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13606 * LyXSendto.C: remove.
13607 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13608 * lyx_gui.C: remove now-redundant comment.
13609 * ColorHandler.h: remove forward declaration of class WorkArea.
13610 * lyxfunc.C: remove #include "WorkArea.h".
13612 2002-03-07 Juergen Vigna <jug@sad.it>
13614 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13615 got moved away with the DEPM and also set the inset_owner always
13616 right which before could have been omitted.
13618 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13620 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13621 wanted layout is not found.
13623 2002-03-07 Juergen Vigna <jug@sad.it>
13625 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13627 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13629 * paragraph.C (breakParagraph): use default layout not layout of
13631 (Paragraph): clear ParagraphParameters.
13633 2002-03-06 Juergen Vigna <jug@sad.it>
13635 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13636 otherwise it would not be a valid lenght. Fixed a special case in
13637 the minipage compatibility read where we end the document with a
13640 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13641 was set as it could be 0 for InsetTexts first entry.
13643 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13645 * paragraph.C (writeFile): if layout is empty write out
13646 defaultLayoutName().
13648 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13649 file without named layout we set layout to defaultLayoutName().
13651 2002-03-06 Juergen Vigna <jug@sad.it>
13653 * CutAndPaste.C (copySelection): set layout for new paragraph.
13655 * text.C (prepareToPrint): leave ERT inset left aligned
13656 (leftMargin): don't indent paragraphs inside ERT insets
13658 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13660 * paragraph.C (breakParagraph): dont call clear do the work manually
13662 * paragraph.[Ch] (clear): remove function
13664 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13666 * paragraph.C (Paragraph): dont call clear, the work has already
13669 * lyxtextclass.C (operator): assert if n is empty
13671 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13672 work manually instead.
13674 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13676 * BufferView_pimpl.C: protect selectionLost against text == 0
13678 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13680 * text.C (breakParagraph): fix a setting layout to '0' problem.
13682 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13684 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13685 final location of file, for the included files, and graphics.
13687 2002-03-05 Juergen Vigna <jug@sad.it>
13689 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13691 2002-03-04 Juergen Vigna <jug@sad.it>
13693 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13695 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13696 last column of multicolumn cells.
13697 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13699 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13701 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13702 file if it doesn't go to a temporary file.
13704 * buffer.C (sgmlOpenTag):
13705 (sgmlCloseTag): remove extra newline insertion.
13707 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13709 * text.C (getRowNearY): comment out debug msg
13711 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13713 * text2.C: first -> first_y
13715 * text.C (getRowNearY): add some attemts at a possible
13716 optimization, not working.
13718 * tabular.[Ch]: add BufferParams to several function so that newly
13719 created paragraph can be initialized to he default layotu for the
13722 * tabular-old.C (ReadOld): add buf->params to call of Init
13724 * screen.C: rename text->first to text->first_y
13726 * paragraph.C (breakParagraph): always set layout in the broken
13729 * lyxtextclass.C (Read): remove lowercase
13732 (delete_layout): ditto
13734 * lyxtext.h: rename first -> first_y
13736 * lyxlayout.C (Read): remove lowercase
13739 (obsoleted_by): ditto
13741 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13743 * buffer.C (insertErtContents): add params are to InsetERT
13744 (parseSingleLyXformat2Token): add code to check if a paragraphs
13745 layout really exist.
13746 (parseSingleLyXformat2Token): add params to several inset
13748 (asciiParagraph): remove lowercase, do the layout comparisons with
13751 * BufferView_pimpl.C (cursorNext): first -> first_y
13752 (resizeCurrentBuffer): first -> first_y
13753 (updateScrollbar): first -> first_y
13754 (scrollCB): first -> first_y
13755 (workAreaMotionNotify): first -> first_y
13756 (workAreaButtonPress): first -> first_y
13757 (checkInsetHit): first -> first_y
13758 (cursorPrevious): first -> first_y
13759 (cursorNext): first -> first_y
13760 (Dispatch): add buffer_->params to severl inset contructors
13762 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13764 * lyxlayout.C (Read): remove some debug info that I forgot.
13766 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13767 clean up the code slightly.
13768 (makeLinuxDocFile): ditto
13769 (makeDocBookFile): ditto
13771 * text2.C: layout as string
13773 * text.C: layout as string
13775 * paragraph_pimpl.C: layout as string
13777 * paragraph.[Ch]: layout as string
13779 * lyxtextclasslist.[Ch]: layout as string
13781 * lyxtextclass.[Ch]: layout as string
13783 * lyxtext.h: layout as string
13785 * lyxlayout.[Ch]: layout as string
13787 * lyx_cb.C: layout as string
13789 * bufferview_funcs.C: layout as string
13791 * bufferparams.C: layout as string
13793 * buffer.C: layout as string
13795 * LyXView.[Ch]: layout as string
13797 * LaTeXFeatures.[Ch]: layout as string
13799 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13801 * BufferView_pimpl.C: change current_layout to string, remove
13806 (workAreaButtonRelease): layout as string
13808 * BufferView2.C (unlockInset): adjust
13810 * vspace.C (asLatexCommand): use an explict temp variable.
13812 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13814 * Makefile.am: use FRONTEND_*
13816 2002-03-01 Juergen Vigna <jug@sad.it>
13818 * tabular.C (SetWidthOfMulticolCell): changed to something better
13819 I hope but still work in progress.
13820 (recalculateMulticolumnsOfColumn): renamed function from
13821 recalculateMulticolCells as it is more appropriate now.
13822 (SetWidthOfCell): calculate multicols better.
13824 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13826 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13828 * lyxfunc.C (processKeySym): print sequence also if it is
13829 `deleted' (complete)
13831 * kbsequence.C (print): print sequence even if it is deleted
13832 (complete would be a better word, actually).
13834 * lyxfunc.C (dispatch): print complete options after a prefix key
13836 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13838 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13840 * text2.C (setCharFont): eliminate setCharFont code duplication.
13842 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13844 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13845 LFUN_TABULAR_FEATURE (bug #177)
13847 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13849 * Makefile.am: remove figure.h
13851 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13853 * Bufferview_pimpl.C:
13865 * text2.C: remove #include "lyx_gui_misc.h".
13867 * LaTeX.C: added #include <cstdio>
13869 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13871 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13872 that the paragraph following this one can have.
13874 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13876 * vspace.C (asLatexCommand): fix bogus gcc warning
13878 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13880 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13882 * text2.C (setLayout): get rid of redundant code
13884 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13886 * text2.C (incDepth): make sure depth cannot be increased beyond
13889 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13891 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13892 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13894 * PainterBase.h (image):
13895 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13896 a LyXImage const *.
13898 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13902 * BufferView_pimpl.C:
13903 * BufferView_pimpl.h:
13923 * sp_spell.C: remove fig inset, and the crap house of
13924 cards that follows it
13926 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13931 * os2_errortable.h:
13932 * nt_defines.h: move .h into support/
13934 * vms_defines.h: remove
13936 * WorkArea.C: add space in debug output
13940 * buffer.C: add WITH_WARNINGS
13944 * bufferlist.C: s/retrive/retrieve/, add docs
13953 * chset.C: add docs
13955 * lyxgui.C: add ID to X error handler
13957 * lyxtestclass.c: fix typo
13959 2002-02-26 Juergen Vigna <jug@sad.it>
13961 * tabular_funcs.C (write_attribute): changed so that some default
13962 attributes are not written at all.
13963 (getTokenValue): set default values before trying to read the
13964 value so we have the return value always set as default if we don't
13965 find the token we search for.
13967 * tabular.C (Write): write bools as bools not as strings!
13969 2002-02-22 Juergen Vigna <jug@sad.it>
13971 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13972 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13974 * text.C (leftMargin): don't add an indent for paragraphs inside
13975 tabular cells (fix #208).
13977 2002-02-21 José Matos <jamatos@fep.up.pt>
13979 * tabular.C (docBook): fixed support for long tables.
13981 2002-02-20 Juergen Vigna <jug@sad.it>
13983 * text2.C (getFont): get the drawing font of the Inset if this
13984 paragraph is inside an inset (only important for InsetERT for now).
13986 * buffer.C (insertErtContents): use new lanugage params in ERT
13989 * CutAndPaste.C: commenting out seemingly uneeded code.
13991 2002-02-19 Allan Rae <rae@lyx.org>
13993 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13994 Iterators might be simple to use but they also get invalidated.
13995 (removeAutoInsets): renamed saved cursor tracking variables and added
13996 some comments to clarify what everything does.
13998 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
14005 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14006 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14009 * vc-backend.h: remove #include "support/syscall.h"
14013 * converter.C: rearrange #includes in Lars' approved fashion.
14015 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14016 forward declare class Timeout in the header file.
14018 * XFormsView.C: changes due to the above.
14020 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14021 similar to LyXView.
14023 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14024 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14026 2002-02-18 José Matos <jamatos@fep.up.pt>
14028 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14031 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14033 * a lot of small ws changes
14034 * add a lot of using std::XXX
14035 * use std construcs some places where approp.
14036 * use some exisint stuff from lyxfunctional where approp.
14037 * Make file changes to use partial linking (lets test this now...)
14039 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14043 remove #include "support/syscontr.h" as it's redundant. Always has been.
14051 change Systemcalls::System to Systemcalls::Wait and
14052 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14053 No change of functionality, just reflects the stripped down Systemcalls
14056 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
14058 * debug.[Ch]: add a GRAPHICS type to the enum.
14060 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14062 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14064 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14067 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14069 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14070 match the changes below.
14072 * text2.C (toggleInset): if there is not editable inset at cursor
14073 position, try to see if cursor is _inside_ a collapsable inset
14076 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14078 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14079 document menu has a nice checkbox
14081 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14083 * lyxlength.C (asLatexString): change PW to output as percent of
14086 * lengthcommon.C: change '%' to 't%'
14088 * lyxfunc.C (dispatch): a few comments from Martin
14090 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
14094 * BufferView_pimpl.h:
14095 * BufferView_pimpl.C: clear our selection when X tells us we've lost
14098 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14100 * vspace.C (inPixels): fix compiler warning
14102 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14104 * lyxfunc.C (getStatus): fix status message for disabled commands.
14106 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14108 * BufferView_pimpl.C: fix crash on close buffer
14109 during selection (#227)
14111 2002-01-27 Herbert Voss <voss@lyx.org>
14113 * buffer.C: link old Figure to new graphic inset
14115 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14117 * FontLoader.C (getFontinfo): Change the latex font names in order
14118 to match the names of type1inst.
14120 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14122 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14124 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14125 (extchanged): ditto
14127 (remove_files_with_extension): ditto
14128 (remove_file): ditto
14131 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14132 document is smaller than the work area height. Do not initialize
14133 static variables to 0.
14135 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14137 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14139 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14140 LFUN_LAYOUT_PARAGRAPHS.
14142 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14143 tabular. It is possible to provide a possible cell, which will
14144 typically be the actcell from the corresponding insettabular
14146 * lyxfunc.C (getStatus): small cleanup; disable
14147 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14150 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14152 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14154 * paragraph.C (startTeXParParams):
14155 (endTeXParParams): new methods. The LaTeX code to
14156 start/end paragraph formatting
14157 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14158 empty (fixes bug #200)
14160 * vspace.C (inPixels): adapt to the change below
14161 (inPixels): [later] more cleanups (remove unused variables)
14163 * lyxlength.C (inPixels): change to use a width and a height as
14166 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14168 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14169 Replaced with \paperwidth
14171 * DepTable.C (insert): add std:: qualifier
14173 2002-01-18 Allan Rae <rae@lyx.org>
14175 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14178 * text.C (drawInset): Turned out I didn't know enough about how
14179 rebreaking worked. This fixes most of the redraw problems. I see
14180 an occasional cursor trail when a line is broken now and the cursor
14181 placement can seem out by a few pixels also after a rebreak.
14183 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14185 * buffer.C (parseSingleLyXformat2Token): update because minipage
14186 width is now a LyXLength
14188 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14190 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14193 2002-01-17 Juergen Vigna <jug@sad.it>
14195 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14197 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14198 is set correctly and the inset is updated correctly.
14200 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14202 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14203 the beginning of the loop.
14205 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14207 * lyxrc.C: improve help for use_scalable_fonts
14209 2002-01-17 Allan Rae <rae@lyx.org>
14211 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14213 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14215 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14216 make sure to set their inset_owner to the right value (bug #171)
14218 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14221 * DepTable.C: Implement mtime checking to reduce time spent doing
14224 2002-01-16 Juergen Vigna <jug@sad.it>
14226 * tabular.C (GetAdditionalHeight): one of error fixed.
14228 * lyxrc.C (output): small fix in writing use_pspell.
14230 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14232 * sp_base.h: #include LString.h
14234 2002-01-16 Allan Rae <rae@lyx.org>
14236 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14237 Can someone check this please?
14239 * text.C (drawInset): It was possible that p.row would be removed by
14240 breakAgainOneRow upsetting a few other settings. There may be another
14241 small tweak possible by setting need_break_row = 0 when p.row has been
14242 removed but I don't know enough about the logic here.
14244 2002-01-15 Allan Rae <rae@lyx.org>
14246 * text.C (insertChar): removed conditional truism.
14248 * BufferView2.C (removeAutoInsets): More tweaks.
14249 cur_par_prev could be a stray pointer. Check for trailing empty line
14250 in case last line was cur_par and only had an error inset on it.
14252 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14254 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14257 * vc-backend.C (most methods):
14258 * exporter.C (Export):
14259 * converter.C (convert):
14261 * LyXSendto.C (SendtoApplyCB):
14262 * lyxfunc.C (dispatch):
14266 * lyx_cb.C (AutoSave):
14268 * BufferView_pimpl.C (MenuInsertLyXFile):
14269 * buffer.C (runChktex): use Buffer::filePath().
14271 * buffer.h: rename filename to filename_; rename filepath to
14272 filepath_ and make it private
14273 (filePath): new method
14275 * buffer.C (writeFile): use fileName()
14278 * lyx_main.C (init): fix starting of LyX when the binary is a
14279 link from so,ewhere else.
14281 * minibuffer.C: include <cctype> for isprint
14283 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14285 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14286 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14287 name clash with InsetCollapsable's width function.
14289 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14291 * lastfiles.C: include <iterator>
14293 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14295 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14298 * buffer.C (makeLaTeXFile): ditto.
14299 Also make loop operation more transparent.
14301 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14303 * ToolbarDefaults.C: remove trailing comma closing namespace.
14305 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14307 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14310 * trans.C (Load): comment out unused variable, allowed.
14312 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14314 * minibuffer.[Ch] (append_char): new method to recieve input from the
14315 drop-down completion browser. If a key was pressed, then recieve this
14316 char and append it to the existing string.
14317 (peek_event): modify the positioning data passed to the completion
14318 browser so that it can be placed above the minibuffer rather than below.
14319 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14321 * LyXAction.C (init): alloe error-next for readonly documents.
14323 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14326 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14328 * bufferlist.C (readFile): create the buffer _after_ checking that
14331 * lyxfunc.C (verboseDispatch): fix handling of arguments
14333 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14335 * lyxrc.C: use string::erase() instead of initializing to "".
14338 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14340 * BufferView_pimpl.h:
14341 * BufferView_pimpl.C:
14344 * text2.C: tell X when we have made a selection for copying
14346 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14348 * BufferView_pimpl.C (MenuInsertLyXFile):
14349 * lyxfunc.C (menuNew):
14351 (doImport): add shortcuts to directory buttons
14353 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14356 * lyxfunc.C (setStatusMessage):
14357 (getStatusMessage): new methods
14358 (getStatus):use setStatusMessage instead of setErrorMessage
14359 (dispatch): when function is disabled, set error message here
14360 [instead of in getStatus previously]
14362 * BufferView_pimpl.C (workAreaButtonRelease): update
14363 toolbar/menubar here too.
14365 2002-01-13 Allan Rae <rae@lyx.org>
14367 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14368 Now seems indestructible. Remaining task is to audit all other
14369 code affected by deleteEmptyParagraphMechanism. One small quirk
14370 left is that an empty document with an error in the preamble can
14371 be made to report an error but no error box appears. I don't know
14373 (removeAutoInsets): Improved comments.
14375 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14378 * Thesaurus.C: update for Aiksaurus 0.14
14380 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14382 * text2.C (firstParagraph): removed member function, all uses
14383 replaces with ownerParagraph
14384 (redoParagraphs): here
14385 (updateInset): here
14386 (toggleAppendix): here
14387 * BufferView2.C (insertErrors): here
14388 (setCursorFromRow): here
14390 2002-01-13 Allan Rae <rae@lyx.org>
14392 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14393 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14394 There is still a way to segfault this although you may have to do this
14395 multiple times: Have an InsetERT with an unknown command in it.
14396 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14397 <down-arrow>, <Enter> again, View->DVI, BANG!
14399 * text2.C (setCursor):
14400 (deleteEmptyParagraphMechanism):
14401 * lyxtext.h (setCursor):
14402 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14403 Making use of the return value may help fix other bugs.
14405 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14407 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14409 * LyXView.C (updateMenubar): call MenuBar::update here
14410 (updateToolbar): but not here
14411 (showState): do not update toolbar/menubar
14413 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14414 should need to care about that.
14416 * lyxfunc.C (verboseDispatch): simplify a bit
14417 (getStatus): have a version which takes a pseudoaction, and
14418 another which requires a (kb_action,string).
14420 * LyXAction.C (retrieveActionArg): make it work also when action
14421 is not a pseudo-action.
14422 (getActionName): simplify a bit
14425 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14427 * lyxfunc.C (verboseDispatch): new families of methods with
14428 several ways to specify a command and a bool to indicate whether
14429 the command name and shortcut should be displayed in minibuffer
14430 (eventually, we could extend that to a finer bitmask like
14431 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14432 (dispatch): the pristine dispatch command which just, well,
14433 dispatchs! Note it still sets its result to minibuffer; I'm not
14436 * lyxfunc.h: remove setHintMessage
14438 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14440 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14442 * BufferView_pimpl.C (specialChar): delete new inset if we have
14443 not been able to insert it.
14445 * kbmap.C: revert to using int instead of kb_action, since all we
14446 are dealing with is pseudo-actions.
14448 * LyXAction.C (searchActionArg): change to return int instead of
14449 kb_action, since the result is a pseudoaction.
14451 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14453 * buffer.C (insertErtContents): Fix (partially) the font bug.
14455 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14457 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14458 as the other one is broken on my machine!
14460 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14463 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14465 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14467 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14468 reflect their actual use. Provide compatibility code for older lyxrc
14471 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14473 change names of popup font variables in line with the changes to lyxrc.C
14475 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14477 * buffer.C (asciiParagraph): avoid outputing a word twice after
14480 * lyxrc.C (getDescription): document that document_path and
14481 template_path can be empty.
14483 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14485 * LaTeXFeatures.C (getMacros):
14486 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14488 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14490 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14492 (getPackages): rename feature "floats" to "float". Use an array to
14493 iterate over 'simple' features (i.e. just a \usepackage). Add
14494 handling of "amsmath" (renamed from "amsstyle").
14496 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14498 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14501 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14503 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14504 FuncStaus::FuncStatus & FuncStaus::some_method().
14506 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14508 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14509 of the func_satus stuff. Edited and massaged in various ways by
14512 * lyxfunc.C (getStatus): use FuncStatus
14514 2002-01-08 Juergen Vigna <jug@sad.it>
14516 * text.C (nextBreakPoint): use function Inset::isChar().
14518 * paragraph.C (TeXOnePar): use function
14519 Inset::forceDefaultParagraphs.
14521 * buffer.C (latexParagraphs): use function
14522 Inset::forceDefaultParagraphs.
14524 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14526 * lyx_gui.C (init): set the style of the menu popups to
14527 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14529 2002-01-07 Juergen Vigna <jug@sad.it>
14531 * text.C (setHeightOfRow): small fix
14532 (prepareToPrint): don't look at alignment if we don't have the place
14535 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14537 * box.C: New file. Move the Box methods and functions out of box.h,
14538 following Lars' suggestion.
14540 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14542 * box.h: #include "support/LOstream.h", needed for inlined function.
14545 * lyxtextclasslist.C: added some using std declarations.
14547 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14549 * box.h: make signed dimensions to allow insets wider than
14550 the screen (bug #162)
14552 * BufferView_pimpl.C: add some insetHit debug
14554 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14556 * vc-backend.C: add FIXME
14558 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14560 * lyxfunc.C (getStatus): enable code for showing math font status
14563 2002-01-07 Juergen Vigna <jug@sad.it>
14565 * text.C (nextBreakPoint): removed debug output not needed anymore.
14567 2002-01-06 Juergen Vigna <jug@sad.it>
14569 * text.C (nextBreakPoint): fixed up this function we had this bug
14570 since ever but now hopefully we break row better.
14571 (insertChar): we have to check if an inset is the next char as it
14572 could now happen that a large inset is causing a break.
14574 2002-01-05 Juergen Vigna <jug@sad.it>
14576 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14577 if it doesn't like to be drawed.
14579 2002-01-04 Juergen Vigna <jug@sad.it>
14581 * BufferView2.C (lockInset): forgot to set a cursor.
14583 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14585 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14587 * FormMathsPanel.C:
14590 * form_maths_panel.C:
14591 * form_maths_panel.h:
14592 * form_maths_panel.fd: implemented sub- and super- buttons in math
14595 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14596 (or ^ space) to be used as in TeX (req'd by Andr�.
14598 * lyxfunc.C: Allow ^ and _ again to be used both as
14599 super/subscript (mathed) and as themselves (in text).
14601 2002-01-03 Allan Rae <rae@lyx.org>
14603 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14604 "LyX" or the filename of the current buffer if it has one. This is a
14605 modified form of John Levon's patch.
14607 * XFormsView.C (setWindowTitle): also set icon title.
14609 * LyXView.h (setWindowTitle): signature changed.
14610 * XFormsView.h (setWindowTitle): ditto.
14612 2002-01-02 Juergen Vigna <jug@sad.it>
14614 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14616 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14618 * screen.C (topCursorVisible): introduce a temp var for
14619 text->cursor.row(), handle the case where this row is null. (kindo
14622 * text2.C (setCursor): add a couple of asserts.
14624 * paragraph.h (inset_iterator): add -> operator
14626 * paragraph.[Ch] (autoDeleteInsets): remove member function
14628 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14629 cursor pos correctly and handle inset deletion by itself.
14630 (insertErrors): move iterator declaration out of for expression
14632 * lyxtextclass.C: add <algorithm>
14634 * Makefile.am: added the new files to sources, removed layout.C
14636 * layout.C: removed file
14638 * layout.h: remove LYX_DUMMY_LAYOUT
14640 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14644 * lyxtextclass.[Ch]:
14645 * lyxtextclasslist.[Ch]: new files
14647 * include order changes to a lot of files, also changes because of
14650 2001-12-27 Juergen Vigna <jug@sad.it>
14652 * buffer.C (asciiParagraph): more fixes.
14654 * tabular.C (ascii): make ascii export support export of only the
14655 data separated by a column-delimiter.
14656 (ascii): better support for ascii export.
14658 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14660 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14662 * tabular_funcs.C: use a "using std::getline" instead of the
14663 previous fix from Angus (necessary for cxx + lyxstring)
14665 2001-12-24 Juergen Vigna <jug@sad.it>
14667 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14669 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14670 problems. First check a minipage also if we have some ert-contents
14671 (not only on par->size(), second set the right depth of the paragraph
14672 on the relink to the root-paragraph-list!
14674 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14675 which then did not anymore update the main paragraphs on undo/redo!
14677 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14679 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14680 code. Support all font-changing funcs (even those which are not in
14681 menu currently). Support for reporting font settings in
14682 mathed (disabled until Andre provides a function on mathed's side).
14684 * func_status.h (toggle): small helper function to set toggle
14687 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14689 * tabular_funcs.C: getline -> std::getline
14691 2001-12-21 Juergen Vigna <jug@sad.it>
14693 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14694 accessed and could be 0 (I couldn't generate this but it seems
14697 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14699 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14700 * tabular_funcs.h: here and include iosfwd
14702 2001-12-20 Juergen Vigna <jug@sad.it>
14704 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14705 inside inset but undo_par was.
14707 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14709 * Thesaurus.C: always include <config.h> in sources.
14713 * box.h: do not include <config.h> in header files
14715 * text.C (paintLastRow): remove unused variable
14717 * text.C (transformChar):
14719 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14721 * Painter.C (text):
14722 * font.C (width): rewrite to use uppercase() instead of
14725 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14727 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14729 * lyxfind.C: clean up of find failure position change
14731 2001-12-20 Juergen Vigna <jug@sad.it>
14733 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14735 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14736 (TeXRow): added to LaTeX a single tabular row.
14737 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14738 (Latex): simplified and finally good LT-h/f support.
14739 (various_functions): just small adaptions for LT-h/f support.
14741 * tabular_funcs.[hC]: added and moved here all not classfunctions
14744 2001-12-19 Juergen Vigna <jug@sad.it>
14746 * tabular.[Ch]: better support for longtabular options (not finished
14749 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14751 * text.C (paintLastRow): use the label font instead of the font of
14752 the last character to compute the size of *_BOX. This makes more
14753 sense and avoids a crash with empty paragraphs.
14754 Use Painter::rectangle to draw EMPTY_BOX.
14756 2001-12-19 Juergen Vigna <jug@sad.it>
14758 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14759 the paragraphs if the replaced paragraph is not the first one!
14760 Tried to delete not used paragraphs but does not work yet so for
14761 now it's inside #ifdef's and by default off!
14763 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14765 * MenuBackend.C: include "lyx_main.h" instead of declaring
14766 lastfiles (actually was declared as LastFiles* instead of a
14769 2001-12-17 Juergen Vigna <jug@sad.it>
14771 * tabular.C (AppendColumn): applied John's fix
14773 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14777 * BufferView_pimpl.h:
14778 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14781 * box.h: new start of class for above
14783 * lyxfunc.C: ignore space-only minibuffer dispatches.
14784 Show the command name when it doesn't exist
14786 * minibuffer.C: don't add empty lines to the history
14788 * minibuffer.C: add a space on dropdown completion
14790 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14792 * text.C: fix line above/below drawing in insets
14794 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14796 * lyxlength.C (LyXLength): Initialize private variables.
14798 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14800 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14801 when inserting error insets.
14803 2001-12-13 Juergen Vigna <jug@sad.it>
14805 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14806 actually sometimes the before-paragraph.
14807 (setUndo): don't clear the redostack if we're not actually undoing!
14809 2001-12-06 Juergen Vigna <jug@sad.it>
14811 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14812 and fixed redoing of main paragraph, so we can use it now ;)
14814 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14816 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14818 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14821 2001-12-13 André Pönitz <poenitz@gmx.net>
14824 * undo_func.C: minor cleanup
14826 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14828 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14829 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14830 font in urw-fonts package which is marked as -urw-fontspecific and
14831 does not work (incidentally, changing the encoding in the
14832 fonts.dir of this package to -adobe-fontspecific fixes the
14835 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14836 is a crash when undoing first paragraph (Juergen, please take a
14837 look). THis does not mean the undo fix is wrong, just that it
14840 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14841 the (Paragraph*) version when needed instead of duplicating the
14844 * text.C (workWidth): use Inset::parOwner to find out where the
14845 inset has been inserted. This is a huge performance gain for large
14846 documents with lots of insets. If Inset::parOwner is not set, fall
14847 back on the brute force method
14849 * paragraph_pimpl.C (insertInset):
14850 * paragraph.C (Paragraph):
14851 (cutIntoMinibuffer): set parOwner of insets when
14852 inserting/removing them
14854 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14856 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14862 * mathed/formulabase.C:
14863 * mathed/math_cursor.[Ch]:
14864 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14867 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14869 * lyxlength.[Ch] (operator!=): new function
14871 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14873 * text.C (workWidth): use Inset::parOwner to find out where the
14874 inset has been inserted. This is a huge performance gain for large
14875 documents with lots of insets. If Inset::parOwner is not set, fall
14876 back on the brute force method
14878 * paragraph_pimpl.C (insertInset):
14879 * paragraph.C (Paragraph):
14880 (cutIntoMinibuffer): set parOwner of insets when
14881 inserting/removing them
14883 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14885 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14887 * tabular-old.C (getTokenValue):
14888 * tabular.C (getTokenValue):
14889 (write_attribute): new versions for LyXLength
14890 (everywhere): adjust the use of widths
14892 * tabular.h: change the type of widths from string to LyXLength
14894 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14896 * paragraph.C: fixed missing line number count when exporting
14897 Environments to LaTeX file
14899 * buffer.C: added informational message for checking line numbers.
14901 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14903 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14904 paragraph, do the 'double space' part, but not the 'empty
14907 * text.C (workWidth): small optimization
14908 (getLengthMarkerHeight): use minimal size for negative lengths.
14910 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14912 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14914 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14916 2001-12-11 André Pönitz <poenitz@gmx.net>
14919 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14921 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14923 * text2.C: keep selection on a setFont()
14925 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14927 * lyx_cb.C: another bv->text misuse, from insert label
14929 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14932 * kbsequence.C: re-instate nmodifier mask
14934 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14936 * lyx_main.h: make lyxGUI private.
14938 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14940 * lyxfind.C: place the cursor correctly on failed search
14942 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14944 * text.C (getLengthMarkerHeight): for small heights, the arrows
14945 are not always on top/bottom of the text
14946 (drawLengthMarker): smaller arrows; take the left margin in
14947 account; draw also vfills.
14949 (paintLastRow): remove special code for vfill and standard spaces,
14950 since everything is handled in drawLengthMarker now.
14952 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14954 * buffer.C (insertErtContents): try to handle font and language
14955 interaction a bit better.g
14957 * ColorHandler.C (updateColor): change the hash to cover the whole
14958 LColor enum, ws cleanup
14959 (getGCLinepars): ditto
14960 (getGCLinepars): only lookup in the linecache once.
14962 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14964 * iterators.C (operator++): Make the iterator more robust
14966 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14968 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14970 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14973 * text.C: better added space drawing
14975 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14978 * BufferView2.C: fix layout combo update on inset unlock
14980 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14982 * Makefile.am: don't compile unused files
14984 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14988 * LyXAction.C: remove old LFUN_LAYOUTNO
14990 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14992 * paragraph_pimpl.h:
14993 * paragraph_pimpl.C: isTextAt() doesn't need font param
14995 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14998 * lyxlex.C: little cleanup
15000 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
15002 * BufferView_pimpl.C: fix insertAscii for insets
15004 2001-12-05 Juergen Vigna <jug@sad.it>
15006 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15007 set the right font on the "multi" paragraph paste!
15009 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15015 * lyxlength.C: remove out-commented code.
15017 * BufferView_pimpl:
15031 * vc-backend.C: change "while(" to "while ("
15033 * lyxlength.[Ch]: add zero function to check if length is zero or
15035 * lyxgluelength.C: use it
15037 2001-12-05 Allan Rae <rae@lyx.org>
15039 * lyxlength.C: Attempted a fix for the abs(int) header selection.
15040 Works for 2.95.3, from what I understand of Garst's reports this should
15041 work for other g++ versions. We're screwed if the abs(int) definition
15042 changed between bugfix releases of gcc.
15044 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15046 * text.C: fix chapter label offset !
15048 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
15051 * text.C: fix hfill at end of line, clean up
15053 2001-12-04 Juergen Vigna <jug@sad.it>
15055 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15056 that we force an update of the inset and it's owners if neccessary.
15058 2001-12-03 Juergen Vigna <jug@sad.it>
15060 * text.C (rowLast): simplified code
15062 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
15064 * lyxfunc.C: fix show options on timeout
15066 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15068 * screen.C (topCursorVisible): scroll half a page when the cursor
15069 reached top of bottom of screen
15071 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
15073 * minibuffer.C: deactivate on loss of focus
15075 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15077 * vspace.[Ch] (operator!=): add operator.
15079 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
15081 * BufferView_pimpl.C: refuse to open an inset when
15082 there's a selection.
15084 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
15086 * BufferView_pimpl.C: allow to click on RHS of full row insets
15088 2001-11-30 Juergen Vigna <jug@sad.it>
15090 * tabular.C (LyXTabular): add a same_id to set the same id's in the
15091 insets for undo reasons.
15093 2001-11-28 André Pönitz <poenitz@gmx.net>
15095 * vspace.[Ch]: cosmetical changes
15097 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15107 * kbsequence.C: part re-write of old kb code
15110 * WorkArea.C: remove Lgb_bug_find_hack
15112 2001-11-30 José Matos <jamatos@fep.up.pt>
15114 * buffer.C (makeDocBookFile): add a comment to point a hack.
15115 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15116 Fixed a double write of labels.
15118 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15121 * LaTeX.h Fixed bug in LaTeX class where it would not
15122 re-run latex if no depfiles were changed, but the .dvi was removed.
15124 2001-11-28 André Pönitz <poenitz@gmx.net>
15126 * all the files from the change on 2001/11/26:
15127 use lyx::layout_type instead of LyXTextClass::size_type
15128 use lyx::textclass_type instead of LyXTextClassList::size_type
15130 2001-11-29 Juergen Vigna <jug@sad.it>
15132 * text.C: added support for paragraph::isFreeSpacing()
15134 * buffer.C: same as above
15136 * paragraph.h: inserted isFreeSpacing() function to enable
15137 FreeSpacing inside InsetERT.
15139 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15140 of the paragraph's in the cut/copy buffer to 0!
15142 * text2.C (removeRow): remove the assert as it can!
15144 * lyxtext.h: added helper function firstRow returning firstrow and
15145 made firstrow private again.
15147 * BufferView2.C (lockInset): don't relock if we're already locked!
15149 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15150 the only paragraph.
15151 (removeRow): added Assert::(firstrow)
15153 * debug.C: forgot to add INSETTEXT here.
15155 2001-11-28 Juergen Vigna <jug@sad.it>
15157 * sp_spell.C (initialize): changed error text to more general
15158 spellchecker command use (not only ispell!)
15160 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15162 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15164 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15166 * vspace.C: initialise lyxgluelength on failure
15168 2001-11-28 Allan Rae <rae@lyx.org>
15170 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15171 declaration & definition that looks like a function declaration.
15173 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15175 * BufferView2.C (copy):
15176 (copyEnvironment): do not clear the selection when doing a copy.
15178 * text.C (paintFirstRow): compilation fix
15180 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15182 * tabular.C (Latex): correct line count when writing latex.
15184 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15186 * paragraph_pimpl.h:
15187 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15190 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15194 * LColor.C: change vfillline->added_space
15196 * text.C: add markers and text for added space
15198 * vspace.C: fix comment
15200 2001-11-28 André Pönitz <poenitz@gmx.net>
15202 * paragraph.C: whitespace changes
15203 * all the other files from the change on 2001/11/26:
15204 change *::pos_type into lyx::pos_type
15206 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15208 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15209 language of the document when inserting error insets.
15211 2001-11-26 André Pönitz <poenitz@gmx.net>
15213 * BufferView_pimpl.[Ch]:
15221 * paragraph_pimpl.[Ch]:
15224 * text2.C: reduce header dependencies, introduce type for positions
15226 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15228 * <various>: change to use Alert.h
15230 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15232 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15233 when encountering an unknown token.
15234 (readLyXformat2): Show an error message if there were unknown tokens.
15236 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15239 * BufferView_pimpl.C:
15243 * text2.C: use par->isInset()
15245 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15247 * paragraph_pimpl.h:
15248 * paragraph_pimpl.C: cleanup
15250 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15252 * text2.C (removeRow):
15253 * text.C (setHeightOfRow): remove useless (and costly) call to
15256 2001-11-20 Allan Rae <rae@lyx.org>
15258 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15259 Now need Inset*::checkInsertChar() to return true for appropriate
15260 cases so that the characters in the minibuffer will actually be
15263 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15265 * text.C: change the order of the includes.
15266 (workWidth): initialize it at once.
15267 (workWidth): make maxw unsigned
15268 (setHeightOfRow): remove unused variable (inset)
15269 (selectSelectedWord): remove unused variable (inset)
15270 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15272 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15274 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15275 server is not running.
15277 (closeConnection): add debug info when server is disabled.
15279 * ColorHandler.C (getGCForeground): send debug message to GUI
15282 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15284 * kbmap.C (bind): modify because return conventions of
15285 kb_sequence::parse have changed.
15287 * kbsequence.C (parse): only ignore spaces and not any stupid
15288 control character. This avoids tests like s[i] <= ' ', which are
15289 guaranteed to fail with 8bit characters and signed chars.
15290 Change return code to string::npos when there have been no error
15291 (0 was a bad idea when error is at first character)
15293 2001-11-14 José Matos <jamatos@fep.up.pt>
15296 * buffer.C (simpleDocBookOnePar): removed unused argument.
15298 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15300 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15301 insets which are part of a word. Paragraph::isLetter takes care of
15302 that now. Use Paragraph::isInset to identify insets.
15303 (selectSelectedWord): do not test for hyphenation break.
15305 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15306 that protected spaces are considered as spaces.
15308 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15311 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15314 * lyxserver.C: fix it. and small cleanup.
15316 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15318 * BufferView_pimpl.C: use inline helpers
15321 * LaTeXFeatures.C: fix typos
15324 * Spacing.C: move spacing_string into class
15326 * ToolbarDefaults.C: move stuff into namespace anon
15328 * layout.h: update enum
15330 * lyxfunc.C: use better debug
15332 * minibuffer.h: fix typo
15336 * WorkArea.C: add and use Debug::WORKAREA
15340 * text2.C: code re-organisation, inline helpers
15342 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15344 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15345 std::vector.empty().
15347 2001-11-09 Allan Rae <rae@lyx.org>
15349 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15350 '\n's after tables. Tabular and ERT inset work now makes this no
15353 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15356 * minibuffer.C: fix crash, improve drop-down completion
15358 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15361 * lyxserver.C: invalidate fd's when doing endPipe()
15363 2001-11-08 José Matos <jamatos@fep.up.pt>
15365 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15366 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15369 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15371 2001-11-07 José Matos <jamatos@fep.up.pt>
15374 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15377 * buffer.C (sgmlOpenTag):
15378 * buffer.C (sgmlCloseTag): removed debug info.
15380 * buffer.h (sgmlOpenTag):
15381 * buffer.h (sgmlCloseTag): made public.
15383 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15385 * buffer.C (saveParamsAsDefaults):
15386 * lyx_cb.C (MenuLayoutSave): remove
15388 * LyXAction.C (init):
15390 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15392 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15394 * buffer.C (setPaperStuff): removed from here...
15396 * bufferparams.C (setPaperStuff): ... and moved there.
15398 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15402 * XFormsView.C: add support for drop-down completion
15404 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15406 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15409 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15411 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15414 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15416 * lyx_main.C: change ref to known bugs
15418 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15420 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15421 to work around older babel problems.
15423 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15425 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15427 2001-10-24 Juergen Vigna <jug@sad.it>
15429 * tabular-old.C (ReadOld): below variable changes reflected.
15431 * tabular.[Ch]: added ltType struct for longtable header/footer
15432 defines and changed all instances where they are used. Added
15433 future support for double top/bottom rows.
15435 2001-10-24 José Matos <jamatos@fep.up.pt>
15437 * buffer.h (docbookHandleCaption):
15438 * buffer.C (docbookHandleCaption): removed unused function.
15439 (makeDocBookFile): moved docbook supported version to v4.1.
15441 2001-10-24 José Matos <jamatos@fep.up.pt>
15444 * tabular.C (docbookRow): new function to export docbook code of a row.
15445 (DocBook): now honors the longtable flags.
15447 2001-10-23 José Matos <jamatos@fep.up.pt>
15450 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15451 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15453 * buffer.C (makeLinuxDocFile):
15454 (makeDocBookFile): reworked the preamble, more clean, and with
15455 support for lyx defined entities. Changed the document declaration
15456 to be more XML friendly.
15458 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15459 if we need to output XML that should be done with a filter.
15461 2001-10-22 Juergen Vigna <jug@sad.it>
15463 * sp_pspell.h (class PSpell): add alive function needed in the
15464 controller to see if the spellchecker could be started.
15466 2001-10-22 Juergen Vigna <jug@sad.it>
15468 * buffer.C (insertStringAsLines): modify the font for inserting
15469 chars in certain conditions by calling checkInsertChar(font).
15471 2001-10-19 Juergen Vigna <jug@sad.it>
15473 * text.C (workWidth): use getRow instead of wrong algorithm.
15474 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15476 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15481 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15483 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15485 * text.C (workWidth): do not search for the exact row when
15486 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15487 optimization for big documents.
15489 2001-10-18 Juergen Vigna <jug@sad.it>
15491 * text.C (workWidth): new function with added Inset * parameter.
15493 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15495 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15497 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15498 change return type of getColumnNearX.
15501 * text.C (changeRegionCase): use uppercase/lowercase instead of
15504 (rightMargin): simplify code by factoring out the uses of
15509 (appendParagraph): use Paragraph::size_type
15511 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15513 * vspace.C (asLatexString): add a missing break
15515 2001-10-15 Herbert Voss <voss@perce.de>
15517 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15519 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15521 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15524 2001-10-10 André Pönitz <poenitz@gmx.net>
15526 * lyxfunc.C: removed greek_kb_flag.
15528 2001-10-10 Herbert Voss <voss@perce.de>
15530 * lyx_main.C: delete global string help_lyxdir.
15532 2001-10-09 Herbert Voss <voss@perce.de>
15534 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15536 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15538 * lyx_main.C: added global string help_lyxdir.
15540 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15542 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15544 * lyxrc.C (set_font_norm_type): support iso8859-4
15546 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15548 * LaTeX.C (deplog): add another regex for MikTeX
15550 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15552 * lyxrc.C (set_font_norm_type): support iso8859-3
15554 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15556 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15558 * LaTeXFeatures.C: remove special case of french and index
15560 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15561 before \begin{document}). This solves several incompatibilities.
15563 2001-10-03 Garst Reese <reese@isn.net>
15565 * lyx_cb.C: change CheckTex error msg.
15567 2001-10-03 José Matos <jamatos@fep.up.pt>
15569 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15571 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15573 * .cvsignore: update
15575 * lyx_main.C (commandLineVersionInfo): use new style version info.
15577 * buffer.C (writeFile):
15579 (makeLinuxDocFile):
15580 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15582 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15584 * version.h: update to use stuff in version.C
15586 * version.C.in: new file. Contains version information determined
15587 at compile time. This is a merging of version.h and
15590 2001-10-03 Juergen Vigna <jug@sad.it>
15592 * BufferView_pimpl.C (update): don't change "dirty" status in
15595 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15597 * WorkArea.C (c-tor): re-position version string slightly.
15599 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15601 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15602 revert to previous code.
15604 WorkArea.[Ch]: (show, destroySplash): methods removed.
15606 WorkArea.C: rework code so that it's an amalgam of the codes before and
15607 after the splash screen was moved to WorkArea.
15609 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15612 * vspace.C (inPixels):
15615 * buffer.C (insertStringAsLines):
15616 (asciiParagraph): fix types to be large enough
15618 * lyxlex_pimpl.h: change member status from short to int
15620 * layout.h: fix type of endlabeltype
15623 * kbsequence.C (parse): change return type to string::size_type
15625 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15628 * Bullet.C (bulletSize):
15629 (bulletEntry): do not use short ints as parameters
15631 * BufferView2.C (insertLyXFile): change a char to an int.
15633 * WorkArea.C (WorkArea): remove unneeded floats in computation
15635 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15637 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15639 * paragraph.C (asString): Do not ignore newline/hfill chars when
15640 copying to the clipboard.
15642 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15644 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15645 after a multi-line inset.
15647 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15649 * paragraph.C (validate): Set NeedLyXFootnoteCode
15651 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15653 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15654 and decrease-error to decrease.
15656 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15658 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15659 it more readable (should be equivalent)
15661 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15663 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15665 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15667 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15668 of a cursor (row, etc.) after a character has been deleted
15669 (deleteEmptyParagraphMechanism): call the method above on _all_
15670 cursors held by the LyXText when a double space has been
15673 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15675 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15677 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15679 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15680 background. Use greyOut() and the new show() methods to toggle between
15681 the foreground and background. Add code to remove the splash after
15682 its initial showing.
15684 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15685 (create_forms): no longer call Dialogs::showSplash.
15687 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15689 * .cvsignore: add version_info.h
15691 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15693 * version_info.h.in: new file
15695 * Makefile.am: add version_info.h.in
15697 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15698 version_info.h instead of VERSION_INFO
15700 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15702 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15703 The ERT inset now returns string().
15705 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15707 * lyxtext.h, text.C (selectNextWord): renamed as
15708 selectNextWordToSpellcheck.
15710 * text.C (selectNextWordToSpellcheck): Modified to not select
15711 words inside an ERT inset.
15713 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15715 * lyx_cb.C (MenuLayoutSave): change a bit the question
15717 * sp_base.h: include <sys/types.h>
15719 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15721 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15723 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15725 * several files: fix typos in user-visible strings
15727 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15729 * text2.C (pasteSelection): do not set the selection, since it
15730 will be cleared later. Actually, the intent was to fix the way the
15731 selection was set, but I figured rmoving the code was just as good.
15733 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15735 * FontLoader.C (available): Check if font is available without
15738 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15740 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15742 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15744 * lyxrc.[Ch]: added display_graphics variable and associated code.
15746 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15748 * bufferparams.C (hasClassDefaults): new method. Returns true if
15749 the buffer parameters correspond to known class defaults
15751 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15753 * XFormsView.C (show): set minimum size to the main window.
15755 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15757 * text2.C (copySelection):
15759 * lyxfind.C (LyXReplace):
15760 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15761 LyXText::selectionAsString.
15763 * paragraph.C (asString): add "label" argument to the second form
15765 * text2.C (selectionAsString): add "label" argument and pass it to
15766 Paragraph::asString.
15768 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15770 * lyx_main.C (commandLineHelp): remove version information
15772 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15774 * lyx_main.C: add -version commandline option
15776 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15778 * paragraph.h: make the optional constructor arg required instead.
15779 some modifications to other files because of this.
15781 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15783 * lyxserver.C (C_LyXComm_callback): make it static
15785 * lyx_main.C (error_handler): make it static
15787 * lyx_gui.C (LyX_XErrHandler): make it static
15789 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15791 * WorkArea.C: make the extern "C" methods static.
15793 * Makefile.am (lyx_LDADD): simplify
15795 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15797 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15798 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15800 * LyXAction.C (init):
15801 * lyxfunc.C (dispatch): associated code removal.
15803 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15805 * lyxfont.h (isSymbolFont): shut off warning
15807 * text.C (setHeightOfRow):
15808 (getVisibleRow): fix crash with empty paragraphs which have a
15811 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15813 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15816 2001-09-04 José Matos <jamatos@fep.up.pt>
15819 * tabular.C (docbook): rename docBook method to docbook.
15821 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15823 * Makefile.am: add dependencies to main.o.
15825 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15827 * FontLoader.C (available): Return false if !lyxrc.use_gui
15829 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15831 * FontInfo.C (query):
15832 * converter.C (view):
15833 * importer.C (Import):
15834 * exporter.C (Export): Can not -> cannot.
15836 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15838 * BufferView_pimpl.C: allow to create index inset even if
15841 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15843 * buffer.C (getLists): replace boost::tie code with an explicit pair
15844 as boost::tie can break some compilers.
15846 * iterators.h: Added a std:: declaration to the return type of
15849 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15851 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15854 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15856 * iterators.[Ch]: New files. Provide paragraph iterators.
15858 * buffer.C (changeLanguage): Use paragraph iterators.
15859 (isMultiLingual): ditto
15861 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15863 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15865 * FontLoader.C: Support for cmr font.
15867 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15869 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15870 (available): New method.
15872 * FontInfo.C (getFontname): Use scalable fonts even when
15873 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15876 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15878 * converter.C (Formats::view): reverted! Incorrect fix.
15880 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15882 * converter.C (Formats::view): only output the -paper option
15883 if the dvi viewer is xdvi, thereby fixing bug #233429.
15885 2001-08-23 Herbert Voss <voss@perce>
15887 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15889 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15891 * Spacing.h (Spacing): Set space to Default on in the default
15894 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15896 * vc-backend.h (RCS::versionString): add RCS to version
15897 (CVS::versionString): add CVS to version
15899 * vc-backend.C (scanMaster): do not add CVS to version.
15900 (scanMaster): do not add RCS to version
15902 * lyxvc.C (versionString): new method
15904 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15906 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15908 * Spacing.C (set): initialize fval
15910 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15912 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15915 2001-08-16 Juergen Vigna <jug@sad.it>
15917 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15919 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15921 * BufferView_pimpl.C:
15924 * text2.C: setParagraph takes linespacing now
15926 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15928 * LyxAction.C: add internal LFUN_CITATION_INSERT
15930 * LyXView.C: actually apply fix
15932 * bufferlist.C: fix open non-existent file
15934 * lyxfind.C: fix indentation
15936 * lyxfunc.C: remove unneeded assert, fix typo
15938 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15940 * MenuBackend.C: use "Floatname List"
15942 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15944 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15945 when converting LaTeX layout to insetERT.
15946 Generate a non-collapsed float when reading old float
15948 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15950 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15953 2001-08-13 Juergen Vigna <jug@sad.it>
15955 * text.C (fill): return 0 instead of 20 as this seems to be the more
15958 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15960 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15963 2001-08-13 Juergen Vigna <jug@sad.it>
15965 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15967 (SearchBackward): comment out the unlocking of the inset_owner this
15968 should not be needed!
15970 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15972 * Many files: Remove inherit_language, and add latex_language
15974 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15975 collapsible insets.
15977 2001-08-10 Juergen Vigna <jug@sad.it>
15979 * text.C (prepareToPrint): fixed hfill-width in draw!
15981 * BufferView2.C (selectLastWord): save the selection cursor as this
15982 now is cleared in the function LyXText::clearSelection!
15984 2001-08-08 Juergen Vigna <jug@sad.it>
15986 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15987 BACKSPACE type functions.
15989 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15990 is only cutted from the document but not put in the cut-buffer, where
15991 still the old stuff should be.
15993 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15995 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15997 * tabular.C (SetWidthOfCell): fixed special case where the width
15999 (LeftLine): handle '|' in align_special.
16001 (LeftAlreadyDrawed): ditto
16002 (SetWidthOfCell): ditto
16004 2001-08-07 Juergen Vigna <jug@sad.it>
16006 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16008 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16010 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16011 * lyxlex.[hC]: ditto
16013 2001-08-06 Juergen Vigna <jug@sad.it>
16015 * text.C (getVisibleRow): fix up row clearing a bit.
16017 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16019 * minibuffer.C: make sure the X server sees the changes in the input.
16021 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16023 * paragraph.C (getFont): split into...
16024 (getLabelFont): this
16025 (getLayoutFont): and this
16026 * paragraph_pimpl.C (realizeFont): calling this
16028 * text2.C (getFont): split into...
16029 (getLayoutFont): this
16030 (getLabelFont): and this
16031 (realizeFont): all three calling this
16033 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16036 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16038 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16040 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
16042 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16043 layouts from the Quote inset insertion.
16045 2001-08-03 Juergen Vigna <jug@sad.it>
16047 * BufferView_pimpl.C (update): do the fitCursor only at the end!
16049 * screen.C (drawFromTo): don't call fitcursor here and do the loop
16050 only if status not is already CHANGED_IN_DRAW (second level).
16052 * text.C (draw): don't set the need_break_row when inside an
16055 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
16057 * buffer.C (parseSingleLyXformat2Token): handle more latex
16060 * bufferview_funcs.[hC]: change function names to
16061 begin with small char, adjust other files.
16063 2001-08-02 André Pönitz <poenitz@gmx.net>
16066 BufferView_pimpl.C: remove broken special code for math-greek
16068 2001-08-02 Juergen Vigna <jug@sad.it>
16070 * BufferView_pimpl.C (update): redone this function so that we
16071 update the text again if there was a CHANGE_IN_DRAW.
16073 * screen.C (cursorToggle): removed LyXText parameter and recoded.
16074 (drawFromTo): added a new internal bool which is used by draw() and
16076 (general): some cursor drawing problems fixed.
16078 2001-08-01 Juergen Vigna <jug@sad.it>
16080 * lyxfind.C (LyXFind): fixed
16081 (SearchForward): ditto
16082 (SearchBackward): ditto
16084 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16085 spurius drawing of the cursor in the main area.
16087 * text2.C (status): small fix which could lead to a segfault!
16088 (clearSelection): remove unneeded BufferView param.
16090 2001-08-01 André Pönitz <poenitz@gmx.net>
16092 * lyxfunc.C: small change due to changed mathed interface
16094 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16096 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16098 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
16100 * lyxfunc.c: fail gracefully if file doesn't exist
16105 * BufferView_pimpl.C: IsDirWriteable() proto changed
16107 * LyXView.C: fix updateWindowTitle() to store the last title
16109 2001-07-31 Juergen Vigna <jug@sad.it>
16111 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16112 the font (wrong since using of Paragraph::highestFontInRange).
16114 * paragraph.C (highestFontInRange): added a default_size parameter.
16116 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16117 (setHeightOfRow): reformat
16119 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16121 * converter.[hC] + affected files: move to (inital-char)lowercase
16124 * ParagraphParameters.C (ParagraphParameters): remove commented code
16126 * PainterBase.[Ch]: remove commented code
16128 * LaTeXFeatures.h: add "bool floats" for float.sty
16130 * LaTeXFeatures.C (LaTeXFeatures): init floats
16131 (require): handle float
16132 (getPackages): do it with floats
16134 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16136 * BufferView_pimpl.C (Dispatch): improve handling of
16137 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16139 * commandtags.h: #include lyxfont.h here temporarily to avoid
16142 * bufferlist.h: include LString.h here.
16144 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16146 * text2.C (getStringToIndex): new method.
16148 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16150 * *: Reduced header file dependencies all over.
16152 2001-07-30 Baruch Even <baruch@lyx.org>
16154 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16156 2001-07-29 Baruch Even <baruch@lyx.org>
16158 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16160 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16162 * ParameterStruct.h (endif): add a default constructor to make
16163 sure that all variables is initialized.
16165 * ParagraphParameters.C (ParagraphParameters): adjust
16167 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16169 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16170 index; also, check that there is something to index, and that it
16171 does not span over several paragraphs.
16172 (doubleClick): use WHOLE_WORD_STRICT for double click.
16174 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16176 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16179 2001-07-26 Baruch Even <baruch@lyx.org>
16181 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16182 an InsetFig figure, backwards compatible reading of old figure code.
16184 2001-07-27 Juergen Vigna <jug@sad.it>
16186 * text2.C: font.realize function adaption.
16188 * text.C (draw): add a warnings lyxerr text if needed.
16190 * layout.C: font.realize function adaption.
16192 * language.C: add inherit_language and implement it's handlings
16194 * bufferview_funcs.C (StyleReset): remove language parameter from
16195 font creation (should be language_inherit now).
16197 * bufferparams.C (writeFile): handle ignore_language.
16199 * paragraph.C (getFontSettings): the language has to be resolved
16200 otherwise we have problems in LyXFont!
16202 * lyxfont.C (lyxWriteChanges): added document_language parameter
16203 (update): removed unneeded language parameter
16205 * paragraph.C (validate): fixed wrong output of color-package when
16206 using interface colors for certain fonts in certain environments,
16207 which should not seen as that on the final output.
16209 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16211 * BufferView_pimpl.C:
16216 * LyXAction.C: add thesaurus support
16219 * lyxfind.C: add "once" parameter, for thesaurus, to not
16220 move to the next match
16222 2001-07-26 Juergen Vigna <jug@sad.it>
16224 * lyxfont.C (realize): honor ignore_language too!
16227 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16229 * text.C (draw): one place more for ignore_language to not draw
16232 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16234 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16236 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16238 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16239 the minipage conversion problem.
16241 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16243 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16246 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16248 * BufferView.h: don't forward declare WorkArea
16250 * BufferView.C: don't include WorkArea.h
16252 2001-07-25 André Pönitz <poenitz@gmx.net>
16256 * lyxfunc.C: new LFUN 'math-space'
16258 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16260 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16262 * text2.C (toggleInset): call open/close
16264 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16266 * lyxfunc.C (dispatch): add debug for the disabled case
16268 * font.C (buttonText): make similar to rectText
16270 * buffer.C (readInset): comment out parsing of insetlist and
16273 * PainterBase.C (rectText): small correction
16275 * BufferView_pimpl.C: comment out insettheorem and insetlist
16276 * LyXAction.C: ditto
16277 * commandtags.h: ditto
16279 2001-07-24 Juergen Vigna <jug@sad.it>
16281 * text.C (draw): honor the ignore_language.
16283 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16285 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16287 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16290 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16292 * lyxtext.h: remove unused (and unimplemented) methods
16294 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16296 * text.C (getVisibleRow): honor background color
16299 * Painter.h: remove default color argument for fillRectangle
16301 * text.C (backgroundColor): new method
16303 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16305 * text.C (getVisibleRow): adjust
16307 * font.[Ch] (rectText): new method, metrics
16308 (buttonText): new method, metrics
16310 * PainterBase.[hC]: make rectText and buttonText always draw and take
16313 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16315 * ToolbarDefaults.C (read):
16316 * MenuBackend.C (read): allow escaping in all strings
16318 * BufferView_pimpl.C (insertAndEditInset): new method.
16319 (Dispatch): use insertAndEditInset whenever appropriate.
16321 * BufferView_pimpl.C (insertNote): removed
16323 * BufferView_pimpl.C (smartQuote): new method, moved from
16324 BufferView; if an insetquote cannot be inserted, insert a '"'
16327 * BufferView2.C: remove insertCorrectQuote();
16329 * lyxfunc.C (getStatus): Add support for all remaingin
16330 inset-insert lfuns.
16332 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16334 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16335 command (necessary to pass " as parameter of self-insert.
16337 * text.C (selectWordWhenUnderCursor):
16338 (selectWord): add word_location parameter
16339 (selectWordWhenUnderCursor): same + remove special code for word
16341 (selectNextWord): use kind() to guess type of insetspecialchar,
16344 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16345 (insertErtContents): create ert insets as collapsed.
16346 (readInset): better compatibility code for Info inset.
16348 2001-07-20 Juergen Vigna <jug@sad.it>
16350 * lyxfunc.C (dispatch): use always LyXFind now!
16352 * text2.C (init): add a reinit flag so that the LyXText can be
16353 reinited instead of deleted and reallocated (used in InsetText).
16355 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16361 2001-07-18 Juergen Vigna <jug@sad.it>
16363 * text.C (selectNextWord): handle insets inside inset by calling
16364 always the bv->text functions so that we can go up the_locking_inset!
16366 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16367 in strange locations when inside an inset!
16369 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16370 handling to include insets.
16372 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16374 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16376 * LyXAction.C (init):
16378 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16379 LIGATURE_BREAK, since the name is so stupid.
16381 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16383 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16386 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16388 * sp_form.[Ch]: remove.
16390 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16392 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16395 * src/buffer.C (readInset): ditto.
16397 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16399 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16400 menuSeparator(), endOfSentenceDot(), ldots() and
16401 hyphenationPoint(), which are therefore removed.
16402 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16404 * LyXAction.C (init):
16405 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16407 * paragraph.C (getWord): removed.
16409 * BufferView_pimpl.C (Dispatch): use last word or selection for
16410 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16412 * lyx_main.C (queryUserLyXDir): do not ask before creating
16413 user_dir, except if it has been named explicitely.
16415 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16417 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16418 a document of zero size.
16420 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16422 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16423 approriately in the c-tor and in require().
16424 (getPackages): output the appropriate LaTeX for natbib support.
16426 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16427 variables "use_natbib" and "use_numerical_citations" when reading the
16429 (readInset): read the various natbib cite commands.
16430 (validate): white-space change.
16432 * bufferparams.[Ch]: new variables "bool use_natbib" and
16433 "bool use_numerical_citations".
16434 (writeFile): output them in the LyX file.
16436 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16438 * lyxfunc.C (getStatus): add support for all the inset insertion
16441 * text2.C (insertInset):
16442 * paragraph.C (insetAllowed):
16443 * BufferView_pimpl.C (insertInset): update to take in account the
16444 renaming of insertInsetAllowed
16446 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16448 * text2.C (getInset): new method. returns inset at cursor position.
16450 * BufferView_pimpl.C (Dispatch): changes because of this.
16452 * LyXAction.C (init): rename open-stuff to inset-toggle.
16454 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16456 * text2.C (toggleInset): renamed from openStuff; use
16459 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16461 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16463 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16465 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16467 * buffer.C (readLyXformat2): Add filename to the error dialog
16469 2001-07-18 Juergen Vigna <jug@sad.it>
16471 * tabular.C (GetCellNumber): put an assert here instead of the check!
16473 2001-07-17 Juergen Vigna <jug@sad.it>
16475 * BufferView_pimpl.C (toggleSelection): adapted too.
16477 * text.C (selectNextWord): adapted for use with insets.
16478 (selectSelectedWord): ditto
16480 2001-07-17 Juergen Vigna <jug@sad.it>
16482 * sp_spell.C (PSpell): fix initialitation order.
16484 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16486 * paragraph.C: spacing
16488 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16490 * sp_spell.C: repair language selection for pspell
16492 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16494 * lyxfunc.h: change more methods to begin with lower char.
16496 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16498 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16499 for unknown layouts.
16501 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16503 * buffer.C (readLyXformat2): Generate an error dialog if there are
16506 2001-07-16 Juergen Vigna <jug@sad.it>
16508 * sp_spell.C: always compile ISpell part.
16510 * lyxrc.C: added use_pspell entry and it's handling.
16512 2001-07-13 Juergen Vigna <jug@sad.it>
16514 * sp_spell.C: removed double includes.
16516 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16518 Consistent use of Lsstream.h:
16519 * Lsstream.h: added using std::stringstream for consistencies sake.
16521 * buffer.C: removed using std::stringstream
16523 * lyxfont.C (stateText):
16524 * paragraph.C (asString):
16525 * text.C (selectNextWord, selectSelectedWord):
16526 * text2.C (setCounter):
16527 * vspace.C (asString, asLatexString):
16528 std::ostringstream -> ostringstream.
16530 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16532 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16533 * commandtags.h: add LFUN_HELP_ABOUTLYX
16534 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16536 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16538 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16540 * lyx_gui_misc.C: remove spellchecker
16541 * lyxfunc.C: showSpellchecker
16543 * sp_ispell.h: added
16544 * sp_pspell.h: added
16545 * sp_spell.C: added
16546 * sp_form.[Ch]: removed
16547 * spellchecker.[Ch]: removed
16549 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16551 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16553 (simpleTeXSpecialChars): Simply print the input character without
16554 any special translation if pass_thru is set.
16556 * layout.h: Added bool pass_thru to layout class for being able to
16557 implement pass through of a paragraph for Literate Programming.
16559 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16560 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16561 * layout.C (Read): add "passthru" to list of layout tags and add
16562 code to set the pass_thru boolean when it is read.
16564 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16566 * trans_decl.h: remove allowed from KmodInfo
16568 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16569 remove allowed code
16572 * paragraph_pimpl.C (erase): use boost::prior
16574 * Painter.C (text): use data() instead of c_str() when length is
16576 * WorkArea.C (putClipboard): ditto
16577 * font.h (width): ditto
16579 * BufferView2.C: use it-> instead of (*it). for iterators
16581 * paragraph_pimpl.C: ditto
16582 * paragraph.C: ditto
16583 * minibuffer.C: ditto
16584 * language.C: ditto
16586 * encoding.C: ditto
16587 * counters.C: ditto
16588 * converter.C: ditto
16590 * Variables.C: ditto
16591 * TextCache.C: ditto
16592 * MenuBackend.C: ditto
16593 * LyXAction.C: ditto
16595 * FloatList.C: ditto
16596 * DepTable.C: ditto
16597 * ColorHandler.C (LyXColorHandler): ditto
16599 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16601 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16603 * text2.C (openStuff): reintroduce this method (which had been
16604 nuked in NEW_INSETS frenzy).
16606 * lyxfunc.C (Dispatch): when an action has not been handled, use
16607 its name in the error message, not its number.
16609 * paragraph.C (inInset): change method name to begin with lowercase.
16612 * text2.C: updates because of this.
16614 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16616 * ToolbarDefaults.C (add): add spaces in error message
16618 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16620 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16621 (readLyXformat2): rename return_par to first_par, use lyxlex's
16622 pushToken and remove the manual push handling.
16623 (parseSingleLyXformat2Token): add another ert comp. variable:
16624 in_tabular, rename return_par to first_par. handle newlines better
16626 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16628 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16630 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16632 * text2.C (getParFromID): removed
16634 * buffer.C (getParFromID): new method moved form lyxtext.
16635 * BufferView2.C (insertErrors): adjust
16636 (setCursorFromRow): adjust
16637 * BufferView_pimpl.C (restorePosition): adjust
16638 * lyxfunc.C (Dispatch): adjust
16639 * undo_funcs.C (textUndo): adjust
16641 (textHandleUndo): adjust
16642 (textHandleUndo): adjust
16644 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16646 * buffer.C: up' the LYX_FORMAT
16648 * lyxfont.h: turn NO_LATEX on as default
16650 * buffer.C (insertErtContents): new methods of tex style compability.
16651 (parseSingleLyXformat2Token): use it several places.
16652 * tabular.C (OldFormatRead): and here
16654 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16656 * text2.C: remove some commented code.
16659 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16660 * trans.C: changes because of the above.
16662 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16664 * text2.C (setCounter): Fix counters bug with bibliography layout.
16666 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16668 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16669 own member functions
16670 (simpleTeXSpecialChars): ditto
16672 2001-07-06 Juergen Vigna <jug@sad.it>
16674 * a lot of files: changed the access to LyXText::status and the
16675 call of undo-functions.
16677 * undo.[Ch]: added a inset_id to the undo informations.
16679 * undo_funcs.[Ch]: added and moved here all undo functions.
16681 * lyxtext.h: give the status enum a weight, made status_ a private
16682 variable and made accessor functions for it, removed the whole bunch
16683 of undo-functions as they are now in their own file, make some
16684 functions publically available. Added function ownerParagraph with
16687 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16688 made InInset() a const function, added getParFromID() function.
16690 * buffer.[Ch]: added const version for inset_iterator functions,
16691 added getInsetFromID() function.
16693 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16694 changed undo functions for new version.
16696 2001-07-05 Juergen Vigna <jug@sad.it>
16698 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16699 unknow mechanism does not call the proper constructor but only this
16700 one also if I request the other!?
16702 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16704 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16706 * text2.C (LyXText): use initialization lists.
16708 * lyxtext.h (Selection): initialize set_ and mark_
16709 (init): remove method
16711 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16713 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16715 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16717 * screen.[Ch]: change method names to begin with lowercase
16719 * BufferView_pimpl.C (updateScrollbar): simplify further and
16720 hopefully make it a bit faster.
16722 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16724 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16725 calling directly xforms functions.
16727 * Painter.C (Painter):
16728 * lyx_cb.C (MenuWrite):
16729 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16732 * lyx_gui.C: remove bogus guiruntime extern declaration.
16734 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16736 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16738 (redoDrawingOfParagraph): ditto
16739 (redoParagraphs): ditto
16740 (cutSelection): don't create a object for CutAndPaste use the
16741 static method directly
16742 (pasteSelection): ditto
16744 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16747 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16749 * modifications to some other files because of this.
16751 * Makefile.am (lyx_SOURCES): add XFormsView
16753 * XFormsView.[Ch]: new files
16755 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16756 the main window. Move the gui dependent stuff to XFormsView
16758 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16760 * tabular.C (GetCellInset): update cur_cell also in the row/col
16761 version of this function.
16763 * lyxfunc.C: no need to include figure_form.h here.
16769 * lyxvc.C: no need to include forms.h here.
16771 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16773 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16775 * lyxfunc.C (Dispatch):
16777 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16778 constructor argument.
16780 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16782 * paragraph.C (Paragraph): dont't clear, and just set layout.
16783 (makeSameLayout): use params's copy contructor.
16785 * ParagraphParameters.[Ch] (makeSame): delete method
16787 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16789 * Variables.[Ch]: fix indentation, rename set to isSet
16791 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16793 * lyxfunc.C (Dispatch): fix typo
16795 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16797 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16800 * bufferlist.C: include assert.h for emergencyWrite().
16802 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16804 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16805 give up at last (bug #425202) !
16807 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16813 * spellchecker.C: strip spellchecker options and bring up
16814 preferences tab instead
16816 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16818 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16819 the istringstream constructor
16821 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16823 * paragraph.C (getLayout): fix return value
16825 * paragraph.h: do not declare getLayout as inline.
16827 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16829 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16831 * lyxcursor.h (operator<): new func
16832 (operator>): new func
16833 (operator>=): new func
16834 (operator<=): new func
16836 * text.C (changeCase): use selection.start and selection.end
16837 (changeRegionCase): require from to be <= to. Require par to be a
16840 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16842 2001-06-27 Juergen Vigna <jug@sad.it>
16844 * text.C (cursorLeftOneWord): changed to return the cursor and added
16845 overlay with BufferView * parameter which calls this one.
16847 (selectWord): use new getWord function.
16848 (changeCase): renamed from changeWordCase as and extended to work
16849 also on selections.
16851 * lyxtext.h: added enum word_location
16853 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16854 changeCase as this operates now also on selections.
16856 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16858 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16860 * many files: send debug output to Debug::INFO instead of
16863 * converter.C (View):
16865 (Move): send debug output to Debug::FILES instead of console.
16867 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16869 * lyxfunc.C (getStatus): use func_status
16871 * func_status.h: new header, describing the results of
16872 LyXFunc::getStatus;
16874 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16877 2001-06-25 The LyX Project <jug@sad.it>
16879 * buffer.C (sgmlOpenTag):
16881 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16883 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16885 * text2.C: remove some dead code
16887 * tabular.C (GetCellInset): store the last cell checked (gotten)
16889 * tabular.h: add the helper for the speedup
16891 * lyxtext.h: remove some dead code
16893 2001-06-26 The LyX Project <Asger>
16895 * paragraph.C: Change export to LaTeX of alignment to
16896 \begin{center} and family for better roundtrip work with reLyX.
16898 * Tune the math drawing a bit.
16900 2001-06-25 The LyX Project <Asger>
16902 * LColor.C (LColor): New color for math background. New color
16905 2001-06-25 The LyX Project <jug@sad.it>
16907 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16909 * lyxfunc.C (Open):
16910 * bufferlist.C (newFile): do not restrict to files ending with
16913 * BufferView_pimpl.C (MenuInsertLyXFile):
16915 2001-06-24 The LyX Project <jug@sad.it>
16917 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16920 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16922 * lyxtext.h: rename most methods to begin with a small char.
16923 Lots of changes because of this.
16925 * paragraph.C (Paragraph): do not call fitToSize
16926 (erase): call Pimpl::erase
16927 (insertChar): call Pimpl::insertChar
16928 (insertInset): call Pipl::insertInset
16929 (breakParagraph): do not call fitToSize
16930 (breakParagraphConservative): do not call fitToSize
16931 (fitToSize): remove method
16933 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16935 2001-06-24 The LyX Project <Asger>
16937 * Fix Qt compilation^2
16939 2001-06-24 The LyX Project <jug@sad.it>
16941 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16942 depthHook(getDepth()-1).
16945 * ParagraphParameters.h:
16946 * ParameterStruct.h: change type of depth to unsigned int ==
16947 depth_type. Many adaptations to other files before of that.
16949 2001-06-24 The LyX Project <Asger>
16951 * Fix Qt compilation.
16953 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16955 * paragraph.h: renamed several methods to begin with small letter.
16956 several changes to many parts of the code because of this.
16958 2001-06-23 The LyX Project <jug@sad.it>
16960 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16961 rewritten to discard all double spaces when KeepEmpty is off
16962 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16963 to only handle newlines but not fiddle with spaces and friends.
16965 * lyxfunc.C (MenuNew): when doing 'new from template', use
16966 template_path as default directory
16968 2001-06-23 The LyX Project <Asger>
16970 * Clean-up of header file includes all over
16971 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16973 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16975 * paragraph.h: renamed from lyxparagraph.h
16977 2001-06-23 Asger <lyx@violet.home.sad.it>
16979 * Buffer.h: Removed Buffer::resize
16980 * BufferList.h: Removed BufferList::resize
16981 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16982 the document lazily when we change the width, or the font settings.
16984 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16986 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16988 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16990 * buffer.h: remove out of date comment
16992 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16995 * screen.C: fix "theoretical" GC leak
16997 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16999 * LaTeX.C (scanAuxFile):
17000 (deplog): remove trailing \r when reading stream (useful under
17003 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
17005 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17006 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17007 and BufferView::theLockingInset(Inset*), so should use them and not
17008 access bv_->text->the_locking_inset directly.
17010 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17012 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17015 * tex-defs.h: remove old unused file
17017 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
17019 * BufferView_pimpl.C: fix typo, remove minibuffer message
17020 when buffer has loaded
17022 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
17024 * lyxfunc.C (Dispatch): use stringstream
17025 (MenuNew): use stringstream
17026 (Open): use stringstream
17028 * importer.C (Import): use stringstream
17030 * bufferview_funcs.C (CurrentState): use stringstream
17032 * LaTeX.C (run): use stringstream
17034 * BufferView_pimpl.C (savePosition): use stringstream
17035 (restorePosition): use stringstream
17036 (MenuInsertLyXFile): use stringstream
17038 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
17051 * vspace.C: removed // -*- C++ -*- as first line.
17054 * version.h: added // -*- C++ -*- as first line.
17056 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17058 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17060 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17063 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
17065 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17068 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17070 * gettext.C: include LString.h even when --disable-nls is on.
17072 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
17074 * converter.h (Get): changed argument type from int to
17075 FormatList::size_type to avoid unnecessary conversion.
17077 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17080 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17082 * gettext.h: include LString.h even when --disable-nls is on.
17084 2001-06-07 Juergen Vigna <jug@sad.it>
17086 * text.C (BreakAgain): subst spaces with tabs.
17088 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17089 (resizeInsetsLyXText): set force on resizeLyXText.
17091 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17093 * gettext.h (gettext_init):
17094 (locale_init): use a real definition instead of a macro
17096 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
17098 * Bufferview_pimpl.C:
17100 * LColor.C: further lcolor tidies
17102 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
17104 * BufferView_pimpl.C (updateScrollbar): simplify.
17106 * BufferView2.C: don't include insets/insetinfo.h, change
17107 prototype for insertInset and call the Pimpl version. let
17108 updateInset call Pimpl version.
17110 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17111 gotoInset to BufferView::Pimpl
17113 2001-06-01 Juergen Vigna <jug@sad.it>
17115 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17116 inside a LockingInset (is the update needed at all?).
17118 2001-05-31 Juergen Vigna <jug@sad.it>
17120 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17121 here not the old one otherwise how should we compare it afterwards
17124 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17129 * FontInfo.C: bring C functions into global namespace when
17132 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17134 * LString.h: make sure config.h has been loaded before LString.h.
17136 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17137 (one for each char read by EatLine!).
17139 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17142 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17144 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17145 to the same as the par we break from
17147 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17149 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17151 * MenuBackend.C (expand): also create menu entries for wide
17152 versions of the floats.
17154 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17156 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17158 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17159 frontends/Makefile.am
17165 * tabular.C (getTokenValue): add std::
17167 * tabular-old.C (getTokenValue): add std::
17168 (getTokenValue): ditto
17169 (getTokenValue): ditto
17171 * screen.C (ToggleSelection): adjust
17173 * lyxtext.h: put selection cursors inside a Selection struct.
17175 * lyxfunc.C (moveCursorUpdate): adjust
17177 * lyxfont.C (latexWriteStartChanges): add std::
17179 * lyxfind.C: adjust
17181 * font.h: delete with(char const *, LyXFont const &)
17183 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17185 * FontInfo.C (getFontname): add std::
17187 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17188 (workAreaButtonPress): adjust
17189 (tripleClick): adjust
17191 (moveCursorUpdate): adjust
17194 * BufferView2.C (gotoInset): adjust
17196 2001-05-30 Juergen Vigna <jug@sad.it>
17198 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17199 to check pspell I add this as default as I now have new pspell
17200 libraries and they seem to use this.
17202 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17204 * text2.C (CutSelection): make the cursor valid before the call to
17207 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17209 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17210 relied on 0 terminated strings and other horrors. Bug found due to
17211 the new assert in lyxstring!
17213 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17216 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17218 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17221 * lyxfunc.C (processKeySym): change method of getting to the
17224 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17225 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17226 * BufferView_pimpl.[Ch]: here as private methods.
17228 2001-05-28 Juergen Vigna <jug@sad.it>
17230 * text.C (SetHeightOfRow): added the update() call again as it is
17231 needed to initialize inset dimensions!
17233 2001-05-16 Juergen Vigna <jug@sad.it>
17235 * text2.C (SetCharFont): Add new function with BufferView * and
17236 bool toggleall parameters for setting insets internal fonts.
17237 (SetFont): Freeze the undo as we may change fonts in Insets and
17238 all this change should be inside only one Undo!
17240 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17241 setting font's in insets as for them we have the SetFont function!
17243 2001-05-15 Juergen Vigna <jug@sad.it>
17245 * text2.C (ClearSelection): to be sure we REALLY don't have any
17248 * tabular.C (TeXCellPreamble): fixed the left border problem for
17251 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17253 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17256 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17258 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17259 LFUN_BREAKPARAGRAPH.
17261 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17262 help test to "internal only", similar for LFUN_INSERT_URL
17264 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17265 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17266 auto_region_delete and deadkeys.
17268 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17271 * LColor.C: remove some dead entries, tidy a little
17273 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17275 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17277 (Dispatch): implement LFUN_ESCAPE
17279 * commandtags.h: add LFUN_ESCAPE
17281 * LyXAction.C (init): add entry for LFUN_ESCAPE
17283 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17284 Remove commented code.
17285 (insertNote): moved here
17286 (open_new_inset): moved here
17288 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17291 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17293 * kbmap.C (findbinding): clean it up and make it work correctly.
17295 * lyx_main.C (init): do not pass argc and argv as parameters
17297 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17299 * buffer.C: fix path for OS/2 & Win32
17303 * lyx_main.C: Added os:: class.
17305 * os2_defines.h: update
17307 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17309 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17310 better by trying again with reduced state.
17312 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17314 * lyxrc.C (read): print error about invalid key sequence only when
17315 debugging (because not all latinX keysyms are known to some X
17318 * kbsequence.C (getiso): add a few std:: qualifiers
17319 (getiso): comment out extra return statement.
17321 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17323 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17325 (Dispatch): enhance the accent inset a bit. (not perfect)
17327 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17329 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17331 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17333 * bufferlist.C (emergencyWrite): fix assert() call
17335 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17337 * text.C (InsertChar): Added trivial patch to only send the "you
17338 can not do multiple spaces this way" message once during a
17341 2001-05-08 Baruch Even <baruch@lyx.org>
17343 * Makefile.am: Changed order of libraries to get LyX to link properly
17344 with the gnome frontend.
17346 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17348 * LaTeXFeatures.h: add a std:: qualifier
17350 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17352 * paragraph.C (String): use stringstream
17354 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17356 * paragraph.C (writeFile): remove footflag arg
17358 * buffer.C (makeLaTeXFile): use stringstream
17359 (latexParagraphs): remove footnot gurba
17361 * LaTeXFeatures.C (getPackages): use stringstream
17362 (getMacros): likewise
17363 (getTClassPreamble): likewise
17364 (getFloatDefinitions): new method
17366 * paragraph.C (writeFile): reindent
17369 * WorkArea.h: revert the xpos + etc changes.
17371 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17373 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17375 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17376 (pasteSelection): likewise
17377 * text2.C (CreateUndo): likewise
17379 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17381 * minibuffer.C (peek_event): temporarily reduce the functionality
17382 of the minibuffer (to allow args on lfuns)
17384 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17385 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17387 * buffer.C (readInset): add compability reading of old float
17388 lists, add reading of new style float list.
17389 (readInset): avoid reevaluation of inscmd.getCmdName()
17390 (getLists): reindent
17392 * MenuBackend.C (MenuItem): implement parsing of
17393 md_floatlistinsert and md_floatinsert.
17394 (expand::LastFiles): move initalizaton of iterators out of loop,
17395 avoid reevaluation.
17396 (expand::Documents): introduce typdedef vector<string> Strings,
17398 (expand::ExportFormats): introduce typedef vector<Format const *>
17399 Formats, and use it.
17400 (expand): implement FloatListInsert and FloatInsert.
17402 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17403 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17404 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17406 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17408 (Dispatch::LFUN_FLOAT_LIST): implement
17410 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17412 * LaTeX.C (run): Fix problem with --export code.
17414 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17416 * BufferView.[Ch] (workarea): removed.
17417 (getClipboard) new method; wrapper for workarea()->getClipboard()
17419 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17422 * WorkArea.h (width, height, xpos, ypos): These methods all
17423 returned the dimensions of the work_area sub-area of WorkArea,
17424 resulting in a position error if the WorkArea were resized. Now
17425 return the dimensions of the entire WorkArea.
17427 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17429 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17431 * LaTeX.C (deplog): correct the syntax of regex reg1
17433 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17435 * undo.C: remove !NEW_INSETS cruft
17437 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17439 * text2.C: remove !NEW_INSETS cruft
17441 * text.C: remove !NEW_INSETS cruft
17443 * tabular.C: remove !NEW_INSETS cruft
17445 * spellchecker.C: remove !NEW_INSETS cruft
17447 * lyxtext.h: remove !NEW_INSETS cruft
17449 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17451 * lyxfunc.C: remove !NEW_INSETS cruft
17453 * lyxfind.C: remove !NEW_INSETS cruft
17455 * lyx_cb.C: remove !NEW_INSETS cruft
17457 * figureForm.C: remove !NEW_INSETS cruft
17459 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17461 * buffer.[Ch]: remove !NEW_INSETS cruft
17463 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17465 * CutAndPaste.C: remove !NEW_INSETS cruft
17467 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17469 * BufferView2.C: remove !NEW_INSETS cruft
17471 * BufferView.h: remove !NEW_INSETS cruft
17473 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17475 * Lsstream.h: include LString.h before the sstream headers to
17476 fix problem with gcc 2.95.3 and lyxstring
17478 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17480 * lyx_main.C: add using directives when needed for C functions
17481 declared in std:: namespace.
17483 2001-04-27 Juergen Vigna <jug@sad.it>
17485 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17486 (SetHeightOfRow): comment out the update call should not be needed!
17488 2001-04-13 Juergen Vigna <jug@sad.it>
17490 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17491 (LyXTabular): tried to minimize operator= operations (and realized
17492 hopfully Lars wish).
17494 2001-04-27 Juergen Vigna <jug@sad.it>
17496 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17498 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17500 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17502 * buffer.C (readInset): hack to make listof algorithm work
17504 * BufferView_pimpl.C: hack to make listof algorithm work
17506 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17508 * LyXAction.C: removed all !NEW_INSETS cruft
17509 (init): moved lfun_item in method
17511 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17513 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17515 * BufferView2.C (theLockingInset): white space.
17517 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17519 * minibuffer.C: include <iostream>
17521 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17523 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17525 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17527 * text.[Ch] (TransposeChars): new method
17529 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17531 * call message directly through LyXView instead of through LyXFunc
17532 * BufferView2.C: adjust
17533 * BufferView_pimpl.C: adjust
17534 * FontLoader.C: adjust
17536 * bufferview_funcs.C: adjust
17537 * converter.C: adjust
17538 * figureForm.C: adjust
17539 * importer.C: adjust
17541 * lyx_gui_misc.C: adjust
17542 * lyxfunc.C: adjust
17545 + more files in subdirs
17547 * lyxparagraph.h (size): move up int file
17550 * adjust all uses of Assert to lyx::Assert.
17552 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17553 lyxfunctional in namespace lyx
17554 * layout.C (hasLayout): ditto
17557 (delete_layout): ditto
17558 (NumberOfClass): ditto
17559 * converter.C (GetFormat): ditto
17564 * bufferlist.C (getFileNames): ditto
17565 (emergencyWriteAll): ditto
17568 * MenuBackend.C (hasSubmenu): ditto
17571 * BufferView_pimpl.C (getInsetByCode): ditto
17573 2001-04-18 Juergen Vigna <jug@sad.it>
17575 * vspace.C (asLatexString): fixed the 100% problem.
17577 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17579 * lyxfunc.C (Dispatch):
17581 * minibuffer.h: add a few std:: qualifiers
17583 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17585 * minibuffer.[Ch]: reimplement so that commands is initiated and
17586 run from lyxfunc, simplified som handling, and made the completion
17587 and history code for complete. wip.
17589 * lyxfunc.C (processKeySym): call message
17590 (miniDispatch): new temporary method
17591 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17592 (LFUN_MESSAGE): implement
17593 (LFUN_MESSAGE_PUSH): implement
17594 (LFUN_MESSAGE_POP): implement
17595 (initMiniBuffer): the initial/defualt minibuffer message.
17597 * lyxfont.[Ch]: inline some more getters
17599 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17601 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17603 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17604 (AutoSave): use LFUN_MESSAGE
17605 (Reconfigure): ditto
17607 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17609 * figureForm.C: use LFUN_MESSAGE
17611 * converter.C (runLaTeX): use LFUN_MESSAGE
17613 * bufferview_funcs.C: use LFUN_MESSAGE
17615 (changeDepth): ditto
17617 * bufferparams.h: use boost::
17619 * bufferlist.h: inherit privately from noncopyable
17621 * bufferlist.C (loadLyXFile): remove some commented code.
17623 * buffer.C (runChktex): use LFUN_MESSAGE
17625 * ShareContainer.h: inherit privately from noncopyable
17627 * ParagraphParameters.[hC] (depth): inline it.
17629 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17631 (message): new method
17632 (messagePush): ditto
17633 (messagePop): ditto
17634 (show): init minibuffer
17635 (showState): direct call
17637 * LaTeX.[Ch]: inherit privately from noncopyable
17638 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17639 instead of WriteStatus.
17641 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17643 * BufferView_pimpl.C (buffer): don't init minibuffer
17644 (workAreaButtonPress): use LFUN_MESSAGE
17645 (workAreaButtonRelease): ditto
17646 (savePosition): ditto
17647 (restorePosition): ditto
17648 (MenuInsertLyXFile): ditto
17649 (workAreaExpose): don't init minibuffer
17650 (update): remove commented code, simplify
17652 * BufferView2.C (openStuff): use LFUN_MESSAGE
17653 (toggleFloat): ditto
17656 (copyEnvironment): ditto
17657 (pasteEnvironment): ditto
17662 (updateInset): remove some commented code
17664 * lastfiles.h: inherit privately from noncopyable
17667 * lyx_main.h: ditto
17669 * lyxlex_pimpl.h: ditto
17671 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17672 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17673 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17675 * LyXAction.h: inherit privately from noncopyable, add methods
17676 func_begin, func_end, returning iterators to the func map.
17678 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17679 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17680 (func_begin): new method
17681 (func_end): new method
17683 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17685 (copySelection): ditto
17686 (pasteSelection): ditto
17688 * BufferView.C: whitespace change
17689 * BufferView.h: inherit privately from noncopyable
17691 2001-04-16 Allan Rae <rae@lyx.org>
17693 * tabular-old.C (l_getline):
17694 * spellchecker.C (sc_check_word):
17695 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17696 an unrecognised preprocessor directive. So ensure they're wrapped.
17698 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17700 * src/exporter.C (Export): Give an error message when path to file
17703 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17705 * LaTeX.C (deplog): Always check that foundfile exists.
17707 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17710 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17712 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17714 * tabular.[Ch] (getLabelList): implement new method
17716 * minibuffer.h: comment ouf setTiimer
17718 * minibuffer.C (ExecutingCB): constify res
17719 (peek_event): constify s
17720 (Set): constify ntext
17721 (Init): constify nicename
17723 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17725 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17726 (savePosition): use two params to Minibuffer::Set
17727 (restorePosition): ditto
17729 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17731 * lyx_main.C: include language.h
17733 * Makefile.am (lyx_main.o): add language.h
17735 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17741 * CutAndPaste.C: include gettext.h
17743 * lyxfont.h: remove old hack with ON and OFF.
17746 * lyxfont.h: do not include language.h...
17751 * bufferview_funcs.C:
17757 * paragraph.C: ... but do it here instead
17759 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17761 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17763 * tabular.C: small reformat
17765 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17768 (BreakParagraph): ditto
17769 (SetOnlyLayout): ditto
17772 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17775 * lastfiles.C: removed most using decl, add std:: where needed
17777 * buffer.C: ws changes
17779 * MenuBackend.C (class compare_format): put into anon namespace
17780 (expand): constify label, names, action, action2
17783 * text.C (SingleWidth): constify font
17784 (IsBoundary): constify rtl2
17785 (GetVisibleRow): constify ww
17787 * LaTeX.C (deplog): constify logfile
17789 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17791 (workAreaExpose): constify widthChange, heightChange
17793 * lyxrow.C (par): moved
17796 * lyxrow.h: as inlines here
17798 * lyxfont.h (shape): moved from lyxfont.C
17799 (emph): moved from lyxfont.C
17801 * lyxfont.C (LyXFont): use initialization list for all
17803 (shape): move to lyxfont.h as inline
17804 (emph): move to lyxfont.h as inline
17807 2001-04-04 Juergen Vigna <jug@sad.it>
17809 * vspace.C: had to include stdio.h for use of sscanf
17811 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17814 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17815 independent of xforms.
17817 2001-04-02 Juergen Vigna <jug@sad.it>
17819 * spellchecker.C: fixed namespace placing!
17821 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17823 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17824 the LyXParagraph * is 0.
17826 2001-03-29 Juergen Vigna <jug@sad.it>
17828 * vspace.C: added support for %, c%, p%, l%.
17829 (stringFromUnit): added helper function.
17830 (asLatexString): changed to give right results for the %-values.
17832 * buffer.C: convert the widthp in a width%.
17834 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17836 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17839 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17840 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17842 * lyx_cb.[Ch]: see above.
17844 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17848 * lyx.[Ch]: replaced by figure_form.[Ch].
17852 * lyxfunc.C: changed headers associated with above changes.
17854 2001-03-27 Juergen Vigna <jug@sad.it>
17856 * BufferView_pimpl.C: set the temporary cursor right!
17858 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17860 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17862 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17864 * LString.h: removed "using std::getline"!
17866 * BufferView_pimpl.C (Dispatch): changes due to changes in
17867 InsetInclude::Params.
17869 * buffer.C (tag_name): removed redundant break statements as they were
17870 producing lots of warnings with my compiler.
17872 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17874 * LString.h: add "using std::getline" when using the real <string>.
17876 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17878 * buffer.C: removed bitset usage.
17879 PAR_TAG moved to an anonymous name space.
17880 (tag_name): new funtion, also in the anonymous namespace.
17881 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17882 (makeDocBookFile): clean code. Completed transition from string arrays
17884 (SimpleDocBookOnePar): code clean.
17886 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17888 * tabular.C: add some comments.
17890 2001-03-22 Juergen Vigna <jug@sad.it>
17892 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17893 compatibility read a bit and fixed bug with minipage in different
17896 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17898 * buffer.C (pop_tag): removed.
17899 (push_tag): removed.
17900 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17901 array replaced with vector. Added support for CDATA sections.
17902 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17904 (makeDocBookFile): XML conformant declaration of CDATA section,
17905 fixed bug related to <emphasis> in the first paragraph char.
17906 (sgmlOpenTag): exclude empty tags.
17907 (sgmlCloseTag): ditto.
17909 * buffer.h (pop_tag): removed.
17910 (push_tag): removed.
17912 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17914 * language.h (Languages): added size_type and size().
17916 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17918 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17919 response on compability reading of minipages. One probliem is that
17920 the old usage of minipages was flertydig
17922 * several files here and in subdirs: don't use static at file
17923 scope use anon namespaces instead.
17925 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17927 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17928 LaTeX output. This is necessary for Literate document
17931 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17933 * buffer.C: insert hfill when needed.
17935 * tabular.C (l_getline): use string::erase, small whitespace change.
17937 * BufferView_pimpl.C: try the anon namespace.
17938 * WorkArea.C: ditto
17940 2001-03-16 Juergen Vigna <jug@sad.it>
17942 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17943 otherwise it won't open options-dialogs.
17945 * buffer.C: honor pextraWidth(p) on converting minipages.
17947 * tabular.C (l_getline): changed the functions to strip trailing \r.
17949 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17951 * BufferView_pimpl.C:
17952 * minibuffer..C: added "using SigC::slot" declaration.
17954 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17956 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17962 * paragraph.C: ditto
17964 * lyxtext.h: NO_PEXTRA
17966 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17968 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17969 * ParameterStruct.h: ditto
17970 * ParagraphParameters.h: ditto
17971 * lyxparagraph.h: ditto
17973 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17975 * buffer.C: add compability for minipage alignment.
17976 (latexParagraphs): remove unwanted pextra check.
17978 * several files: remove CXX_WORKING_NAMESPACES
17980 * buffer.C (pop_tag): tie is in namespace boost
17982 * BufferView.h: noncopyable is in namespace boost
17984 * lyx_main.h: ditto
17987 * lastfiles.h: ditto
17988 * bufferlist.h: ditto
17989 * ShareContainer.h: ditto
17991 * LyXAction.h: ditto
17994 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17996 * Merging changes from BRANCH_MVC back into HEAD.
17998 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18000 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
18002 * BufferView_pimpl.C: change from intl.C
18006 * Makefile.am: move combox.*
18012 * intl.C: remove dialog (covered by prefs)
18014 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
18016 * lyxfunc.C (Dispatch): removed redundant break statement.
18018 2001-03-14 Juergen Vigna <jug@sad.it>
18020 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18022 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18024 * buffer.C: add hack to fix compability reading of minipages.
18026 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
18028 * buffer.C (getLists): Cleanup.
18030 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18032 * lyxfont.C (update): don't honor toggleall on font size.
18034 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
18038 * Makefile.am: moved to frontends/xforms/
18042 * BufferView_pimpl.C: changes for moved mathpanel
18044 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18046 * gettext.h: fix gettext_init() in --disable-nls
18048 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18050 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18052 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
18055 * lyx.h: strip external form
18057 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18059 * BufferView_pimpl.C: add comment, destroySplash()
18061 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
18063 * BufferView_pimpl.C:
18067 * lyxfunc.C: use re-worked insetinclude
18069 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18071 * buffer.C: add using std::stringstream.
18073 * lyx_cb.C: readd using std::ios.
18075 * buffer.C: add using std::map.
18077 * BufferView_pimpl.C: add using std::vector.
18079 * ShareContainer.h: add std:: to swap.
18081 * buffer.h: add some typedefs
18082 * buffer.C (getLists): use them
18083 (getLists): renamed from getTocList.
18084 add a counter for the different float types and use it in the
18086 (getLists): use the same counter for the NEW_INSETS and the "non"
18089 * lyx_cb.h: remove unused items, includes, using etc.
18091 * ShareContainer.h: remove some commented code, add more comments
18092 and "documentation".
18094 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18096 * buffer.C (getTocList): make the list also when NEW_INSETS is
18099 * buffer.h: remove TocType
18101 * buffer.C (getTocList): change to return a map<string,
18102 vector<TocItem> >, implement for dynamic number of list.
18104 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18105 * text2.C (PasteSelection): adjust
18106 * CutAndPaste.C (pasteSelection): adjust
18108 * FloatList.C (FloatList): update from the new_insets branch.
18109 * Floating.[Ch]: ditto
18110 * LaTeXFeatures.C: ditto
18112 * lyxlex_pimpl.C: ditto
18114 * paragraph.C (Last): remove when NEW_INSETS is defined.
18116 * other file: changes because of the above.
18118 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18120 * lyxparagraph.h: rename next to next_, previous to previous_,
18121 make them private for NEW_INSETS. Rename Next() to next(),
18122 Previous() to previous().
18124 * other files: changes because of the above.
18126 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18129 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18132 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18134 * main.C (main): pass lyx_localedir to gettext_init().
18136 * gettext.h: remove locale_init and gettext_init macros
18138 * gettext.C (locale_init): new function
18139 (gettext_init): new function
18141 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18144 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18146 * Moved credits to frontends:
18147 * credits.[Ch]: removed
18148 * credits_form.[Ch]: removed
18149 * lyx_gui_misc.C: remove credits stuff
18152 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18154 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18156 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18157 unneeded destructor.
18159 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18160 a standalone pointer again.
18162 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18164 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18170 * ToolbarDefaults.C:
18179 * BufferView_pimpl.C: use new file dialog in GUII
18182 * lyx_cb.C: remove LayoutsCB to Toolbar
18184 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18186 * ShareContainer.h (get): add std:: qualifier
18188 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18190 * ShareContainer.h: define a proper ShareContainer::value_type
18191 type (and use typename to please compaq cxx)
18193 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18195 * lyxparagraph.h: move serveral local vars to
18196 ParameterStruct/ParagraphParameters., use ShareContainer in
18197 FontTable., make vars in FontTable private and add getter and
18200 * paragraph.C: changes because of the above.
18202 * lyxfont.h: remove copy constructor and copy assignment. (the
18203 default ones is ok), move number inside FontBits. move inlines to
18206 * lyxfont.C: add number to initializaton of statics, move several
18207 inlines here. constify several local vars. some whitespace
18208 cleanup. Dont hide outerscope variables.
18210 * Spacing.h: add two new constructors to match the set methods.
18212 * ShareContainer.h: new file, will perhaps be moved to support
18214 * ParameterStruct.h: new file
18216 * ParagraphParameters.h: new file
18218 * ParagraphParameters.C: new file
18220 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18221 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18223 * BufferView_pimpl.C: ParagraphParameter changes.
18224 * buffer.C: Likewise.
18225 * bufferview_funcs.C: Likewise.
18226 * text.C: Likewise.
18227 * text2.C: Likewise.
18229 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18231 * lyxfind.C (LyXReplace): do not redefine default argument in
18233 (IsStringInText): ditto
18234 (SearchForward): ditto
18235 (SearchBackward): ditto
18237 2001-03-06 Juergen Vigna <jug@sad.it>
18239 * lyxfind.C (IsStringInText): put parentes around expressions.
18241 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18243 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18245 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18247 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18249 * stl_string_fwd.h: add comment
18251 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18254 * tabular.C: remove unused DocBook methods
18260 killed DO_USE_DEFAULT_LANGUAGE
18262 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18264 * lyx_gui.C: do not include language.h.
18266 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18267 arguments in function implementation.
18269 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18271 * BufferView_pimpl.C: add <ctime>
18273 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18275 * BufferView_pimpl.C: add using std::find_if
18277 2001-02-27 José Matos <jamatos@fep.up.pt>
18279 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18282 2001-02-11 José Matos <jamatos@fep.up.pt>
18284 * buffer.C (makeDocBookFile): command styles now have a parameter as
18285 "title" by default.
18287 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18289 * layout_forms.[Ch]: removed
18290 * lyx_cb.[Ch]: out character
18291 * lyx_gui.C: out character
18292 * lyx_gui_misc.C: out character
18293 * bufferview_funcs.C: : out character,
18294 added toggleall as parameter in ToggleAndShow
18296 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18298 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18300 * text2.C (SetCurrentFont): Disable number property at boundary.
18302 2001-02-26 Juergen Vigna <jug@sad.it>
18304 * lyxfunc.C (getStatus): added a string argument override function so
18305 that this is correctly called from LyXFunc::Dispatch if it contains a
18306 do_not_use_argument which is used!
18307 (Dispatch): added check for "custom" export and call appropriate func.
18309 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18311 * lyxrc.C: Add language_command_local, language_use_babel and
18312 language_global_options.
18314 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18316 * buffer.C (makeLaTeXFile): Use language_use_babel and
18317 language_global_options.
18319 2001-02-23 Juergen Vigna <jug@sad.it>
18321 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18322 which works with LyXText and putted it inside BufferView. Here now we
18323 only call for that part the BufferView::Dispatch() function.
18325 * BufferView.C (Dispatch): added.
18327 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18328 functions which needs to use a LyXText over from LyXFunc.
18329 (MenuInsertLyXFile): added
18330 (getInsetByCode): added
18331 (moveCursorUpdate): added
18332 (static TEXT): added
18334 2001-02-22 Juergen Vigna <jug@sad.it>
18336 * BufferView_pimpl.C (update): call a status update to see if LyXText
18339 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18341 * vc-backend.C (revert): implement for CVS
18342 (getLog): implement for CVS
18344 2001-02-20 Juergen Vigna <jug@sad.it>
18346 * text2.C (ClearSelection): added BufferView param for inset_owner call
18348 * lyxfunc.C (TEXT): added this function and use it instead of
18349 directly owner->view()-text of getLyXText().
18351 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18353 * src/layout_forms.C: out preamble
18354 * src/layout_forms.h: out preamble
18355 * src/lyx_cb.C: out preamble
18356 * src/lyx_cb.h: out preamble
18357 * src/lyx_gui.C: out preamble
18358 * src/lyx_gui_misc.C: out preamble
18359 * src/lyxfunc.C: connect with guii preamble
18361 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18363 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18365 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18367 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18368 whether to run bibtex.
18370 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18372 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18374 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18376 * Makefile.am (lyx_SOURCES): removed bibforms.h
18378 * vspace.h: doxygen
18380 * text.C (GetVisibleRow): make several local vars const
18382 * tabular.C: small cleanup.
18384 * lyxserver.C (callback): use compare instead of strncmp
18386 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18387 inlines to after class or to paragraph.C
18389 * lyxfont.h: remove friend operator!=
18391 * converter.h: move friend bool operator< to non friend and after
18394 * combox.h: small cleanup
18396 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18397 to inlines after class def.
18399 * buffer.C (pop_tag): use string operations instead of strcmp
18401 * bmtable.c: doxygen, small cleanup
18403 * LaTeX.h: remove friend operator==
18405 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18417 * BufferView_pimpl.C:
18418 * BufferView.[Ch]: remove cruft
18420 2001-02-14 Juergen Vigna <jug@sad.it>
18422 * lyxfunc.C: removed #if 0 unused code
18424 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18426 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18428 * text2.C (SetSelection): added a BufferView * parameter
18430 2001-02-13 Juergen Vigna <jug@sad.it>
18432 * lyxfunc.C (Dispatch): fixed protected blank problem.
18433 * BufferView2.C (protectedBlank): added LyxText * parameter.
18435 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18436 (AppendColumn): same as above for column_info.
18438 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18439 (moveCursorUpdate): use a LyXText param for support of InsetText.
18441 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18442 (tripleClick): ditto
18444 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18446 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18448 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18450 * text2.C (SetSelection): set correct update status if inset_owner
18451 (ToggleFree): ditto
18453 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18455 * tabular.C: remove some commented code.
18457 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18459 * BufferView_pimpl.C: call hideSplash()
18461 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18464 * bibforms.h: remove
18467 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18468 add LFUN_CHILD_CREATE
18470 * counters.h: fix tiny typo
18475 * lyx.C: move splash to frontends/xforms/
18477 * lyx_gui_misc.C: move Include and Bibform to frontends
18479 * lyxvc.h: clarify comment
18481 * vspace.C: tiny housekeeping
18483 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18485 * text.C (PrepareToPrint): RTL Fix.
18487 * paragraph.C (GetUChar): New method.
18488 (String): Use GetUChar.
18490 * buffer.C (asciiParagraph): Use GetUChar.
18492 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18494 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18496 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18499 * buffer.C: rename to getLogName(), handle
18500 build log / latex log nicely
18502 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18505 * MenuBackend.h: remove support for reference menuitem type.
18507 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18509 * BufferView_pimpl.C: housekeeping
18510 * BufferView_pimpl.h:
18515 * minibuffer.h: move Timeout GUI-I
18517 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18519 * lyxrc.C (read): Update converters data-structures.
18521 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18523 * LaTeX.h (operator!=): add operator != for Aux_Info
18525 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18527 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18529 * LaTeXLog.C: deleted, useful code moved to Buffer
18532 * buffer.C: new function getLatexLogName()
18538 * lyxfunc.C: use frontends for LaTeX and VC logs
18540 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18542 * LaTeX.h: yet another std:: that Allan forgot.
18544 * Variables.C (set): renamed from isset(), because this clashes
18545 with some HP-UX macros (grr).
18547 2001-02-06 Allan Rae <rae@lyx.org>
18549 * LaTeX.h: Another bug fix. Missing std:: this time.
18551 2001-02-04 Allan Rae <rae@lyx.org>
18553 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18554 floats problem. I've left it commented out because it's not quite
18555 correct. It should also test that the current object is a table or
18556 figure inset. But I haven't gotten around to figuring out how to do
18557 that. I *think* it'll be something like: "table" == inset.type()
18559 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18562 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18564 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18565 all the citation/databases/styles in the auxilary file.
18566 (run): Rerun latex if there was a babel language error.
18568 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18570 * text.C (Backspace): Preserve the font when changing newline char
18572 (BreakParagraph): If the cursor is before a space, delete the space.
18574 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18576 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18578 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18579 new argument (code).
18580 (ChangeCitationsIfUnique): New method.
18582 * paragraph.C (GetPositionOfInset): Handle bibkey.
18584 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18586 * BufferView_pimpl.h: change type of Position::par_pos to
18587 LyXParagraph::size_type.
18589 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18591 * BufferView_pimpl.C (savePosition, restorePosition): Write
18592 messages to minibuffer.
18594 2001-01-28 José Matos <jamatos@fep.up.pt>
18596 * buffer.C (makeDocBookFile): adds support for document language.
18597 A silly restriction on the name of LatexCommand types where removed.
18598 Added support for CDATA sections, allows to chars unescaped, used
18599 among others in code, to avoid escape < and >.
18601 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18603 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18604 saved positions instrad of a stack. Furthermore, a position is
18605 stored using paragraph id/paragraph position.
18607 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18608 Remove LFUN_REF_BACK.
18610 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18612 * converter.C (dvipdfm_options): New method.
18614 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18616 * vspace.C (isValidLength): Fix for empty input string.
18618 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18620 * LyXAction.C (init): change description of LFUN_FIGURE to
18623 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18625 * LaTeX.C: add using directive
18627 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18629 * MenuBackend.C (expand): Fix the sorting of the formats.
18631 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18633 * lyx_main.C: tiny error message fix
18635 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18637 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18638 calling fl_initialize(). This fixes the problem with ',' as
18639 decimal separator in text files.
18641 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18643 * trans.C (process): Fix the keymap bug.
18645 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18647 * LaTeX.C (scanAuxFiles): New method. Provides support for
18648 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18649 (scanLogFile) Scan for "run BibTeX" messages.
18651 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18652 OT1 font encoding. Also, load the aecompl package if the ae
18655 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18657 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18659 * texrow.C (increasePos): turn two error messages into debug
18662 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18664 * LaTeX.C (scanAux): Handle the \@input macro.
18665 (runBibTeX): Use scanAux().
18667 * language.C (latex_options_): New field.
18669 * LaTeXFeatures.C (getMacros): Add language macros.
18671 * buffer.C (makeLaTeXFile): Small fix.
18673 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18675 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18677 * text2.C: add a using directive.
18679 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18684 * lyxfunc.C: kill LyXBell.
18686 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18688 * text.C (IsBoundary): Remove the error message
18690 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18692 * lyxrc.C (setDefaults): Correct initialization value for
18695 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18697 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18700 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18701 and GotoNextNote().
18703 * src/LyXAction.C: Added reference-next.
18705 * text.C (InsertChar): Use contains instead of strchr.
18707 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18709 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18711 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18712 alignment commands (when needed).
18714 * text.C (InsertChar): Add ':' to number separator chars.