1 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
6 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * exporter.C (Export): Don't try to copy a file if it does not exist
11 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13 * text2.C (makeFontEntriesLayoutSpecific): remove.
16 * text.C (insertChar): remove bogus caching of fonts (did not do
19 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
22 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
24 * rowpainter.C (paintFirst): fix centering of
25 LABEL_CENTERED_TOP_ENVIRONMENT.
27 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
29 * BufferView.C (mouseSetCursor): new method. Calls
30 deleteEmptyParagraphMechanism if necessary.
32 * lyxtext.h: make deleteEmptyParagraphMechanism public.
34 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
35 BufferView::mouseSetCursor (bug 2109).
36 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
38 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
40 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
41 do not remove it (this inset behaves differently from the others).
43 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
47 * BufferView_pimpl.C (getStatus): it is only possible to insert a
50 * buffer.C (readDocument): remove pit argument and code releated
51 to it; set the inset owner correctly (unrelated, but useful).
52 (readFile): get rid of pit argument.
54 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
55 textclass instead of a selection index.
56 (pasteParagraphList): new function.
57 (pasteSelection): make it a wrapper around pasteParagraphList.
59 * BufferView_pimpl.C (MenuInsertLyXFile): use
60 cap::pasteParagraphList to insert a file.
62 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
64 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
66 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
68 * exporter.C: fix typo in text message
70 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
72 * text2.C (setLayout): move recUndo call to other setLayout method
73 * tabular.C (toggleFixedWidth): new, handle cell width changes
74 * tabular.C (setColumnPWidth): move some code from insettabular.C here
75 and use toggleFixedWidth
76 * tabular.C (setMColumnPWidth): ditto
78 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
80 * paragraph.C (asString): use new inset->textString method (fix
83 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
85 * CutAndPaste.C (numberOfSelections): new helper function.
87 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
89 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
90 LyXFunc::getStatus; implement LFUN_PASTE.
92 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
94 * dociterator.[Ch]: new member realInset() that returns the cell
95 for tabulars and the inset for the rest (bug 1952).
96 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
99 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
101 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
103 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
107 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
110 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
112 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
113 line after typing ctrl-enter
115 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
117 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
118 math insets do not return a proper editable() state yet (bug 2124).
120 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
122 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
123 docs containing very large paragraphs.
125 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
127 * cursor.C (selectionBegin, selectionEnd):
128 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
129 cursor at different depths.
131 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
133 * bufferview_funcs.C (coordOffset): do not call cursorPos
134 for collapsed collapsables (fix bug 2094).
136 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
138 * paragraph.C (fontSpan): make sure that the FontSpan does not
139 span across beginOfBody (bug 1947).
141 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
143 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
145 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
147 * messages.C: fix crash and localization on MinGW/Windows platform
149 2005-11-02 Angus Leeming <leeming@lyx.org>
152 * lyxtextclass.C: trivial fixes to some MSVS warnings.
154 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
156 * text3.C (getStatus): re-enable disabled code. (bug 2081)
158 * BranchList.h (empty): constify.
160 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
162 * text3.C (getStatus):
163 * MenuBackend.C (expandBranches): take the branch list from the
164 master document (bug 2092).
166 * MenuBackend.C (expandBranches):
167 * bufferparams.C (writeFile): use BranchList type.
169 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
171 * text3.C (dispatch, getStatus):
172 * LyXAction.C (init):
173 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
175 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
177 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
179 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
181 * text.C (insertChar): do not reset boundary (bug 2061)
183 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
185 * dociterator.C (updateInsets): new method. Updates the inset_
186 cache of all the slices of the iterator.
188 * text2.C (deleteEmptyParagraphMechanism): compare also containing
189 insets when comparing pit/pos; pass the right cursor to
190 recordUndo; when a paragraph has been deleted, compare `old.top()' to
191 the right cursor slice of `cur'; use updateInsets on cur to make
192 sure that the inset caches are correct; general cleanup.
194 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
197 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
198 containg inset. If this does not work, the same command will be
199 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
201 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
204 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
206 * lyxtextclass.C (Read): convert layout file if the format is wrong
207 * lyxtextclass.C (layout2layout): new, needed for the above
209 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
211 * messages.C: do not forget to include <cerrno>.
213 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
215 * dociterator.h (StableDocIterator): add access to pos().
216 * undo.C (samePar): new method to check if two
217 iterators are in the same paragraph
218 * undo.C (recordUndo): check for samePar instead of cell identity
219 (which includes pos() and is too strict) (fixes bug 2097)
221 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
223 * text.C (setCursorFromCoordinates): return a bool telling whether
226 * text3.C (cursorPrevious): update if needed after
227 setCursorFromCoordinates (when dEPM triggered).
229 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
230 (otherwise the anchor may be completely wrong and make dEPM assert).
232 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
234 * buffer.C: version upgrade to 245.
235 * bufferparams.C: remove \quotes_times (bug 2090).
236 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
237 quotation marks as default.
239 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
241 * CutAndPaste.C (nrOfParagraphs): remove (unused)
242 * CutAndPaste.C (cutSelection): Remove debug message
243 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
244 undo information and only copy if this is a real cut
245 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
247 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
249 * CutAndPaste.C (eraseSelection): prevent cursor corruption
250 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
251 superflous cur.selection() setting
252 * CutAndPaste.[Ch] (grabSelection): take a const cursor
253 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
255 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
257 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
260 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
262 * BufferView_pimpl.C: comment layout change
264 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
268 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
269 by bibliography managers (bug 2071).
271 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
273 * BufferView_pimpl.C (update): choose arguments to update call so
274 that single-par update works most times
275 * text3.C (dispatch): carefully tune updating separately for
276 whole-screen and current-paragraph
277 * rowpainter.C (paintText): 1) replace painting by caching for
278 the two extra paragraphs, because we can;
279 2) suppress greying out of areas below/above drawn area in case of
281 * lyxfunc.C (dispatch): remove superfluous update
282 * LyXAction.[Ch]: introduce SingleParUpdate
284 2005-10-05 Angus Leeming <leeming@lyx.org>
286 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
287 always initialised before use.
289 * text.C (setHeightOfRow): squash warning about comparison
290 of signed and unsigned types.
292 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
294 * text.C (cursorX): two fixes involving RtL text drawing
296 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
298 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
299 items, not only large ones (part of bug 2057)
301 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
303 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
304 argument, use "newcommand".
306 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
308 * cursor.C (setSelection): do not open collapsable insets;
309 the insets do by themselves now (autoopen).
311 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
313 * buffer.C: format is up to 244.
315 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
317 * text.C (redoParagraph): fix calcultation of inset width wrt
318 leftMargin (bug 1957).
320 * text3.C (dispatch): leave inset to the right when hitting ESC
323 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * messages.C: include <boost/current_function.hpp>
330 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
332 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
333 when command is internal. (bug 1941)
335 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
337 * text2.C (cursorRight): do not honor boundary when at the end of
338 a paragraph. (bug 2010 again)
340 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
342 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
344 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
346 * rowpainter.C (paintText): fix RtL space width display bug (2029)
348 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
350 * text2.C (setCursor): remove the unused 'boundary' parameter for
351 the CursorSlice version; adapt the LCursor version.
354 * paragraph_pimpl.C (markErased):
355 * cursor.C (bruteFind2, bruteFond3): fix warnings.
357 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
359 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
360 as is already done for "chapter".
362 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
364 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
365 textclass; do not record undo if nothing is changed.
367 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
369 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
371 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
373 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
375 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
377 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
378 combox, it is necessary to search for the topmost paragraph in the
379 cursor stack (bug 1926)
381 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
383 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
384 end of paragraph. (bug 2010)
386 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
388 * text.C (leftMargin): check for inInset == 0
390 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
392 * text.C (leftMargin): test for insetbase's new neverIndent()
393 bool instead of listing each and every inset that does not
394 wish par indendation.
396 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
398 * buffer_funcs.C (setCounter): put the code to compute enum label
399 here (where it belongs).
401 * counters.C (enumLabel): move code to buffer_funcs.C.
403 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
405 * outputparams.[Ch]: store local_font instead of local_language
406 * paragraph.C (simpleTeXOnePar): adapt to the change above
408 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
411 * counters.[Ch]: clean up special code for Hebrew.
413 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
415 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
418 2005-09-08 Angus Leeming <leeming@lyx.org>
421 * lyxrc.C: correct grammar describing invocation of the
424 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
426 * text.C (read): remove unused variable.
427 (readParToken): remove static Change variable (never good in
428 recursive settings...); add it as a parameter instead.
430 * paragraph_pimpl.C (acceptChange): make debug info conditional.
432 * metricsinfo.C (PainterInfo): add new member erased_.
434 * rowpainter.C (RowPainter): add erased_ member, initialized from
436 (paintInset): pass erased_ to Inset::draw.
438 * lyxfunc.C (lookupChange): new function. Tells whether change
439 tracking is disabled at a given postion.
440 (getStatus): disable some actions when in deleted text with change
443 2005-08-03 John Levon <levon@movementarian.org>
445 * tabular.C (appendColumn, setMultiColumn): adapt to change to
448 * paragraph_pimpl.C (markErased): add bool argument and handle it.
449 Also make sure to mark insets recursively.
450 (rejectChange, erase): be recursive
452 * paragraph.C (markErased): add bool argument.
453 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
455 * lyxfind.C (findNextChange): tiny cleanup.
457 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
458 change tracking with the cursor in an inset; make sure the first
459 change is not skipped.
461 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
463 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
464 tabularStackDirty to work around bug 1919 (tabular needs
465 to know whether its own cell paste buffer or the one of
467 * CutAndPaste.C: mark tabular_stack_ clean after copy.
469 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
471 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
473 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
475 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
476 use old deleteion algorithm when changetracking is on.
478 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
480 * messages.C (get): add debug output.
482 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
484 * text.C (cursorX): fix bug 1965: cursor movement at
485 line end broken in RtL.
486 (drawSelection): fix bug 1970: drawing of single-line
487 selection broken for RtL.
489 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
493 * dociterator.h (clear, push_back, pop_back): change from
496 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
497 and changed to just return the value of the item depth; take a
498 ParIterator as argument; take the itemdepth at outer nesting level
499 in account if necessary; cleanup and comment the code.
500 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
501 and changed to just return true if reset is needed; take a
502 ParIterator as argument; cleanup and comment the code.
503 (setCounter): adapt to above changes.
505 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
507 * text3.C (dispatch): make debug message optional
509 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
511 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
514 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
516 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
518 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
520 * text.C (insertChar):
521 * text2.C (deleteEmptyParagraphMechanism): take care whether
522 a blank has been deleted (in change tracking mode) (bug 1254).
524 2005-07-20 John Levon <levon@movementarian.org>
526 * text2.C (insertStringAsLines): remove old dubious code,
529 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
531 * MenuBackend.C (expandToc): use Floating::listName() as title of
534 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
536 * toc.[Ch]: Do not use translatable strings (bug 1870).
538 2005-07-20 John Levon <levon@movementarian.org>
540 * tabular.C: fix 1748 - setting multicolumn adds
541 left line to the first cell
543 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
546 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
549 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
551 * messages.C: supress some lyxerr messages
553 2005-07-18 Juergen Vigna <jug@lyx.org>
555 * text.C (drawSelection): honor boundary when asking for cursorX.
557 2005-07-17 José Matos <jamatos@fc.up.pt>
559 * tabular.C (recalculateMulticolumns): fix handling of one column
562 2005-07-17 Juergen Vigna <jug@lyx.org>
564 * text.C (Delete, backspace): fixed so that paragraph with the
565 same layout can be merged by Delete/Backspace.
567 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
569 * text.C (readParToken): fix spelling.
571 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
573 * text2.C: fix counter update for DEPM problem reported by
576 2005-07-17 Juergen Vigna <jug@lyx.org>
578 * BufferView_pimpl.C (setBuffer): save/restore the
579 cursor/selection when switching buffers
582 * buffer.C (saveCursor): add saveDocumentIterators to save the
583 cursor when switching buffer.
585 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
588 * buffer.C: clarify message
590 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
592 * dociterator.C (DocIterator): fix initialization order
594 2005-07-17 Juergen Vigna <jug@lyx.org>
596 * text2.C (cursorHome):
597 * text.C (drawSelection, cursorX):
598 * dociterator.C (textRow): add boundary to getRow() call
600 * paragraph.C (getRow): implementation of below
602 * paragraph.h: add parameter boundary for getRow() function
604 2005-07-17 José Matos <jamatos@fc.up.pt>
608 * tex-strings.[Ch]: new file format, remove support for a4.sty,
609 a4wide.sty and a4widemargins.
611 2005-07-17 Juergen Vigna <jug@lyx.org>
613 * text2.C (cursorLeft): fix one of error
615 2005-07-17 Juergen Vigna <jug@lyx.org>
617 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
619 more fixes for boundary handling
621 * text3.C (dispatch): don't reset cursor if boundary has changed
624 2005-07-16 Juergen Vigna <jug@lyx.org>
626 * text2.C (getColumnNearX): hopefully got it right now,
627 check if we are on column 0 for special case.
629 2005-07-16 Juergen Vigna <jug@lyx.org>
631 * text2.C (getColumnNearX): handle special case Newline Inset
633 * text.C (singleWidth): Just remove bogus check
635 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
637 * funcrequest.C (split): avoid reading uninitialized char c
639 2005-07-16 José Matos <jamatos@fc.up.pt>
645 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
646 single papersize variable.
648 2005-07-16 Juergen Vigna <jug@lyx.org>
650 * text3.C (dispatch): honor boundary when checking if a cursor
651 movement has been done
653 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
654 (setCursor, setCursorIntern): fix cursor movement with boundary
656 2005-07-16 Juergen Vigna <jug@lyx.org>
658 * text.C (currentState): output the actual Boundary
660 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
662 * factory.C (createInset): fix bad logic for tabular creation
664 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
666 * lyx_main.C (init): change some reLyX reference to tex2lyx
668 2005-07-16 Juergen Vigna <jug@lyx.org>
670 * dociterator.C (DocIterator): initialize boundary
672 2005-07-16 Juergen Vigna <jug@lyx.org>
674 * text2.C (getColumnNearX): Consider rows without trailing blank.
676 2005-07-16 André Pönitz <poenitz@gmx.net>
678 * lyxfont.h: Change order of declarations to give the compiler
679 a better chance to inline things
681 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
682 questions on unsaved docs for better scritability
684 2005-07-16 André Pönitz <poenitz@gmx.net>
686 * paragraph.h (getChar): remove asserts as the same kind of security
687 can be achieved by using a suitable standard library implementation
688 and the function was in the critical path (25.9% in profiler)
690 2005-07-16 Juergen Vigna <jug@lyx.org>
692 * cursor.C (bruteFind2):
693 * bufferview_funcs.C (coordOffset):
694 * text.C (cursorX,cursorY): Handle cursor position after last char
695 in row before a inset which uses a whole row.
697 2005-07-15 José Matos <jamatos@lyx.org>
699 * output_plaintext.[Ch] (writeFileAscii): control reference title
701 (asciiParagraph): noparbreak was already deal and was incorrectly
704 2005-07-15 Juergen Vigna <jug@lyx.org>
706 * lyxfunc.C (dispatch): save and restore the cursor after a
709 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
711 * text.C (backspace): bug 806 for empty keepempty paragraphs we
712 change the layout to default before letting DEPM do its thing.
714 * paragraph_funcs.C (breakParagraph): dont reset the layout on
717 * text.C (setCursorFromCoordinates): add a debug statement
719 * text2.C (getColumnNearX): bug 1825 make sure that we don't
720 return a pos that is not on the row
722 * output_latex.C (TeXDeeper): get rid of potential dereferencing
723 of past the end iterator
725 2005-07-14 André Pönitz <poenitz@gmx.net>
727 * undo.C (recordUndoFullBuffer): implement undo for
730 2005-07-14 André Pönitz <poenitz@gmx.net>
732 * cursor.C (setSelection): open insets when selection is set there
733 to avoid crashs with cold coord cache
735 2005-07-14 André Pönitz <poenitz@gmx.net>
737 * trans_mgr.C (insert): move cursor to the right after inserting
740 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
742 * BufferView_pimpl.C (update): dampen some of the debug blabbering
743 * factory.C (readInset): ditto
744 * text.C, text2.C: ditto
746 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
748 * buffer.C: format incremented to 242. There is no file format per
749 se, but the "frenchb" language has been removed from lib/language
750 and has to be translated to "french" by lyx2lyx.
752 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
754 * cursor_slice.h, dociterator.h: add some documentation
755 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
757 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
759 * text.C (leftMargin): do not add identation to display() style
760 insets, because they are always centered (bug 1293).
762 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
764 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
765 formatted_time methods in support/lyxtime.
767 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
769 * toc.[Ch]: new method getGuiName, which is used by the frontends
770 to set the toc combo (fixes bug 1870). Make TOC string translatable.
772 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
774 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
775 StableDocIterator const &)
776 * undo.C (recordUndo): use the above instead of cell.size() comparison
777 (fixes bug 1808; instructed by Andr�.
779 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
782 * dociterator.h: Fix the assert when copying rows/cols in math
784 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
786 * BufferView_pimpl.C:
788 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
790 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
791 (findInset): new functions, refactored from goto Inset that return
792 the position of a certain inset without setting the buffer's cursor
794 (gotoInset): rewrite to call findInset and then set the cursor
797 2005-06-16 Angus Leeming <leeming@lyx.org>
799 * lyxrc.C (output, read): wrap all input and output of paths with
800 calls to os::internal_path and os::external_path, respectively.
801 (output): wrap bind_file inside quotes.
803 * format.C (view): enable the viewer to use the '$$s' placeholder.
805 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
807 * LColor.[Ch] (getFromLaTeXName): new
809 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
811 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
813 2005-06-14 Angus Leeming <leeming@lyx.org>
815 * lyx_main.C (init): ensure that the LyX binary dir is the first
816 element in the PATH on non-POSIX builds.
818 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
820 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
822 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
824 * rowpainter.C (paintInset, paintHebrewComposeChar)
825 (paintArabicComposeChar, paintChars): add a LyXFont argument.
826 (paintChars): use getFontSpan to reduce calls to getFont to a
827 minimum; use Paragraph::lookupChange instead of isXXXText.
828 (paintForeignMark): rename LyXFont argument.
829 (paintFromPos): pass a LyXFont object to the various paintXXX
832 * FontIterator.C (FontIterator, operator++): use
833 Paragraph::getFontSpan
835 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
836 version that returns the font span as a pair.
838 2005-06-09 Angus Leeming <leeming@lyx.org>
840 * converter.C (convert): Don't forget "outfile = real_outfile" as
841 the final step in a conversion where the input and output file names
842 are the same. Otherwise, future conversion steps won't work...
844 2005-06-09 Angus Leeming <leeming@lyx.org>
846 * lyxsocket.C: remove stub code as it isn't needed by
847 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
849 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
851 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
852 effectively disabled -x
854 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
856 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
857 when it actually makes sense.
859 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
861 * BufferView_pimpl.C: revert to showCursor in connection with
862 Lars's front-end stack
864 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
866 * text.C (redoParagraph): move cursor right after a bibitem
869 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
871 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
873 * buffer_funcs.C (bufferErrors): fix computation of the end of an
876 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
878 * BufferView.[Ch] (update):
879 * BufferView_pimpl.[Ch] (update, metrics):
880 * dimension.h (operator==):
881 * lyxfunc.C (dispatch):
882 * metricsinfo.h (ViewMetricsInfo):
883 * rowpainter.C (paintText):
885 * text.C (redoParagraph):
886 * text3.C (dispatch): Make LyX only repaint current paragraph in
887 case of character insert --> speedup. Also fix cursor draw
890 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
892 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
893 avoid a crash (bug 1891)
895 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
899 * text2.C (getStringToIndex): constify cur argument.
901 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
902 argument has been given
903 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
904 try to invoke LFUN_INSET_APPLY).
906 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
907 if no inset was created by doInsertInset
908 (doInsertInset): return true if an inset has been inserted.
910 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
912 * vspace.C (asGUIName): new method. A version of the space
913 suitable for showing on screen.
915 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
918 * lyxrc.C: rename "ASCII" to "Plain Text"
920 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
922 * buffer_funcs.C (expandLabel): take a Buffer as argument;
923 translate the labelstring.
924 (setCounter): translate labelstring as needed.
926 * output_docbook.C (makeCommand): fix expandLabel invokation
928 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
930 * BufferView.C: fix dialog title
932 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
934 * lyx_main.C (priv_exec): fix logic error with help from Angus
935 * lyx_main.C (parse_execute): set is_gui = false and remove now
936 obsolete comment about a segfault
938 2005-05-18 Angus Leeming <leeming@lyx.org>
940 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
942 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
944 * tabular.[hC]: added setCellInset to fix tabular paste.
946 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
948 * buffer.C (save): check if destination is writable before trying
951 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
953 * BufferView_pimpl.C (update): fix processEvents -caused update
956 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
958 * buffer_funcs.C (setCounter): fix test for numbering of
961 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
962 depth correctly; use optional argument when it exists
964 * lyxtextclass.C: remove unused MaxCounterTags enum
965 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
966 (max_toclevel, min_toclevel): new methods.
968 * MenuBackend.C (expandToc2): fix case where depth is smaller than
969 the smallest depth in toc.
971 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
972 layouts that should not appear in a table of contents.
974 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
976 * cursor.h (undispatched, noUpdate): add comments from Andr�
977 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
981 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
983 2005-05-07 André Pönitz <poenitz@gmx.net>
985 * cursor.[Ch] (leaveInset): new function
987 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
989 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
991 2005-05-04 Angus Leeming <leeming@lyx.org>
993 * lyxfunc.C (getStatus): disable the spell checker dialog if
994 none of USE_[AIP]SPELL are defined.
996 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
998 * tabular.C (setWidthOfCell): remove obsolete comment
1000 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1002 * paragraph.C (bibitem):
1003 * buffer_funcs.C (setCounter):
1004 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1006 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1008 * text3.C (getStatus): immediately return after setOnOff
1010 * rowpainter.C: fix drawing of appendix start
1012 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1014 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1015 SwitchBetweenClasses and remove the unused return value.
1016 Handle character styles, too
1018 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1020 * factory.C (createInset): handle undefined character styles
1022 2005-05-02 Angus Leeming <leeming@lyx.org>
1024 * buffer.C: protect the #include of utime.h with a preprocessor
1027 2005-05-02 Angus Leeming <leeming@lyx.org>
1029 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1030 function so that auto-saving works, albeit in a blocking manner.
1032 * Makefile.am: make compilation of the client sub directory, of
1033 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1034 on conditionals set at configure time.
1036 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1037 it can be compiled in its own right but has no-op functionality.
1039 * aspell.C, pspell.C: remove preprocessor guards. The files should
1040 be compiled only if the necessary functionality exists.
1042 * lyxserver.C, lyxsocket.C: disable on Windows.
1044 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1046 * text.C (leftMargin): Fix the parindent use bug (1764)
1049 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1051 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1054 2005-04-25 Angus Leeming <leeming@lyx.org>
1062 include <config.h> in .C files, not .h ones.
1064 protect headers inside preprocessor guards.
1066 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1068 * FuncStatus.h (StatusCodes): document
1070 2005-04-21 André Pönitz <poenitz@gmx.net>
1072 * FuncStatus.h (enabled, onoff): document
1074 2005-04-19 Angus Leeming <leeming@lyx.org>
1076 * BufferView_pimpl.C (cursorToggle): no longer test whether
1077 any child processes have been reaped before calling
1078 handleCompletedProcesses().
1080 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1082 * text3.C (dispatch): fix, finally fix, the language problem in
1083 new lyxtexts, without disabling on-the-fly font changes (Helge's
1086 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1088 * text3.C (dispatch): set cursor on double/triple click events
1091 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1093 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1094 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1096 * rowpainter.C (paintFirst): simplify the code a little bit. In
1097 particular, remove the test for secnumdepth.
1098 * text.C (setHeightOfRow): only allocate space for chapter number
1099 when updateCounters provided an actual label, instead of looking
1100 at secnumdepth directly.
1102 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1104 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1105 paragraphs when secnumdepth is large enough or, for environments,
1106 when they are not the first in a sequence.
1108 2005-04-17 Angus Leeming <leeming@lyx.org>
1110 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1111 containing space and '~' characters with a call to latex_path().
1113 2005-04-17 Angus Leeming <leeming@lyx.org>
1115 * converter.C (convert): protect all args of convertDefault.sh
1118 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1120 * text3.C (dispatch): change the layout to "Caption" after inserting
1123 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1125 * text3.C (dispatch): fix language problem in newly created
1126 textinsets (and main text) in non-english docs
1128 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1130 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1131 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1132 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1134 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1138 * text2.C (getFont):
1139 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1142 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1144 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1145 output of \item arguments without trailing text.
1147 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1149 * FontIterator.C (operator*): avoid a copy of the font.
1151 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1153 * rowpainter.C (getFont): fix language bug from previous fix
1155 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1157 * rowpainter.C (RowPainter, getFont): fix font inside inset
1160 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1162 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1163 preventing inserted font, deco, delim insets jumping to start of
1166 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1168 * lyxfunc.C (dispatch): translate message before sending it to the
1171 2005-03-29 Angus Leeming <leeming@lyx.org>
1173 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1174 to LyX on the command line.
1176 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1178 * vc-backend.C: use QuoteName to protect file names wherever
1181 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1184 * BranchList.h: fix bugs 1844,1845: document settings don't
1187 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1189 * lyxrc.C (setDefaults, read, output, getDescription): add support
1190 for tex_allows_spaces.
1192 * exporter.C (Export): allows files in directory containing spaces
1193 if tex_allows_spaces is true.
1195 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1196 output it in double quotes.
1198 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1200 * rowpainter.C: use default text height for drawing change tracker
1203 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1205 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1207 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1209 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1210 directory is missing.
1212 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1214 * text2.C: fixed the fix, extended to other case.
1216 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1218 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1220 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1222 * text2.C (cursorUp): get rid of a crash
1223 * text.C (x2pos): add an assert
1225 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1227 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1231 * dociterator.C: include <boost/current_function.hpp>, which is
1232 needed when assertions are disabled.
1234 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1236 * text2.C: fix for stuck cursor when traversing two
1237 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1239 2005-02-25 Andreas Vox <avox@arcor.de>
1241 * output_docbook.C (makeParagraph): suppress trailing newline
1242 after a run of paragraphs
1244 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1246 * paragraph.C: fix for confused change tracker when pasting
1247 text that begins with a lineseparator. [bug 1827]
1248 (setChange(0, Change::INSERTED);)
1250 * paragraph_funcs.C: fix for lost changes on triple-paste
1251 in change tracking mode [bug 1827] (par.setChange()).
1253 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1255 * text2.C (updateCounters, setCounter, expandLabel): move to
1258 * buffer_funcs.C (updateCounters): turn into a free standing
1259 function and add a buffer parameter. Remove dead code for tracking
1261 (setCounter): change into a free-standing function which gets a
1262 dociterator as argument. Use this iterator to fix captions in a
1263 simple way. When no float is found above the caption, use the
1264 labelstring of the caption layout as default.
1266 * text.C (breakParagraph, backspace):
1267 * text2.C (init, setLayout, changeDepth):
1268 * text3.C (dispatch):
1269 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1272 * dociterator.C (forwardPar): make it much faster by calling
1273 forwardPos() only when really necessary.
1275 * output_docbook.C (makeCommand): adapt to expandLabel move.
1277 * cursor.C: remove unused variable
1279 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1281 * paragraph_funcs.C: fix crash when pasting insets in change
1282 tracking mode [bug 1277] (honour change type in moveItem).
1284 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1286 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1288 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1290 * BufferView.C (setCursor): change to use a DocIterator.
1291 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1292 (putSelectionAt): adapt to BufferView::setCursor change.
1294 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1295 moved here from LyXText and rewritten to use proper cursor
1296 methods. Fixes bug 1787, 616 and 835.
1298 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1299 when inside an inset (part of bug 781).
1300 (dispatch): adapt to change of BufferView::setCursor.
1301 (getStatus, dispatch): handle LFUN_GOTOERROR,
1302 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1304 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1305 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1306 * text3.C (gotoNextInset, gotoInset): removed.
1308 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1310 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1312 2005-02-15 Angus Leeming <leeming@lyx.org>
1314 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1315 can be used meaningfully in a comparison.
1317 2005-02-13 André Pönitz <poenitz@gmx.net>
1319 * bufferview_funcs.C (coordOffset): improve cursor drawing
1321 2005-02-13 André Pönitz <poenitz@gmx.net>
1323 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1324 * Cursor.C (dispatch): use fixIfBroken
1325 * lyxfunc.C (getStatus): use fixIfBroken
1327 2005-02-15 Angus Leeming <leeming@lyx.org>
1329 * lyx_main.C (error_handler):
1331 * lyxrc.C (setDefaults):
1333 #include "environment.h".
1335 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1337 2005-02-15 Angus Leeming <leeming@lyx.org>
1339 * lyxserver.C (startPipe): squash MSVC warning "local variable
1340 'fd' used without having been initialized".
1342 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1344 * BufferView_pimpl.C: revert accidental commit.
1346 2005-02-14 André Pönitz <poenitz@gmx.net>
1348 * dociterator.[Ch]: new member forwardPosNoDescent(),
1349 which doesn't enter nested insets.
1350 * text2.C (setFont): use forwardPosNoDescent() instead
1351 of ForwardPos() (fixes crash on font change).
1353 2005-02-13 Angus Leeming <leeming@lyx.org>
1355 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1356 only if lyxrc.path_prefix is not empty.
1358 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1360 * bufferparams.C (readGraphicsDriver): prevent crash
1362 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1364 * text2.C (setCounter): check for inInset() == 0
1366 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1368 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1369 but use update() to get correct screen display; use convert
1370 instead of istringstream.
1371 (getStatus): handle LFUN_GOTO_PARAGRAPH
1373 * lyxfunc.C (dispatch, getStatus): do not handle
1374 LFUN_GOTO_PARAGRAPH here.
1376 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1378 * text3.C (dispatch): size() -> depth()
1380 * text2.C: remove some debug output
1382 * paragraph.C: ws changes only
1384 * lyxfunc.C (getStatus): size() -> depth()
1386 * dociterator.h (clear, push_back, pop_back, internalData,
1387 operator[], resize, empty): new functions
1388 Make StableDocIterator and operator== be friends. Don't inherit
1389 from std::vector use a privat class variable slices_ instead.
1392 * dociterator.C: update because of not inheriting from std::vector
1393 anymore. Call explictly to slices_ instead. Use depth() instead of
1394 size() and top() instead of back()
1396 * cursor.C: chagne size() -> depth and back() -> top(). Also
1397 remove some direct operator[](i) calls in favour of foo[i]
1398 (getFont): remove some dead code
1400 * bufferview_funcs.C (coordOffset): size() -> depth()
1402 * buffer.C: ws changes only
1404 * CutAndPaste.C (eraseSelection): back() -> top()
1406 * BufferView_pimpl.C (selectionRequested): back() -> top()
1408 * BufferView.C (setCursor): size() -> depth()
1410 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1412 * text3.C (cursorPrevious): return true if depm changed something
1414 (dispatch): rename sl to oldTopSlice, remove moving use the new
1415 NoUpdate func attrib instead. Make sure that needsUpdate is set
1416 for function that have NoUpdate, but where depm might have changed
1419 * text2.C (cursorLeft): make us return true if depm changed
1421 (cursorRight): ditto
1422 (cursorUpParagraph): ditto
1423 (curosrDownParagraph): ditto
1424 (cursorUp, cursorDown): ditto, make sure to read comments in code
1425 (deleteEmptyParagraphMechanism): remove an assert, also return
1426 true if just a single char was deleted.
1428 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1429 cursor that we modify, to avoid modifying an active cursor before
1430 we call setCursor. This allows depm to run. Also return true if
1431 depm deleted something.
1433 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1434 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1435 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1436 something was changed in the buffer because of them (ie. depm run)
1438 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1439 debug messages. Make update by default be false. Make sure that
1440 the result of update is retained throught several calls down to
1443 * LyXAction.h: add a new func_attrib: NoUpdate
1445 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1446 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1447 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1449 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1451 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1453 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1454 bv_->owner(), bv_->buffer() by direct references to the private
1456 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1457 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1458 (fitCursor): center() is in BufferView::Pimpl.
1459 (getStatus, trackChanges, dispatch): no need for a temporary buf
1461 (fitCursor, workAreaDispatch): use workarea().workheight()
1463 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1465 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1467 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1469 * buffer.C: format up to 241.
1470 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1471 break if pasting into ERT
1472 * lyxfunc.C (getStatus): suppress mathpanel and
1473 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1475 2005-02-01 Angus Leeming <leeming@lyx.org>
1477 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1479 2005-02-01 Angus Leeming <leeming@lyx.org>
1481 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1482 calling fs::is_directory().
1484 2005-01-31 Angus Leeming <leeming@lyx.org>
1486 * lyx_main.C (priv_exec): specify explicitly the relative location
1487 of the top level build directory when run in-place.
1489 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1491 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1492 LyXText containing the cursor, not the top-level one.
1494 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1496 (insertStringAsLines): rename par to pit; use temporary variable
1497 par to hold a Paragraph; do not store par.layout() in a variable,
1498 since the pointer may die when breaking paragraphs; pass pars to
1499 breakParagraph() instead of Buffer::paragraphs().
1501 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1503 * lyxlex_pimpl.h: #include <fstream>.
1505 * BufferView.[Ch] (getLyXText): add a const version.
1507 * BufferView_pimpl.C: add debug aids.
1512 * paragraph_funcs.h: add commentary explaining what the class does.
1515 * coordcache.[Ch]: add lots of commentary.
1516 (startUpdating, doneUpdating): debug aids.
1517 (arrays, insets, parPos, getParPos): accessors to private data.
1519 * cursor_slice.[Ch] (text): add a const version.
1520 * dociterator.[Ch] (text, innerText): add const versions.
1522 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1525 * paragraph.C (getRow, pos2ros): add asserts.
1527 * paragraph.h: add commentary. Lots of.
1529 * paragraph.[Ch] (metrucs, draw): removed.
1532 * rowpainter.[Ch]: const-correct changes.
1534 * text.C: various obvious clean-ups. Removal of ancient cruft.
1537 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1539 * vc-backend.C (find_file): rewrite to use boost.filesystem
1542 * main.C (main): set default name check for boost.filesystem to
1545 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1548 (actOnUpdatedPrefs): ditto
1550 * lyx_main.C (init): rewrite to use boost.filesystem
1551 (queryUserLyXDir): ditto
1553 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1554 (getContentsOfAsciiFile): ditto
1556 * lastfiles.C (readFile): rewrite to use boost.filesystem
1558 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1560 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1561 (loadLyXFile): ditto
1563 * buffer.C (Buffer): adjust for destroydir
1564 (getLogName): rewrite to use boost.filesystem
1565 (setFileName): ditto
1566 (save): use fs::copy_file (from fs_extras)
1568 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1570 * LaTeX.C (run): rewrite to use boost.filesystem
1571 (scanAuxFiles): ditto
1572 (handleFoundFile): ditto
1574 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1576 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1578 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1580 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1582 * lyxlayout.[Ch]: change some vars from float to double
1584 * buffer.C (readFile): make a local var const
1586 * Several files: use convert<> instead of atoi,strToXXX and friends
1588 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1590 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1591 holds the contents of packages.lst. New functions getAvailable
1592 and isAvailable to parse and check that list, resp.
1596 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1598 * bufferparams.[Ch]: new param output_changes.
1600 * Buffer.C: increase file format to 240.
1601 Use output_changes and isVailable.
1605 * paragraph_pimpl.C: Use output_changes and isVailable.
1607 2005-01-23 Angus Leeming <leeming@lyx.org>
1609 * output_latex.C: #include "insetbibitem.h", rather than
1610 forward declare function bibitemWidest.
1612 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1614 * lyx_main.C (init): make it compile on the Mac.
1616 2005-01-20 Angus Leeming <leeming@lyx.org>
1618 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1619 (setLyXMisc): (char string literal) != (char string literal) is
1620 performing a comparison on the addresses. Convert one operand
1621 explicitly to string to guarantee expected behaviour.
1624 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1627 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1629 * output_plaintext.C: remove unneeded #include gzstream.h.
1631 2005-01-20 Angus Leeming <leeming@lyx.org>
1633 * SpellBase.h: rename some of the elements of the Result enum.
1640 * pspell.C (check): ditto
1642 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1644 * buffer.C: add #include <fstream>.
1646 * lyx_main.C (init): Compile fix.
1648 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1650 2005-01-20 Angus Leeming <leeming@lyx.org>
1652 * mover.h: change commentary to reflect the changed meaning of
1653 the $$s placeholder.
1655 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1657 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1659 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1661 2005-01-20 Angus Leeming <leeming@lyx.org>
1663 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1664 printing diagnostic data by not dereferecing an iterator past the
1667 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1669 * buffer.C (readHeader): use "&&" rather than "and".
1671 * lyxserver.h (inPipeName, outPipeName): make these const.
1673 2005-01-19 Angus Leeming <leeming@lyx.org>
1675 * lyx_main.C (error_handler, init): protect SIGHUP with
1676 #ifdef SIGHUP guards.
1678 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1680 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1682 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1684 * text.C (setHeightOfRow): add a margin at the top and bottom of
1685 the document (bug 1761)
1687 2005-01-17 Angus Leeming <leeming@lyx.org>
1689 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1690 with "python ". Workaround for a brain-dead Windows.
1692 2005-01-16 Angus Leeming <leeming@lyx.org>
1694 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1695 for MacOSX and Windows to use prependEnvPath.
1696 Strip out the hard-coded block to add elements to the PATH for
1697 MacOSX and replace it with a call to prependEnvPath using the
1698 contents of LyXRC::path_prefix.
1699 (queryUserLyXDir): strip out the code to run reconfigure, instead
1700 returning a boolean indicating the necessity to do so.
1701 (reconfigureUserLyXDir): contains the code to reconfigure the
1702 user support directory. Is now called after the various LyXRC data
1703 files have been read.
1705 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1707 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1709 * converter.[Ch] (convert): take a new parameter try_default. Use
1710 a default converter (imagemagick) if try_default is true.
1712 2005-01-13 Angus Leeming <leeming@lyx.org>
1714 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1715 os::cygwin_path_fix.
1716 (write): output LyXRC::cygwin_path_fix as necessary.
1718 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1721 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1723 2005-01-12 Angus Leeming <leeming@lyx.org>
1725 * lyx_main.C (init): set the PATH variable to include the
1726 directory containing the LyX binary when running on Mac or Windows.
1728 2005-01-12 Angus Leeming <leeming@lyx.org>
1730 * lyx_main.C (init): remove cruft that purports to set the locale
1731 dir. It doesn't and is not needed anyway.
1733 2005-01-10 Angus Leeming <leeming@lyx.org>
1735 * Makefile.am: remove the lyx_main.C special casing.
1737 * BufferView_pimpl.C:
1743 * messages.C: use support/package.h to provide the paths to the
1744 various directories used by LyX.
1746 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1748 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1749 layout if pasting into an empty paragraph)
1751 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1753 * tex-accent.C: add <string>
1755 2005-01-06 José Matos <jamatos@lyx.org>
1757 * ParagraphParameters.C (write): put every parameter in its own line.
1758 * paragraph.C (write): reduce number of consecutive empty lines exported.
1759 * buffer.C (LYX_FORMAT): increase file format to 239.
1761 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1763 * everywhere: change support/tostr.h -> support/convert.h
1765 * tabular.C: make all write_attributes templates, tostr -> convert
1767 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1768 (emptyTag): and -> &&, and fix type for ret from getChar
1769 (getFirstWord): fix type for ret from getChar
1770 (onlyText): and -> &&
1771 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1774 * toc.C (goTo, action):
1775 * text3.C (dispatch):
1776 * text.C (currentState):
1777 * tex-accent.C (DoAccent):
1780 * lyxfunc.C (menuNew):
1781 * lyxfinc.C (replace):
1782 * counters.C (laberItem):
1783 * bufferview_funcs.C (font2string):
1784 * bufferparams.C (writeFile):
1785 * buffer.C (readFile):
1787 * MenuBackend.C: tostr -> convert
1789 * LaTeX.C (runMessage): fix format
1790 (scanAuxFiles): tostr -> convert
1792 * BufferView_pimpl.C (savePosition): fix format
1793 (restorePosition): ditto
1796 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1798 * Spacing.[Ch]: New method getValueAsString().
1802 * ParagraphParameters.C:
1805 * text3.C: store/read spacing value as string.
1807 * rowpainter.C: change float value (spacing_val) to double.
1809 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1810 broken custom document spacing).
1812 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1814 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1815 namespace, also more use of temp references and const
1817 * cursor.[Ch] (getStatus): move to lyxfunc.C
1819 * bufferparams.C: reformat slightly
1821 * bufferview_funcs.C (font2string): constify arg
1827 * buffer_funcs.C: (many funcs): constify arg on function
1828 definitions, also make more local vars const, also add ASSERTS on
1831 * buffer.C (LYX_FORMAT): put const in correct place
1832 (many funcs): constify arg on function definitions, also make
1833 more local vars const
1835 * aspell_local.h: remove "struct" from typdef setup
1837 * aspell.C (check): make word_ok const
1838 (nextMiss): simplify slightly
1841 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1843 * lyxrc.[Ch]: store all float values as strings.
1844 use int (not float) for lyxrc.dpi.
1846 2005-01-04 Angus Leeming <leeming@lyx.org>
1848 * lyx_cb.C (Reconfigure):
1849 * lyx_main.C (queryUserLyXDir):
1850 to run the <system_lyxdir>/configure correctly on Windows, prefix
1851 the path to the script with "sh " when generating the string that
1852 is passed to system().
1854 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1856 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1858 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1860 * lyxlength.C (asLatexString): get rid of setprecision
1862 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1864 * text2.C (setLayout): remove unused variable endpit.
1865 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1867 * paragraph.C (onlyText): remove unused variable style.
1869 * cursor.C (bruteFind): remove unused variables beg and end.
1871 * Makefile.am (dist_noinset_DATA): not needed anymore
1873 * cheaders/*: remove.
1875 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1877 * text3.C: fix LFUN_MATH_MODE.
1879 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1881 * buffer_funcs.C (countWords): new function. Counts words between
1884 * BufferView_pimpl.C (getStatus, dispatch): handle
1887 * LyXAction.C (init):
1888 * lfuns.h: add LFUN_WORDS_COUNT.
1890 2004-12-19 Angus Leeming <leeming@lyx.org>
1892 * buffer.C (save): s/slashify_path/internal_path/.
1894 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1896 * lyxfind.C (findChange): do not search for end of pars, because
1897 the change tracker cannot handle this (fixes bug 1719).
1899 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1901 * paragraph.[Ch] (autoBreakRows): remove
1903 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1905 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1906 avoid using the paragraph one
1908 * text2.C (LyXText, insertStringAsLines): adjust
1910 2004-12-16 Angus Leeming <leeming@lyx.org>
1914 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1916 2004-12-14 Angus Leeming <leeming@lyx.org>
1918 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1920 * bufferlist.C (emergencyWrite):
1921 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1924 2004-12-14 Angus Leeming <leeming@lyx.org>
1926 * main.C: (main): no longer pass pointers to os::init.
1928 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1930 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1931 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1933 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1936 * text3.C: remove selection_possible global flag
1938 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1940 * text2.C (getSelectionSpan): remove
1941 (changeDepth, changeDepthAllowed): adjust
1943 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1945 * Makefile.am (BOOST_LIBS): use boost variables
1947 2004-12-03 José Matos <jamatos@lyx.org>
1949 * buffer.C: format up to 238.
1951 2004-12-03 José Matos <jamatos@lyx.org>
1953 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1955 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1957 * cursor.C (goUpDown): remove call to idxUpDown2
1959 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1961 * tabular.[Ch]: use size_t-like types for cell, row and column
1964 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1966 * lyxfunc.C (getStatus): do not lose previous information when
1967 calling BufferView::getStatus; do not set a default "Command
1968 disabled" message at the beginning, but just before returning.
1970 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1972 * cursor.h (getStatus): add better comment from src/cursor.C
1974 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1976 * text3.C (getStatus): return false when the lfun is not handled
1978 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1980 * broken_headers.h: remove
1982 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1984 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1986 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1987 offset_ref accessors
1989 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1990 top_y_, merge fitcursor with update
1991 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1993 (metrics): introduce
1994 (workAreaDispatch): adapt to new coord scheme
1995 (redoCurrentBuffer): remove
1997 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1999 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2002 * coordcache.[Ch]: add paragraph cache and helpers
2004 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2007 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2008 (targetX, setTargetX): introduce
2010 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2011 baseline -> ascent, as the rest of lyx
2013 * lyxtext.h: remove redoParagraphs, updateParPositions,
2014 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2015 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2016 have ascent/descent (ascent is ascent of first par)
2018 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2021 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2023 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2025 * pariterator.C: fix infinite loop introduced in par->pit renaming
2027 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2028 in insets and LyXText, draw two off-screen paragraphs using
2029 NullPainter, and adapt to new coord scheme
2033 * text3.C: adapt lfun handlers to the new coord scheme, which
2034 means: there's only guaranteed coord information for onscreen pars
2035 plus one above and one below. This implies that one can do search
2036 from y coordinates in the range [-1,workHeight]
2038 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2040 * rename a lot of InsetOld to InsetBase
2042 2004-11-25 Angus Leeming <leeming@lyx.org>
2044 * BufferView_pimpl.C:
2046 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2048 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2050 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2051 call BufferView::getStatus if LCursor::getStatus did nothing
2052 (setStatusMessage, getStatusMessage): removed.
2054 * FuncStatus.C (message): new methods. Used to provide an error
2055 message indicating why a command is disabled.
2056 (clear, |=, FuncStatus): update for message.
2058 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2060 * lyxfunc.C (dispatch): always call sendDispatchMessage
2062 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2065 * BufferView_pimpl.C:
2070 * cursor_slice.[Ch]:
2073 * paragraph_funcs.C:
2079 * undo.C: par->pit renaming
2081 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2083 * tabular.C (cellstruct): use initialization, store a shared_ptr
2084 to insettext instead of the insettext directly, adjust to fit.
2085 (operator=): new function
2086 (swap): new function
2087 (rowstruct): use initialization
2088 (columnstruct): use initialization
2089 (ltType): use initialization
2092 * lyxlength.h (swap): new function
2094 * LColor.[Ch] (operator=): use the common semantics
2096 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2098 * lyxfind.C (findNextChange): update the bufferview after setting
2101 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2103 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2104 number of InsetOptArgs has already been inserted.
2106 * output_latex.C (latexOptArgInsets): new method. This outputs all
2107 the optarg insets, up to the limit defined in the layout file.
2108 (optArgInset): removed
2109 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2111 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2113 * paragraph.C (isLetter): remove special spellchecker-related
2114 code; return true also for digits
2115 (isWord, isKomma): remove
2117 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2118 * lyxfind.C (MatchString()): use isLetter instead of isWord
2120 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2122 * pariterator.h (operatir=): comment out un-implemented member
2125 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2128 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2130 * lyxfont.h: include LColor.h to satisfy concept checks.
2132 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2134 * pariterator.h: add typdefs for value_type, difference_type,
2135 pointer and reference to satisfy concept checks. Also add default
2136 constructor for same reason.
2138 * pariterator.C (operator++): add post-increment operator to
2139 satisfy concept checks.
2141 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2144 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2146 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2147 checks. Also rename base_type to BaseType to follow naming
2150 * FloatList.h: include Floating.h to satisfy concept checks.
2152 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2154 * lyxfunc.C (getStatus): when the origin of the request is menu or
2155 toolbar, and the LyXView does not have focus, do as if there was
2156 no buffer (bug 1720)
2158 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2159 FuncRequest to individual entries of LFUN_SEQUENCE
2161 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2163 * output_latex.C (TeXOnePar): override runparams.moving_arg
2164 according to the needprotect value of the current paragraph (bug
2167 * paragraph.C (simpleTeXOnePar): no need to override
2168 runparams.moving_args here
2170 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2172 * vspace.C: fix off-by-one-error, related to fix #1682
2174 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2176 * lengthcommon.C: a more general fix for bug 1682
2178 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2180 * text.C (backspace): fix crash
2182 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2184 * format.[Ch] (getFormatFromFile): new method
2185 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2187 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2189 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2191 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2193 * lyxfunc.C (dispatch): remove the verbose argument
2194 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2197 * kbmap.C (defkey): set the origin of func to KEYBOARD
2199 * MenuBackend.C (MenuItem):
2200 * ToolbarBackend.C (add): set the origin of func to UI
2202 * funcrequest.[Ch]: add origin member, which indicates which part
2203 of LyX requests an action
2205 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2207 * converter.C (move): don't lie in the error message
2208 * converter.h (isReachable, move): document
2210 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2212 * buffer.C: remove unused using lyx::support::atoi
2213 * paragraph_funcs.C: ditto
2215 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2217 * bufferlist.C (exists): use bind and equal_to instead of
2220 * lyxtextclasslist.C (NumberOfClass): ditto
2222 * cursor.C (insert): use for_each instead of explicit for loop
2224 * bufferlist.C (getFileNames): use std::transform and
2225 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2227 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2230 * buffer.C (changeLanguage): use for_each instead of explicit for
2232 (hasParWithID): implement using getParFromID
2234 * LaTeXFeatures.C: ws change only
2236 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2239 * BufferView_pimpl.C (trackChanges): use for_each instead of
2242 2004-11-04 André Pönitz <poenitz@gmx.net>
2245 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2247 * dociterator.C (asDocIterator): use hard assert again.
2249 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2251 * lyxlength.C (asLatexString): rewrite so that it does not use
2254 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2256 * text3.C (specialChar, dispatch): make sure cursor moves to the
2257 right after inserting an inset
2259 2004-11-02 José Matos <jamatos@lyx.org>
2261 * output_docbook.C (docbook):
2262 * paragraph.C (getID):
2263 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2264 garantee that the output is always legal.
2266 * tabular.C (docbook):
2267 * outputprams.[Ch]: remove mixed contents.
2269 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2271 * text2.C (setCounter): prevent endless loop
2273 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2275 * exporter.C (copyFile): use the mover instead of support::copy()
2276 * exporter.C (Export): pass format and latex name to copyFile()
2277 * exporter.h (addExternalFile): document
2278 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2280 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2282 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2284 2004-10-30 José Matos <jamatos@lyx.org>
2286 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2287 text and no inset or font change. This allows to use CDATA
2288 sections just for the whole paragraph.
2290 2004-10-30 José Matos <jamatos@lyx.org>
2292 * paragraph.C (getFirstWord): remove unused variable.
2294 2004-10-30 José Matos <jamatos@lyx.org>
2296 * paragraph.C (getFirstWord): the content should always be escaped
2298 (simpleDocBookOnePar):
2299 * output_docbook.C (makeEnvironment): replace reference to CDATA
2302 2004-10-30 José Matos <jamatos@lyx.org>
2304 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2306 2004-10-30 José Matos <jamatos@lyx.org>
2308 * output_docbook.C (makeParagraphs):
2309 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2310 standard paragraph has only a given type of content drop the wrapper.
2312 2004-10-29 José Matos <jamatos@lyx.org>
2314 * output_docbook.C (makeEnvironment):
2316 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2318 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2320 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2321 (cleanID): sanitize any id.
2323 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2325 * buffer.C, lyxlex_pimpl.C:
2326 * lyxlex_pimpl.C (setFile):
2327 s/getExtFromContents/getFormatFromContents/
2329 2004-10-28 José Matos <jamatos@lyx.org>
2331 * output_docbook.C (makeEnvironment): move id to broadest possible
2334 * sgml.C (openTag): apply substitution of <> for all attributes.
2336 2004-10-28 José Matos <jamatos@lyx.org>
2338 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2339 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2340 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2342 * sgml.[Ch]: new version for open and closeTag for paragraph and
2343 for strings. Now they handle the ids of paragraphs.
2345 2004-10-26 Angus Leeming <leeming@lyx.org>
2347 * Makefile.am: add mover.[Ch].
2349 * converter.C (convert, move): use the new Movers to move external
2350 files to the temp directory.
2352 * lyx_main.C (init): ensure that the global system_movers data
2355 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2358 * mover.[Ch]: new files, defining a Mover as a utility to move an
2359 external file between directories and, if necessary, manipulate this
2360 file using a helper script.
2362 2004-10-25 José Matos <jamatos@lyx.org>
2364 * output_docbook.C (makeCommand): merge two if's that tested the
2367 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2369 * sgml.C (escapeString): fix warning in a better way
2371 2004-10-25 José Matos <jamatos@lyx.org>
2373 * sgml.C (escapeString): import the require boosts header file for
2374 tie, and avoid a signed unsigned comparison.
2376 2004-10-25 José Matos <jamatos@lyx.org>
2378 * sgml.h: add #include <string>
2380 2004-10-25 José Matos <jamatos@lyx.org>
2382 * sgml.[Ch] (escapeString): new function to escape all the string.
2384 2004-10-24 José Matos <jamatos@lyx.org>
2386 * paragraph.[Ch] (getFirstWord): new function to get the first
2387 word. Useful for description.
2388 (simpleDocBookOnePar): remove depth argument, add another that
2389 says where to start the paragraph.
2391 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2392 use the new functions to fix cleanly the support for descriptions.
2394 2004-10-24 José Matos <jamatos@lyx.org>
2396 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2397 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2398 * output_linuxdoc.C (linuxdocParagraphs):
2399 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2400 add buffer as argument.
2402 2004-10-24 José Matos <jamatos@lyx.org>
2404 * output_docbook.C (makeEnvironment, searchEnvironment): place
2405 CDATA inside paragraphs and fix scope for listitems.
2407 2004-10-24 José Matos <jamatos@lyx.org>
2409 * output_docbook.C: remove using statement for stack.
2411 2004-10-23 José Matos <jamatos@lyx.org>
2413 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2414 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2415 docbook. The new scheme is recursive and makes use of iterators, the
2416 same as latex export works.
2417 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2418 directly with the paragraph contents. This code was moved up to
2419 output_docbook.C (docbookParagraphs).
2420 * sgml.C (openTag, closeTag): removed unneeded newlines.
2421 (closeEnvTags) removed.
2423 2004-10-23 André Pönitz <poenitz@gmx.net>
2425 * undo.C (textUndoOrRedo):
2426 * dociterator.C (asDocIterator): work around crash
2428 * cursor.C (getStatus): replace ASSERT by more verbose error message
2429 and manual correction of the problem. Should increase stability
2430 while providing more sensible information.
2432 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2434 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2436 * bufferlist.C (previous, next): new methods
2439 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2441 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2443 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2444 entities to preamble.
2446 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2448 * messages.C (Pimpl): strip off translation context information
2450 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2452 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2453 the cursor is correct (bug 1694)
2455 2004-10-13 José Matos <jamatos@lyx.org>
2457 * output_docbook.C (docbookParagraphs): fix closing tags in the
2458 end of the document.
2460 2004-10-09 José Matos <jamatos@lyx.org>
2462 * buffer.C: format up to 237.
2463 * bufferparams.C (write): use tostr to convert booleans to strings.
2465 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2467 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2469 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2471 * LaTeX.C: implement use of babel language in xindy.
2473 2004-10-05 José Matos <jamatos@lyx.org>
2475 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2476 Add new translators to help reading and writing the lyx file.
2478 2004-10-05 José Matos <jamatos@lyx.org>
2480 * ParagraphParameters.C (read):
2481 * text.C (readParToken): replace nexToken by more appropriate lex
2484 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2486 * LaTeX.C (runMakeIndex):
2487 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2488 (usually 'makeindex') configurable.
2490 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2491 with a variable rather than with a number.
2493 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2495 * output_latex.C (TeXOnePar): make sure font setting is the first
2496 thing that gets output (and the last at the end). Should fix bug
2499 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2501 * pch.h: use proper signal include
2503 * LaTeX.h: Use preferred calling of Boost.Signal
2506 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2508 * pch.h: dont include <boost/function/function0.hpp>
2510 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2512 * paragraph_pimpl.h: remove usage of ShareContainer
2514 * paragraph_pimpl.C: remove initialization of ShareContainer.
2516 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2520 * BufferView.C (putSelectionAt): change the semantics when
2521 backwards == true: now, this just swaps cursor and anchor wrt the
2524 * BufferView.h (putSelectionAt): add some documentation
2526 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2527 make sure backwardChar is done at least once (to avoid getting
2529 (findNextChange): use putSelectionAt in the forward direction
2530 (operator()): use Paragraph::isWord
2532 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2534 * Spacing.C (set): c_str fix
2536 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2538 * lyx_cb.C (Reconfigure): quote the name of configure script in
2539 case it contains spaces
2541 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2546 (BOOST_LIBS): use top_buildir when looking for the file
2548 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2550 * pch.h: do not use include boost/format.hpp, multiple symbols
2551 will result (gcc bug)
2554 2004-08-23 José Matos <jamatos@lyx.org>
2556 * bufferparams.C (readToken): fix reading of the author field.
2558 2004-08-20 José Matos <jamatos@lyx.org>
2560 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2562 2004-08-20 José Matos <jamatos@lyx.org>
2564 * lyxlex.[Ch] (findToken): remove function.
2566 * ParagraphParameters.C (findToken):
2567 * bufferparams.C (findToken): replace call for previous function
2568 with local copy. This local function has one more argument, the
2569 read string argument.
2571 2004-08-16 José Matos <jamatos@lyx.org>
2573 * ParagraphParameters.C (write):
2574 * Spacing.C (writeFile):
2575 * bufferparams.C (writeLaTeX):
2576 * lyx_cb.C (Reconfigure):
2577 * paragraph.C (write):
2578 * tabular.C (write): remove unnecessary space at end of line.
2581 2004-08-16 José Matos <jamatos@lyx.org>
2583 * text.C (readParagraph): remove debug message.
2585 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2587 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2590 * output_plaintext.C (asciiParagraph): set depth correctly
2592 * outputparams.h: add member depth
2594 * paragraph_funcs.C (ownerPar): remove.
2596 * text2.C (setCounter): remove first_pit; comment out some
2597 non-working code that uses ownerPar
2599 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2602 2004-08-16 José Matos <jamatos@lyx.org>
2604 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2605 For the same level of importance use the same chanel to report problems.
2606 (read): add code to deal with \begin_body and \end_body.
2609 2004-08-15 José Matos <jamatos@lyx.org>
2611 * lyxlex.C (getString): fix comment, buffer::readBody is now
2612 buffer:readDocument.
2614 * tex-strings.C (string_papersize): Default -> default,
2615 Custom -> custom, for consistency with other options.
2617 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2621 * Makefile.am: support pch
2623 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2625 * text.C (readParToken): remove the static LyXFont variable and
2626 pass it as a parameter instead. This fixes a nasty bug where an
2627 inset will be inserted with a bad font in some situations
2628 (readParagraph): adapt
2630 * text2.C (setCounter): reduce number of calls to pars_[pit]
2632 * text.C (singleWidth): add an assert, fix a test
2634 * rowpainter.C (paintText): reduce number of calls to singleWidth
2636 * paragraph.C (isHfill):
2637 (isNewline): ws only
2639 2004-08-14 André Pönitz <poenitz@gmx.net>
2644 * lyxtext.h (several functions): use a Paragraph & argument
2647 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2649 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2651 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2653 * text.C (singleWidth): remove useless test
2655 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2657 * tabular.h: remove bogus comments
2659 * tabular.C (getDescentOfRow):
2660 (isPartOfMultiColumn): add assertions
2662 * lyxlength.C (inPixels): remove #warning
2664 2004-08-14 André Pönitz <poenitz@gmx.net>
2666 * paragraph.h: inline getChar()
2668 * BufferView.h: remove unused declarations
2670 2004-08-14 José Matos <jamatos@lyx.org>
2672 * Buffer.[Ch] (readDocument): new name for old readBody.
2673 * Buffer.C: new file format, new keywords: \begin_document,
2674 \begin_header, \begin_body, \end_body.
2676 * bufferparams.C (readToken): replace all calls to lex.nextToken
2677 by lex.next(). Do the same to eatLine except where really needed.
2679 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2680 line when writing to the lyx file.
2682 * output_plaintext.C (asciiParagraph): fix Bibliography style
2685 * text.C (read): fix end of file handling.
2687 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2689 * MenuBackend.C (Menu::operator[]): new method to access
2690 individual menu items
2691 (Menu::hasFunc): new method. search for an item that corresponds
2693 (MenuBackend::specialMenu): new method
2694 (MenuBackend::expand): if a special menu has been set, skip
2695 entries whose func() appears in this menu
2697 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2699 * text3.C: use Debug::DEBUG a bit more
2701 * text.C (leftMargin): try to simplify a tiny bit change var x to
2702 l_margin. Dont output the wide margins always.
2703 (rightMargin): no margin in inner texts
2705 * rowpainter.h (nestMargin): new func
2706 (changebarMargin): new func
2707 (rightMargin): new func
2709 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2713 * factory.C (createInset): modify setDrawFrame
2715 * cursor.C: use Debug::DEBUG a bit more
2717 2004-08-14 André Pönitz <poenitz@gmx.net>
2720 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2721 cache for all insets in (at least partially) visible (top-level)
2724 * BufferView_pimpl.C: reset external coord cache before every update.
2725 This means the coord cache only contains valid entries.
2727 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2730 * BufferView_pimpl.C (getInsetByCode): move function out of class
2731 and change in to a template in anon namespace. Also fix to do what
2734 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2737 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2739 (breakParagraph): rename par to par_offset and use a local
2740 reference. Add code to keep the language over a rebreak.
2741 (breakParagraphConservative): rename par to par_offset, use a
2743 (mergeParagraph): ditto
2745 (isFirstInSequence): ditto
2746 (outerFont): rename pit to par_offset
2748 * paragraph.C: ws change
2749 * paragraph.h: ditto
2753 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2755 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2758 * paragraph.C (simpleTeXOnePar): when we have a \item with
2759 optional argument, enclose the argument with curly brackets (in
2760 case it contains a closing square bracket)
2764 * text3.C (checkInsetHit): constify
2766 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2768 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2769 documents (bug 1629)
2771 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2773 Fix toggling of collapsable insets with the mouse (bug 1558)
2775 * lyxfunc.C (dispatch): adapt to LCursor changes
2777 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2778 make sure that dispatch is not invoked twice
2780 * cursor.C (needsUpdate): new method
2781 (dispatch): return void
2782 (result): new method, to access the DispatchResult of the cursor.
2784 2004-08-13 José Matos <jamatos@lyx.org>
2786 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2788 2004-08-13 André Pönitz <poenitz@gmx.net>
2790 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2792 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2795 2004-08-12 André Pönitz <poenitz@gmx.net>
2797 * text3.C: take out the 'cursor right' form insertInset and only
2798 do it in those places when it is really needed. Fixes crash on
2801 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2803 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2805 * BufferView_pimpl.C (setBuffer): initialize the current font of
2806 the underlying LyXText
2808 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2810 * kbsequence.C (print): use UI native formatting for menu
2813 * text.C (insertChar): call Paragraph::insertChar with a font
2816 * paragraph.C (insertInset, insertChar): the version that takes a
2817 LyXFont argument is now a wrapper around the other one (the
2818 opposite used to be true).
2820 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2821 argument. Font setting is done in Paragraph now.
2823 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2825 * outputparams.h: add new members intitle and lang.
2827 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2828 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2830 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2832 * text3.C (dispatch): remove special handling of button 4 and 5,
2833 it is now taken care of in the frontend code.
2835 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2837 * Spacing.h: add <string> (STLPort compile fix)
2839 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2841 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2843 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2845 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2848 * converter.C (showMessage): inherit from unary_function, make
2851 * buffer.C (writeFile): initialize retval
2853 * InsetList.h: rename private variable list to list_
2854 * InsetList.[Ch]: adjust accordingly.
2856 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2858 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2859 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2860 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2861 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2862 * ParagraphParameters.C, LaTeXFeatures.C: replace
2863 "support/std_sstream.h" with <sstream>
2865 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2867 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2868 * lyxsocket.C (LyXServerSocket): ditto
2869 (serverCallback): ditto
2871 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2873 * LaTeXFeatures.C: check release date when loading jurabib.
2875 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2877 * lyxserver.C (startPipe): call register_socket_callback
2878 (endPipe): call unregister_socket_callback
2880 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2882 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2883 (LyXServerSocket): register the callback
2884 (LyXServerSocket): unregister the callback
2885 (fd): delete function
2886 (serverCallback): improve error checking and setup the callbacks.
2887 (dataCallback): change arg to fd.
2888 (writeln): new func (copied fro the client socket) used for server
2890 (LyXDataSocket): simplify
2891 (~LyXDataSocket): close ann unregiser callback
2892 (server): delete function
2893 (fd): delete function
2894 (readln): small changes, improve some std::string usage
2895 (writeln): constify a bit
2897 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2899 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2902 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2904 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2905 after it has been populated
2907 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2909 * text2.C (insertInset): move cursor when inserting inset.
2911 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2913 * kbmap.C (findbindings): a couple of new methods. returns a
2914 container of kb_sequence objects. The real work is done by the
2915 private recursive version
2916 (printbindings): uses findbindings to print out a bracketed list
2917 of bindings (renamed from findbinding).
2919 * MenuBackend.C (binding): use kb_keymap::findbindings
2921 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2923 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2925 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2927 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2929 * paragraph.C (isWord): return true on insets that report
2932 * text.C (getWord): use Paragraph::isWord to decide what is in a
2933 word and what is not; fix bug 1609.
2935 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2937 * tex-strings.C: add "none" to string_paperpackages[], fixes
2938 off-by-one-error in the paperpackage selection.
2941 * tex-strings.[Ch]: char const * string[n]
2942 -> char const * const string[]
2944 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2946 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2947 command, return early.
2949 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2951 * debug.h: add DEBUG to enum and fix size of ANY.
2953 * debug.C: add support for Debug::DEBUG
2954 (showTags): cast errorTags.level to unsigned int
2956 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2957 (redoCurrentBuffer): ditto
2958 (updateScrollbar): ditto
2959 * cursor.C (dispatch): ditto
2960 * text2.C (setLayout): ditto
2962 (updateCounters): ditto
2964 (deleteEmptyParagraphMechanism): ditto
2966 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2968 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2969 annotations to cleanup the Makefile slightly.
2971 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2973 * lyxrc.C: do not set user_email to a default value but use empty
2974 instead. The entry used to be translated, which does not work
2975 since at the point where lyxrc is constructed there is no
2976 translation service available
2978 * messages.C (getLocaleDir): remove and use directly
2979 lyx_localedir() instead
2981 2004-06-02 Angus Leeming <leeming@lyx.org>
2983 Fix crash caused by dereferencing null pointer 'exportdata' in
2984 OutputParams by creating a new ExportData variable on the heap,
2985 storing it in a boost::shared_ptr.
2986 The crash was triggered when generating an Instant Preview
2987 of an external inset.
2989 * Makefile.am: add outputparams.C
2991 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2992 (c-tor): allocate memory to it.
2994 * exporter.C (c-tor): associated changes.
2996 2004-06-01 Angus Leeming <leeming@lyx.org>
2998 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2999 contains data before calling isInset(0). (Bug 1513.)
3001 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3003 * exporter.C (checkOverwrite): new method
3004 * exporter.C (copyFile): new method
3005 * exporter.C (Export): copy referenced files to the document dir
3006 * exporter.[Ch]: new class ExportedFile
3007 * exporter.[Ch]: new class ExportData. Contains currently the
3008 names of referenced external files
3009 * outputparams.h: add exportdata member.
3011 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3013 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3016 2004-05-19 Angus Leeming <leeming@lyx.org>
3021 * lyxfunc.C: small changes due to the introduction of namespace
3022 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3024 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3026 * text3.C (dispatch): supress update when only moving the cursor
3027 * cursor.C (selHandle): remove commented code
3029 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3031 * paragraph.C (startTeXParParams): correct column count
3032 * CutAndPaste.C (pasteSelection): remove const_cast
3033 * output_docbook.C (docbookParagraphs): remove const_cast
3034 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3035 const_cast and return ParagraphList::const_iterator
3036 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3037 * output_plaintext.C (writeFileAscii): remove const_cast
3038 * paragraph.[Ch] (simpleTeXOnePar): make const
3039 * paragraph_funcs.C (outerPar): use const iterators
3040 * paragraph_pimpl.C (validate): use const iterators
3041 * text.C (setHeightOfRow): use const iterators
3043 2004-05-17 Angus Leeming <leeming@lyx.org>
3046 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3048 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3049 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3050 if the citation engine has changed.
3052 2004-05-14 José Matos <jamatos@lyx.org>
3054 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3055 if the textclass does not provide it. Have it different for sgml and
3057 support the language of document.
3058 * output_docbook.C (docbookParagraphs):
3059 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3060 first anchor as the id of the paragraph, remove special case code.
3061 * sgml.C (escapeChar): escape only < & >.
3063 2004-05-14 Angus Leeming <leeming@lyx.org>
3065 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3066 dependencies on src/frontends/controllers/biblio.h. Define a
3067 CiteEngine_enum wrapper class to enable the enum to be forward
3070 2004-05-12 Angus Leeming <leeming@lyx.org>
3072 * buffer.C: up LYX_FORMAT to 234.
3073 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3074 use_numerical_citations with a single biblio::CiteEngine cite_engine
3076 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3078 2004-05-13 José Matos <jamatos@lyx.org>
3081 * converter.C (Converter, readFlags): add xml member.
3082 * outputparams.h: add XML flavor.
3083 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3085 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3087 * lyxfunc.C (dispatch):
3088 (getStatus): fix handling of LFUN_SEQUENCE
3090 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3092 * debug.C (showLevel): do not forget the end-of-line marker
3094 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3096 * kbmap.C (read): do not stop parsing a bind file when an error
3099 2004-04-29 Angus Leeming <leeming@lyx.org>
3104 * text2.C: wrap a bunch of #warning statements
3105 inside #ifdef WITH_WARNINGS blocks.
3107 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3109 * buffer.C: increment format to 233.
3111 2004-04-28 Angus Leeming <leeming@lyx.org>
3113 * BufferView_pimpl.C:
3116 s/updateToolbar()/updateToolbars()/
3117 s/Toolbar.h/Toolbars.h/
3119 2004-04-28 Angus Leeming <leeming@lyx.org>
3121 * BufferView.[Ch] (c-tor):
3122 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3123 No longer passes these data to the WorkArea generator.
3125 2004-04-28 Angus Leeming <leeming@lyx.org>
3127 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3129 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3131 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3133 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3135 * output_latex.C (TeXEnvironment): make sure that there is a line
3136 break before \end{foo} for the last paragraph of a document
3137 (TeXOnePar): if the paragraph is at the end of the document (or
3138 inset) and the language has to be reset, then make sure that the
3139 line break is _before_ the language command, not after (fixes bug
3140 1225); also make sure that the language reset command is the first
3141 thing after the paragraph (to ensure proper nesting of
3142 environments and thus fix bug 1404)
3144 2004-04-21 John Levon <levon@movementarian.org>
3147 * ToolbarBackend.C: make "name" be a programmatic name
3148 and a gui_name field.
3150 * lyxfunc.C: display the minibuffer on M-x
3152 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3154 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3157 2004-04-19 Angus Leeming <leeming@lyx.org>
3159 * BufferView_pimpl.C (setBuffer): changed preview interface.
3161 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3164 2004-04-19 John Levon <levon@movementarian.org>
3166 * BufferView_pimpl.C:
3167 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3169 2004-04-05 Angus Leeming <leeming@lyx.org>
3171 * text.C (redoParagraphs): add call to updateCounters(), thereby
3172 fixing the missing "Figure #:" label from the caption of a
3175 2004-04-13 Angus Leeming <leeming@lyx.org>
3177 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3178 cursor is clicked out of an inset.
3180 2004-04-13 Angus Leeming <leeming@lyx.org>
3182 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3183 than an InsetOld one.
3185 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3187 * format.[Ch]: add editor to Format
3188 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3189 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3191 2004-04-08 André Pönitz <poenitz@gmx.net>
3193 * metricsinfo.h: remove PainterInfo::width member
3195 2004-04-08 Angus Leeming <leeming@lyx.org>
3197 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3198 "\providecommand" rather than "\newcommand", thereby preventing
3199 clashes with packages that define "\boldsymbol" themselves.
3202 2004-04-08 Angus Leeming <leeming@lyx.org>
3204 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3205 thereby squashing an unnecessary warning.
3207 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3209 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3212 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3214 * BufferView.C (setCursor): call redoParagraph (some insets could
3216 (putSelectionAt): remove the 'double update' trick
3218 * BufferView_pimpl.C (fitCursor): call refreshPar
3219 (workAreaDispatch): remove an uneeded update call
3220 (dispatch): remove some manual update calls
3222 * cursor.[Ch]: remove cached_y_, updatePos
3223 (selHandle): set noUpdate when appropriate
3225 * lyxfunc.C (dispatch): track if we need an update
3227 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3229 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3230 (paintSelection): cheap optimization, do not call cursorX when not
3232 (paintPars): change signature
3235 (paintTextInset): adjust
3239 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3241 * lengthcommon.C: compilation fix: remove explicit array size from
3242 unit_name[] and friends
3244 2004-04-05 Angus Leeming <leeming@lyx.org>
3246 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3248 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3249 present only for the preferences dialog.
3250 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3252 2004-04-05 Angus Leeming <leeming@lyx.org>
3254 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3255 to enable the frontends to export changes to lyxrc correctly.
3257 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3259 2004-04-07 André Pönitz <poenitz@gmx.net>
3261 * cursor.[Ch] (selClear, adjust): remove math
3263 * cursor_slice.C: more agressive assert
3266 * BufferView_pimpl.C: rework mouse event dispatch
3273 2004-04-05 André Pönitz <poenitz@gmx.net>
3275 * cursor.[Ch] (valign, halign...): remove unneeded functions
3277 2004-04-05 Angus Leeming <leeming@lyx.org>
3279 * lyxlength.[Ch] (unit_name et al.): const-correct.
3281 2004-04-05 Angus Leeming <leeming@lyx.org>
3283 * BufferView_pimpl.C:
3292 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3294 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3296 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3298 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3300 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3301 * BufferView_pimpl.[Ch] (getStatus)
3302 * BufferView.[Ch] (getStatus): add
3303 * lyxfunc.C (getStatus): move lfuns handled in
3304 BufferView::dispatch to te function above
3305 * Cursor.C (setSelection): set selection() = true
3307 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3309 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3311 2004-03-31 Angus Leeming <leeming@lyx.org>
3313 * lyxfunc.C (dispatch): Fall through to the generic
3314 Dialogs::show("preamble").
3316 2004-03-31 Angus Leeming <leeming@lyx.org>
3318 * lyxfunc.C (dispatch): Fall through to the generic
3319 Dialogs::show("spellchecker").
3321 2004-03-31 Angus Leeming <leeming@lyx.org>
3323 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3326 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3331 * insetiterator.[Ch]:
3336 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3338 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3340 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3341 insets where we are putting the cursor.
3343 2004-03-31 Angus Leeming <leeming@lyx.org>
3346 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3348 * lyxrc.[Ch] (read, write): overloaded member functions taking
3349 a std::[io]stream arguments.
3351 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3353 2004-03-31 Angus Leeming <leeming@lyx.org>
3355 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3356 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3358 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3359 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3361 2004-03-31 Angus Leeming <leeming@lyx.org>
3363 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3364 the LFUN_ALL_INSETS_TOGGLE code.
3366 2004-03-30 Angus Leeming <leeming@lyx.org>
3368 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3369 has died. Fall through to the generic Dialogs::show("document").
3371 2004-03-30 Angus Leeming <leeming@lyx.org>
3374 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3375 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3377 * lyxfunc.C (getStatus, dispatch): define the actions for these
3378 lfuns. Little more than a cut and pste job from ControlDocument.C
3380 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3382 2004-03-30 Angus Leeming <leeming@lyx.org>
3385 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3386 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3388 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3389 open/closed state of ollapsable insets. Usage:
3391 all-inset-toggle <state> <name>, where
3392 <state> == "open" || "closed" || "toggle" and
3393 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3395 * lyxtext.h, text2.C (toggleInset): removed.
3397 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3398 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3399 now passes LFUN_INSET_TOGGLE to the found inset.
3401 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3402 is now invoked as "all-insets-toggle toggle branch".
3404 2004-03-30 Angus Leeming <leeming@lyx.org>
3408 * pariterator.[Ch]: added/corrected header blurb.
3410 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3412 * dociterator.[Ch]: add an inset_ member
3413 (backwardPos): implemented
3414 (backwardPos, forwardPos): use inset_ when the stack is empty.
3415 (doc_iterator_begin, doc_iterator_end): implemented
3416 * pariterator.[Ch]: adjust, add begin, end
3417 * insetiterator.[Ch]: adjust, add begin, end
3421 * BufferView_pimpl.C:
3422 * CutAndPaste.C: adjust
3424 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3426 * buffer.C: increment file format to 232.
3427 * LaTeXFeatures.C: add bibtopic package.
3428 * bufferparams.[Ch]: param \use_bibtopic.
3430 * lyxrc.[Ch]: add lyxrc bibtex_command
3431 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3433 * buffer.C: increment file format to 231.
3435 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3437 * dociterator.C: implement forwardPar
3438 * iterators.[Ch]: remove, replaced by
3439 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3441 * BufferView_pimpl.C:
3444 * bufferview_funcs.C:
3450 * Makefile.am: adjust
3452 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3454 * CutAndPaste.C (pasteSelection): fix 2 crashes
3455 (eraseSelection): fix a crash
3456 * paragraph_funcs.C: remove a warning
3458 2004-03-28 Angus Leeming <leeming@lyx.org>
3461 * LyXAction.C (init): new LFUN_PRINT.
3463 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3465 2004-03-27 Angus Leeming <leeming@lyx.org>
3468 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3470 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3472 2004-03-27 Angus Leeming <leeming@lyx.org>
3474 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3475 insetlist always contains non-null pointers to insets.
3477 2004-03-26 Angus Leeming <leeming@lyx.org>
3479 * src/BufferView_pimpl.C:
3480 * src/CutAndPaste.C:
3483 * src/output_plaintext.C:
3484 * src/outputparams.h:
3485 * src/paragraph_funcs.C:
3489 * src/frontends/controllers/ControlErrorList.C:
3490 * src/frontends/gtk/FileDialogPrivate.C:
3491 * src/frontends/gtk/GPainter.C:
3492 * src/frontends/gtk/GToolbar.C:
3493 * src/frontends/qt2/QRef.C:
3494 * src/mathed/math_scriptinset.C: squash compiler warnings.
3496 2004-03-26 Angus Leeming <leeming@lyx.org>
3498 * ispell.C (LaunchIspell::start):
3499 * lyx_cb.C (AutoSaveBuffer::start):
3500 invoke run(DontWait) rather than runNonBlocking().
3502 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3504 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3506 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3508 * kbsequence.C (print): adjust
3510 * kbmap.C (printKeySym): rename and change signature
3511 (printKey): use LyXKeySym::print()
3513 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3515 * undo.C: add using std::advance to compile for stlport
3517 2004-03-24 Angus Leeming <leeming@lyx.org>
3519 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3520 it leads to a crash when no buffer is present.
3522 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3523 Martin Vermeer <martin.vermeer@hut.fi>
3525 * lyxfunc.C (dispatch):
3526 * bufferparams.C (readToken): use the new LColor::setColor
3528 * LColor.[Ch] (setColor): new version that takes two strings as
3529 argument and creates a new color entry if necessary
3531 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3533 * buffer.C (makeLaTeXFile): if the main latex file that is
3534 processed is usually a subdocument of some master, then pretend
3535 for a while that it is actually the master
3537 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3539 * buffer.C (getLabelList):
3540 (getBibkeyList): use getMasterBuffer()
3541 (getMasterBuffer): new method. Returns the main document in the
3542 case where one is using included documents.
3544 2004-03-25 André Pönitz <poenitz@gmx.net>
3548 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3550 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3552 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3553 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3555 * ParameterStruct.h: merge with ParagraphParameters
3557 * lyxtext.h: remove LyXText::parOffset() and getPar()
3559 * text3.C: Remove all 'manual' update calls. We do now one per user
3560 interaction which is completely sufficient.
3564 * BufferView_pimpl.C:
3565 * FontIterator.[Ch]:
3567 * ParagraphParameters.[Ch]:
3572 * cursor_slice.[Ch]:
3579 * output_docbook.[Ch]:
3580 * output_latex.[Ch]:
3581 * output_linuxdoc.[Ch]:
3582 * output_plaintext.[Ch]:
3584 * paragraph_funcs.[Ch]:
3585 * paragraph_pimpl.[Ch]:
3593 * frontends/controllers/ControlDocument.C:
3594 * frontends/controllers/ControlErrorList.C:
3595 * frontends/controllers/ControlSpellchecker.C:
3598 * insets/insetbase.h:
3599 * insets/insetbibitem.C:
3600 * insets/insetbox.C:
3601 * insets/insetbranch.C:
3602 * insets/insetcaption.C:
3603 * insets/insetcharstyle.C:
3604 * insets/insetcharstyle.h:
3605 * insets/insetcollapsable.C:
3606 * insets/insetcollapsable.h:
3607 * insets/insetert.C:
3608 * insets/insetfloat.C:
3609 * insets/insetfoot.C:
3610 * insets/insetmarginal.C:
3611 * insets/insetnote.C:
3612 * insets/insetoptarg.C:
3613 * insets/insettabular.C:
3614 * insets/insettext.C:
3615 * insets/insettext.h:
3616 * insets/insetwrap.C:
3617 * mathed/math_mboxinset.C:
3618 * mathed/math_nestinset.C:
3619 * mathed/math_scriptinset.C:
3620 * mathed/math_scriptinset.h:
3623 2004-03-24 Angus Leeming <leeming@lyx.org>
3625 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3626 deal with any child processes that have finished but are waiting to
3627 communicate this fact to the rest of LyX.
3629 2004-03-24 Angus Leeming <leeming@lyx.org>
3631 64-bit compile fixes.
3633 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3634 (c-tor): pass lyx::pos_types rather than ints.
3636 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3639 * text.C (Delete): compile fix.
3640 (getPar): ensure that function declaration is the same as that in
3643 2004-03-23 Angus Leeming <leeming@lyx.org>
3645 * ispell.C (LaunchIspell):
3646 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3647 a boost::shred_ptr rather than a std::auto_ptr.
3649 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3651 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3652 handle LFUN_FILE_INSERT_*
3654 * lyxrc.C (setDefaults, getDescription, output, read):
3655 * lyxrc.h: remove ps_command
3657 2004-03-22 Angus Leeming <leeming@lyx.org>
3659 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3660 Ensure that error_handler is processed once only and that all data
3661 is saved before attempting to output any warning messages.
3663 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3665 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3667 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3669 2004-03-19 André Pönitz <poenitz@gmx.net>
3671 * cursor.[Ch] (reset): take main text inset as argument
3673 * BufferView: adjust
3674 * BufferView_pimpl.C: adjust
3676 * paragraph.[Ch]: fix completely broken operator=()
3678 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3680 * LColor.C (getFromLyXName): make sure that the color name is used
3683 2004-03-17 Angus Leeming <leeming@lyx.org>
3686 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3688 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3689 dialog and to kill a forked process.
3691 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3693 * text2.C (setCursorFromCoordinates): fix font problem
3695 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3697 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3698 bogus "rebuild cursor" code
3700 2004-03-11 André Pönitz <poenitz@gmx.net>
3702 * buffer.[Ch]: use InsetText instead of LyXText as container for
3705 * dociterator.[Ch]: drop the BufferView * member which is not needed
3706 anymore after the change to buffer.C
3708 * paragraph_funcs.C:
3712 * BufferView_pimpl.[Ch]:
3714 * cursor_slice.[Ch]: adjust
3716 * text3.C: fix bug in mathDispatch
3718 2004-03-08 André Pönitz <poenitz@gmx.net>
3720 * undo.[Ch]: use 'StableDocumentIterator' as base for
3723 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3726 * bufferparams.[Ch]: add jurabib support and param.
3728 * LaTeX.C: add FIXME/comment.
3730 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3732 * buffer.C: increment file format to 230.
3734 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3736 * cursor.C (dispatch): avoid infinite loops
3738 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3740 * rowpainter.C (paintSelection): fix x coordinates
3742 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3744 * text.C (rowBreakPoint): fix breaking before displayed insets
3746 2004-03-01 André Pönitz <poenitz@gmx.net>
3748 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3750 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3754 * BufferView_pimpl.C:
3762 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3768 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3769 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3771 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3773 * Bidi.[Ch] (computeTables): const correctness
3774 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3775 fill_hfill, fill_label_hfill and x from Row
3776 * lyxtext.h: prepareToPrint returns a RowMetrics
3777 * rowPainter.C: adjust
3778 * text.C (prepareToPrint): use width, not textWidth. adjust
3779 (redoParagraphInternal, cursorX): adjust
3780 * text2.C (getColumnNearX): adjust
3781 (init): put a default value to the top LyXText::width
3783 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3785 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3787 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3789 * lyxtext.h: add FontIterator class
3791 * text.C (FontIterator, operator*, operator->, operator++): add
3792 (rowBreakPoint, setRowWidth): adjust (fixing a
3795 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3797 * BufferView_pimpl.C (workAreaDispatch): allow also
3798 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3800 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3802 * text.C (rowBreakPoint): fix a bug showing with very large insets
3804 2004-02-25 André Pönitz <poenitz@gmx.net>
3807 * cursor.[Ch]: move some mathed specific code to mathed
3809 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3811 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3812 use_tempdir in preferences
3813 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3815 * lyx_main.C: ensure that tempdir is valid
3816 * lyxlex.h: correct typo
3817 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3818 * paragraph.[Ch] (isMultiLingual): make const
3819 * cursor.[Ch] (openable): make const
3821 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3823 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3825 2004-02-20 André Pönitz <poenitz@gmx.net>
3827 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3829 * cursor.[Ch]: prepare for localized getStatus()
3835 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3837 2004-02-20 André Pönitz <poenitz@gmx.net>
3839 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3841 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3843 * text2.C (setCursorFromCoordinates): switch to absolute coords
3845 (cursorDown): adjust
3846 * text3.C (dispatch): adjust
3848 2004-02-16 André Pönitz <poenitz@gmx.net>
3850 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3853 * cursor_slice.[Ch]: remove unneeded acessor function
3855 * lyxtext.h: rename rtl() to isRTL()
3863 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3865 * rowpainter.C (paintSelection): coord fix
3867 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3869 * Spacing.C: compile fix
3871 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3873 * cursor.C (dispatch): restore current_ before returning
3875 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3877 * text2.C (cursorUp, cursorDown): fix coords
3880 2004-02-12 André Pönitz <poenitz@gmx.net>
3885 * text3.C: add LCursor & parameter to most cursor movement functions
3886 remove usage of LyXText::cursorRow() and cursorPar()
3888 * cursor.[Ch]: add textRow() needed members
3891 * BufferView_pimpl.C:
3894 * BufferView_pimpl.C: adjust
3896 2004-02-11 André Pönitz <poenitz@gmx.net>
3900 * BufferView_pimpl.C: shift undo/redo handling
3902 * cursor.[Ch]: fix mathed crash
3905 * lyxtext.h: move selectionAsText to LCursor
3913 * rowpainter.C: fix excessive drawing
3915 2004-02-06 André Pönitz <poenitz@gmx.net>
3918 * BufferView_pimpl.[Ch]:
3919 * text3.C: move some text specific LFUN handling
3921 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3923 * text3.C (checkInsetHit): adjust coords
3924 * text2.C (getColumnNearX): adjust coords
3925 (edit): adjust coords
3926 * text.C (getRowNearY): add two asserts
3928 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3931 * format.C: add using std::distance to compile on gcc 2.95/stlport
3933 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3935 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3937 2004-02-04 André Pönitz <poenitz@gmx.net>
3939 * BufferView.[Ch] (insertInset):
3940 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3945 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3947 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3948 on the default clause of the switch
3949 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3950 wasn't catched by LCursor::dispatch
3952 2004-02-03 André Pönitz <poenitz@gmx.net>
3955 * cursor.[Ch]: some additional asserts
3957 * undo.[Ch]: remove LyXText dependency in interface
3961 * lyxtext.h (firstPar, lastPar): remove dead functions
3966 * paragraph.[Ch]: adjust
3968 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3970 * lyxfind.C (find): fix argument order in call to ::find
3972 2004-02-02 André Pönitz <poenitz@gmx.net>
3974 * cursor.[Ch]: remove direct access to anchor
3976 * text.C: remove findText() hack
3978 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3980 * iterators.[Ch] (lockPath): remove in favour of...
3981 * BufferView.[Ch] (setCursor): this addition
3982 * BufferView.C (putSelectionAt): adjust
3983 * undo.C (performUndoOrRedo): adjust
3984 * lyxfunc.C (dispatch): adjust
3986 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3988 * iterators.C (lockPath): add a missing slice
3989 * undo.C (performUndoOrRedo): remove redundant positioning code
3991 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * vc-backend.C (scanMaster): ";" -> ';'
3995 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3997 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3998 std::binary_function
4000 * lyxtextclass.C (compare_name): rename to...
4001 (LayoutNamesEqual): ...this
4003 * lyxlex_pimpl.C (compare_tags): inherit from
4004 std::binary_function, put back into anon namespace
4006 * lyxfind.C (MatchString): inherig from std::binary_function
4007 (findChange): use empty() istead of !size()
4009 * format.C (FormatNamesEqual): new functor
4016 * converter.C (compare_Converter): rename to...
4017 (ConverterEqual): ...this, and fixup a bit.
4018 (getConverter): use it, and make function const
4019 (getNumber): use it, and make function const
4023 * bufferlist.C: add using boost::bind
4025 * MenuBackend.C (MenuNamesEqual): new functor
4026 (hasMenu): use it, and make function const
4027 (hasSubmenu): use nested bind to get rid of compare_memfun.
4029 2004-01-30 André Pönitz <poenitz@gmx.net>
4031 * BufferView_pimpl.C:
4034 * cursor_slice.[Ch]:
4037 * paragraph_funcs.C:
4038 * paragraph_funcs.h:
4042 * text3.C: move some of the edit(x,y) handling to the insets
4043 some coordinate changes.
4045 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4047 * text.C: add using statements for std::advance and std::distance
4049 * paragraph.C: add using statement for std::distance
4051 * lyxfind.C: add using statement for std::advance
4053 * cursor.C (region): remove std:: from swap
4054 (openable): use nucleus in stead of operator->
4056 * BufferView.C: add using statements for std::distance and std::swap
4058 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4060 * iterators.C: Remove the pimple, move the needed structures to
4061 the header file. Create accessor for the positions stack.
4062 (asPosIterator): remove function
4064 * PosIterator.C (PosIterator): move constructors to top of file
4065 (PosIterator): reimplement the constructor taking a ParIterator in
4067 (setFrom): new function
4068 (operator!=): inline it
4070 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4072 * lyxfind.C (replaceAll): use std::advance
4074 * iterators.h: inherit from std::iterator.
4076 * PosIterator.C (advance, distance): remove
4077 * PosIterator.h: interit from std::iterator.
4079 2004-01-26 André Pönitz <poenitz@gmx.net>
4082 * BufferView_pimpl.[Ch]:
4086 * bufferview_funcs.C:
4096 * output_linuxdoc.C:
4097 * output_plaintext.C:
4099 * paragraph_funcs.[Ch]:
4100 * paragraph_pimpl.[Ch]:
4106 * text3.C: more IU: dumps most of the rest of the mathcursor
4107 implementation into cursor.[Ch]; "globalize" a bit of it.
4109 2004-01-25 Angus Leeming <leeming@lyx.org>
4111 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4113 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4115 * LaTeXFeatures.h: add nice_ and nice() const
4116 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4118 2004-01-20 André Pönitz <poenitz@gmx.net>
4121 * BufferView_pimpl.C:
4123 * bufferview_funcs.C:
4125 * cursor_slice.[Ch]:
4136 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4137 LCursor and mathcursor parts to LCursor and InsetBase.
4139 2004-01-15 André Pönitz <poenitz@gmx.net>
4141 * cursor_slice.[Ch]: add a few covienience functions
4143 * funcrequest.[Ch]: remove BufferView * member
4145 * BufferView_pimpl.C:
4152 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4154 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4156 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4157 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4159 2004-01-13 André Pönitz <poenitz@gmx.net>
4162 * lyxtext.h: hide cursor and selection anchor behind accessor function
4165 * BufferView_pimpl.[Ch]:
4167 * bufferview_funcs.C:
4177 * cursor_slice.[Ch]: some integer type changes for inset unification
4179 * lyxcursor.[hC]: remove, it's CursorSlice now.
4182 * BufferView_pimpl.[Ch]:
4183 * bufferview_funcs.C:
4189 * textcursor.[Ch]: adjust
4191 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4193 * text2.C (undoSpan): add and use
4194 * text.C (breakParagraph): use undoSpan (fix bug 578)
4197 2004-01-08 Angus Leeming <leeming@lyx.org>
4199 * BufferView_pimpl.C (MenuInsertLyXFile):
4200 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4201 * lyxfunc.C (menuNew, open, doImport):
4202 FileFilterList change to the FileDialog open and save functions.
4204 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4206 * ShareContainer.h: make isEqual and isUnique adaptable
4208 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4210 2004-01-07 Angus Leeming <leeming@lyx.org>
4213 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4215 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4217 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4218 functions replacing find, replace and replaceAll.
4220 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4221 LFUN_WORDFIND(FORWARD|BACKWARD).
4223 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4225 * text.C (breakParagraph): remove an outdated #warning
4227 2004-01-07 André Pönitz <poenitz@gmx.net>
4229 * lyxfind.C: somewhat clearer logic
4231 * text.C: prevent crash in cursorX on unitialized row cache
4233 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4235 * lyxcursor.[Ch] (operator>): add
4236 * textcursor.C (selStart, selEnd): use std::min and std::max
4238 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4240 * Chktex.C: include boost/format.hpp
4242 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4244 * InsetList.C: replace functor MathcIt with adaptable functor
4246 (insetIterator): modify accordingly
4248 * BranchList.h: move the BranchNamesEqual functor here from...
4249 * BranchList.C: ... to here
4251 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4253 (add): replace a finding loop with std::find_if.
4255 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4257 * output_docbook.C: moving LatexParam functionality into
4260 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4262 * buffer.C: increment format to 229.
4264 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4267 * lyx_sty.[Ch]: remove minipageindent_def
4273 * text3.C: remove LFUN_INSET_MINIPAGE
4275 2003-12-28 Angus Leeming <leeming@lyx.org>
4277 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4279 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4281 * text2.C (setParagraph): fix off-by-one crash
4283 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4285 * output_docbook.C: header stuff for AGU
4287 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4289 * text2.C (redoCursor): remove
4292 * BufferView_pimpl.C: remove calls to redoCursor and
4293 setCursor(cursor.par(), cursor.pos()) all around
4295 2003-12-15 Angus Leeming <leeming@lyx.org>
4297 * buffer.C: up the format to 228.
4299 2003-12-15 André Pönitz <poenitz@gmx.net>
4301 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4306 * BufferView_pimpl.C:
4315 2003-12-15 Angus Leeming <leeming@lyx.org>
4317 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4318 than getFromGUIName to manipulate the color.
4320 2003-12-14 Angus Leeming <leeming@lyx.org>
4322 * BranchList.[Ch]: minimize the API.
4323 (Branch::getBranch, getColor): now return a 'const &'.
4324 (Branch::setSelected) now returns a bool set to true if the
4325 selection status changes.
4326 (BranchList::clear, size, getColor, setColor, setSelected,
4327 allBranches, allSelected, separator): removed.
4328 (BranchList::find): new functions, returning the Branch with
4330 (BranchList::add, remove): return a bool indicating that
4331 the operation was successful.
4333 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4334 new InsetBranch::isBranchSlected member function.
4336 * LColor.[Ch]: mimimize the API.
4337 (fill): renamed as addColor and made private.
4338 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4339 versions of these functions taking a string arg have been removed.
4341 * bufferparams.C (readToken):
4342 * lyxfunc.C (dispatch):
4343 * lyxrc.C (read): changes due to the altered BranchList and
4346 * factory.C (createInset, readInset): changes due to altered
4349 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4352 * lyxfunc.C: remove insetminipage. "minipage-insert"
4353 now produces a frameless minipage box inset.
4355 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4357 * textcursor.[Ch] (selStart,selEnd): add new methods
4358 remove selection::start, end, use LyXCursor::operator<
4359 * lyxcursor.[Ch] (operator<): add
4360 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4361 * BufferView.[Ch] (unsetXSel): add
4362 * text2.C (clearSelection): use unsetXSel,adjust
4365 * rowpainter.C: adjust
4366 * bufferview_funcs.C (put_selection_at): adjust
4368 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4370 * BufferView_pimpl.C: small coord. correction
4372 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4374 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4375 dragging over the splash screen.
4377 2003-12-11 Angus Leeming <leeming@lyx.org>
4379 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4380 as it is now handled in LyXText::dispatch.
4382 * text3.C (doInsertInset): remove a level of nesting.
4384 2003-12-11 Angus Leeming <leeming@lyx.org>
4386 * factory.C (createInset): changes due to the changed interface to
4387 InsetCommandMailer::string2params.
4389 2003-12-10 Angus Leeming <leeming@lyx.org>
4391 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4392 'dialog-show-new-inset <inset name>'
4394 2003-12-10 Angus Leeming <leeming@lyx.org>
4396 * buffer.C: up the format to 227.
4398 * factory.C: the box inset is now identified simply by 'Box'.
4400 2003-12-10 Angus Leeming <leeming@lyx.org>
4402 * buffer.C: up the format to 226.
4404 * factory.C: the note inset is now identified simply by 'Note'.
4406 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4408 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4409 when a pit is enough. Standarize a couple of loops.
4411 2003-12-05 Angus Leeming <leeming@lyx.org>
4413 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4414 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4415 data to the re-worked "log" dialog.
4417 2003-12-03 André Pönitz <poenitz@gmx.net>
4423 * paragraph_funcs.C:
4425 * text2.C: use Inset::getText instead of Inset::getParagraph
4427 2003-12-03 André Pönitz <poenitz@gmx.net>
4431 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4432 InsetText::read() as LyXText::read()
4434 2003-12-02 Angus Leeming <leeming@lyx.org>
4436 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4437 type. Add a comment in the implementation that the function uses
4438 the stream's bad() function rather than fail() as the std::streams
4441 2003-12-02 André Pönitz <poenitz@gmx.net>
4443 * lyxlex.[Ch]: make interface more similar to std::stream
4445 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4447 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4449 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4451 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4453 * vspace.[Ch]: remove VSpace::NONE
4455 2003-12-01 André Pönitz <poenitz@gmx.net>
4458 * lyxtext.h: move ParagraphList member to LyXText
4459 rename LyXText::ownerParagraphs to LyXText::paragraph
4462 * bufferview_funcs.C:
4472 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4474 * undo.C: fix cursor positioning
4476 2003-12-01 John Levon <levon@movementarian.org>
4478 * BufferView_pimpl.C: fix a crash on exit with
4481 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4483 * BranchList.C: fix setSelected() method.
4485 2003-11-28 André Pönitz <poenitz@gmx.net>
4487 * ParagraphParameters.[Ch]:
4488 * ParameterStruct.h: remove space above/below from Paragraph to
4491 * BufferView_pimpl.C:
4497 * paragraph_funcs.C:
4503 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4505 * factory.C: Syntax change for CharStyles
4507 2003-11-28 André Pönitz <poenitz@gmx.net>
4512 * buffer.[Ch]: move LyXText member
4514 2003-11-28 André Pönitz <poenitz@gmx.net>
4516 * BufferView.[Ch]: make LyXText * text a private member
4518 * BufferView_pimpl.C:
4529 * output_plaintext.C: cleanup
4531 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4534 * lyxtextclass.[Ch]: parametrize SGML document header
4536 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4539 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4542 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4544 * text2.C (setFont): rework using PosIterator (no more recursive)
4545 (setCharFont): no more needed
4546 (setLayout): no more selection cursors fiddling (done by redoCursor)
4547 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4548 destroy remaining ones)
4550 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4552 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4554 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4557 * text3.C: adjust + re-allow multi par depth changes
4558 * textcursor.C: simplify a bit
4560 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4566 * src/output_docbook.C:
4567 * src/output_latex.C:
4572 * src/text2.C: Introducing a number of tags parametrizing various
4573 XML formats that we may want to support
4575 2003-11-25 André Pönitz <poenitz@gmx.net>
4577 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4579 * lyxtext.h (leftMargin/rightMargin): simplify interface
4586 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4588 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4589 master file to any child files. Fixes bug 546.
4591 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4593 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4595 2003-11-24 André Pönitz <poenitz@gmx.net>
4597 * rowpainter.C: simplification
4599 * text2.C (updateCounters): remove call to redoParagraph on
4600 changed labels as this is far too expensive.
4602 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4604 * converter.C (convert): fix a crash: this function gets
4605 called with buffer == 0 from importer code.
4607 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4609 * text3.C (cursorPrevious): make sure that we do not compare
4610 iterators form different containers.
4613 * rowpainter.C (paintSelection): make sure that we do not compare
4614 iterators from different containers.
4616 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4617 iterators from different ParagraphList containers.
4620 * text2.C (LyXText): change order of initialization slightly
4621 (operator=): new function. copy all variables except cache_par_
4622 (moveUp): make sure that we do not compare iterators from
4623 different ParagraphList constainers.
4626 * text.C (firstPar): new function
4627 (lastPar): new function
4628 (endPar): new function
4630 * lyxtext.h: move things around and group public functions, public
4631 variables, private functions, private variables
4633 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4635 * factory.C: change call to InsetERT constructor to avoid
4636 additional invocation of method status
4637 * text2.C (toggleInset): remove redundant update() call
4638 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4639 instead of a Bufferview pointer
4641 2003-11-21 André Pönitz <poenitz@gmx.net>
4643 * rowpainter.C: simplification
4645 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4647 * text3.C (dispatch): make possible to extend a word/row selection
4650 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4652 * lyxtext.h: x0_,y0_ -> xo_,yo_
4653 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4654 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4655 * rowpainter.C (paintRows): paint full paragraphs
4657 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4659 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4662 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4664 * lyxtext.h: add x0_, y0_
4665 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4666 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4668 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4670 * text2.C (setCursorIntern): move the x_target update here *
4671 * text3.C: change some bv() to true/false in calls to
4672 cursorUp/Down/Right/Left
4673 * cursor.C: use helper function.
4675 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4677 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4678 * paragraph_funcs.[Ch]: correct comment
4679 * rowpainter.C: do not paint selections away from bv->cursor()
4680 Fix a long standing selection painting bug.
4681 * text3.C: generalize mouse-selection code to LyXTexts other that
4683 * textcursor.C: do not use y coords if we can use par offsets
4685 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4687 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4688 cursor position after e.g. inset insert)
4690 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4692 * lyxfind.C (replace): adjust to locking removal + some
4695 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4697 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4700 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4703 * output_docbook.C: XML sanitation: new layout
4704 parameters InnerTag and CommandDepth
4706 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4708 * BufferView_pimpl.C:
4710 * text3.C: Fix the insertion and modification of button-style
4713 2003-11-13 André Pönitz <poenitz@gmx.net>
4715 * InsetList.[Ch]: remove deleteLyXText
4717 * paragraph.[Ch]: cache beginOfBody position
4722 * text3.C: remove superfluous update() calls
4726 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4728 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4729 * BufferView.C (fitLockedInsetCursor): remove
4730 * cursor.[Ch] (getDim): add
4731 * text.C (getRowNearY): add faster version
4732 * text3.C: remove some update calls
4734 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4746 * text3.C: The Character Style /XML short element patch.
4748 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4751 * factory.C: Small step to solving 'unable to insert some insets'
4754 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4756 * cursor.[Ch] (updatePos): new function for updating the y
4757 position of the tip inset
4758 * bufferview_funcs.C (put_selection_at):
4759 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4761 2003-11-11 André Pönitz <poenitz@gmx.net>
4763 * text.C: remove big comment on invalid Paragraph pointers as it is
4766 2003-11-11 André Pönitz <poenitz@gmx.net>
4768 * text_funcs.[Ch]: merge with ...
4776 * Makefile.am: remove text_funcs.[Ch]
4778 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4780 * cursor.C (getPos): return absolute cached y coord
4782 * BufferView_pimpl.C (fitCursor): new simplistic code
4783 (workAreaDispatch): add a fitCursor call
4785 2003-11-10 André Pönitz <poenitz@gmx.net>
4788 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4790 2003-11-10 André Pönitz <poenitz@gmx.net>
4792 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4793 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4794 indicate that the cursor needs to leave an inset
4796 * lyxtext.h: remove inset locking
4798 * cursor.[Ch]: re-implement functionality provided by inset locking
4801 * BufferView_pimpl.[Ch]:
4803 * bufferview_funcs.[Ch]:
4815 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4817 * PosIterator.[Ch]: replace the stack with a vector, add inset
4819 * iterators.[C]: adjust
4821 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4823 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4825 * paragraph_funcs.C (readParToken): put the correct id in the
4826 error item, not the id of the top paragraph
4828 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4830 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4831 * bufferview_funcs.C (put_selection_at): use the above
4833 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4835 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4837 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4839 * output_linuxdoc.h:
4840 * output_plaintext.h:
4842 * output_docbook.h: add #include statements
4844 2003-11-05 José Matos <jamatos@lyx.org>
4846 * output_docbook.[Ch]:
4847 * output_latex.[Ch]:
4848 * output_linuxdoc.[Ch]:
4849 * output_plaintext.[Ch]: New files for output formats.
4850 * output.[Ch]: New file for helper functions.
4853 * paragraph_funcs.[Ch]: output functions moved to new files.
4855 * outputparams.h: rename of latexrunparams.h
4863 * paragraph_funcs.[Ch]:
4864 * paragraph_pimpl.[Ch]:
4865 * tabular.[Ch]: rename ascii to plaintext
4866 and LatexRunParams to OutputParams.
4868 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4870 * iterators.[Ch] (text): require bv argument
4871 * undo.C (recordUndo):
4872 * lyxfunc.C (dispatch):
4873 * bufferview_funcs.C (put_selection_at): adjust
4875 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4877 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4879 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4881 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4884 2003-11-04 André Pönitz <poenitz@gmx.net>
4886 * cursor.[Ch]: restructure
4889 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4891 * iterators.[Ch] (asCursor): remove
4893 * lfuns.h: remove LFUN_INSET_EDIT
4899 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4901 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4903 * lyxfind.[Ch]: complete overhaul
4904 * BufferView_pimpl.C:
4906 * paragraph.[Ch] (insert): add
4908 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4912 * text.C: remove dead spellcheck code
4914 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4916 * dispatchresult.h: add a val setter
4918 * cursor.C (dispatch): use a tempvar for data_[i]
4920 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4922 * PosIterator.[Ch]: compile fix
4924 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4926 * text.C (cursorPar): deactivate the cursor cache
4928 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4930 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4932 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4934 * text3.C (dispatch): adjust for new DisptchResult semantics.
4936 * lyxfunc.C (dispatch): handle update when return from
4937 Cursor::dispatch, adjust for new DispatchResult semantics.
4939 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4940 DispatchResult(true) mean to not update. Add class functions for
4941 setting dispatched and update, as well as reading.
4943 * cursor.C (dispatch): don't handle update here
4945 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4947 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4948 * trans_mgr.C: adjust
4950 * paragraph_funcs.C (readParToken): exception safety
4952 * lyxvc.h: store the vcs pointer in a scoped_ptr
4955 * lyxsocket.C (serverCallback): exception safety
4957 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4959 * ispell.C (clone): make it return a auto_ptr
4961 * factory.C (createInset): exception safety
4962 (readInset): exception safety
4964 * bufferlist.C (newBuffer): exception safety
4966 * Thesaurus.C (Thesaurus): use initialization for aik_
4968 * MenuBackend.C (expandToc): exception safety.
4970 2003-11-03 André Pönitz <poenitz@gmx.net>
4974 * bufferview_funcs.C: remove getInsetFromId()
4977 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4983 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4985 * PosIterator.C (distance, advance): new
4986 * bufferview_funcs.[Ch] (put_selection_at): new
4987 * iterators.[Ch] (lockPath): new
4989 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4991 * iterators.[Ch] (asPosIterator): added
4992 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4993 * PosIterator.[Ch]: added
4995 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4999 * cursor.C (dispatch):
5000 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5002 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5003 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5004 contructor, add a class function dispatched. Remove operator>=
5006 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5008 * debug.C: only use the default constructor for debugstream
5011 * main.C (main): include debug.h and setup the lyxerr streambuf
5014 2003-10-31 José Matos <jamatos@lyx.org>
5016 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5018 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5019 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5020 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5021 * paragraph_pimpl.C (simpleTeXSpecialC):
5022 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5023 add LatexRunParams argument.
5025 * exporter.C (Export): change call accordingly.
5027 * latexrunparams.h: add new member to take care of the other backends.
5028 2003-10-30 José Matos <jamatos@lyx.org>
5030 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5031 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5032 factorise code for paragraph output.
5034 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5037 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5039 * text3.C (dispatch):
5040 * lyxfunc.C (dispatch):
5041 * cursor.C (dispatch):
5042 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5044 * dispatchresult.h: make the dispatch_result_t ctor explicit
5046 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5049 * buffer.C: small refactoring of docbook stuff
5051 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5053 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5056 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5058 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5059 operator dispatch_result_t, and operators for == != and >=
5061 * cursor.C (dispatch): adjust for operator dispatch_result_t
5062 removal. comment out call to update
5064 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5066 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5074 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5077 * dispatchresult.h: new file, DispatchResult broken out of
5080 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5082 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5084 * text.C (rowBreakPoint): put a hack inside #if 0
5086 2003-10-28 André Pönitz <poenitz@gmx.net>
5090 * paragraph_funcs.C:
5093 * text2.C: general cleanup (lots of small stuff)
5095 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5097 * text2.C (cursorEnd): simple fix to the "end key goes to one
5098 before the end on last row" bug
5100 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5102 * text.C (backspace): fix the "zombie characters"
5104 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5106 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5108 2003-10-27 André Pönitz <poenitz@gmx.net>
5110 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5112 * factory.C: handle new InsetPagebreak, InsetLine
5114 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5115 and move handling into new InsetPagebreak, InsetLine
5117 * BufferView_pimpl.C:
5119 * ParagraphParameters.C:
5120 * ParameterStruct.h:
5125 * paragraph_funcs.C:
5126 * paragraph_pimpl.C:
5132 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5135 * lyxrow_funcs.[Ch]:
5141 * text3.C: remove lastPos uses in favour of Row::endpos
5143 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5145 * undo.C (performUndoOrRedo): fix two crashes by setting a
5146 cursor by hand and reordering some calls. Use bv->lockInset instead
5147 of inset->edit because the latter loses cursor information
5149 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5151 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5153 (rowBreakPoint): fix width. change point to point + 1.
5154 Add a missing check.
5156 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5159 * lyxfunc.C: fix (at least partly) the problems
5160 with the Nav menu and headers inside branch insets
5163 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5165 * paragraph.C (getChar): add strong asserts
5167 * lyxrow_funcs.C (lastPos): remove hideous hack
5169 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5170 (fill): adjust to that (avoid an infinite loop)
5172 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5174 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5176 2003-10-23 André Pönitz <poenitz@gmx.net>
5178 * RowList_fwd.h: change list<> to vector<> to gain speed
5179 after suggestion from Alfredo
5181 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5183 * lyxtext.h: move the bidi stuff from here...
5186 * Bidi.[Ch]: ... to here
5188 2003-10-23 André Pönitz <poenitz@gmx.net>
5191 * text.C (isLastRow, isFirstRow): new functions
5193 * paragraph.h: new width cache member
5195 * rowpainter.C: replace RowList::iterator with Row & where possible
5197 * lyxfunc.C: replace several view()->text with a single call
5199 * toc.C: fix 'unused' warning
5201 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5203 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5204 when woring with stream::pos_type
5205 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5207 2003-10-22 André Pönitz <poenitz@gmx.net>
5210 * text.C: use Row & instead of RowList::iterator
5212 * lyxrow.h: rename end() to endpos()
5218 2003-10-22 Angus Leeming <leeming@lyx.org>
5220 * buffer.[Ch] (fully_loaded): new member function, returning true
5221 only when the file has been loaded fully.
5222 Used to prevent the premature generation of previews and by the
5223 citation inset to prevent computation of the natbib-style label.
5225 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5226 templates are all set up.
5228 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5230 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5232 * text.C: fixed an "oops" in the "is a bit silly"
5235 2003-10-21 André Pönitz <poenitz@gmx.net>
5237 * FuncStatus.[Ch]: small stuff, whitespace
5239 * lyxfont.[Ch]: operator<<() for debug reasons
5243 * lyxtext.h: whitespace, spelling
5245 * paragraph.C: naming of variables
5248 * text2.C: small stuff
5251 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5253 * text.C: (1) finish off the inset display() work;
5254 (2) fix the "is a bit silly" bug (accessing char
5257 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5259 * text.C: re-introduce display() for insets, fixing the
5260 various bugs (stretch of line above, math inset
5263 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5265 * text.C (rightMargin): remove spurious semicolon
5267 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5270 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5272 * text3.C: fix one crash due to wrong cursor def
5274 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5276 * vc-backend.C (scanMaster): make the regex static
5278 * LaTeX.C (scanAuxFile): make the regexs static
5280 * text3.C (doInsertInset, dispatch, dispatch):
5281 * text2.C (cursorUp, cursorDown):
5282 * text.C (selectNextWordToSpellcheck):
5283 * BufferView_pimpl.C (dispatch):
5284 * lyxfunc.C (dispatch): localDispatch -> dispatch
5286 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5288 * lyxsocket.C: include <cerrno>
5290 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5292 * lyxfunc.C (dispatch): remove textcache stuff
5294 * bufferlist.C (release): remove textcache stuff
5297 * TextCache.C: delete file
5298 * TextCache.h: delete file
5300 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5302 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5303 delete of the bv_->text.
5304 (resizeCurrentBuffer): remove texcache stuff
5305 (workAreaResize): ditto
5307 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5309 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5312 2003-10-16 André Pönitz <poenitz@gmx.net>
5319 * text3.C: speed up by storing y positions per paragraph plus per-row
5320 offset instead of having a 'full' y position in the row.
5322 2003-10-15 André Pönitz <poenitz@gmx.net>
5326 * undo.[Ch]: make undo aware of inner insets
5328 2003-10-14 Angus Leeming <leeming@lyx.org>
5330 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5331 static member functions LyX::ref() and LyX::cref.
5332 (lastfiles): new accessor functions for the new lastfiles_ member var.
5333 (addLyXView, views_): add a new LyXView to the list of views_.
5334 (updateInset): loop over all LyXViews to call their own updateInset
5335 member function, returning a pointer to the Buffer owning the inset.
5337 * BufferView_pimpl.C (loadLyXFile):
5338 * MenuBackend.C (expandLastfiles):
5339 * bufferlist.C (MenuWrite, QuitLyX):
5340 lastfiles is no longer a global variable.
5341 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5343 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5344 static function. Access through LyX::cref().emergencyCleanup().
5346 2003-10-14 André Pönitz <poenitz@gmx.net>
5348 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5350 * undo.[Ch]: restoring part of 'undo in insets'
5353 * undo_funcs.[Ch]: merge with undo.[Ch]
5355 * tabular.C: small cleansing stuff
5357 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5359 * paragraph_funcs.C (readParToken): report unknown insets as error
5360 boxes. Use the outer paragraph as location (also for unknown
5363 * factory.C (readInset): do not abort on reading an unknown inset.
5364 Eat it and return 0.
5366 2003-10-13 Angus Leeming <leeming@lyx.org>
5368 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5370 * lyxrc.C: displayTranslator is now a function,
5371 declared in GraphicsTypes.h.
5373 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5375 * format.C: new placeholder $$a to pass the socket address.
5377 * bufferlist.[Ch]: new function getBufferFromTmp.
5379 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5380 files in the temporary dir.
5382 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5384 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5386 * Makefile.am: add lyxsocket.[Ch].
5388 * lyx_main.C (error_handler): handle SIGPIPE.
5390 2003-10-13 André Pönitz <poenitz@gmx.net>
5392 * BufferView_pimpl.C:
5397 * undo_funcs.[Ch]: use paroffset_type instead of
5398 ParagraphList::iterators to prevent multiple conversion
5399 (and get a more robust interface)
5401 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5403 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5405 * text3.C (dispatch): ditto
5407 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5409 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5410 move the onlyfile, use onlyfile instead of foundfile in a couple
5413 * DepTable.C (update): flush the error stream a bit more
5415 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5417 * lyxserver.C (callback): adjust
5419 * lyxfunc.C (getStatus): add a missing brace in commented code
5420 (ensureBufferClean): reindent
5421 (dispatch): delete version taking a string
5423 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5425 * LaTeX.C (deplog): move found file handlig from here...
5426 (handleFoundFile): .. to new function here.
5427 (deplog): make sure to discover several files mentioned on the
5430 2003-10-10 André Pönitz <poenitz@gmx.net>
5437 * text3.C: fix some of the tabular crashes
5439 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5441 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5443 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5445 2003-10-09 André Pönitz <poenitz@gmx.net>
5447 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5450 * BufferView_pimpl.C:
5451 * bufferview_funcs.C:
5462 * undo_funcs.C: adjust
5464 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5466 * text2.C (incrementItemDepth): new function, use a backtracking
5467 algorithm to discover the correct item depth.
5468 (resetEnumCounterIfNeeded): new function, use a backtracking
5469 algorithm to discover if counter reset is needed.
5470 (setCounter): use them. Simplify a bit. Add different labels for
5471 different item depths for itemize.
5473 * paragraph.C (Paragraph): remove initialization of enumdepth
5476 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5477 enumerate and itemize. Change the type of itemdepth to signed char.
5479 2003-10-08 André Pönitz <poenitz@gmx.net>
5481 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5486 * tabular.[Ch]: fix crash after 'row-insert'
5488 2003-10-08 Angus Leeming <leeming@lyx.org>
5490 Fix doxygen warnings.
5492 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5493 Remove CutAndPaste:: prefix from header file declaration.
5495 * LColor.h (fill): remove LColor:: prefix from declaration.
5497 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5498 use lyx::depth_type rather than Paragraph::depth_type so that
5499 header file and .C file match.
5501 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5503 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5504 * aspell.C: \file aspell_local.C -> \file aspell.C
5505 * gettext.C: \file gettext.C -> \file src/gettext.C
5506 * gettext.h: \file gettext.h -> \file src/gettext.h
5507 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5508 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5509 * text.C: \file text.C -> \file src/text.C
5511 * toc.C: move comment so that doxygen is not confused.
5513 2003-10-07 Angus Leeming <leeming@lyx.org>
5515 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5517 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5520 * aspell_local.h: add forgotten std::string's.
5522 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5529 * text3.C: The Box patch. Fancybox support, minipage, parbox
5531 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5537 * ParagraphParameters.h:
5547 * lyxtextclasslist.h:
5550 * paragraph_pimpl.C:
5551 * textcursor.h: add <string> and other small fixes to make Lars'
5552 std::string patch compile with STLport.
5554 2003-10-06 Angus Leeming <leeming@lyx.org>
5556 * LColor.h: Add missing #include <string>.
5558 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5560 * All most all file in all subdirs: Make <string> be the prefered
5561 way of getting to std::string, add using declarations.
5563 2003-10-06 André Pönitz <poenitz@gmx.net>
5565 * metricsinfo.C: initialize LyXFont before changing attribute.
5566 (fixes the 'math in \emph is upright' bug)
5568 2003-10-06 André Pönitz <poenitz@gmx.net>
5570 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5572 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5575 * paragraph_pimpl.C: Small fixes to build using STLport
5577 2003-10-02 André Pönitz <poenitz@gmx.net>
5580 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5582 2003-10-01 André Pönitz <poenitz@gmx.net>
5584 * factory.C: assert early
5586 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5588 * lyx_main.C: remove the global debug object
5590 * debug.h: adjust for new debugstream
5592 * debug.C: adjust for new debugstream and keep the global debug
5595 2003-09-22 Angus Leeming <leeming@lyx.org>
5597 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5598 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5599 an incomplete class LyXFont.
5601 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5603 * factory.C: bug fix in branches
5605 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5607 * lyxfunc.C (processKeySym): adjust
5609 (dispatch): change arg name from ev to func, adjust
5610 (sendDispatchMessage): ditto
5612 * lyx_main.C (defaultKeyBindings): adjust keybindings
5613 (deadKeyBindings): ditto
5615 * kbsequence.C (addkey): return a FuncRequest
5617 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5619 * kbmap.C (bind): take a FuncRequest as arg, adjust
5622 (defkey): change to take a FuncRequest as arg, adjust
5623 (findbinding): take a FuncRequest as arg, adjust.
5625 * funcrequest.h (operator=): added
5627 * funcrequest.C (FuncRequest): default kb_action changed from
5628 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5630 * buffer.C (dispatch): simplify
5631 (dispatch): adjust to take a FuncRequest as arg, adjust
5633 * boost.C (assertion_failed): change assertion message slightly
5635 * ToolbarBackend.C (read): simplify
5637 * MenuBackend.C (binding): adjust call to findbinding, add a
5638 message if no binding is found.
5640 (expandToc): correct by adding a empty FuncRequest
5642 * LyXAction.C: include <boost/assert.hpp>
5643 (isPseudoAction): delete function
5644 (LookupFunc): change name to...
5645 (lookupFunc): this. change return type to FuncRequest.
5646 (getActionName): take kb_action as arg, simplify
5647 (funcHasFlag): add an assert, simplify.
5649 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5651 * toc.C (action): return a FuncRequest, simplify
5653 * lyxfunc.C (processKeySym): adjust
5654 (getStatus): delete version that takes an int.
5656 (dispatch): delete version that takes action as int
5658 (sendDispatchMessage): simplify and adjust
5660 * funcrequest.C (getArg): take unsigned int as arg
5662 * ToolbarBackend.C (read): adjust
5663 (add): delete version that takes func as a string.
5664 (getIton): take a FuncRequest as arg
5666 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5669 * MenuBackend.C (MenuItem): add a new construct that only takes a
5670 Kind, simplify the constructor use for submenus.
5672 (expandLastfiles): adjust
5673 (expandDocuments): adjust
5674 (expandFormats): adjust
5675 (expandFloatListInsert): adjust
5676 (expandFloatInsert): adjust
5677 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5679 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5680 Remove class variables lyx_pseudo_map and lyx_arg_map
5682 * LyXAction.C (searchActionArg): delete function
5683 (getPseudoAction): delete function
5684 (retrieveActionArg): delete function
5685 (LookupFunc): make it return kb_action, simplify.
5686 (getActionName): simplify
5688 * factory.C (createInset): fix new bug
5690 2003-09-19 Angus Leeming <leeming@lyx.org>
5692 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5693 masterFilename_ parameter in the include inset.
5695 * factory.C (createInset): changes due to the changes to InsetInclude.
5697 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5699 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5701 2003-09-18 Angus Leeming <leeming@lyx.org>
5704 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5705 Inset::fillWithBibKeys.
5706 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5708 2003-09-18 Angus Leeming <leeming@lyx.org>
5710 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5712 (ctor): pass and store a 'Buffer const &'
5713 (buffer): new member function.
5715 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5716 '*this' to the LaTeXFeatures ctor.
5718 2003-09-18 Angus Leeming <leeming@lyx.org>
5724 * text.C: rename EnumLColor as LColor_color.
5726 2003-09-18 Angus Leeming <leeming@lyx.org>
5728 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5729 remove #include "insets/insetbase.h" from cursor.h.
5731 2003-09-18 Angus Leeming <leeming@lyx.org>
5733 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5734 InsetOld_code to remove #include "inset.h".
5736 * iterators.C: add #include "insets/inset.h"
5738 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5740 * BufferView.C: remove more locking stuff that apparently doesn't
5741 do anything sensible.
5743 2003-09-16 André Pönitz <poenitz@gmx.net>
5746 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5749 2003-09-16 Angus Leeming <leeming@lyx.org>
5751 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5753 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5756 * paragraph.h: remove #include "lyxfont.h". Forward declare
5759 2003-09-16 Angus Leeming <leeming@lyx.org>
5761 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5762 of support/textutils.h.
5763 (isWord): move the contents of support/textutils.h's IsWordChar here.
5769 * text2.C: add #include "paragraph.h".
5772 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5774 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5780 * LaTeX.C: use namespace alias for lyx::support::os
5782 2003-09-16 Angus Leeming <leeming@lyx.org>
5785 * bufferview_funcs.C:
5788 * paragraph_pimpl.C:
5790 * text.C: add #include "LColor.h".
5792 2003-09-16 Angus Leeming <leeming@lyx.org>
5794 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5795 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5797 Store the FontBits::color variable as an int rather than as an
5798 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5801 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5802 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5803 string calls together.
5805 * lyxrc.C: add #include "LColor.h".
5807 2003-09-15 Angus Leeming <leeming@lyx.org>
5809 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5812 2003-09-15 Angus Leeming <leeming@lyx.org>
5814 * LColor.h: add an EnumLColor wrapper for LColor::color.
5816 * lyxfont.[Ch] (color, setColor, realColor):
5817 * lyxtext.h, text.C (backgroundColor):
5818 pass EnumLColor args to/from the functions, rather than LColor::color
5822 * lyxtext.h: forward declare EnumLColor.
5824 * lyx_main.C: add #include "LColor.h".
5826 2003-09-15 Angus Leeming <leeming@lyx.org>
5828 * .cvsignore: add lyx-gtk.
5830 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5835 * ParagraphParameters.C
5839 * bufferview_funcs.C
5849 * vc-backend.C: remove usage of STRCONV
5851 2003-09-15 Angus Leeming <leeming@lyx.org>
5853 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5854 explicitly define the color passed to the painter.
5856 2003-09-15 Angus Leeming <leeming@lyx.org>
5858 * bufferparams.C (BufferParams): reorder member initializers to avoid
5861 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5863 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5864 * text.C (updateRowPositions): remove an unusual nop
5866 2003-09-12 André Pönitz <poenitz@gmx.net>
5868 * BufferView_pimpl.C:
5877 * Counters.[Ch]: finish the 'automatic counters' job
5879 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5881 * aspell.C: include <boost/assert.cpp> (compile fix)
5883 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5885 * boost.C (assertion_failed): use lyx::support::abort instead of
5888 2003-09-10 Angus Leeming <leeming@lyx.org>
5890 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5891 with their _fwd progeny.
5893 2003-09-09 Angus Leeming <leeming@lyx.org>
5895 134 files throughtout the source tree: replace 'using namespace abc;'
5896 directives with the appropriate 'using abc::xyz;' declarations.
5898 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5900 * boost.C (emergencyCleanup): moved here from LAssert.c
5901 (assertion_failed): new function, called by BOOST_ASSERT
5903 * several files: change Assert to BOOST_ASSERT
5905 2003-09-09 Angus Leeming <leeming@lyx.org>
5907 * buffer.[Ch]: Add an Impl class and move Buffer's member
5908 variables into it. As a result move several header files out of
5911 Add header files to lots of .C files all over the tree as a result.
5913 2003-09-09 Angus Leeming <leeming@lyx.org>
5915 * buffer.[Ch]: make Buffer's member variables private. Add
5918 Lots of changes all over the tree as a result.
5920 2003-09-08 Angus Leeming <leeming@lyx.org>
5922 * graph.C: #include <config.h>.
5924 2003-09-08 Angus Leeming <leeming@lyx.org>
5928 * BufferView_pimpl.C:
5957 * toc.C: remove redundant using directives.
5959 2003-09-07 Angus Leeming <leeming@lyx.org>
5961 * LaTeXFeatures.h: remove #include "support/types.h".
5962 * ToolbarBackend.h: remove #include <algorithm>.
5963 * changes.h: remove #include <ctime>.
5964 * debug.h: remove #include <iosfwd>.
5965 * graph.h: remove #include "support/std_string.h".
5966 * lyx_main.h: remove #include <csignal>.
5967 * lyxlex_pimpl.h: remove #include <fstream>.
5968 * sgml.h: remove #include <algorithm>, <utility>.
5969 * toc.h: remove #include "support/std_ostream.h".
5970 Add #include <iosfwd>.
5972 2003-09-07 Angus Leeming <leeming@lyx.org>
5974 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5976 * converter.h: forward declare LatexRunParams.
5977 * encoding.h: remove #include "lyxrc.h".
5978 * lyxtext.h: remove #include "LColor.h".
5979 * lyxtextclass.h: remove #include "support/types.h".
5980 * trans.h: remove #include "tex-accent.h".
5981 * trans_mgr.h: remove #include "tex-accent.h".
5982 * insets/inset.h: remove #include "support/types.h", <vector>.
5983 * insets/insetcollapsable.h: remove #include "LColor.h".
5984 * insets/insetinclude.h: remove #include "dimension.h".
5985 * insets/insetlatexaccent.h: remove #include "dimension.h".
5986 * insets/insetoptarg.h:: remove #include "insettext.h".
5987 * insets/insettext.h: remove #include "dimension.h",
5988 <boost/shared_ptr.hpp>
5990 * insets/renderers.h: add #include "dimension.h".
5991 * insets/updatableinset.h: add #include "support/types.h".
5993 * many .C files: Associated changes.
5995 2003-09-06 Angus Leeming <leeming@lyx.org>
5997 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5998 one, inside testInvariant.
6000 * PrinterParams.C: new file.
6001 * PrinterParams.[Ch]: move the function bodies out of line.
6003 2003-09-06 Angus Leeming <leeming@lyx.org>
6005 * ParagraphParameters.h: forward declare ParameterStruct rather than
6006 including its header file.
6007 (depth): moved out-of-line.
6009 2003-09-06 Angus Leeming <leeming@lyx.org>
6011 * BufferView_pimpl.h:
6014 * lyxfunc.h: forward declare LyXKeySym rather than
6015 #include "frontends/LyXKeySym.h".
6017 * BufferView_pimpl.C:
6020 * lyxfunc.C: associated changes.
6022 2003-09-06 Angus Leeming <leeming@lyx.org>
6024 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6025 As a result, can remove the #include "insets/inset.h" from BufferView.h
6027 2003-09-06 Angus Leeming <leeming@lyx.org>
6029 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6030 As a result, can remove the #include "insets/inset.h" from BufferView.h
6032 2003-09-06 Angus Leeming <leeming@lyx.org>
6038 * bufferview_funcs.C:
6039 * BufferView_pimpl.C:
6044 * ParagraphParameters.C:
6049 * frontends/controllers/ControlDocument.C:
6050 * insets/insetcaption.C: rearrange the #includes into some sort of
6053 * buffer.h: remove #includes ErrorList.h, undo.h
6055 2003-09-06 Angus Leeming <leeming@lyx.org>
6057 * support/types.h: add a 'depth_type' typedef, used to store the
6058 nesting depth of a paragraph.
6061 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6062 defining explicitly.
6065 * paragraph_funcs.h:
6066 * ParagraphParameters.h:
6067 * sgml.h: use lyx::depth_type rather than Paragraph or
6068 ParameterStruct's depth_type.
6071 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6074 * BufferView_pimpl.C:
6076 * ParagraphParameters.C:
6079 * bufferview_funcs.C:
6086 * frontends/LyXView.C:
6087 * frontends/controllers/ControlDocument.C:
6088 * frontends/controllers/ControlErrorList.C:
6089 * insets/insetbibitem.C:
6090 * insets/insetbranch.C:
6091 * insets/insetcaption.C:
6092 * insets/insetcollapsable.C:
6093 * insets/insetenv.C:
6094 * insets/insetert.C:
6095 * insets/insetfloat.C:
6096 * insets/insetfoot.C:
6097 * insets/insetfootlike.C:
6098 * insets/insetnewline.C:
6099 * insets/insetquotes.C:
6100 * insets/insettabular.C:
6101 * insets/insettext.C:
6102 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6104 * frontends/controllers/ControlChanges.C: #include "changes.h".
6106 2003-09-06 Angus Leeming <leeming@lyx.org>
6108 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6109 than #including paragraph.h.
6112 * RowList.h: deleted. Superfluous.
6122 * insets/insettext.h: use ParagraphList_fwd.h rather than
6125 * paragraph.h: don't forward declare ParagraphList.
6128 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6129 rather than ParagraphList.h. paragraph.h is still needed for the
6130 Paragraph::depth_type parameters.
6132 * textcursor.h: enable it to compile stand-alone in light of the
6135 * bufferview_funcs.C:
6147 * frontends/controllers/ControlParagraph.C:
6148 * frontends/controllers/ControlTabular.C:
6149 * insets/insetmarginal.C:
6150 * insets/insetminipage.C:
6151 * insets/insetnote.C:
6152 * insets/insetoptarg.C: add header files needed to compile again.
6154 2003-09-06 Angus Leeming <leeming@lyx.org>
6156 * RowList_fwd.h: new file, forward-declaring Row rather than
6157 #including lyxrow.h.
6162 * insets/insettext.h: use it instead of RowList.h
6164 * bufferview_funcs.C:
6171 * text3.C: #include "RowList.h".
6173 2003-09-05 Angus Leeming <leeming@lyx.org>
6175 * factory.C (createInset):
6176 * vspace.C (c-tor): replace sscanf call with an istringstream.
6177 * ispell.C: re-add missing HP/UX headers.
6178 * lyxserver.C: re-add missing os2 headers.
6180 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6189 * text3.C: re-add missing system headers, needed for 2.95.2.
6191 2003-09-05 Angus Leeming <leeming@lyx.org>
6193 Changes most place everywhere due to the removal of using directives
6194 from support/std_sstream.h.
6196 2003-09-05 Angus Leeming <leeming@lyx.org>
6198 Replace LString.h with support/std_string.h,
6199 Lsstream.h with support/std_sstream.h,
6200 support/LIstream.h with support/std_istream.h,
6201 support/LOstream.h with support/std_ostream.h.
6203 Changes resulting throughout the tree.
6205 2003-09-05 Angus Leeming <leeming@lyx.org>
6207 * sgml.h: ensure that the header file can be compiled stand-alone.
6208 * *.C: strip out redundant #includes. (320 in total.)
6210 2003-09-04 Angus Leeming <leeming@lyx.org>
6212 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6213 here (from getPackages).
6215 * debug.[Ch]: add a new EXTERNAL tag.
6217 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6219 * text2.C (cursorEnd): simplify
6221 (getColumnNearX): adjust
6223 * text.C (computeBidiTables): adjust
6226 * rowpainter.C (paintChars): adjust
6227 (paintSelection): adjust
6228 (paintChangeBar): adjust
6231 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6233 (numberOfSeparators): adjust
6235 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6241 * text3.C: Restricts the mouse click functionality
6242 of insets like bibtex, include, toc and floatlist to the visible
6243 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6244 up the dialogs. Cursor has to be in front of the inset (i.e.
6245 start of row) for this to function.
6247 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6249 * bufferview_funcs.C (currentState): output row information
6251 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6253 * bufferview_funcs.C (currentState): output paragraph position
6255 2003-09-04 Angus Leeming <leeming@lyx.org>
6257 * FloatList.h: move out #include "Floating.h".
6258 * LaTeX.h: move out #include "DepTable.h".
6259 * LyXAction.h: move out #include "funcrequest.h".
6260 * buffer.h: move out #include "author.h", "iterators.h".
6261 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6262 * lyx_main.h: move out #include "errorlist.h".
6263 * lyxfunc.h: move out #include "FuncStatus.h".
6264 * lyxtext: move out #include "lyxcursor.h".
6265 * paragraph_pimpl.h: move out #include "counters.h".
6267 2003-09-03 Angus Leeming <leeming@lyx.org>
6269 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6270 preamble_snippets list, enabling us to add snippets to the preamble
6271 only if the snippet was not there already.
6273 2003-09-04 Angus Leeming <leeming@lyx.org>
6275 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6277 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6279 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6282 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6284 * BranchList.C: point fix, earlier forgotten
6286 2003-09-02 Angus Leeming <leeming@lyx.org>
6288 * box.C (contains): renamed from 'contained' after a fantastic
6291 2003-09-02 John Levon <levon@movementarian.org>
6297 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6299 2003-09-02 John Levon <levon@movementarian.org>
6301 * text2.C: simplification of cursorEnd(), including partial
6304 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6306 * buffer.C (readFile): add a space
6308 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6310 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6312 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6314 * buffer.C (readFile): new function, take a filename and a
6315 ParagraphList::iterator
6317 (readFile): adjust, make it private. don't use setStream, make
6318 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6319 always contain the filename.
6321 * BufferView.C (insertLyXFile): simplify and make it work for
6324 2003-08-30 John Levon <levon@movementarian.org>
6326 * Makefile.am: fix dist (from Kayvan)
6328 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6330 * most files: change to use const Buffer refs
6332 2003-08-27 André Pönitz <poenitz@gmx.net>
6334 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6335 on top of ownerPar().
6337 2003-08-27 John Levon <levon@movementarian.org>
6339 * funcrequest.C: properly initialise POD members
6341 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6343 * lyxtext.h (top_y): move top_y from here
6348 * BufferView_pimpl.[Ch]: to here
6349 * frontends/screen.C:
6350 * insets/insettabular.C:
6351 * insets/insettext.C: adjust
6352 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6354 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6357 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6359 2003-08-26 André Pönitz <poenitz@gmx.net>
6361 * paragraph_func.[Ch] (outerPar): new function
6364 * paragraph_funcs.C:
6365 * paragraph_funcs.h:
6366 * paragraph_pimpl.C:
6367 * text2.C: remove Inset::par_owner
6369 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6374 * text2.C: eliminates the needFullRow/display() stuff
6375 altogether, putting the logic in metrics/draw in the insets.
6377 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6379 * text2.C (redoParagraphInternal, redoParagraphs):
6380 * text.C (redoParagraph): add a call to updateRowPositions at the
6381 end of each 'metrics-like' call. Remove all others.
6382 (getRow): remove the 'y-computing' version.
6383 (getRowNearY): do not compute nor return the real y. Solve the
6384 'y < 0' problem and simplify.
6386 2003-08-22 Angus Leeming <leeming@lyx.org>
6388 * *.[Ch]: clean-up of licence and author blurbs.
6389 Also move config.h out of a few .h files and into a few .C files.
6391 2003-08-22 André Pönitz <poenitz@gmx.net>
6393 * lyxrow.[Ch]: add x_ and *fill_ members
6398 * text2.C: adjust/remove prepareToPrint() calls
6400 2003-08-22 André Pönitz <poenitz@gmx.net>
6402 * lyxrow.[Ch]: add end_ member
6404 * lyxrow_funcs.C: use LyXRow::end_
6406 * lyxtext.h (singleWidth): add LyXFont parameter
6409 * text2.C: adjust LyXText::singleWidth() calls
6411 * text.C (redoParagraph): simplify row breaking logic
6414 2003-08-19 André Pönitz <poenitz@gmx.net>
6416 * funcrequest.C: initialize button_ member
6419 * rowpainter.[Ch]: interface consolidation
6421 2003-08-18 André Pönitz <poenitz@gmx.net>
6424 * BufferView_pimpl.C:
6426 * paragraph_funcs.C:
6428 * text3.C: remove LyXScreen::draw() and fitCursor calls
6430 * BranchList.h: remove spurious semicolons
6432 * MenuBackend.C: fix branchlist related crash
6434 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6442 * bufferparams.[Ch]:
6446 * text3.C: implements the 'branch inset'
6447 idea. This allows the output of various versions of a document
6448 from a single source version, selectively outputing or suppressing
6449 output of parts of the text.
6450 This implementation contains a 'branch list editor' in a separate
6451 tab of the document settings dialog. Branches are user definable
6452 and have a "display colour" to distinguish them on-screen.
6454 ColorHandler was somewhat cleaned up.
6455 (1) make possible a dynamically growing LColor list by allowing
6456 the graphic context cache to grow along (vector);
6457 (2) eliminate an IMHO unnecessary step in colour allocation.
6459 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6461 * BufferView_pimpl.C: compile fix
6463 2003-08-15 André Pönitz <poenitz@gmx.net>
6465 * rowpainter.C: remove extra metrics calls
6467 * lyxtext.h: merge the two constructors into a single one,
6468 pass reference to owner's par list
6470 * BufferView_pimpl.C:
6474 2003-08-15 André Pönitz <poenitz@gmx.net>
6476 * lyxrow_funcs.[Ch]:
6479 * paragraph_funcs.C:
6484 * text_funcs.C: split LyXText::rowlist_ into individual
6485 Paragraph::rows_ chunks
6488 * BufferView_pimpl.[Ch]:
6491 * text3.C: remove toggleSelection()
6493 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6495 * bufferlist.C: beautify two alerts (shorter text of buttons)
6496 * buffer.C: Remove redundant ' ' from message
6498 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6499 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6500 rename VALIGN_CENTER to VALIGN_MIDDLE
6502 2003-08-11 André Pönitz <poenitz@gmx.net>
6504 * lyxtext.h (getPar):
6505 * text.C: new function
6507 2003-08-11 André Pönitz <poenitz@gmx.net>
6510 * tracer.[Ch]: remove unneeded files
6512 * InsetList.[Ch]: remove resizeInsetsLyXText()
6517 * text3.C: merge insertParagraphs() and appendParagraph()
6518 remove breakAgain(), update()
6520 * BufferView_pimpl.[Ch]:
6521 * bufferview_funcs.[Ch]:
6525 * tabular.C: adjust after text & InsetList changes.
6527 2003-08-08 André Pönitz <poenitz@gmx.net>
6529 * text.C (insertChar, backspace): replace rowlist fiddling
6530 with rebreak of full par
6533 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6534 checkParagraph, updateInset): removed
6536 2003-08-07 André Pönitz <poenitz@gmx.net>
6539 * text3.C: merge some LFUN handlers, remove dead code
6541 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6543 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6545 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6547 * text2.C (DEPM): fix part of bug 1255 and 1256
6549 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6551 * BufferView_pimpl.C (workAreaDispatch): change to use
6552 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6553 that are no mouse related.
6555 2003-08-05 André Pönitz <poenitz@gmx.net>
6558 * BufferView_pimpl.[Ch]:
6559 * bufferview_funcs.C:
6561 * text3.C: rip out "deep update"
6563 * textcursor.[Ch] (last_sel_cursor): remove unused member
6565 2003-08-04 André Pönitz <poenitz@gmx.net>
6568 * BufferView_pimpl.[Ch]:
6569 * ParagraphParameters.C:
6570 * bufferview_funcs.C:
6576 * text3.C: replace "complicated" BufferView::update(...) calls with
6579 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6581 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6583 * Makefile.am (lyx_SOURCES): add paper.h
6585 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6587 * Makefile.am: move things around so that both lyx-qt and
6588 lyx-xforms can be built (according to --with-frontend). Then lyx
6589 is a symbolic link to lyx-[firstfrontend]
6591 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6593 * Always use std::endl with lyxerr
6595 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6597 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6599 2003-08-01 André Pönitz <poenitz@gmx.net>
6602 * BufferView_pimpl.[Ch]:
6604 * text3.C: merge BufferView::repaint() and BufferView::update()
6606 2003-08-01 José Matos <jamatos@lyx.org>
6608 * buffer.[Ch]: file_format is no longer a buffer data element.
6610 2003-08-01 André Pönitz <poenitz@gmx.net>
6615 * text2.C: make redoParagraph more independent of current cursor
6617 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6619 * text2.C: remove unneeded members
6621 2003-07-30 André Pönitz <poenitz@gmx.net>
6623 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6625 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6626 create a single function...
6628 * paragraph_funcs.C (moveItem): ... here.
6631 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6633 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6635 * LColor.[Ch]: Add comment and greyedout logical colors.
6637 2003-07-30 André Pönitz <poenitz@gmx.net>
6639 * tabular.C: don't use Assert too heavily. This crashes where it
6642 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6644 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6645 is disabled (bug 1232)
6647 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6649 * factory.C: limited 'arg' scope
6651 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6653 * factory.C: fixed Note submenu issues
6655 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6657 * factory.C: submenu for Note/Comment/Greyedout
6659 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6662 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6664 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6667 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6668 greyedout. Patch provided by Jürgen Spitzmüller.
6670 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6672 * kbmap.C (read): fix error message when reading bind files
6674 2003-07-29 Angus Leeming <leeming@lyx.org>
6676 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6677 certainly does not do what it purports to do. I am doing it, and
6678 us, a favour by killing it.
6680 2003-07-28 José Matos <jamatos@lyx.org>
6682 * buffer.C (readBody, do_writeFile):
6683 * paragraph.C(readParagraph): \end_document replaces \the_end.
6685 2003-07-29 André Pönitz <poenitz@gmx.net>
6688 * BufferView_pimpl.[Ch]:
6692 * textcursor.[Ch]: remove toggleToggle & Co
6694 2003-07-28 José Matos <jamatos@fep.up.pt>
6696 * buffer.C (readParagraph):
6697 * params_func (readParToken, readParagraph):
6698 * paragraph.C (write): \layout -> \begin_layout.
6700 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6702 * lyxlex_pimpl.C (setFile): clean up slightly.
6704 * bufferparams.h: add compressed var
6706 * buffer_funcs.C (readFile): adjust for LyXLex change
6707 (newFile): ditto + simplify
6709 * buffer.C (writeFile): handle writing of compressed files
6711 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6712 Check if the file is compressed and set a bufferparm if so.
6714 * Makefile.am (lyx_LDADD): remove explicit -lz
6716 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6718 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6719 makeDocBookFile): put the real LyX version in the first line of
6723 * version.C.in: remove lyx_docversion
6725 * tabular.C (write_attribute): add a template-based version to
6726 write enums properly
6728 2003-07-28 André Pönitz <poenitz@gmx.net>
6733 * text3.C: use doubles again for x-coordinates. They are needed.
6735 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6737 * messages.C (getLocaleDir): use lyx_localedir()
6739 * lyxlex_pimpl.C (setFile): compress stuff
6741 * buffer.C (writeFile): add some compression stuff
6742 (do_writeFile): new func, dont call expliti close... will this
6745 * Makefile.am (lyx_LDADD): add -lz
6747 2003-07-28 José Matos <jamatos@fep.up.pt>
6749 * buffer.C: increment file format.
6750 * paragraph_funcs (readParagraph, readParToken):
6751 * paragraph.C (readParagraph): add \end_layout.
6753 2003-07-27 Angus Leeming <leeming@lyx.org>
6755 * Makefile.am: remove special casing for configure-time setting of
6756 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6758 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6759 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6761 2003-07-26 André Pönitz <poenitz@gmx.net>
6763 * paragraph_func.[Ch]:
6764 * paragraph.C (realizeFont): inline it whereever it is used
6769 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6772 2003-07-26 André Pönitz <poenitz@gmx.net>
6776 * text2.C: get rid of LyXText::need_break_row
6778 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6780 * toc.[Ch]: put namespace toc inside namespace lyx
6782 * MenuBackend.C (expandToc2): adjust for lyx::toc
6785 * lyxfunc.C (dispatch): adjust for lyx::find
6787 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6788 lyx::find instead. Reorganize a bit.
6789 (LyXReplace): rename to replace
6790 (LyXFind): rename to find
6792 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6795 2003-07-26 André Pönitz <poenitz@gmx.net>
6797 * text.C (setHeightOfRow): restrict scope of temporary variable
6799 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6800 code (never has been used?)
6802 2003-07-27 Asger Alstrup <alstrup@local>
6804 * text.C (fill): Optimise algorithm to exploit that we can reuse
6805 the LyXFont for many characters.
6806 (setHeightOfRow): Same thing.
6807 (rowBreakPoint): Same thing.
6809 2003-07-26 Asger Alstrup <alstrup@local>
6811 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6813 * text.C (singleWidth): Spurious font copying in hot-spot
6814 singleWidth avoided. Reorder tests for arabic for efficiency.
6816 * text.C (fill): handle empty paragraphs better.
6818 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6821 * encoding.h: add includes
6823 * lyxrc.C: remove reading of bind files
6825 * lyx_main.C (init): setup bindings and menus only if we have a
6828 * kbmap.C (read): new method. Do the actual reading of bind
6831 * converter.C (dvipdfm_options):
6834 (output): adapt PAPER_* enums.
6836 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6838 * bufferparams.h: remove paper-related enums from there
6840 * paper.h: New file. A trivial header file to hold paper-related
6841 enums. It should later expand to contain many paper-related
6844 * lyxrc.C: declare extern displayTranslator
6846 2003-07-27 José Matos <jamatos@fep.up.pt>
6848 * tabular.[Ch] (linuxdoc): add support for tables and figures
6851 2003-07-27 José Matos <jamatos@fep.up.pt>
6853 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6854 consistency in both functions.
6855 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6857 2003-07-26 Asger Alstrup <alstrup@local>
6859 * rowpainter.C (paintRows): Change algorithm to work directly on
6860 the insets rather than asking every character in the document
6861 whether its an inset.
6863 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6865 * buffer.C (openFileWrite): factorize some code
6867 2003-07-26 Angus Leeming <leeming@lyx.org>
6870 * lyx_main.[Ch]: replace occurances of system_tempdir with
6873 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6875 * rename Inset to InsetOld
6877 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6879 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6880 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6881 which I think is a bit clearer. EDIT is gone, since it was
6882 premature optimisation, and broken for mathed anyway.
6883 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6884 with cursor positioning in insets as well (math insets still do not
6885 work, but that's a different story anyway.) It mysteriously
6886 crashes sometimes with undo in the first paragraph, but I'm fairly
6887 confident that this is a compiler bug.
6889 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6891 * paragraph.C (Paragraph): adjust for new clone return type
6893 (copyIntoMinibuffer): ditto
6895 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6897 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6898 by not having a special case, and always doing a full rebreak of
6899 the document after undo.
6901 2003-07-23 Angus Leeming <leeming@lyx.org>
6903 * factory.C (createInset): InsetExternal::setParams now takes a
6906 2003-07-23 Angus Leeming <leeming@lyx.org>
6908 * factory.C (createInset): changed interface to the external and
6909 graphics mailers' string2params functions.
6911 2003-07-23 Angus Leeming <leeming@lyx.org>
6913 * factory.C (createInset): pass a
6914 Buffer const * parameter to InsetExternalMailer's string2params.
6916 2003-07-22 John Levon <levon@movementarian.org>
6918 * Thesaurus.h: include the right aiksaurus header
6920 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6922 * MenuBackend.C (expand): check menu shortcuts unconditionally
6924 2003-07-21 Angus Leeming <leeming@lyx.org>
6926 * factory.C (createInset): pass a
6927 buffer_path parameter to InsetGraphicsMailer's string2params.
6929 2003-07-21 Angus Leeming <leeming@lyx.org>
6931 * BufferView_pimpl.C (buffer):
6934 * lyxfunc.C (dispatch):
6935 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6936 rather than the grfx shortcut.
6938 2003-07-21 André Pönitz <poenitz@gmx.net>
6940 * rowpainter.C: remove unused variables
6943 * tabular_funcs.h: move to tabular.C
6944 * Makefile.am: adjust
6946 * tabular.[Ch]: basic optical cleaning
6948 * author.h: pass references, not values
6950 2003-07-18 André Pönitz <poenitz@gmx.net>
6958 * text3.C: two-phase drawing for InsetText and InsetTabular
6959 some float -> int changes.
6961 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6963 * lyx_main.C: fix the fix
6965 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6967 * lyx_main.C: fix a crash in batch mode if no files specified
6970 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6972 * format.[Ch] (papersize): moved to BufferParams
6973 * converter.[Ch] (dvips_options): moved to BufferParams
6974 (dvipdfm_options): moved to anon namespace
6975 * bufferparams.[Ch]: added above functions.
6977 2003-07-17 André Pönitz <poenitz@gmx.net>
6981 * text2.C: don't call inset->update() anymore
6983 * metricsinfo.[Ch]: add convenience constructor
6985 2003-07-16 André Pönitz <poenitz@gmx.net>
6990 * text2.C: replace the LyXCursor::irow_ member with
6991 on-demand computation of the value
6993 2003-07-16 John Levon <levon@movementarian.org>
6995 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6997 2003-07-15 André Pönitz <poenitz@gmx.net>
7000 * text2.C: remove no more needed refresh_row
7002 2003-07-15 André Pönitz <poenitz@gmx.net>
7007 * text3.C: refresh_status tristate -> need_update bool
7009 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7011 * lyxtext.h (init): remove reinit argument (act as if always true)
7012 * text2.C: adjust to that
7014 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7016 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7017 * text3.C: use it to delete selections in some cases
7018 (bugs 441, 673, 702, 954).
7020 2003-07-14 André Pönitz <poenitz@gmx.net>
7022 * rowpainter.[Ch]: reduce interface
7024 2003-07-14 André Pönitz <poenitz@gmx.net>
7026 * BufferView_pimpl.C:
7027 * text2.C: adjust after removing unused BufferView * argument
7029 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7031 * text2.C (init): fix a crash fired on resize
7033 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7035 * buffer.[Ch]: added new closing signal
7036 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7037 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7038 BufferView::Pimpl via the closing the signal
7040 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7042 * buffer.[Ch]: take out all bv-related from buffer
7044 * BufferView_pimpl.[Ch]: connect to new signals
7045 * CutAndPaste.C: removed useless asserts
7046 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7049 * lyxfunc.C: moved view-related funciontality from vc here
7050 * paragraph.C: removed outdated comments
7053 2003-07-10 André Pönitz <poenitz@gmx.net>
7055 * BufferView_pimpl.C:
7059 * text2.C: remove InsetText::InnerCache, clean up consequences
7061 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7063 * ispell.C: fix two typos in error messages
7065 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7067 * Extend Note inset to other forms of annotation like Comment
7068 and Greyedout. Right button click gives dialog.
7070 Files modified or added (+):
7074 * ControlNote.[Ch] +
7076 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7077 frontends/controllers
7081 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7083 * aspell.C: add missing namespace lyx::support
7085 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7087 * BufferView.[Ch] (newFile): Add
7088 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7089 * LaTeX.[Ch] (message): added this signal and use it
7090 * buffer.[Ch] (busy, message): added these signals and use them
7091 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7095 * importer.C: use buffer signals instead of direct bv calling
7096 * lyx_cb.[Ch] (ShowMessage): removed
7099 * paragraph_funcs.C:
7100 * text2.C: use buffer signals
7102 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7104 * introduce namespace lyx::graphics
7106 2003-07-02 André Pönitz <poenitz@gmx.net>
7108 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7110 2003-07-01 André Pönitz <poenitz@gmx.net>
7117 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7118 text*.C to text_func.C
7120 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7122 * introduce namespace lyx::support
7124 2003-06-30 André Pönitz <poenitz@gmx.net>
7129 * text.C: re-enable --with-included-string
7131 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7133 * textcursor.C: add <config.h>
7135 * text.C (getWord): remove const from word_location arg
7137 * lyxvc.C (getLogFile): fix const type order
7139 * lyxtext.h: remove const from word_location arg, add arg name
7141 * lyxlayout.h: currect type on labeltype.
7143 * importer.C: correct \file
7145 * converter.C (intToFormat): use std:: on ret val, ws changes
7147 * bufferlist.h: correct \file
7149 * buffer.C (makeLinuxDocFile): fix const type order
7150 (makeDocBookFile): ditto
7151 (fillWithBibKeys): use std:: on stdlib args.
7153 * CutAndPaste.C: fix authors.
7154 (availableSelections): use std:: on return vector
7156 2003-06-27 André Pönitz <poenitz@gmx.net>
7158 * BufferView_pimpl.C:
7159 * bufferview_funcs.C:
7167 * text3.C: remove LyXCursor::row_ member
7170 * text.C: rename fullRebreak() to partialRebreak() and implement
7171 a fullRebreak() that really bereks fully
7173 * textcursor.h: new struct for cursor-related data
7175 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7177 * lyx_main.C (LyX): get full path of document loaded on the
7180 2003-06-26 André Pönitz <poenitz@gmx.net>
7182 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7183 remove unused/broken operator>,<,>=.
7185 * text.C: remove only use of broken operator<= in an Assert().
7187 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7189 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7190 moved errorlist_.clear to showErrorList
7192 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7194 * converter.C (scanLog, runLaTeX):
7195 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7196 move the bv->showErrorList call to the callers
7197 * lyxfunc.C: i.e. here...
7199 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7200 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7201 namespace, the second to...
7202 * buffer_funcs (BufferFormat, parseErrors): added
7203 * errorlist.C (ErrorList(TeXErrors const &)): removed
7205 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7207 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7209 2003-06-24 "Garst R. Reese" <reese@isn.net>
7213 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7215 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7217 * version.C.in: change docversion to 1.4
7219 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7221 * buffer.C: fix a bug just introduced
7223 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7225 * buffer.[Ch]: added the parseError signal and use it, removed
7227 * BufferView.[Ch] (addError): moved to ...
7228 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7229 to the Buffer::parseError signal to catch (guess what) parse errors
7230 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7232 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7234 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7235 ability to create a buffer and to return an existing one from
7236 the list. Moved these functions to...
7237 * buffer_funcs.[Ch]: added
7238 * BufferView.[Ch] (loadLyXFile): added
7239 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7240 job removed from bufferlist::loadLyXFile.
7241 * buffer.C (setReadOnly): make it work without view
7242 (i.e added an if (users))
7244 2003-06-19 Angus Leeming <leeming@lyx.org>
7247 * LyXAction.C (init):
7248 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7249 with LFUN_DIALOG_SHOW <name> <data>.
7251 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7253 * CutAndPaste.C (availableSelections): small compilation fix for
7254 ancient (gcc 2.9x) compilers
7256 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7258 * text3.C (cursorNext): add tmp var
7260 * text2.C (updateCounters): for function calling out of for clause
7261 (replaceSelectionWithString): ditto
7262 (insertStringAsParagraphs): ditto
7263 (getColumnNearX): add tmp var
7264 (setCursorFromCoordinates): add tmp var
7265 (cursorDownParagraph): add tmp var
7266 (deleteEmptyParagraphMechanism): add tmp var
7268 * text.C (insertChar): add tmp var
7270 * rowpainter.C (paintDepthBar): add tmp var
7272 * CutAndPaste.C (availableSelections): potentially check all
7273 paragraphs in a cut to fill the shown strings.
7275 2003-06-18 André Pönitz <poenitz@gmx.net>
7277 * kbmap.[Ch]: use vector<> instead of list<>
7279 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7281 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7282 pasteSelection with index
7284 * text2.C (pasteSelection): modify, call pasteSelection with index
7286 * paragraph.C (asString): reimplement version with no interval to
7287 call the one with interval.
7289 * lyxtext.h: add index arg to pasteSelection
7291 * MenuBackend.C (MenuItem): handle PasteRecent
7292 (Menu::read::Menutags): add md_pasterecent
7294 (expandPasteRecent): new function
7297 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7299 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7301 (availableSelections): new function
7303 2003-06-17 Angus Leeming <leeming@lyx.org>
7305 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7307 2003-06-17 Angus Leeming <leeming@lyx.org>
7310 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7312 * lyxfunc.C (dispatch): invoke it.
7314 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7316 * iterators.C (operator++, ParPosition): reintroduce some
7317 const_cast for the benefit of older compilers.
7319 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7321 * text3.C (dispatch): do not modify clipboard when doing
7322 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7323 LFUN_DELETE_SKIP on a selection selection
7325 2003-06-16 André Pönitz <poenitz@gmx.net>
7331 * tabular.[Ch]: IU of clone() and getLabelList();
7333 2003-06-13 André Pönitz <poenitz@gmx.net>
7335 * tabular.h: compactification
7337 2003-06-12 André Pönitz <poenitz@gmx.net>
7341 * tabular_funcs.h: some renaming plus whitespace
7343 2003-06-12 André Pönitz <poenitz@gmx.net>
7346 * BufferView_pimpl.C:
7352 * toc.C: Return a Paragraph & for ParIterator::operator*()
7354 2003-06-11 John Levon <levon@movementarian.org>
7358 * ToolbarBackend.C: add "Toolbars" section and
7361 2003-06-10 Angus Leeming <leeming@lyx.org>
7364 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7366 * lyxfunc.C (dispatch): invoke it.
7368 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7370 * main.C: protect <ios> with HAVE_IOS
7371 (main): protect sync_with_stdio with HAVE_IOS
7373 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7375 * text2.C (cutSelection): adjust
7376 (pasteSelection): adjust
7378 * messages.C: handle get of empty string
7380 * main.C (main): use sync_with_stdio(false)
7382 * lyxfunc.C (dispatch): adjust
7384 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7385 (WriteAs): remove unneeded BufferView arg.
7387 * bufferparams.h: use correct types on papersize, papersize2 and
7390 * bufferparams.C (readToken): adjust for type
7391 (writeLaTeX): add missing cases to switch.
7393 * bufferlist.C (quitWriteBuffer): adjust
7396 * buffer.C (asciiParagraph): remove some commented code.
7398 * CutAndPaste.C: remove current_view extern variable.
7399 (cutSelection): add BufferParams arg.
7400 (eraseSelection): add BufferParams arg.
7401 (pasteSelection): add Buffer const & arg
7403 2003-06-07 John Levon <levon@movementarian.org>
7406 * paragraph_funcs.C:
7407 * paragraph_pimpl.C:
7411 * paragraph.C: allow InsetERT to freely space lines,
7412 and some consolidation of code
7414 2003-06-06 José Matos <jamatos@fep.up.pt>
7416 * buffer.C (makeDocBookFile): fix bug #821
7418 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7420 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7422 2003-06-04 Angus Leeming <leeming@lyx.org>
7424 * buffer.C: bump format to 224.
7426 2003-06-05 André Pönitz <poenitz@gmx.net>
7428 * text2.C (redoParagraphs): remove two const_cast<>
7430 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7432 * ParagraphList.h: remove last remnants of NO_STD_LIST
7434 2003-06-03 Angus Leeming <leeming@lyx.org>
7436 * factory.C (createInset): small change to the way InsetExternal's params
7439 2003-06-04 André Pönitz <poenitz@gmx.net>
7441 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7443 * paragraph_pimpl.h:
7444 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7446 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7448 * undo_funcs.C: make some simple cases of undo work again
7450 2003-06-03 John Levon <levon@movementarian.org>
7452 * ispell.C: HPUX doesn't have sys/select.h
7455 2003-06-03 John Levon <levon@movementarian.org>
7457 * CutAndPaste.C: update tabular and include inset
7462 * paragraph.C: remove owningBuffer(), don't pass Buffer
7465 * factory.C: insetGraphicsParams changed
7467 2003-06-02 John Levon <levon@movementarian.org>
7473 * text3.C: remove insetparent
7475 2003-06-02 John Levon <levon@movementarian.org>
7478 * buffer.C: fix inset_iterator.end(), move out of line
7481 2003-06-01 John Levon <levon@movementarian.org>
7483 * text3.C: use a proper cut/paste when doing inset
7484 insert (from Jürgen Spitzmüller)
7486 2003-06-01 John Levon <levon@movementarian.org>
7488 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7490 2003-05-30 André Pönitz <poenitz@gmx.net>
7492 * rowpainter.C: unify second drawing phase
7494 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7496 * trans_mgr.C: remove one case of current_view
7498 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7500 * paragraph_funcs.h: remove paragraph.h include
7502 * paragraph.h: delete NO_STD_LIST stuff
7504 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7506 * buffer.h: remove paragraph.h include
7508 * ParagraphList.C: delete file
7510 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7512 * toc.C (getTocList): adjust
7514 * paragraph_pimpl.C (validate): adjust
7516 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7518 * paragraph.C (Paragraph): adjust
7519 (getPositionOfInset): use const_iterator, adjust
7520 (bibitem): use const_iterator, adjust
7521 (setInsetOwner): adjust
7523 * iterators.C (operator++): adjust
7525 * InsetList.[Ch]: Replace selfmade iterator with standard
7526 vector::iterator also introduce const_iterator. Remove getPos,
7527 getInset and setInset from InsetTable. Adjust accordingly.
7529 * BufferView.C (lockInset): adjust
7530 (ChangeInsets): adjust
7532 * tabular.[Ch]: delete commented same_id functions
7534 2003-05-28 John Levon <levon@movementarian.org>
7536 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7538 2003-05-28 André Pönitz <poenitz@gmx.net>
7540 * metricsinfo.[Ch]: remove 'fullredraw' member
7542 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7544 * lyxtextclass.C (operator): remove caching.
7546 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7550 * text2.C (cursorBottom): adjust
7551 (setCounter): use ParagraphList::find, adjust
7553 * text.C (workWidth): use ParagraphList::find, adjust
7555 * lyxcursor.C (LyXCursor): adjust
7557 * buffer.C (inset_iterator): adjust
7559 * ParagraphList.h: make iterator(value_type) private, make
7560 ParagraphList a friend of iterator.
7562 * ParagraphList.C (find): new function
7564 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7566 2003-05-27 André Pönitz <poenitz@gmx.net>
7568 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7570 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7572 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7574 2003-05-26 John Levon <levon@movementarian.org>
7576 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7578 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7580 * remove same_id from function signatures, adjust.
7582 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7584 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7586 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7588 * paragraph.C (Paragraph): get rid of same_ids parameter
7590 * ParagraphList.C (insert): adjust
7593 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7595 * paragraph_funcs.C (breakParagraph): adjust
7596 (breakParagraphConservative): adjust
7598 * buffer.C (readParagraph): adjust
7600 * ParagraphList.C (insert): take a reference instead of a pointer
7603 * paragraph.[Ch] (id): new function
7605 * bufferlist.C (newFile): adjust
7607 * ParagraphList.C (ParagraphList): adjust
7609 (push_back): take a reference instead of a pointer.
7611 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7613 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7616 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7617 set else use old code.
7619 * ParagraphList.C: remove all NO_NEXT code and only compile this
7620 code of NO_STD_LIST is set.
7622 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7624 * BufferView_pimpl.C:
7634 * graphics/GraphicsConverter.C:
7635 * graphics/PreviewLoader.C: header adjustment
7637 2003-05-23 Angus Leeming <leeming@lyx.org>
7639 * LaTeXFeatures.[Ch] (useBabel): new method.
7640 * bufferparams.C (writeLaTeX): use it.
7642 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7644 * ParagraphList.h (set): remove unused function.
7646 2003-05-23 André Pönitz <poenitz@gmx.net>
7649 * BufferView_pimpl.C:
7653 * undo_funcs.C: setUndo reworked
7655 * iterators.[Ch]: add access to topmost ParagraphList
7657 * lyxtext.[Ch] (workWidth): add a const
7659 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7661 * texrow.[Ch] (increasePos): remove function
7662 * exporter.C (export): removed unused var and outdated comment
7664 2003-05-23 Angus Leeming <leeming@lyx.org>
7666 * latexrunparams.h: rename fragile as moving_arg.
7667 * paragraph.C (simpleTeXOnePar): ditto.
7668 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7670 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7672 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7674 (textUndoOrRedo): comment out a currently unused var.
7676 * paragraph.h (NO_NEXT): enable NO_NEXT
7678 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7680 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7682 * exporter.C (Export): adjust for removeAutoInsets removal.
7684 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7686 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7688 * BufferView.[Ch] (removeAutoInsets): delete function
7690 2003-05-22 Angus Leeming <leeming@lyx.org>
7692 * latexrunparams.h: add a free_spacing variable.
7694 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7695 to pass moving_arg, as the data is stored in runparams.fragile.
7697 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7698 to Inset::latexOptional or to simpleTeXOnePar.
7700 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7701 free_spacing arg to Inset::latexOptional.
7703 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7706 2003-05-22 Angus Leeming <leeming@lyx.org>
7708 * latexrunparams.h: add fragile and use_babel variables.
7710 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7711 * buffer.C (makeLaTeXFile): store this returned value in
7712 runparams.use_babel, thus passing it to the inset::latex methods.
7714 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7715 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7717 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7718 longer has a fragile arg, as it is stored in runparams.fragile.
7720 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7721 moving_arg parameter as the data is stored in runparams.fragile.
7723 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7724 a fragile parameter as the data is stored in runparams.fragile.
7726 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7728 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7730 2003-05-22 Angus Leeming <leeming@lyx.org>
7732 * latexrunparams.h: add a 'bool nice' which defaults to false.
7734 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7735 now encapsulated within runparams.
7737 * bufferlist.C (updateIncludedTeXfiles):
7738 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7740 2003-05-22 Angus Leeming <leeming@lyx.org>
7742 * latexrunparams.h: new file containing struct LatexRunParams.
7743 * Makefile.am: add new file.
7745 * LaTeX.[Ch] (c-tor, run):
7746 * buffer.[Ch] (makeLaTeXFile):
7747 * bufferlist.[Ch] (updateIncludedTeXfiles):
7748 * converter.C (convert, scanLog):
7749 * converter.[Ch] (runLaTeX):
7750 * exporter.C (Export):
7751 * paragraph.[Ch] (simpleTeXOnePar):
7752 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7753 * paragraph_funcs.[Ch] (latexParagraphs):
7754 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7755 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7756 pass around a LatexRunParams parameter.
7758 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7760 * paragraph.[Ch]: remove unused constructor
7762 * ParagraphList.C (erase): new function, taking two iterators
7764 2003-05-22 André Pönitz <poenitz@gmx.net>
7766 * undo_funcs.C: remove duplicated code
7768 * iterator.[Ch]: operator=
7770 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7772 * tabular.C (SetMultiColumn): ws changes
7774 * rowpainter.C (paintFirst): get rid of a ->previous
7776 * lyx_cb.C (getPossibleLabel): parlist simplification
7778 * BufferView.C (ChangeInsets): simplify slightly.
7780 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7782 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7783 * lfuns.h: new LFUN_SPACE
7784 * lyxfunc.C: protected space has a new lfun
7785 * paragraph_funcs.C: read new space insets
7787 * factory.C: handle new space insets
7789 2003-05-22 André Pönitz <poenitz@gmx.net>
7792 * BufferView_pimpl.C:
7795 * undo_funcs.C: return a ParIterator from getParFromID.
7797 * iterators.[Ch]: add two const's
7799 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7801 * toc.C (getTocList): adjust
7803 * iterators.[Ch]: rework for parlist
7805 * buffer.C (par_iterator_begin): adjust
7806 (par_iterator_end): adjust
7808 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7810 * BufferView.C (removeAutoInsets): adjust
7811 (ChangeInsets): adjust
7813 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7815 * text.C (top_y): fix bug 1110
7817 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7819 * errorlist.[Ch]: added
7822 * BufferView_pimpl.C:
7823 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7826 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7828 * Makefile.am: ensure that lyx is relinked upon changes to the
7829 various "convenience" libs.
7831 2003-05-20 Angus Leeming <leeming@lyx.org>
7833 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7834 files are compiled in alphabetical order again.
7836 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7838 2003-05-19 Angus Leeming <leeming@lyx.org>
7840 * gettext.[Ch]: remove "char const * _(char const *)".
7842 2003-05-19 André Pönitz <poenitz@gmx.net>
7844 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7853 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7855 2003-05-19 André Pönitz <poenitz@gmx.net>
7859 * lyxtextclass.[Ch]:
7861 * paragraph_funcs.[Ch]:
7863 * text3.C: more insetenv work
7865 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7867 * ParagraphParameters.C (params2string): small bug fixed
7869 2003-05-16 André Pönitz <poenitz@gmx.net>
7872 * bufferview_funcs.C: patch from Kornel Benko to prevent
7873 crash when _(...) is called twice in a statement
7875 2003-05-16 André Pönitz <poenitz@gmx.net>
7882 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7884 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7886 * lyx_main.C (init): remove spurious static_cast
7888 2003-05-14 André Pönitz <poenitz@gmx.net>
7890 * BufferView.C: fix format string
7892 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7894 * BufferView.[Ch] (insertErrors): removed
7895 * BufferView.[Ch] (showErrorList): added
7896 * buffer.C (runChkTeX):
7897 * converter.C (scanLog): call showErrorList instead of inserterrors
7899 2003-05-13 André Pönitz <poenitz@gmx.net>
7901 * BufferView_pimpl.C:
7903 * bufferview_func.C:
7910 * tabular_funcs.h: tostr() from its own header
7912 * ParagraphParameters.C:
7917 * text3.C: STRCONV()
7919 2003-05-12 André Pönitz <poenitz@gmx.net>
7922 * BufferView_pimpl.C:
7926 * ParagraphParameters.C:
7930 * bufferview_funcs.C:
7943 * paragraph_funcs.C:
7947 * text3.C: boost::format -> bformat all over the place
7950 2003-05-09 André Pönitz <poenitz@gmx.net>
7952 * LColor.[Ch]: Pimpl the #include <map> away
7954 2003-05-09 John Levon <levon@movementarian.org>
7956 * bufferlist.C: never remove emergency saves
7958 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7960 * Makefile.am: better lib building
7962 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7964 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7966 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7967 (simpleTeXSpecialChars): adjust
7968 (simpleTeXSpecialChars): adjust
7969 * paragraph.C (simpleTeXOnePar): adjust
7970 * buffer.C (makeLaTeXFile): adjust
7972 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7974 * text2.C (changeDepth): parlist cleanup
7975 (getColumnNearX): ditto
7977 * rowpainter.C (getLabelFont): parlist cleanup
7979 * bufferlist.C (newFile): parlist cleanup
7981 * CutAndPaste.C (eraseSelection): parlist cleanup
7983 * BufferView_pimpl.C (trackChanges): parlist cleanup
7986 * BufferView.C (lockInset): parlist cleanup.
7987 (ChangeInsets): ditto
7989 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7991 * CutAndPaste.h: Update file header.
7993 * CutAndPaste.C: Update file header.
7994 Store the parts cut out of the Document in a limited_stack.
7995 (copySelection): adjust
7996 (pasteSelection): new function, takes the index in the limited stack.
7997 (nrOfParagraphs): adjust
7998 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7999 simplify error inset insertion.
8000 (checkPastePossible): adjust
8002 2003-05-06 John Levon <levon@movementarian.org>
8004 * text2.C: don't cast wrap inset to float
8006 2003-05-05 André Pönitz <poenitz@gmx.net>
8009 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8011 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8012 few naked Paragraph *.
8014 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8016 * bufferparams.C: Output warning if a document with missing
8017 TeX document class is loaded
8018 * exporter.C: Disable TeX exports if the document class is missing
8021 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8022 isTeXClassAvailable()
8024 2003-05-03 John Levon <levon@movementarian.org>
8027 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8028 explicit cursor show/hide
8030 * BufferView_pimpl.h:
8031 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8032 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8034 * lyxfunc.C: hide cursor before dispatching.
8039 * text3.C: remove explicit cursor hides
8041 2003-05-02 André Pönitz <poenitz@gmx.net>
8043 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8046 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8049 * text2.C: tiny whitespace
8051 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8053 * undo_funcs.C: almost only ws changes.
8055 * ParagraphList.C (splice): just return if pl is empty.
8057 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8059 * ParagraphList.C (splice): new function.
8061 * CutAndPaste.C (pasteSelection): use it
8063 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8065 * CutAndPaste.C (pasteSelection): remove the last next and
8066 previous from this file.
8068 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8070 * CutAndPaste.C (pasteSelection): more clean up, user proper
8071 ParagraphList functions for pasteing.
8073 * ParagraphList.C (insert): new function, three arg insert
8075 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8077 * ParagraphList.C (insert): new function, three arg insert
8079 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8082 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8084 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8086 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8088 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8090 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8092 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8093 (copySelection): clean up a bit.
8094 (pasteSelection): use make_pair
8096 * ParagraphList.C (ParagraphList): implement copy constructor
8097 (operator=): implement, base on copy constructor.
8100 * paragraph.C (erase): return a bool
8102 * paragraph_pimpl.C (erasePos): remove function, move contents...
8103 (erase): ... here. Return a bool.
8104 (erase): call erase instead of erasePos.
8106 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8108 * ParagraphList.h: define PitPosPair
8109 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8110 ParagraphList, fix a bug on pasting multiple pars
8111 * text2.C: change interface to C&P
8113 2003-04-30 André Pönitz <poenitz@gmx.net>
8115 * undo_func.C: revert part of yesterday's patch 2
8117 2003-04-30 John Levon <levon@movementarian.org>
8119 * LColor.C: s/tabular/table/
8121 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8123 * text3.C (dispatch): do not convert iterator -> pointer
8124 * undo_funcs.C (setCursorParUndo): ditto
8125 * text_funcs.C (transposeChars): ditto
8127 * text2.C (setLayout): ws changes only
8129 * text.C (breakParagraph): do not convert iterator -> pointer
8131 (acceptChange): ditto
8132 (rejectChange): ditto
8137 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8140 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8142 * text3.C (gotoInset): YABG (yet another bad getChar)
8144 2003-04-29 André Pönitz <poenitz@gmx.net>
8146 * paragraph.h: make operator= private unimplemented as long as
8149 * ParagraphList.C: whitespace
8152 * paragraph_pimpl.[Ch]:
8153 * paragraph_funcs.C:
8155 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8158 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8160 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8162 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8163 * paragraph.[Ch] (erase):
8164 * paragraph_pimpl.[Ch] (erase): change return type and value
8165 * text2.C (cutSelection): some rework
8167 2003-04-28 John Levon <levon@movementarian.org>
8169 * bufferlist.C: changes for unsaved changes dialog
8171 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8173 * bufferlist.C (newFile): set language (messages_) for new
8176 * buffer.C (readFile): ws changes only.
8178 2003-04-28 André Pönitz <poenitz@gmx.net>
8183 * BufferView_pimpl.C:
8184 * BufferView.C: getParFromID related ParagraphList::iterator changes
8186 2003-04-28 André Pönitz <poenitz@gmx.net>
8188 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8191 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8193 * messages.C: remove one more localedir class variable.
8195 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8197 * messages.C (getLocaleDir): singleton generation function
8199 (Messages): add a default constructor.
8201 * main.C (main): do not setup localedir here, do not call
8204 * gettext.C (_): use it.
8205 (gettext_init): delete funciton
8207 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8209 * gettext.C (getLyXMessages): new singleton generating function.
8211 * buffer.C (updateDocLang): adjust
8213 * Makefile.am (messages.o): add target
8214 (main.o): remove target
8216 2003-04-27 John Levon <levon@movementarian.org>
8221 * lyxvc.C: specify cancel button in Alert::prompt
8223 2003-04-26 John Levon <levon@movementarian.org>
8228 * LyXAction.C: add LFUN_INSET_SETTINGS
8230 * lyxfunc.C: don't enable tabular-feature when there's
8231 just any locking inset
8233 2003-04-26 John Levon <levon@movementarian.org>
8235 * bufferlist.C: re-add Cancel to buffer close question
8237 * lyxfunc.C: fix import UI a bit
8239 2003-04-25 John Levon <levon@movementarian.org>
8241 * gettext.C: remove the broken asserts for now
8243 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8245 * messages.C: make case where setlocale cannot comply work better.
8247 * buffer.C (updateDocLang): new function
8248 (changeLanguage): use it
8251 * text2.C (setCounter): use B_ a bit.
8253 * lyxlayout.C (Read): be sure to trim the label strings.
8255 * messages.C (Messages): fix typo in comment
8257 * buffer.C (readFile): set message_ after file is loaded.
8258 (makeDocBookFile): remove double return
8259 (changeLanguage): reset message_ upon language change.
8260 (B_): new func, use this to get translated buffer strings.
8262 * main.C: add myself and Jean Marc as authors.
8264 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8266 * messages.[hC]: pimplify Messages, and three different pimpls to be
8267 used in different circumstances.
8269 * gettext.[Ch]: change for use with new message code.
8271 2003-04-24 André Pönitz <poenitz@gmx.net>
8273 * factory.C: support for eqref
8275 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8277 * messages.[Ch]: add missing char
8279 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8281 * messages.[Ch]: New files
8283 2003-04-18 John Levon <levon@movementarian.org>
8287 * BufferView_pimpl.C:
8291 * text2.C: remove layout-copy/paste (bug 778)
8293 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8295 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8297 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8299 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8300 if they succeed. Act accordingly.
8302 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8304 * text2.C (setCharFont): adjust
8305 (setCounter): adjust
8306 (insertStringAsLines): adjust
8308 * text.C (leftMargin): adjust
8309 (setHeightOfRow): adjust
8311 * rowpainter.C (paintFirst): adjust
8314 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8316 (isFirstInSequence): ditto
8317 (getEndLabel): ditto
8320 * paragraph.C (getParLanguage): comment out some hard stuff.
8322 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8324 (simpleDocBookOnePar): ditto
8325 (makeDocBookFile): use ParagraphList::iterator
8327 * CutAndPaste.C (pasteSelection): adjust
8329 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8331 * text2.C (getFont): adjust
8332 (getLayoutFont): adjust
8333 (getLabelFont): adjust
8335 * paragraph_funcs.C (TeXOnePar): adjust
8337 * buffer.C (simpleLinuxDocOnePar): adjust
8338 (simpleDocBookOnePar): adjust
8340 * CutAndPaste.C (pasteSelection): adjust
8342 * BufferView.C (getEncoding): adjust
8344 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8346 2003-04-16 John Levon <levon@movementarian.org>
8348 * lyxfind.C: use parlist stuff for search/changes
8350 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8352 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8354 * text2.C (deleteEmptyParagraphMechanism): adjust
8356 * text2.[Ch] (ownerParagraph): delete func (both of them
8358 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8360 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8362 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8364 * ParagraphList.C: prepare for NO_NEXT
8366 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8368 * text2.C (getFont): adjust
8369 (getLayoutFont): adjust
8370 (getLabelFont): adjust
8372 * paragraph.C (getFont): adjust
8373 (getLabelFont): adjust
8374 (getLayoutFont): adjust
8376 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8378 2003-04-15 John Levon <levon@movementarian.org>
8382 * lyx_main.C: handle Include in .ui files
8384 2003-04-15 John Levon <levon@movementarian.org>
8386 * MenuBackend.C: make the doc files length shorter
8389 * ToolbarBackend.C: handle toolbar placement flags,
8392 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8394 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8397 * paragraph_funcs.C (TeXOnePar): adjust
8399 * paragraph.C (getLabelFont): add outerfont arg, adjust
8400 (getLayoutFont): ditto
8401 (simpleTeXOnePar): adjust
8403 * paragraph_pimpl.C (realizeFont): delete func
8405 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8407 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8408 row argument, constify cur argument.
8410 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8412 * text2.C (getFont): adjust
8413 (getLayoutFont): adjust
8414 (getLabelFont): adjust
8416 * paragraph_funcs.C (TeXOnePar): adjust
8417 (outerFont): new func...
8418 (realizeFont): ...moved out from here, changed this to facilitate
8421 * paragraph.C (getFont): take outerfont as arg, adjust
8422 (simpleTeXOnePar): add outerfont arg, adjust
8424 * buffer.C (simpleLinuxDocOnePar): adjust
8425 (simpleDocBookOnePar): adjust
8427 * CutAndPaste.C (pasteSelection): adjust
8429 * BufferView.C (getEncoding): adjust
8431 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8433 * text2.C (setCharFont): adjust
8434 (setCounter): adjust
8436 * text.C (leftMargin): adjust
8437 (setHeightOfRow): adjust
8439 * rowpainter.C (paintFirst): adjust
8442 * paragraph_pimpl.C (realizeFont): adjust
8444 * paragraph.C (isFirstInSequence): move from here...
8445 * paragraph_funcs.C (isFirstInSequence): ...to here
8447 * paragraph.C (outerHook): move from here...
8448 * paragraph_funcs.C (outerHook): ...to here
8450 * paragraph.C (depthHook): move from here...
8451 * paragraph_funcs.C (depthHook): ...to here
8453 * paragraph.C (getEndLabel): move from here...
8454 * paragraph_funcs.C (getEndLabel): ...to here
8456 * text2.C (realizeFont): move from here...
8457 * paragraph_funcs.C (realizeFont): ...to here
8459 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8461 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8463 2003-04-14 Angus Leeming <leeming@lyx.org>
8465 * LColor.[Ch]: scrap LColor mathcursor.
8467 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8469 * lyxlex.[Ch] (text): delete function
8470 * trans.C (Load): adjust
8471 * paragraph_funcs.C (readParToken): adjust
8473 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8475 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8476 vector<char> instead of a char[].
8478 * lyxlex_pimpl.C (getString): adjust
8480 (lex): use getString
8484 * lyxlex.C (text): use pimpl_->getString()
8488 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8490 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8491 (makeFontEntriesLayoutSpecific): temp var for par.size()
8492 (setLayout): temp var for ownerParagraphs().end()
8493 (fullRebreak): temp var for rows().end()
8494 (selectionAsString): temp var for boost::next(startpit), realize
8495 that the while really is a regular for loop.
8496 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8497 setCursor in one place.
8498 (setParagraph): temp vr for ownerParagraphs().end()
8499 (updateCounters): make the while loop a for loop
8500 (cutSelection): temp var for ownerParagraphs().end()
8501 (updateInset): make the do {} while() a regular for loop
8502 (getCursorX): use temp vars
8503 (setCurrentFont): use temp vars
8504 (getColumnNearX): use temp vars
8506 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8508 * text.C (transformChar): use temp var for getChar
8509 (computeBidiTables): use temp var for row->par()
8510 (fill): move temp vars for row->par() and pit->layout() earlier in
8512 (labelFill): use temp var for row->par()
8513 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8514 asc and desc, realize that pit never changes and that firstpit is
8515 just a duplicate and not needed. Exchange rit->par() with pit in a
8517 (breakAgain): use a temp var for boost::next(rit)
8518 (breakAgainOneRow): ditto
8519 (breakParagraph): use a temp var for rows().begin()
8520 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8521 (cursorRightOneWord): use temp var for cursor.par() and
8522 cursor.pos(), remove usage of tmpcursor.
8523 (cursorLeftOneWord): use temp var for cursor.par() and
8524 cursor.pos() only set cur at end of function.
8526 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8528 * text.C, text2.C: exchange all usage of Paragraph::next with
8529 boost::next(ParagraphList::iterator)
8531 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8533 * text2.C (cursorTop): simplify implementation
8534 (cursorBottom): ditto
8535 (setParagraph): use ParagraphList::iterator
8536 (setCurrentFont): adjust
8537 (getColumnNearX): adjust
8538 (cursorRight): adjust
8539 (cursorLeft): remove usage of Paragraph::previous
8540 (cursorUpParagraph): ditto
8541 (deleteEmptyParagraphMechanism): slight cleanup
8543 * text.C (isBoundary): take a Paragraph const & instead of a
8545 (addressBreakPoint): ditto
8546 (leftMargin): remove usage of Paragraph::previous.
8547 (setHeightOfRow): ditto
8548 (cursorLeftOneWord): ditto
8549 (selectNextWordToSpellcheck): ditto
8552 (breakParagraph): remove one usage of Paragraph::next
8553 (redoParagraph): ditto
8554 (acceptChange): ditto
8555 (insertChar): adjust
8556 (rowBreakPoint): adjust
8558 * bufferview_funcs.C (toggleAndShow): adjust
8560 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8562 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8563 methods to access it.
8565 * text.C: Added updateRowPositions to compute all row positions.
8566 Make top_y and getRowNearY() to use the cached y position
8568 2003-04-11 John Levon <levon@movementarian.org>
8570 * text.C (rowBreakPoint): reintroduce the labelEnd
8571 checks, code copied from the row fill stuff. Deep voodoo.
8573 * text.C (fill): add a comment and debugging for the
8576 2003-04-11 John Levon <levon@movementarian.org>
8578 * text.C: make sure fullrow insets get wrapped to the next line,
8579 even when they're in a manual label
8581 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8583 * text2.C (insertParagraph): make it take ParagraphList::iterator
8585 (setLayout): make it return ParagraphList::iterator
8586 (redoParagraphs): ditto
8588 (checkParagraph): ditto
8590 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8592 * text2.C: adjust several funcs.
8593 (realizeFont): take a ParagraphList::iterator as arg.
8594 (getLayoutFont): ditto
8595 (getLabelFont): ditto
8596 (setCharFont): ditto
8598 * text.C: adjust several funcs.
8600 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8602 * text.C (selectNextWordToSpellcheck): don't accidentally
8605 2003-04-10 John Levon <levon@movementarian.org>
8607 * ToolbarBackend.C (getIcon): special handling for
8610 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8612 * text2.C (cursorRight): a getChar assert fixed
8614 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8616 * text2.C (getFont): change to take a ParagraphList::iterator
8617 instead of Paragraph*
8618 Adjust several functions.
8620 * text.C (transformChar): change to take a ParagraphList::iterator
8621 instead of Paragraph*
8622 (singleWidth): ditto
8623 Adjust several functions.
8625 * rowpainter.C: adjust several functions
8626 * rowpainter.h:store a ParagraphList::iterator and not a
8630 2003-04-09 John Levon <levon@movementarian.org>
8635 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8636 and the "help" bits as well
8638 2003-04-09 John Levon <levon@movementarian.org>
8641 * ToolbarBackend.C: allow multiple toolbars
8643 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8645 * undo_funcs.C (setCursorParUndo): adjust
8647 * text_funcs.C (transposeChars): adjust
8649 * text3.C (gotoNextInset): adjust
8652 * text2.C (setLayout): adjust
8653 (changeDepth): adjust
8655 (redoParagraphs): adjust
8656 (selectionAsString): adjust
8657 (setParagraph): adjust
8658 (insertInset): adjust
8659 (cutSelection): adjust
8660 (copySelection): adjust
8661 (pasteSelection): adjust
8662 (insertStringAsLines): adjust
8663 (updateInset): adjust
8664 (setCursor): change to take a ParagraphList::iterator parameter
8665 (setCursorIntern): change to take a ParagraphList::iterator parameter
8666 (setCurrentFont): adjust
8667 (cursorLeft): adjust
8668 (cursorRight): adjust
8669 (deleteEmptyParagraphMechanism): adjust
8671 * text.C (breakParagraph): adjust
8672 (insertChar): adjust
8673 (acceptChange): adjust
8674 (rejectChange): adjust
8675 (selectNextWordToSpellcheck): adjust
8676 (changeCase): adjust
8680 * lyxfind.C (SearchForward): adjust
8681 (SearchBackward): adjust
8682 (nextChange): adjust
8684 * lyxcursor.C (par): adjust
8686 * lyxcursor.h: store a ParagraphList::iterator instead of a
8689 * lyx_cb.C (getPossibleLabel): adjust
8691 * bufferview_funcs.C (toggleAndShow): adjust
8693 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8696 * BufferView.C (removeAutoInsets): adjust
8697 (lockedInsetStoreUndo): adjust
8699 2003-04-09 John Levon <levon@movementarian.org>
8701 * ToolbarBackend.C: try icon without argument
8702 if with argument fails
8704 2003-04-08 John Levon <levon@movementarian.org>
8707 * ToolbarBackend.C: add getIcon(), handle tooltip,
8708 and change from "Icon" to "Item".
8710 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8712 * BufferView.C (lockInset): another bad getchar crunched
8714 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8716 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8719 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8721 * lyxfind.C (searchForward, searchBackwards): bug 782
8723 2003-04-07 John Levon <levon@movementarian.org>
8725 * paragraph.C: remove dead comment
8727 * text.C: remove troublesome depth-fiddling code
8728 in leftMargin() and rightMargin() (bug 1017)
8730 * text.C: fix breaking of rows in nested lists
8733 * text2.C (updateCounters): fix up depth values
8736 2003-04-07 John Levon <levon@movementarian.org>
8738 * BufferView_pimpl.C: clear message when doc finishes resizing,
8739 and after a mouse event
8741 * lyxfunc.C: clear message after exiting inset
8743 2003-04-07 John Levon <levon@movementarian.org>
8745 * bufferview_funcs.C: show math status not outside
8746 status in the statusbar
8748 2003-04-07 John Levon <levon@movementarian.org>
8750 * lyxfunc.C: note status changed after a depth change
8752 2003-04-04 Angus Leeming <leeming@lyx.org>
8754 * LaTeX.h: move AuxInfo operator==, != out of line.
8755 Remove LaTeX virtual destructor; nothing derives from it.
8756 Move operator()() out of public area and rename it startscript().
8757 Change protected for private.
8759 2003-04-04 Angus Leeming <leeming@lyx.org>
8762 * text2.C: remove unneeded #includes.
8764 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8766 * text2.C (dEPM): fix the heigth of the next row
8768 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8770 * text.C: squashed an invalid getChar requester + some ws changes
8772 2003-04-03 John Levon <levon@movementarian.org>
8774 * bufferview_funcs.h:
8775 * bufferview_funcs.C:
8778 * text2.C: make getStatus work for the env depth lfuns
8780 2003-04-03 John Levon <levon@movementarian.org>
8782 * bufferview_funcs.h:
8783 * bufferview_funcs.C:
8786 * text2.C: parlistize decDepth(), by merging it with incDepth()
8788 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8790 * lyxrow.h: store a ParagraphList::iterator instead of a
8791 Paragraph* and adjust other class functions to suit.
8793 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8796 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8798 * text2.C (setCursor): do not anchor to cursor row for the time being
8800 2003-04-02 John Levon <levon@movementarian.org>
8807 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8809 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8811 * paragraph.h: make ParagraphList and ParagraphList::iterator
8812 friends of Paragraph.
8814 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8816 * ParagraphList.C: Use the private next_ and previous_ from
8819 2003-04-01 John Levon <levon@movementarian.org>
8823 * Makefile.am: rename, remove defaults gunk
8826 * MenuBackend.C: remove defaults gunk
8829 * Languages.C: remove defaults gunk
8832 * lyx_main.C: error out if files couldn't be found.
8834 2003-04-02 John Levon <levon@movementarian.org>
8836 * text2.C: make incDepth() use parlist
8838 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8840 * undo_funcs.C (firstUndoParagraph): adjust
8842 * text3.C (gotoInset): adjust
8843 (dispatch): adjust, and rewrite loop.
8845 * text2.C (init): adjust, and rewrite loop.
8846 (redoParagraphs): adjust
8847 (updateInset): adjust, and rewrite loop.
8848 (deleteEmptyParagraphMechanism): adjust
8850 * tabular.C (LyXTabular): adjust
8851 (SetMultiColumn): adjust
8854 * lyxtext.[Ch] (ownerParagraph): delete function
8855 (ownerParagraphs): new function returns a ParagraphList.
8857 * BufferView.C (removeAutoInsets): adjust
8858 (insertErrors): adjust
8859 (setCursorFromRow): adjust
8861 2003-04-01 Angus Leeming <leeming@lyx.org>
8863 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8866 2003-04-02 John Levon <levon@movementarian.org>
8872 * text_funcs.C: make transposeChars a free function
8874 * lyxrow_funcs.C: remove wrong comment
8876 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8879 * rowpainter.C: adjust
8884 * lyxrow_funcs. [Ch]: new files
8886 * lyxrow.[Ch]: remove next and previous pointers
8887 (next,previous): remove accessor functions
8888 (isParEnd): move to lyxrow_funcs
8889 (lastPos): move to lyxrow_funcs
8890 (nextRowIsAllInset): move to lyxrow_funcs
8891 (lastPrintablePos): move to lyxrow_funcs
8892 (numberOfSeparators): move to lyxrow_funcs
8893 (numberOfHfills): move to lyxrow_funcs
8894 (numberOfLabelHfills): move to lyxrow_funcs
8895 (hfillExpansion): move to lyxrow_funcs
8899 * bufferview_funcs.C (toggleAndShow): adjust
8901 * RowList.h: Remove class RowList from file leave just a
8904 * RowList.C: delete file
8906 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8909 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8911 * text3.C (cursorPrevious): adjust
8912 (cursorNext): adjust
8915 * text2.C (redoHeightOfParagraph): adjust
8916 (redoDrawingOfParagraph): adjust
8919 * text.C (breakParagraph): adjust
8920 (insertChar): adjust
8923 * rowpainter.C (RowPainter): adjust
8924 (leftMargin): simplify and adjust
8925 (most rowpainter functions): adjust.
8927 * rowpainter.h: store the row as RowList::iterator not as Row*
8929 * lyxcursor.C (row): taka RowList::iterator as arg
8932 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8935 2003-04-01 Angus Leeming <leeming@lyx.org>
8937 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8938 stuff like bool Bool.
8940 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8942 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8945 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8947 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8950 * lyxtext.h (rows): drop one version and leve a const variant that
8951 returns a RowList::iterator.
8953 2003-03-31 Angus Leeming <leeming@lyx.org>
8955 * text.C (fill): ensure that the signature is the same as that in the
8958 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8960 * text2.C (redoParagraphs): adjust
8961 (updateCounters): adjust
8962 (checkParagraph): adjust
8963 (getColumnNearX): adjust and reformat a bit.
8965 * text.C (top_y): adjust
8967 (leftMargin): adjust
8968 (prepareToPrint): adjust
8970 (getRowNearY): adjust
8972 * lyxtext.h: make rowlist_ mutable.
8974 * RowList.h: add const_iterator
8975 * RowList.C: adjust for RowList::const_iterator.
8977 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8980 2003-03-31 John Levon <levon@movementarian.org>
8983 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8985 * lyx_main.C: set default fonts from using lyx_gui funcs
8987 * exporter.C: pdf_mode moved from lyxrc
8990 * lyxfunc.C: changes from above
8992 2003-03-31 John Levon <levon@movementarian.org>
8994 * lyx_main.C: fix to the last fix
8996 2003-03-31 John Levon <levon@movementarian.org>
8998 * bufferlist.C: "Load original" -> "Load Original"
9004 * format.C: more Alert cleanups
9006 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9008 * text2.C (removeParagraph): make it take a RowList::iterator as
9010 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9011 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9013 * text.C (anchor_row): make it take a RowList::iterator as arg,
9015 (computeBidiTables): make it take a const reference to Row instead
9016 of Row pointer, adjust.
9017 (leftMargin): make it take a RowList::iterator as arg, adjust.
9018 (rowBreakPoint): adjust
9019 (breakAgainOneRow): make it take a RowList::iterator as arg,
9021 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9023 * bufferview_funcs.C (toggleAndShow): adjust
9025 2003-03-30 John Levon <levon@movementarian.org>
9029 * boost-inst.C: moved to support
9031 * several files: changes as a result
9033 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9035 * text2.C (LyXText): adjust.
9037 (removeRow): make it take a RowList::iterator as arg, adjust.
9038 (fullRebreak): adjust
9039 (deleteEmptyParagraphMechanism): adjust
9040 (clearPaint): adjust
9043 * text.C (top_y): adjust
9044 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9045 (breakAgain): make it take a RowList::iterator as arg, adjust.
9046 (breakParagraph): adjust
9047 (insertChar): adjust
9050 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9051 need_break_row, and refresh_row.
9053 * text3.C (dispatch): adjust
9055 * text2.C (checkParagraph): adjust
9057 (setCursorFromCoordinates): adjust
9059 * text.C (top_y): adjust
9061 (getRow): make it return a RowList::iterator, adjust
9062 (getRowNearY): make it return a RowList::iterator, adjust
9064 * text2.C (init): adjust
9065 (insertRow): remove function
9066 (insertParagraph): adjust
9067 (redoParagraphs): adjust
9068 (fullRebreak): adjust
9069 (updateCounters): adjust
9071 * text.C (top_y): rewrite to use RowList iterators.
9073 (setHeightOfRow): rewrite to sue RowList iterators.
9074 (appendParagraph): adjust
9075 (breakAgain): adjust
9076 (breakAgainOneRow): adjust
9077 (breakParagraph): adjust
9079 (getRowNearY): adjust, and remove commented code.
9081 * lyxtext.h (firstRow): delete function
9082 (lastRow): delete function
9083 (rows): new function (const and non-const versions.)
9084 (insertRow): delete function
9086 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9088 2003-03-29 John Levon <levon@movementarian.org>
9090 * BufferView_pimpl.C: always update scrollbar top
9091 because pasting text when we're anchored could mean we
9092 miss an update altogether
9094 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9096 * text2.C (init): use rowlist_.end() and not 0.
9097 (insertRow): change to take a RowList::iterator as arg, adjust
9099 (insertParagraph): change to take a RowList::iterator as arg,
9101 (redoParagraphs): remove some debug msgs.
9103 * text.C (appendParagraph): change to take a RowList::iterator
9104 arg, adjust for this.
9105 (breakAgain): add an assert
9106 (breakAgainOneRow): ditto
9108 2003-03-29 John Levon <levon@movementarian.org>
9110 * text2.C: do not clear selection after inc/decDepth
9113 2003-03-29 John Levon <levon@movementarian.org>
9116 * buffer.C: fix broken strerrors according to Lars
9118 2003-03-29 John Levon <levon@movementarian.org>
9120 * converters.C: more Alert cleanups
9122 2003-03-29 John Levon <levon@movementarian.org>
9124 * bufferview_funcs.C: remove pointless Alert
9126 * buffer.C: fix confusing error message when
9127 a template is chmoded 000
9129 2003-03-29 John Levon <levon@movementarian.org>
9133 * BufferView_pimpl.C: Alert fixes
9137 * tabular-old.C: remove unused table compat reading
9139 2003-03-29 John Levon <levon@movementarian.org>
9144 * lyx_cb.C: more Alert cleanups
9146 * lyxfunc.C: don't allow chktex if not latex document
9148 2003-03-29 John Levon <levon@movementarian.org>
9152 * buffer.C: warnings pushed down from support/,
9155 2003-03-29 John Levon <levon@movementarian.org>
9157 * lyxfunc.C: safety check for C-r (revert)
9159 2003-03-29 John Levon <levon@movementarian.org>
9162 * bufferlist.C: several UI fixes using Alert::prompt.
9163 Fix the pointless looping quit code. Fix stupid revert
9168 * lyx_cb.C: use Alert::prompt
9170 * lyx_main.C: remove a silly question
9172 * lyxfunc.C: remove a couple of silly questions,
9175 2003-03-28 John Levon <levon@movementarian.org>
9177 * text2.C: fix bug 974 (End on empty par)
9179 2003-03-28 John Levon <levon@movementarian.org>
9181 * BufferView_pimpl.C:
9183 * lfuns.h: remove do-nothing math greek lfuns
9185 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9187 * lyxgluelength.h (isValidGlueLength): add default arg on
9188 parameter 2. Remove default arg from friend in class.
9190 * lyxlength.h (isValidLength): add default arg on parameter 2.
9191 Remove default arg from friend in class.
9193 * text2.C (LyXText): adjust, initialize refresh_row.
9197 (insertParagraph): adjst
9198 (redoParagraphs): adjust
9199 (fullRebreak): adjust
9200 (updateCounters): adjust
9201 (deleteEmptyParagraphMechanism): first attempt at fixing a
9204 * text.C (top_y): adjust
9205 (setHeightOfRow): adjust
9207 (getRowNearY): adjust
9209 * lyxtext.h: include RowList.h
9210 (~LyXText): not needed anymore, deleted.
9211 (firstRow): modify for RowList
9212 (lastRow): new function
9213 Delete firstrow and lastrow class variables, add a Rowlist
9214 rowlist_ class variable.
9216 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9219 * RowList.C (insert): fix case where it == begin().
9221 2003-03-26 Angus Leeming <leeming@lyx.org>
9223 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9224 the thesaurus dialog.
9226 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9228 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9230 * RowList.[Ch]: new files
9232 * ParagraphList.C (erase): handle the case where it == begin
9235 2003-03-25 John Levon <levon@movementarian.org>
9239 * aspell.C: add new aspell support
9242 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9245 2003-03-25 Angus Leeming <leeming@lyx.org>
9248 * LyXAction.C (init): new LFUN_INSET_INSERT.
9250 * BufferView_pimpl.C (dispatch): split out part of the
9251 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9253 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9256 2003-03-25 Angus Leeming <leeming@lyx.org>
9258 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9260 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9263 * text3.C: remove useless row->height(0)
9265 2003-03-25 John Levon <levon@movementarian.org>
9269 * text3.C: rename the refreshing stuff to better names
9271 2003-03-24 John Levon <levon@movementarian.org>
9273 * BufferView_pimpl.h:
9274 * BufferView_pimpl.C: update layout choice on a mouse
9277 2003-03-23 John Levon <levon@movementarian.org>
9279 * Makefile.am: fix commandtags.h reference
9281 2003-03-22 John Levon <levon@movementarian.org>
9283 * BufferView_pimpl.C:
9288 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9290 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9293 * text.C: take the rtl methods out of line
9295 2003-03-21 André Pönitz <poenitz@gmx.net>
9297 * metricsinfo.[Ch]: new files containing structures to be passed around
9298 during the two-phase-drawing...
9300 2003-03-21 André Pönitz <poenitz@gmx.net>
9302 * lyxtextclass.C: read 'environment' tag.
9304 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9306 * text2.C (removeRow): fix bug 964
9308 2003-03-20 John Levon <levon@movementarian.org>
9312 * text2.C: paint cleanups. Inset::update() dropped font
9315 2003-03-19 John Levon <levon@movementarian.org>
9317 * lyxfunc.C: only fitcursor/markDirty if available()
9319 2003-03-19 John Levon <levon@movementarian.org>
9321 * commandtags.h: rename to ...
9323 * lfuns.h: ... this, and renumber / cleanup
9325 2003-03-19 John Levon <levon@movementarian.org>
9327 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9328 fit the cursor after an lfun
9332 * BufferView_pimpl.h:
9333 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9335 * LyXAction.C: layout-character should have ReadOnly
9337 * ParagraphParameters.C:
9339 * bufferview_funcs.C:
9346 * undo_funcs.C: changes from above
9348 2003-03-18 John Levon <levon@movementarian.org>
9350 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9351 remove it from update()
9353 * lyxfunc.C: update layout choice after an lfun
9355 * text3.C: remove extra updateLayoutChoice()s
9357 2003-03-18 John Levon <levon@movementarian.org>
9359 * text.C: top_y change means full repaint, fix
9360 a drawing bug with cursor movement
9362 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9366 * text2.C: anchor row on setCursor
9368 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9370 * lyxtext.h: remove almost all mutable keywords
9373 * text3.C: remove const keywords accordingly
9375 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9377 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9379 (TeXEnvironment): ditto
9382 2003-03-17 John Levon <levon@movementarian.org>
9384 * text.C (rowBreakPoint): remove attempt to fix displayed
9385 math insets inside a manual label
9387 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9389 * lyxtext.h: remove BufferView* as first arg from almost all class
9391 * other files: adjust.
9393 2003-03-17 John Levon <levon@movementarian.org>
9397 * text2.C: more paint cleanups
9399 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9402 * rowpainter.C: remove "smart" background painting code
9404 2003-03-16 John Levon <levon@movementarian.org>
9409 * text3.C: add helper functions for setting refresh_row/y
9411 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9413 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9414 newline inset which *can* get inserted in the pass_thru layouts.
9415 This is primarily for literate documents.
9417 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9419 * buffer.C: increment LYX_FORMAT to 223
9421 2003-03-14 André Pönitz <poenitz@gmx.net>
9423 * textclass.h: prepare for environment handling, ws changes
9424 * lyxlayout.C: read latexheader and latexfooter tags
9426 2003-03-14 John Levon <levon@movementarian.org>
9428 * text2.C: rewrite ::status() a bit
9430 2003-03-13 John Levon <levon@movementarian.org>
9432 * lyxtext.h: add some docs
9434 2003-03-13 John Levon <levon@movementarian.org>
9439 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9441 2003-03-13 John Levon <levon@movementarian.org>
9443 * text3.C: fix appendix redrawing
9445 2003-03-13 John Levon <levon@movementarian.org>
9447 * text.C (setHeightOfRow):
9449 * rowpainter.C: make appendix mark have the text
9450 "Appendix" so the user knows what it is
9453 * LColor.C: s/appendixline/appendix/ from above
9455 2003-03-13 John Levon <levon@movementarian.org>
9457 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9459 * text.C: fix a getChar(pos) bug properly
9461 2003-03-13 Angus Leeming <leeming@lyx.org>
9464 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9465 Probably only temporary. Let's see how things pan out.
9467 * BufferView.C (unlockInset):
9468 * BufferView_pimpl.C (fitCursor):
9469 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9471 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9472 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9474 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9475 new functions that convert ParagraphParameters to and from a string.
9477 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9478 BufferView::Pimpl's dispatch.
9479 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9481 2003-03-13 André Pönitz <poenitz@gmx.net>
9485 * factory.C: make it aware of InsetEnv
9487 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9489 * text2.C (setCursor): never ask for one past last
9490 (setCursor): add some debugging messages.
9492 * text.C (singleWidth): never ask for one past last
9493 (singleWidth): ditto
9495 (rightMargin): ditto
9496 (rowBreakPoint): ditto
9497 (setHeightOfRow): ditto
9498 (prepareToPrint): ditto
9500 * rowpainter.C (paintBackground): never ask for one past last
9501 (paintText): never ask for one past last
9503 * paragraph_pimpl.C (getChar): make the assert stricter, never
9504 allow the one past last pos to be taken
9506 * paragraph.C (getChar): ws changes only
9508 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9509 (numberOfSeparators): ditto
9510 (numberOfHfills): ditto
9512 2003-03-12 John Levon <levon@movementarian.org>
9518 * paragraph_funcs.C: fix per-buffer authorlists
9520 2003-03-12 John Levon <levon@movementarian.org>
9522 * text.C: fix newline in right address
9524 2003-03-12 Angus Leeming <leeming@lyx.org>
9526 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9527 duplicate those in LyXFunc::dispatch.
9531 * ToolbarDefaults.C:
9532 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9533 Add LFUN_FONTFREE_UPDATE.
9535 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9536 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9538 * bufferview_func.[Ch]: several new functions to facilliate
9539 transfer of data to and from the character dialog.
9541 2003-03-12 John Levon <levon@movementarian.org>
9546 * paragraph_funcs.C:
9547 * paragraph_pimpl.C:
9551 * text3.C: remove META_NEWLINE in favour of an inset
9554 * rowpainter.C: remove paintNewline (done by inset)
9556 2003-03-12 John Levon <levon@movementarian.org>
9558 * paragraph_pimpl.C: complain about bad getChar()s
9559 for a while at least
9561 2003-03-12 John Levon <levon@movementarian.org>
9564 * buffer.C: move paragraph read into a separate function,
9565 a little renaming to reflect that.
9568 * bufferparams.C: remove the author_ids map, not necessary now
9571 * factory.C: moved Buffer::readInset to here
9573 * paragraph_funcs.h:
9574 * paragraph_funcs.C: readParagraph free function moved from
9577 * tabular.C: name change
9579 2003-03-12 John Levon <levon@movementarian.org>
9582 * ParagraphParameters.C: move par params input to
9585 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9586 behave like a normal read from the stream wrt reading
9587 a line vs. a \\token
9589 2003-03-12 John Levon <levon@movementarian.org>
9592 * ParagraphParameters.h:
9593 * ParagraphParameters.C: move output code to a
9596 2003-03-12 John Levon <levon@movementarian.org>
9598 * BufferView.C (insertLyXFile):
9601 * tabular.C: use a parlist iterator for creating the
9604 2003-03-12 John Levon <levon@movementarian.org>
9606 * buffer.C: make current_change static local not
9609 2003-03-12 John Levon <levon@movementarian.org>
9611 * buffer.C: fix insertStringAsLines for change tracking
9613 2003-03-12 John Levon <levon@movementarian.org>
9620 * bufferparams.C: move author list into params. Rename some
9621 functions. Move the header reading into a separate token
9622 loop. Move the header token reading into BufferParams.
9624 2003-03-12 John Levon <levon@movementarian.org>
9626 * changes.C: put debug inside lyxerr.debugging() checks
9628 2003-03-11 André Pönitz <poenitz@gmx.net>
9630 * factory.C: make it aware of InsetHFill
9632 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9634 * buffer.C (latexParagraphs): move function from here...
9635 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9638 2003-03-10 Angus Leeming <leeming@lyx.org>
9640 * LyXAction.C (init): fix bug in poplating array with multiple entries
9641 with the same LFUN (spotted by JMarc).
9643 2003-03-10 John Levon <levon@movementarian.org>
9646 * text2.C: move getColumnNearX() near its
9649 2003-03-10 John Levon <levon@movementarian.org>
9651 * text.C: fix break before a minipage
9653 2003-03-10 John Levon <levon@movementarian.org>
9655 * text.C: fix the last commit
9657 2003-03-09 John Levon <levon@movementarian.org>
9661 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9662 bug 365 (don't break before insets unless needed). Don't
9663 return a value > last under any circumstances.
9665 2003-03-09 Angus Leeming <leeming@lyx.org>
9667 * BufferView_pimpl.C (trackChanges, dispatch): call
9668 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9670 2003-03-09 Angus Leeming <leeming@lyx.org>
9672 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9673 than Dialogs::showAboutlyx().
9675 2003-03-09 Angus Leeming <leeming@lyx.org>
9677 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9678 than Dialogs::showTabularCreate().
9680 2003-03-09 John Levon <levon@movementarian.org>
9684 * text2.C: 3rd arg to nextBreakPoint was always the same.
9687 2003-03-08 John Levon <levon@movementarian.org>
9694 * text2.C: Remove the "main" bit from the "main body"
9697 2003-03-08 John Levon <levon@movementarian.org>
9699 * text.C (leftMargin): The left margin of an empty
9700 manual label paragraph should not include the label width
9703 * text.C (prepareToPrint): don't attempt to measure hfills
9704 for empty manual label paragraphs - the answer should be 0
9706 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9708 * CutAndPaste.C: remove commented code and reindent.
9710 2003-03-08 John Levon <levon@movementarian.org>
9713 * lyxfunc.C: move reloadBuffer()
9716 * BufferView.C: to here
9718 * lyxvc.C: add comment
9721 * vc-backend.C: call bv->reload() to avoid
9722 getStatus() check on MENURELOAD
9724 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9726 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9727 to an old format .dep file.
9729 2003-03-07 Angus Leeming <leeming@lyx.org>
9731 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9732 when the LFUN_MOUSE_RELEASE should have been handled by
9733 inset->localDispatch.
9735 2003-03-07 Angus Leeming <leeming@lyx.org>
9737 * BufferView_pimpl.C (dispatch):
9738 * LyXAction.C (init):
9739 * ToolbarDefaults.C (init):
9741 * lyxfunc.C (getStatus):
9742 remove LFUN_INSET_GRAPHICS.
9744 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9746 2003-03-07 Angus Leeming <leeming@lyx.org>
9749 * LyXAction.C (init):
9750 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9752 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9755 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9757 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9758 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9760 2003-03-07 Angus Leeming <leeming@lyx.org>
9762 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9765 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9767 * ParagraphList.C (front): new function
9770 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9772 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9773 and top_row_offset_. removed var first_y.
9775 * text2.C (LyXText, removeRow):
9777 * BufferView_pimpl.C:
9778 use these methods instead of using first_y
9780 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9782 * text2.C (pasteSelection): adjust for checkPastePossible
9784 * CutAndPaste.C: remove Paragraph * buf and replace with
9785 ParagraphList paragraphs.
9786 (DeleteBuffer): delete
9787 (cutSelection): change the tc type to textclass_type
9788 (copySelection): change the tc type to textclass_type
9789 (copySelection): adjust for ParagraphList
9790 (pasteSelection): change the tc type to textclass_type
9791 (pasteSelection): adjust for Paragraphlist
9792 (nrOfParagraphs): simplify for ParagraphList
9793 (checkPastePossible): simplify for ParagraphList
9794 (checkPastePossible): remove unused arg
9796 * ParagraphList.C (insert): handle the case where there are no
9799 * CutAndPaste.h: make CutAndPaste a namespace.
9801 * text3.C (dispatch): adjust
9803 * text.C (breakParagraph): add a ParagraphList as arg
9805 * paragraph_funcs.C (breakParagraph): change to take a
9806 BufferParams and a ParagraphList as args.
9807 (breakParagraphConservative): ditto
9808 (mergeParagraph): ditto
9809 (TeXDeeper): add a ParagraphList arg
9810 (TeXEnvironment): ditto
9813 * buffer.C (readLyXformat2): adjust
9814 (insertStringAsLines): adjust
9815 (latexParagraphs): adjust
9817 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9818 (cutSelection): adjust
9819 (pasteSelection): adjust
9821 * BufferView_pimpl.C (insertInset): adjust
9823 2003-03-05 Angus Leeming <leeming@lyx.org>
9826 * LyXAction.C (init):
9827 * BufferView_pimpl.C (dispatch):
9828 * lyxfunc.C (getStatus):
9829 remove LFUN_CHILD_INSERT.
9831 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9833 2003-03-05 Angus Leeming <leeming@lyx.org>
9836 * LyXAction.C (init):
9837 * src/factory.C (createInset):
9838 * lyxfunc.C (getStatus):
9839 * text3.C (dispatch):
9840 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9842 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9844 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9846 * ParagraphList.C (insert): handle insert right before end()
9847 (erase): fix cases where it can be first or last paragraph.
9849 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9851 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9852 Paragraph::next and Paragraph::previous
9855 * text.C (breakParagraph): adjust
9857 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9858 BufferParams& as arg.
9859 (breakParagraph): use ParagraphList::insert
9860 (breakParagraphConservative): take a Buffer* instead of a
9861 BufferParams& as arg.
9862 (breakParagraphConservative): use ParagraphList::insert.
9864 * buffer.C (insertStringAsLines): un-const it
9865 (insertStringAsLines): adjust
9867 * ParagraphList.C (insert): new function
9869 * CutAndPaste.C (pasteSelection): adjust
9871 * text.C (backspace): adjust
9873 * tabular.C (SetMultiColumn): adjust
9875 * CutAndPaste.C (cutSelection): adjust
9876 (pasteSelection): adjust
9878 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9879 Buffer const * as arg
9881 * ParagraphList.C (erase): new function
9882 * paragraph_funcs.C (mergeParagraph): use it
9883 (mergeParagraph): make it take a Buffer* instead of a
9884 BufferParams* as arg
9886 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9888 (breakParagraphConservative): ditto
9890 * paragraph.h: remove the breakParagraph friend
9892 * paragraph.C (eraseIntern): new function
9893 (setChange): new function
9895 * paragraph_funcs.C (mergeParagraph): make it take a
9896 ParagraphList::iterator instead of a Paragraph *, adjust
9899 * paragraph.h: move an #endif so that the change tracking stuff
9900 also works in the NO_NEXT case.
9902 2003-03-04 Angus Leeming <leeming@lyx.org>
9905 * LyXAction.C: new LFUN_INSET_MODIFY.
9907 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9908 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9910 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9912 * several files: ws changes only
9914 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9915 (TeXEnvironment): ditto
9918 * buffer.C (makeLaTeXFile): adjust
9919 (latexParagraphs): make it take ParagraphList::iterator as args
9921 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9923 * buffer.C (latexParagraphs): adjust
9925 * paragraph.C (TeXOnePar): move function...
9926 (optArgInset): move function...
9927 (TeXEnvironment): move function...
9928 * paragraph_pimpl.C (TeXDeeper): move function...
9929 * paragraph_funcs.C: ...here
9931 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9933 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9935 * buffer.C (readInset): remove compability code for old Figure and
9938 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9940 * buffer.C: ws changes
9943 * BufferView_pimpl.C: ditto
9946 * bufferlist.h: ditto
9950 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9952 * converter.[Ch]: split into itself +
9955 * Makefile.am: += graph.[Ch] + format.[Ch]
9962 * lyxrc.C: added #include "format.h"
9964 2003-02-27 Angus Leeming <leeming@lyx.org>
9966 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9969 * factory.C (createInset): add "label" to the factory.
9971 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9972 string and do no more.
9974 2003-02-27 Angus Leeming <leeming@lyx.org>
9977 * LyXAction.C (init):
9978 * factory.C (createInset):
9979 * BufferView_pimpl.C (dispatch):
9980 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9982 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9984 * lyxfunc.C (dispatch):
9985 * text3.C (dispatch): pass name to params2string.
9987 2003-02-26 Angus Leeming <leeming@lyx.org>
9989 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9991 Rearrange the ~includes. Strip out the unnecessary ones.
9993 * factory.C (createInset): reformat.
9994 create new insets for the various LFUN_XYZ_APPLY lfuns.
9996 2003-02-26 John Levon <levon@movementarian.org>
9999 * lyxrow.C: add isParStart,isParEnd helpers
10001 * paragraph.h: make isInserted/DeletedText take refs
10003 * paragraph_funcs.h:
10004 * paragraph_funcs.C: remove #if 0'd code
10009 * text.C: use lyxrow helpers above.
10010 Move draw and paint routines to RowPainter.
10011 Make several methods use refs not pointers.
10012 Make backgroundColor() const.
10013 Add markChangeInDraw(), isInInset().
10014 Merge changeRegionCase into changeCase.
10015 Make workWidth() shouldn't-happen code into an Assert.
10018 * rowpainter.C: new class for painting a row.
10021 * vspace.C: make inPixels take a ref
10023 2003-02-26 Angus Leeming <leeming@lyx.org>
10025 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10028 2003-02-25 John Levon <levon@movementarian.org>
10030 * ispell.C: give the forked command a more accurate name
10032 2003-02-22 John Levon <levon@movementarian.org>
10035 * toc.C: make TocItem store an id not a Paragraph *
10038 2003-02-21 Angus Leeming <leeming@lyx.org>
10040 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10041 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10042 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10043 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10044 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10045 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10047 * BufferView_pimpl.C (dispatch):
10048 * LyXAction.C (init):
10049 * factory.C (createInset):
10050 * lyxfunc.C (getStatus, dispatch):
10051 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10053 2003-02-21 Angus Leeming <leeming@lyx.org>
10055 * BufferView_pimpl.C (MenuInsertLyXFile):
10056 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10057 * lyxfunc.C (menuNew, open, doImport):
10058 no longer pass a LyXView & to fileDlg.
10060 2003-02-21 Angus Leeming <leeming@lyx.org>
10062 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10063 * LyXAction.C: change, BIBKEY to BIBITEM.
10064 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10065 Change InsetBibKey to InsetBibitem.
10066 Change BIBKEY_CODE to BIBITEM_CODE.
10067 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10068 * factory.C: replace insetbib.h with insetbibitem.h.
10069 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10070 * paragraph.C: replace insetbib.h with insetbibitem.h.
10071 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10072 Change bibkey() to bibitem().
10073 * text.C: remove insetbib.h.
10074 * text2.C: replace insetbib.h with insetbibitem.h.
10075 change bibkey() to bibitem().
10076 * text3.C: remove insetbib.h.
10077 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10079 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10081 * lyxrc.C (output): enclose user email in quotes (in case there are
10084 2003-02-18 John Levon <levon@movementarian.org>
10086 * buffer.h: add std::
10088 2003-02-17 John Levon <levon@movementarian.org>
10094 * pspell.C: reworking. Especially in ispell, a large
10095 number of clean ups and bug fixes.
10097 * lyxfunc.C: fix revert to behave sensibly
10099 2003-02-17 André Pönitz <poenitz@gmx.net>
10102 * commandtags.h: new LFUN_INSERT_BIBKEY
10112 * paragraph_func.C: remove special bibkey handling
10114 2003-02-17 John Levon <levon@movementarian.org>
10116 * text.C (Delete): fix case where delete at the end of
10117 the very first paragraph would not merge the pars
10119 2003-02-17 John Levon <levon@movementarian.org>
10121 * lyxrow.C: fix lastPrintablePos()
10123 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10125 * bufferparams.C (writeLaTeX): add a std:here
10127 * buffer.C: and remove a using directive there
10129 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10131 * buffer.C (makeLaTeXFile): move the code that generates the
10134 * bufferparams.C (writeLaTeX): ... in this new method
10136 * LaTeXFeatures.C (getEncodingSet): make const
10137 (getLanguages): make const
10139 * MenuBackend.C (binding): returns the binding associated to this
10141 (add): sets the status of each item by calling getStatus. Adds
10143 (read): add support for OptSubMenu
10144 (expand): remove extra separator at the end of expanded menu
10146 2003-02-15 John Levon <levon@movementarian.org>
10149 * BufferView_pimpl.C:
10151 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10152 inset code that had no actual effect. Remove unneeded status
10155 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10157 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10160 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10162 * text.C (drawLengthMarker): also draw an arrow marker for
10163 symbolic lengths (medskip...)
10165 2003-02-14 John Levon <levon@movementarian.org>
10168 * tabular.C: better method names
10170 2003-02-14 John Levon <levon@movementarian.org>
10172 * BufferView_pimpl.C:
10177 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10178 it's a more accurate name. Remove some pointless uses.
10180 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10182 * text2.C (LyXText): change order of initilizers to shut off
10185 2003-02-14 John Levon <levon@movementarian.org>
10187 * buffer.C: use ParIterator for getParFromID()
10191 * paragraph_pimpl.h:
10192 * paragraph_pimpl.C: remove unused getParFromID()
10194 2003-02-14 John Levon <levon@movementarian.org>
10196 * buffer.C: remove some very old #if 0'd parse code
10198 2003-02-13 John Levon <levon@movementarian.org>
10202 * text2.C: move hfillExpansion(), numberOfSeparators(),
10203 rowLast(), rowLastPrintable(), numberofHfills(),
10204 numberOfLabelHfills() ...
10207 * lyxrow.C: ... to member functions here.
10212 * text.C: remove LyXText::beginningOfMainBody(), and call
10213 p->beginningOfMainBody() directly. Move the check for
10214 LABEL_MANUAL into the latter.
10221 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10227 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10228 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10230 2003-02-13 John Levon <levon@movementarian.org>
10232 * CutAndPaste.C: remove debug
10234 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10236 * paragraph.C (asString): remove two unused variables
10238 * lyxtextclass.C (readTitleType):
10240 (LyXTextClass): handle new members titletype_ and titlename_
10242 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10244 2003-02-09 John Levon <levon@movementarian.org>
10247 * buffer.C: replace hand-coded list with a map for the dep clean
10249 2003-02-08 John Levon <levon@movementarian.org>
10251 * LaTeX.C: consolidate code into showRunMessage() helper
10253 2003-02-08 John Levon <levon@movementarian.org>
10258 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10259 and pass the size in explicitly
10261 * BufferView_pimpl.h:
10262 * BufferView_pimpl.C:
10264 * BufferView.C: add getCurrentChange()
10266 * BufferView_pimpl.h:
10267 * BufferView_pimpl.C: handle change lfuns
10269 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10270 for changes. Mark pasted paragraphs as new.
10272 * support/lyxtime.h:
10273 * support/lyxtime.C:
10274 * DepTable.C: abstract time_t as lyx::time_type
10277 * LColor.C: add colours for new text, deleted text, changebars
10279 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10280 package use "usenames" option.
10284 * LyXAction.C: add change lfuns
10288 * author.C: author handling
10291 * buffer.C: add a per-buffer author list, with first entry as
10292 current author. Handle new .lyx tokens for change tracking. Output
10293 author list to .lyx file. Output dvipost stuff to .tex preamble.
10294 Bump lyx format to 222.
10297 * bufferlist.C: add setCurrentAuthor() to reset current author details
10301 * bufferparams.C: add param for tracking
10303 * bufferview_funcs.C: output change info in minibuffer
10307 * changes.C: add change-tracking structure
10310 * debug.C: add CHANGES debug flag
10313 * lyxfind.C: add code for finding the next change piece
10316 * lyxrc.C: add user_name and user_email
10319 * lyxrow.C: add a metric for the top of the text line
10322 * text.C: implement accept/rejectChange()
10325 * text.C: paint changebars. Paint new/deleted text in the chosen
10326 colours. Strike through deleted text.
10330 * paragraph_pimpl.h:
10331 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10332 in the current change to the insert functions. Rework erase to
10333 mark text as deleted, adding an eraseIntern() and a range-based
10334 erase(). Implement per-paragraph change lookup and
10337 * paragraph_funcs.C: Fixup paste for change tracking.
10339 * tabular.C: mark added row/columns as new.
10341 * text.C: fix rowLast() to never return -1. Don't allow
10342 spellchecking of deleted text. Track transpose changes. Don't
10343 allow paragraph break or merge where appropriate.
10345 * text2.C: leave cursor at end of selection after a cut.
10347 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10349 * text.C (getLengthMarkerHeight):
10350 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10351 visible on screen too.
10353 2003-02-07 John Levon <levon@movementarian.org>
10355 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10357 2003-02-05 Angus Leeming <leeming@lyx.org>
10359 * lyxserver.C (read_ready): revert my patch of 11 September last year
10360 as it sends PC cpu through the roof. Presumably this means that
10361 the lyxserver will no longer run on an Alpha...
10363 2003-01-30 Angus Leeming <leeming@lyx.org>
10365 * factory.C (createInset): create an InsetCommandParam of type "index"
10366 and use it to 'do the right thing'.
10368 * text2.C (getStringToIndex): ensure that cursor position is always
10369 reset to the reset_cursor position.
10371 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10373 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10376 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10380 * lyxfunc.C: Output messages with identical spelling, punctuation,
10383 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10385 * MenuBackend.C (expandFormats): List only viewable export formats
10388 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10391 * lyxfunc.C (getStatus): Make sure that formats other than
10392 "fax" can also be disabled
10394 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10396 * text3.C (dispatch): put the lfuns that insert insets in 3
10397 groups, and call doInsertInset with appropriate arguments.
10398 (doInsertInset): new function, that creates an inset and inserts
10399 it according to some boolean parameters.
10401 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10403 * buffer.C (readFile): remember to pass on 'par' when calling
10404 readFile recursively.
10406 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10408 * MenuBackend.C (expandFormats): add "..." to import formats.
10410 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10412 * paragraph.C (asString): Remove XForms RTL hacks.
10414 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10415 * buffer.C: fix typo
10417 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10419 * Makefile.am (LIBS): delete var
10420 (lyx_LDADD): add @LIBS@ here instead.
10422 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10424 * Clarify the meaning of "wheel mouse jump"
10426 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10428 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10431 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10433 * importer.C (Loaders): do not preallocate 3 elements in the
10434 vector, since one ends up with 6 elements otherwise
10436 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10438 * DepTable.C (write): write the file name as last element of the
10439 .dep file (because it may contain spaces)
10440 (read): read info in the right order
10442 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10444 * paragraph_pimpl.C (simpleTeXBlanks):
10445 (simpleTeXSpecialChars):
10446 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10448 * tabular.C (latex): add some missing case statements. Reindent.
10450 * MenuBackend.C (expandToc): remove unused variable.
10452 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10461 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10464 2003-01-05 John Levon <levon@movementarian.org>
10467 * BufferView.C: add getEncoding()
10470 * kbsequence.C: do not store last keypress
10473 * lyxfunc.C: store last keypress here instead. Pass encoding
10476 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10478 * lyx_main.C (init): remove annoying error message when following
10479 symbolic links (bug #780)
10481 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10483 * text.C (insertChar):
10484 * lyxrc.C (getDescription): remove extra spaces
10486 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10488 * lyxrc.C (getDescription): remove extra spaces
10490 2002-12-20 John Levon <levon@movementarian.org>
10492 * text3.C: hack fix for page up/down across tall rows
10494 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10496 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10499 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10501 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10502 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10503 thesaurus is not compiled in
10505 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10507 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10509 2002-12-16 Angus Leeming <leeming@lyx.org>
10512 * lyx_main.C (init): remove override_x_deadkeys stuff.
10514 2002-12-12 John Levon <levon@movementarian.org>
10516 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10517 insert. Only remove shift modifier under strict
10520 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10522 * MenuBackend.C (expandToc): fix crash.
10524 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10526 * MenuBackend.C (expandToc): gettext on float names.
10528 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10530 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10531 implement bool empty() [bug 490]
10533 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10535 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10537 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10539 * several files: ws changes
10541 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10543 * text2.C (setCounter): clean up a bit, use boost.format.
10544 (updateCounters): initialize par upon declaration.
10546 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10547 if the layout exists. We do not just store the layout any more.
10548 (SwitchLayoutsBetweenClasses): use boost.format
10550 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10552 * converter.C (convert): if from and to files are the same, use a
10553 temporary files as intermediary
10555 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10558 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10560 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10562 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10564 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10566 * tabular.C (asciiPrintCell): use string(size, char) instead of
10569 * sgml.C (openTag): fix order of arguments to string constructor
10572 * lyxfunc.C (dispatch): use boost.format
10574 * lots of files: change "c" -> 'c'
10576 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10578 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10580 2002-11-25 Angus Leeming <leeming@lyx.org>
10582 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10584 * lyx_main.C (init): compile fix.
10586 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10588 * lyx_cb.C (start): boost.formatify
10589 do not include <iostream>
10591 * lengthcommon.C: ws only
10593 * boost-inst.C,BoostFormat.h: add more explict instantations
10595 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10597 * lots of files: handle USE_BOOST_FORMAT
10599 2002-11-21 John Levon <levon@movementarian.org>
10601 * pspell.C: fix compile
10603 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10605 * lyxfunc.C (dispatch): use boost::format
10609 * lyxfont.C (stateText): use boost::format
10611 * lyx_main.C (LyX): use boost::format
10613 (queryUserLyXDir): ditto
10614 (readRcFile): ditto
10616 (typedef boost::function): use the recommened syntax.
10618 * importer.C (Import): use boost::format
10620 * debug.C (showLevel): use boost::format
10622 * converter.C (view): use boost::format
10627 * bufferview_funcs.C (currentState): use boost::format
10629 * bufferlist.C (emergencyWrite): use boost::format
10631 * buffer.C (readLyXformat2): use boost::format
10632 (parseSingleLyXformat2Token): ditto
10634 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10636 * LaTeX.C (run): use boost::format
10638 * Chktex.C (scanLogFile): use boost::format
10640 * BufferView_pimpl.C (savePosition): use boost::format
10641 (restorePosition): ditto
10642 (MenuInsertLyXFile): ditto
10644 * BoostFormat.h: help file for explicit instation.
10646 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10648 * tabular.C (latex): Support for block alignment in fixed width
10651 2002-11-17 John Levon <levon@movementarian.org>
10653 * BufferView_pimpl.C:
10655 * lyxfunc.C: split filedialog into open/save
10657 2002-11-08 Juergen Vigna <jug@sad.it>
10659 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10660 by my last patch (hopefully).
10662 2002-11-08 John Levon <levon@movementarian.org>
10671 * toc.C: ParConstIterator, and use it (from Lars)
10673 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10675 * lyxtextclass.[Ch]: revise and add doxygen comments
10677 2002-11-07 John Levon <levon@movementarian.org>
10679 * text.C: fix progress value for spellchecker
10681 * toc.C: fix navigate menu for insetwrap inside minipage
10683 * paragraph_funcs.C: added FIXME for suspect code
10685 2002-11-07 John Levon <levon@movementarian.org>
10687 * BufferView_pimpl.C: fix redrawing of insets
10690 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10692 * text2.C (updateCounters): fix bug 668
10694 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10696 * text3.C (dispatch): Do not make the buffer dirty when moving the
10699 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10701 * vc-backend.C: STRCONV
10702 (scanMaster): ditto
10704 * text2.C (setCounter): STRCONV
10706 * paragraph.C (asString): STRCONV
10708 * lyxlength.C (asString): STRCONV
10709 (asLatexString): ditto
10711 * lyxgluelength.C (asString): STRCONV
10712 (asLatexString): ditto
10714 * lyxfunc.C (dispatch): STRCONV
10717 * lyxfont.C (stateText): STRCONV
10719 * importer.C (Import): STRCONV
10721 * counters.C (labelItem): STRCONV
10722 (numberLabel): ditto
10723 (numberLabel): remove unused ostringstream o
10728 * bufferview_funcs.C (currentState): STRCONV
10730 * buffer.C (readFile): STRCONV
10731 (asciiParagraph): ditto
10732 (makeLaTeXFile): ditto
10734 * Spacing.C (writeEnvirBegin): STRCONV
10736 * LaTeXFeatures.C (getLanguages): STRCONV
10737 (getPackages): ditto
10739 (getBabelOptions): ditto
10740 (getTClassPreamble): ditto
10741 (getLyXSGMLEntities): ditto
10742 (getIncludedFiles): ditto
10746 (scanAuxFile): ditto
10749 * LString.h: add the STRCONV macros
10751 * BufferView_pimpl.C (savePosition): STRCONV
10752 (restorePosition): ditto
10753 (MenuInsertLyXFile): ditto
10755 * vc-backend.C (scanMaster): change from submatch[...] to
10758 * funcrequest.C: include config.h
10760 * factory.C: include config.h
10762 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10764 * box.C: include config.h
10766 * LaTeX.C (scanAuxFile): change from submatch[...] to
10770 2002-10-25 Angus Leeming <leeming@lyx.org>
10772 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10774 * ispell.[Ch] (setError): new method.
10775 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10776 Use setError() insetead of goto END.
10778 * lyx_cb.C (AutoSave): move out child process into new class
10781 2002-10-30 John Levon <levon@movementarian.org>
10783 * text3.C: make start appendix undoable
10785 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10787 * lyxlength.C (inPixels): Fix returned value.
10789 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10792 2002-10-24 Angus Leeming <leeming@lyx.org>
10794 * lyxgluelength.h: no need to forward declare BufferParams
10795 or BufferView, so don't.
10797 2002-10-21 John Levon <levon@movementarian.org>
10799 * BufferView.C: menuUndo ->undo, redo
10801 * BufferView.h: document, remove dead, make some methods private
10803 * paragraph_funcs.h:
10804 * paragraph_funcs.C:
10805 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10810 * sgml.C: move sgml open/close tag into sgml.C
10812 * bufferview_funcs.h: unused prototype
10815 * lyxfunc.C: remove unused
10818 * text.C: remove unused
10820 2002-10-21 John Levon <levon@movementarian.org>
10824 * BufferView_pimpl.h:
10825 * BufferView_pimpl.C: fix mouse wheel handling based on
10826 patch from Darren Freeman
10828 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10830 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10832 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10834 * lyxlength.C (inPixels): Fix hanfling of negative length.
10835 Fix LyXLength::MU case.
10837 2002-10-16 John Levon <levon@movementarian.org>
10839 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10841 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10843 * converter.C (view): add support for $$i (file name) and $$p
10844 (file path) for the viewer command. If $$i is not specified, then
10845 it is appended to the command (for compatibility with old syntax)
10847 2002-10-14 Juergen Vigna <jug@sad.it>
10849 * undo_funcs.C (textHandleUndo): alter the order in which the
10850 new undopar is added to the LyXText, as we have to set first
10851 the right prev/next and then add it as otherwise the rebuild of
10852 LyXText is not correct. Also reset the cursor to the right paragraph,
10853 with this IMO we could remove the hack in "redoParagraphs()".
10855 2002-10-09 Angus Leeming <leeming@lyx.org>
10857 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10858 to turn off an optimisation if a new inset is to be inserted.
10860 2002-10-11 André Pönitz <poenitz@gmx.net>
10862 * lyxtext.h: make some functions public to allow access
10863 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10865 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10867 * text3.C (dispatch): when changing layout, avoid an infinite loop
10870 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10872 * lyxrc.C (read): treat a viewer or converter command of "none" as
10875 * MenuBackend.C (expandFormats): for an update, also allow the
10876 formats that are not viewable
10878 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10879 script if it is newer than the lyxrc.defaults in user directory
10881 2002-10-07 André Pönitz <poenitz@gmx.net>
10883 * text.C: Vitaly Lipatov's small i18n fix
10885 2002-09-25 Angus Leeming <leeming@lyx.org>
10887 * ispell.h: doxygen fix.
10889 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10891 * buffer.h (readFile): Add a new argument to the method, to allow
10892 reading of old-format templates.
10894 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10896 * toc.C (getTocList): Get TOC from InsetWrap.
10898 2002-09-16 John Levon <levon@movementarian.org>
10900 * lyxfunc.C: check tabular for cut/copy too
10902 2002-09-12 John Levon <levon@movementarian.org>
10904 * LyXAction.C: tidy
10907 * factory.C: add header
10909 * paragraph_funcs.h:
10910 * paragraph_funcs.C: cleanup
10912 2002-09-11 John Levon <levon@movementarian.org>
10914 * PrinterParams.h: odd/even default to true
10916 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10918 * PrinterParams.h: update printer parameters for new xforms dialog
10920 2002-09-11 Angus Leeming <leeming@lyx.org>
10922 * lyxserver.C (read_ready): re-write to make it more transparent
10923 and to make it work in coherent fashion under Tru64 Unix.
10925 2002-09-11 André Pönitz <poenitz@gmx.net>
10929 * text3.C: implement LFUN_WORDSEL
10931 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10933 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10934 make floatlist_ a boost::shared_ptr<FloatList>
10936 * lyxtextclass.C: include FloatList.h
10937 (LyXTextClass): initialize floatlist_
10938 (TextClassTags): add TC_NOFLOAT
10939 (Read): match "nofloat" to TC_NOFLOAT and use it.
10940 (readFloat): modify call to floatlist_
10944 * FloatList.[Ch] (FloatList): remove commented out float
10946 (erase): new function
10948 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10950 * MenuBackend.C (expandToc): fix crash when there is no document
10953 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10955 * many files: Add insetwrap.
10957 2002-09-09 John Levon <levon@movementarian.org>
10959 * text2.C: remove confusing and awkward depth wraparound
10961 2002-09-09 John Levon <levon@movementarian.org>
10963 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10966 * buffer.C: remove getIncludeonlyList()
10969 * lyxfunc.C: remove headers
10971 2002-09-09 Juergen Vigna <jug@sad.it>
10973 * text.C (getColumnNearX): fix form Michael this is most
10974 probably a cut&paste bug.
10976 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10978 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10980 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10981 references, ws changes.
10983 * text2.C (init): update counters after init
10984 (insertParagraph): no need to set counter on idividual paragraphs.
10985 (setCounter): access the counters object in the textclass object
10986 on in the buffer object.
10987 (updateCounters): ditto
10989 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10990 shared_ptr<Counters> to avoid loading counters.h in all
10992 (LyXTextClass): initialize ctrs_
10993 (TextClassTags): add TC_COUNTER, and ...
10994 (Read): use it here.
10995 (CounterTags): new tags
10996 (readCounter): new function
10997 (counters): new funtion
10998 (defaultLayoutName): return a const reference
11000 * counters.C (Counters): remove contructor
11001 (newCounter): remove a couple of unneeded statements.
11002 (newCounter): simplify a bit.
11003 (numberLabel): some small formatting changes.
11005 * buffer.[Ch]: remove all traces of counters, move the Counters
11006 object to the LyXTextClass.
11008 2002-09-06 Alain Castera <castera@in2p3.fr>
11010 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11011 package to set the horizontal alignment on fixed width columns.
11014 * lyx_sty.h: added tabularnewline macro def.
11016 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11018 2002-09-06 John Levon <levon@movementarian.org>
11020 * LyXAction.C: tooltips for sub/superscript
11022 * MenuBackend.C: a bit more verbose
11024 * lyxfunc.C: tiny clean
11026 * undo_funcs.C: document undo_frozen
11028 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11030 * counters.C (Counters): add missing algorithm counter.
11032 * text2.C (setCounter): lookup the counter with layouts latexname
11033 instead of by section number.
11034 (setCounter): use a hackish way to lookup the correct enum
11036 a float name->type change
11037 reset enum couners with counter name directly instead of depth value.
11039 * counters.C (Counters): remove the push_backs, change to use the
11040 float type not the float name.
11041 (labelItem): remove unused string, float name->type change
11043 * counters.h: don't include vector, loose the enums and sects vectors
11045 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11047 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11048 (Read): add float->TC_FLOAT to textclassTags
11049 (Read): and handle it in the switch
11050 (readFloat): new function
11052 * FloatList.C (FloatList): comment out the hardcoded float
11055 * lyxlayout.h: ws change.
11057 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11059 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11061 2002-09-03 Angus Leeming <leeming@lyx.org>
11063 * BufferView_pimpl.h: qualified name is not allowed in member
11064 declaration: WorkArea & Pimpl::workarea() const;
11066 * factory.C: added using std::endl directive.
11068 * text3.C: added using std::find and std::vector directives.
11070 2002-08-29 André Pönitz <poenitz@gmx.net>
11073 * text2.C: remove unused member number_of_rows
11076 * BufferView2.C: remove file, move contents to...
11077 * BufferView.C: ... here
11079 * BufferView_pimpl.C:
11080 * factory.C: move more inset creation to factory
11082 * vspace.C: avoid direct usage of LyXText, ws changes
11085 don't provide direct access to WorkArea, use two simple
11086 acessors haveSelction() and workHeight() instead
11089 2002-08-29 John Levon <levon@movementarian.org>
11091 * BufferView_pimpl.C (dispatch): do not continue when
11094 2002-08-28 André Pönitz <poenitz@gmx.net>
11096 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11099 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11101 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11103 * buffer.C: increment LYX_FORMAT to 221
11105 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11106 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11108 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11110 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11112 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11114 * factory.C (createInset): use LyXTextClass::floats
11116 * MenuBackend.C (expandFloatListInsert):
11117 (expandFloatInsert):
11120 * text2.C (setCounter):
11122 * LaTeXFeatures.C (useFloat):
11123 (getFloatDefinitions):
11125 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11127 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11128 floatlist_, with accessor floats().
11130 * FloatList.h: remove global FloatList
11132 2002-08-26 André Pönitz <poenitz@gmx.net>
11134 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11138 * BufferView_pimpl.C:
11139 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11141 2002-08-25 John Levon <levon@movementarian.org>
11143 * LyXAction.C: fix margin note description
11145 2002-08-24 John Levon <levon@movementarian.org>
11149 * bufferview_funcs.C:
11151 * undo_funcs.C: cleanups
11153 * lyxfunc.C: disable CUT/COPY when no selection
11155 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11157 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11158 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11160 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11161 Add backward compatibility to "mono", "gray" and "no".
11163 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11165 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11166 (and file_format >= 200).
11168 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11170 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11172 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11174 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11176 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11178 * BufferView_pimpl.C:
11185 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11186 inset and code to make it work with the paragraph code. The inset
11187 can be anywhere in the paragraph, but will only do the expected
11188 thing in LaTeX if the layout file contains the parameter line
11190 (or more generally, a nonzero value) for that layout.
11192 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11194 * paragraph.h: remove the declaration of undefined counters class
11197 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11199 * text2.C (setCounter): fixed enumeration mis-count as reported by
11200 Dr. Richard Hawkins.
11202 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11204 * paragraph_funcs.h: remove some unneeded includes
11206 * text.C (backspace): pasteParagraph now in global scipe
11208 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11209 (pasteSelection): ditto
11211 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11212 * paragraph_funcs.C (pasteParagraph): ... here
11214 2002-08-20 André Pönitz <poenitz@gmx.net>
11216 * commandtags.h: new LFUNs for swapping/copying table row/colums
11219 * lyxfunc.C: support for new lfuns
11221 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11224 * buffer.[Ch]: remove NO_COMPABILITY stuff
11226 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11228 * boost.C (throw_exception): new file, with helper function for
11229 boost compiled without exceptions.
11234 * ParameterStruct.h:
11235 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11237 * bufferlist.C (emergencyWriteAll): use boost bind
11239 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11241 * text.C: include paragraph_funcs.h
11242 (breakParagraph): breakParagraph is now in global scope
11244 * paragraph_funcs.[Ch]: new files
11246 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11249 * buffer.C: include paragraph_funcs.h
11250 (insertStringAsLines): breakParagraph is now in global scope
11252 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11255 * CutAndPaste.C: include paragraph_funcs.h
11256 (cutSelection): breakParagraphConservative is now in global scope
11257 (pasteSelection): ditto
11259 * buffer.h: declare oprator== and operator!= for
11260 Buffer::inset_iterator
11262 * bufferlist.C (emergencyWrite): don't use fmt(...)
11264 * text3.C: add using std::endl
11266 * BufferView.C (moveCursorUpdate): remove default arg
11268 2002-08-20 André Pönitz <poenitz@gmx.net>
11270 * buffer.[Ch]: move inline functions to .C
11273 * BufferView_pimpl.C:
11275 * buffer.[Ch]: use improved inset_iterator
11278 * paragraph.[Ch]: write one paragraph at a time
11280 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11282 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11283 style if style is not specified.
11285 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11287 * text2.C (setCounter): when searching for right label for a
11288 caption, make sure to recurse to parent insets (so that a caption
11289 in a minipage in a figure float works) (bug #568)
11291 2002-08-20 André Pönitz <poenitz@gmx.net>
11293 * text3.C: new file for LyXText::dispatch() and helpers
11295 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11297 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11299 2002-08-19 André Pönitz <poenitz@gmx.net>
11302 * text.C: new LyXText::dispatch()
11304 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11306 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11308 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11310 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11313 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11315 * Makefile.am: use $(variables) instead of @substitutions@
11317 2002-08-15 André Pönitz <poenitz@gmx.net>
11320 * BufferView_pimpl.C: streamlining mathed <-> outer world
11324 * LyXAction.C: remove unused LFUN_MATH
11326 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11328 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11330 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11332 * paragraph.C (Paragraph): reformat a bit
11333 (cutIntoMinibuffer): use builtin InsetList function instad of
11337 * buffer.C: include boost/bind.hpp, add using std::for_each
11338 (writeFileAscii): use ParagraphList iterators
11339 (validate): use for_each for validate traversal of paragraphs
11340 (getBibkeyList): use ParagraphList iterators
11341 (resizeInsets): use for_each to resizeInsetsLyXText for all
11343 (getParFromID): use ParagraphList iterators
11345 * BufferView2.C (lockInset): use paragraph list and iterators
11347 2002-08-14 John Levon <levon@movementarian.org>
11349 * lyxserver.C: remove spurious xforms include
11351 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11353 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11355 2002-08-13 André Pönitz <poenitz@gmx.net>
11358 * lyxfunc.C: further cleaning
11360 2002-08-13 André Pönitz <poenitz@gmx.net>
11362 * funcrequest.h: new constructor
11364 * funcrequest.C: move stuff here from .h
11367 * BufferView_pimpl.C:
11370 * lyxfunc.C: subsequent changes
11372 * lyxfunc.h: new view() member function
11374 * lyxfunc.C: subsequent changes
11376 2002-08-13 Angus Leeming <leeming@lyx.org>
11379 * BufferView_pimpl.C:
11387 changes due to the changed LyXView interface that now returns references
11388 to member variables not pointers.
11390 2002-08-13 Angus Leeming <leeming@lyx.org>
11392 * WordLangTuple (word, lang_code): return references to strings,
11397 * lyxtext.h: forward-declare WordLangTuple.
11402 * text.C: #include "WordLangTuple.h".
11405 * text.C: (selectNextWordToSpellcheck): constify return type.
11407 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11413 * paragraph_pimpl.h:
11416 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11417 suggested by Angus.
11418 Made updateCounter always count from start of buffer, and removed
11419 second argument (par).
11420 Reverted floats number display to '#'. Perhaps I'll try again when the
11421 code base is sanitized a bit.
11423 2002-08-12 Angus Leeming <leeming@lyx.org>
11425 * buffer.[Ch] (getLabelList): constify.
11427 2002-08-07 André Pönitz <poenitz@gmx.net>
11429 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11431 * funcrequest.h: extension to keep mouse (x,y) position
11433 2002-08-12 Juergen Vigna <jug@sad.it>
11435 * BufferView2.C (insertErrors): forbid undo when inserting error
11438 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11440 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11442 * ParagraphList.[Ch]: new files
11444 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11446 * BufferView2.C (lockInset): ParagraphList changes
11449 * bufferlist.C: ditto
11453 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11455 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11456 unused class variable counter_,
11458 * paragraph.[Ch] (getFirstCounter): delete unused function
11460 * counters.C: include LAssert.h
11461 (reset): add a new function with no arg, change other version to
11462 not have def. arg and to not allow empty arg.
11464 * text2.C (setCounter): remove empty arg from call to Counters::reset
11466 2002-08-11 John Levon <levon@movementarian.org>
11468 * Makefile.am: add WordLangTuple.h
11470 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11472 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11473 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11475 * insets/insettext.C: InsetList changes
11477 * graphics/GraphicsSupport.C (operator()): InsetList changes
11479 * toc.C (getTocList): InsetList changes
11481 * paragraph_pimpl.[Ch]: InsetList changes
11483 * paragraph.[Ch]: InsetList changes
11485 * buffer.C (inset_iterator): InsetList changes
11486 (setParagraph): ditto
11487 * buffer.h (inset_iterator): ditto
11488 * iterators.C (operator++): ditto
11489 * iterators.h: ditto
11491 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11493 * InsetList.[Ch]: new files, most InsetList handling moved out of
11496 * BufferView2.C (removeAutoInsets): InsetList changes
11498 (ChangeInsets): ditto
11500 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11502 * paragraph_pimpl.h (empty): new function
11504 * paragraph.[Ch] (empty): new function
11506 * other files: use the new Paragraph::empty function
11508 2002-08-09 John Levon <levon@movementarian.org>
11510 * lyxtext.h: remove unused refresh_height
11512 2002-08-09 John Levon <levon@movementarian.org>
11519 * paragraph.C: move sgml char escaping out of paragraph
11522 * paragraph.C: remove id setter
11526 * paragraph_pimpl.C: remove dead tex_code_break_column
11528 * bufferview_funcs.C: small cleanup
11530 * lyxfunc.C: remove dead proto
11532 * lyxtext.h: make some stuff private. Remove some dead stuff.
11534 * lyxgluelength.C: make as[LyX]String() readable
11536 2002-08-08 John Levon <levon@movementarian.org>
11541 * ToolbarDefaults.C:
11544 * toc.C: lyxaction cleanup
11546 2002-08-08 John Levon <levon@movementarian.org>
11548 * BufferView2.C: small cleanup
11551 * lyxfind.C: move unnecessary header into the .C
11553 2002-08-08 John Levon <levon@movementarian.org>
11555 * funcrequest.h: just tedious nonsense
11558 * lyx_main.C: cleanups
11561 * vspace.C: remove dead header lyx_main.h
11563 2002-08-07 Angus Leeming <leeming@lyx.org>
11566 * paragraph_pimpl.h:
11567 Forward declare class Counters in paragraph.h by moving the ctrs member
11568 variable into Paragraph::Pimpl.
11569 (counters): new method, returning a reference to pimpl_->ctrs.
11571 * text2.C: ensuing changes.
11573 2002-08-07 John Levon <levon@movementarian.org>
11575 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11577 * BufferView_pimpl.C: announce X selection on double/triple
11580 * lyx_main.C: use correct bool in batch dispatch
11582 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11584 2002-08-07 André Pönitz <poenitz@gmx.net>
11586 * funcrequest.h: new class to wrap a kb_action and its argument
11589 * BufferView_pimpl[Ch]:
11593 * lyxrc.C: subsequent changes
11596 2002-08-07 John Levon <levon@movementarian.org>
11598 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11599 document options change.
11601 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11606 * makefile.am: move counters functionality over from
11607 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11609 2002-08-06 John Levon <levon@movementarian.org>
11611 * WordLangTuple.h: new file for word + language code tuple
11622 * BufferView2.C: use WordLangTuple
11625 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11627 2002-08-06 John Levon <levon@movementarian.org>
11629 * lyx_main.C: fix cmdline batch handling
11631 2002-08-06 André Pönitz <poenitz@gmx.net>
11633 * lyxrc.C: set default for show_banner to true
11635 2002-08-06 John Levon <levon@movementarian.org>
11637 * pspell.C: fix a crash, and allow new aspell to work
11639 2002-08-06 John Levon <levon@movementarian.org>
11642 * kbmap.C: small cleanup
11645 * vspace.C: add const
11647 2002-08-05 John Levon <levon@movementarian.org>
11649 * LyXAction.C: back to tabular-insert
11651 2002-08-04 John Levon <levon@movementarian.org>
11654 * BufferView.C: cosmetic change
11656 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11666 * BufferView2.C: purge all "Lyx" not "LyX" strings
11669 * lyxcursor.C: attempt to add some documentation
11674 * ToolbarDefaults.C:
11675 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11676 merge with LFUN_TABULAR_INSERT
11683 * pspell.C: split up i/pspell implementations into separate
11684 files, many cleanups
11686 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11688 * text2.C: some cleanup
11690 * lyxfunc.C: don't check for isp_command == "none" any more, it
11691 didn't make any sense
11693 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11698 * makefile.am: move counters functionality over
11699 from text2.C/paragraph.[Ch] to counters.[Ch], and
11701 2002-08-02 John Levon <levon@movementarian.org>
11703 * buffer.C: s/lyxconvert/lyx2lyx/
11705 2002-08-02 Angus Leeming <leeming@lyx.org>
11707 * lyxlex.C: revert John's change as it breaks reading of the user
11710 2002-08-02 Angus Leeming <leeming@lyx.org>
11712 * importer.C (Import):
11713 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11714 changes due to LyXView::view() now returning a boost::shared_ptr.
11716 2002-08-02 John Levon <levon@movementarian.org>
11718 * lyxlex.C: small cleanup
11720 2002-08-02 John Levon <levon@movementarian.org>
11722 * text2.C (status): small cleanup, no logic change
11724 2002-08-01 John Levon <levon@movementarian.org>
11727 * buffer.C (writeFile): don't output alerts, caller
11731 * lyx_cb.C: from above
11733 * lyxfunc.C: allow to open non-existent files
11735 2002-07-31 John Levon <levon@movementarian.org>
11737 * lyxserver.C: don't let incidental errors get
11740 2002-07-30 John Levon <levon@movementarian.org>
11742 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11744 2002-07-30 John Levon <levon@movementarian.org>
11747 * lyxserver.C: remove I/O callback too
11749 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11751 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11754 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11756 * many files: strip,frontStrip -> trim,ltrim,rtrim
11758 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11760 * PrinterParams.h: remove extern containsOnly, and include
11761 support/lstrings.h instead.
11763 * LaTeX.C (scanAuxFile): modify because of strip changes
11765 * buffer.C (makeLaTeXFile): ditto
11766 * bufferparams.C (writeFile): ditt
11767 * lyxfont.C (stateText): ditto
11768 * lyxserver.C (read_ready): ditto
11769 * vc-backend.C (scanMaster): ditto
11771 * BufferView_pimpl.h: ws changes
11773 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11775 2002-07-26 André Pönitz <poenitz@gmx.net>
11777 * kb_sequence.C: remove unnedred usings
11779 2002-07-26 Juergen Vigna <jug@sad.it>
11781 * lyxfind.C (LyXReplace): we have to check better if the returned
11782 text is not of theLockingInset()->getLockingInset().
11784 2002-07-25 Juergen Vigna <jug@sad.it>
11786 * lyxfind.C (LyXReplace): don't replace if we don't get the
11789 * undo_funcs.C (createUndo): remove debugging code.
11791 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11793 * buffer.C (parseSingleLyXformat2Token): Use default placement
11794 when reading old floats.
11796 * FloatList.C (FloatList): Change the default placement of figure
11797 and tables to "tbp".
11799 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11801 * MenuBackend.C: using std::max
11803 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11805 * MenuBackend.C (expandToc):
11806 (expandToc2): code moved from xforms menu frontend. It is now
11807 generic and TOCs are transparent to menu frontends.
11809 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11811 * toc.C (getTocList): protect against buf=0
11813 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11814 Menu as first parameter. Now, this calls itself recursively to
11815 expand a whole tree (this will be useful for TOC handling)
11816 (expandFloatInsert): remove 'wide' version of floats
11818 * MenuBackend.h (submenuname): returns the name of the submenu.
11819 (submenu): returns the submenu itself, provided it has been
11820 created by MenuBackend::expand
11822 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11824 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11825 insets which have noFontChange == true. (bug #172)
11827 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11829 * BufferView_pimpl.C: add connection objects and use them...
11832 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11834 * MenuBackend.C (expandLastfiles):
11837 (expandFloatListInsert):
11838 (expandFloatInsert):
11839 (expand): split expand in parts
11841 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11843 * lyx_gui.C: use lyx_gui::exit()
11845 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11847 * LyXAction.C: show the failing pseudo action
11849 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11851 * buffer.C (readFile): Run the lyxconvert script in order to read
11854 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11858 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11860 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11864 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11866 2002-07-22 Herbert Voss <voss@lyx.org>
11869 * lyxlength.[Ch]: add support for the vertical lengths
11871 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11873 * toc.[Ch]: std:: fixes
11875 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11877 * lyxrc.C: do not include lyx_main.h
11879 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11885 * BufferView2.C: include "lyxlex.h"
11888 * bufferparams.h: do not #include "lyxlex.h"
11890 * lyxtextclasslist.C (Add): remove method
11891 (classlist): renamed to classlist_
11893 * paragraph_pimpl.C:
11897 * bufferview_funcs.C:
11902 * toc.C (getTocList): use BufferParams::getLyXTextClass
11904 * toc.C (getTocList): use InsetFloat::addToToc
11906 * toc.[Ch]: new files, containing helper functions to handle table
11909 * lyxfunc.C (dispatch): no need to remove spaces around command
11911 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11912 first command of the sequence; it is not very clever, but I do not
11913 have a better idea, actually
11915 * LyXAction.C (LookupFunc): make sure to remove space at the
11916 beginning and end of the command
11918 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11920 * MenuBackend.C (getMenubar): new method: return the menubar of
11922 (read): treat differently reading of menu and menubar (in
11923 particular, the menubar has no name now)
11924 (Menu::menubar): remove
11926 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11929 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11931 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11932 a bibitem inset in a RTL paragraph.
11934 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11936 * paragraph_pimpl.C: constify
11938 * BufferView_pimpl.C:
11940 * lyxfunc.C: fix dispatch in a nicer way
11942 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11944 * lyxfunc.C (dispatch):
11945 * BufferView_pimpl.C:
11946 * BufferView_pimpl.h:
11948 * BufferView.h: rename Dispatch() to dispatch()
11950 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11952 * lyxlayout.C (Read): honor DependsOn tag
11954 * lyxlayout.[Ch] (depends_on): new method
11956 * version.C.in: update lyx_docversion
11958 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11960 * paragraph.C (validate): remove from here...
11961 * paragraph_pimpl.C (validate): ... and move here
11962 (isTextAt): make it const
11964 * buffer.C (getLists): ws cleanup
11966 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11968 * language.C (read): Use iso8859-1 encoding in latex_lang
11969 (this prevents LyX from crashing when using iso10646-1 encoding).
11971 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11973 * text2.C (toggleInset): if cursor is inside an inset, close the
11974 inset and leave cursor _after_ it
11976 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11978 * lyxfunc.C: move minibuffer completion handling out of here
11980 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11982 * BufferView_pimpl.C:
11983 * LaTeX.C: fix dispatch calls
11985 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11987 * text.C (drawChars): Fix Arabic text rendering.
11989 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11993 * lyxfunc.C: remove message-push/pop
11997 * lyxfunc.C: rationalise some code by removing verboseDispatch
11998 in favour of a bool argument to dispatch()
12000 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12002 * lyx_main.C (init): make sure to read symlinks as absolute paths
12004 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12007 * lyxfunc.C: no need for commandshortcut to be a member
12009 2002-07-15 André Pönitz <poenitz@gmx.net>
12011 * converter.C: add support for $$s (scripts from lib/scripts dir)
12012 * lyx_main.C: white space
12014 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12018 * lyxrc.C: remove second exit confirmation
12020 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12025 * BufferView_pimpl.h:
12026 * BufferView_pimpl.C:
12027 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12029 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12031 * MenuBackend.C (expand): add numeric shortcuts to document menu
12033 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12035 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12037 * lyxfont.C (setLyXFamily):
12044 * buffer.C (asciiParagraph): use ascii_lowercase
12046 2002-07-15 Mike Fabian <mfabian@suse.de>
12048 * lyxlex_pimpl.C (search_kw):
12049 * lyxlex.C (getLongString):
12050 * converter.h (operator<):
12051 * converter.C (operator<):
12052 * buffer.C (parseSingleLyXformat2Token):
12054 * ToolbarDefaults.C (read):
12055 * MenuBackend.C (checkShortcuts):
12057 * LColor.C (getFromGUIName):
12058 (getFromLyXName): use the compare_ascii_no_case instead of
12059 compare_no_case, because in turkish, 'i' is not the lowercase
12060 version of 'I', and thus turkish locale breaks parsing of tags.
12062 2002-07-16 Angus Leeming <leeming@lyx.org>
12064 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12065 now takes a Buffer const & argument.
12067 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12069 * BufferView.C (resize): check there's a buffer to resize
12071 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12073 * lyxfunc.C: remove dead code
12076 * lyxserver.C: use lyx_guii::set_read_callback
12078 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12080 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12081 an inset in a RTL paragraph.
12083 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12085 * lyxfunc.C: repaint after a font size update
12087 2002-07-15 André Pönitz <poenitz@gmx.net>
12089 * lyxlength.C: inBP should be able to return negative values
12091 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12093 * lyxfunc.C: use lyx_gui::update_fonts()
12095 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12097 * lyxfunc.C: use lyx_gui::update_color()
12099 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12105 * lyxrc.C: remove file->new asks for name option, and let
12106 buffer-new take an argument
12108 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12110 * BufferView_pimpl.C: remove unneeded extra repaint()
12112 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12114 * LyXAction.C: allow command-sequence with NoBuffer
12116 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12118 2002-07-10 Angus Leeming <leeming@lyx.org>
12120 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12122 2002-07-09 Angus Leeming <leeming@lyx.org>
12124 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12126 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12128 * lengthcommon.h: whitespace
12130 * lyxfunc.C: update scrollbar after goto paragraph
12132 * lyxtext.h: factor out page break drawing, and fix it so
12133 page break/added space paints as selected nicely
12135 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12137 * BufferView_pimpl.C: add FIXMEs, clean up a little
12139 2002-07-09 André Pönitz <poenitz@gmx.net>
12141 * lyxfont.[Ch]: support for wasy symbols
12143 2002-07-08 André Pönitz <poenitz@gmx.net>
12145 * BufferView_pimpl.C: apply John's patch for #93.
12147 2002-07-05 Angus Leeming <leeming@lyx.org>
12149 * BufferView_pimpl.C (buffer): generate previews if desired.
12151 * LColor.h: add "preview" to the color enum.
12153 * LColor.C (LColor): add a corresponding entry to the items array.
12155 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12158 2002-07-05 Angus Leeming <leeming@lyx.org>
12160 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12161 The body of the code is now in the method that is passed an ostream &
12162 rather than a file name.
12163 Pass an additional only_preamble parameter, useful for the forthcoming
12166 2002-07-03 André Pönitz <poenitz@gmx.net>
12168 * lyxfunc.C: simplify getStatus() a bit for math stuff
12170 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12172 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12174 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12176 * text.C (changeRegionCase): do not change case of all the
12177 document when region ends at paragraph end (bug #461)
12179 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12181 * paragraph.C (startTeXParParams):
12182 (endTeXParParams): add \protect when necessary
12184 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12186 * BufferView_pimpl.C (workAreaExpose): remove warning
12188 2002-06-27 Angus Leeming <leeming@lyx.org>
12190 * Makefile.am: add lyxlayout_ptr_fwd.h.
12192 2002-06-26 André Pönitz <poenitz@gmx.net>
12194 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12196 2002-06-25 Angus Leeming <leeming@lyx.org>
12198 * lyxfunc.C (dispatch): Comment out the call to
12199 grfx::GCache::changeDisplay. The method no longer exists now that the
12200 pixmap generation part of the graphics loader has been moved into
12203 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12205 * text2.C: layout as layout
12207 * text.C: layout as layout
12209 * tabular.C (OldFormatRead): layout as layout
12211 * paragraph_pimpl.C (TeXDeeper): layout as layout
12212 (realizeFont): layout as layout
12214 * paragraph.C (writeFile): layout as layout
12215 (validate): layout as layout
12216 (getFont): layout as layout
12217 (getLabelFont): layout as layout
12218 (getLayoutFont): layout as layout
12219 (breakParagraph): layout as layout
12220 (stripLeadingSpaces): layout as layout
12221 (getEndLabel): layout as layout
12222 (getMaxDepthAfter): layout as layout
12223 (applyLayout): layout as layout
12224 (TeXOnePar): layout as layout
12225 (simpleTeXOnePar): layout as layout
12226 (TeXEnvironment): layout as layout
12227 (layout): layout as layout
12228 (layout): layout as layout
12230 * lyxtextclass.C (compare_name): new functor to work with
12231 shared_ptr, layout as layout
12232 (Read): layout as layout
12233 (hasLayout): layout as layout
12234 (operator): layout as layout
12235 (delete_layout): layout as layout
12236 (defaultLayout): layout as layout
12238 * lyxlayout_ptr_fwd.h: new file
12240 * lyxlayout.C (Read): layout as layout
12242 * lyx_cb.C (MenuInsertLabel): layout as layout
12244 * bufferlist.C (newFile): layout as layout
12246 * buffer.C (readLyXformat2): layout as layout
12247 (parseSingleLyXformat2Token): layout as layout
12248 (insertStringAsLines): layout as layout
12249 (asciiParagraph): layout as layout
12250 (latexParagraphs): layout as layout
12251 (makeLinuxDocFile): layout as layout
12252 (simpleLinuxDocOnePar): layout as layout
12253 (makeDocBookFile): layout as layout
12254 (simpleDocBookOnePar): layout as layout
12255 (getLists): layout as layout
12257 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12259 * CutAndPaste.C (cutSelection): layout as layout
12260 (pasteSelection): layout as layout
12261 (SwitchLayoutsBetweenClasses): layout as layout
12263 * BufferView_pimpl.C (Dispatch): layout as layout
12264 (smartQuote): layout as layout
12266 * BufferView2.C (unlockInset): layout as layout
12268 2002-06-24 André Pönitz <poenitz@gmx.net>
12270 * lyxfunc.C: fix #487
12272 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12276 * lyxfunc.C: remove display_shortcuts, show_banner
12278 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12280 * Buffer_pimpl.C: oops, update on resize
12282 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12289 * BufferView.C: use repaint()
12291 * BufferView_pimpl.h:
12292 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12293 as it's a clearer description. Remove superfluous
12296 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12298 * text.C: fix bug 488. Not ideal, but getting
12299 getWord() to work properly for the insets that
12300 matter is more difficult ...
12302 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12304 * BufferView_pimpl.C:
12307 * lyxfunc.C: remove the six million index lyxfuncs to just
12308 one, and DTRT (bug 458)
12310 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12314 * BufferView_pimpl.h:
12315 * BufferView_pimpl.C: clean up resize() stuff,
12316 and unnecessary updateScreen()s
12318 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12322 * BufferView_pimpl.h:
12323 * BufferView_pimpl.C:
12326 * minibuffer.C: remove focus management of workarea,
12327 not needed. Use screen's greyOut()
12329 2002-06-17 Herbert Voss <voss@lyx.org>
12331 * converter.C: (convert) do not post a message, when converting
12332 fails, let the calling function decide what to do in this case
12334 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12336 * lyxfunc.C: tidy up a little
12338 2002-06-16 <alstrup@diku.dk>
12340 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12341 Got rid of FORMS_H_LOCATION include. Now we are
12344 2002-06-15 LyX Development team <lyx@rilke>
12346 * buffer.[Ch] (sgmlOpenTag):
12347 (sgmlCloseTag): Added support for avoiding pernicious mixed
12348 content. Return number of lines written.
12350 (makeLinuxDocFile):
12351 (makeDocBookFile): Fixed calls to sgml*Tag.
12352 Simple white space clean.
12354 (simpleDocBookOnePar): Simple white space clean.
12356 * tabular.[Ch] (docBook): Renamed to docbook and got another
12357 argument to related with the pernicious mixed content.
12359 (docbookRow): Fixed calls for docbook inset method.
12361 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12363 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12364 so it's X11 independent.
12368 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12370 2002-06-15 Lyx Development team <lyx@electronia>
12372 * intl.h: Renamed getTrans to getTransManager.
12374 2002-06-14 Angus Leeming <leeming@lyx.org>
12376 * Makefile.am: nuke forgotten stl_string_fwd.h.
12378 2002-06-12 Angus Leeming <leeming@lyx.org>
12380 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12382 2002-06-13 Angus Leeming <leeming@lyx.org>
12385 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12387 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12389 * kbmap.C (getiso): add support for cyrillic and greek
12391 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12395 * BufferView_pimpl.h:
12396 * BufferView_pimpl.C: move bogus scrolling logic
12399 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12402 * BufferView_pimpl.C: view->resize() change
12404 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12406 * BufferView_pimpl.C: topCursorVisible
12409 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12413 * lyx_gui.C: move to frontends/
12417 * lyx_main.C: changes from above
12419 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12426 * lyx_main.C: minor tidy
12428 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12430 * BufferView_pimpl.h:
12431 * BufferView_pimpl.C:
12433 * BufferView.C: make painter() const,
12436 * BufferView2.C: use screen() accessor
12439 * lyx_main.C: some minor cleanup
12441 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12443 * BufferView_pimpl.h:
12444 * BufferView_pimpl.C: remove enter/leaveView,
12447 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12452 * BufferView_pimpl.h:
12453 * BufferView_pimpl.C: only construct screen once,
12456 * lyxrc.C: remove pointless comment
12458 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12461 * BufferView.C: remove active() and belowMouse()
12463 * BufferView_pimpl.h:
12464 * BufferView_pimpl.C: use workarea() not workarea_,
12465 and make it use a scoped_ptr instead
12467 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12469 * lyx_gui.C: add debug message on BadWindow
12471 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12473 * sp_spell.C: fdopen is not part of the C++ standard.
12475 * paragraph.C (InsetIterator): use >= instead of ==
12477 2002-06-07 Angus Leeming <leeming@lyx.org>
12479 Fixes needed to compile with Compaq cxx 6.5.
12480 * BufferView_pimpl.C:
12487 * lyxtextclasslist.C:
12492 all c-library variables have been moved into namespace std. Wrap
12493 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12498 Add a using std::abs declaration.
12500 * kbmap.h (modifier_pair):
12501 * paragraph.h (InsetTable, InsetList):
12502 * lyxfont.h (FontBits):
12503 type definition made public.
12505 * bufferlist.C (emergencyWriteAll): the compiler complains that
12506 there is more than one possible lyx::class_fun template to choose from.
12507 I re-named the void specialisation as lyx::void_class_fun.
12509 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12511 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12512 the compiler is is unable to find tostr in write_attribute.
12514 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12516 * buffer.C (sgmlError): hide #warning
12518 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12520 * xtl/*: get rid of xtl, which is not in use anyway
12522 * LyXAction.C (init):
12523 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12524 were unimplemented xtl experimentation
12526 2002-06-04 André Pönitz <poenitz@gmx.net>
12528 * lyxfunc.C: disable array operation on simple formulae
12530 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12532 * converter.C: constify a bit
12534 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12536 * lyx_gui.C: check xforms version correctly
12538 2002-04-30 Herbert Voss <voss@lyx.org>
12540 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12543 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12545 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12546 attempt to register it with a VCS)
12548 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12550 * lyx_main.C (init): honor variables LYX_DIR_13x and
12553 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12557 * lyx_main.C: fix a crash on bad command line,
12558 and give a useful exit status on error
12560 * lyxfunc.C (doImport): allow -i lyx to work
12562 2002-03-30 André Pönitz <poenitz@gmx.net>
12564 * lyxfunc.C: mathed font changes
12566 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12581 * trans_mgr.h: srcdocs, and some minor cleanups
12583 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12585 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12586 call getFont all the time)
12588 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12590 * switch from SigC signals to boost::signals
12592 2002-05-29 André Pönitz <poenitz@gmx.net>
12594 * paragraph_pimpl.C (getChar): don't call size() too often...
12596 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12598 * paragraph_pimpl.C (insertChar): do not try to update tables when
12599 appending (pos == size())
12601 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12602 in order to reduce drastically the number of comparisons needed to
12603 parse a large document
12605 2002-05-29 André Pönitz <poenitz@gmx.net>
12611 * textclasslist.[Ch]:
12612 * sp_ispell.h: whitespace change
12614 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12616 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12617 lyxaction directly now.
12619 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12623 * lyxvc.C: remove unused headers
12625 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12632 * undo_funcs.C: some cleanups. Use shared_ptr
12633 and a template for the undo stacks.
12635 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12637 * BufferView_pimpl.h:
12638 * BufferView_pimpl.C:
12645 * text2.C: use key_state/mouse_state
12647 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12649 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12652 * chset.C: change include order
12653 (loadFile): use boost regex and get rid of LRegex and LSubstring
12655 * Makefile.am (BOOST_LIBS): new variable
12656 (lyx_LDADD): use it
12658 * LaTeX.C: change include order.
12659 (scanAuxFile): use boost regex and get rid of LRegex and
12663 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12668 * FontInfo.C: moved to frontends/xforms/
12671 * FontLoader.C: moved into frontends for GUIIzation
12676 * lyxfunc.C: changes from above
12678 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12680 * LColor.C: remove spurious X include
12682 * BufferView_pimpl.C:
12687 * text2.C: move font metrics to frontends/
12689 2002-05-24 Juergen Vigna <jug@sad.it>
12691 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12692 setting the undo_cursor.
12694 * ParagraphParameters.h: include local includes first.
12696 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12698 * BufferView_pimpl.C:
12699 * BufferView_pimpl.h:
12703 * screen.C: move WorkArea into frontends/
12709 * BufferView2.C: move LyXScreen into frontends/
12713 * lyx_gui.C: move lyxlookup into frontends/xforms/
12715 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12718 * BufferView_pimpl.C:
12728 * bufferview_funcs.C:
12741 * vc-backend.C: move LyX/XFormsView into frontends/
12743 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12755 * text2.C: move Painter to frontends/
12757 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12759 * buffer.C: comment out some some code that depend upon lyx_format
12762 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12763 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12765 * buffer.h (NO_COMPABILITY): turn off compability
12767 * ColorHandler.C: include scoped_array.hpp
12769 * font.C: Use more specific smart_ptr header.
12772 * ShareContainer.h: ditto
12773 * lyx_main.h: ditto
12775 * FontInfo.h: ditto
12776 * BufferView_pimpl.h: ditto
12777 * ColorHandler.h: ditto
12779 * kbmap.C (defkey): change call to shared_ptr::reset
12781 2002-05-21 Juergen Vigna <jug@sad.it>
12783 * buffer.C (insertErtContents): fix to insert ert asis if it is
12784 non empty. Skip it completely if it contains only whitespaces.
12786 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12788 * BufferView_pimpl.C:
12789 * BufferView2.C: clear selection on paste (bug 393)
12791 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12793 * DepTable.C: include ctime
12795 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12797 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12799 2002-05-14 Juergen Vigna <jug@sad.it>
12801 * text.C (breakParagraph): fixed function to honor the keepempty
12802 layout in the right maner and also to permit the right breaking
12803 algorithm on empty or non empyt keepempty paragraphs.
12805 * paragraph.C (breakParagraph): we have to check also if the par
12806 is really empty (!size()) for isempty otherwise we do the wrong
12809 2002-05-10 Juergen Vigna <jug@sad.it>
12811 * buffer.[Ch] : The following are only changes to the ert
12812 compatibility read reading old LaTeX layout and font stuff and
12813 convert it to ERTInsets.
12815 * buffer.h: added isErtInset().
12817 * buffer.C (struct ErtComp): add a fromlayout bool to check
12818 if we're inside a LaTeX layout.
12819 (isErtInset): new helper function.
12820 (insertErtContents): look for other ert insets before this one
12821 and insert the contents there, so that we don't have subsequent
12822 ERT insets with nothing between them. This way we create only one
12823 inset with multiple paragraphs. Also check if we don't insert only
12824 spaces ' ' as they are ignored anyway afterwards in the .tex file
12825 so if we have only spaces we will ignore this latex part in the
12827 (parseSingleLyXformat2Token \\layout): better compatibility when
12828 reading layout-latex stuff.
12829 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12831 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12832 stuff after reading the inset only get the information back from
12835 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12837 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12839 * LaTeXFeatures.C (getBabelOptions): New method.
12841 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12843 * BufferView_pimpl.C (Dispatch): work around missing argument for
12846 2002-05-08 Juergen Vigna <jug@sad.it>
12848 * text.C (leftMargin): handle paragraph leftindent.
12850 * paragraph.C (writeFile): write the new \\leftindent tag.
12851 (validate): handle leftindent code.
12852 (TeXEnvironment): handle paragraphleftindent code again.
12854 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12856 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12857 for paragrap_extra indent code and new token \\leftindent.
12858 (latexParagraphs): handle the leftindent as environment.
12860 * ParameterStruct.h: added leftindent support.
12862 * ParagraphParameters.C (leftIndent): added support functions for
12863 the paragraph left indent.
12865 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12868 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12870 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12873 * text.C (computeBidiTables): No bidi in insetERT.
12875 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12878 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12880 * version.C.in: pre 5
12882 2002-05-02 José Matos <jamatos@fep.up.pt>
12883 * buffer.C (makeDocBookFile): white space changes, add newline to
12885 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12887 * tabular.C (docBook): fix typo.
12889 2002-05-03 Juergen Vigna <jug@sad.it>
12891 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12892 change in LyXText as we can not be sure it was not freed.
12893 (drawOneRow): remove unused code.
12895 * text.C (drawInset): redo the calculation of the need_break_row as
12896 it could have a row which was already freed.
12897 (draw): look at the return value of drawInset and return false if
12898 it also returned false.
12899 (paintRowText): look at the return value of draw and return false if
12900 it also returned false.
12902 * lyxtext.h: added bool return type to drawInset() and draw() so that
12903 if we have a change in the row so that the rowbreak has to be redone
12904 we abort drawing as it will be called again.
12906 2002-05-02 Juergen Vigna <jug@sad.it>
12908 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12909 a change in the maintext also if we're inside an inset.
12910 (Dispatch): set the cursor again after a break line and after the
12911 screen has been updated as it could be we're in a different row.
12913 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12914 to set the cursor behind the pargraph with > size().
12915 (setCursor): check also for the same paragraph when checking where
12916 to put the cursor if we have a NFR inset.
12918 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12919 parts of layout read further up as it still was in the wrong
12922 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12924 * screen.C (drawFromTo): change sine fullRebreak always return
12927 * buffer.C (parseSingleLyXformat2Token): reindent some
12929 * BufferView_pimpl.C (update): change since fullRebreak always
12931 (Dispatch): git rid of the last hardcoded "Standard"s.
12933 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12935 * text2.[Ch] (fullRebreak): make it return void now that we always
12938 2002-04-30 Juergen Vigna <jug@sad.it>
12940 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12941 ert compatibility check for "latex" layout.
12943 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12945 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12946 minipages: use col% instead of p%, and also use the current font.
12947 (makeLaTeXFile): Fix use babel condition.
12948 (parseSingleLyXformat2Token): Correct font when reading old floats.
12950 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12952 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12953 inserting list of floats.
12955 2002-04-25 Herbert Voss <voss@lyx.org>
12957 * MenuBackend.C (expand): don't add the graphics extensions to the
12960 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12962 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12963 non-existing layout, do not complain if it was the default layout
12964 of the original class (bug #342)
12966 2002-04-24 Juergen Vigna <jug@sad.it>
12968 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12969 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12971 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12973 * buffer.C (getBibkeyList): If using \bibliography, return the
12974 option field with the reference itself. Enables us to provide natbib
12975 support when using \bibliography.
12977 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12979 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12981 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12982 natbib is provided by the LaTeX class.
12984 2002-04-23 Juergen Vigna <jug@sad.it>
12986 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12989 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12991 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12993 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12995 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12996 ensuremath around textordmasculine, textordfeminine and
12999 2002-04-19 Juergen Vigna <jug@sad.it>
13001 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13002 reinitializing the buffer otherwise row-dimensions may be wrong.
13003 (update): reset also the selection cursors if they do exits otherwise
13004 their x/y positions may be wrong.
13006 * text2.C (cursorDown): don't enter the inset if we came from a row
13007 above and are one row over the inset.
13009 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13010 really leaving an inset.
13012 2002-04-18 Juergen Vigna <jug@sad.it>
13014 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13015 of the selected paragraph does not have the selected layout also if
13018 * text2.C (setLayout): fixed bug which did not change last selected
13021 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13022 changed the read and substituted \\end_float with \\end_inset!
13024 * BufferView_pimpl.C (cursorPrevious):
13025 (cursorNext): fixed to make it work with rows heigher than the work
13026 area without moving the cursor only the draw of the row.
13027 (workAreaMotionNotify): fix jumping over high rows.
13029 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13031 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13034 2002-04-16 Juergen Vigna <jug@sad.it>
13036 * text2.C (setCursor): set also the irow().
13037 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13039 (cursorDown): support for locking an inset if the x_fix value goes
13040 inside it. That way I can transverse insets too with cursor up/down.
13042 * lyxrow.h: added irow helper function same as other (i) functions.
13044 * BufferView_pimpl.C (cursorPrevious):
13045 (cursorNext): fixed for insets!
13047 2002-04-15 Juergen Vigna <jug@sad.it>
13049 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13050 position otherwise it is wrong in some cases.
13052 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13053 inside the inset before the call.
13055 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13057 * buffer.[Ch] (getBibkeyList): make it const.
13059 2002-04-12 Juergen Vigna <jug@sad.it>
13061 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13063 * text2.C (getCursorX): new helper function
13064 (setCursor): compute also ix_
13065 (setCursorFromCoordinates): set also ix.
13067 * lyxcursor.h: added ix_ and helper functions.
13069 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13071 * buffer.C (insertStringAsLines): dont break paragraph if the this
13072 paragraph is inside an inset which does not permit it!
13074 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13075 also with no chars on this paragraph.
13076 (paintRowText): only paint stuff if it's inside the workarea!
13078 * paragraph.C (breakParagraph): honor keepempty flag and break the
13079 paragraph always below not above.
13081 * BufferView2.C (unlockInset): update the paragraph layout on inset
13082 unlock as we changed paragraph in such a case.
13084 * lyxfind.C (LyXFind): clear the former selection if not found!
13086 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13087 again called in insertChar().
13089 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13090 an inset which uses the whole row!
13091 (rightMargin): ditto.
13092 (insertChar): force a rebreak if we inserted an inset!
13094 2002-03-28 Herbert Voss <voss@lyx.org>
13096 * lyxlength.[Ch]: add inBP() to get the right PS-point
13097 units (BigPoint). With inPixels we have rounding errors
13099 2002-04-11 Juergen Vigna <jug@sad.it>
13101 * text2.C (setCursorFromCoordinates): set iy to the right value.
13102 (setCursor): add check if row->previous exists!
13104 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13105 an old float_type as this was the case in the old code!
13107 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13109 * BufferView2.C (showLockedInsetCursor): use iy
13110 (fitLockedInsetCursor): ditto
13112 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13113 locked insets as there we have the right value now.
13115 * lyxcursor.C: added iy_ variable and iy functions to set to the
13116 baseline of cursor-y of the locked inset.
13118 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13119 (setCursor): fixed for insets which need a full row.
13121 * text.C (rowLastPrintable): don't ignore the last space when before
13122 an inset which needs a full row.
13123 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13124 as last character of a row when before a inset which needs a full row.
13126 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13128 * version.C.in: update date
13130 * text2.C (fullRebreak): try to always return true and see what
13133 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13135 * MenuBackend.C (expand): use Floating::listName
13137 * FloatList.C (FloatList): add listName argument to the built-in
13140 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13141 text associated with the float.
13143 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13145 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13147 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13149 * ShareContainer.h: add a couple of missing typenames.
13151 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13153 * lyxrc.C (getDescription): use _() correctly rather than N_().
13155 2002-03-28 Herbert Voss <voss@lyx.org>
13157 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13158 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13160 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13162 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13163 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13165 2002-03-29 Juergen Vigna <jug@sad.it>
13167 * lyxfunc.C (dispatch): add a missing fitCursor call.
13169 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13170 it was scrolled by a cursor move, so return the bool status.
13172 * BufferView.C (fitCursor): return the bool flag also to the outside
13173 world as this is needed.
13175 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13177 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13178 call the edit() as it is not needed (and wrong) IMO.
13179 (workAreaButtonPress): set the screen_first variable before evt.
13180 unlock the inset as this may change screen_first and then we have
13181 a wrong y position for the click!
13183 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13185 * MenuBackend.C (expand): another translation that I missed
13187 2002-03-28 Juergen Vigna <jug@sad.it>
13189 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13191 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13193 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13195 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13197 * MenuBackend.C (expand): fix export/view/update when there is no
13200 2002-03-27 Herbert Voss <voss@lyx.org>
13202 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13205 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13207 * bufferview_funcs.C (currentState): only show paragraph number
13208 for is DEVEL_VERSION is set.
13210 * lyxfunc.C (dispatch): put warning in INFO channel
13212 * MenuBackend.C (expand): translate the name of floats
13214 * FloatList.C (FloatList): mark the float names for translation
13216 * converter.C (convert): use LibScriptSearch
13218 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13220 * MenuBackend.C (defaults): fix default menu (we might as well get
13223 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13225 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13228 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13230 * lyxvc.C: reorder includes.
13232 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13234 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13237 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13239 * CutAndPaste.C: change layouts earlier on paste
13240 to avoid crashing when calling getFont()
13242 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13244 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13247 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13249 * WorkArea.C: remove 'Pending' debug message.
13251 * most files: ws cleanup
13253 * buffer.[Ch]: ws changes
13255 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13257 2002-03-21 Juergen Vigna <jug@sad.it>
13259 * tabular.C (SetMultiColumn): collapse also the contents of the
13260 cells and set the last border right. Added a Buffer const * param.
13262 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13264 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13267 2002-03-19 Juergen Vigna <jug@sad.it>
13269 * text2.C (clearSelection): reset also xsel_cache.
13271 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13272 where it needs to be called (John tells us to do so too :)
13273 (selectionLost): reset sel_cache.
13275 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13277 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13279 * text2.C (setCursorIntern): put debuging code in INSETS channel
13281 2002-03-19 André Pönitz <poenitz@gmx.net>
13283 * lyxfunc.C: tiny whitespace change
13285 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13287 * ToolbarDefaults.C (init):
13288 * LyXAction.C (init):
13290 * BufferView_pimpl.C (Dispatch):
13291 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13293 2002-03-19 Allan Rae <rae@lyx.org>
13295 * exporter.C (Export): removeAutoInsets before doing anything else.
13296 While I've just introduced a dependency on BufferView this really is
13297 the best place to clean the buffer otherwise you need to cleanup in
13298 a dozen places before calling export or cleanup in a dozen functions
13301 * converter.C (runLaTeX):
13302 (scanLog): Better handling of removeAutoInsets and screen updates.
13304 * lyxfunc.C (dispatch): small whitespace changes
13306 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13308 * WorkArea.C (C_WorkAreaEvent): return a value.
13309 (event_cb): return 1 if we handled the event, 0 otherwise.
13311 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13313 2002-03-18 Juergen Vigna <jug@sad.it>
13315 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13316 (GetAdditionalWidth): ditto.
13317 (RightLine): ditto.
13320 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13321 inset if we're there actually (probably not used right now but this
13322 is the direction to go for unifying code).
13323 (paste): disable code to clear the selection.
13325 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13326 inside an InsetText and move the check further up as it is in the
13329 * text2.C (pasteSelection): set a selection over the pasted text.
13331 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13333 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13334 and libgraphics to build on Cygwin.
13336 2002-03-15 Juergen Vigna <jug@sad.it>
13338 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13339 inserting an Inset into the paragraph. I know this is not the best
13340 fix but we already use current_view in CutAndPaste so we will remove
13341 all of it's using at the same time.
13343 * buffer.C (sgmlError): deactivated function till it is rewritten in
13344 the right mode, now it can create problems.
13346 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13347 before accessing it.
13349 2002-03-14 Juergen Vigna <jug@sad.it>
13351 * undo_funcs.C (textHandleUndo): do the right thing when updating
13352 the inset after the undo/redo.
13354 * text2.C (setCursor): just some testcode for #44 not ready yet.
13356 * undo_funcs.C (textHandleUndo): set the next() and previous()
13357 pointers of the paragraph to 0 before deleting otherwise we have
13358 problems with the Paragraph::[destructor].
13360 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13361 on a paragraph insertion.
13363 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13365 * buffer.C (asciiParagraph): use += operator for char append to
13368 * paragraph.C (getFontSettings): compare >= not just >
13369 (highestFontInRange): ditto
13372 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13374 * paragraph.C: change several algorithm to be more appripriate for
13375 the problem domain. This is lookip in FontList and in the InsetList.
13377 2002-03-13 André Pönitz <poenitz@gmx.net>
13380 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13382 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13387 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13389 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13391 * Painter.C (display): anon helper function, adjust code for this
13393 (pixmap): remove function.
13395 * Painter.h: remove private display variable.
13397 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13399 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13401 * WorkArea.[Ch]: remove figinset_canvas cruft.
13403 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13405 * lyxtextclass.C (operator): add one item cache optimization.
13407 * bufferlist.h: doxy changes
13409 * bufferlist.C: ws changes
13411 * DepTable.[Ch] (ext_exist): place const in the right spot.
13413 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13415 (workAreaExpose): call resizeInsets when the with BufferView changes.
13416 (Dispatch): adjust for protectedBlank removal
13417 (specialChar): call updateInset if the insert went ok.
13419 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13420 specialChar instead.
13422 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13424 * BufferView.h: doxy change
13426 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13428 * lyxtextclass.C (operator[]): remove non-const version
13429 (defaultLayout): remove non-const version
13431 2002-03-12 Juergen Vigna <jug@sad.it>
13433 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13434 did resize the LyXText too.
13436 * buffer.C (readLyXformat2): set layout information on newly allocated
13439 * tabular.C (OldFormatRead): set layout information on the paragraph.
13441 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13443 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13445 2002-03-11 Juergen Vigna <jug@sad.it>
13447 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13449 (resizeCurrentBuffer): force also the insets to resize themselfes.
13450 (moveCursorUpdate): fixed up for InsetText.
13452 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13455 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13456 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13457 value of Dialogs::tooltipsEnabled().
13458 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13460 2002-03-08 Juergen Vigna <jug@sad.it>
13462 * BufferView_pimpl.C (updateInset): update inset inside inset also
13463 if it isn't inside theLockingInset().
13465 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13467 * buffer.C (asciiParagraph): redo some of the word and line length
13469 (getLists): look for Caption instead of caption.
13471 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13473 * buffer.C (Buffer): initialize niceFile to true
13475 (makeLinuxDocFile):
13476 (makeDocBookFile): make sure niceFile is true on exit
13478 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13480 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13482 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13484 * LyXSendto.C: remove.
13485 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13486 * lyx_gui.C: remove now-redundant comment.
13487 * ColorHandler.h: remove forward declaration of class WorkArea.
13488 * lyxfunc.C: remove #include "WorkArea.h".
13490 2002-03-07 Juergen Vigna <jug@sad.it>
13492 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13493 got moved away with the DEPM and also set the inset_owner always
13494 right which before could have been omitted.
13496 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13498 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13499 wanted layout is not found.
13501 2002-03-07 Juergen Vigna <jug@sad.it>
13503 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13505 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13507 * paragraph.C (breakParagraph): use default layout not layout of
13509 (Paragraph): clear ParagraphParameters.
13511 2002-03-06 Juergen Vigna <jug@sad.it>
13513 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13514 otherwise it would not be a valid lenght. Fixed a special case in
13515 the minipage compatibility read where we end the document with a
13518 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13519 was set as it could be 0 for InsetTexts first entry.
13521 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13523 * paragraph.C (writeFile): if layout is empty write out
13524 defaultLayoutName().
13526 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13527 file without named layout we set layout to defaultLayoutName().
13529 2002-03-06 Juergen Vigna <jug@sad.it>
13531 * CutAndPaste.C (copySelection): set layout for new paragraph.
13533 * text.C (prepareToPrint): leave ERT inset left aligned
13534 (leftMargin): don't indent paragraphs inside ERT insets
13536 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13538 * paragraph.C (breakParagraph): dont call clear do the work manually
13540 * paragraph.[Ch] (clear): remove function
13542 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13544 * paragraph.C (Paragraph): dont call clear, the work has already
13547 * lyxtextclass.C (operator): assert if n is empty
13549 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13550 work manually instead.
13552 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13554 * BufferView_pimpl.C: protect selectionLost against text == 0
13556 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13558 * text.C (breakParagraph): fix a setting layout to '0' problem.
13560 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13562 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13563 final location of file, for the included files, and graphics.
13565 2002-03-05 Juergen Vigna <jug@sad.it>
13567 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13569 2002-03-04 Juergen Vigna <jug@sad.it>
13571 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13573 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13574 last column of multicolumn cells.
13575 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13577 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13579 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13580 file if it doesn't go to a temporary file.
13582 * buffer.C (sgmlOpenTag):
13583 (sgmlCloseTag): remove extra newline insertion.
13585 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13587 * text.C (getRowNearY): comment out debug msg
13589 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13591 * text2.C: first -> first_y
13593 * text.C (getRowNearY): add some attemts at a possible
13594 optimization, not working.
13596 * tabular.[Ch]: add BufferParams to several function so that newly
13597 created paragraph can be initialized to he default layotu for the
13600 * tabular-old.C (ReadOld): add buf->params to call of Init
13602 * screen.C: rename text->first to text->first_y
13604 * paragraph.C (breakParagraph): always set layout in the broken
13607 * lyxtextclass.C (Read): remove lowercase
13610 (delete_layout): ditto
13612 * lyxtext.h: rename first -> first_y
13614 * lyxlayout.C (Read): remove lowercase
13617 (obsoleted_by): ditto
13619 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13621 * buffer.C (insertErtContents): add params are to InsetERT
13622 (parseSingleLyXformat2Token): add code to check if a paragraphs
13623 layout really exist.
13624 (parseSingleLyXformat2Token): add params to several inset
13626 (asciiParagraph): remove lowercase, do the layout comparisons with
13629 * BufferView_pimpl.C (cursorNext): first -> first_y
13630 (resizeCurrentBuffer): first -> first_y
13631 (updateScrollbar): first -> first_y
13632 (scrollCB): first -> first_y
13633 (workAreaMotionNotify): first -> first_y
13634 (workAreaButtonPress): first -> first_y
13635 (checkInsetHit): first -> first_y
13636 (cursorPrevious): first -> first_y
13637 (cursorNext): first -> first_y
13638 (Dispatch): add buffer_->params to severl inset contructors
13640 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13642 * lyxlayout.C (Read): remove some debug info that I forgot.
13644 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13645 clean up the code slightly.
13646 (makeLinuxDocFile): ditto
13647 (makeDocBookFile): ditto
13649 * text2.C: layout as string
13651 * text.C: layout as string
13653 * paragraph_pimpl.C: layout as string
13655 * paragraph.[Ch]: layout as string
13657 * lyxtextclasslist.[Ch]: layout as string
13659 * lyxtextclass.[Ch]: layout as string
13661 * lyxtext.h: layout as string
13663 * lyxlayout.[Ch]: layout as string
13665 * lyx_cb.C: layout as string
13667 * bufferview_funcs.C: layout as string
13669 * bufferparams.C: layout as string
13671 * buffer.C: layout as string
13673 * LyXView.[Ch]: layout as string
13675 * LaTeXFeatures.[Ch]: layout as string
13677 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13679 * BufferView_pimpl.C: change current_layout to string, remove
13684 (workAreaButtonRelease): layout as string
13686 * BufferView2.C (unlockInset): adjust
13688 * vspace.C (asLatexCommand): use an explict temp variable.
13690 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13692 * Makefile.am: use FRONTEND_*
13694 2002-03-01 Juergen Vigna <jug@sad.it>
13696 * tabular.C (SetWidthOfMulticolCell): changed to something better
13697 I hope but still work in progress.
13698 (recalculateMulticolumnsOfColumn): renamed function from
13699 recalculateMulticolCells as it is more appropriate now.
13700 (SetWidthOfCell): calculate multicols better.
13702 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13704 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13706 * lyxfunc.C (processKeySym): print sequence also if it is
13707 `deleted' (complete)
13709 * kbsequence.C (print): print sequence even if it is deleted
13710 (complete would be a better word, actually).
13712 * lyxfunc.C (dispatch): print complete options after a prefix key
13714 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13716 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13718 * text2.C (setCharFont): eliminate setCharFont code duplication.
13720 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13722 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13723 LFUN_TABULAR_FEATURE (bug #177)
13725 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13727 * Makefile.am: remove figure.h
13729 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13731 * Bufferview_pimpl.C:
13743 * text2.C: remove #include "lyx_gui_misc.h".
13745 * LaTeX.C: added #include <cstdio>
13747 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13749 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13750 that the paragraph following this one can have.
13752 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13754 * vspace.C (asLatexCommand): fix bogus gcc warning
13756 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13758 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13760 * text2.C (setLayout): get rid of redundant code
13762 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13764 * text2.C (incDepth): make sure depth cannot be increased beyond
13767 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13769 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13770 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13772 * PainterBase.h (image):
13773 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13774 a LyXImage const *.
13776 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13780 * BufferView_pimpl.C:
13781 * BufferView_pimpl.h:
13801 * sp_spell.C: remove fig inset, and the crap house of
13802 cards that follows it
13804 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13809 * os2_errortable.h:
13810 * nt_defines.h: move .h into support/
13812 * vms_defines.h: remove
13814 * WorkArea.C: add space in debug output
13818 * buffer.C: add WITH_WARNINGS
13822 * bufferlist.C: s/retrive/retrieve/, add docs
13831 * chset.C: add docs
13833 * lyxgui.C: add ID to X error handler
13835 * lyxtestclass.c: fix typo
13837 2002-02-26 Juergen Vigna <jug@sad.it>
13839 * tabular_funcs.C (write_attribute): changed so that some default
13840 attributes are not written at all.
13841 (getTokenValue): set default values before trying to read the
13842 value so we have the return value always set as default if we don't
13843 find the token we search for.
13845 * tabular.C (Write): write bools as bools not as strings!
13847 2002-02-22 Juergen Vigna <jug@sad.it>
13849 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13850 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13852 * text.C (leftMargin): don't add an indent for paragraphs inside
13853 tabular cells (fix #208).
13855 2002-02-21 José Matos <jamatos@fep.up.pt>
13857 * tabular.C (docBook): fixed support for long tables.
13859 2002-02-20 Juergen Vigna <jug@sad.it>
13861 * text2.C (getFont): get the drawing font of the Inset if this
13862 paragraph is inside an inset (only important for InsetERT for now).
13864 * buffer.C (insertErtContents): use new lanugage params in ERT
13867 * CutAndPaste.C: commenting out seemingly uneeded code.
13869 2002-02-19 Allan Rae <rae@lyx.org>
13871 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13872 Iterators might be simple to use but they also get invalidated.
13873 (removeAutoInsets): renamed saved cursor tracking variables and added
13874 some comments to clarify what everything does.
13876 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13883 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13884 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13887 * vc-backend.h: remove #include "support/syscall.h"
13891 * converter.C: rearrange #includes in Lars' approved fashion.
13893 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13894 forward declare class Timeout in the header file.
13896 * XFormsView.C: changes due to the above.
13898 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13899 similar to LyXView.
13901 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13902 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13904 2002-02-18 José Matos <jamatos@fep.up.pt>
13906 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13909 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13911 * a lot of small ws changes
13912 * add a lot of using std::XXX
13913 * use std construcs some places where approp.
13914 * use some exisint stuff from lyxfunctional where approp.
13915 * Make file changes to use partial linking (lets test this now...)
13917 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13921 remove #include "support/syscontr.h" as it's redundant. Always has been.
13929 change Systemcalls::System to Systemcalls::Wait and
13930 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13931 No change of functionality, just reflects the stripped down Systemcalls
13934 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13936 * debug.[Ch]: add a GRAPHICS type to the enum.
13938 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13940 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13942 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13945 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13947 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13948 match the changes below.
13950 * text2.C (toggleInset): if there is not editable inset at cursor
13951 position, try to see if cursor is _inside_ a collapsable inset
13954 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13956 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13957 document menu has a nice checkbox
13959 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13961 * lyxlength.C (asLatexString): change PW to output as percent of
13964 * lengthcommon.C: change '%' to 't%'
13966 * lyxfunc.C (dispatch): a few comments from Martin
13968 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13972 * BufferView_pimpl.h:
13973 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13976 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13978 * vspace.C (inPixels): fix compiler warning
13980 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13982 * lyxfunc.C (getStatus): fix status message for disabled commands.
13984 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13986 * BufferView_pimpl.C: fix crash on close buffer
13987 during selection (#227)
13989 2002-01-27 Herbert Voss <voss@lyx.org>
13991 * buffer.C: link old Figure to new graphic inset
13993 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13995 * FontLoader.C (getFontinfo): Change the latex font names in order
13996 to match the names of type1inst.
13998 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14000 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14002 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14003 (extchanged): ditto
14005 (remove_files_with_extension): ditto
14006 (remove_file): ditto
14009 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14010 document is smaller than the work area height. Do not initialize
14011 static variables to 0.
14013 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14015 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14017 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14018 LFUN_LAYOUT_PARAGRAPHS.
14020 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14021 tabular. It is possible to provide a possible cell, which will
14022 typically be the actcell from the corresponding insettabular
14024 * lyxfunc.C (getStatus): small cleanup; disable
14025 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14028 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14030 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14032 * paragraph.C (startTeXParParams):
14033 (endTeXParParams): new methods. The LaTeX code to
14034 start/end paragraph formatting
14035 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14036 empty (fixes bug #200)
14038 * vspace.C (inPixels): adapt to the change below
14039 (inPixels): [later] more cleanups (remove unused variables)
14041 * lyxlength.C (inPixels): change to use a width and a height as
14044 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14046 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14047 Replaced with \paperwidth
14049 * DepTable.C (insert): add std:: qualifier
14051 2002-01-18 Allan Rae <rae@lyx.org>
14053 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14056 * text.C (drawInset): Turned out I didn't know enough about how
14057 rebreaking worked. This fixes most of the redraw problems. I see
14058 an occasional cursor trail when a line is broken now and the cursor
14059 placement can seem out by a few pixels also after a rebreak.
14061 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14063 * buffer.C (parseSingleLyXformat2Token): update because minipage
14064 width is now a LyXLength
14066 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14068 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14071 2002-01-17 Juergen Vigna <jug@sad.it>
14073 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14075 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14076 is set correctly and the inset is updated correctly.
14078 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14080 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14081 the beginning of the loop.
14083 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14085 * lyxrc.C: improve help for use_scalable_fonts
14087 2002-01-17 Allan Rae <rae@lyx.org>
14089 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14091 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14093 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14094 make sure to set their inset_owner to the right value (bug #171)
14096 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14099 * DepTable.C: Implement mtime checking to reduce time spent doing
14102 2002-01-16 Juergen Vigna <jug@sad.it>
14104 * tabular.C (GetAdditionalHeight): one of error fixed.
14106 * lyxrc.C (output): small fix in writing use_pspell.
14108 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14110 * sp_base.h: #include LString.h
14112 2002-01-16 Allan Rae <rae@lyx.org>
14114 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14115 Can someone check this please?
14117 * text.C (drawInset): It was possible that p.row would be removed by
14118 breakAgainOneRow upsetting a few other settings. There may be another
14119 small tweak possible by setting need_break_row = 0 when p.row has been
14120 removed but I don't know enough about the logic here.
14122 2002-01-15 Allan Rae <rae@lyx.org>
14124 * text.C (insertChar): removed conditional truism.
14126 * BufferView2.C (removeAutoInsets): More tweaks.
14127 cur_par_prev could be a stray pointer. Check for trailing empty line
14128 in case last line was cur_par and only had an error inset on it.
14130 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14132 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14135 * vc-backend.C (most methods):
14136 * exporter.C (Export):
14137 * converter.C (convert):
14139 * LyXSendto.C (SendtoApplyCB):
14140 * lyxfunc.C (dispatch):
14144 * lyx_cb.C (AutoSave):
14146 * BufferView_pimpl.C (MenuInsertLyXFile):
14147 * buffer.C (runChktex): use Buffer::filePath().
14149 * buffer.h: rename filename to filename_; rename filepath to
14150 filepath_ and make it private
14151 (filePath): new method
14153 * buffer.C (writeFile): use fileName()
14156 * lyx_main.C (init): fix starting of LyX when the binary is a
14157 link from so,ewhere else.
14159 * minibuffer.C: include <cctype> for isprint
14161 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14163 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14164 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14165 name clash with InsetCollapsable's width function.
14167 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14169 * lastfiles.C: include <iterator>
14171 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14173 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14176 * buffer.C (makeLaTeXFile): ditto.
14177 Also make loop operation more transparent.
14179 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14181 * ToolbarDefaults.C: remove trailing comma closing namespace.
14183 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14185 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14188 * trans.C (Load): comment out unused variable, allowed.
14190 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14192 * minibuffer.[Ch] (append_char): new method to recieve input from the
14193 drop-down completion browser. If a key was pressed, then recieve this
14194 char and append it to the existing string.
14195 (peek_event): modify the positioning data passed to the completion
14196 browser so that it can be placed above the minibuffer rather than below.
14197 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14199 * LyXAction.C (init): alloe error-next for readonly documents.
14201 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14204 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14206 * bufferlist.C (readFile): create the buffer _after_ checking that
14209 * lyxfunc.C (verboseDispatch): fix handling of arguments
14211 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14213 * lyxrc.C: use string::erase() instead of initializing to "".
14216 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14218 * BufferView_pimpl.h:
14219 * BufferView_pimpl.C:
14222 * text2.C: tell X when we have made a selection for copying
14224 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14226 * BufferView_pimpl.C (MenuInsertLyXFile):
14227 * lyxfunc.C (menuNew):
14229 (doImport): add shortcuts to directory buttons
14231 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14234 * lyxfunc.C (setStatusMessage):
14235 (getStatusMessage): new methods
14236 (getStatus):use setStatusMessage instead of setErrorMessage
14237 (dispatch): when function is disabled, set error message here
14238 [instead of in getStatus previously]
14240 * BufferView_pimpl.C (workAreaButtonRelease): update
14241 toolbar/menubar here too.
14243 2002-01-13 Allan Rae <rae@lyx.org>
14245 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14246 Now seems indestructible. Remaining task is to audit all other
14247 code affected by deleteEmptyParagraphMechanism. One small quirk
14248 left is that an empty document with an error in the preamble can
14249 be made to report an error but no error box appears. I don't know
14251 (removeAutoInsets): Improved comments.
14253 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14256 * Thesaurus.C: update for Aiksaurus 0.14
14258 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14260 * text2.C (firstParagraph): removed member function, all uses
14261 replaces with ownerParagraph
14262 (redoParagraphs): here
14263 (updateInset): here
14264 (toggleAppendix): here
14265 * BufferView2.C (insertErrors): here
14266 (setCursorFromRow): here
14268 2002-01-13 Allan Rae <rae@lyx.org>
14270 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14271 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14272 There is still a way to segfault this although you may have to do this
14273 multiple times: Have an InsetERT with an unknown command in it.
14274 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14275 <down-arrow>, <Enter> again, View->DVI, BANG!
14277 * text2.C (setCursor):
14278 (deleteEmptyParagraphMechanism):
14279 * lyxtext.h (setCursor):
14280 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14281 Making use of the return value may help fix other bugs.
14283 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14285 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14287 * LyXView.C (updateMenubar): call MenuBar::update here
14288 (updateToolbar): but not here
14289 (showState): do not update toolbar/menubar
14291 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14292 should need to care about that.
14294 * lyxfunc.C (verboseDispatch): simplify a bit
14295 (getStatus): have a version which takes a pseudoaction, and
14296 another which requires a (kb_action,string).
14298 * LyXAction.C (retrieveActionArg): make it work also when action
14299 is not a pseudo-action.
14300 (getActionName): simplify a bit
14303 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14305 * lyxfunc.C (verboseDispatch): new families of methods with
14306 several ways to specify a command and a bool to indicate whether
14307 the command name and shortcut should be displayed in minibuffer
14308 (eventually, we could extend that to a finer bitmask like
14309 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14310 (dispatch): the pristine dispatch command which just, well,
14311 dispatchs! Note it still sets its result to minibuffer; I'm not
14314 * lyxfunc.h: remove setHintMessage
14316 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14318 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14320 * BufferView_pimpl.C (specialChar): delete new inset if we have
14321 not been able to insert it.
14323 * kbmap.C: revert to using int instead of kb_action, since all we
14324 are dealing with is pseudo-actions.
14326 * LyXAction.C (searchActionArg): change to return int instead of
14327 kb_action, since the result is a pseudoaction.
14329 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14331 * buffer.C (insertErtContents): Fix (partially) the font bug.
14333 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14335 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14336 as the other one is broken on my machine!
14338 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14341 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14343 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14345 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14346 reflect their actual use. Provide compatibility code for older lyxrc
14349 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14351 change names of popup font variables in line with the changes to lyxrc.C
14353 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14355 * buffer.C (asciiParagraph): avoid outputing a word twice after
14358 * lyxrc.C (getDescription): document that document_path and
14359 template_path can be empty.
14361 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14363 * LaTeXFeatures.C (getMacros):
14364 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14366 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14368 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14370 (getPackages): rename feature "floats" to "float". Use an array to
14371 iterate over 'simple' features (i.e. just a \usepackage). Add
14372 handling of "amsmath" (renamed from "amsstyle").
14374 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14376 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14379 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14381 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14382 FuncStaus::FuncStatus & FuncStaus::some_method().
14384 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14386 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14387 of the func_satus stuff. Edited and massaged in various ways by
14390 * lyxfunc.C (getStatus): use FuncStatus
14392 2002-01-08 Juergen Vigna <jug@sad.it>
14394 * text.C (nextBreakPoint): use function Inset::isChar().
14396 * paragraph.C (TeXOnePar): use function
14397 Inset::forceDefaultParagraphs.
14399 * buffer.C (latexParagraphs): use function
14400 Inset::forceDefaultParagraphs.
14402 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14404 * lyx_gui.C (init): set the style of the menu popups to
14405 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14407 2002-01-07 Juergen Vigna <jug@sad.it>
14409 * text.C (setHeightOfRow): small fix
14410 (prepareToPrint): don't look at alignment if we don't have the place
14413 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14415 * box.C: New file. Move the Box methods and functions out of box.h,
14416 following Lars' suggestion.
14418 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14420 * box.h: #include "support/LOstream.h", needed for inlined function.
14423 * lyxtextclasslist.C: added some using std declarations.
14425 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14427 * box.h: make signed dimensions to allow insets wider than
14428 the screen (bug #162)
14430 * BufferView_pimpl.C: add some insetHit debug
14432 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14434 * vc-backend.C: add FIXME
14436 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14438 * lyxfunc.C (getStatus): enable code for showing math font status
14441 2002-01-07 Juergen Vigna <jug@sad.it>
14443 * text.C (nextBreakPoint): removed debug output not needed anymore.
14445 2002-01-06 Juergen Vigna <jug@sad.it>
14447 * text.C (nextBreakPoint): fixed up this function we had this bug
14448 since ever but now hopefully we break row better.
14449 (insertChar): we have to check if an inset is the next char as it
14450 could now happen that a large inset is causing a break.
14452 2002-01-05 Juergen Vigna <jug@sad.it>
14454 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14455 if it doesn't like to be drawed.
14457 2002-01-04 Juergen Vigna <jug@sad.it>
14459 * BufferView2.C (lockInset): forgot to set a cursor.
14461 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14463 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14465 * FormMathsPanel.C:
14468 * form_maths_panel.C:
14469 * form_maths_panel.h:
14470 * form_maths_panel.fd: implemented sub- and super- buttons in math
14473 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14474 (or ^ space) to be used as in TeX (req'd by Andr�.
14476 * lyxfunc.C: Allow ^ and _ again to be used both as
14477 super/subscript (mathed) and as themselves (in text).
14479 2002-01-03 Allan Rae <rae@lyx.org>
14481 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14482 "LyX" or the filename of the current buffer if it has one. This is a
14483 modified form of John Levon's patch.
14485 * XFormsView.C (setWindowTitle): also set icon title.
14487 * LyXView.h (setWindowTitle): signature changed.
14488 * XFormsView.h (setWindowTitle): ditto.
14490 2002-01-02 Juergen Vigna <jug@sad.it>
14492 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14494 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14496 * screen.C (topCursorVisible): introduce a temp var for
14497 text->cursor.row(), handle the case where this row is null. (kindo
14500 * text2.C (setCursor): add a couple of asserts.
14502 * paragraph.h (inset_iterator): add -> operator
14504 * paragraph.[Ch] (autoDeleteInsets): remove member function
14506 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14507 cursor pos correctly and handle inset deletion by itself.
14508 (insertErrors): move iterator declaration out of for expression
14510 * lyxtextclass.C: add <algorithm>
14512 * Makefile.am: added the new files to sources, removed layout.C
14514 * layout.C: removed file
14516 * layout.h: remove LYX_DUMMY_LAYOUT
14518 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14522 * lyxtextclass.[Ch]:
14523 * lyxtextclasslist.[Ch]: new files
14525 * include order changes to a lot of files, also changes because of
14528 2001-12-27 Juergen Vigna <jug@sad.it>
14530 * buffer.C (asciiParagraph): more fixes.
14532 * tabular.C (ascii): make ascii export support export of only the
14533 data separated by a column-delimiter.
14534 (ascii): better support for ascii export.
14536 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14538 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14540 * tabular_funcs.C: use a "using std::getline" instead of the
14541 previous fix from Angus (necessary for cxx + lyxstring)
14543 2001-12-24 Juergen Vigna <jug@sad.it>
14545 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14547 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14548 problems. First check a minipage also if we have some ert-contents
14549 (not only on par->size(), second set the right depth of the paragraph
14550 on the relink to the root-paragraph-list!
14552 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14553 which then did not anymore update the main paragraphs on undo/redo!
14555 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14557 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14558 code. Support all font-changing funcs (even those which are not in
14559 menu currently). Support for reporting font settings in
14560 mathed (disabled until Andre provides a function on mathed's side).
14562 * func_status.h (toggle): small helper function to set toggle
14565 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14567 * tabular_funcs.C: getline -> std::getline
14569 2001-12-21 Juergen Vigna <jug@sad.it>
14571 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14572 accessed and could be 0 (I couldn't generate this but it seems
14575 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14577 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14578 * tabular_funcs.h: here and include iosfwd
14580 2001-12-20 Juergen Vigna <jug@sad.it>
14582 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14583 inside inset but undo_par was.
14585 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14587 * Thesaurus.C: always include <config.h> in sources.
14591 * box.h: do not include <config.h> in header files
14593 * text.C (paintLastRow): remove unused variable
14595 * text.C (transformChar):
14597 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14599 * Painter.C (text):
14600 * font.C (width): rewrite to use uppercase() instead of
14603 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14605 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14607 * lyxfind.C: clean up of find failure position change
14609 2001-12-20 Juergen Vigna <jug@sad.it>
14611 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14613 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14614 (TeXRow): added to LaTeX a single tabular row.
14615 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14616 (Latex): simplified and finally good LT-h/f support.
14617 (various_functions): just small adaptions for LT-h/f support.
14619 * tabular_funcs.[hC]: added and moved here all not classfunctions
14622 2001-12-19 Juergen Vigna <jug@sad.it>
14624 * tabular.[Ch]: better support for longtabular options (not finished
14627 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14629 * text.C (paintLastRow): use the label font instead of the font of
14630 the last character to compute the size of *_BOX. This makes more
14631 sense and avoids a crash with empty paragraphs.
14632 Use Painter::rectangle to draw EMPTY_BOX.
14634 2001-12-19 Juergen Vigna <jug@sad.it>
14636 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14637 the paragraphs if the replaced paragraph is not the first one!
14638 Tried to delete not used paragraphs but does not work yet so for
14639 now it's inside #ifdef's and by default off!
14641 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14643 * MenuBackend.C: include "lyx_main.h" instead of declaring
14644 lastfiles (actually was declared as LastFiles* instead of a
14647 2001-12-17 Juergen Vigna <jug@sad.it>
14649 * tabular.C (AppendColumn): applied John's fix
14651 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14655 * BufferView_pimpl.h:
14656 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14659 * box.h: new start of class for above
14661 * lyxfunc.C: ignore space-only minibuffer dispatches.
14662 Show the command name when it doesn't exist
14664 * minibuffer.C: don't add empty lines to the history
14666 * minibuffer.C: add a space on dropdown completion
14668 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14670 * text.C: fix line above/below drawing in insets
14672 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14674 * lyxlength.C (LyXLength): Initialize private variables.
14676 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14678 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14679 when inserting error insets.
14681 2001-12-13 Juergen Vigna <jug@sad.it>
14683 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14684 actually sometimes the before-paragraph.
14685 (setUndo): don't clear the redostack if we're not actually undoing!
14687 2001-12-06 Juergen Vigna <jug@sad.it>
14689 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14690 and fixed redoing of main paragraph, so we can use it now ;)
14692 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14694 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14696 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14699 2001-12-13 André Pönitz <poenitz@gmx.net>
14702 * undo_func.C: minor cleanup
14704 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14706 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14707 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14708 font in urw-fonts package which is marked as -urw-fontspecific and
14709 does not work (incidentally, changing the encoding in the
14710 fonts.dir of this package to -adobe-fontspecific fixes the
14713 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14714 is a crash when undoing first paragraph (Juergen, please take a
14715 look). THis does not mean the undo fix is wrong, just that it
14718 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14719 the (Paragraph*) version when needed instead of duplicating the
14722 * text.C (workWidth): use Inset::parOwner to find out where the
14723 inset has been inserted. This is a huge performance gain for large
14724 documents with lots of insets. If Inset::parOwner is not set, fall
14725 back on the brute force method
14727 * paragraph_pimpl.C (insertInset):
14728 * paragraph.C (Paragraph):
14729 (cutIntoMinibuffer): set parOwner of insets when
14730 inserting/removing them
14732 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14734 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14740 * mathed/formulabase.C:
14741 * mathed/math_cursor.[Ch]:
14742 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14745 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14747 * lyxlength.[Ch] (operator!=): new function
14749 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14751 * text.C (workWidth): use Inset::parOwner to find out where the
14752 inset has been inserted. This is a huge performance gain for large
14753 documents with lots of insets. If Inset::parOwner is not set, fall
14754 back on the brute force method
14756 * paragraph_pimpl.C (insertInset):
14757 * paragraph.C (Paragraph):
14758 (cutIntoMinibuffer): set parOwner of insets when
14759 inserting/removing them
14761 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14763 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14765 * tabular-old.C (getTokenValue):
14766 * tabular.C (getTokenValue):
14767 (write_attribute): new versions for LyXLength
14768 (everywhere): adjust the use of widths
14770 * tabular.h: change the type of widths from string to LyXLength
14772 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14774 * paragraph.C: fixed missing line number count when exporting
14775 Environments to LaTeX file
14777 * buffer.C: added informational message for checking line numbers.
14779 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14781 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14782 paragraph, do the 'double space' part, but not the 'empty
14785 * text.C (workWidth): small optimization
14786 (getLengthMarkerHeight): use minimal size for negative lengths.
14788 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14790 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14792 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14794 2001-12-11 André Pönitz <poenitz@gmx.net>
14797 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14799 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14801 * text2.C: keep selection on a setFont()
14803 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14805 * lyx_cb.C: another bv->text misuse, from insert label
14807 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14810 * kbsequence.C: re-instate nmodifier mask
14812 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14814 * lyx_main.h: make lyxGUI private.
14816 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14818 * lyxfind.C: place the cursor correctly on failed search
14820 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14822 * text.C (getLengthMarkerHeight): for small heights, the arrows
14823 are not always on top/bottom of the text
14824 (drawLengthMarker): smaller arrows; take the left margin in
14825 account; draw also vfills.
14827 (paintLastRow): remove special code for vfill and standard spaces,
14828 since everything is handled in drawLengthMarker now.
14830 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14832 * buffer.C (insertErtContents): try to handle font and language
14833 interaction a bit better.g
14835 * ColorHandler.C (updateColor): change the hash to cover the whole
14836 LColor enum, ws cleanup
14837 (getGCLinepars): ditto
14838 (getGCLinepars): only lookup in the linecache once.
14840 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14842 * iterators.C (operator++): Make the iterator more robust
14844 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14846 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14848 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14851 * text.C: better added space drawing
14853 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14856 * BufferView2.C: fix layout combo update on inset unlock
14858 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14860 * Makefile.am: don't compile unused files
14862 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14866 * LyXAction.C: remove old LFUN_LAYOUTNO
14868 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14870 * paragraph_pimpl.h:
14871 * paragraph_pimpl.C: isTextAt() doesn't need font param
14873 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14876 * lyxlex.C: little cleanup
14878 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14880 * BufferView_pimpl.C: fix insertAscii for insets
14882 2001-12-05 Juergen Vigna <jug@sad.it>
14884 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14885 set the right font on the "multi" paragraph paste!
14887 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14893 * lyxlength.C: remove out-commented code.
14895 * BufferView_pimpl:
14909 * vc-backend.C: change "while(" to "while ("
14911 * lyxlength.[Ch]: add zero function to check if length is zero or
14913 * lyxgluelength.C: use it
14915 2001-12-05 Allan Rae <rae@lyx.org>
14917 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14918 Works for 2.95.3, from what I understand of Garst's reports this should
14919 work for other g++ versions. We're screwed if the abs(int) definition
14920 changed between bugfix releases of gcc.
14922 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14924 * text.C: fix chapter label offset !
14926 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14929 * text.C: fix hfill at end of line, clean up
14931 2001-12-04 Juergen Vigna <jug@sad.it>
14933 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14934 that we force an update of the inset and it's owners if neccessary.
14936 2001-12-03 Juergen Vigna <jug@sad.it>
14938 * text.C (rowLast): simplified code
14940 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14942 * lyxfunc.C: fix show options on timeout
14944 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14946 * screen.C (topCursorVisible): scroll half a page when the cursor
14947 reached top of bottom of screen
14949 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14951 * minibuffer.C: deactivate on loss of focus
14953 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14955 * vspace.[Ch] (operator!=): add operator.
14957 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14959 * BufferView_pimpl.C: refuse to open an inset when
14960 there's a selection.
14962 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14964 * BufferView_pimpl.C: allow to click on RHS of full row insets
14966 2001-11-30 Juergen Vigna <jug@sad.it>
14968 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14969 insets for undo reasons.
14971 2001-11-28 André Pönitz <poenitz@gmx.net>
14973 * vspace.[Ch]: cosmetical changes
14975 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14985 * kbsequence.C: part re-write of old kb code
14988 * WorkArea.C: remove Lgb_bug_find_hack
14990 2001-11-30 José Matos <jamatos@fep.up.pt>
14992 * buffer.C (makeDocBookFile): add a comment to point a hack.
14993 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14994 Fixed a double write of labels.
14996 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14999 * LaTeX.h Fixed bug in LaTeX class where it would not
15000 re-run latex if no depfiles were changed, but the .dvi was removed.
15002 2001-11-28 André Pönitz <poenitz@gmx.net>
15004 * all the files from the change on 2001/11/26:
15005 use lyx::layout_type instead of LyXTextClass::size_type
15006 use lyx::textclass_type instead of LyXTextClassList::size_type
15008 2001-11-29 Juergen Vigna <jug@sad.it>
15010 * text.C: added support for paragraph::isFreeSpacing()
15012 * buffer.C: same as above
15014 * paragraph.h: inserted isFreeSpacing() function to enable
15015 FreeSpacing inside InsetERT.
15017 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15018 of the paragraph's in the cut/copy buffer to 0!
15020 * text2.C (removeRow): remove the assert as it can!
15022 * lyxtext.h: added helper function firstRow returning firstrow and
15023 made firstrow private again.
15025 * BufferView2.C (lockInset): don't relock if we're already locked!
15027 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15028 the only paragraph.
15029 (removeRow): added Assert::(firstrow)
15031 * debug.C: forgot to add INSETTEXT here.
15033 2001-11-28 Juergen Vigna <jug@sad.it>
15035 * sp_spell.C (initialize): changed error text to more general
15036 spellchecker command use (not only ispell!)
15038 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15040 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15042 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15044 * vspace.C: initialise lyxgluelength on failure
15046 2001-11-28 Allan Rae <rae@lyx.org>
15048 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15049 declaration & definition that looks like a function declaration.
15051 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15053 * BufferView2.C (copy):
15054 (copyEnvironment): do not clear the selection when doing a copy.
15056 * text.C (paintFirstRow): compilation fix
15058 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15060 * tabular.C (Latex): correct line count when writing latex.
15062 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15064 * paragraph_pimpl.h:
15065 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15068 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15072 * LColor.C: change vfillline->added_space
15074 * text.C: add markers and text for added space
15076 * vspace.C: fix comment
15078 2001-11-28 André Pönitz <poenitz@gmx.net>
15080 * paragraph.C: whitespace changes
15081 * all the other files from the change on 2001/11/26:
15082 change *::pos_type into lyx::pos_type
15084 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15086 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15087 language of the document when inserting error insets.
15089 2001-11-26 André Pönitz <poenitz@gmx.net>
15091 * BufferView_pimpl.[Ch]:
15099 * paragraph_pimpl.[Ch]:
15102 * text2.C: reduce header dependencies, introduce type for positions
15104 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15106 * <various>: change to use Alert.h
15108 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15110 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15111 when encountering an unknown token.
15112 (readLyXformat2): Show an error message if there were unknown tokens.
15114 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15117 * BufferView_pimpl.C:
15121 * text2.C: use par->isInset()
15123 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15125 * paragraph_pimpl.h:
15126 * paragraph_pimpl.C: cleanup
15128 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15130 * text2.C (removeRow):
15131 * text.C (setHeightOfRow): remove useless (and costly) call to
15134 2001-11-20 Allan Rae <rae@lyx.org>
15136 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15137 Now need Inset*::checkInsertChar() to return true for appropriate
15138 cases so that the characters in the minibuffer will actually be
15141 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15143 * text.C: change the order of the includes.
15144 (workWidth): initialize it at once.
15145 (workWidth): make maxw unsigned
15146 (setHeightOfRow): remove unused variable (inset)
15147 (selectSelectedWord): remove unused variable (inset)
15148 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15150 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15152 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15153 server is not running.
15155 (closeConnection): add debug info when server is disabled.
15157 * ColorHandler.C (getGCForeground): send debug message to GUI
15160 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15162 * kbmap.C (bind): modify because return conventions of
15163 kb_sequence::parse have changed.
15165 * kbsequence.C (parse): only ignore spaces and not any stupid
15166 control character. This avoids tests like s[i] <= ' ', which are
15167 guaranteed to fail with 8bit characters and signed chars.
15168 Change return code to string::npos when there have been no error
15169 (0 was a bad idea when error is at first character)
15171 2001-11-14 José Matos <jamatos@fep.up.pt>
15174 * buffer.C (simpleDocBookOnePar): removed unused argument.
15176 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15178 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15179 insets which are part of a word. Paragraph::isLetter takes care of
15180 that now. Use Paragraph::isInset to identify insets.
15181 (selectSelectedWord): do not test for hyphenation break.
15183 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15184 that protected spaces are considered as spaces.
15186 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15189 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15192 * lyxserver.C: fix it. and small cleanup.
15194 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15196 * BufferView_pimpl.C: use inline helpers
15199 * LaTeXFeatures.C: fix typos
15202 * Spacing.C: move spacing_string into class
15204 * ToolbarDefaults.C: move stuff into namespace anon
15206 * layout.h: update enum
15208 * lyxfunc.C: use better debug
15210 * minibuffer.h: fix typo
15214 * WorkArea.C: add and use Debug::WORKAREA
15218 * text2.C: code re-organisation, inline helpers
15220 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15222 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15223 std::vector.empty().
15225 2001-11-09 Allan Rae <rae@lyx.org>
15227 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15228 '\n's after tables. Tabular and ERT inset work now makes this no
15231 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15234 * minibuffer.C: fix crash, improve drop-down completion
15236 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15239 * lyxserver.C: invalidate fd's when doing endPipe()
15241 2001-11-08 José Matos <jamatos@fep.up.pt>
15243 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15244 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15247 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15249 2001-11-07 José Matos <jamatos@fep.up.pt>
15252 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15255 * buffer.C (sgmlOpenTag):
15256 * buffer.C (sgmlCloseTag): removed debug info.
15258 * buffer.h (sgmlOpenTag):
15259 * buffer.h (sgmlCloseTag): made public.
15261 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15263 * buffer.C (saveParamsAsDefaults):
15264 * lyx_cb.C (MenuLayoutSave): remove
15266 * LyXAction.C (init):
15268 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15270 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15272 * buffer.C (setPaperStuff): removed from here...
15274 * bufferparams.C (setPaperStuff): ... and moved there.
15276 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15280 * XFormsView.C: add support for drop-down completion
15282 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15284 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15287 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15289 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15292 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15294 * lyx_main.C: change ref to known bugs
15296 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15298 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15299 to work around older babel problems.
15301 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15303 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15305 2001-10-24 Juergen Vigna <jug@sad.it>
15307 * tabular-old.C (ReadOld): below variable changes reflected.
15309 * tabular.[Ch]: added ltType struct for longtable header/footer
15310 defines and changed all instances where they are used. Added
15311 future support for double top/bottom rows.
15313 2001-10-24 José Matos <jamatos@fep.up.pt>
15315 * buffer.h (docbookHandleCaption):
15316 * buffer.C (docbookHandleCaption): removed unused function.
15317 (makeDocBookFile): moved docbook supported version to v4.1.
15319 2001-10-24 José Matos <jamatos@fep.up.pt>
15322 * tabular.C (docbookRow): new function to export docbook code of a row.
15323 (DocBook): now honors the longtable flags.
15325 2001-10-23 José Matos <jamatos@fep.up.pt>
15328 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15329 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15331 * buffer.C (makeLinuxDocFile):
15332 (makeDocBookFile): reworked the preamble, more clean, and with
15333 support for lyx defined entities. Changed the document declaration
15334 to be more XML friendly.
15336 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15337 if we need to output XML that should be done with a filter.
15339 2001-10-22 Juergen Vigna <jug@sad.it>
15341 * sp_pspell.h (class PSpell): add alive function needed in the
15342 controller to see if the spellchecker could be started.
15344 2001-10-22 Juergen Vigna <jug@sad.it>
15346 * buffer.C (insertStringAsLines): modify the font for inserting
15347 chars in certain conditions by calling checkInsertChar(font).
15349 2001-10-19 Juergen Vigna <jug@sad.it>
15351 * text.C (workWidth): use getRow instead of wrong algorithm.
15352 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15354 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15359 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15361 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15363 * text.C (workWidth): do not search for the exact row when
15364 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15365 optimization for big documents.
15367 2001-10-18 Juergen Vigna <jug@sad.it>
15369 * text.C (workWidth): new function with added Inset * parameter.
15371 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15373 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15375 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15376 change return type of getColumnNearX.
15379 * text.C (changeRegionCase): use uppercase/lowercase instead of
15382 (rightMargin): simplify code by factoring out the uses of
15387 (appendParagraph): use Paragraph::size_type
15389 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15391 * vspace.C (asLatexString): add a missing break
15393 2001-10-15 Herbert Voss <voss@perce.de>
15395 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15397 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15399 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15402 2001-10-10 André Pönitz <poenitz@gmx.net>
15404 * lyxfunc.C: removed greek_kb_flag.
15406 2001-10-10 Herbert Voss <voss@perce.de>
15408 * lyx_main.C: delete global string help_lyxdir.
15410 2001-10-09 Herbert Voss <voss@perce.de>
15412 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15414 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15416 * lyx_main.C: added global string help_lyxdir.
15418 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15420 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15422 * lyxrc.C (set_font_norm_type): support iso8859-4
15424 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15426 * LaTeX.C (deplog): add another regex for MikTeX
15428 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15430 * lyxrc.C (set_font_norm_type): support iso8859-3
15432 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15434 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15436 * LaTeXFeatures.C: remove special case of french and index
15438 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15439 before \begin{document}). This solves several incompatibilities.
15441 2001-10-03 Garst Reese <reese@isn.net>
15443 * lyx_cb.C: change CheckTex error msg.
15445 2001-10-03 José Matos <jamatos@fep.up.pt>
15447 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15449 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15451 * .cvsignore: update
15453 * lyx_main.C (commandLineVersionInfo): use new style version info.
15455 * buffer.C (writeFile):
15457 (makeLinuxDocFile):
15458 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15460 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15462 * version.h: update to use stuff in version.C
15464 * version.C.in: new file. Contains version information determined
15465 at compile time. This is a merging of version.h and
15468 2001-10-03 Juergen Vigna <jug@sad.it>
15470 * BufferView_pimpl.C (update): don't change "dirty" status in
15473 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15475 * WorkArea.C (c-tor): re-position version string slightly.
15477 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15479 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15480 revert to previous code.
15482 WorkArea.[Ch]: (show, destroySplash): methods removed.
15484 WorkArea.C: rework code so that it's an amalgam of the codes before and
15485 after the splash screen was moved to WorkArea.
15487 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15490 * vspace.C (inPixels):
15493 * buffer.C (insertStringAsLines):
15494 (asciiParagraph): fix types to be large enough
15496 * lyxlex_pimpl.h: change member status from short to int
15498 * layout.h: fix type of endlabeltype
15501 * kbsequence.C (parse): change return type to string::size_type
15503 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15506 * Bullet.C (bulletSize):
15507 (bulletEntry): do not use short ints as parameters
15509 * BufferView2.C (insertLyXFile): change a char to an int.
15511 * WorkArea.C (WorkArea): remove unneeded floats in computation
15513 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15515 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15517 * paragraph.C (asString): Do not ignore newline/hfill chars when
15518 copying to the clipboard.
15520 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15522 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15523 after a multi-line inset.
15525 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15527 * paragraph.C (validate): Set NeedLyXFootnoteCode
15529 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15531 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15532 and decrease-error to decrease.
15534 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15536 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15537 it more readable (should be equivalent)
15539 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15541 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15543 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15545 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15546 of a cursor (row, etc.) after a character has been deleted
15547 (deleteEmptyParagraphMechanism): call the method above on _all_
15548 cursors held by the LyXText when a double space has been
15551 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15553 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15555 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15557 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15558 background. Use greyOut() and the new show() methods to toggle between
15559 the foreground and background. Add code to remove the splash after
15560 its initial showing.
15562 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15563 (create_forms): no longer call Dialogs::showSplash.
15565 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15567 * .cvsignore: add version_info.h
15569 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15571 * version_info.h.in: new file
15573 * Makefile.am: add version_info.h.in
15575 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15576 version_info.h instead of VERSION_INFO
15578 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15580 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15581 The ERT inset now returns string().
15583 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15585 * lyxtext.h, text.C (selectNextWord): renamed as
15586 selectNextWordToSpellcheck.
15588 * text.C (selectNextWordToSpellcheck): Modified to not select
15589 words inside an ERT inset.
15591 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15593 * lyx_cb.C (MenuLayoutSave): change a bit the question
15595 * sp_base.h: include <sys/types.h>
15597 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15599 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15601 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15603 * several files: fix typos in user-visible strings
15605 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15607 * text2.C (pasteSelection): do not set the selection, since it
15608 will be cleared later. Actually, the intent was to fix the way the
15609 selection was set, but I figured rmoving the code was just as good.
15611 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15613 * FontLoader.C (available): Check if font is available without
15616 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15618 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15620 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15622 * lyxrc.[Ch]: added display_graphics variable and associated code.
15624 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15626 * bufferparams.C (hasClassDefaults): new method. Returns true if
15627 the buffer parameters correspond to known class defaults
15629 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15631 * XFormsView.C (show): set minimum size to the main window.
15633 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15635 * text2.C (copySelection):
15637 * lyxfind.C (LyXReplace):
15638 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15639 LyXText::selectionAsString.
15641 * paragraph.C (asString): add "label" argument to the second form
15643 * text2.C (selectionAsString): add "label" argument and pass it to
15644 Paragraph::asString.
15646 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15648 * lyx_main.C (commandLineHelp): remove version information
15650 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15652 * lyx_main.C: add -version commandline option
15654 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15656 * paragraph.h: make the optional constructor arg required instead.
15657 some modifications to other files because of this.
15659 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15661 * lyxserver.C (C_LyXComm_callback): make it static
15663 * lyx_main.C (error_handler): make it static
15665 * lyx_gui.C (LyX_XErrHandler): make it static
15667 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15669 * WorkArea.C: make the extern "C" methods static.
15671 * Makefile.am (lyx_LDADD): simplify
15673 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15675 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15676 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15678 * LyXAction.C (init):
15679 * lyxfunc.C (dispatch): associated code removal.
15681 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15683 * lyxfont.h (isSymbolFont): shut off warning
15685 * text.C (setHeightOfRow):
15686 (getVisibleRow): fix crash with empty paragraphs which have a
15689 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15691 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15694 2001-09-04 José Matos <jamatos@fep.up.pt>
15697 * tabular.C (docbook): rename docBook method to docbook.
15699 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15701 * Makefile.am: add dependencies to main.o.
15703 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15705 * FontLoader.C (available): Return false if !lyxrc.use_gui
15707 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15709 * FontInfo.C (query):
15710 * converter.C (view):
15711 * importer.C (Import):
15712 * exporter.C (Export): Can not -> cannot.
15714 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15716 * BufferView_pimpl.C: allow to create index inset even if
15719 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15721 * buffer.C (getLists): replace boost::tie code with an explicit pair
15722 as boost::tie can break some compilers.
15724 * iterators.h: Added a std:: declaration to the return type of
15727 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15729 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15732 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15734 * iterators.[Ch]: New files. Provide paragraph iterators.
15736 * buffer.C (changeLanguage): Use paragraph iterators.
15737 (isMultiLingual): ditto
15739 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15741 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15743 * FontLoader.C: Support for cmr font.
15745 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15747 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15748 (available): New method.
15750 * FontInfo.C (getFontname): Use scalable fonts even when
15751 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15754 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15756 * converter.C (Formats::view): reverted! Incorrect fix.
15758 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15760 * converter.C (Formats::view): only output the -paper option
15761 if the dvi viewer is xdvi, thereby fixing bug #233429.
15763 2001-08-23 Herbert Voss <voss@perce>
15765 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15767 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15769 * Spacing.h (Spacing): Set space to Default on in the default
15772 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15774 * vc-backend.h (RCS::versionString): add RCS to version
15775 (CVS::versionString): add CVS to version
15777 * vc-backend.C (scanMaster): do not add CVS to version.
15778 (scanMaster): do not add RCS to version
15780 * lyxvc.C (versionString): new method
15782 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15784 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15786 * Spacing.C (set): initialize fval
15788 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15790 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15793 2001-08-16 Juergen Vigna <jug@sad.it>
15795 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15797 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15799 * BufferView_pimpl.C:
15802 * text2.C: setParagraph takes linespacing now
15804 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15806 * LyxAction.C: add internal LFUN_CITATION_INSERT
15808 * LyXView.C: actually apply fix
15810 * bufferlist.C: fix open non-existent file
15812 * lyxfind.C: fix indentation
15814 * lyxfunc.C: remove unneeded assert, fix typo
15816 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15818 * MenuBackend.C: use "Floatname List"
15820 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15822 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15823 when converting LaTeX layout to insetERT.
15824 Generate a non-collapsed float when reading old float
15826 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15828 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15831 2001-08-13 Juergen Vigna <jug@sad.it>
15833 * text.C (fill): return 0 instead of 20 as this seems to be the more
15836 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15838 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15841 2001-08-13 Juergen Vigna <jug@sad.it>
15843 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15845 (SearchBackward): comment out the unlocking of the inset_owner this
15846 should not be needed!
15848 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15850 * Many files: Remove inherit_language, and add latex_language
15852 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15853 collapsible insets.
15855 2001-08-10 Juergen Vigna <jug@sad.it>
15857 * text.C (prepareToPrint): fixed hfill-width in draw!
15859 * BufferView2.C (selectLastWord): save the selection cursor as this
15860 now is cleared in the function LyXText::clearSelection!
15862 2001-08-08 Juergen Vigna <jug@sad.it>
15864 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15865 BACKSPACE type functions.
15867 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15868 is only cutted from the document but not put in the cut-buffer, where
15869 still the old stuff should be.
15871 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15873 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15875 * tabular.C (SetWidthOfCell): fixed special case where the width
15877 (LeftLine): handle '|' in align_special.
15879 (LeftAlreadyDrawed): ditto
15880 (SetWidthOfCell): ditto
15882 2001-08-07 Juergen Vigna <jug@sad.it>
15884 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15886 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15888 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15889 * lyxlex.[hC]: ditto
15891 2001-08-06 Juergen Vigna <jug@sad.it>
15893 * text.C (getVisibleRow): fix up row clearing a bit.
15895 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15897 * minibuffer.C: make sure the X server sees the changes in the input.
15899 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15901 * paragraph.C (getFont): split into...
15902 (getLabelFont): this
15903 (getLayoutFont): and this
15904 * paragraph_pimpl.C (realizeFont): calling this
15906 * text2.C (getFont): split into...
15907 (getLayoutFont): this
15908 (getLabelFont): and this
15909 (realizeFont): all three calling this
15911 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15914 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15916 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15918 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15920 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15921 layouts from the Quote inset insertion.
15923 2001-08-03 Juergen Vigna <jug@sad.it>
15925 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15927 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15928 only if status not is already CHANGED_IN_DRAW (second level).
15930 * text.C (draw): don't set the need_break_row when inside an
15933 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15935 * buffer.C (parseSingleLyXformat2Token): handle more latex
15938 * bufferview_funcs.[hC]: change function names to
15939 begin with small char, adjust other files.
15941 2001-08-02 André Pönitz <poenitz@gmx.net>
15944 BufferView_pimpl.C: remove broken special code for math-greek
15946 2001-08-02 Juergen Vigna <jug@sad.it>
15948 * BufferView_pimpl.C (update): redone this function so that we
15949 update the text again if there was a CHANGE_IN_DRAW.
15951 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15952 (drawFromTo): added a new internal bool which is used by draw() and
15954 (general): some cursor drawing problems fixed.
15956 2001-08-01 Juergen Vigna <jug@sad.it>
15958 * lyxfind.C (LyXFind): fixed
15959 (SearchForward): ditto
15960 (SearchBackward): ditto
15962 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15963 spurius drawing of the cursor in the main area.
15965 * text2.C (status): small fix which could lead to a segfault!
15966 (clearSelection): remove unneeded BufferView param.
15968 2001-08-01 André Pönitz <poenitz@gmx.net>
15970 * lyxfunc.C: small change due to changed mathed interface
15972 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15974 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15976 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15978 * lyxfunc.c: fail gracefully if file doesn't exist
15983 * BufferView_pimpl.C: IsDirWriteable() proto changed
15985 * LyXView.C: fix updateWindowTitle() to store the last title
15987 2001-07-31 Juergen Vigna <jug@sad.it>
15989 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15990 the font (wrong since using of Paragraph::highestFontInRange).
15992 * paragraph.C (highestFontInRange): added a default_size parameter.
15994 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15995 (setHeightOfRow): reformat
15997 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15999 * converter.[hC] + affected files: move to (inital-char)lowercase
16002 * ParagraphParameters.C (ParagraphParameters): remove commented code
16004 * PainterBase.[Ch]: remove commented code
16006 * LaTeXFeatures.h: add "bool floats" for float.sty
16008 * LaTeXFeatures.C (LaTeXFeatures): init floats
16009 (require): handle float
16010 (getPackages): do it with floats
16012 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16014 * BufferView_pimpl.C (Dispatch): improve handling of
16015 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16017 * commandtags.h: #include lyxfont.h here temporarily to avoid
16020 * bufferlist.h: include LString.h here.
16022 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16024 * text2.C (getStringToIndex): new method.
16026 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16028 * *: Reduced header file dependencies all over.
16030 2001-07-30 Baruch Even <baruch@lyx.org>
16032 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16034 2001-07-29 Baruch Even <baruch@lyx.org>
16036 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16038 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16040 * ParameterStruct.h (endif): add a default constructor to make
16041 sure that all variables is initialized.
16043 * ParagraphParameters.C (ParagraphParameters): adjust
16045 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16047 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16048 index; also, check that there is something to index, and that it
16049 does not span over several paragraphs.
16050 (doubleClick): use WHOLE_WORD_STRICT for double click.
16052 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16054 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16057 2001-07-26 Baruch Even <baruch@lyx.org>
16059 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16060 an InsetFig figure, backwards compatible reading of old figure code.
16062 2001-07-27 Juergen Vigna <jug@sad.it>
16064 * text2.C: font.realize function adaption.
16066 * text.C (draw): add a warnings lyxerr text if needed.
16068 * layout.C: font.realize function adaption.
16070 * language.C: add inherit_language and implement it's handlings
16072 * bufferview_funcs.C (StyleReset): remove language parameter from
16073 font creation (should be language_inherit now).
16075 * bufferparams.C (writeFile): handle ignore_language.
16077 * paragraph.C (getFontSettings): the language has to be resolved
16078 otherwise we have problems in LyXFont!
16080 * lyxfont.C (lyxWriteChanges): added document_language parameter
16081 (update): removed unneeded language parameter
16083 * paragraph.C (validate): fixed wrong output of color-package when
16084 using interface colors for certain fonts in certain environments,
16085 which should not seen as that on the final output.
16087 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16089 * BufferView_pimpl.C:
16094 * LyXAction.C: add thesaurus support
16097 * lyxfind.C: add "once" parameter, for thesaurus, to not
16098 move to the next match
16100 2001-07-26 Juergen Vigna <jug@sad.it>
16102 * lyxfont.C (realize): honor ignore_language too!
16105 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16107 * text.C (draw): one place more for ignore_language to not draw
16110 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16112 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16114 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16116 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16117 the minipage conversion problem.
16119 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16121 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16124 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16126 * BufferView.h: don't forward declare WorkArea
16128 * BufferView.C: don't include WorkArea.h
16130 2001-07-25 André Pönitz <poenitz@gmx.net>
16134 * lyxfunc.C: new LFUN 'math-space'
16136 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16138 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16140 * text2.C (toggleInset): call open/close
16142 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16144 * lyxfunc.C (dispatch): add debug for the disabled case
16146 * font.C (buttonText): make similar to rectText
16148 * buffer.C (readInset): comment out parsing of insetlist and
16151 * PainterBase.C (rectText): small correction
16153 * BufferView_pimpl.C: comment out insettheorem and insetlist
16154 * LyXAction.C: ditto
16155 * commandtags.h: ditto
16157 2001-07-24 Juergen Vigna <jug@sad.it>
16159 * text.C (draw): honor the ignore_language.
16161 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16163 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16165 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16168 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16170 * lyxtext.h: remove unused (and unimplemented) methods
16172 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16174 * text.C (getVisibleRow): honor background color
16177 * Painter.h: remove default color argument for fillRectangle
16179 * text.C (backgroundColor): new method
16181 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16183 * text.C (getVisibleRow): adjust
16185 * font.[Ch] (rectText): new method, metrics
16186 (buttonText): new method, metrics
16188 * PainterBase.[hC]: make rectText and buttonText always draw and take
16191 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16193 * ToolbarDefaults.C (read):
16194 * MenuBackend.C (read): allow escaping in all strings
16196 * BufferView_pimpl.C (insertAndEditInset): new method.
16197 (Dispatch): use insertAndEditInset whenever appropriate.
16199 * BufferView_pimpl.C (insertNote): removed
16201 * BufferView_pimpl.C (smartQuote): new method, moved from
16202 BufferView; if an insetquote cannot be inserted, insert a '"'
16205 * BufferView2.C: remove insertCorrectQuote();
16207 * lyxfunc.C (getStatus): Add support for all remaingin
16208 inset-insert lfuns.
16210 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16212 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16213 command (necessary to pass " as parameter of self-insert.
16215 * text.C (selectWordWhenUnderCursor):
16216 (selectWord): add word_location parameter
16217 (selectWordWhenUnderCursor): same + remove special code for word
16219 (selectNextWord): use kind() to guess type of insetspecialchar,
16222 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16223 (insertErtContents): create ert insets as collapsed.
16224 (readInset): better compatibility code for Info inset.
16226 2001-07-20 Juergen Vigna <jug@sad.it>
16228 * lyxfunc.C (dispatch): use always LyXFind now!
16230 * text2.C (init): add a reinit flag so that the LyXText can be
16231 reinited instead of deleted and reallocated (used in InsetText).
16233 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16239 2001-07-18 Juergen Vigna <jug@sad.it>
16241 * text.C (selectNextWord): handle insets inside inset by calling
16242 always the bv->text functions so that we can go up the_locking_inset!
16244 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16245 in strange locations when inside an inset!
16247 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16248 handling to include insets.
16250 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16252 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16254 * LyXAction.C (init):
16256 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16257 LIGATURE_BREAK, since the name is so stupid.
16259 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16261 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16264 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16266 * sp_form.[Ch]: remove.
16268 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16270 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16273 * src/buffer.C (readInset): ditto.
16275 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16277 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16278 menuSeparator(), endOfSentenceDot(), ldots() and
16279 hyphenationPoint(), which are therefore removed.
16280 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16282 * LyXAction.C (init):
16283 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16285 * paragraph.C (getWord): removed.
16287 * BufferView_pimpl.C (Dispatch): use last word or selection for
16288 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16290 * lyx_main.C (queryUserLyXDir): do not ask before creating
16291 user_dir, except if it has been named explicitely.
16293 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16295 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16296 a document of zero size.
16298 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16300 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16301 approriately in the c-tor and in require().
16302 (getPackages): output the appropriate LaTeX for natbib support.
16304 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16305 variables "use_natbib" and "use_numerical_citations" when reading the
16307 (readInset): read the various natbib cite commands.
16308 (validate): white-space change.
16310 * bufferparams.[Ch]: new variables "bool use_natbib" and
16311 "bool use_numerical_citations".
16312 (writeFile): output them in the LyX file.
16314 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16316 * lyxfunc.C (getStatus): add support for all the inset insertion
16319 * text2.C (insertInset):
16320 * paragraph.C (insetAllowed):
16321 * BufferView_pimpl.C (insertInset): update to take in account the
16322 renaming of insertInsetAllowed
16324 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16326 * text2.C (getInset): new method. returns inset at cursor position.
16328 * BufferView_pimpl.C (Dispatch): changes because of this.
16330 * LyXAction.C (init): rename open-stuff to inset-toggle.
16332 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16334 * text2.C (toggleInset): renamed from openStuff; use
16337 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16339 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16341 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16343 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16345 * buffer.C (readLyXformat2): Add filename to the error dialog
16347 2001-07-18 Juergen Vigna <jug@sad.it>
16349 * tabular.C (GetCellNumber): put an assert here instead of the check!
16351 2001-07-17 Juergen Vigna <jug@sad.it>
16353 * BufferView_pimpl.C (toggleSelection): adapted too.
16355 * text.C (selectNextWord): adapted for use with insets.
16356 (selectSelectedWord): ditto
16358 2001-07-17 Juergen Vigna <jug@sad.it>
16360 * sp_spell.C (PSpell): fix initialitation order.
16362 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16364 * paragraph.C: spacing
16366 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16368 * sp_spell.C: repair language selection for pspell
16370 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16372 * lyxfunc.h: change more methods to begin with lower char.
16374 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16376 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16377 for unknown layouts.
16379 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16381 * buffer.C (readLyXformat2): Generate an error dialog if there are
16384 2001-07-16 Juergen Vigna <jug@sad.it>
16386 * sp_spell.C: always compile ISpell part.
16388 * lyxrc.C: added use_pspell entry and it's handling.
16390 2001-07-13 Juergen Vigna <jug@sad.it>
16392 * sp_spell.C: removed double includes.
16394 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16396 Consistent use of Lsstream.h:
16397 * Lsstream.h: added using std::stringstream for consistencies sake.
16399 * buffer.C: removed using std::stringstream
16401 * lyxfont.C (stateText):
16402 * paragraph.C (asString):
16403 * text.C (selectNextWord, selectSelectedWord):
16404 * text2.C (setCounter):
16405 * vspace.C (asString, asLatexString):
16406 std::ostringstream -> ostringstream.
16408 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16410 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16411 * commandtags.h: add LFUN_HELP_ABOUTLYX
16412 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16414 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16416 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16418 * lyx_gui_misc.C: remove spellchecker
16419 * lyxfunc.C: showSpellchecker
16421 * sp_ispell.h: added
16422 * sp_pspell.h: added
16423 * sp_spell.C: added
16424 * sp_form.[Ch]: removed
16425 * spellchecker.[Ch]: removed
16427 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16429 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16431 (simpleTeXSpecialChars): Simply print the input character without
16432 any special translation if pass_thru is set.
16434 * layout.h: Added bool pass_thru to layout class for being able to
16435 implement pass through of a paragraph for Literate Programming.
16437 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16438 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16439 * layout.C (Read): add "passthru" to list of layout tags and add
16440 code to set the pass_thru boolean when it is read.
16442 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16444 * trans_decl.h: remove allowed from KmodInfo
16446 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16447 remove allowed code
16450 * paragraph_pimpl.C (erase): use boost::prior
16452 * Painter.C (text): use data() instead of c_str() when length is
16454 * WorkArea.C (putClipboard): ditto
16455 * font.h (width): ditto
16457 * BufferView2.C: use it-> instead of (*it). for iterators
16459 * paragraph_pimpl.C: ditto
16460 * paragraph.C: ditto
16461 * minibuffer.C: ditto
16462 * language.C: ditto
16464 * encoding.C: ditto
16465 * counters.C: ditto
16466 * converter.C: ditto
16468 * Variables.C: ditto
16469 * TextCache.C: ditto
16470 * MenuBackend.C: ditto
16471 * LyXAction.C: ditto
16473 * FloatList.C: ditto
16474 * DepTable.C: ditto
16475 * ColorHandler.C (LyXColorHandler): ditto
16477 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16479 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16481 * text2.C (openStuff): reintroduce this method (which had been
16482 nuked in NEW_INSETS frenzy).
16484 * lyxfunc.C (Dispatch): when an action has not been handled, use
16485 its name in the error message, not its number.
16487 * paragraph.C (inInset): change method name to begin with lowercase.
16490 * text2.C: updates because of this.
16492 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16494 * ToolbarDefaults.C (add): add spaces in error message
16496 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16498 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16499 (readLyXformat2): rename return_par to first_par, use lyxlex's
16500 pushToken and remove the manual push handling.
16501 (parseSingleLyXformat2Token): add another ert comp. variable:
16502 in_tabular, rename return_par to first_par. handle newlines better
16504 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16506 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16508 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16510 * text2.C (getParFromID): removed
16512 * buffer.C (getParFromID): new method moved form lyxtext.
16513 * BufferView2.C (insertErrors): adjust
16514 (setCursorFromRow): adjust
16515 * BufferView_pimpl.C (restorePosition): adjust
16516 * lyxfunc.C (Dispatch): adjust
16517 * undo_funcs.C (textUndo): adjust
16519 (textHandleUndo): adjust
16520 (textHandleUndo): adjust
16522 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16524 * buffer.C: up' the LYX_FORMAT
16526 * lyxfont.h: turn NO_LATEX on as default
16528 * buffer.C (insertErtContents): new methods of tex style compability.
16529 (parseSingleLyXformat2Token): use it several places.
16530 * tabular.C (OldFormatRead): and here
16532 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16534 * text2.C: remove some commented code.
16537 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16538 * trans.C: changes because of the above.
16540 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16542 * text2.C (setCounter): Fix counters bug with bibliography layout.
16544 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16546 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16547 own member functions
16548 (simpleTeXSpecialChars): ditto
16550 2001-07-06 Juergen Vigna <jug@sad.it>
16552 * a lot of files: changed the access to LyXText::status and the
16553 call of undo-functions.
16555 * undo.[Ch]: added a inset_id to the undo informations.
16557 * undo_funcs.[Ch]: added and moved here all undo functions.
16559 * lyxtext.h: give the status enum a weight, made status_ a private
16560 variable and made accessor functions for it, removed the whole bunch
16561 of undo-functions as they are now in their own file, make some
16562 functions publically available. Added function ownerParagraph with
16565 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16566 made InInset() a const function, added getParFromID() function.
16568 * buffer.[Ch]: added const version for inset_iterator functions,
16569 added getInsetFromID() function.
16571 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16572 changed undo functions for new version.
16574 2001-07-05 Juergen Vigna <jug@sad.it>
16576 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16577 unknow mechanism does not call the proper constructor but only this
16578 one also if I request the other!?
16580 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16582 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16584 * text2.C (LyXText): use initialization lists.
16586 * lyxtext.h (Selection): initialize set_ and mark_
16587 (init): remove method
16589 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16591 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16593 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16595 * screen.[Ch]: change method names to begin with lowercase
16597 * BufferView_pimpl.C (updateScrollbar): simplify further and
16598 hopefully make it a bit faster.
16600 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16602 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16603 calling directly xforms functions.
16605 * Painter.C (Painter):
16606 * lyx_cb.C (MenuWrite):
16607 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16610 * lyx_gui.C: remove bogus guiruntime extern declaration.
16612 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16614 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16616 (redoDrawingOfParagraph): ditto
16617 (redoParagraphs): ditto
16618 (cutSelection): don't create a object for CutAndPaste use the
16619 static method directly
16620 (pasteSelection): ditto
16622 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16625 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16627 * modifications to some other files because of this.
16629 * Makefile.am (lyx_SOURCES): add XFormsView
16631 * XFormsView.[Ch]: new files
16633 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16634 the main window. Move the gui dependent stuff to XFormsView
16636 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16638 * tabular.C (GetCellInset): update cur_cell also in the row/col
16639 version of this function.
16641 * lyxfunc.C: no need to include figure_form.h here.
16647 * lyxvc.C: no need to include forms.h here.
16649 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16651 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16653 * lyxfunc.C (Dispatch):
16655 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16656 constructor argument.
16658 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16660 * paragraph.C (Paragraph): dont't clear, and just set layout.
16661 (makeSameLayout): use params's copy contructor.
16663 * ParagraphParameters.[Ch] (makeSame): delete method
16665 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16667 * Variables.[Ch]: fix indentation, rename set to isSet
16669 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16671 * lyxfunc.C (Dispatch): fix typo
16673 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16675 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16678 * bufferlist.C: include assert.h for emergencyWrite().
16680 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16682 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16683 give up at last (bug #425202) !
16685 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16691 * spellchecker.C: strip spellchecker options and bring up
16692 preferences tab instead
16694 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16696 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16697 the istringstream constructor
16699 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16701 * paragraph.C (getLayout): fix return value
16703 * paragraph.h: do not declare getLayout as inline.
16705 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16707 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16709 * lyxcursor.h (operator<): new func
16710 (operator>): new func
16711 (operator>=): new func
16712 (operator<=): new func
16714 * text.C (changeCase): use selection.start and selection.end
16715 (changeRegionCase): require from to be <= to. Require par to be a
16718 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16720 2001-06-27 Juergen Vigna <jug@sad.it>
16722 * text.C (cursorLeftOneWord): changed to return the cursor and added
16723 overlay with BufferView * parameter which calls this one.
16725 (selectWord): use new getWord function.
16726 (changeCase): renamed from changeWordCase as and extended to work
16727 also on selections.
16729 * lyxtext.h: added enum word_location
16731 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16732 changeCase as this operates now also on selections.
16734 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16736 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16738 * many files: send debug output to Debug::INFO instead of
16741 * converter.C (View):
16743 (Move): send debug output to Debug::FILES instead of console.
16745 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16747 * lyxfunc.C (getStatus): use func_status
16749 * func_status.h: new header, describing the results of
16750 LyXFunc::getStatus;
16752 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16755 2001-06-25 The LyX Project <jug@sad.it>
16757 * buffer.C (sgmlOpenTag):
16759 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16761 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16763 * text2.C: remove some dead code
16765 * tabular.C (GetCellInset): store the last cell checked (gotten)
16767 * tabular.h: add the helper for the speedup
16769 * lyxtext.h: remove some dead code
16771 2001-06-26 The LyX Project <Asger>
16773 * paragraph.C: Change export to LaTeX of alignment to
16774 \begin{center} and family for better roundtrip work with reLyX.
16776 * Tune the math drawing a bit.
16778 2001-06-25 The LyX Project <Asger>
16780 * LColor.C (LColor): New color for math background. New color
16783 2001-06-25 The LyX Project <jug@sad.it>
16785 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16787 * lyxfunc.C (Open):
16788 * bufferlist.C (newFile): do not restrict to files ending with
16791 * BufferView_pimpl.C (MenuInsertLyXFile):
16793 2001-06-24 The LyX Project <jug@sad.it>
16795 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16798 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16800 * lyxtext.h: rename most methods to begin with a small char.
16801 Lots of changes because of this.
16803 * paragraph.C (Paragraph): do not call fitToSize
16804 (erase): call Pimpl::erase
16805 (insertChar): call Pimpl::insertChar
16806 (insertInset): call Pipl::insertInset
16807 (breakParagraph): do not call fitToSize
16808 (breakParagraphConservative): do not call fitToSize
16809 (fitToSize): remove method
16811 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16813 2001-06-24 The LyX Project <Asger>
16815 * Fix Qt compilation^2
16817 2001-06-24 The LyX Project <jug@sad.it>
16819 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16820 depthHook(getDepth()-1).
16823 * ParagraphParameters.h:
16824 * ParameterStruct.h: change type of depth to unsigned int ==
16825 depth_type. Many adaptations to other files before of that.
16827 2001-06-24 The LyX Project <Asger>
16829 * Fix Qt compilation.
16831 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16833 * paragraph.h: renamed several methods to begin with small letter.
16834 several changes to many parts of the code because of this.
16836 2001-06-23 The LyX Project <jug@sad.it>
16838 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16839 rewritten to discard all double spaces when KeepEmpty is off
16840 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16841 to only handle newlines but not fiddle with spaces and friends.
16843 * lyxfunc.C (MenuNew): when doing 'new from template', use
16844 template_path as default directory
16846 2001-06-23 The LyX Project <Asger>
16848 * Clean-up of header file includes all over
16849 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16851 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16853 * paragraph.h: renamed from lyxparagraph.h
16855 2001-06-23 Asger <lyx@violet.home.sad.it>
16857 * Buffer.h: Removed Buffer::resize
16858 * BufferList.h: Removed BufferList::resize
16859 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16860 the document lazily when we change the width, or the font settings.
16862 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16864 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16866 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16868 * buffer.h: remove out of date comment
16870 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16873 * screen.C: fix "theoretical" GC leak
16875 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16877 * LaTeX.C (scanAuxFile):
16878 (deplog): remove trailing \r when reading stream (useful under
16881 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16883 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16884 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16885 and BufferView::theLockingInset(Inset*), so should use them and not
16886 access bv_->text->the_locking_inset directly.
16888 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16890 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16893 * tex-defs.h: remove old unused file
16895 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16897 * BufferView_pimpl.C: fix typo, remove minibuffer message
16898 when buffer has loaded
16900 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16902 * lyxfunc.C (Dispatch): use stringstream
16903 (MenuNew): use stringstream
16904 (Open): use stringstream
16906 * importer.C (Import): use stringstream
16908 * bufferview_funcs.C (CurrentState): use stringstream
16910 * LaTeX.C (run): use stringstream
16912 * BufferView_pimpl.C (savePosition): use stringstream
16913 (restorePosition): use stringstream
16914 (MenuInsertLyXFile): use stringstream
16916 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16929 * vspace.C: removed // -*- C++ -*- as first line.
16932 * version.h: added // -*- C++ -*- as first line.
16934 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16936 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16938 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16941 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16943 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16946 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16948 * gettext.C: include LString.h even when --disable-nls is on.
16950 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16952 * converter.h (Get): changed argument type from int to
16953 FormatList::size_type to avoid unnecessary conversion.
16955 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16958 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16960 * gettext.h: include LString.h even when --disable-nls is on.
16962 2001-06-07 Juergen Vigna <jug@sad.it>
16964 * text.C (BreakAgain): subst spaces with tabs.
16966 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16967 (resizeInsetsLyXText): set force on resizeLyXText.
16969 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16971 * gettext.h (gettext_init):
16972 (locale_init): use a real definition instead of a macro
16974 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16976 * Bufferview_pimpl.C:
16978 * LColor.C: further lcolor tidies
16980 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16982 * BufferView_pimpl.C (updateScrollbar): simplify.
16984 * BufferView2.C: don't include insets/insetinfo.h, change
16985 prototype for insertInset and call the Pimpl version. let
16986 updateInset call Pimpl version.
16988 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16989 gotoInset to BufferView::Pimpl
16991 2001-06-01 Juergen Vigna <jug@sad.it>
16993 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16994 inside a LockingInset (is the update needed at all?).
16996 2001-05-31 Juergen Vigna <jug@sad.it>
16998 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16999 here not the old one otherwise how should we compare it afterwards
17002 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17007 * FontInfo.C: bring C functions into global namespace when
17010 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17012 * LString.h: make sure config.h has been loaded before LString.h.
17014 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17015 (one for each char read by EatLine!).
17017 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17020 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17022 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17023 to the same as the par we break from
17025 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17027 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17029 * MenuBackend.C (expand): also create menu entries for wide
17030 versions of the floats.
17032 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17034 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17036 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17037 frontends/Makefile.am
17043 * tabular.C (getTokenValue): add std::
17045 * tabular-old.C (getTokenValue): add std::
17046 (getTokenValue): ditto
17047 (getTokenValue): ditto
17049 * screen.C (ToggleSelection): adjust
17051 * lyxtext.h: put selection cursors inside a Selection struct.
17053 * lyxfunc.C (moveCursorUpdate): adjust
17055 * lyxfont.C (latexWriteStartChanges): add std::
17057 * lyxfind.C: adjust
17059 * font.h: delete with(char const *, LyXFont const &)
17061 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17063 * FontInfo.C (getFontname): add std::
17065 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17066 (workAreaButtonPress): adjust
17067 (tripleClick): adjust
17069 (moveCursorUpdate): adjust
17072 * BufferView2.C (gotoInset): adjust
17074 2001-05-30 Juergen Vigna <jug@sad.it>
17076 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17077 to check pspell I add this as default as I now have new pspell
17078 libraries and they seem to use this.
17080 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17082 * text2.C (CutSelection): make the cursor valid before the call to
17085 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17087 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17088 relied on 0 terminated strings and other horrors. Bug found due to
17089 the new assert in lyxstring!
17091 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17094 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17096 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17099 * lyxfunc.C (processKeySym): change method of getting to the
17102 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17103 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17104 * BufferView_pimpl.[Ch]: here as private methods.
17106 2001-05-28 Juergen Vigna <jug@sad.it>
17108 * text.C (SetHeightOfRow): added the update() call again as it is
17109 needed to initialize inset dimensions!
17111 2001-05-16 Juergen Vigna <jug@sad.it>
17113 * text2.C (SetCharFont): Add new function with BufferView * and
17114 bool toggleall parameters for setting insets internal fonts.
17115 (SetFont): Freeze the undo as we may change fonts in Insets and
17116 all this change should be inside only one Undo!
17118 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17119 setting font's in insets as for them we have the SetFont function!
17121 2001-05-15 Juergen Vigna <jug@sad.it>
17123 * text2.C (ClearSelection): to be sure we REALLY don't have any
17126 * tabular.C (TeXCellPreamble): fixed the left border problem for
17129 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17131 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17134 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17136 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17137 LFUN_BREAKPARAGRAPH.
17139 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17140 help test to "internal only", similar for LFUN_INSERT_URL
17142 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17143 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17144 auto_region_delete and deadkeys.
17146 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17149 * LColor.C: remove some dead entries, tidy a little
17151 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17153 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17155 (Dispatch): implement LFUN_ESCAPE
17157 * commandtags.h: add LFUN_ESCAPE
17159 * LyXAction.C (init): add entry for LFUN_ESCAPE
17161 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17162 Remove commented code.
17163 (insertNote): moved here
17164 (open_new_inset): moved here
17166 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17169 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17171 * kbmap.C (findbinding): clean it up and make it work correctly.
17173 * lyx_main.C (init): do not pass argc and argv as parameters
17175 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17177 * buffer.C: fix path for OS/2 & Win32
17181 * lyx_main.C: Added os:: class.
17183 * os2_defines.h: update
17185 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17187 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17188 better by trying again with reduced state.
17190 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17192 * lyxrc.C (read): print error about invalid key sequence only when
17193 debugging (because not all latinX keysyms are known to some X
17196 * kbsequence.C (getiso): add a few std:: qualifiers
17197 (getiso): comment out extra return statement.
17199 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17201 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17203 (Dispatch): enhance the accent inset a bit. (not perfect)
17205 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17207 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17209 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17211 * bufferlist.C (emergencyWrite): fix assert() call
17213 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17215 * text.C (InsertChar): Added trivial patch to only send the "you
17216 can not do multiple spaces this way" message once during a
17219 2001-05-08 Baruch Even <baruch@lyx.org>
17221 * Makefile.am: Changed order of libraries to get LyX to link properly
17222 with the gnome frontend.
17224 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17226 * LaTeXFeatures.h: add a std:: qualifier
17228 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17230 * paragraph.C (String): use stringstream
17232 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17234 * paragraph.C (writeFile): remove footflag arg
17236 * buffer.C (makeLaTeXFile): use stringstream
17237 (latexParagraphs): remove footnot gurba
17239 * LaTeXFeatures.C (getPackages): use stringstream
17240 (getMacros): likewise
17241 (getTClassPreamble): likewise
17242 (getFloatDefinitions): new method
17244 * paragraph.C (writeFile): reindent
17247 * WorkArea.h: revert the xpos + etc changes.
17249 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17251 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17253 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17254 (pasteSelection): likewise
17255 * text2.C (CreateUndo): likewise
17257 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17259 * minibuffer.C (peek_event): temporarily reduce the functionality
17260 of the minibuffer (to allow args on lfuns)
17262 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17263 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17265 * buffer.C (readInset): add compability reading of old float
17266 lists, add reading of new style float list.
17267 (readInset): avoid reevaluation of inscmd.getCmdName()
17268 (getLists): reindent
17270 * MenuBackend.C (MenuItem): implement parsing of
17271 md_floatlistinsert and md_floatinsert.
17272 (expand::LastFiles): move initalizaton of iterators out of loop,
17273 avoid reevaluation.
17274 (expand::Documents): introduce typdedef vector<string> Strings,
17276 (expand::ExportFormats): introduce typedef vector<Format const *>
17277 Formats, and use it.
17278 (expand): implement FloatListInsert and FloatInsert.
17280 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17281 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17282 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17284 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17286 (Dispatch::LFUN_FLOAT_LIST): implement
17288 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17290 * LaTeX.C (run): Fix problem with --export code.
17292 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17294 * BufferView.[Ch] (workarea): removed.
17295 (getClipboard) new method; wrapper for workarea()->getClipboard()
17297 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17300 * WorkArea.h (width, height, xpos, ypos): These methods all
17301 returned the dimensions of the work_area sub-area of WorkArea,
17302 resulting in a position error if the WorkArea were resized. Now
17303 return the dimensions of the entire WorkArea.
17305 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17307 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17309 * LaTeX.C (deplog): correct the syntax of regex reg1
17311 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17313 * undo.C: remove !NEW_INSETS cruft
17315 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17317 * text2.C: remove !NEW_INSETS cruft
17319 * text.C: remove !NEW_INSETS cruft
17321 * tabular.C: remove !NEW_INSETS cruft
17323 * spellchecker.C: remove !NEW_INSETS cruft
17325 * lyxtext.h: remove !NEW_INSETS cruft
17327 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17329 * lyxfunc.C: remove !NEW_INSETS cruft
17331 * lyxfind.C: remove !NEW_INSETS cruft
17333 * lyx_cb.C: remove !NEW_INSETS cruft
17335 * figureForm.C: remove !NEW_INSETS cruft
17337 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17339 * buffer.[Ch]: remove !NEW_INSETS cruft
17341 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17343 * CutAndPaste.C: remove !NEW_INSETS cruft
17345 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17347 * BufferView2.C: remove !NEW_INSETS cruft
17349 * BufferView.h: remove !NEW_INSETS cruft
17351 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17353 * Lsstream.h: include LString.h before the sstream headers to
17354 fix problem with gcc 2.95.3 and lyxstring
17356 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17358 * lyx_main.C: add using directives when needed for C functions
17359 declared in std:: namespace.
17361 2001-04-27 Juergen Vigna <jug@sad.it>
17363 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17364 (SetHeightOfRow): comment out the update call should not be needed!
17366 2001-04-13 Juergen Vigna <jug@sad.it>
17368 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17369 (LyXTabular): tried to minimize operator= operations (and realized
17370 hopfully Lars wish).
17372 2001-04-27 Juergen Vigna <jug@sad.it>
17374 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17376 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17378 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17380 * buffer.C (readInset): hack to make listof algorithm work
17382 * BufferView_pimpl.C: hack to make listof algorithm work
17384 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17386 * LyXAction.C: removed all !NEW_INSETS cruft
17387 (init): moved lfun_item in method
17389 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17391 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17393 * BufferView2.C (theLockingInset): white space.
17395 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17397 * minibuffer.C: include <iostream>
17399 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17401 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17403 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17405 * text.[Ch] (TransposeChars): new method
17407 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17409 * call message directly through LyXView instead of through LyXFunc
17410 * BufferView2.C: adjust
17411 * BufferView_pimpl.C: adjust
17412 * FontLoader.C: adjust
17414 * bufferview_funcs.C: adjust
17415 * converter.C: adjust
17416 * figureForm.C: adjust
17417 * importer.C: adjust
17419 * lyx_gui_misc.C: adjust
17420 * lyxfunc.C: adjust
17423 + more files in subdirs
17425 * lyxparagraph.h (size): move up int file
17428 * adjust all uses of Assert to lyx::Assert.
17430 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17431 lyxfunctional in namespace lyx
17432 * layout.C (hasLayout): ditto
17435 (delete_layout): ditto
17436 (NumberOfClass): ditto
17437 * converter.C (GetFormat): ditto
17442 * bufferlist.C (getFileNames): ditto
17443 (emergencyWriteAll): ditto
17446 * MenuBackend.C (hasSubmenu): ditto
17449 * BufferView_pimpl.C (getInsetByCode): ditto
17451 2001-04-18 Juergen Vigna <jug@sad.it>
17453 * vspace.C (asLatexString): fixed the 100% problem.
17455 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17457 * lyxfunc.C (Dispatch):
17459 * minibuffer.h: add a few std:: qualifiers
17461 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17463 * minibuffer.[Ch]: reimplement so that commands is initiated and
17464 run from lyxfunc, simplified som handling, and made the completion
17465 and history code for complete. wip.
17467 * lyxfunc.C (processKeySym): call message
17468 (miniDispatch): new temporary method
17469 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17470 (LFUN_MESSAGE): implement
17471 (LFUN_MESSAGE_PUSH): implement
17472 (LFUN_MESSAGE_POP): implement
17473 (initMiniBuffer): the initial/defualt minibuffer message.
17475 * lyxfont.[Ch]: inline some more getters
17477 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17479 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17481 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17482 (AutoSave): use LFUN_MESSAGE
17483 (Reconfigure): ditto
17485 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17487 * figureForm.C: use LFUN_MESSAGE
17489 * converter.C (runLaTeX): use LFUN_MESSAGE
17491 * bufferview_funcs.C: use LFUN_MESSAGE
17493 (changeDepth): ditto
17495 * bufferparams.h: use boost::
17497 * bufferlist.h: inherit privately from noncopyable
17499 * bufferlist.C (loadLyXFile): remove some commented code.
17501 * buffer.C (runChktex): use LFUN_MESSAGE
17503 * ShareContainer.h: inherit privately from noncopyable
17505 * ParagraphParameters.[hC] (depth): inline it.
17507 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17509 (message): new method
17510 (messagePush): ditto
17511 (messagePop): ditto
17512 (show): init minibuffer
17513 (showState): direct call
17515 * LaTeX.[Ch]: inherit privately from noncopyable
17516 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17517 instead of WriteStatus.
17519 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17521 * BufferView_pimpl.C (buffer): don't init minibuffer
17522 (workAreaButtonPress): use LFUN_MESSAGE
17523 (workAreaButtonRelease): ditto
17524 (savePosition): ditto
17525 (restorePosition): ditto
17526 (MenuInsertLyXFile): ditto
17527 (workAreaExpose): don't init minibuffer
17528 (update): remove commented code, simplify
17530 * BufferView2.C (openStuff): use LFUN_MESSAGE
17531 (toggleFloat): ditto
17534 (copyEnvironment): ditto
17535 (pasteEnvironment): ditto
17540 (updateInset): remove some commented code
17542 * lastfiles.h: inherit privately from noncopyable
17545 * lyx_main.h: ditto
17547 * lyxlex_pimpl.h: ditto
17549 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17550 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17551 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17553 * LyXAction.h: inherit privately from noncopyable, add methods
17554 func_begin, func_end, returning iterators to the func map.
17556 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17557 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17558 (func_begin): new method
17559 (func_end): new method
17561 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17563 (copySelection): ditto
17564 (pasteSelection): ditto
17566 * BufferView.C: whitespace change
17567 * BufferView.h: inherit privately from noncopyable
17569 2001-04-16 Allan Rae <rae@lyx.org>
17571 * tabular-old.C (l_getline):
17572 * spellchecker.C (sc_check_word):
17573 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17574 an unrecognised preprocessor directive. So ensure they're wrapped.
17576 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17578 * src/exporter.C (Export): Give an error message when path to file
17581 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17583 * LaTeX.C (deplog): Always check that foundfile exists.
17585 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17588 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17590 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17592 * tabular.[Ch] (getLabelList): implement new method
17594 * minibuffer.h: comment ouf setTiimer
17596 * minibuffer.C (ExecutingCB): constify res
17597 (peek_event): constify s
17598 (Set): constify ntext
17599 (Init): constify nicename
17601 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17603 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17604 (savePosition): use two params to Minibuffer::Set
17605 (restorePosition): ditto
17607 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17609 * lyx_main.C: include language.h
17611 * Makefile.am (lyx_main.o): add language.h
17613 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17619 * CutAndPaste.C: include gettext.h
17621 * lyxfont.h: remove old hack with ON and OFF.
17624 * lyxfont.h: do not include language.h...
17629 * bufferview_funcs.C:
17635 * paragraph.C: ... but do it here instead
17637 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17639 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17641 * tabular.C: small reformat
17643 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17646 (BreakParagraph): ditto
17647 (SetOnlyLayout): ditto
17650 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17653 * lastfiles.C: removed most using decl, add std:: where needed
17655 * buffer.C: ws changes
17657 * MenuBackend.C (class compare_format): put into anon namespace
17658 (expand): constify label, names, action, action2
17661 * text.C (SingleWidth): constify font
17662 (IsBoundary): constify rtl2
17663 (GetVisibleRow): constify ww
17665 * LaTeX.C (deplog): constify logfile
17667 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17669 (workAreaExpose): constify widthChange, heightChange
17671 * lyxrow.C (par): moved
17674 * lyxrow.h: as inlines here
17676 * lyxfont.h (shape): moved from lyxfont.C
17677 (emph): moved from lyxfont.C
17679 * lyxfont.C (LyXFont): use initialization list for all
17681 (shape): move to lyxfont.h as inline
17682 (emph): move to lyxfont.h as inline
17685 2001-04-04 Juergen Vigna <jug@sad.it>
17687 * vspace.C: had to include stdio.h for use of sscanf
17689 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17692 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17693 independent of xforms.
17695 2001-04-02 Juergen Vigna <jug@sad.it>
17697 * spellchecker.C: fixed namespace placing!
17699 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17701 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17702 the LyXParagraph * is 0.
17704 2001-03-29 Juergen Vigna <jug@sad.it>
17706 * vspace.C: added support for %, c%, p%, l%.
17707 (stringFromUnit): added helper function.
17708 (asLatexString): changed to give right results for the %-values.
17710 * buffer.C: convert the widthp in a width%.
17712 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17714 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17717 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17718 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17720 * lyx_cb.[Ch]: see above.
17722 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17726 * lyx.[Ch]: replaced by figure_form.[Ch].
17730 * lyxfunc.C: changed headers associated with above changes.
17732 2001-03-27 Juergen Vigna <jug@sad.it>
17734 * BufferView_pimpl.C: set the temporary cursor right!
17736 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17738 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17740 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17742 * LString.h: removed "using std::getline"!
17744 * BufferView_pimpl.C (Dispatch): changes due to changes in
17745 InsetInclude::Params.
17747 * buffer.C (tag_name): removed redundant break statements as they were
17748 producing lots of warnings with my compiler.
17750 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17752 * LString.h: add "using std::getline" when using the real <string>.
17754 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17756 * buffer.C: removed bitset usage.
17757 PAR_TAG moved to an anonymous name space.
17758 (tag_name): new funtion, also in the anonymous namespace.
17759 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17760 (makeDocBookFile): clean code. Completed transition from string arrays
17762 (SimpleDocBookOnePar): code clean.
17764 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17766 * tabular.C: add some comments.
17768 2001-03-22 Juergen Vigna <jug@sad.it>
17770 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17771 compatibility read a bit and fixed bug with minipage in different
17774 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17776 * buffer.C (pop_tag): removed.
17777 (push_tag): removed.
17778 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17779 array replaced with vector. Added support for CDATA sections.
17780 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17782 (makeDocBookFile): XML conformant declaration of CDATA section,
17783 fixed bug related to <emphasis> in the first paragraph char.
17784 (sgmlOpenTag): exclude empty tags.
17785 (sgmlCloseTag): ditto.
17787 * buffer.h (pop_tag): removed.
17788 (push_tag): removed.
17790 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17792 * language.h (Languages): added size_type and size().
17794 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17796 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17797 response on compability reading of minipages. One probliem is that
17798 the old usage of minipages was flertydig
17800 * several files here and in subdirs: don't use static at file
17801 scope use anon namespaces instead.
17803 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17805 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17806 LaTeX output. This is necessary for Literate document
17809 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17811 * buffer.C: insert hfill when needed.
17813 * tabular.C (l_getline): use string::erase, small whitespace change.
17815 * BufferView_pimpl.C: try the anon namespace.
17816 * WorkArea.C: ditto
17818 2001-03-16 Juergen Vigna <jug@sad.it>
17820 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17821 otherwise it won't open options-dialogs.
17823 * buffer.C: honor pextraWidth(p) on converting minipages.
17825 * tabular.C (l_getline): changed the functions to strip trailing \r.
17827 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17829 * BufferView_pimpl.C:
17830 * minibuffer..C: added "using SigC::slot" declaration.
17832 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17834 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17840 * paragraph.C: ditto
17842 * lyxtext.h: NO_PEXTRA
17844 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17846 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17847 * ParameterStruct.h: ditto
17848 * ParagraphParameters.h: ditto
17849 * lyxparagraph.h: ditto
17851 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17853 * buffer.C: add compability for minipage alignment.
17854 (latexParagraphs): remove unwanted pextra check.
17856 * several files: remove CXX_WORKING_NAMESPACES
17858 * buffer.C (pop_tag): tie is in namespace boost
17860 * BufferView.h: noncopyable is in namespace boost
17862 * lyx_main.h: ditto
17865 * lastfiles.h: ditto
17866 * bufferlist.h: ditto
17867 * ShareContainer.h: ditto
17869 * LyXAction.h: ditto
17872 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17874 * Merging changes from BRANCH_MVC back into HEAD.
17876 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17878 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17880 * BufferView_pimpl.C: change from intl.C
17884 * Makefile.am: move combox.*
17890 * intl.C: remove dialog (covered by prefs)
17892 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17894 * lyxfunc.C (Dispatch): removed redundant break statement.
17896 2001-03-14 Juergen Vigna <jug@sad.it>
17898 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17900 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17902 * buffer.C: add hack to fix compability reading of minipages.
17904 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17906 * buffer.C (getLists): Cleanup.
17908 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17910 * lyxfont.C (update): don't honor toggleall on font size.
17912 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17916 * Makefile.am: moved to frontends/xforms/
17920 * BufferView_pimpl.C: changes for moved mathpanel
17922 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17924 * gettext.h: fix gettext_init() in --disable-nls
17926 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17928 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17930 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17933 * lyx.h: strip external form
17935 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17937 * BufferView_pimpl.C: add comment, destroySplash()
17939 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17941 * BufferView_pimpl.C:
17945 * lyxfunc.C: use re-worked insetinclude
17947 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17949 * buffer.C: add using std::stringstream.
17951 * lyx_cb.C: readd using std::ios.
17953 * buffer.C: add using std::map.
17955 * BufferView_pimpl.C: add using std::vector.
17957 * ShareContainer.h: add std:: to swap.
17959 * buffer.h: add some typedefs
17960 * buffer.C (getLists): use them
17961 (getLists): renamed from getTocList.
17962 add a counter for the different float types and use it in the
17964 (getLists): use the same counter for the NEW_INSETS and the "non"
17967 * lyx_cb.h: remove unused items, includes, using etc.
17969 * ShareContainer.h: remove some commented code, add more comments
17970 and "documentation".
17972 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17974 * buffer.C (getTocList): make the list also when NEW_INSETS is
17977 * buffer.h: remove TocType
17979 * buffer.C (getTocList): change to return a map<string,
17980 vector<TocItem> >, implement for dynamic number of list.
17982 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17983 * text2.C (PasteSelection): adjust
17984 * CutAndPaste.C (pasteSelection): adjust
17986 * FloatList.C (FloatList): update from the new_insets branch.
17987 * Floating.[Ch]: ditto
17988 * LaTeXFeatures.C: ditto
17990 * lyxlex_pimpl.C: ditto
17992 * paragraph.C (Last): remove when NEW_INSETS is defined.
17994 * other file: changes because of the above.
17996 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17998 * lyxparagraph.h: rename next to next_, previous to previous_,
17999 make them private for NEW_INSETS. Rename Next() to next(),
18000 Previous() to previous().
18002 * other files: changes because of the above.
18004 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18007 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18010 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18012 * main.C (main): pass lyx_localedir to gettext_init().
18014 * gettext.h: remove locale_init and gettext_init macros
18016 * gettext.C (locale_init): new function
18017 (gettext_init): new function
18019 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18022 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18024 * Moved credits to frontends:
18025 * credits.[Ch]: removed
18026 * credits_form.[Ch]: removed
18027 * lyx_gui_misc.C: remove credits stuff
18030 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18032 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18034 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18035 unneeded destructor.
18037 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18038 a standalone pointer again.
18040 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18042 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18048 * ToolbarDefaults.C:
18057 * BufferView_pimpl.C: use new file dialog in GUII
18060 * lyx_cb.C: remove LayoutsCB to Toolbar
18062 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18064 * ShareContainer.h (get): add std:: qualifier
18066 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18068 * ShareContainer.h: define a proper ShareContainer::value_type
18069 type (and use typename to please compaq cxx)
18071 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18073 * lyxparagraph.h: move serveral local vars to
18074 ParameterStruct/ParagraphParameters., use ShareContainer in
18075 FontTable., make vars in FontTable private and add getter and
18078 * paragraph.C: changes because of the above.
18080 * lyxfont.h: remove copy constructor and copy assignment. (the
18081 default ones is ok), move number inside FontBits. move inlines to
18084 * lyxfont.C: add number to initializaton of statics, move several
18085 inlines here. constify several local vars. some whitespace
18086 cleanup. Dont hide outerscope variables.
18088 * Spacing.h: add two new constructors to match the set methods.
18090 * ShareContainer.h: new file, will perhaps be moved to support
18092 * ParameterStruct.h: new file
18094 * ParagraphParameters.h: new file
18096 * ParagraphParameters.C: new file
18098 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18099 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18101 * BufferView_pimpl.C: ParagraphParameter changes.
18102 * buffer.C: Likewise.
18103 * bufferview_funcs.C: Likewise.
18104 * text.C: Likewise.
18105 * text2.C: Likewise.
18107 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18109 * lyxfind.C (LyXReplace): do not redefine default argument in
18111 (IsStringInText): ditto
18112 (SearchForward): ditto
18113 (SearchBackward): ditto
18115 2001-03-06 Juergen Vigna <jug@sad.it>
18117 * lyxfind.C (IsStringInText): put parentes around expressions.
18119 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18121 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18123 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18125 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18127 * stl_string_fwd.h: add comment
18129 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18132 * tabular.C: remove unused DocBook methods
18138 killed DO_USE_DEFAULT_LANGUAGE
18140 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18142 * lyx_gui.C: do not include language.h.
18144 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18145 arguments in function implementation.
18147 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18149 * BufferView_pimpl.C: add <ctime>
18151 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18153 * BufferView_pimpl.C: add using std::find_if
18155 2001-02-27 José Matos <jamatos@fep.up.pt>
18157 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18160 2001-02-11 José Matos <jamatos@fep.up.pt>
18162 * buffer.C (makeDocBookFile): command styles now have a parameter as
18163 "title" by default.
18165 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18167 * layout_forms.[Ch]: removed
18168 * lyx_cb.[Ch]: out character
18169 * lyx_gui.C: out character
18170 * lyx_gui_misc.C: out character
18171 * bufferview_funcs.C: : out character,
18172 added toggleall as parameter in ToggleAndShow
18174 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18176 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18178 * text2.C (SetCurrentFont): Disable number property at boundary.
18180 2001-02-26 Juergen Vigna <jug@sad.it>
18182 * lyxfunc.C (getStatus): added a string argument override function so
18183 that this is correctly called from LyXFunc::Dispatch if it contains a
18184 do_not_use_argument which is used!
18185 (Dispatch): added check for "custom" export and call appropriate func.
18187 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18189 * lyxrc.C: Add language_command_local, language_use_babel and
18190 language_global_options.
18192 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18194 * buffer.C (makeLaTeXFile): Use language_use_babel and
18195 language_global_options.
18197 2001-02-23 Juergen Vigna <jug@sad.it>
18199 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18200 which works with LyXText and putted it inside BufferView. Here now we
18201 only call for that part the BufferView::Dispatch() function.
18203 * BufferView.C (Dispatch): added.
18205 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18206 functions which needs to use a LyXText over from LyXFunc.
18207 (MenuInsertLyXFile): added
18208 (getInsetByCode): added
18209 (moveCursorUpdate): added
18210 (static TEXT): added
18212 2001-02-22 Juergen Vigna <jug@sad.it>
18214 * BufferView_pimpl.C (update): call a status update to see if LyXText
18217 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18219 * vc-backend.C (revert): implement for CVS
18220 (getLog): implement for CVS
18222 2001-02-20 Juergen Vigna <jug@sad.it>
18224 * text2.C (ClearSelection): added BufferView param for inset_owner call
18226 * lyxfunc.C (TEXT): added this function and use it instead of
18227 directly owner->view()-text of getLyXText().
18229 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18231 * src/layout_forms.C: out preamble
18232 * src/layout_forms.h: out preamble
18233 * src/lyx_cb.C: out preamble
18234 * src/lyx_cb.h: out preamble
18235 * src/lyx_gui.C: out preamble
18236 * src/lyx_gui_misc.C: out preamble
18237 * src/lyxfunc.C: connect with guii preamble
18239 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18241 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18243 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18245 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18246 whether to run bibtex.
18248 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18250 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18252 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18254 * Makefile.am (lyx_SOURCES): removed bibforms.h
18256 * vspace.h: doxygen
18258 * text.C (GetVisibleRow): make several local vars const
18260 * tabular.C: small cleanup.
18262 * lyxserver.C (callback): use compare instead of strncmp
18264 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18265 inlines to after class or to paragraph.C
18267 * lyxfont.h: remove friend operator!=
18269 * converter.h: move friend bool operator< to non friend and after
18272 * combox.h: small cleanup
18274 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18275 to inlines after class def.
18277 * buffer.C (pop_tag): use string operations instead of strcmp
18279 * bmtable.c: doxygen, small cleanup
18281 * LaTeX.h: remove friend operator==
18283 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18295 * BufferView_pimpl.C:
18296 * BufferView.[Ch]: remove cruft
18298 2001-02-14 Juergen Vigna <jug@sad.it>
18300 * lyxfunc.C: removed #if 0 unused code
18302 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18304 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18306 * text2.C (SetSelection): added a BufferView * parameter
18308 2001-02-13 Juergen Vigna <jug@sad.it>
18310 * lyxfunc.C (Dispatch): fixed protected blank problem.
18311 * BufferView2.C (protectedBlank): added LyxText * parameter.
18313 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18314 (AppendColumn): same as above for column_info.
18316 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18317 (moveCursorUpdate): use a LyXText param for support of InsetText.
18319 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18320 (tripleClick): ditto
18322 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18324 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18326 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18328 * text2.C (SetSelection): set correct update status if inset_owner
18329 (ToggleFree): ditto
18331 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18333 * tabular.C: remove some commented code.
18335 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18337 * BufferView_pimpl.C: call hideSplash()
18339 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18342 * bibforms.h: remove
18345 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18346 add LFUN_CHILD_CREATE
18348 * counters.h: fix tiny typo
18353 * lyx.C: move splash to frontends/xforms/
18355 * lyx_gui_misc.C: move Include and Bibform to frontends
18357 * lyxvc.h: clarify comment
18359 * vspace.C: tiny housekeeping
18361 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18363 * text.C (PrepareToPrint): RTL Fix.
18365 * paragraph.C (GetUChar): New method.
18366 (String): Use GetUChar.
18368 * buffer.C (asciiParagraph): Use GetUChar.
18370 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18372 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18374 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18377 * buffer.C: rename to getLogName(), handle
18378 build log / latex log nicely
18380 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18383 * MenuBackend.h: remove support for reference menuitem type.
18385 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18387 * BufferView_pimpl.C: housekeeping
18388 * BufferView_pimpl.h:
18393 * minibuffer.h: move Timeout GUI-I
18395 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18397 * lyxrc.C (read): Update converters data-structures.
18399 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18401 * LaTeX.h (operator!=): add operator != for Aux_Info
18403 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18405 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18407 * LaTeXLog.C: deleted, useful code moved to Buffer
18410 * buffer.C: new function getLatexLogName()
18416 * lyxfunc.C: use frontends for LaTeX and VC logs
18418 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18420 * LaTeX.h: yet another std:: that Allan forgot.
18422 * Variables.C (set): renamed from isset(), because this clashes
18423 with some HP-UX macros (grr).
18425 2001-02-06 Allan Rae <rae@lyx.org>
18427 * LaTeX.h: Another bug fix. Missing std:: this time.
18429 2001-02-04 Allan Rae <rae@lyx.org>
18431 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18432 floats problem. I've left it commented out because it's not quite
18433 correct. It should also test that the current object is a table or
18434 figure inset. But I haven't gotten around to figuring out how to do
18435 that. I *think* it'll be something like: "table" == inset.type()
18437 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18440 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18442 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18443 all the citation/databases/styles in the auxilary file.
18444 (run): Rerun latex if there was a babel language error.
18446 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18448 * text.C (Backspace): Preserve the font when changing newline char
18450 (BreakParagraph): If the cursor is before a space, delete the space.
18452 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18454 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18456 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18457 new argument (code).
18458 (ChangeCitationsIfUnique): New method.
18460 * paragraph.C (GetPositionOfInset): Handle bibkey.
18462 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18464 * BufferView_pimpl.h: change type of Position::par_pos to
18465 LyXParagraph::size_type.
18467 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18469 * BufferView_pimpl.C (savePosition, restorePosition): Write
18470 messages to minibuffer.
18472 2001-01-28 José Matos <jamatos@fep.up.pt>
18474 * buffer.C (makeDocBookFile): adds support for document language.
18475 A silly restriction on the name of LatexCommand types where removed.
18476 Added support for CDATA sections, allows to chars unescaped, used
18477 among others in code, to avoid escape < and >.
18479 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18481 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18482 saved positions instrad of a stack. Furthermore, a position is
18483 stored using paragraph id/paragraph position.
18485 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18486 Remove LFUN_REF_BACK.
18488 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18490 * converter.C (dvipdfm_options): New method.
18492 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18494 * vspace.C (isValidLength): Fix for empty input string.
18496 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18498 * LyXAction.C (init): change description of LFUN_FIGURE to
18501 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18503 * LaTeX.C: add using directive
18505 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18507 * MenuBackend.C (expand): Fix the sorting of the formats.
18509 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18511 * lyx_main.C: tiny error message fix
18513 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18515 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18516 calling fl_initialize(). This fixes the problem with ',' as
18517 decimal separator in text files.
18519 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18521 * trans.C (process): Fix the keymap bug.
18523 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18525 * LaTeX.C (scanAuxFiles): New method. Provides support for
18526 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18527 (scanLogFile) Scan for "run BibTeX" messages.
18529 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18530 OT1 font encoding. Also, load the aecompl package if the ae
18533 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18535 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18537 * texrow.C (increasePos): turn two error messages into debug
18540 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18542 * LaTeX.C (scanAux): Handle the \@input macro.
18543 (runBibTeX): Use scanAux().
18545 * language.C (latex_options_): New field.
18547 * LaTeXFeatures.C (getMacros): Add language macros.
18549 * buffer.C (makeLaTeXFile): Small fix.
18551 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18553 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18555 * text2.C: add a using directive.
18557 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18562 * lyxfunc.C: kill LyXBell.
18564 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18566 * text.C (IsBoundary): Remove the error message
18568 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18570 * lyxrc.C (setDefaults): Correct initialization value for
18573 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18575 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18578 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18579 and GotoNextNote().
18581 * src/LyXAction.C: Added reference-next.
18583 * text.C (InsertChar): Use contains instead of strchr.
18585 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18587 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18589 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18590 alignment commands (when needed).
18592 * text.C (InsertChar): Add ':' to number separator chars.