1 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
4 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
5 * paper.h: dispose dead PAPER_PACKAGES enum.
7 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
12 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
14 * exporter.C (Export): Don't try to copy a file if it does not exist
17 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
19 * text2.C (makeFontEntriesLayoutSpecific): remove.
22 * text.C (insertChar): remove bogus caching of fonts (did not do
25 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
28 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
30 * rowpainter.C (paintFirst): fix centering of
31 LABEL_CENTERED_TOP_ENVIRONMENT.
33 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
35 * BufferView.C (mouseSetCursor): new method. Calls
36 deleteEmptyParagraphMechanism if necessary.
38 * lyxtext.h: make deleteEmptyParagraphMechanism public.
40 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
41 BufferView::mouseSetCursor (bug 2109).
42 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
44 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
46 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
47 do not remove it (this inset behaves differently from the others).
49 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
53 * BufferView_pimpl.C (getStatus): it is only possible to insert a
56 * buffer.C (readDocument): remove pit argument and code releated
57 to it; set the inset owner correctly (unrelated, but useful).
58 (readFile): get rid of pit argument.
60 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
61 textclass instead of a selection index.
62 (pasteParagraphList): new function.
63 (pasteSelection): make it a wrapper around pasteParagraphList.
65 * BufferView_pimpl.C (MenuInsertLyXFile): use
66 cap::pasteParagraphList to insert a file.
68 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
70 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
72 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
74 * exporter.C: fix typo in text message
76 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
78 * text2.C (setLayout): move recUndo call to other setLayout method
79 * tabular.C (toggleFixedWidth): new, handle cell width changes
80 * tabular.C (setColumnPWidth): move some code from insettabular.C here
81 and use toggleFixedWidth
82 * tabular.C (setMColumnPWidth): ditto
84 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
86 * paragraph.C (asString): use new inset->textString method (fix
89 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
91 * CutAndPaste.C (numberOfSelections): new helper function.
93 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
95 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
96 LyXFunc::getStatus; implement LFUN_PASTE.
98 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
100 * dociterator.[Ch]: new member realInset() that returns the cell
101 for tabulars and the inset for the rest (bug 1952).
102 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
105 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
107 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
109 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
113 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
116 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
118 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
119 line after typing ctrl-enter
121 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
123 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
124 math insets do not return a proper editable() state yet (bug 2124).
126 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
128 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
129 docs containing very large paragraphs.
131 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
133 * cursor.C (selectionBegin, selectionEnd):
134 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
135 cursor at different depths.
137 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
139 * bufferview_funcs.C (coordOffset): do not call cursorPos
140 for collapsed collapsables (fix bug 2094).
142 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
144 * paragraph.C (fontSpan): make sure that the FontSpan does not
145 span across beginOfBody (bug 1947).
147 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
151 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
153 * messages.C: fix crash and localization on MinGW/Windows platform
155 2005-11-02 Angus Leeming <leeming@lyx.org>
158 * lyxtextclass.C: trivial fixes to some MSVS warnings.
160 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
162 * text3.C (getStatus): re-enable disabled code. (bug 2081)
164 * BranchList.h (empty): constify.
166 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
168 * text3.C (getStatus):
169 * MenuBackend.C (expandBranches): take the branch list from the
170 master document (bug 2092).
172 * MenuBackend.C (expandBranches):
173 * bufferparams.C (writeFile): use BranchList type.
175 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
177 * text3.C (dispatch, getStatus):
178 * LyXAction.C (init):
179 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
181 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
183 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
185 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
187 * text.C (insertChar): do not reset boundary (bug 2061)
189 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
191 * dociterator.C (updateInsets): new method. Updates the inset_
192 cache of all the slices of the iterator.
194 * text2.C (deleteEmptyParagraphMechanism): compare also containing
195 insets when comparing pit/pos; pass the right cursor to
196 recordUndo; when a paragraph has been deleted, compare `old.top()' to
197 the right cursor slice of `cur'; use updateInsets on cur to make
198 sure that the inset caches are correct; general cleanup.
200 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
202 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
203 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
204 containg inset. If this does not work, the same command will be
205 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
207 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
210 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
212 * lyxtextclass.C (Read): convert layout file if the format is wrong
213 * lyxtextclass.C (layout2layout): new, needed for the above
215 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
217 * messages.C: do not forget to include <cerrno>.
219 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
221 * dociterator.h (StableDocIterator): add access to pos().
222 * undo.C (samePar): new method to check if two
223 iterators are in the same paragraph
224 * undo.C (recordUndo): check for samePar instead of cell identity
225 (which includes pos() and is too strict) (fixes bug 2097)
227 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
229 * text.C (setCursorFromCoordinates): return a bool telling whether
232 * text3.C (cursorPrevious): update if needed after
233 setCursorFromCoordinates (when dEPM triggered).
235 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
236 (otherwise the anchor may be completely wrong and make dEPM assert).
238 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
240 * buffer.C: version upgrade to 245.
241 * bufferparams.C: remove \quotes_times (bug 2090).
242 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
243 quotation marks as default.
245 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
247 * CutAndPaste.C (nrOfParagraphs): remove (unused)
248 * CutAndPaste.C (cutSelection): Remove debug message
249 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
250 undo information and only copy if this is a real cut
251 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
253 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
255 * CutAndPaste.C (eraseSelection): prevent cursor corruption
256 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
257 superflous cur.selection() setting
258 * CutAndPaste.[Ch] (grabSelection): take a const cursor
259 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
261 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
263 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
266 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
268 * BufferView_pimpl.C: comment layout change
270 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
274 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
275 by bibliography managers (bug 2071).
277 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
279 * BufferView_pimpl.C (update): choose arguments to update call so
280 that single-par update works most times
281 * text3.C (dispatch): carefully tune updating separately for
282 whole-screen and current-paragraph
283 * rowpainter.C (paintText): 1) replace painting by caching for
284 the two extra paragraphs, because we can;
285 2) suppress greying out of areas below/above drawn area in case of
287 * lyxfunc.C (dispatch): remove superfluous update
288 * LyXAction.[Ch]: introduce SingleParUpdate
290 2005-10-05 Angus Leeming <leeming@lyx.org>
292 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
293 always initialised before use.
295 * text.C (setHeightOfRow): squash warning about comparison
296 of signed and unsigned types.
298 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
300 * text.C (cursorX): two fixes involving RtL text drawing
302 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
304 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
305 items, not only large ones (part of bug 2057)
307 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
309 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
310 argument, use "newcommand".
312 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
314 * cursor.C (setSelection): do not open collapsable insets;
315 the insets do by themselves now (autoopen).
317 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
319 * buffer.C: format is up to 244.
321 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
323 * text.C (redoParagraph): fix calcultation of inset width wrt
324 leftMargin (bug 1957).
326 * text3.C (dispatch): leave inset to the right when hitting ESC
329 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
334 * messages.C: include <boost/current_function.hpp>
336 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
338 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
339 when command is internal. (bug 1941)
341 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
343 * text2.C (cursorRight): do not honor boundary when at the end of
344 a paragraph. (bug 2010 again)
346 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
348 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
350 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
352 * rowpainter.C (paintText): fix RtL space width display bug (2029)
354 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
356 * text2.C (setCursor): remove the unused 'boundary' parameter for
357 the CursorSlice version; adapt the LCursor version.
360 * paragraph_pimpl.C (markErased):
361 * cursor.C (bruteFind2, bruteFond3): fix warnings.
363 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
365 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
366 as is already done for "chapter".
368 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
370 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
371 textclass; do not record undo if nothing is changed.
373 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
375 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
377 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
379 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
381 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
383 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
384 combox, it is necessary to search for the topmost paragraph in the
385 cursor stack (bug 1926)
387 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
389 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
390 end of paragraph. (bug 2010)
392 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
394 * text.C (leftMargin): check for inInset == 0
396 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
398 * text.C (leftMargin): test for insetbase's new neverIndent()
399 bool instead of listing each and every inset that does not
400 wish par indendation.
402 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
404 * buffer_funcs.C (setCounter): put the code to compute enum label
405 here (where it belongs).
407 * counters.C (enumLabel): move code to buffer_funcs.C.
409 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
411 * outputparams.[Ch]: store local_font instead of local_language
412 * paragraph.C (simpleTeXOnePar): adapt to the change above
414 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
417 * counters.[Ch]: clean up special code for Hebrew.
419 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
421 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
424 2005-09-08 Angus Leeming <leeming@lyx.org>
427 * lyxrc.C: correct grammar describing invocation of the
430 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
432 * text.C (read): remove unused variable.
433 (readParToken): remove static Change variable (never good in
434 recursive settings...); add it as a parameter instead.
436 * paragraph_pimpl.C (acceptChange): make debug info conditional.
438 * metricsinfo.C (PainterInfo): add new member erased_.
440 * rowpainter.C (RowPainter): add erased_ member, initialized from
442 (paintInset): pass erased_ to Inset::draw.
444 * lyxfunc.C (lookupChange): new function. Tells whether change
445 tracking is disabled at a given postion.
446 (getStatus): disable some actions when in deleted text with change
449 2005-08-03 John Levon <levon@movementarian.org>
451 * tabular.C (appendColumn, setMultiColumn): adapt to change to
454 * paragraph_pimpl.C (markErased): add bool argument and handle it.
455 Also make sure to mark insets recursively.
456 (rejectChange, erase): be recursive
458 * paragraph.C (markErased): add bool argument.
459 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
461 * lyxfind.C (findNextChange): tiny cleanup.
463 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
464 change tracking with the cursor in an inset; make sure the first
465 change is not skipped.
467 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
469 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
470 tabularStackDirty to work around bug 1919 (tabular needs
471 to know whether its own cell paste buffer or the one of
473 * CutAndPaste.C: mark tabular_stack_ clean after copy.
475 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
477 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
479 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
481 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
482 use old deleteion algorithm when changetracking is on.
484 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
486 * messages.C (get): add debug output.
488 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
490 * text.C (cursorX): fix bug 1965: cursor movement at
491 line end broken in RtL.
492 (drawSelection): fix bug 1970: drawing of single-line
493 selection broken for RtL.
495 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
499 * dociterator.h (clear, push_back, pop_back): change from
502 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
503 and changed to just return the value of the item depth; take a
504 ParIterator as argument; take the itemdepth at outer nesting level
505 in account if necessary; cleanup and comment the code.
506 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
507 and changed to just return true if reset is needed; take a
508 ParIterator as argument; cleanup and comment the code.
509 (setCounter): adapt to above changes.
511 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
513 * text3.C (dispatch): make debug message optional
515 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
517 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
520 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
522 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
524 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
526 * text.C (insertChar):
527 * text2.C (deleteEmptyParagraphMechanism): take care whether
528 a blank has been deleted (in change tracking mode) (bug 1254).
530 2005-07-20 John Levon <levon@movementarian.org>
532 * text2.C (insertStringAsLines): remove old dubious code,
535 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
537 * MenuBackend.C (expandToc): use Floating::listName() as title of
540 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
542 * toc.[Ch]: Do not use translatable strings (bug 1870).
544 2005-07-20 John Levon <levon@movementarian.org>
546 * tabular.C: fix 1748 - setting multicolumn adds
547 left line to the first cell
549 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
552 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
555 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
557 * messages.C: supress some lyxerr messages
559 2005-07-18 Juergen Vigna <jug@lyx.org>
561 * text.C (drawSelection): honor boundary when asking for cursorX.
563 2005-07-17 José Matos <jamatos@fc.up.pt>
565 * tabular.C (recalculateMulticolumns): fix handling of one column
568 2005-07-17 Juergen Vigna <jug@lyx.org>
570 * text.C (Delete, backspace): fixed so that paragraph with the
571 same layout can be merged by Delete/Backspace.
573 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
575 * text.C (readParToken): fix spelling.
577 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
579 * text2.C: fix counter update for DEPM problem reported by
582 2005-07-17 Juergen Vigna <jug@lyx.org>
584 * BufferView_pimpl.C (setBuffer): save/restore the
585 cursor/selection when switching buffers
588 * buffer.C (saveCursor): add saveDocumentIterators to save the
589 cursor when switching buffer.
591 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
594 * buffer.C: clarify message
596 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
598 * dociterator.C (DocIterator): fix initialization order
600 2005-07-17 Juergen Vigna <jug@lyx.org>
602 * text2.C (cursorHome):
603 * text.C (drawSelection, cursorX):
604 * dociterator.C (textRow): add boundary to getRow() call
606 * paragraph.C (getRow): implementation of below
608 * paragraph.h: add parameter boundary for getRow() function
610 2005-07-17 José Matos <jamatos@fc.up.pt>
614 * tex-strings.[Ch]: new file format, remove support for a4.sty,
615 a4wide.sty and a4widemargins.
617 2005-07-17 Juergen Vigna <jug@lyx.org>
619 * text2.C (cursorLeft): fix one of error
621 2005-07-17 Juergen Vigna <jug@lyx.org>
623 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
625 more fixes for boundary handling
627 * text3.C (dispatch): don't reset cursor if boundary has changed
630 2005-07-16 Juergen Vigna <jug@lyx.org>
632 * text2.C (getColumnNearX): hopefully got it right now,
633 check if we are on column 0 for special case.
635 2005-07-16 Juergen Vigna <jug@lyx.org>
637 * text2.C (getColumnNearX): handle special case Newline Inset
639 * text.C (singleWidth): Just remove bogus check
641 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
643 * funcrequest.C (split): avoid reading uninitialized char c
645 2005-07-16 José Matos <jamatos@fc.up.pt>
651 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
652 single papersize variable.
654 2005-07-16 Juergen Vigna <jug@lyx.org>
656 * text3.C (dispatch): honor boundary when checking if a cursor
657 movement has been done
659 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
660 (setCursor, setCursorIntern): fix cursor movement with boundary
662 2005-07-16 Juergen Vigna <jug@lyx.org>
664 * text.C (currentState): output the actual Boundary
666 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
668 * factory.C (createInset): fix bad logic for tabular creation
670 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
672 * lyx_main.C (init): change some reLyX reference to tex2lyx
674 2005-07-16 Juergen Vigna <jug@lyx.org>
676 * dociterator.C (DocIterator): initialize boundary
678 2005-07-16 Juergen Vigna <jug@lyx.org>
680 * text2.C (getColumnNearX): Consider rows without trailing blank.
682 2005-07-16 André Pönitz <poenitz@gmx.net>
684 * lyxfont.h: Change order of declarations to give the compiler
685 a better chance to inline things
687 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
688 questions on unsaved docs for better scritability
690 2005-07-16 André Pönitz <poenitz@gmx.net>
692 * paragraph.h (getChar): remove asserts as the same kind of security
693 can be achieved by using a suitable standard library implementation
694 and the function was in the critical path (25.9% in profiler)
696 2005-07-16 Juergen Vigna <jug@lyx.org>
698 * cursor.C (bruteFind2):
699 * bufferview_funcs.C (coordOffset):
700 * text.C (cursorX,cursorY): Handle cursor position after last char
701 in row before a inset which uses a whole row.
703 2005-07-15 José Matos <jamatos@lyx.org>
705 * output_plaintext.[Ch] (writeFileAscii): control reference title
707 (asciiParagraph): noparbreak was already deal and was incorrectly
710 2005-07-15 Juergen Vigna <jug@lyx.org>
712 * lyxfunc.C (dispatch): save and restore the cursor after a
715 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
717 * text.C (backspace): bug 806 for empty keepempty paragraphs we
718 change the layout to default before letting DEPM do its thing.
720 * paragraph_funcs.C (breakParagraph): dont reset the layout on
723 * text.C (setCursorFromCoordinates): add a debug statement
725 * text2.C (getColumnNearX): bug 1825 make sure that we don't
726 return a pos that is not on the row
728 * output_latex.C (TeXDeeper): get rid of potential dereferencing
729 of past the end iterator
731 2005-07-14 André Pönitz <poenitz@gmx.net>
733 * undo.C (recordUndoFullBuffer): implement undo for
736 2005-07-14 André Pönitz <poenitz@gmx.net>
738 * cursor.C (setSelection): open insets when selection is set there
739 to avoid crashs with cold coord cache
741 2005-07-14 André Pönitz <poenitz@gmx.net>
743 * trans_mgr.C (insert): move cursor to the right after inserting
746 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
748 * BufferView_pimpl.C (update): dampen some of the debug blabbering
749 * factory.C (readInset): ditto
750 * text.C, text2.C: ditto
752 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
754 * buffer.C: format incremented to 242. There is no file format per
755 se, but the "frenchb" language has been removed from lib/language
756 and has to be translated to "french" by lyx2lyx.
758 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
760 * cursor_slice.h, dociterator.h: add some documentation
761 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
763 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
765 * text.C (leftMargin): do not add identation to display() style
766 insets, because they are always centered (bug 1293).
768 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
770 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
771 formatted_time methods in support/lyxtime.
773 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
775 * toc.[Ch]: new method getGuiName, which is used by the frontends
776 to set the toc combo (fixes bug 1870). Make TOC string translatable.
778 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
780 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
781 StableDocIterator const &)
782 * undo.C (recordUndo): use the above instead of cell.size() comparison
783 (fixes bug 1808; instructed by Andr�.
785 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
788 * dociterator.h: Fix the assert when copying rows/cols in math
790 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
792 * BufferView_pimpl.C:
794 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
796 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
797 (findInset): new functions, refactored from goto Inset that return
798 the position of a certain inset without setting the buffer's cursor
800 (gotoInset): rewrite to call findInset and then set the cursor
803 2005-06-16 Angus Leeming <leeming@lyx.org>
805 * lyxrc.C (output, read): wrap all input and output of paths with
806 calls to os::internal_path and os::external_path, respectively.
807 (output): wrap bind_file inside quotes.
809 * format.C (view): enable the viewer to use the '$$s' placeholder.
811 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
813 * LColor.[Ch] (getFromLaTeXName): new
815 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
817 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
819 2005-06-14 Angus Leeming <leeming@lyx.org>
821 * lyx_main.C (init): ensure that the LyX binary dir is the first
822 element in the PATH on non-POSIX builds.
824 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
826 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
828 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
830 * rowpainter.C (paintInset, paintHebrewComposeChar)
831 (paintArabicComposeChar, paintChars): add a LyXFont argument.
832 (paintChars): use getFontSpan to reduce calls to getFont to a
833 minimum; use Paragraph::lookupChange instead of isXXXText.
834 (paintForeignMark): rename LyXFont argument.
835 (paintFromPos): pass a LyXFont object to the various paintXXX
838 * FontIterator.C (FontIterator, operator++): use
839 Paragraph::getFontSpan
841 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
842 version that returns the font span as a pair.
844 2005-06-09 Angus Leeming <leeming@lyx.org>
846 * converter.C (convert): Don't forget "outfile = real_outfile" as
847 the final step in a conversion where the input and output file names
848 are the same. Otherwise, future conversion steps won't work...
850 2005-06-09 Angus Leeming <leeming@lyx.org>
852 * lyxsocket.C: remove stub code as it isn't needed by
853 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
855 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
857 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
858 effectively disabled -x
860 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
862 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
863 when it actually makes sense.
865 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
867 * BufferView_pimpl.C: revert to showCursor in connection with
868 Lars's front-end stack
870 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
872 * text.C (redoParagraph): move cursor right after a bibitem
875 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
877 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
879 * buffer_funcs.C (bufferErrors): fix computation of the end of an
882 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
884 * BufferView.[Ch] (update):
885 * BufferView_pimpl.[Ch] (update, metrics):
886 * dimension.h (operator==):
887 * lyxfunc.C (dispatch):
888 * metricsinfo.h (ViewMetricsInfo):
889 * rowpainter.C (paintText):
891 * text.C (redoParagraph):
892 * text3.C (dispatch): Make LyX only repaint current paragraph in
893 case of character insert --> speedup. Also fix cursor draw
896 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
898 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
899 avoid a crash (bug 1891)
901 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
905 * text2.C (getStringToIndex): constify cur argument.
907 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
908 argument has been given
909 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
910 try to invoke LFUN_INSET_APPLY).
912 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
913 if no inset was created by doInsertInset
914 (doInsertInset): return true if an inset has been inserted.
916 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
918 * vspace.C (asGUIName): new method. A version of the space
919 suitable for showing on screen.
921 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
924 * lyxrc.C: rename "ASCII" to "Plain Text"
926 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
928 * buffer_funcs.C (expandLabel): take a Buffer as argument;
929 translate the labelstring.
930 (setCounter): translate labelstring as needed.
932 * output_docbook.C (makeCommand): fix expandLabel invokation
934 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
936 * BufferView.C: fix dialog title
938 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
940 * lyx_main.C (priv_exec): fix logic error with help from Angus
941 * lyx_main.C (parse_execute): set is_gui = false and remove now
942 obsolete comment about a segfault
944 2005-05-18 Angus Leeming <leeming@lyx.org>
946 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
948 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
950 * tabular.[hC]: added setCellInset to fix tabular paste.
952 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
954 * buffer.C (save): check if destination is writable before trying
957 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
959 * BufferView_pimpl.C (update): fix processEvents -caused update
962 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
964 * buffer_funcs.C (setCounter): fix test for numbering of
967 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
968 depth correctly; use optional argument when it exists
970 * lyxtextclass.C: remove unused MaxCounterTags enum
971 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
972 (max_toclevel, min_toclevel): new methods.
974 * MenuBackend.C (expandToc2): fix case where depth is smaller than
975 the smallest depth in toc.
977 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
978 layouts that should not appear in a table of contents.
980 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
982 * cursor.h (undispatched, noUpdate): add comments from Andr�
983 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
987 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
989 2005-05-07 André Pönitz <poenitz@gmx.net>
991 * cursor.[Ch] (leaveInset): new function
993 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
995 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
997 2005-05-04 Angus Leeming <leeming@lyx.org>
999 * lyxfunc.C (getStatus): disable the spell checker dialog if
1000 none of USE_[AIP]SPELL are defined.
1002 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1004 * tabular.C (setWidthOfCell): remove obsolete comment
1006 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1008 * paragraph.C (bibitem):
1009 * buffer_funcs.C (setCounter):
1010 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1012 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1014 * text3.C (getStatus): immediately return after setOnOff
1016 * rowpainter.C: fix drawing of appendix start
1018 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1020 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1021 SwitchBetweenClasses and remove the unused return value.
1022 Handle character styles, too
1024 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1026 * factory.C (createInset): handle undefined character styles
1028 2005-05-02 Angus Leeming <leeming@lyx.org>
1030 * buffer.C: protect the #include of utime.h with a preprocessor
1033 2005-05-02 Angus Leeming <leeming@lyx.org>
1035 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1036 function so that auto-saving works, albeit in a blocking manner.
1038 * Makefile.am: make compilation of the client sub directory, of
1039 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1040 on conditionals set at configure time.
1042 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1043 it can be compiled in its own right but has no-op functionality.
1045 * aspell.C, pspell.C: remove preprocessor guards. The files should
1046 be compiled only if the necessary functionality exists.
1048 * lyxserver.C, lyxsocket.C: disable on Windows.
1050 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1052 * text.C (leftMargin): Fix the parindent use bug (1764)
1055 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1057 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1060 2005-04-25 Angus Leeming <leeming@lyx.org>
1068 include <config.h> in .C files, not .h ones.
1070 protect headers inside preprocessor guards.
1072 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1074 * FuncStatus.h (StatusCodes): document
1076 2005-04-21 André Pönitz <poenitz@gmx.net>
1078 * FuncStatus.h (enabled, onoff): document
1080 2005-04-19 Angus Leeming <leeming@lyx.org>
1082 * BufferView_pimpl.C (cursorToggle): no longer test whether
1083 any child processes have been reaped before calling
1084 handleCompletedProcesses().
1086 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1088 * text3.C (dispatch): fix, finally fix, the language problem in
1089 new lyxtexts, without disabling on-the-fly font changes (Helge's
1092 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1094 * text3.C (dispatch): set cursor on double/triple click events
1097 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1099 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1100 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1102 * rowpainter.C (paintFirst): simplify the code a little bit. In
1103 particular, remove the test for secnumdepth.
1104 * text.C (setHeightOfRow): only allocate space for chapter number
1105 when updateCounters provided an actual label, instead of looking
1106 at secnumdepth directly.
1108 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1110 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1111 paragraphs when secnumdepth is large enough or, for environments,
1112 when they are not the first in a sequence.
1114 2005-04-17 Angus Leeming <leeming@lyx.org>
1116 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1117 containing space and '~' characters with a call to latex_path().
1119 2005-04-17 Angus Leeming <leeming@lyx.org>
1121 * converter.C (convert): protect all args of convertDefault.sh
1124 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1126 * text3.C (dispatch): change the layout to "Caption" after inserting
1129 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1131 * text3.C (dispatch): fix language problem in newly created
1132 textinsets (and main text) in non-english docs
1134 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1136 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1137 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1138 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1140 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1144 * text2.C (getFont):
1145 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1148 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1150 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1151 output of \item arguments without trailing text.
1153 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1155 * FontIterator.C (operator*): avoid a copy of the font.
1157 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1159 * rowpainter.C (getFont): fix language bug from previous fix
1161 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1163 * rowpainter.C (RowPainter, getFont): fix font inside inset
1166 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1168 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1169 preventing inserted font, deco, delim insets jumping to start of
1172 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1174 * lyxfunc.C (dispatch): translate message before sending it to the
1177 2005-03-29 Angus Leeming <leeming@lyx.org>
1179 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1180 to LyX on the command line.
1182 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1184 * vc-backend.C: use QuoteName to protect file names wherever
1187 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1190 * BranchList.h: fix bugs 1844,1845: document settings don't
1193 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1195 * lyxrc.C (setDefaults, read, output, getDescription): add support
1196 for tex_allows_spaces.
1198 * exporter.C (Export): allows files in directory containing spaces
1199 if tex_allows_spaces is true.
1201 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1202 output it in double quotes.
1204 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1206 * rowpainter.C: use default text height for drawing change tracker
1209 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1211 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1213 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1215 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1216 directory is missing.
1218 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1220 * text2.C: fixed the fix, extended to other case.
1222 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1224 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1226 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1228 * text2.C (cursorUp): get rid of a crash
1229 * text.C (x2pos): add an assert
1231 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1233 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1237 * dociterator.C: include <boost/current_function.hpp>, which is
1238 needed when assertions are disabled.
1240 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1242 * text2.C: fix for stuck cursor when traversing two
1243 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1245 2005-02-25 Andreas Vox <avox@arcor.de>
1247 * output_docbook.C (makeParagraph): suppress trailing newline
1248 after a run of paragraphs
1250 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1252 * paragraph.C: fix for confused change tracker when pasting
1253 text that begins with a lineseparator. [bug 1827]
1254 (setChange(0, Change::INSERTED);)
1256 * paragraph_funcs.C: fix for lost changes on triple-paste
1257 in change tracking mode [bug 1827] (par.setChange()).
1259 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1261 * text2.C (updateCounters, setCounter, expandLabel): move to
1264 * buffer_funcs.C (updateCounters): turn into a free standing
1265 function and add a buffer parameter. Remove dead code for tracking
1267 (setCounter): change into a free-standing function which gets a
1268 dociterator as argument. Use this iterator to fix captions in a
1269 simple way. When no float is found above the caption, use the
1270 labelstring of the caption layout as default.
1272 * text.C (breakParagraph, backspace):
1273 * text2.C (init, setLayout, changeDepth):
1274 * text3.C (dispatch):
1275 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1278 * dociterator.C (forwardPar): make it much faster by calling
1279 forwardPos() only when really necessary.
1281 * output_docbook.C (makeCommand): adapt to expandLabel move.
1283 * cursor.C: remove unused variable
1285 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1287 * paragraph_funcs.C: fix crash when pasting insets in change
1288 tracking mode [bug 1277] (honour change type in moveItem).
1290 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1292 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1294 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1296 * BufferView.C (setCursor): change to use a DocIterator.
1297 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1298 (putSelectionAt): adapt to BufferView::setCursor change.
1300 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1301 moved here from LyXText and rewritten to use proper cursor
1302 methods. Fixes bug 1787, 616 and 835.
1304 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1305 when inside an inset (part of bug 781).
1306 (dispatch): adapt to change of BufferView::setCursor.
1307 (getStatus, dispatch): handle LFUN_GOTOERROR,
1308 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1310 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1311 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1312 * text3.C (gotoNextInset, gotoInset): removed.
1314 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1316 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1318 2005-02-15 Angus Leeming <leeming@lyx.org>
1320 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1321 can be used meaningfully in a comparison.
1323 2005-02-13 André Pönitz <poenitz@gmx.net>
1325 * bufferview_funcs.C (coordOffset): improve cursor drawing
1327 2005-02-13 André Pönitz <poenitz@gmx.net>
1329 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1330 * Cursor.C (dispatch): use fixIfBroken
1331 * lyxfunc.C (getStatus): use fixIfBroken
1333 2005-02-15 Angus Leeming <leeming@lyx.org>
1335 * lyx_main.C (error_handler):
1337 * lyxrc.C (setDefaults):
1339 #include "environment.h".
1341 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1343 2005-02-15 Angus Leeming <leeming@lyx.org>
1345 * lyxserver.C (startPipe): squash MSVC warning "local variable
1346 'fd' used without having been initialized".
1348 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1350 * BufferView_pimpl.C: revert accidental commit.
1352 2005-02-14 André Pönitz <poenitz@gmx.net>
1354 * dociterator.[Ch]: new member forwardPosNoDescent(),
1355 which doesn't enter nested insets.
1356 * text2.C (setFont): use forwardPosNoDescent() instead
1357 of ForwardPos() (fixes crash on font change).
1359 2005-02-13 Angus Leeming <leeming@lyx.org>
1361 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1362 only if lyxrc.path_prefix is not empty.
1364 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1366 * bufferparams.C (readGraphicsDriver): prevent crash
1368 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1370 * text2.C (setCounter): check for inInset() == 0
1372 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1374 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1375 but use update() to get correct screen display; use convert
1376 instead of istringstream.
1377 (getStatus): handle LFUN_GOTO_PARAGRAPH
1379 * lyxfunc.C (dispatch, getStatus): do not handle
1380 LFUN_GOTO_PARAGRAPH here.
1382 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1384 * text3.C (dispatch): size() -> depth()
1386 * text2.C: remove some debug output
1388 * paragraph.C: ws changes only
1390 * lyxfunc.C (getStatus): size() -> depth()
1392 * dociterator.h (clear, push_back, pop_back, internalData,
1393 operator[], resize, empty): new functions
1394 Make StableDocIterator and operator== be friends. Don't inherit
1395 from std::vector use a privat class variable slices_ instead.
1398 * dociterator.C: update because of not inheriting from std::vector
1399 anymore. Call explictly to slices_ instead. Use depth() instead of
1400 size() and top() instead of back()
1402 * cursor.C: chagne size() -> depth and back() -> top(). Also
1403 remove some direct operator[](i) calls in favour of foo[i]
1404 (getFont): remove some dead code
1406 * bufferview_funcs.C (coordOffset): size() -> depth()
1408 * buffer.C: ws changes only
1410 * CutAndPaste.C (eraseSelection): back() -> top()
1412 * BufferView_pimpl.C (selectionRequested): back() -> top()
1414 * BufferView.C (setCursor): size() -> depth()
1416 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1418 * text3.C (cursorPrevious): return true if depm changed something
1420 (dispatch): rename sl to oldTopSlice, remove moving use the new
1421 NoUpdate func attrib instead. Make sure that needsUpdate is set
1422 for function that have NoUpdate, but where depm might have changed
1425 * text2.C (cursorLeft): make us return true if depm changed
1427 (cursorRight): ditto
1428 (cursorUpParagraph): ditto
1429 (curosrDownParagraph): ditto
1430 (cursorUp, cursorDown): ditto, make sure to read comments in code
1431 (deleteEmptyParagraphMechanism): remove an assert, also return
1432 true if just a single char was deleted.
1434 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1435 cursor that we modify, to avoid modifying an active cursor before
1436 we call setCursor. This allows depm to run. Also return true if
1437 depm deleted something.
1439 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1440 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1441 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1442 something was changed in the buffer because of them (ie. depm run)
1444 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1445 debug messages. Make update by default be false. Make sure that
1446 the result of update is retained throught several calls down to
1449 * LyXAction.h: add a new func_attrib: NoUpdate
1451 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1452 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1453 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1455 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1457 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1459 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1460 bv_->owner(), bv_->buffer() by direct references to the private
1462 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1463 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1464 (fitCursor): center() is in BufferView::Pimpl.
1465 (getStatus, trackChanges, dispatch): no need for a temporary buf
1467 (fitCursor, workAreaDispatch): use workarea().workheight()
1469 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1471 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1473 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1475 * buffer.C: format up to 241.
1476 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1477 break if pasting into ERT
1478 * lyxfunc.C (getStatus): suppress mathpanel and
1479 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1481 2005-02-01 Angus Leeming <leeming@lyx.org>
1483 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1485 2005-02-01 Angus Leeming <leeming@lyx.org>
1487 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1488 calling fs::is_directory().
1490 2005-01-31 Angus Leeming <leeming@lyx.org>
1492 * lyx_main.C (priv_exec): specify explicitly the relative location
1493 of the top level build directory when run in-place.
1495 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1497 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1498 LyXText containing the cursor, not the top-level one.
1500 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1502 (insertStringAsLines): rename par to pit; use temporary variable
1503 par to hold a Paragraph; do not store par.layout() in a variable,
1504 since the pointer may die when breaking paragraphs; pass pars to
1505 breakParagraph() instead of Buffer::paragraphs().
1507 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1509 * lyxlex_pimpl.h: #include <fstream>.
1511 * BufferView.[Ch] (getLyXText): add a const version.
1513 * BufferView_pimpl.C: add debug aids.
1518 * paragraph_funcs.h: add commentary explaining what the class does.
1521 * coordcache.[Ch]: add lots of commentary.
1522 (startUpdating, doneUpdating): debug aids.
1523 (arrays, insets, parPos, getParPos): accessors to private data.
1525 * cursor_slice.[Ch] (text): add a const version.
1526 * dociterator.[Ch] (text, innerText): add const versions.
1528 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1531 * paragraph.C (getRow, pos2ros): add asserts.
1533 * paragraph.h: add commentary. Lots of.
1535 * paragraph.[Ch] (metrucs, draw): removed.
1538 * rowpainter.[Ch]: const-correct changes.
1540 * text.C: various obvious clean-ups. Removal of ancient cruft.
1543 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1545 * vc-backend.C (find_file): rewrite to use boost.filesystem
1548 * main.C (main): set default name check for boost.filesystem to
1551 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1554 (actOnUpdatedPrefs): ditto
1556 * lyx_main.C (init): rewrite to use boost.filesystem
1557 (queryUserLyXDir): ditto
1559 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1560 (getContentsOfAsciiFile): ditto
1562 * lastfiles.C (readFile): rewrite to use boost.filesystem
1564 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1566 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1567 (loadLyXFile): ditto
1569 * buffer.C (Buffer): adjust for destroydir
1570 (getLogName): rewrite to use boost.filesystem
1571 (setFileName): ditto
1572 (save): use fs::copy_file (from fs_extras)
1574 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1576 * LaTeX.C (run): rewrite to use boost.filesystem
1577 (scanAuxFiles): ditto
1578 (handleFoundFile): ditto
1580 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1582 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1584 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1586 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1588 * lyxlayout.[Ch]: change some vars from float to double
1590 * buffer.C (readFile): make a local var const
1592 * Several files: use convert<> instead of atoi,strToXXX and friends
1594 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1596 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1597 holds the contents of packages.lst. New functions getAvailable
1598 and isAvailable to parse and check that list, resp.
1602 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1604 * bufferparams.[Ch]: new param output_changes.
1606 * Buffer.C: increase file format to 240.
1607 Use output_changes and isVailable.
1611 * paragraph_pimpl.C: Use output_changes and isVailable.
1613 2005-01-23 Angus Leeming <leeming@lyx.org>
1615 * output_latex.C: #include "insetbibitem.h", rather than
1616 forward declare function bibitemWidest.
1618 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1620 * lyx_main.C (init): make it compile on the Mac.
1622 2005-01-20 Angus Leeming <leeming@lyx.org>
1624 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1625 (setLyXMisc): (char string literal) != (char string literal) is
1626 performing a comparison on the addresses. Convert one operand
1627 explicitly to string to guarantee expected behaviour.
1630 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1633 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1635 * output_plaintext.C: remove unneeded #include gzstream.h.
1637 2005-01-20 Angus Leeming <leeming@lyx.org>
1639 * SpellBase.h: rename some of the elements of the Result enum.
1646 * pspell.C (check): ditto
1648 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1650 * buffer.C: add #include <fstream>.
1652 * lyx_main.C (init): Compile fix.
1654 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1656 2005-01-20 Angus Leeming <leeming@lyx.org>
1658 * mover.h: change commentary to reflect the changed meaning of
1659 the $$s placeholder.
1661 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1663 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1665 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1667 2005-01-20 Angus Leeming <leeming@lyx.org>
1669 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1670 printing diagnostic data by not dereferecing an iterator past the
1673 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1675 * buffer.C (readHeader): use "&&" rather than "and".
1677 * lyxserver.h (inPipeName, outPipeName): make these const.
1679 2005-01-19 Angus Leeming <leeming@lyx.org>
1681 * lyx_main.C (error_handler, init): protect SIGHUP with
1682 #ifdef SIGHUP guards.
1684 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1686 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1688 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1690 * text.C (setHeightOfRow): add a margin at the top and bottom of
1691 the document (bug 1761)
1693 2005-01-17 Angus Leeming <leeming@lyx.org>
1695 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1696 with "python ". Workaround for a brain-dead Windows.
1698 2005-01-16 Angus Leeming <leeming@lyx.org>
1700 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1701 for MacOSX and Windows to use prependEnvPath.
1702 Strip out the hard-coded block to add elements to the PATH for
1703 MacOSX and replace it with a call to prependEnvPath using the
1704 contents of LyXRC::path_prefix.
1705 (queryUserLyXDir): strip out the code to run reconfigure, instead
1706 returning a boolean indicating the necessity to do so.
1707 (reconfigureUserLyXDir): contains the code to reconfigure the
1708 user support directory. Is now called after the various LyXRC data
1709 files have been read.
1711 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1713 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1715 * converter.[Ch] (convert): take a new parameter try_default. Use
1716 a default converter (imagemagick) if try_default is true.
1718 2005-01-13 Angus Leeming <leeming@lyx.org>
1720 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1721 os::cygwin_path_fix.
1722 (write): output LyXRC::cygwin_path_fix as necessary.
1724 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1727 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1729 2005-01-12 Angus Leeming <leeming@lyx.org>
1731 * lyx_main.C (init): set the PATH variable to include the
1732 directory containing the LyX binary when running on Mac or Windows.
1734 2005-01-12 Angus Leeming <leeming@lyx.org>
1736 * lyx_main.C (init): remove cruft that purports to set the locale
1737 dir. It doesn't and is not needed anyway.
1739 2005-01-10 Angus Leeming <leeming@lyx.org>
1741 * Makefile.am: remove the lyx_main.C special casing.
1743 * BufferView_pimpl.C:
1749 * messages.C: use support/package.h to provide the paths to the
1750 various directories used by LyX.
1752 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1754 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1755 layout if pasting into an empty paragraph)
1757 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1759 * tex-accent.C: add <string>
1761 2005-01-06 José Matos <jamatos@lyx.org>
1763 * ParagraphParameters.C (write): put every parameter in its own line.
1764 * paragraph.C (write): reduce number of consecutive empty lines exported.
1765 * buffer.C (LYX_FORMAT): increase file format to 239.
1767 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1769 * everywhere: change support/tostr.h -> support/convert.h
1771 * tabular.C: make all write_attributes templates, tostr -> convert
1773 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1774 (emptyTag): and -> &&, and fix type for ret from getChar
1775 (getFirstWord): fix type for ret from getChar
1776 (onlyText): and -> &&
1777 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1780 * toc.C (goTo, action):
1781 * text3.C (dispatch):
1782 * text.C (currentState):
1783 * tex-accent.C (DoAccent):
1786 * lyxfunc.C (menuNew):
1787 * lyxfinc.C (replace):
1788 * counters.C (laberItem):
1789 * bufferview_funcs.C (font2string):
1790 * bufferparams.C (writeFile):
1791 * buffer.C (readFile):
1793 * MenuBackend.C: tostr -> convert
1795 * LaTeX.C (runMessage): fix format
1796 (scanAuxFiles): tostr -> convert
1798 * BufferView_pimpl.C (savePosition): fix format
1799 (restorePosition): ditto
1802 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1804 * Spacing.[Ch]: New method getValueAsString().
1808 * ParagraphParameters.C:
1811 * text3.C: store/read spacing value as string.
1813 * rowpainter.C: change float value (spacing_val) to double.
1815 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1816 broken custom document spacing).
1818 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1820 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1821 namespace, also more use of temp references and const
1823 * cursor.[Ch] (getStatus): move to lyxfunc.C
1825 * bufferparams.C: reformat slightly
1827 * bufferview_funcs.C (font2string): constify arg
1833 * buffer_funcs.C: (many funcs): constify arg on function
1834 definitions, also make more local vars const, also add ASSERTS on
1837 * buffer.C (LYX_FORMAT): put const in correct place
1838 (many funcs): constify arg on function definitions, also make
1839 more local vars const
1841 * aspell_local.h: remove "struct" from typdef setup
1843 * aspell.C (check): make word_ok const
1844 (nextMiss): simplify slightly
1847 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1849 * lyxrc.[Ch]: store all float values as strings.
1850 use int (not float) for lyxrc.dpi.
1852 2005-01-04 Angus Leeming <leeming@lyx.org>
1854 * lyx_cb.C (Reconfigure):
1855 * lyx_main.C (queryUserLyXDir):
1856 to run the <system_lyxdir>/configure correctly on Windows, prefix
1857 the path to the script with "sh " when generating the string that
1858 is passed to system().
1860 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1862 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1864 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1866 * lyxlength.C (asLatexString): get rid of setprecision
1868 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1870 * text2.C (setLayout): remove unused variable endpit.
1871 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1873 * paragraph.C (onlyText): remove unused variable style.
1875 * cursor.C (bruteFind): remove unused variables beg and end.
1877 * Makefile.am (dist_noinset_DATA): not needed anymore
1879 * cheaders/*: remove.
1881 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1883 * text3.C: fix LFUN_MATH_MODE.
1885 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1887 * buffer_funcs.C (countWords): new function. Counts words between
1890 * BufferView_pimpl.C (getStatus, dispatch): handle
1893 * LyXAction.C (init):
1894 * lfuns.h: add LFUN_WORDS_COUNT.
1896 2004-12-19 Angus Leeming <leeming@lyx.org>
1898 * buffer.C (save): s/slashify_path/internal_path/.
1900 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1902 * lyxfind.C (findChange): do not search for end of pars, because
1903 the change tracker cannot handle this (fixes bug 1719).
1905 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1907 * paragraph.[Ch] (autoBreakRows): remove
1909 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1911 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1912 avoid using the paragraph one
1914 * text2.C (LyXText, insertStringAsLines): adjust
1916 2004-12-16 Angus Leeming <leeming@lyx.org>
1920 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1922 2004-12-14 Angus Leeming <leeming@lyx.org>
1924 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1926 * bufferlist.C (emergencyWrite):
1927 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1930 2004-12-14 Angus Leeming <leeming@lyx.org>
1932 * main.C: (main): no longer pass pointers to os::init.
1934 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1936 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1937 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1939 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1942 * text3.C: remove selection_possible global flag
1944 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1946 * text2.C (getSelectionSpan): remove
1947 (changeDepth, changeDepthAllowed): adjust
1949 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1951 * Makefile.am (BOOST_LIBS): use boost variables
1953 2004-12-03 José Matos <jamatos@lyx.org>
1955 * buffer.C: format up to 238.
1957 2004-12-03 José Matos <jamatos@lyx.org>
1959 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1961 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1963 * cursor.C (goUpDown): remove call to idxUpDown2
1965 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1967 * tabular.[Ch]: use size_t-like types for cell, row and column
1970 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1972 * lyxfunc.C (getStatus): do not lose previous information when
1973 calling BufferView::getStatus; do not set a default "Command
1974 disabled" message at the beginning, but just before returning.
1976 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1978 * cursor.h (getStatus): add better comment from src/cursor.C
1980 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1982 * text3.C (getStatus): return false when the lfun is not handled
1984 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1986 * broken_headers.h: remove
1988 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1990 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1992 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1993 offset_ref accessors
1995 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1996 top_y_, merge fitcursor with update
1997 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1999 (metrics): introduce
2000 (workAreaDispatch): adapt to new coord scheme
2001 (redoCurrentBuffer): remove
2003 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2005 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2008 * coordcache.[Ch]: add paragraph cache and helpers
2010 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2013 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2014 (targetX, setTargetX): introduce
2016 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2017 baseline -> ascent, as the rest of lyx
2019 * lyxtext.h: remove redoParagraphs, updateParPositions,
2020 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2021 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2022 have ascent/descent (ascent is ascent of first par)
2024 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2027 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2029 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2031 * pariterator.C: fix infinite loop introduced in par->pit renaming
2033 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2034 in insets and LyXText, draw two off-screen paragraphs using
2035 NullPainter, and adapt to new coord scheme
2039 * text3.C: adapt lfun handlers to the new coord scheme, which
2040 means: there's only guaranteed coord information for onscreen pars
2041 plus one above and one below. This implies that one can do search
2042 from y coordinates in the range [-1,workHeight]
2044 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2046 * rename a lot of InsetOld to InsetBase
2048 2004-11-25 Angus Leeming <leeming@lyx.org>
2050 * BufferView_pimpl.C:
2052 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2054 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2056 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2057 call BufferView::getStatus if LCursor::getStatus did nothing
2058 (setStatusMessage, getStatusMessage): removed.
2060 * FuncStatus.C (message): new methods. Used to provide an error
2061 message indicating why a command is disabled.
2062 (clear, |=, FuncStatus): update for message.
2064 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2066 * lyxfunc.C (dispatch): always call sendDispatchMessage
2068 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2071 * BufferView_pimpl.C:
2076 * cursor_slice.[Ch]:
2079 * paragraph_funcs.C:
2085 * undo.C: par->pit renaming
2087 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2089 * tabular.C (cellstruct): use initialization, store a shared_ptr
2090 to insettext instead of the insettext directly, adjust to fit.
2091 (operator=): new function
2092 (swap): new function
2093 (rowstruct): use initialization
2094 (columnstruct): use initialization
2095 (ltType): use initialization
2098 * lyxlength.h (swap): new function
2100 * LColor.[Ch] (operator=): use the common semantics
2102 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2104 * lyxfind.C (findNextChange): update the bufferview after setting
2107 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2109 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2110 number of InsetOptArgs has already been inserted.
2112 * output_latex.C (latexOptArgInsets): new method. This outputs all
2113 the optarg insets, up to the limit defined in the layout file.
2114 (optArgInset): removed
2115 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2117 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2119 * paragraph.C (isLetter): remove special spellchecker-related
2120 code; return true also for digits
2121 (isWord, isKomma): remove
2123 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2124 * lyxfind.C (MatchString()): use isLetter instead of isWord
2126 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2128 * pariterator.h (operatir=): comment out un-implemented member
2131 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2134 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2136 * lyxfont.h: include LColor.h to satisfy concept checks.
2138 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2140 * pariterator.h: add typdefs for value_type, difference_type,
2141 pointer and reference to satisfy concept checks. Also add default
2142 constructor for same reason.
2144 * pariterator.C (operator++): add post-increment operator to
2145 satisfy concept checks.
2147 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2150 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2152 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2153 checks. Also rename base_type to BaseType to follow naming
2156 * FloatList.h: include Floating.h to satisfy concept checks.
2158 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2160 * lyxfunc.C (getStatus): when the origin of the request is menu or
2161 toolbar, and the LyXView does not have focus, do as if there was
2162 no buffer (bug 1720)
2164 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2165 FuncRequest to individual entries of LFUN_SEQUENCE
2167 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2169 * output_latex.C (TeXOnePar): override runparams.moving_arg
2170 according to the needprotect value of the current paragraph (bug
2173 * paragraph.C (simpleTeXOnePar): no need to override
2174 runparams.moving_args here
2176 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2178 * vspace.C: fix off-by-one-error, related to fix #1682
2180 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2182 * lengthcommon.C: a more general fix for bug 1682
2184 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2186 * text.C (backspace): fix crash
2188 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2190 * format.[Ch] (getFormatFromFile): new method
2191 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2193 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2195 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2197 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2199 * lyxfunc.C (dispatch): remove the verbose argument
2200 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2203 * kbmap.C (defkey): set the origin of func to KEYBOARD
2205 * MenuBackend.C (MenuItem):
2206 * ToolbarBackend.C (add): set the origin of func to UI
2208 * funcrequest.[Ch]: add origin member, which indicates which part
2209 of LyX requests an action
2211 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2213 * converter.C (move): don't lie in the error message
2214 * converter.h (isReachable, move): document
2216 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2218 * buffer.C: remove unused using lyx::support::atoi
2219 * paragraph_funcs.C: ditto
2221 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2223 * bufferlist.C (exists): use bind and equal_to instead of
2226 * lyxtextclasslist.C (NumberOfClass): ditto
2228 * cursor.C (insert): use for_each instead of explicit for loop
2230 * bufferlist.C (getFileNames): use std::transform and
2231 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2233 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2236 * buffer.C (changeLanguage): use for_each instead of explicit for
2238 (hasParWithID): implement using getParFromID
2240 * LaTeXFeatures.C: ws change only
2242 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2245 * BufferView_pimpl.C (trackChanges): use for_each instead of
2248 2004-11-04 André Pönitz <poenitz@gmx.net>
2251 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2253 * dociterator.C (asDocIterator): use hard assert again.
2255 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2257 * lyxlength.C (asLatexString): rewrite so that it does not use
2260 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2262 * text3.C (specialChar, dispatch): make sure cursor moves to the
2263 right after inserting an inset
2265 2004-11-02 José Matos <jamatos@lyx.org>
2267 * output_docbook.C (docbook):
2268 * paragraph.C (getID):
2269 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2270 garantee that the output is always legal.
2272 * tabular.C (docbook):
2273 * outputprams.[Ch]: remove mixed contents.
2275 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2277 * text2.C (setCounter): prevent endless loop
2279 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2281 * exporter.C (copyFile): use the mover instead of support::copy()
2282 * exporter.C (Export): pass format and latex name to copyFile()
2283 * exporter.h (addExternalFile): document
2284 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2286 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2288 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2290 2004-10-30 José Matos <jamatos@lyx.org>
2292 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2293 text and no inset or font change. This allows to use CDATA
2294 sections just for the whole paragraph.
2296 2004-10-30 José Matos <jamatos@lyx.org>
2298 * paragraph.C (getFirstWord): remove unused variable.
2300 2004-10-30 José Matos <jamatos@lyx.org>
2302 * paragraph.C (getFirstWord): the content should always be escaped
2304 (simpleDocBookOnePar):
2305 * output_docbook.C (makeEnvironment): replace reference to CDATA
2308 2004-10-30 José Matos <jamatos@lyx.org>
2310 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2312 2004-10-30 José Matos <jamatos@lyx.org>
2314 * output_docbook.C (makeParagraphs):
2315 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2316 standard paragraph has only a given type of content drop the wrapper.
2318 2004-10-29 José Matos <jamatos@lyx.org>
2320 * output_docbook.C (makeEnvironment):
2322 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2324 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2326 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2327 (cleanID): sanitize any id.
2329 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2331 * buffer.C, lyxlex_pimpl.C:
2332 * lyxlex_pimpl.C (setFile):
2333 s/getExtFromContents/getFormatFromContents/
2335 2004-10-28 José Matos <jamatos@lyx.org>
2337 * output_docbook.C (makeEnvironment): move id to broadest possible
2340 * sgml.C (openTag): apply substitution of <> for all attributes.
2342 2004-10-28 José Matos <jamatos@lyx.org>
2344 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2345 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2346 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2348 * sgml.[Ch]: new version for open and closeTag for paragraph and
2349 for strings. Now they handle the ids of paragraphs.
2351 2004-10-26 Angus Leeming <leeming@lyx.org>
2353 * Makefile.am: add mover.[Ch].
2355 * converter.C (convert, move): use the new Movers to move external
2356 files to the temp directory.
2358 * lyx_main.C (init): ensure that the global system_movers data
2361 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2364 * mover.[Ch]: new files, defining a Mover as a utility to move an
2365 external file between directories and, if necessary, manipulate this
2366 file using a helper script.
2368 2004-10-25 José Matos <jamatos@lyx.org>
2370 * output_docbook.C (makeCommand): merge two if's that tested the
2373 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2375 * sgml.C (escapeString): fix warning in a better way
2377 2004-10-25 José Matos <jamatos@lyx.org>
2379 * sgml.C (escapeString): import the require boosts header file for
2380 tie, and avoid a signed unsigned comparison.
2382 2004-10-25 José Matos <jamatos@lyx.org>
2384 * sgml.h: add #include <string>
2386 2004-10-25 José Matos <jamatos@lyx.org>
2388 * sgml.[Ch] (escapeString): new function to escape all the string.
2390 2004-10-24 José Matos <jamatos@lyx.org>
2392 * paragraph.[Ch] (getFirstWord): new function to get the first
2393 word. Useful for description.
2394 (simpleDocBookOnePar): remove depth argument, add another that
2395 says where to start the paragraph.
2397 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2398 use the new functions to fix cleanly the support for descriptions.
2400 2004-10-24 José Matos <jamatos@lyx.org>
2402 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2403 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2404 * output_linuxdoc.C (linuxdocParagraphs):
2405 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2406 add buffer as argument.
2408 2004-10-24 José Matos <jamatos@lyx.org>
2410 * output_docbook.C (makeEnvironment, searchEnvironment): place
2411 CDATA inside paragraphs and fix scope for listitems.
2413 2004-10-24 José Matos <jamatos@lyx.org>
2415 * output_docbook.C: remove using statement for stack.
2417 2004-10-23 José Matos <jamatos@lyx.org>
2419 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2420 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2421 docbook. The new scheme is recursive and makes use of iterators, the
2422 same as latex export works.
2423 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2424 directly with the paragraph contents. This code was moved up to
2425 output_docbook.C (docbookParagraphs).
2426 * sgml.C (openTag, closeTag): removed unneeded newlines.
2427 (closeEnvTags) removed.
2429 2004-10-23 André Pönitz <poenitz@gmx.net>
2431 * undo.C (textUndoOrRedo):
2432 * dociterator.C (asDocIterator): work around crash
2434 * cursor.C (getStatus): replace ASSERT by more verbose error message
2435 and manual correction of the problem. Should increase stability
2436 while providing more sensible information.
2438 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2440 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2442 * bufferlist.C (previous, next): new methods
2445 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2447 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2449 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2450 entities to preamble.
2452 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2454 * messages.C (Pimpl): strip off translation context information
2456 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2458 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2459 the cursor is correct (bug 1694)
2461 2004-10-13 José Matos <jamatos@lyx.org>
2463 * output_docbook.C (docbookParagraphs): fix closing tags in the
2464 end of the document.
2466 2004-10-09 José Matos <jamatos@lyx.org>
2468 * buffer.C: format up to 237.
2469 * bufferparams.C (write): use tostr to convert booleans to strings.
2471 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2473 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2475 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2477 * LaTeX.C: implement use of babel language in xindy.
2479 2004-10-05 José Matos <jamatos@lyx.org>
2481 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2482 Add new translators to help reading and writing the lyx file.
2484 2004-10-05 José Matos <jamatos@lyx.org>
2486 * ParagraphParameters.C (read):
2487 * text.C (readParToken): replace nexToken by more appropriate lex
2490 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2492 * LaTeX.C (runMakeIndex):
2493 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2494 (usually 'makeindex') configurable.
2496 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2497 with a variable rather than with a number.
2499 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2501 * output_latex.C (TeXOnePar): make sure font setting is the first
2502 thing that gets output (and the last at the end). Should fix bug
2505 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2507 * pch.h: use proper signal include
2509 * LaTeX.h: Use preferred calling of Boost.Signal
2512 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2514 * pch.h: dont include <boost/function/function0.hpp>
2516 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2518 * paragraph_pimpl.h: remove usage of ShareContainer
2520 * paragraph_pimpl.C: remove initialization of ShareContainer.
2522 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2526 * BufferView.C (putSelectionAt): change the semantics when
2527 backwards == true: now, this just swaps cursor and anchor wrt the
2530 * BufferView.h (putSelectionAt): add some documentation
2532 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2533 make sure backwardChar is done at least once (to avoid getting
2535 (findNextChange): use putSelectionAt in the forward direction
2536 (operator()): use Paragraph::isWord
2538 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2540 * Spacing.C (set): c_str fix
2542 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2544 * lyx_cb.C (Reconfigure): quote the name of configure script in
2545 case it contains spaces
2547 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2551 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2552 (BOOST_LIBS): use top_buildir when looking for the file
2554 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2556 * pch.h: do not use include boost/format.hpp, multiple symbols
2557 will result (gcc bug)
2560 2004-08-23 José Matos <jamatos@lyx.org>
2562 * bufferparams.C (readToken): fix reading of the author field.
2564 2004-08-20 José Matos <jamatos@lyx.org>
2566 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2568 2004-08-20 José Matos <jamatos@lyx.org>
2570 * lyxlex.[Ch] (findToken): remove function.
2572 * ParagraphParameters.C (findToken):
2573 * bufferparams.C (findToken): replace call for previous function
2574 with local copy. This local function has one more argument, the
2575 read string argument.
2577 2004-08-16 José Matos <jamatos@lyx.org>
2579 * ParagraphParameters.C (write):
2580 * Spacing.C (writeFile):
2581 * bufferparams.C (writeLaTeX):
2582 * lyx_cb.C (Reconfigure):
2583 * paragraph.C (write):
2584 * tabular.C (write): remove unnecessary space at end of line.
2587 2004-08-16 José Matos <jamatos@lyx.org>
2589 * text.C (readParagraph): remove debug message.
2591 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2593 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2596 * output_plaintext.C (asciiParagraph): set depth correctly
2598 * outputparams.h: add member depth
2600 * paragraph_funcs.C (ownerPar): remove.
2602 * text2.C (setCounter): remove first_pit; comment out some
2603 non-working code that uses ownerPar
2605 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2608 2004-08-16 José Matos <jamatos@lyx.org>
2610 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2611 For the same level of importance use the same chanel to report problems.
2612 (read): add code to deal with \begin_body and \end_body.
2615 2004-08-15 José Matos <jamatos@lyx.org>
2617 * lyxlex.C (getString): fix comment, buffer::readBody is now
2618 buffer:readDocument.
2620 * tex-strings.C (string_papersize): Default -> default,
2621 Custom -> custom, for consistency with other options.
2623 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2627 * Makefile.am: support pch
2629 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2631 * text.C (readParToken): remove the static LyXFont variable and
2632 pass it as a parameter instead. This fixes a nasty bug where an
2633 inset will be inserted with a bad font in some situations
2634 (readParagraph): adapt
2636 * text2.C (setCounter): reduce number of calls to pars_[pit]
2638 * text.C (singleWidth): add an assert, fix a test
2640 * rowpainter.C (paintText): reduce number of calls to singleWidth
2642 * paragraph.C (isHfill):
2643 (isNewline): ws only
2645 2004-08-14 André Pönitz <poenitz@gmx.net>
2650 * lyxtext.h (several functions): use a Paragraph & argument
2653 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2655 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2657 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2659 * text.C (singleWidth): remove useless test
2661 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2663 * tabular.h: remove bogus comments
2665 * tabular.C (getDescentOfRow):
2666 (isPartOfMultiColumn): add assertions
2668 * lyxlength.C (inPixels): remove #warning
2670 2004-08-14 André Pönitz <poenitz@gmx.net>
2672 * paragraph.h: inline getChar()
2674 * BufferView.h: remove unused declarations
2676 2004-08-14 José Matos <jamatos@lyx.org>
2678 * Buffer.[Ch] (readDocument): new name for old readBody.
2679 * Buffer.C: new file format, new keywords: \begin_document,
2680 \begin_header, \begin_body, \end_body.
2682 * bufferparams.C (readToken): replace all calls to lex.nextToken
2683 by lex.next(). Do the same to eatLine except where really needed.
2685 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2686 line when writing to the lyx file.
2688 * output_plaintext.C (asciiParagraph): fix Bibliography style
2691 * text.C (read): fix end of file handling.
2693 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2695 * MenuBackend.C (Menu::operator[]): new method to access
2696 individual menu items
2697 (Menu::hasFunc): new method. search for an item that corresponds
2699 (MenuBackend::specialMenu): new method
2700 (MenuBackend::expand): if a special menu has been set, skip
2701 entries whose func() appears in this menu
2703 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2705 * text3.C: use Debug::DEBUG a bit more
2707 * text.C (leftMargin): try to simplify a tiny bit change var x to
2708 l_margin. Dont output the wide margins always.
2709 (rightMargin): no margin in inner texts
2711 * rowpainter.h (nestMargin): new func
2712 (changebarMargin): new func
2713 (rightMargin): new func
2715 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2719 * factory.C (createInset): modify setDrawFrame
2721 * cursor.C: use Debug::DEBUG a bit more
2723 2004-08-14 André Pönitz <poenitz@gmx.net>
2726 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2727 cache for all insets in (at least partially) visible (top-level)
2730 * BufferView_pimpl.C: reset external coord cache before every update.
2731 This means the coord cache only contains valid entries.
2733 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2736 * BufferView_pimpl.C (getInsetByCode): move function out of class
2737 and change in to a template in anon namespace. Also fix to do what
2740 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2743 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2745 (breakParagraph): rename par to par_offset and use a local
2746 reference. Add code to keep the language over a rebreak.
2747 (breakParagraphConservative): rename par to par_offset, use a
2749 (mergeParagraph): ditto
2751 (isFirstInSequence): ditto
2752 (outerFont): rename pit to par_offset
2754 * paragraph.C: ws change
2755 * paragraph.h: ditto
2759 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2761 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2764 * paragraph.C (simpleTeXOnePar): when we have a \item with
2765 optional argument, enclose the argument with curly brackets (in
2766 case it contains a closing square bracket)
2770 * text3.C (checkInsetHit): constify
2772 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2774 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2775 documents (bug 1629)
2777 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2779 Fix toggling of collapsable insets with the mouse (bug 1558)
2781 * lyxfunc.C (dispatch): adapt to LCursor changes
2783 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2784 make sure that dispatch is not invoked twice
2786 * cursor.C (needsUpdate): new method
2787 (dispatch): return void
2788 (result): new method, to access the DispatchResult of the cursor.
2790 2004-08-13 José Matos <jamatos@lyx.org>
2792 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2794 2004-08-13 André Pönitz <poenitz@gmx.net>
2796 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2798 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2801 2004-08-12 André Pönitz <poenitz@gmx.net>
2803 * text3.C: take out the 'cursor right' form insertInset and only
2804 do it in those places when it is really needed. Fixes crash on
2807 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2809 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2811 * BufferView_pimpl.C (setBuffer): initialize the current font of
2812 the underlying LyXText
2814 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2816 * kbsequence.C (print): use UI native formatting for menu
2819 * text.C (insertChar): call Paragraph::insertChar with a font
2822 * paragraph.C (insertInset, insertChar): the version that takes a
2823 LyXFont argument is now a wrapper around the other one (the
2824 opposite used to be true).
2826 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2827 argument. Font setting is done in Paragraph now.
2829 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2831 * outputparams.h: add new members intitle and lang.
2833 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2834 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2836 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2838 * text3.C (dispatch): remove special handling of button 4 and 5,
2839 it is now taken care of in the frontend code.
2841 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2843 * Spacing.h: add <string> (STLPort compile fix)
2845 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2847 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2849 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2851 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2854 * converter.C (showMessage): inherit from unary_function, make
2857 * buffer.C (writeFile): initialize retval
2859 * InsetList.h: rename private variable list to list_
2860 * InsetList.[Ch]: adjust accordingly.
2862 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2864 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2865 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2866 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2867 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2868 * ParagraphParameters.C, LaTeXFeatures.C: replace
2869 "support/std_sstream.h" with <sstream>
2871 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2873 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2874 * lyxsocket.C (LyXServerSocket): ditto
2875 (serverCallback): ditto
2877 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2879 * LaTeXFeatures.C: check release date when loading jurabib.
2881 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2883 * lyxserver.C (startPipe): call register_socket_callback
2884 (endPipe): call unregister_socket_callback
2886 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2888 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2889 (LyXServerSocket): register the callback
2890 (LyXServerSocket): unregister the callback
2891 (fd): delete function
2892 (serverCallback): improve error checking and setup the callbacks.
2893 (dataCallback): change arg to fd.
2894 (writeln): new func (copied fro the client socket) used for server
2896 (LyXDataSocket): simplify
2897 (~LyXDataSocket): close ann unregiser callback
2898 (server): delete function
2899 (fd): delete function
2900 (readln): small changes, improve some std::string usage
2901 (writeln): constify a bit
2903 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2905 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2908 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2910 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2911 after it has been populated
2913 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2915 * text2.C (insertInset): move cursor when inserting inset.
2917 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2919 * kbmap.C (findbindings): a couple of new methods. returns a
2920 container of kb_sequence objects. The real work is done by the
2921 private recursive version
2922 (printbindings): uses findbindings to print out a bracketed list
2923 of bindings (renamed from findbinding).
2925 * MenuBackend.C (binding): use kb_keymap::findbindings
2927 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2929 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2931 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2933 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2935 * paragraph.C (isWord): return true on insets that report
2938 * text.C (getWord): use Paragraph::isWord to decide what is in a
2939 word and what is not; fix bug 1609.
2941 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2943 * tex-strings.C: add "none" to string_paperpackages[], fixes
2944 off-by-one-error in the paperpackage selection.
2947 * tex-strings.[Ch]: char const * string[n]
2948 -> char const * const string[]
2950 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2952 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2953 command, return early.
2955 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2957 * debug.h: add DEBUG to enum and fix size of ANY.
2959 * debug.C: add support for Debug::DEBUG
2960 (showTags): cast errorTags.level to unsigned int
2962 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2963 (redoCurrentBuffer): ditto
2964 (updateScrollbar): ditto
2965 * cursor.C (dispatch): ditto
2966 * text2.C (setLayout): ditto
2968 (updateCounters): ditto
2970 (deleteEmptyParagraphMechanism): ditto
2972 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2974 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2975 annotations to cleanup the Makefile slightly.
2977 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2979 * lyxrc.C: do not set user_email to a default value but use empty
2980 instead. The entry used to be translated, which does not work
2981 since at the point where lyxrc is constructed there is no
2982 translation service available
2984 * messages.C (getLocaleDir): remove and use directly
2985 lyx_localedir() instead
2987 2004-06-02 Angus Leeming <leeming@lyx.org>
2989 Fix crash caused by dereferencing null pointer 'exportdata' in
2990 OutputParams by creating a new ExportData variable on the heap,
2991 storing it in a boost::shared_ptr.
2992 The crash was triggered when generating an Instant Preview
2993 of an external inset.
2995 * Makefile.am: add outputparams.C
2997 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2998 (c-tor): allocate memory to it.
3000 * exporter.C (c-tor): associated changes.
3002 2004-06-01 Angus Leeming <leeming@lyx.org>
3004 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3005 contains data before calling isInset(0). (Bug 1513.)
3007 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3009 * exporter.C (checkOverwrite): new method
3010 * exporter.C (copyFile): new method
3011 * exporter.C (Export): copy referenced files to the document dir
3012 * exporter.[Ch]: new class ExportedFile
3013 * exporter.[Ch]: new class ExportData. Contains currently the
3014 names of referenced external files
3015 * outputparams.h: add exportdata member.
3017 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3019 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3022 2004-05-19 Angus Leeming <leeming@lyx.org>
3027 * lyxfunc.C: small changes due to the introduction of namespace
3028 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3030 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3032 * text3.C (dispatch): supress update when only moving the cursor
3033 * cursor.C (selHandle): remove commented code
3035 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3037 * paragraph.C (startTeXParParams): correct column count
3038 * CutAndPaste.C (pasteSelection): remove const_cast
3039 * output_docbook.C (docbookParagraphs): remove const_cast
3040 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3041 const_cast and return ParagraphList::const_iterator
3042 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3043 * output_plaintext.C (writeFileAscii): remove const_cast
3044 * paragraph.[Ch] (simpleTeXOnePar): make const
3045 * paragraph_funcs.C (outerPar): use const iterators
3046 * paragraph_pimpl.C (validate): use const iterators
3047 * text.C (setHeightOfRow): use const iterators
3049 2004-05-17 Angus Leeming <leeming@lyx.org>
3052 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3054 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3055 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3056 if the citation engine has changed.
3058 2004-05-14 José Matos <jamatos@lyx.org>
3060 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3061 if the textclass does not provide it. Have it different for sgml and
3063 support the language of document.
3064 * output_docbook.C (docbookParagraphs):
3065 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3066 first anchor as the id of the paragraph, remove special case code.
3067 * sgml.C (escapeChar): escape only < & >.
3069 2004-05-14 Angus Leeming <leeming@lyx.org>
3071 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3072 dependencies on src/frontends/controllers/biblio.h. Define a
3073 CiteEngine_enum wrapper class to enable the enum to be forward
3076 2004-05-12 Angus Leeming <leeming@lyx.org>
3078 * buffer.C: up LYX_FORMAT to 234.
3079 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3080 use_numerical_citations with a single biblio::CiteEngine cite_engine
3082 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3084 2004-05-13 José Matos <jamatos@lyx.org>
3087 * converter.C (Converter, readFlags): add xml member.
3088 * outputparams.h: add XML flavor.
3089 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3091 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3093 * lyxfunc.C (dispatch):
3094 (getStatus): fix handling of LFUN_SEQUENCE
3096 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3098 * debug.C (showLevel): do not forget the end-of-line marker
3100 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3102 * kbmap.C (read): do not stop parsing a bind file when an error
3105 2004-04-29 Angus Leeming <leeming@lyx.org>
3110 * text2.C: wrap a bunch of #warning statements
3111 inside #ifdef WITH_WARNINGS blocks.
3113 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3115 * buffer.C: increment format to 233.
3117 2004-04-28 Angus Leeming <leeming@lyx.org>
3119 * BufferView_pimpl.C:
3122 s/updateToolbar()/updateToolbars()/
3123 s/Toolbar.h/Toolbars.h/
3125 2004-04-28 Angus Leeming <leeming@lyx.org>
3127 * BufferView.[Ch] (c-tor):
3128 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3129 No longer passes these data to the WorkArea generator.
3131 2004-04-28 Angus Leeming <leeming@lyx.org>
3133 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3135 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3137 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3139 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3141 * output_latex.C (TeXEnvironment): make sure that there is a line
3142 break before \end{foo} for the last paragraph of a document
3143 (TeXOnePar): if the paragraph is at the end of the document (or
3144 inset) and the language has to be reset, then make sure that the
3145 line break is _before_ the language command, not after (fixes bug
3146 1225); also make sure that the language reset command is the first
3147 thing after the paragraph (to ensure proper nesting of
3148 environments and thus fix bug 1404)
3150 2004-04-21 John Levon <levon@movementarian.org>
3153 * ToolbarBackend.C: make "name" be a programmatic name
3154 and a gui_name field.
3156 * lyxfunc.C: display the minibuffer on M-x
3158 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3160 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3163 2004-04-19 Angus Leeming <leeming@lyx.org>
3165 * BufferView_pimpl.C (setBuffer): changed preview interface.
3167 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3170 2004-04-19 John Levon <levon@movementarian.org>
3172 * BufferView_pimpl.C:
3173 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3175 2004-04-05 Angus Leeming <leeming@lyx.org>
3177 * text.C (redoParagraphs): add call to updateCounters(), thereby
3178 fixing the missing "Figure #:" label from the caption of a
3181 2004-04-13 Angus Leeming <leeming@lyx.org>
3183 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3184 cursor is clicked out of an inset.
3186 2004-04-13 Angus Leeming <leeming@lyx.org>
3188 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3189 than an InsetOld one.
3191 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3193 * format.[Ch]: add editor to Format
3194 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3195 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3197 2004-04-08 André Pönitz <poenitz@gmx.net>
3199 * metricsinfo.h: remove PainterInfo::width member
3201 2004-04-08 Angus Leeming <leeming@lyx.org>
3203 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3204 "\providecommand" rather than "\newcommand", thereby preventing
3205 clashes with packages that define "\boldsymbol" themselves.
3208 2004-04-08 Angus Leeming <leeming@lyx.org>
3210 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3211 thereby squashing an unnecessary warning.
3213 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3215 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3218 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3220 * BufferView.C (setCursor): call redoParagraph (some insets could
3222 (putSelectionAt): remove the 'double update' trick
3224 * BufferView_pimpl.C (fitCursor): call refreshPar
3225 (workAreaDispatch): remove an uneeded update call
3226 (dispatch): remove some manual update calls
3228 * cursor.[Ch]: remove cached_y_, updatePos
3229 (selHandle): set noUpdate when appropriate
3231 * lyxfunc.C (dispatch): track if we need an update
3233 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3235 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3236 (paintSelection): cheap optimization, do not call cursorX when not
3238 (paintPars): change signature
3241 (paintTextInset): adjust
3245 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3247 * lengthcommon.C: compilation fix: remove explicit array size from
3248 unit_name[] and friends
3250 2004-04-05 Angus Leeming <leeming@lyx.org>
3252 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3254 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3255 present only for the preferences dialog.
3256 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3258 2004-04-05 Angus Leeming <leeming@lyx.org>
3260 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3261 to enable the frontends to export changes to lyxrc correctly.
3263 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3265 2004-04-07 André Pönitz <poenitz@gmx.net>
3267 * cursor.[Ch] (selClear, adjust): remove math
3269 * cursor_slice.C: more agressive assert
3272 * BufferView_pimpl.C: rework mouse event dispatch
3279 2004-04-05 André Pönitz <poenitz@gmx.net>
3281 * cursor.[Ch] (valign, halign...): remove unneeded functions
3283 2004-04-05 Angus Leeming <leeming@lyx.org>
3285 * lyxlength.[Ch] (unit_name et al.): const-correct.
3287 2004-04-05 Angus Leeming <leeming@lyx.org>
3289 * BufferView_pimpl.C:
3298 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3300 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3302 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3304 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3306 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3307 * BufferView_pimpl.[Ch] (getStatus)
3308 * BufferView.[Ch] (getStatus): add
3309 * lyxfunc.C (getStatus): move lfuns handled in
3310 BufferView::dispatch to te function above
3311 * Cursor.C (setSelection): set selection() = true
3313 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3315 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3317 2004-03-31 Angus Leeming <leeming@lyx.org>
3319 * lyxfunc.C (dispatch): Fall through to the generic
3320 Dialogs::show("preamble").
3322 2004-03-31 Angus Leeming <leeming@lyx.org>
3324 * lyxfunc.C (dispatch): Fall through to the generic
3325 Dialogs::show("spellchecker").
3327 2004-03-31 Angus Leeming <leeming@lyx.org>
3329 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3332 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3337 * insetiterator.[Ch]:
3342 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3344 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3346 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3347 insets where we are putting the cursor.
3349 2004-03-31 Angus Leeming <leeming@lyx.org>
3352 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3354 * lyxrc.[Ch] (read, write): overloaded member functions taking
3355 a std::[io]stream arguments.
3357 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3359 2004-03-31 Angus Leeming <leeming@lyx.org>
3361 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3362 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3364 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3365 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3367 2004-03-31 Angus Leeming <leeming@lyx.org>
3369 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3370 the LFUN_ALL_INSETS_TOGGLE code.
3372 2004-03-30 Angus Leeming <leeming@lyx.org>
3374 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3375 has died. Fall through to the generic Dialogs::show("document").
3377 2004-03-30 Angus Leeming <leeming@lyx.org>
3380 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3381 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3383 * lyxfunc.C (getStatus, dispatch): define the actions for these
3384 lfuns. Little more than a cut and pste job from ControlDocument.C
3386 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3388 2004-03-30 Angus Leeming <leeming@lyx.org>
3391 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3392 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3394 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3395 open/closed state of ollapsable insets. Usage:
3397 all-inset-toggle <state> <name>, where
3398 <state> == "open" || "closed" || "toggle" and
3399 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3401 * lyxtext.h, text2.C (toggleInset): removed.
3403 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3404 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3405 now passes LFUN_INSET_TOGGLE to the found inset.
3407 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3408 is now invoked as "all-insets-toggle toggle branch".
3410 2004-03-30 Angus Leeming <leeming@lyx.org>
3414 * pariterator.[Ch]: added/corrected header blurb.
3416 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3418 * dociterator.[Ch]: add an inset_ member
3419 (backwardPos): implemented
3420 (backwardPos, forwardPos): use inset_ when the stack is empty.
3421 (doc_iterator_begin, doc_iterator_end): implemented
3422 * pariterator.[Ch]: adjust, add begin, end
3423 * insetiterator.[Ch]: adjust, add begin, end
3427 * BufferView_pimpl.C:
3428 * CutAndPaste.C: adjust
3430 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3432 * buffer.C: increment file format to 232.
3433 * LaTeXFeatures.C: add bibtopic package.
3434 * bufferparams.[Ch]: param \use_bibtopic.
3436 * lyxrc.[Ch]: add lyxrc bibtex_command
3437 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3439 * buffer.C: increment file format to 231.
3441 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3443 * dociterator.C: implement forwardPar
3444 * iterators.[Ch]: remove, replaced by
3445 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3447 * BufferView_pimpl.C:
3450 * bufferview_funcs.C:
3456 * Makefile.am: adjust
3458 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3460 * CutAndPaste.C (pasteSelection): fix 2 crashes
3461 (eraseSelection): fix a crash
3462 * paragraph_funcs.C: remove a warning
3464 2004-03-28 Angus Leeming <leeming@lyx.org>
3467 * LyXAction.C (init): new LFUN_PRINT.
3469 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3471 2004-03-27 Angus Leeming <leeming@lyx.org>
3474 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3476 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3478 2004-03-27 Angus Leeming <leeming@lyx.org>
3480 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3481 insetlist always contains non-null pointers to insets.
3483 2004-03-26 Angus Leeming <leeming@lyx.org>
3485 * src/BufferView_pimpl.C:
3486 * src/CutAndPaste.C:
3489 * src/output_plaintext.C:
3490 * src/outputparams.h:
3491 * src/paragraph_funcs.C:
3495 * src/frontends/controllers/ControlErrorList.C:
3496 * src/frontends/gtk/FileDialogPrivate.C:
3497 * src/frontends/gtk/GPainter.C:
3498 * src/frontends/gtk/GToolbar.C:
3499 * src/frontends/qt2/QRef.C:
3500 * src/mathed/math_scriptinset.C: squash compiler warnings.
3502 2004-03-26 Angus Leeming <leeming@lyx.org>
3504 * ispell.C (LaunchIspell::start):
3505 * lyx_cb.C (AutoSaveBuffer::start):
3506 invoke run(DontWait) rather than runNonBlocking().
3508 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3510 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3512 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3514 * kbsequence.C (print): adjust
3516 * kbmap.C (printKeySym): rename and change signature
3517 (printKey): use LyXKeySym::print()
3519 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3521 * undo.C: add using std::advance to compile for stlport
3523 2004-03-24 Angus Leeming <leeming@lyx.org>
3525 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3526 it leads to a crash when no buffer is present.
3528 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3529 Martin Vermeer <martin.vermeer@hut.fi>
3531 * lyxfunc.C (dispatch):
3532 * bufferparams.C (readToken): use the new LColor::setColor
3534 * LColor.[Ch] (setColor): new version that takes two strings as
3535 argument and creates a new color entry if necessary
3537 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3539 * buffer.C (makeLaTeXFile): if the main latex file that is
3540 processed is usually a subdocument of some master, then pretend
3541 for a while that it is actually the master
3543 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3545 * buffer.C (getLabelList):
3546 (getBibkeyList): use getMasterBuffer()
3547 (getMasterBuffer): new method. Returns the main document in the
3548 case where one is using included documents.
3550 2004-03-25 André Pönitz <poenitz@gmx.net>
3554 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3556 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3558 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3559 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3561 * ParameterStruct.h: merge with ParagraphParameters
3563 * lyxtext.h: remove LyXText::parOffset() and getPar()
3565 * text3.C: Remove all 'manual' update calls. We do now one per user
3566 interaction which is completely sufficient.
3570 * BufferView_pimpl.C:
3571 * FontIterator.[Ch]:
3573 * ParagraphParameters.[Ch]:
3578 * cursor_slice.[Ch]:
3585 * output_docbook.[Ch]:
3586 * output_latex.[Ch]:
3587 * output_linuxdoc.[Ch]:
3588 * output_plaintext.[Ch]:
3590 * paragraph_funcs.[Ch]:
3591 * paragraph_pimpl.[Ch]:
3599 * frontends/controllers/ControlDocument.C:
3600 * frontends/controllers/ControlErrorList.C:
3601 * frontends/controllers/ControlSpellchecker.C:
3604 * insets/insetbase.h:
3605 * insets/insetbibitem.C:
3606 * insets/insetbox.C:
3607 * insets/insetbranch.C:
3608 * insets/insetcaption.C:
3609 * insets/insetcharstyle.C:
3610 * insets/insetcharstyle.h:
3611 * insets/insetcollapsable.C:
3612 * insets/insetcollapsable.h:
3613 * insets/insetert.C:
3614 * insets/insetfloat.C:
3615 * insets/insetfoot.C:
3616 * insets/insetmarginal.C:
3617 * insets/insetnote.C:
3618 * insets/insetoptarg.C:
3619 * insets/insettabular.C:
3620 * insets/insettext.C:
3621 * insets/insettext.h:
3622 * insets/insetwrap.C:
3623 * mathed/math_mboxinset.C:
3624 * mathed/math_nestinset.C:
3625 * mathed/math_scriptinset.C:
3626 * mathed/math_scriptinset.h:
3629 2004-03-24 Angus Leeming <leeming@lyx.org>
3631 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3632 deal with any child processes that have finished but are waiting to
3633 communicate this fact to the rest of LyX.
3635 2004-03-24 Angus Leeming <leeming@lyx.org>
3637 64-bit compile fixes.
3639 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3640 (c-tor): pass lyx::pos_types rather than ints.
3642 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3645 * text.C (Delete): compile fix.
3646 (getPar): ensure that function declaration is the same as that in
3649 2004-03-23 Angus Leeming <leeming@lyx.org>
3651 * ispell.C (LaunchIspell):
3652 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3653 a boost::shred_ptr rather than a std::auto_ptr.
3655 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3657 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3658 handle LFUN_FILE_INSERT_*
3660 * lyxrc.C (setDefaults, getDescription, output, read):
3661 * lyxrc.h: remove ps_command
3663 2004-03-22 Angus Leeming <leeming@lyx.org>
3665 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3666 Ensure that error_handler is processed once only and that all data
3667 is saved before attempting to output any warning messages.
3669 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3671 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3673 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3675 2004-03-19 André Pönitz <poenitz@gmx.net>
3677 * cursor.[Ch] (reset): take main text inset as argument
3679 * BufferView: adjust
3680 * BufferView_pimpl.C: adjust
3682 * paragraph.[Ch]: fix completely broken operator=()
3684 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3686 * LColor.C (getFromLyXName): make sure that the color name is used
3689 2004-03-17 Angus Leeming <leeming@lyx.org>
3692 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3694 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3695 dialog and to kill a forked process.
3697 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3699 * text2.C (setCursorFromCoordinates): fix font problem
3701 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3703 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3704 bogus "rebuild cursor" code
3706 2004-03-11 André Pönitz <poenitz@gmx.net>
3708 * buffer.[Ch]: use InsetText instead of LyXText as container for
3711 * dociterator.[Ch]: drop the BufferView * member which is not needed
3712 anymore after the change to buffer.C
3714 * paragraph_funcs.C:
3718 * BufferView_pimpl.[Ch]:
3720 * cursor_slice.[Ch]: adjust
3722 * text3.C: fix bug in mathDispatch
3724 2004-03-08 André Pönitz <poenitz@gmx.net>
3726 * undo.[Ch]: use 'StableDocumentIterator' as base for
3729 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3732 * bufferparams.[Ch]: add jurabib support and param.
3734 * LaTeX.C: add FIXME/comment.
3736 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3738 * buffer.C: increment file format to 230.
3740 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3742 * cursor.C (dispatch): avoid infinite loops
3744 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3746 * rowpainter.C (paintSelection): fix x coordinates
3748 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3750 * text.C (rowBreakPoint): fix breaking before displayed insets
3752 2004-03-01 André Pönitz <poenitz@gmx.net>
3754 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3756 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3760 * BufferView_pimpl.C:
3768 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3774 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3775 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3777 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3779 * Bidi.[Ch] (computeTables): const correctness
3780 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3781 fill_hfill, fill_label_hfill and x from Row
3782 * lyxtext.h: prepareToPrint returns a RowMetrics
3783 * rowPainter.C: adjust
3784 * text.C (prepareToPrint): use width, not textWidth. adjust
3785 (redoParagraphInternal, cursorX): adjust
3786 * text2.C (getColumnNearX): adjust
3787 (init): put a default value to the top LyXText::width
3789 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3791 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3793 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3795 * lyxtext.h: add FontIterator class
3797 * text.C (FontIterator, operator*, operator->, operator++): add
3798 (rowBreakPoint, setRowWidth): adjust (fixing a
3801 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3803 * BufferView_pimpl.C (workAreaDispatch): allow also
3804 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3806 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3808 * text.C (rowBreakPoint): fix a bug showing with very large insets
3810 2004-02-25 André Pönitz <poenitz@gmx.net>
3813 * cursor.[Ch]: move some mathed specific code to mathed
3815 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3817 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3818 use_tempdir in preferences
3819 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3821 * lyx_main.C: ensure that tempdir is valid
3822 * lyxlex.h: correct typo
3823 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3824 * paragraph.[Ch] (isMultiLingual): make const
3825 * cursor.[Ch] (openable): make const
3827 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3829 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3831 2004-02-20 André Pönitz <poenitz@gmx.net>
3833 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3835 * cursor.[Ch]: prepare for localized getStatus()
3841 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3843 2004-02-20 André Pönitz <poenitz@gmx.net>
3845 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3847 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3849 * text2.C (setCursorFromCoordinates): switch to absolute coords
3851 (cursorDown): adjust
3852 * text3.C (dispatch): adjust
3854 2004-02-16 André Pönitz <poenitz@gmx.net>
3856 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3859 * cursor_slice.[Ch]: remove unneeded acessor function
3861 * lyxtext.h: rename rtl() to isRTL()
3869 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3871 * rowpainter.C (paintSelection): coord fix
3873 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3875 * Spacing.C: compile fix
3877 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3879 * cursor.C (dispatch): restore current_ before returning
3881 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3883 * text2.C (cursorUp, cursorDown): fix coords
3886 2004-02-12 André Pönitz <poenitz@gmx.net>
3891 * text3.C: add LCursor & parameter to most cursor movement functions
3892 remove usage of LyXText::cursorRow() and cursorPar()
3894 * cursor.[Ch]: add textRow() needed members
3897 * BufferView_pimpl.C:
3900 * BufferView_pimpl.C: adjust
3902 2004-02-11 André Pönitz <poenitz@gmx.net>
3906 * BufferView_pimpl.C: shift undo/redo handling
3908 * cursor.[Ch]: fix mathed crash
3911 * lyxtext.h: move selectionAsText to LCursor
3919 * rowpainter.C: fix excessive drawing
3921 2004-02-06 André Pönitz <poenitz@gmx.net>
3924 * BufferView_pimpl.[Ch]:
3925 * text3.C: move some text specific LFUN handling
3927 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3929 * text3.C (checkInsetHit): adjust coords
3930 * text2.C (getColumnNearX): adjust coords
3931 (edit): adjust coords
3932 * text.C (getRowNearY): add two asserts
3934 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3937 * format.C: add using std::distance to compile on gcc 2.95/stlport
3939 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3941 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3943 2004-02-04 André Pönitz <poenitz@gmx.net>
3945 * BufferView.[Ch] (insertInset):
3946 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3951 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3953 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3954 on the default clause of the switch
3955 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3956 wasn't catched by LCursor::dispatch
3958 2004-02-03 André Pönitz <poenitz@gmx.net>
3961 * cursor.[Ch]: some additional asserts
3963 * undo.[Ch]: remove LyXText dependency in interface
3967 * lyxtext.h (firstPar, lastPar): remove dead functions
3972 * paragraph.[Ch]: adjust
3974 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3976 * lyxfind.C (find): fix argument order in call to ::find
3978 2004-02-02 André Pönitz <poenitz@gmx.net>
3980 * cursor.[Ch]: remove direct access to anchor
3982 * text.C: remove findText() hack
3984 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3986 * iterators.[Ch] (lockPath): remove in favour of...
3987 * BufferView.[Ch] (setCursor): this addition
3988 * BufferView.C (putSelectionAt): adjust
3989 * undo.C (performUndoOrRedo): adjust
3990 * lyxfunc.C (dispatch): adjust
3992 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3994 * iterators.C (lockPath): add a missing slice
3995 * undo.C (performUndoOrRedo): remove redundant positioning code
3997 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3999 * vc-backend.C (scanMaster): ";" -> ';'
4001 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4003 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4004 std::binary_function
4006 * lyxtextclass.C (compare_name): rename to...
4007 (LayoutNamesEqual): ...this
4009 * lyxlex_pimpl.C (compare_tags): inherit from
4010 std::binary_function, put back into anon namespace
4012 * lyxfind.C (MatchString): inherig from std::binary_function
4013 (findChange): use empty() istead of !size()
4015 * format.C (FormatNamesEqual): new functor
4022 * converter.C (compare_Converter): rename to...
4023 (ConverterEqual): ...this, and fixup a bit.
4024 (getConverter): use it, and make function const
4025 (getNumber): use it, and make function const
4029 * bufferlist.C: add using boost::bind
4031 * MenuBackend.C (MenuNamesEqual): new functor
4032 (hasMenu): use it, and make function const
4033 (hasSubmenu): use nested bind to get rid of compare_memfun.
4035 2004-01-30 André Pönitz <poenitz@gmx.net>
4037 * BufferView_pimpl.C:
4040 * cursor_slice.[Ch]:
4043 * paragraph_funcs.C:
4044 * paragraph_funcs.h:
4048 * text3.C: move some of the edit(x,y) handling to the insets
4049 some coordinate changes.
4051 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4053 * text.C: add using statements for std::advance and std::distance
4055 * paragraph.C: add using statement for std::distance
4057 * lyxfind.C: add using statement for std::advance
4059 * cursor.C (region): remove std:: from swap
4060 (openable): use nucleus in stead of operator->
4062 * BufferView.C: add using statements for std::distance and std::swap
4064 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4066 * iterators.C: Remove the pimple, move the needed structures to
4067 the header file. Create accessor for the positions stack.
4068 (asPosIterator): remove function
4070 * PosIterator.C (PosIterator): move constructors to top of file
4071 (PosIterator): reimplement the constructor taking a ParIterator in
4073 (setFrom): new function
4074 (operator!=): inline it
4076 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4078 * lyxfind.C (replaceAll): use std::advance
4080 * iterators.h: inherit from std::iterator.
4082 * PosIterator.C (advance, distance): remove
4083 * PosIterator.h: interit from std::iterator.
4085 2004-01-26 André Pönitz <poenitz@gmx.net>
4088 * BufferView_pimpl.[Ch]:
4092 * bufferview_funcs.C:
4102 * output_linuxdoc.C:
4103 * output_plaintext.C:
4105 * paragraph_funcs.[Ch]:
4106 * paragraph_pimpl.[Ch]:
4112 * text3.C: more IU: dumps most of the rest of the mathcursor
4113 implementation into cursor.[Ch]; "globalize" a bit of it.
4115 2004-01-25 Angus Leeming <leeming@lyx.org>
4117 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4119 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4121 * LaTeXFeatures.h: add nice_ and nice() const
4122 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4124 2004-01-20 André Pönitz <poenitz@gmx.net>
4127 * BufferView_pimpl.C:
4129 * bufferview_funcs.C:
4131 * cursor_slice.[Ch]:
4142 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4143 LCursor and mathcursor parts to LCursor and InsetBase.
4145 2004-01-15 André Pönitz <poenitz@gmx.net>
4147 * cursor_slice.[Ch]: add a few covienience functions
4149 * funcrequest.[Ch]: remove BufferView * member
4151 * BufferView_pimpl.C:
4158 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4160 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4162 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4163 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4165 2004-01-13 André Pönitz <poenitz@gmx.net>
4168 * lyxtext.h: hide cursor and selection anchor behind accessor function
4171 * BufferView_pimpl.[Ch]:
4173 * bufferview_funcs.C:
4183 * cursor_slice.[Ch]: some integer type changes for inset unification
4185 * lyxcursor.[hC]: remove, it's CursorSlice now.
4188 * BufferView_pimpl.[Ch]:
4189 * bufferview_funcs.C:
4195 * textcursor.[Ch]: adjust
4197 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4199 * text2.C (undoSpan): add and use
4200 * text.C (breakParagraph): use undoSpan (fix bug 578)
4203 2004-01-08 Angus Leeming <leeming@lyx.org>
4205 * BufferView_pimpl.C (MenuInsertLyXFile):
4206 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4207 * lyxfunc.C (menuNew, open, doImport):
4208 FileFilterList change to the FileDialog open and save functions.
4210 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * ShareContainer.h: make isEqual and isUnique adaptable
4214 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4216 2004-01-07 Angus Leeming <leeming@lyx.org>
4219 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4221 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4223 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4224 functions replacing find, replace and replaceAll.
4226 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4227 LFUN_WORDFIND(FORWARD|BACKWARD).
4229 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4231 * text.C (breakParagraph): remove an outdated #warning
4233 2004-01-07 André Pönitz <poenitz@gmx.net>
4235 * lyxfind.C: somewhat clearer logic
4237 * text.C: prevent crash in cursorX on unitialized row cache
4239 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4241 * lyxcursor.[Ch] (operator>): add
4242 * textcursor.C (selStart, selEnd): use std::min and std::max
4244 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4246 * Chktex.C: include boost/format.hpp
4248 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4250 * InsetList.C: replace functor MathcIt with adaptable functor
4252 (insetIterator): modify accordingly
4254 * BranchList.h: move the BranchNamesEqual functor here from...
4255 * BranchList.C: ... to here
4257 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4259 (add): replace a finding loop with std::find_if.
4261 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4263 * output_docbook.C: moving LatexParam functionality into
4266 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4268 * buffer.C: increment format to 229.
4270 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4273 * lyx_sty.[Ch]: remove minipageindent_def
4279 * text3.C: remove LFUN_INSET_MINIPAGE
4281 2003-12-28 Angus Leeming <leeming@lyx.org>
4283 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4285 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4287 * text2.C (setParagraph): fix off-by-one crash
4289 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4291 * output_docbook.C: header stuff for AGU
4293 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4295 * text2.C (redoCursor): remove
4298 * BufferView_pimpl.C: remove calls to redoCursor and
4299 setCursor(cursor.par(), cursor.pos()) all around
4301 2003-12-15 Angus Leeming <leeming@lyx.org>
4303 * buffer.C: up the format to 228.
4305 2003-12-15 André Pönitz <poenitz@gmx.net>
4307 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4312 * BufferView_pimpl.C:
4321 2003-12-15 Angus Leeming <leeming@lyx.org>
4323 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4324 than getFromGUIName to manipulate the color.
4326 2003-12-14 Angus Leeming <leeming@lyx.org>
4328 * BranchList.[Ch]: minimize the API.
4329 (Branch::getBranch, getColor): now return a 'const &'.
4330 (Branch::setSelected) now returns a bool set to true if the
4331 selection status changes.
4332 (BranchList::clear, size, getColor, setColor, setSelected,
4333 allBranches, allSelected, separator): removed.
4334 (BranchList::find): new functions, returning the Branch with
4336 (BranchList::add, remove): return a bool indicating that
4337 the operation was successful.
4339 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4340 new InsetBranch::isBranchSlected member function.
4342 * LColor.[Ch]: mimimize the API.
4343 (fill): renamed as addColor and made private.
4344 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4345 versions of these functions taking a string arg have been removed.
4347 * bufferparams.C (readToken):
4348 * lyxfunc.C (dispatch):
4349 * lyxrc.C (read): changes due to the altered BranchList and
4352 * factory.C (createInset, readInset): changes due to altered
4355 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4358 * lyxfunc.C: remove insetminipage. "minipage-insert"
4359 now produces a frameless minipage box inset.
4361 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4363 * textcursor.[Ch] (selStart,selEnd): add new methods
4364 remove selection::start, end, use LyXCursor::operator<
4365 * lyxcursor.[Ch] (operator<): add
4366 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4367 * BufferView.[Ch] (unsetXSel): add
4368 * text2.C (clearSelection): use unsetXSel,adjust
4371 * rowpainter.C: adjust
4372 * bufferview_funcs.C (put_selection_at): adjust
4374 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4376 * BufferView_pimpl.C: small coord. correction
4378 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4380 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4381 dragging over the splash screen.
4383 2003-12-11 Angus Leeming <leeming@lyx.org>
4385 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4386 as it is now handled in LyXText::dispatch.
4388 * text3.C (doInsertInset): remove a level of nesting.
4390 2003-12-11 Angus Leeming <leeming@lyx.org>
4392 * factory.C (createInset): changes due to the changed interface to
4393 InsetCommandMailer::string2params.
4395 2003-12-10 Angus Leeming <leeming@lyx.org>
4397 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4398 'dialog-show-new-inset <inset name>'
4400 2003-12-10 Angus Leeming <leeming@lyx.org>
4402 * buffer.C: up the format to 227.
4404 * factory.C: the box inset is now identified simply by 'Box'.
4406 2003-12-10 Angus Leeming <leeming@lyx.org>
4408 * buffer.C: up the format to 226.
4410 * factory.C: the note inset is now identified simply by 'Note'.
4412 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4414 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4415 when a pit is enough. Standarize a couple of loops.
4417 2003-12-05 Angus Leeming <leeming@lyx.org>
4419 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4420 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4421 data to the re-worked "log" dialog.
4423 2003-12-03 André Pönitz <poenitz@gmx.net>
4429 * paragraph_funcs.C:
4431 * text2.C: use Inset::getText instead of Inset::getParagraph
4433 2003-12-03 André Pönitz <poenitz@gmx.net>
4437 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4438 InsetText::read() as LyXText::read()
4440 2003-12-02 Angus Leeming <leeming@lyx.org>
4442 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4443 type. Add a comment in the implementation that the function uses
4444 the stream's bad() function rather than fail() as the std::streams
4447 2003-12-02 André Pönitz <poenitz@gmx.net>
4449 * lyxlex.[Ch]: make interface more similar to std::stream
4451 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4453 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4455 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4457 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4459 * vspace.[Ch]: remove VSpace::NONE
4461 2003-12-01 André Pönitz <poenitz@gmx.net>
4464 * lyxtext.h: move ParagraphList member to LyXText
4465 rename LyXText::ownerParagraphs to LyXText::paragraph
4468 * bufferview_funcs.C:
4478 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4480 * undo.C: fix cursor positioning
4482 2003-12-01 John Levon <levon@movementarian.org>
4484 * BufferView_pimpl.C: fix a crash on exit with
4487 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4489 * BranchList.C: fix setSelected() method.
4491 2003-11-28 André Pönitz <poenitz@gmx.net>
4493 * ParagraphParameters.[Ch]:
4494 * ParameterStruct.h: remove space above/below from Paragraph to
4497 * BufferView_pimpl.C:
4503 * paragraph_funcs.C:
4509 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4511 * factory.C: Syntax change for CharStyles
4513 2003-11-28 André Pönitz <poenitz@gmx.net>
4518 * buffer.[Ch]: move LyXText member
4520 2003-11-28 André Pönitz <poenitz@gmx.net>
4522 * BufferView.[Ch]: make LyXText * text a private member
4524 * BufferView_pimpl.C:
4535 * output_plaintext.C: cleanup
4537 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4540 * lyxtextclass.[Ch]: parametrize SGML document header
4542 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4545 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4548 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4550 * text2.C (setFont): rework using PosIterator (no more recursive)
4551 (setCharFont): no more needed
4552 (setLayout): no more selection cursors fiddling (done by redoCursor)
4553 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4554 destroy remaining ones)
4556 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4558 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4560 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4563 * text3.C: adjust + re-allow multi par depth changes
4564 * textcursor.C: simplify a bit
4566 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4572 * src/output_docbook.C:
4573 * src/output_latex.C:
4578 * src/text2.C: Introducing a number of tags parametrizing various
4579 XML formats that we may want to support
4581 2003-11-25 André Pönitz <poenitz@gmx.net>
4583 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4585 * lyxtext.h (leftMargin/rightMargin): simplify interface
4592 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4594 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4595 master file to any child files. Fixes bug 546.
4597 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4599 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4601 2003-11-24 André Pönitz <poenitz@gmx.net>
4603 * rowpainter.C: simplification
4605 * text2.C (updateCounters): remove call to redoParagraph on
4606 changed labels as this is far too expensive.
4608 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4610 * converter.C (convert): fix a crash: this function gets
4611 called with buffer == 0 from importer code.
4613 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4615 * text3.C (cursorPrevious): make sure that we do not compare
4616 iterators form different containers.
4619 * rowpainter.C (paintSelection): make sure that we do not compare
4620 iterators from different containers.
4622 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4623 iterators from different ParagraphList containers.
4626 * text2.C (LyXText): change order of initialization slightly
4627 (operator=): new function. copy all variables except cache_par_
4628 (moveUp): make sure that we do not compare iterators from
4629 different ParagraphList constainers.
4632 * text.C (firstPar): new function
4633 (lastPar): new function
4634 (endPar): new function
4636 * lyxtext.h: move things around and group public functions, public
4637 variables, private functions, private variables
4639 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4641 * factory.C: change call to InsetERT constructor to avoid
4642 additional invocation of method status
4643 * text2.C (toggleInset): remove redundant update() call
4644 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4645 instead of a Bufferview pointer
4647 2003-11-21 André Pönitz <poenitz@gmx.net>
4649 * rowpainter.C: simplification
4651 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4653 * text3.C (dispatch): make possible to extend a word/row selection
4656 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4658 * lyxtext.h: x0_,y0_ -> xo_,yo_
4659 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4660 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4661 * rowpainter.C (paintRows): paint full paragraphs
4663 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4665 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4668 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4670 * lyxtext.h: add x0_, y0_
4671 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4672 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4674 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4676 * text2.C (setCursorIntern): move the x_target update here *
4677 * text3.C: change some bv() to true/false in calls to
4678 cursorUp/Down/Right/Left
4679 * cursor.C: use helper function.
4681 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4683 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4684 * paragraph_funcs.[Ch]: correct comment
4685 * rowpainter.C: do not paint selections away from bv->cursor()
4686 Fix a long standing selection painting bug.
4687 * text3.C: generalize mouse-selection code to LyXTexts other that
4689 * textcursor.C: do not use y coords if we can use par offsets
4691 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4693 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4694 cursor position after e.g. inset insert)
4696 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4698 * lyxfind.C (replace): adjust to locking removal + some
4701 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4703 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4706 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4709 * output_docbook.C: XML sanitation: new layout
4710 parameters InnerTag and CommandDepth
4712 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4714 * BufferView_pimpl.C:
4716 * text3.C: Fix the insertion and modification of button-style
4719 2003-11-13 André Pönitz <poenitz@gmx.net>
4721 * InsetList.[Ch]: remove deleteLyXText
4723 * paragraph.[Ch]: cache beginOfBody position
4728 * text3.C: remove superfluous update() calls
4732 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4734 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4735 * BufferView.C (fitLockedInsetCursor): remove
4736 * cursor.[Ch] (getDim): add
4737 * text.C (getRowNearY): add faster version
4738 * text3.C: remove some update calls
4740 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4752 * text3.C: The Character Style /XML short element patch.
4754 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4757 * factory.C: Small step to solving 'unable to insert some insets'
4760 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4762 * cursor.[Ch] (updatePos): new function for updating the y
4763 position of the tip inset
4764 * bufferview_funcs.C (put_selection_at):
4765 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4767 2003-11-11 André Pönitz <poenitz@gmx.net>
4769 * text.C: remove big comment on invalid Paragraph pointers as it is
4772 2003-11-11 André Pönitz <poenitz@gmx.net>
4774 * text_funcs.[Ch]: merge with ...
4782 * Makefile.am: remove text_funcs.[Ch]
4784 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4786 * cursor.C (getPos): return absolute cached y coord
4788 * BufferView_pimpl.C (fitCursor): new simplistic code
4789 (workAreaDispatch): add a fitCursor call
4791 2003-11-10 André Pönitz <poenitz@gmx.net>
4794 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4796 2003-11-10 André Pönitz <poenitz@gmx.net>
4798 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4799 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4800 indicate that the cursor needs to leave an inset
4802 * lyxtext.h: remove inset locking
4804 * cursor.[Ch]: re-implement functionality provided by inset locking
4807 * BufferView_pimpl.[Ch]:
4809 * bufferview_funcs.[Ch]:
4821 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4823 * PosIterator.[Ch]: replace the stack with a vector, add inset
4825 * iterators.[C]: adjust
4827 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4829 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4831 * paragraph_funcs.C (readParToken): put the correct id in the
4832 error item, not the id of the top paragraph
4834 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4836 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4837 * bufferview_funcs.C (put_selection_at): use the above
4839 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4841 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4843 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4845 * output_linuxdoc.h:
4846 * output_plaintext.h:
4848 * output_docbook.h: add #include statements
4850 2003-11-05 José Matos <jamatos@lyx.org>
4852 * output_docbook.[Ch]:
4853 * output_latex.[Ch]:
4854 * output_linuxdoc.[Ch]:
4855 * output_plaintext.[Ch]: New files for output formats.
4856 * output.[Ch]: New file for helper functions.
4859 * paragraph_funcs.[Ch]: output functions moved to new files.
4861 * outputparams.h: rename of latexrunparams.h
4869 * paragraph_funcs.[Ch]:
4870 * paragraph_pimpl.[Ch]:
4871 * tabular.[Ch]: rename ascii to plaintext
4872 and LatexRunParams to OutputParams.
4874 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4876 * iterators.[Ch] (text): require bv argument
4877 * undo.C (recordUndo):
4878 * lyxfunc.C (dispatch):
4879 * bufferview_funcs.C (put_selection_at): adjust
4881 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4883 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4885 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4887 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4890 2003-11-04 André Pönitz <poenitz@gmx.net>
4892 * cursor.[Ch]: restructure
4895 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4897 * iterators.[Ch] (asCursor): remove
4899 * lfuns.h: remove LFUN_INSET_EDIT
4905 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4907 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4909 * lyxfind.[Ch]: complete overhaul
4910 * BufferView_pimpl.C:
4912 * paragraph.[Ch] (insert): add
4914 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4918 * text.C: remove dead spellcheck code
4920 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4922 * dispatchresult.h: add a val setter
4924 * cursor.C (dispatch): use a tempvar for data_[i]
4926 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4928 * PosIterator.[Ch]: compile fix
4930 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4932 * text.C (cursorPar): deactivate the cursor cache
4934 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4936 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4938 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4940 * text3.C (dispatch): adjust for new DisptchResult semantics.
4942 * lyxfunc.C (dispatch): handle update when return from
4943 Cursor::dispatch, adjust for new DispatchResult semantics.
4945 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4946 DispatchResult(true) mean to not update. Add class functions for
4947 setting dispatched and update, as well as reading.
4949 * cursor.C (dispatch): don't handle update here
4951 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4953 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4954 * trans_mgr.C: adjust
4956 * paragraph_funcs.C (readParToken): exception safety
4958 * lyxvc.h: store the vcs pointer in a scoped_ptr
4961 * lyxsocket.C (serverCallback): exception safety
4963 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4965 * ispell.C (clone): make it return a auto_ptr
4967 * factory.C (createInset): exception safety
4968 (readInset): exception safety
4970 * bufferlist.C (newBuffer): exception safety
4972 * Thesaurus.C (Thesaurus): use initialization for aik_
4974 * MenuBackend.C (expandToc): exception safety.
4976 2003-11-03 André Pönitz <poenitz@gmx.net>
4980 * bufferview_funcs.C: remove getInsetFromId()
4983 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4989 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4991 * PosIterator.C (distance, advance): new
4992 * bufferview_funcs.[Ch] (put_selection_at): new
4993 * iterators.[Ch] (lockPath): new
4995 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4997 * iterators.[Ch] (asPosIterator): added
4998 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4999 * PosIterator.[Ch]: added
5001 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5005 * cursor.C (dispatch):
5006 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5008 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5009 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5010 contructor, add a class function dispatched. Remove operator>=
5012 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5014 * debug.C: only use the default constructor for debugstream
5017 * main.C (main): include debug.h and setup the lyxerr streambuf
5020 2003-10-31 José Matos <jamatos@lyx.org>
5022 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5024 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5025 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5026 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5027 * paragraph_pimpl.C (simpleTeXSpecialC):
5028 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5029 add LatexRunParams argument.
5031 * exporter.C (Export): change call accordingly.
5033 * latexrunparams.h: add new member to take care of the other backends.
5034 2003-10-30 José Matos <jamatos@lyx.org>
5036 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5037 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5038 factorise code for paragraph output.
5040 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5043 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5045 * text3.C (dispatch):
5046 * lyxfunc.C (dispatch):
5047 * cursor.C (dispatch):
5048 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5050 * dispatchresult.h: make the dispatch_result_t ctor explicit
5052 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5055 * buffer.C: small refactoring of docbook stuff
5057 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5059 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5062 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5064 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5065 operator dispatch_result_t, and operators for == != and >=
5067 * cursor.C (dispatch): adjust for operator dispatch_result_t
5068 removal. comment out call to update
5070 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5072 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5080 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5083 * dispatchresult.h: new file, DispatchResult broken out of
5086 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5088 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5090 * text.C (rowBreakPoint): put a hack inside #if 0
5092 2003-10-28 André Pönitz <poenitz@gmx.net>
5096 * paragraph_funcs.C:
5099 * text2.C: general cleanup (lots of small stuff)
5101 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5103 * text2.C (cursorEnd): simple fix to the "end key goes to one
5104 before the end on last row" bug
5106 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5108 * text.C (backspace): fix the "zombie characters"
5110 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5112 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5114 2003-10-27 André Pönitz <poenitz@gmx.net>
5116 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5118 * factory.C: handle new InsetPagebreak, InsetLine
5120 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5121 and move handling into new InsetPagebreak, InsetLine
5123 * BufferView_pimpl.C:
5125 * ParagraphParameters.C:
5126 * ParameterStruct.h:
5131 * paragraph_funcs.C:
5132 * paragraph_pimpl.C:
5138 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5141 * lyxrow_funcs.[Ch]:
5147 * text3.C: remove lastPos uses in favour of Row::endpos
5149 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5151 * undo.C (performUndoOrRedo): fix two crashes by setting a
5152 cursor by hand and reordering some calls. Use bv->lockInset instead
5153 of inset->edit because the latter loses cursor information
5155 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5157 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5159 (rowBreakPoint): fix width. change point to point + 1.
5160 Add a missing check.
5162 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5165 * lyxfunc.C: fix (at least partly) the problems
5166 with the Nav menu and headers inside branch insets
5169 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5171 * paragraph.C (getChar): add strong asserts
5173 * lyxrow_funcs.C (lastPos): remove hideous hack
5175 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5176 (fill): adjust to that (avoid an infinite loop)
5178 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5180 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5182 2003-10-23 André Pönitz <poenitz@gmx.net>
5184 * RowList_fwd.h: change list<> to vector<> to gain speed
5185 after suggestion from Alfredo
5187 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5189 * lyxtext.h: move the bidi stuff from here...
5192 * Bidi.[Ch]: ... to here
5194 2003-10-23 André Pönitz <poenitz@gmx.net>
5197 * text.C (isLastRow, isFirstRow): new functions
5199 * paragraph.h: new width cache member
5201 * rowpainter.C: replace RowList::iterator with Row & where possible
5203 * lyxfunc.C: replace several view()->text with a single call
5205 * toc.C: fix 'unused' warning
5207 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5209 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5210 when woring with stream::pos_type
5211 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5213 2003-10-22 André Pönitz <poenitz@gmx.net>
5216 * text.C: use Row & instead of RowList::iterator
5218 * lyxrow.h: rename end() to endpos()
5224 2003-10-22 Angus Leeming <leeming@lyx.org>
5226 * buffer.[Ch] (fully_loaded): new member function, returning true
5227 only when the file has been loaded fully.
5228 Used to prevent the premature generation of previews and by the
5229 citation inset to prevent computation of the natbib-style label.
5231 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5232 templates are all set up.
5234 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5236 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5238 * text.C: fixed an "oops" in the "is a bit silly"
5241 2003-10-21 André Pönitz <poenitz@gmx.net>
5243 * FuncStatus.[Ch]: small stuff, whitespace
5245 * lyxfont.[Ch]: operator<<() for debug reasons
5249 * lyxtext.h: whitespace, spelling
5251 * paragraph.C: naming of variables
5254 * text2.C: small stuff
5257 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5259 * text.C: (1) finish off the inset display() work;
5260 (2) fix the "is a bit silly" bug (accessing char
5263 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5265 * text.C: re-introduce display() for insets, fixing the
5266 various bugs (stretch of line above, math inset
5269 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5271 * text.C (rightMargin): remove spurious semicolon
5273 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5276 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5278 * text3.C: fix one crash due to wrong cursor def
5280 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5282 * vc-backend.C (scanMaster): make the regex static
5284 * LaTeX.C (scanAuxFile): make the regexs static
5286 * text3.C (doInsertInset, dispatch, dispatch):
5287 * text2.C (cursorUp, cursorDown):
5288 * text.C (selectNextWordToSpellcheck):
5289 * BufferView_pimpl.C (dispatch):
5290 * lyxfunc.C (dispatch): localDispatch -> dispatch
5292 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5294 * lyxsocket.C: include <cerrno>
5296 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5298 * lyxfunc.C (dispatch): remove textcache stuff
5300 * bufferlist.C (release): remove textcache stuff
5303 * TextCache.C: delete file
5304 * TextCache.h: delete file
5306 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5308 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5309 delete of the bv_->text.
5310 (resizeCurrentBuffer): remove texcache stuff
5311 (workAreaResize): ditto
5313 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5315 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5318 2003-10-16 André Pönitz <poenitz@gmx.net>
5325 * text3.C: speed up by storing y positions per paragraph plus per-row
5326 offset instead of having a 'full' y position in the row.
5328 2003-10-15 André Pönitz <poenitz@gmx.net>
5332 * undo.[Ch]: make undo aware of inner insets
5334 2003-10-14 Angus Leeming <leeming@lyx.org>
5336 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5337 static member functions LyX::ref() and LyX::cref.
5338 (lastfiles): new accessor functions for the new lastfiles_ member var.
5339 (addLyXView, views_): add a new LyXView to the list of views_.
5340 (updateInset): loop over all LyXViews to call their own updateInset
5341 member function, returning a pointer to the Buffer owning the inset.
5343 * BufferView_pimpl.C (loadLyXFile):
5344 * MenuBackend.C (expandLastfiles):
5345 * bufferlist.C (MenuWrite, QuitLyX):
5346 lastfiles is no longer a global variable.
5347 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5349 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5350 static function. Access through LyX::cref().emergencyCleanup().
5352 2003-10-14 André Pönitz <poenitz@gmx.net>
5354 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5356 * undo.[Ch]: restoring part of 'undo in insets'
5359 * undo_funcs.[Ch]: merge with undo.[Ch]
5361 * tabular.C: small cleansing stuff
5363 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5365 * paragraph_funcs.C (readParToken): report unknown insets as error
5366 boxes. Use the outer paragraph as location (also for unknown
5369 * factory.C (readInset): do not abort on reading an unknown inset.
5370 Eat it and return 0.
5372 2003-10-13 Angus Leeming <leeming@lyx.org>
5374 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5376 * lyxrc.C: displayTranslator is now a function,
5377 declared in GraphicsTypes.h.
5379 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5381 * format.C: new placeholder $$a to pass the socket address.
5383 * bufferlist.[Ch]: new function getBufferFromTmp.
5385 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5386 files in the temporary dir.
5388 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5390 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5392 * Makefile.am: add lyxsocket.[Ch].
5394 * lyx_main.C (error_handler): handle SIGPIPE.
5396 2003-10-13 André Pönitz <poenitz@gmx.net>
5398 * BufferView_pimpl.C:
5403 * undo_funcs.[Ch]: use paroffset_type instead of
5404 ParagraphList::iterators to prevent multiple conversion
5405 (and get a more robust interface)
5407 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5409 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5411 * text3.C (dispatch): ditto
5413 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5415 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5416 move the onlyfile, use onlyfile instead of foundfile in a couple
5419 * DepTable.C (update): flush the error stream a bit more
5421 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5423 * lyxserver.C (callback): adjust
5425 * lyxfunc.C (getStatus): add a missing brace in commented code
5426 (ensureBufferClean): reindent
5427 (dispatch): delete version taking a string
5429 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5431 * LaTeX.C (deplog): move found file handlig from here...
5432 (handleFoundFile): .. to new function here.
5433 (deplog): make sure to discover several files mentioned on the
5436 2003-10-10 André Pönitz <poenitz@gmx.net>
5443 * text3.C: fix some of the tabular crashes
5445 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5447 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5449 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5451 2003-10-09 André Pönitz <poenitz@gmx.net>
5453 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5456 * BufferView_pimpl.C:
5457 * bufferview_funcs.C:
5468 * undo_funcs.C: adjust
5470 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5472 * text2.C (incrementItemDepth): new function, use a backtracking
5473 algorithm to discover the correct item depth.
5474 (resetEnumCounterIfNeeded): new function, use a backtracking
5475 algorithm to discover if counter reset is needed.
5476 (setCounter): use them. Simplify a bit. Add different labels for
5477 different item depths for itemize.
5479 * paragraph.C (Paragraph): remove initialization of enumdepth
5482 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5483 enumerate and itemize. Change the type of itemdepth to signed char.
5485 2003-10-08 André Pönitz <poenitz@gmx.net>
5487 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5492 * tabular.[Ch]: fix crash after 'row-insert'
5494 2003-10-08 Angus Leeming <leeming@lyx.org>
5496 Fix doxygen warnings.
5498 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5499 Remove CutAndPaste:: prefix from header file declaration.
5501 * LColor.h (fill): remove LColor:: prefix from declaration.
5503 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5504 use lyx::depth_type rather than Paragraph::depth_type so that
5505 header file and .C file match.
5507 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5509 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5510 * aspell.C: \file aspell_local.C -> \file aspell.C
5511 * gettext.C: \file gettext.C -> \file src/gettext.C
5512 * gettext.h: \file gettext.h -> \file src/gettext.h
5513 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5514 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5515 * text.C: \file text.C -> \file src/text.C
5517 * toc.C: move comment so that doxygen is not confused.
5519 2003-10-07 Angus Leeming <leeming@lyx.org>
5521 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5523 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5526 * aspell_local.h: add forgotten std::string's.
5528 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5535 * text3.C: The Box patch. Fancybox support, minipage, parbox
5537 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5543 * ParagraphParameters.h:
5553 * lyxtextclasslist.h:
5556 * paragraph_pimpl.C:
5557 * textcursor.h: add <string> and other small fixes to make Lars'
5558 std::string patch compile with STLport.
5560 2003-10-06 Angus Leeming <leeming@lyx.org>
5562 * LColor.h: Add missing #include <string>.
5564 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5566 * All most all file in all subdirs: Make <string> be the prefered
5567 way of getting to std::string, add using declarations.
5569 2003-10-06 André Pönitz <poenitz@gmx.net>
5571 * metricsinfo.C: initialize LyXFont before changing attribute.
5572 (fixes the 'math in \emph is upright' bug)
5574 2003-10-06 André Pönitz <poenitz@gmx.net>
5576 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5578 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5581 * paragraph_pimpl.C: Small fixes to build using STLport
5583 2003-10-02 André Pönitz <poenitz@gmx.net>
5586 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5588 2003-10-01 André Pönitz <poenitz@gmx.net>
5590 * factory.C: assert early
5592 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5594 * lyx_main.C: remove the global debug object
5596 * debug.h: adjust for new debugstream
5598 * debug.C: adjust for new debugstream and keep the global debug
5601 2003-09-22 Angus Leeming <leeming@lyx.org>
5603 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5604 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5605 an incomplete class LyXFont.
5607 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5609 * factory.C: bug fix in branches
5611 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5613 * lyxfunc.C (processKeySym): adjust
5615 (dispatch): change arg name from ev to func, adjust
5616 (sendDispatchMessage): ditto
5618 * lyx_main.C (defaultKeyBindings): adjust keybindings
5619 (deadKeyBindings): ditto
5621 * kbsequence.C (addkey): return a FuncRequest
5623 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5625 * kbmap.C (bind): take a FuncRequest as arg, adjust
5628 (defkey): change to take a FuncRequest as arg, adjust
5629 (findbinding): take a FuncRequest as arg, adjust.
5631 * funcrequest.h (operator=): added
5633 * funcrequest.C (FuncRequest): default kb_action changed from
5634 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5636 * buffer.C (dispatch): simplify
5637 (dispatch): adjust to take a FuncRequest as arg, adjust
5639 * boost.C (assertion_failed): change assertion message slightly
5641 * ToolbarBackend.C (read): simplify
5643 * MenuBackend.C (binding): adjust call to findbinding, add a
5644 message if no binding is found.
5646 (expandToc): correct by adding a empty FuncRequest
5648 * LyXAction.C: include <boost/assert.hpp>
5649 (isPseudoAction): delete function
5650 (LookupFunc): change name to...
5651 (lookupFunc): this. change return type to FuncRequest.
5652 (getActionName): take kb_action as arg, simplify
5653 (funcHasFlag): add an assert, simplify.
5655 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5657 * toc.C (action): return a FuncRequest, simplify
5659 * lyxfunc.C (processKeySym): adjust
5660 (getStatus): delete version that takes an int.
5662 (dispatch): delete version that takes action as int
5664 (sendDispatchMessage): simplify and adjust
5666 * funcrequest.C (getArg): take unsigned int as arg
5668 * ToolbarBackend.C (read): adjust
5669 (add): delete version that takes func as a string.
5670 (getIton): take a FuncRequest as arg
5672 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5675 * MenuBackend.C (MenuItem): add a new construct that only takes a
5676 Kind, simplify the constructor use for submenus.
5678 (expandLastfiles): adjust
5679 (expandDocuments): adjust
5680 (expandFormats): adjust
5681 (expandFloatListInsert): adjust
5682 (expandFloatInsert): adjust
5683 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5685 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5686 Remove class variables lyx_pseudo_map and lyx_arg_map
5688 * LyXAction.C (searchActionArg): delete function
5689 (getPseudoAction): delete function
5690 (retrieveActionArg): delete function
5691 (LookupFunc): make it return kb_action, simplify.
5692 (getActionName): simplify
5694 * factory.C (createInset): fix new bug
5696 2003-09-19 Angus Leeming <leeming@lyx.org>
5698 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5699 masterFilename_ parameter in the include inset.
5701 * factory.C (createInset): changes due to the changes to InsetInclude.
5703 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5705 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5707 2003-09-18 Angus Leeming <leeming@lyx.org>
5710 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5711 Inset::fillWithBibKeys.
5712 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5714 2003-09-18 Angus Leeming <leeming@lyx.org>
5716 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5718 (ctor): pass and store a 'Buffer const &'
5719 (buffer): new member function.
5721 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5722 '*this' to the LaTeXFeatures ctor.
5724 2003-09-18 Angus Leeming <leeming@lyx.org>
5730 * text.C: rename EnumLColor as LColor_color.
5732 2003-09-18 Angus Leeming <leeming@lyx.org>
5734 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5735 remove #include "insets/insetbase.h" from cursor.h.
5737 2003-09-18 Angus Leeming <leeming@lyx.org>
5739 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5740 InsetOld_code to remove #include "inset.h".
5742 * iterators.C: add #include "insets/inset.h"
5744 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5746 * BufferView.C: remove more locking stuff that apparently doesn't
5747 do anything sensible.
5749 2003-09-16 André Pönitz <poenitz@gmx.net>
5752 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5755 2003-09-16 Angus Leeming <leeming@lyx.org>
5757 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5759 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5762 * paragraph.h: remove #include "lyxfont.h". Forward declare
5765 2003-09-16 Angus Leeming <leeming@lyx.org>
5767 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5768 of support/textutils.h.
5769 (isWord): move the contents of support/textutils.h's IsWordChar here.
5775 * text2.C: add #include "paragraph.h".
5778 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5780 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5786 * LaTeX.C: use namespace alias for lyx::support::os
5788 2003-09-16 Angus Leeming <leeming@lyx.org>
5791 * bufferview_funcs.C:
5794 * paragraph_pimpl.C:
5796 * text.C: add #include "LColor.h".
5798 2003-09-16 Angus Leeming <leeming@lyx.org>
5800 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5801 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5803 Store the FontBits::color variable as an int rather than as an
5804 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5807 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5808 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5809 string calls together.
5811 * lyxrc.C: add #include "LColor.h".
5813 2003-09-15 Angus Leeming <leeming@lyx.org>
5815 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5818 2003-09-15 Angus Leeming <leeming@lyx.org>
5820 * LColor.h: add an EnumLColor wrapper for LColor::color.
5822 * lyxfont.[Ch] (color, setColor, realColor):
5823 * lyxtext.h, text.C (backgroundColor):
5824 pass EnumLColor args to/from the functions, rather than LColor::color
5828 * lyxtext.h: forward declare EnumLColor.
5830 * lyx_main.C: add #include "LColor.h".
5832 2003-09-15 Angus Leeming <leeming@lyx.org>
5834 * .cvsignore: add lyx-gtk.
5836 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5841 * ParagraphParameters.C
5845 * bufferview_funcs.C
5855 * vc-backend.C: remove usage of STRCONV
5857 2003-09-15 Angus Leeming <leeming@lyx.org>
5859 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5860 explicitly define the color passed to the painter.
5862 2003-09-15 Angus Leeming <leeming@lyx.org>
5864 * bufferparams.C (BufferParams): reorder member initializers to avoid
5867 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5869 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5870 * text.C (updateRowPositions): remove an unusual nop
5872 2003-09-12 André Pönitz <poenitz@gmx.net>
5874 * BufferView_pimpl.C:
5883 * Counters.[Ch]: finish the 'automatic counters' job
5885 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5887 * aspell.C: include <boost/assert.cpp> (compile fix)
5889 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5891 * boost.C (assertion_failed): use lyx::support::abort instead of
5894 2003-09-10 Angus Leeming <leeming@lyx.org>
5896 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5897 with their _fwd progeny.
5899 2003-09-09 Angus Leeming <leeming@lyx.org>
5901 134 files throughtout the source tree: replace 'using namespace abc;'
5902 directives with the appropriate 'using abc::xyz;' declarations.
5904 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5906 * boost.C (emergencyCleanup): moved here from LAssert.c
5907 (assertion_failed): new function, called by BOOST_ASSERT
5909 * several files: change Assert to BOOST_ASSERT
5911 2003-09-09 Angus Leeming <leeming@lyx.org>
5913 * buffer.[Ch]: Add an Impl class and move Buffer's member
5914 variables into it. As a result move several header files out of
5917 Add header files to lots of .C files all over the tree as a result.
5919 2003-09-09 Angus Leeming <leeming@lyx.org>
5921 * buffer.[Ch]: make Buffer's member variables private. Add
5924 Lots of changes all over the tree as a result.
5926 2003-09-08 Angus Leeming <leeming@lyx.org>
5928 * graph.C: #include <config.h>.
5930 2003-09-08 Angus Leeming <leeming@lyx.org>
5934 * BufferView_pimpl.C:
5963 * toc.C: remove redundant using directives.
5965 2003-09-07 Angus Leeming <leeming@lyx.org>
5967 * LaTeXFeatures.h: remove #include "support/types.h".
5968 * ToolbarBackend.h: remove #include <algorithm>.
5969 * changes.h: remove #include <ctime>.
5970 * debug.h: remove #include <iosfwd>.
5971 * graph.h: remove #include "support/std_string.h".
5972 * lyx_main.h: remove #include <csignal>.
5973 * lyxlex_pimpl.h: remove #include <fstream>.
5974 * sgml.h: remove #include <algorithm>, <utility>.
5975 * toc.h: remove #include "support/std_ostream.h".
5976 Add #include <iosfwd>.
5978 2003-09-07 Angus Leeming <leeming@lyx.org>
5980 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5982 * converter.h: forward declare LatexRunParams.
5983 * encoding.h: remove #include "lyxrc.h".
5984 * lyxtext.h: remove #include "LColor.h".
5985 * lyxtextclass.h: remove #include "support/types.h".
5986 * trans.h: remove #include "tex-accent.h".
5987 * trans_mgr.h: remove #include "tex-accent.h".
5988 * insets/inset.h: remove #include "support/types.h", <vector>.
5989 * insets/insetcollapsable.h: remove #include "LColor.h".
5990 * insets/insetinclude.h: remove #include "dimension.h".
5991 * insets/insetlatexaccent.h: remove #include "dimension.h".
5992 * insets/insetoptarg.h:: remove #include "insettext.h".
5993 * insets/insettext.h: remove #include "dimension.h",
5994 <boost/shared_ptr.hpp>
5996 * insets/renderers.h: add #include "dimension.h".
5997 * insets/updatableinset.h: add #include "support/types.h".
5999 * many .C files: Associated changes.
6001 2003-09-06 Angus Leeming <leeming@lyx.org>
6003 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6004 one, inside testInvariant.
6006 * PrinterParams.C: new file.
6007 * PrinterParams.[Ch]: move the function bodies out of line.
6009 2003-09-06 Angus Leeming <leeming@lyx.org>
6011 * ParagraphParameters.h: forward declare ParameterStruct rather than
6012 including its header file.
6013 (depth): moved out-of-line.
6015 2003-09-06 Angus Leeming <leeming@lyx.org>
6017 * BufferView_pimpl.h:
6020 * lyxfunc.h: forward declare LyXKeySym rather than
6021 #include "frontends/LyXKeySym.h".
6023 * BufferView_pimpl.C:
6026 * lyxfunc.C: associated changes.
6028 2003-09-06 Angus Leeming <leeming@lyx.org>
6030 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6031 As a result, can remove the #include "insets/inset.h" from BufferView.h
6033 2003-09-06 Angus Leeming <leeming@lyx.org>
6035 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6036 As a result, can remove the #include "insets/inset.h" from BufferView.h
6038 2003-09-06 Angus Leeming <leeming@lyx.org>
6044 * bufferview_funcs.C:
6045 * BufferView_pimpl.C:
6050 * ParagraphParameters.C:
6055 * frontends/controllers/ControlDocument.C:
6056 * insets/insetcaption.C: rearrange the #includes into some sort of
6059 * buffer.h: remove #includes ErrorList.h, undo.h
6061 2003-09-06 Angus Leeming <leeming@lyx.org>
6063 * support/types.h: add a 'depth_type' typedef, used to store the
6064 nesting depth of a paragraph.
6067 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6068 defining explicitly.
6071 * paragraph_funcs.h:
6072 * ParagraphParameters.h:
6073 * sgml.h: use lyx::depth_type rather than Paragraph or
6074 ParameterStruct's depth_type.
6077 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6080 * BufferView_pimpl.C:
6082 * ParagraphParameters.C:
6085 * bufferview_funcs.C:
6092 * frontends/LyXView.C:
6093 * frontends/controllers/ControlDocument.C:
6094 * frontends/controllers/ControlErrorList.C:
6095 * insets/insetbibitem.C:
6096 * insets/insetbranch.C:
6097 * insets/insetcaption.C:
6098 * insets/insetcollapsable.C:
6099 * insets/insetenv.C:
6100 * insets/insetert.C:
6101 * insets/insetfloat.C:
6102 * insets/insetfoot.C:
6103 * insets/insetfootlike.C:
6104 * insets/insetnewline.C:
6105 * insets/insetquotes.C:
6106 * insets/insettabular.C:
6107 * insets/insettext.C:
6108 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6110 * frontends/controllers/ControlChanges.C: #include "changes.h".
6112 2003-09-06 Angus Leeming <leeming@lyx.org>
6114 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6115 than #including paragraph.h.
6118 * RowList.h: deleted. Superfluous.
6128 * insets/insettext.h: use ParagraphList_fwd.h rather than
6131 * paragraph.h: don't forward declare ParagraphList.
6134 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6135 rather than ParagraphList.h. paragraph.h is still needed for the
6136 Paragraph::depth_type parameters.
6138 * textcursor.h: enable it to compile stand-alone in light of the
6141 * bufferview_funcs.C:
6153 * frontends/controllers/ControlParagraph.C:
6154 * frontends/controllers/ControlTabular.C:
6155 * insets/insetmarginal.C:
6156 * insets/insetminipage.C:
6157 * insets/insetnote.C:
6158 * insets/insetoptarg.C: add header files needed to compile again.
6160 2003-09-06 Angus Leeming <leeming@lyx.org>
6162 * RowList_fwd.h: new file, forward-declaring Row rather than
6163 #including lyxrow.h.
6168 * insets/insettext.h: use it instead of RowList.h
6170 * bufferview_funcs.C:
6177 * text3.C: #include "RowList.h".
6179 2003-09-05 Angus Leeming <leeming@lyx.org>
6181 * factory.C (createInset):
6182 * vspace.C (c-tor): replace sscanf call with an istringstream.
6183 * ispell.C: re-add missing HP/UX headers.
6184 * lyxserver.C: re-add missing os2 headers.
6186 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6195 * text3.C: re-add missing system headers, needed for 2.95.2.
6197 2003-09-05 Angus Leeming <leeming@lyx.org>
6199 Changes most place everywhere due to the removal of using directives
6200 from support/std_sstream.h.
6202 2003-09-05 Angus Leeming <leeming@lyx.org>
6204 Replace LString.h with support/std_string.h,
6205 Lsstream.h with support/std_sstream.h,
6206 support/LIstream.h with support/std_istream.h,
6207 support/LOstream.h with support/std_ostream.h.
6209 Changes resulting throughout the tree.
6211 2003-09-05 Angus Leeming <leeming@lyx.org>
6213 * sgml.h: ensure that the header file can be compiled stand-alone.
6214 * *.C: strip out redundant #includes. (320 in total.)
6216 2003-09-04 Angus Leeming <leeming@lyx.org>
6218 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6219 here (from getPackages).
6221 * debug.[Ch]: add a new EXTERNAL tag.
6223 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6225 * text2.C (cursorEnd): simplify
6227 (getColumnNearX): adjust
6229 * text.C (computeBidiTables): adjust
6232 * rowpainter.C (paintChars): adjust
6233 (paintSelection): adjust
6234 (paintChangeBar): adjust
6237 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6239 (numberOfSeparators): adjust
6241 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6247 * text3.C: Restricts the mouse click functionality
6248 of insets like bibtex, include, toc and floatlist to the visible
6249 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6250 up the dialogs. Cursor has to be in front of the inset (i.e.
6251 start of row) for this to function.
6253 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6255 * bufferview_funcs.C (currentState): output row information
6257 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6259 * bufferview_funcs.C (currentState): output paragraph position
6261 2003-09-04 Angus Leeming <leeming@lyx.org>
6263 * FloatList.h: move out #include "Floating.h".
6264 * LaTeX.h: move out #include "DepTable.h".
6265 * LyXAction.h: move out #include "funcrequest.h".
6266 * buffer.h: move out #include "author.h", "iterators.h".
6267 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6268 * lyx_main.h: move out #include "errorlist.h".
6269 * lyxfunc.h: move out #include "FuncStatus.h".
6270 * lyxtext: move out #include "lyxcursor.h".
6271 * paragraph_pimpl.h: move out #include "counters.h".
6273 2003-09-03 Angus Leeming <leeming@lyx.org>
6275 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6276 preamble_snippets list, enabling us to add snippets to the preamble
6277 only if the snippet was not there already.
6279 2003-09-04 Angus Leeming <leeming@lyx.org>
6281 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6283 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6285 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6288 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6290 * BranchList.C: point fix, earlier forgotten
6292 2003-09-02 Angus Leeming <leeming@lyx.org>
6294 * box.C (contains): renamed from 'contained' after a fantastic
6297 2003-09-02 John Levon <levon@movementarian.org>
6303 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6305 2003-09-02 John Levon <levon@movementarian.org>
6307 * text2.C: simplification of cursorEnd(), including partial
6310 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6312 * buffer.C (readFile): add a space
6314 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6316 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6318 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6320 * buffer.C (readFile): new function, take a filename and a
6321 ParagraphList::iterator
6323 (readFile): adjust, make it private. don't use setStream, make
6324 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6325 always contain the filename.
6327 * BufferView.C (insertLyXFile): simplify and make it work for
6330 2003-08-30 John Levon <levon@movementarian.org>
6332 * Makefile.am: fix dist (from Kayvan)
6334 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6336 * most files: change to use const Buffer refs
6338 2003-08-27 André Pönitz <poenitz@gmx.net>
6340 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6341 on top of ownerPar().
6343 2003-08-27 John Levon <levon@movementarian.org>
6345 * funcrequest.C: properly initialise POD members
6347 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6349 * lyxtext.h (top_y): move top_y from here
6354 * BufferView_pimpl.[Ch]: to here
6355 * frontends/screen.C:
6356 * insets/insettabular.C:
6357 * insets/insettext.C: adjust
6358 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6360 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6363 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6365 2003-08-26 André Pönitz <poenitz@gmx.net>
6367 * paragraph_func.[Ch] (outerPar): new function
6370 * paragraph_funcs.C:
6371 * paragraph_funcs.h:
6372 * paragraph_pimpl.C:
6373 * text2.C: remove Inset::par_owner
6375 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6380 * text2.C: eliminates the needFullRow/display() stuff
6381 altogether, putting the logic in metrics/draw in the insets.
6383 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6385 * text2.C (redoParagraphInternal, redoParagraphs):
6386 * text.C (redoParagraph): add a call to updateRowPositions at the
6387 end of each 'metrics-like' call. Remove all others.
6388 (getRow): remove the 'y-computing' version.
6389 (getRowNearY): do not compute nor return the real y. Solve the
6390 'y < 0' problem and simplify.
6392 2003-08-22 Angus Leeming <leeming@lyx.org>
6394 * *.[Ch]: clean-up of licence and author blurbs.
6395 Also move config.h out of a few .h files and into a few .C files.
6397 2003-08-22 André Pönitz <poenitz@gmx.net>
6399 * lyxrow.[Ch]: add x_ and *fill_ members
6404 * text2.C: adjust/remove prepareToPrint() calls
6406 2003-08-22 André Pönitz <poenitz@gmx.net>
6408 * lyxrow.[Ch]: add end_ member
6410 * lyxrow_funcs.C: use LyXRow::end_
6412 * lyxtext.h (singleWidth): add LyXFont parameter
6415 * text2.C: adjust LyXText::singleWidth() calls
6417 * text.C (redoParagraph): simplify row breaking logic
6420 2003-08-19 André Pönitz <poenitz@gmx.net>
6422 * funcrequest.C: initialize button_ member
6425 * rowpainter.[Ch]: interface consolidation
6427 2003-08-18 André Pönitz <poenitz@gmx.net>
6430 * BufferView_pimpl.C:
6432 * paragraph_funcs.C:
6434 * text3.C: remove LyXScreen::draw() and fitCursor calls
6436 * BranchList.h: remove spurious semicolons
6438 * MenuBackend.C: fix branchlist related crash
6440 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6448 * bufferparams.[Ch]:
6452 * text3.C: implements the 'branch inset'
6453 idea. This allows the output of various versions of a document
6454 from a single source version, selectively outputing or suppressing
6455 output of parts of the text.
6456 This implementation contains a 'branch list editor' in a separate
6457 tab of the document settings dialog. Branches are user definable
6458 and have a "display colour" to distinguish them on-screen.
6460 ColorHandler was somewhat cleaned up.
6461 (1) make possible a dynamically growing LColor list by allowing
6462 the graphic context cache to grow along (vector);
6463 (2) eliminate an IMHO unnecessary step in colour allocation.
6465 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6467 * BufferView_pimpl.C: compile fix
6469 2003-08-15 André Pönitz <poenitz@gmx.net>
6471 * rowpainter.C: remove extra metrics calls
6473 * lyxtext.h: merge the two constructors into a single one,
6474 pass reference to owner's par list
6476 * BufferView_pimpl.C:
6480 2003-08-15 André Pönitz <poenitz@gmx.net>
6482 * lyxrow_funcs.[Ch]:
6485 * paragraph_funcs.C:
6490 * text_funcs.C: split LyXText::rowlist_ into individual
6491 Paragraph::rows_ chunks
6494 * BufferView_pimpl.[Ch]:
6497 * text3.C: remove toggleSelection()
6499 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6501 * bufferlist.C: beautify two alerts (shorter text of buttons)
6502 * buffer.C: Remove redundant ' ' from message
6504 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6505 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6506 rename VALIGN_CENTER to VALIGN_MIDDLE
6508 2003-08-11 André Pönitz <poenitz@gmx.net>
6510 * lyxtext.h (getPar):
6511 * text.C: new function
6513 2003-08-11 André Pönitz <poenitz@gmx.net>
6516 * tracer.[Ch]: remove unneeded files
6518 * InsetList.[Ch]: remove resizeInsetsLyXText()
6523 * text3.C: merge insertParagraphs() and appendParagraph()
6524 remove breakAgain(), update()
6526 * BufferView_pimpl.[Ch]:
6527 * bufferview_funcs.[Ch]:
6531 * tabular.C: adjust after text & InsetList changes.
6533 2003-08-08 André Pönitz <poenitz@gmx.net>
6535 * text.C (insertChar, backspace): replace rowlist fiddling
6536 with rebreak of full par
6539 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6540 checkParagraph, updateInset): removed
6542 2003-08-07 André Pönitz <poenitz@gmx.net>
6545 * text3.C: merge some LFUN handlers, remove dead code
6547 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6549 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6551 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6553 * text2.C (DEPM): fix part of bug 1255 and 1256
6555 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6557 * BufferView_pimpl.C (workAreaDispatch): change to use
6558 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6559 that are no mouse related.
6561 2003-08-05 André Pönitz <poenitz@gmx.net>
6564 * BufferView_pimpl.[Ch]:
6565 * bufferview_funcs.C:
6567 * text3.C: rip out "deep update"
6569 * textcursor.[Ch] (last_sel_cursor): remove unused member
6571 2003-08-04 André Pönitz <poenitz@gmx.net>
6574 * BufferView_pimpl.[Ch]:
6575 * ParagraphParameters.C:
6576 * bufferview_funcs.C:
6582 * text3.C: replace "complicated" BufferView::update(...) calls with
6585 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6587 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6589 * Makefile.am (lyx_SOURCES): add paper.h
6591 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6593 * Makefile.am: move things around so that both lyx-qt and
6594 lyx-xforms can be built (according to --with-frontend). Then lyx
6595 is a symbolic link to lyx-[firstfrontend]
6597 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6599 * Always use std::endl with lyxerr
6601 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6603 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6605 2003-08-01 André Pönitz <poenitz@gmx.net>
6608 * BufferView_pimpl.[Ch]:
6610 * text3.C: merge BufferView::repaint() and BufferView::update()
6612 2003-08-01 José Matos <jamatos@lyx.org>
6614 * buffer.[Ch]: file_format is no longer a buffer data element.
6616 2003-08-01 André Pönitz <poenitz@gmx.net>
6621 * text2.C: make redoParagraph more independent of current cursor
6623 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6625 * text2.C: remove unneeded members
6627 2003-07-30 André Pönitz <poenitz@gmx.net>
6629 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6631 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6632 create a single function...
6634 * paragraph_funcs.C (moveItem): ... here.
6637 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6639 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6641 * LColor.[Ch]: Add comment and greyedout logical colors.
6643 2003-07-30 André Pönitz <poenitz@gmx.net>
6645 * tabular.C: don't use Assert too heavily. This crashes where it
6648 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6650 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6651 is disabled (bug 1232)
6653 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6655 * factory.C: limited 'arg' scope
6657 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6659 * factory.C: fixed Note submenu issues
6661 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6663 * factory.C: submenu for Note/Comment/Greyedout
6665 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6668 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6670 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6673 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6674 greyedout. Patch provided by Jürgen Spitzmüller.
6676 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6678 * kbmap.C (read): fix error message when reading bind files
6680 2003-07-29 Angus Leeming <leeming@lyx.org>
6682 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6683 certainly does not do what it purports to do. I am doing it, and
6684 us, a favour by killing it.
6686 2003-07-28 José Matos <jamatos@lyx.org>
6688 * buffer.C (readBody, do_writeFile):
6689 * paragraph.C(readParagraph): \end_document replaces \the_end.
6691 2003-07-29 André Pönitz <poenitz@gmx.net>
6694 * BufferView_pimpl.[Ch]:
6698 * textcursor.[Ch]: remove toggleToggle & Co
6700 2003-07-28 José Matos <jamatos@fep.up.pt>
6702 * buffer.C (readParagraph):
6703 * params_func (readParToken, readParagraph):
6704 * paragraph.C (write): \layout -> \begin_layout.
6706 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6708 * lyxlex_pimpl.C (setFile): clean up slightly.
6710 * bufferparams.h: add compressed var
6712 * buffer_funcs.C (readFile): adjust for LyXLex change
6713 (newFile): ditto + simplify
6715 * buffer.C (writeFile): handle writing of compressed files
6717 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6718 Check if the file is compressed and set a bufferparm if so.
6720 * Makefile.am (lyx_LDADD): remove explicit -lz
6722 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6724 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6725 makeDocBookFile): put the real LyX version in the first line of
6729 * version.C.in: remove lyx_docversion
6731 * tabular.C (write_attribute): add a template-based version to
6732 write enums properly
6734 2003-07-28 André Pönitz <poenitz@gmx.net>
6739 * text3.C: use doubles again for x-coordinates. They are needed.
6741 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6743 * messages.C (getLocaleDir): use lyx_localedir()
6745 * lyxlex_pimpl.C (setFile): compress stuff
6747 * buffer.C (writeFile): add some compression stuff
6748 (do_writeFile): new func, dont call expliti close... will this
6751 * Makefile.am (lyx_LDADD): add -lz
6753 2003-07-28 José Matos <jamatos@fep.up.pt>
6755 * buffer.C: increment file format.
6756 * paragraph_funcs (readParagraph, readParToken):
6757 * paragraph.C (readParagraph): add \end_layout.
6759 2003-07-27 Angus Leeming <leeming@lyx.org>
6761 * Makefile.am: remove special casing for configure-time setting of
6762 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6764 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6765 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6767 2003-07-26 André Pönitz <poenitz@gmx.net>
6769 * paragraph_func.[Ch]:
6770 * paragraph.C (realizeFont): inline it whereever it is used
6775 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6778 2003-07-26 André Pönitz <poenitz@gmx.net>
6782 * text2.C: get rid of LyXText::need_break_row
6784 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6786 * toc.[Ch]: put namespace toc inside namespace lyx
6788 * MenuBackend.C (expandToc2): adjust for lyx::toc
6791 * lyxfunc.C (dispatch): adjust for lyx::find
6793 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6794 lyx::find instead. Reorganize a bit.
6795 (LyXReplace): rename to replace
6796 (LyXFind): rename to find
6798 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6801 2003-07-26 André Pönitz <poenitz@gmx.net>
6803 * text.C (setHeightOfRow): restrict scope of temporary variable
6805 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6806 code (never has been used?)
6808 2003-07-27 Asger Alstrup <alstrup@local>
6810 * text.C (fill): Optimise algorithm to exploit that we can reuse
6811 the LyXFont for many characters.
6812 (setHeightOfRow): Same thing.
6813 (rowBreakPoint): Same thing.
6815 2003-07-26 Asger Alstrup <alstrup@local>
6817 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6819 * text.C (singleWidth): Spurious font copying in hot-spot
6820 singleWidth avoided. Reorder tests for arabic for efficiency.
6822 * text.C (fill): handle empty paragraphs better.
6824 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6827 * encoding.h: add includes
6829 * lyxrc.C: remove reading of bind files
6831 * lyx_main.C (init): setup bindings and menus only if we have a
6834 * kbmap.C (read): new method. Do the actual reading of bind
6837 * converter.C (dvipdfm_options):
6840 (output): adapt PAPER_* enums.
6842 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6844 * bufferparams.h: remove paper-related enums from there
6846 * paper.h: New file. A trivial header file to hold paper-related
6847 enums. It should later expand to contain many paper-related
6850 * lyxrc.C: declare extern displayTranslator
6852 2003-07-27 José Matos <jamatos@fep.up.pt>
6854 * tabular.[Ch] (linuxdoc): add support for tables and figures
6857 2003-07-27 José Matos <jamatos@fep.up.pt>
6859 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6860 consistency in both functions.
6861 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6863 2003-07-26 Asger Alstrup <alstrup@local>
6865 * rowpainter.C (paintRows): Change algorithm to work directly on
6866 the insets rather than asking every character in the document
6867 whether its an inset.
6869 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6871 * buffer.C (openFileWrite): factorize some code
6873 2003-07-26 Angus Leeming <leeming@lyx.org>
6876 * lyx_main.[Ch]: replace occurances of system_tempdir with
6879 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6881 * rename Inset to InsetOld
6883 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6885 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6886 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6887 which I think is a bit clearer. EDIT is gone, since it was
6888 premature optimisation, and broken for mathed anyway.
6889 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6890 with cursor positioning in insets as well (math insets still do not
6891 work, but that's a different story anyway.) It mysteriously
6892 crashes sometimes with undo in the first paragraph, but I'm fairly
6893 confident that this is a compiler bug.
6895 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6897 * paragraph.C (Paragraph): adjust for new clone return type
6899 (copyIntoMinibuffer): ditto
6901 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6903 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6904 by not having a special case, and always doing a full rebreak of
6905 the document after undo.
6907 2003-07-23 Angus Leeming <leeming@lyx.org>
6909 * factory.C (createInset): InsetExternal::setParams now takes a
6912 2003-07-23 Angus Leeming <leeming@lyx.org>
6914 * factory.C (createInset): changed interface to the external and
6915 graphics mailers' string2params functions.
6917 2003-07-23 Angus Leeming <leeming@lyx.org>
6919 * factory.C (createInset): pass a
6920 Buffer const * parameter to InsetExternalMailer's string2params.
6922 2003-07-22 John Levon <levon@movementarian.org>
6924 * Thesaurus.h: include the right aiksaurus header
6926 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6928 * MenuBackend.C (expand): check menu shortcuts unconditionally
6930 2003-07-21 Angus Leeming <leeming@lyx.org>
6932 * factory.C (createInset): pass a
6933 buffer_path parameter to InsetGraphicsMailer's string2params.
6935 2003-07-21 Angus Leeming <leeming@lyx.org>
6937 * BufferView_pimpl.C (buffer):
6940 * lyxfunc.C (dispatch):
6941 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6942 rather than the grfx shortcut.
6944 2003-07-21 André Pönitz <poenitz@gmx.net>
6946 * rowpainter.C: remove unused variables
6949 * tabular_funcs.h: move to tabular.C
6950 * Makefile.am: adjust
6952 * tabular.[Ch]: basic optical cleaning
6954 * author.h: pass references, not values
6956 2003-07-18 André Pönitz <poenitz@gmx.net>
6964 * text3.C: two-phase drawing for InsetText and InsetTabular
6965 some float -> int changes.
6967 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6969 * lyx_main.C: fix the fix
6971 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6973 * lyx_main.C: fix a crash in batch mode if no files specified
6976 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6978 * format.[Ch] (papersize): moved to BufferParams
6979 * converter.[Ch] (dvips_options): moved to BufferParams
6980 (dvipdfm_options): moved to anon namespace
6981 * bufferparams.[Ch]: added above functions.
6983 2003-07-17 André Pönitz <poenitz@gmx.net>
6987 * text2.C: don't call inset->update() anymore
6989 * metricsinfo.[Ch]: add convenience constructor
6991 2003-07-16 André Pönitz <poenitz@gmx.net>
6996 * text2.C: replace the LyXCursor::irow_ member with
6997 on-demand computation of the value
6999 2003-07-16 John Levon <levon@movementarian.org>
7001 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7003 2003-07-15 André Pönitz <poenitz@gmx.net>
7006 * text2.C: remove no more needed refresh_row
7008 2003-07-15 André Pönitz <poenitz@gmx.net>
7013 * text3.C: refresh_status tristate -> need_update bool
7015 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7017 * lyxtext.h (init): remove reinit argument (act as if always true)
7018 * text2.C: adjust to that
7020 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7022 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7023 * text3.C: use it to delete selections in some cases
7024 (bugs 441, 673, 702, 954).
7026 2003-07-14 André Pönitz <poenitz@gmx.net>
7028 * rowpainter.[Ch]: reduce interface
7030 2003-07-14 André Pönitz <poenitz@gmx.net>
7032 * BufferView_pimpl.C:
7033 * text2.C: adjust after removing unused BufferView * argument
7035 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7037 * text2.C (init): fix a crash fired on resize
7039 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7041 * buffer.[Ch]: added new closing signal
7042 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7043 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7044 BufferView::Pimpl via the closing the signal
7046 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7048 * buffer.[Ch]: take out all bv-related from buffer
7050 * BufferView_pimpl.[Ch]: connect to new signals
7051 * CutAndPaste.C: removed useless asserts
7052 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7055 * lyxfunc.C: moved view-related funciontality from vc here
7056 * paragraph.C: removed outdated comments
7059 2003-07-10 André Pönitz <poenitz@gmx.net>
7061 * BufferView_pimpl.C:
7065 * text2.C: remove InsetText::InnerCache, clean up consequences
7067 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7069 * ispell.C: fix two typos in error messages
7071 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7073 * Extend Note inset to other forms of annotation like Comment
7074 and Greyedout. Right button click gives dialog.
7076 Files modified or added (+):
7080 * ControlNote.[Ch] +
7082 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7083 frontends/controllers
7087 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7089 * aspell.C: add missing namespace lyx::support
7091 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7093 * BufferView.[Ch] (newFile): Add
7094 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7095 * LaTeX.[Ch] (message): added this signal and use it
7096 * buffer.[Ch] (busy, message): added these signals and use them
7097 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7101 * importer.C: use buffer signals instead of direct bv calling
7102 * lyx_cb.[Ch] (ShowMessage): removed
7105 * paragraph_funcs.C:
7106 * text2.C: use buffer signals
7108 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7110 * introduce namespace lyx::graphics
7112 2003-07-02 André Pönitz <poenitz@gmx.net>
7114 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7116 2003-07-01 André Pönitz <poenitz@gmx.net>
7123 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7124 text*.C to text_func.C
7126 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7128 * introduce namespace lyx::support
7130 2003-06-30 André Pönitz <poenitz@gmx.net>
7135 * text.C: re-enable --with-included-string
7137 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7139 * textcursor.C: add <config.h>
7141 * text.C (getWord): remove const from word_location arg
7143 * lyxvc.C (getLogFile): fix const type order
7145 * lyxtext.h: remove const from word_location arg, add arg name
7147 * lyxlayout.h: currect type on labeltype.
7149 * importer.C: correct \file
7151 * converter.C (intToFormat): use std:: on ret val, ws changes
7153 * bufferlist.h: correct \file
7155 * buffer.C (makeLinuxDocFile): fix const type order
7156 (makeDocBookFile): ditto
7157 (fillWithBibKeys): use std:: on stdlib args.
7159 * CutAndPaste.C: fix authors.
7160 (availableSelections): use std:: on return vector
7162 2003-06-27 André Pönitz <poenitz@gmx.net>
7164 * BufferView_pimpl.C:
7165 * bufferview_funcs.C:
7173 * text3.C: remove LyXCursor::row_ member
7176 * text.C: rename fullRebreak() to partialRebreak() and implement
7177 a fullRebreak() that really bereks fully
7179 * textcursor.h: new struct for cursor-related data
7181 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7183 * lyx_main.C (LyX): get full path of document loaded on the
7186 2003-06-26 André Pönitz <poenitz@gmx.net>
7188 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7189 remove unused/broken operator>,<,>=.
7191 * text.C: remove only use of broken operator<= in an Assert().
7193 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7195 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7196 moved errorlist_.clear to showErrorList
7198 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7200 * converter.C (scanLog, runLaTeX):
7201 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7202 move the bv->showErrorList call to the callers
7203 * lyxfunc.C: i.e. here...
7205 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7206 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7207 namespace, the second to...
7208 * buffer_funcs (BufferFormat, parseErrors): added
7209 * errorlist.C (ErrorList(TeXErrors const &)): removed
7211 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7213 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7215 2003-06-24 "Garst R. Reese" <reese@isn.net>
7219 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7221 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7223 * version.C.in: change docversion to 1.4
7225 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7227 * buffer.C: fix a bug just introduced
7229 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7231 * buffer.[Ch]: added the parseError signal and use it, removed
7233 * BufferView.[Ch] (addError): moved to ...
7234 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7235 to the Buffer::parseError signal to catch (guess what) parse errors
7236 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7238 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7240 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7241 ability to create a buffer and to return an existing one from
7242 the list. Moved these functions to...
7243 * buffer_funcs.[Ch]: added
7244 * BufferView.[Ch] (loadLyXFile): added
7245 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7246 job removed from bufferlist::loadLyXFile.
7247 * buffer.C (setReadOnly): make it work without view
7248 (i.e added an if (users))
7250 2003-06-19 Angus Leeming <leeming@lyx.org>
7253 * LyXAction.C (init):
7254 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7255 with LFUN_DIALOG_SHOW <name> <data>.
7257 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7259 * CutAndPaste.C (availableSelections): small compilation fix for
7260 ancient (gcc 2.9x) compilers
7262 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7264 * text3.C (cursorNext): add tmp var
7266 * text2.C (updateCounters): for function calling out of for clause
7267 (replaceSelectionWithString): ditto
7268 (insertStringAsParagraphs): ditto
7269 (getColumnNearX): add tmp var
7270 (setCursorFromCoordinates): add tmp var
7271 (cursorDownParagraph): add tmp var
7272 (deleteEmptyParagraphMechanism): add tmp var
7274 * text.C (insertChar): add tmp var
7276 * rowpainter.C (paintDepthBar): add tmp var
7278 * CutAndPaste.C (availableSelections): potentially check all
7279 paragraphs in a cut to fill the shown strings.
7281 2003-06-18 André Pönitz <poenitz@gmx.net>
7283 * kbmap.[Ch]: use vector<> instead of list<>
7285 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7287 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7288 pasteSelection with index
7290 * text2.C (pasteSelection): modify, call pasteSelection with index
7292 * paragraph.C (asString): reimplement version with no interval to
7293 call the one with interval.
7295 * lyxtext.h: add index arg to pasteSelection
7297 * MenuBackend.C (MenuItem): handle PasteRecent
7298 (Menu::read::Menutags): add md_pasterecent
7300 (expandPasteRecent): new function
7303 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7305 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7307 (availableSelections): new function
7309 2003-06-17 Angus Leeming <leeming@lyx.org>
7311 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7313 2003-06-17 Angus Leeming <leeming@lyx.org>
7316 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7318 * lyxfunc.C (dispatch): invoke it.
7320 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7322 * iterators.C (operator++, ParPosition): reintroduce some
7323 const_cast for the benefit of older compilers.
7325 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7327 * text3.C (dispatch): do not modify clipboard when doing
7328 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7329 LFUN_DELETE_SKIP on a selection selection
7331 2003-06-16 André Pönitz <poenitz@gmx.net>
7337 * tabular.[Ch]: IU of clone() and getLabelList();
7339 2003-06-13 André Pönitz <poenitz@gmx.net>
7341 * tabular.h: compactification
7343 2003-06-12 André Pönitz <poenitz@gmx.net>
7347 * tabular_funcs.h: some renaming plus whitespace
7349 2003-06-12 André Pönitz <poenitz@gmx.net>
7352 * BufferView_pimpl.C:
7358 * toc.C: Return a Paragraph & for ParIterator::operator*()
7360 2003-06-11 John Levon <levon@movementarian.org>
7364 * ToolbarBackend.C: add "Toolbars" section and
7367 2003-06-10 Angus Leeming <leeming@lyx.org>
7370 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7372 * lyxfunc.C (dispatch): invoke it.
7374 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7376 * main.C: protect <ios> with HAVE_IOS
7377 (main): protect sync_with_stdio with HAVE_IOS
7379 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7381 * text2.C (cutSelection): adjust
7382 (pasteSelection): adjust
7384 * messages.C: handle get of empty string
7386 * main.C (main): use sync_with_stdio(false)
7388 * lyxfunc.C (dispatch): adjust
7390 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7391 (WriteAs): remove unneeded BufferView arg.
7393 * bufferparams.h: use correct types on papersize, papersize2 and
7396 * bufferparams.C (readToken): adjust for type
7397 (writeLaTeX): add missing cases to switch.
7399 * bufferlist.C (quitWriteBuffer): adjust
7402 * buffer.C (asciiParagraph): remove some commented code.
7404 * CutAndPaste.C: remove current_view extern variable.
7405 (cutSelection): add BufferParams arg.
7406 (eraseSelection): add BufferParams arg.
7407 (pasteSelection): add Buffer const & arg
7409 2003-06-07 John Levon <levon@movementarian.org>
7412 * paragraph_funcs.C:
7413 * paragraph_pimpl.C:
7417 * paragraph.C: allow InsetERT to freely space lines,
7418 and some consolidation of code
7420 2003-06-06 José Matos <jamatos@fep.up.pt>
7422 * buffer.C (makeDocBookFile): fix bug #821
7424 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7426 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7428 2003-06-04 Angus Leeming <leeming@lyx.org>
7430 * buffer.C: bump format to 224.
7432 2003-06-05 André Pönitz <poenitz@gmx.net>
7434 * text2.C (redoParagraphs): remove two const_cast<>
7436 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7438 * ParagraphList.h: remove last remnants of NO_STD_LIST
7440 2003-06-03 Angus Leeming <leeming@lyx.org>
7442 * factory.C (createInset): small change to the way InsetExternal's params
7445 2003-06-04 André Pönitz <poenitz@gmx.net>
7447 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7449 * paragraph_pimpl.h:
7450 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7452 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7454 * undo_funcs.C: make some simple cases of undo work again
7456 2003-06-03 John Levon <levon@movementarian.org>
7458 * ispell.C: HPUX doesn't have sys/select.h
7461 2003-06-03 John Levon <levon@movementarian.org>
7463 * CutAndPaste.C: update tabular and include inset
7468 * paragraph.C: remove owningBuffer(), don't pass Buffer
7471 * factory.C: insetGraphicsParams changed
7473 2003-06-02 John Levon <levon@movementarian.org>
7479 * text3.C: remove insetparent
7481 2003-06-02 John Levon <levon@movementarian.org>
7484 * buffer.C: fix inset_iterator.end(), move out of line
7487 2003-06-01 John Levon <levon@movementarian.org>
7489 * text3.C: use a proper cut/paste when doing inset
7490 insert (from Jürgen Spitzmüller)
7492 2003-06-01 John Levon <levon@movementarian.org>
7494 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7496 2003-05-30 André Pönitz <poenitz@gmx.net>
7498 * rowpainter.C: unify second drawing phase
7500 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7502 * trans_mgr.C: remove one case of current_view
7504 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7506 * paragraph_funcs.h: remove paragraph.h include
7508 * paragraph.h: delete NO_STD_LIST stuff
7510 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7512 * buffer.h: remove paragraph.h include
7514 * ParagraphList.C: delete file
7516 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7518 * toc.C (getTocList): adjust
7520 * paragraph_pimpl.C (validate): adjust
7522 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7524 * paragraph.C (Paragraph): adjust
7525 (getPositionOfInset): use const_iterator, adjust
7526 (bibitem): use const_iterator, adjust
7527 (setInsetOwner): adjust
7529 * iterators.C (operator++): adjust
7531 * InsetList.[Ch]: Replace selfmade iterator with standard
7532 vector::iterator also introduce const_iterator. Remove getPos,
7533 getInset and setInset from InsetTable. Adjust accordingly.
7535 * BufferView.C (lockInset): adjust
7536 (ChangeInsets): adjust
7538 * tabular.[Ch]: delete commented same_id functions
7540 2003-05-28 John Levon <levon@movementarian.org>
7542 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7544 2003-05-28 André Pönitz <poenitz@gmx.net>
7546 * metricsinfo.[Ch]: remove 'fullredraw' member
7548 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7550 * lyxtextclass.C (operator): remove caching.
7552 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7556 * text2.C (cursorBottom): adjust
7557 (setCounter): use ParagraphList::find, adjust
7559 * text.C (workWidth): use ParagraphList::find, adjust
7561 * lyxcursor.C (LyXCursor): adjust
7563 * buffer.C (inset_iterator): adjust
7565 * ParagraphList.h: make iterator(value_type) private, make
7566 ParagraphList a friend of iterator.
7568 * ParagraphList.C (find): new function
7570 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7572 2003-05-27 André Pönitz <poenitz@gmx.net>
7574 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7576 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7578 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7580 2003-05-26 John Levon <levon@movementarian.org>
7582 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7584 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7586 * remove same_id from function signatures, adjust.
7588 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7590 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7592 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7594 * paragraph.C (Paragraph): get rid of same_ids parameter
7596 * ParagraphList.C (insert): adjust
7599 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7601 * paragraph_funcs.C (breakParagraph): adjust
7602 (breakParagraphConservative): adjust
7604 * buffer.C (readParagraph): adjust
7606 * ParagraphList.C (insert): take a reference instead of a pointer
7609 * paragraph.[Ch] (id): new function
7611 * bufferlist.C (newFile): adjust
7613 * ParagraphList.C (ParagraphList): adjust
7615 (push_back): take a reference instead of a pointer.
7617 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7619 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7622 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7623 set else use old code.
7625 * ParagraphList.C: remove all NO_NEXT code and only compile this
7626 code of NO_STD_LIST is set.
7628 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7630 * BufferView_pimpl.C:
7640 * graphics/GraphicsConverter.C:
7641 * graphics/PreviewLoader.C: header adjustment
7643 2003-05-23 Angus Leeming <leeming@lyx.org>
7645 * LaTeXFeatures.[Ch] (useBabel): new method.
7646 * bufferparams.C (writeLaTeX): use it.
7648 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7650 * ParagraphList.h (set): remove unused function.
7652 2003-05-23 André Pönitz <poenitz@gmx.net>
7655 * BufferView_pimpl.C:
7659 * undo_funcs.C: setUndo reworked
7661 * iterators.[Ch]: add access to topmost ParagraphList
7663 * lyxtext.[Ch] (workWidth): add a const
7665 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7667 * texrow.[Ch] (increasePos): remove function
7668 * exporter.C (export): removed unused var and outdated comment
7670 2003-05-23 Angus Leeming <leeming@lyx.org>
7672 * latexrunparams.h: rename fragile as moving_arg.
7673 * paragraph.C (simpleTeXOnePar): ditto.
7674 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7676 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7678 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7680 (textUndoOrRedo): comment out a currently unused var.
7682 * paragraph.h (NO_NEXT): enable NO_NEXT
7684 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7686 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7688 * exporter.C (Export): adjust for removeAutoInsets removal.
7690 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7692 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7694 * BufferView.[Ch] (removeAutoInsets): delete function
7696 2003-05-22 Angus Leeming <leeming@lyx.org>
7698 * latexrunparams.h: add a free_spacing variable.
7700 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7701 to pass moving_arg, as the data is stored in runparams.fragile.
7703 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7704 to Inset::latexOptional or to simpleTeXOnePar.
7706 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7707 free_spacing arg to Inset::latexOptional.
7709 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7712 2003-05-22 Angus Leeming <leeming@lyx.org>
7714 * latexrunparams.h: add fragile and use_babel variables.
7716 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7717 * buffer.C (makeLaTeXFile): store this returned value in
7718 runparams.use_babel, thus passing it to the inset::latex methods.
7720 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7721 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7723 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7724 longer has a fragile arg, as it is stored in runparams.fragile.
7726 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7727 moving_arg parameter as the data is stored in runparams.fragile.
7729 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7730 a fragile parameter as the data is stored in runparams.fragile.
7732 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7734 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7736 2003-05-22 Angus Leeming <leeming@lyx.org>
7738 * latexrunparams.h: add a 'bool nice' which defaults to false.
7740 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7741 now encapsulated within runparams.
7743 * bufferlist.C (updateIncludedTeXfiles):
7744 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7746 2003-05-22 Angus Leeming <leeming@lyx.org>
7748 * latexrunparams.h: new file containing struct LatexRunParams.
7749 * Makefile.am: add new file.
7751 * LaTeX.[Ch] (c-tor, run):
7752 * buffer.[Ch] (makeLaTeXFile):
7753 * bufferlist.[Ch] (updateIncludedTeXfiles):
7754 * converter.C (convert, scanLog):
7755 * converter.[Ch] (runLaTeX):
7756 * exporter.C (Export):
7757 * paragraph.[Ch] (simpleTeXOnePar):
7758 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7759 * paragraph_funcs.[Ch] (latexParagraphs):
7760 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7761 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7762 pass around a LatexRunParams parameter.
7764 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7766 * paragraph.[Ch]: remove unused constructor
7768 * ParagraphList.C (erase): new function, taking two iterators
7770 2003-05-22 André Pönitz <poenitz@gmx.net>
7772 * undo_funcs.C: remove duplicated code
7774 * iterator.[Ch]: operator=
7776 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7778 * tabular.C (SetMultiColumn): ws changes
7780 * rowpainter.C (paintFirst): get rid of a ->previous
7782 * lyx_cb.C (getPossibleLabel): parlist simplification
7784 * BufferView.C (ChangeInsets): simplify slightly.
7786 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7788 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7789 * lfuns.h: new LFUN_SPACE
7790 * lyxfunc.C: protected space has a new lfun
7791 * paragraph_funcs.C: read new space insets
7793 * factory.C: handle new space insets
7795 2003-05-22 André Pönitz <poenitz@gmx.net>
7798 * BufferView_pimpl.C:
7801 * undo_funcs.C: return a ParIterator from getParFromID.
7803 * iterators.[Ch]: add two const's
7805 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7807 * toc.C (getTocList): adjust
7809 * iterators.[Ch]: rework for parlist
7811 * buffer.C (par_iterator_begin): adjust
7812 (par_iterator_end): adjust
7814 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7816 * BufferView.C (removeAutoInsets): adjust
7817 (ChangeInsets): adjust
7819 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7821 * text.C (top_y): fix bug 1110
7823 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7825 * errorlist.[Ch]: added
7828 * BufferView_pimpl.C:
7829 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7832 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7834 * Makefile.am: ensure that lyx is relinked upon changes to the
7835 various "convenience" libs.
7837 2003-05-20 Angus Leeming <leeming@lyx.org>
7839 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7840 files are compiled in alphabetical order again.
7842 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7844 2003-05-19 Angus Leeming <leeming@lyx.org>
7846 * gettext.[Ch]: remove "char const * _(char const *)".
7848 2003-05-19 André Pönitz <poenitz@gmx.net>
7850 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7859 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7861 2003-05-19 André Pönitz <poenitz@gmx.net>
7865 * lyxtextclass.[Ch]:
7867 * paragraph_funcs.[Ch]:
7869 * text3.C: more insetenv work
7871 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7873 * ParagraphParameters.C (params2string): small bug fixed
7875 2003-05-16 André Pönitz <poenitz@gmx.net>
7878 * bufferview_funcs.C: patch from Kornel Benko to prevent
7879 crash when _(...) is called twice in a statement
7881 2003-05-16 André Pönitz <poenitz@gmx.net>
7888 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7890 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7892 * lyx_main.C (init): remove spurious static_cast
7894 2003-05-14 André Pönitz <poenitz@gmx.net>
7896 * BufferView.C: fix format string
7898 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7900 * BufferView.[Ch] (insertErrors): removed
7901 * BufferView.[Ch] (showErrorList): added
7902 * buffer.C (runChkTeX):
7903 * converter.C (scanLog): call showErrorList instead of inserterrors
7905 2003-05-13 André Pönitz <poenitz@gmx.net>
7907 * BufferView_pimpl.C:
7909 * bufferview_func.C:
7916 * tabular_funcs.h: tostr() from its own header
7918 * ParagraphParameters.C:
7923 * text3.C: STRCONV()
7925 2003-05-12 André Pönitz <poenitz@gmx.net>
7928 * BufferView_pimpl.C:
7932 * ParagraphParameters.C:
7936 * bufferview_funcs.C:
7949 * paragraph_funcs.C:
7953 * text3.C: boost::format -> bformat all over the place
7956 2003-05-09 André Pönitz <poenitz@gmx.net>
7958 * LColor.[Ch]: Pimpl the #include <map> away
7960 2003-05-09 John Levon <levon@movementarian.org>
7962 * bufferlist.C: never remove emergency saves
7964 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7966 * Makefile.am: better lib building
7968 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7970 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7972 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7973 (simpleTeXSpecialChars): adjust
7974 (simpleTeXSpecialChars): adjust
7975 * paragraph.C (simpleTeXOnePar): adjust
7976 * buffer.C (makeLaTeXFile): adjust
7978 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7980 * text2.C (changeDepth): parlist cleanup
7981 (getColumnNearX): ditto
7983 * rowpainter.C (getLabelFont): parlist cleanup
7985 * bufferlist.C (newFile): parlist cleanup
7987 * CutAndPaste.C (eraseSelection): parlist cleanup
7989 * BufferView_pimpl.C (trackChanges): parlist cleanup
7992 * BufferView.C (lockInset): parlist cleanup.
7993 (ChangeInsets): ditto
7995 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7997 * CutAndPaste.h: Update file header.
7999 * CutAndPaste.C: Update file header.
8000 Store the parts cut out of the Document in a limited_stack.
8001 (copySelection): adjust
8002 (pasteSelection): new function, takes the index in the limited stack.
8003 (nrOfParagraphs): adjust
8004 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8005 simplify error inset insertion.
8006 (checkPastePossible): adjust
8008 2003-05-06 John Levon <levon@movementarian.org>
8010 * text2.C: don't cast wrap inset to float
8012 2003-05-05 André Pönitz <poenitz@gmx.net>
8015 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8017 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8018 few naked Paragraph *.
8020 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8022 * bufferparams.C: Output warning if a document with missing
8023 TeX document class is loaded
8024 * exporter.C: Disable TeX exports if the document class is missing
8027 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8028 isTeXClassAvailable()
8030 2003-05-03 John Levon <levon@movementarian.org>
8033 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8034 explicit cursor show/hide
8036 * BufferView_pimpl.h:
8037 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8038 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8040 * lyxfunc.C: hide cursor before dispatching.
8045 * text3.C: remove explicit cursor hides
8047 2003-05-02 André Pönitz <poenitz@gmx.net>
8049 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8052 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8055 * text2.C: tiny whitespace
8057 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8059 * undo_funcs.C: almost only ws changes.
8061 * ParagraphList.C (splice): just return if pl is empty.
8063 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8065 * ParagraphList.C (splice): new function.
8067 * CutAndPaste.C (pasteSelection): use it
8069 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8071 * CutAndPaste.C (pasteSelection): remove the last next and
8072 previous from this file.
8074 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8076 * CutAndPaste.C (pasteSelection): more clean up, user proper
8077 ParagraphList functions for pasteing.
8079 * ParagraphList.C (insert): new function, three arg insert
8081 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8083 * ParagraphList.C (insert): new function, three arg insert
8085 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8088 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8090 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8092 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8094 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8096 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8098 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8099 (copySelection): clean up a bit.
8100 (pasteSelection): use make_pair
8102 * ParagraphList.C (ParagraphList): implement copy constructor
8103 (operator=): implement, base on copy constructor.
8106 * paragraph.C (erase): return a bool
8108 * paragraph_pimpl.C (erasePos): remove function, move contents...
8109 (erase): ... here. Return a bool.
8110 (erase): call erase instead of erasePos.
8112 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8114 * ParagraphList.h: define PitPosPair
8115 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8116 ParagraphList, fix a bug on pasting multiple pars
8117 * text2.C: change interface to C&P
8119 2003-04-30 André Pönitz <poenitz@gmx.net>
8121 * undo_func.C: revert part of yesterday's patch 2
8123 2003-04-30 John Levon <levon@movementarian.org>
8125 * LColor.C: s/tabular/table/
8127 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8129 * text3.C (dispatch): do not convert iterator -> pointer
8130 * undo_funcs.C (setCursorParUndo): ditto
8131 * text_funcs.C (transposeChars): ditto
8133 * text2.C (setLayout): ws changes only
8135 * text.C (breakParagraph): do not convert iterator -> pointer
8137 (acceptChange): ditto
8138 (rejectChange): ditto
8143 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8146 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8148 * text3.C (gotoInset): YABG (yet another bad getChar)
8150 2003-04-29 André Pönitz <poenitz@gmx.net>
8152 * paragraph.h: make operator= private unimplemented as long as
8155 * ParagraphList.C: whitespace
8158 * paragraph_pimpl.[Ch]:
8159 * paragraph_funcs.C:
8161 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8164 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8166 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8168 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8169 * paragraph.[Ch] (erase):
8170 * paragraph_pimpl.[Ch] (erase): change return type and value
8171 * text2.C (cutSelection): some rework
8173 2003-04-28 John Levon <levon@movementarian.org>
8175 * bufferlist.C: changes for unsaved changes dialog
8177 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8179 * bufferlist.C (newFile): set language (messages_) for new
8182 * buffer.C (readFile): ws changes only.
8184 2003-04-28 André Pönitz <poenitz@gmx.net>
8189 * BufferView_pimpl.C:
8190 * BufferView.C: getParFromID related ParagraphList::iterator changes
8192 2003-04-28 André Pönitz <poenitz@gmx.net>
8194 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8197 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8199 * messages.C: remove one more localedir class variable.
8201 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8203 * messages.C (getLocaleDir): singleton generation function
8205 (Messages): add a default constructor.
8207 * main.C (main): do not setup localedir here, do not call
8210 * gettext.C (_): use it.
8211 (gettext_init): delete funciton
8213 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8215 * gettext.C (getLyXMessages): new singleton generating function.
8217 * buffer.C (updateDocLang): adjust
8219 * Makefile.am (messages.o): add target
8220 (main.o): remove target
8222 2003-04-27 John Levon <levon@movementarian.org>
8227 * lyxvc.C: specify cancel button in Alert::prompt
8229 2003-04-26 John Levon <levon@movementarian.org>
8234 * LyXAction.C: add LFUN_INSET_SETTINGS
8236 * lyxfunc.C: don't enable tabular-feature when there's
8237 just any locking inset
8239 2003-04-26 John Levon <levon@movementarian.org>
8241 * bufferlist.C: re-add Cancel to buffer close question
8243 * lyxfunc.C: fix import UI a bit
8245 2003-04-25 John Levon <levon@movementarian.org>
8247 * gettext.C: remove the broken asserts for now
8249 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8251 * messages.C: make case where setlocale cannot comply work better.
8253 * buffer.C (updateDocLang): new function
8254 (changeLanguage): use it
8257 * text2.C (setCounter): use B_ a bit.
8259 * lyxlayout.C (Read): be sure to trim the label strings.
8261 * messages.C (Messages): fix typo in comment
8263 * buffer.C (readFile): set message_ after file is loaded.
8264 (makeDocBookFile): remove double return
8265 (changeLanguage): reset message_ upon language change.
8266 (B_): new func, use this to get translated buffer strings.
8268 * main.C: add myself and Jean Marc as authors.
8270 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8272 * messages.[hC]: pimplify Messages, and three different pimpls to be
8273 used in different circumstances.
8275 * gettext.[Ch]: change for use with new message code.
8277 2003-04-24 André Pönitz <poenitz@gmx.net>
8279 * factory.C: support for eqref
8281 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8283 * messages.[Ch]: add missing char
8285 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8287 * messages.[Ch]: New files
8289 2003-04-18 John Levon <levon@movementarian.org>
8293 * BufferView_pimpl.C:
8297 * text2.C: remove layout-copy/paste (bug 778)
8299 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8301 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8303 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8305 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8306 if they succeed. Act accordingly.
8308 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8310 * text2.C (setCharFont): adjust
8311 (setCounter): adjust
8312 (insertStringAsLines): adjust
8314 * text.C (leftMargin): adjust
8315 (setHeightOfRow): adjust
8317 * rowpainter.C (paintFirst): adjust
8320 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8322 (isFirstInSequence): ditto
8323 (getEndLabel): ditto
8326 * paragraph.C (getParLanguage): comment out some hard stuff.
8328 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8330 (simpleDocBookOnePar): ditto
8331 (makeDocBookFile): use ParagraphList::iterator
8333 * CutAndPaste.C (pasteSelection): adjust
8335 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8337 * text2.C (getFont): adjust
8338 (getLayoutFont): adjust
8339 (getLabelFont): adjust
8341 * paragraph_funcs.C (TeXOnePar): adjust
8343 * buffer.C (simpleLinuxDocOnePar): adjust
8344 (simpleDocBookOnePar): adjust
8346 * CutAndPaste.C (pasteSelection): adjust
8348 * BufferView.C (getEncoding): adjust
8350 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8352 2003-04-16 John Levon <levon@movementarian.org>
8354 * lyxfind.C: use parlist stuff for search/changes
8356 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8358 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8360 * text2.C (deleteEmptyParagraphMechanism): adjust
8362 * text2.[Ch] (ownerParagraph): delete func (both of them
8364 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8366 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8368 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8370 * ParagraphList.C: prepare for NO_NEXT
8372 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8374 * text2.C (getFont): adjust
8375 (getLayoutFont): adjust
8376 (getLabelFont): adjust
8378 * paragraph.C (getFont): adjust
8379 (getLabelFont): adjust
8380 (getLayoutFont): adjust
8382 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8384 2003-04-15 John Levon <levon@movementarian.org>
8388 * lyx_main.C: handle Include in .ui files
8390 2003-04-15 John Levon <levon@movementarian.org>
8392 * MenuBackend.C: make the doc files length shorter
8395 * ToolbarBackend.C: handle toolbar placement flags,
8398 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8400 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8403 * paragraph_funcs.C (TeXOnePar): adjust
8405 * paragraph.C (getLabelFont): add outerfont arg, adjust
8406 (getLayoutFont): ditto
8407 (simpleTeXOnePar): adjust
8409 * paragraph_pimpl.C (realizeFont): delete func
8411 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8413 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8414 row argument, constify cur argument.
8416 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8418 * text2.C (getFont): adjust
8419 (getLayoutFont): adjust
8420 (getLabelFont): adjust
8422 * paragraph_funcs.C (TeXOnePar): adjust
8423 (outerFont): new func...
8424 (realizeFont): ...moved out from here, changed this to facilitate
8427 * paragraph.C (getFont): take outerfont as arg, adjust
8428 (simpleTeXOnePar): add outerfont arg, adjust
8430 * buffer.C (simpleLinuxDocOnePar): adjust
8431 (simpleDocBookOnePar): adjust
8433 * CutAndPaste.C (pasteSelection): adjust
8435 * BufferView.C (getEncoding): adjust
8437 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8439 * text2.C (setCharFont): adjust
8440 (setCounter): adjust
8442 * text.C (leftMargin): adjust
8443 (setHeightOfRow): adjust
8445 * rowpainter.C (paintFirst): adjust
8448 * paragraph_pimpl.C (realizeFont): adjust
8450 * paragraph.C (isFirstInSequence): move from here...
8451 * paragraph_funcs.C (isFirstInSequence): ...to here
8453 * paragraph.C (outerHook): move from here...
8454 * paragraph_funcs.C (outerHook): ...to here
8456 * paragraph.C (depthHook): move from here...
8457 * paragraph_funcs.C (depthHook): ...to here
8459 * paragraph.C (getEndLabel): move from here...
8460 * paragraph_funcs.C (getEndLabel): ...to here
8462 * text2.C (realizeFont): move from here...
8463 * paragraph_funcs.C (realizeFont): ...to here
8465 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8467 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8469 2003-04-14 Angus Leeming <leeming@lyx.org>
8471 * LColor.[Ch]: scrap LColor mathcursor.
8473 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8475 * lyxlex.[Ch] (text): delete function
8476 * trans.C (Load): adjust
8477 * paragraph_funcs.C (readParToken): adjust
8479 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8481 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8482 vector<char> instead of a char[].
8484 * lyxlex_pimpl.C (getString): adjust
8486 (lex): use getString
8490 * lyxlex.C (text): use pimpl_->getString()
8494 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8496 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8497 (makeFontEntriesLayoutSpecific): temp var for par.size()
8498 (setLayout): temp var for ownerParagraphs().end()
8499 (fullRebreak): temp var for rows().end()
8500 (selectionAsString): temp var for boost::next(startpit), realize
8501 that the while really is a regular for loop.
8502 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8503 setCursor in one place.
8504 (setParagraph): temp vr for ownerParagraphs().end()
8505 (updateCounters): make the while loop a for loop
8506 (cutSelection): temp var for ownerParagraphs().end()
8507 (updateInset): make the do {} while() a regular for loop
8508 (getCursorX): use temp vars
8509 (setCurrentFont): use temp vars
8510 (getColumnNearX): use temp vars
8512 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8514 * text.C (transformChar): use temp var for getChar
8515 (computeBidiTables): use temp var for row->par()
8516 (fill): move temp vars for row->par() and pit->layout() earlier in
8518 (labelFill): use temp var for row->par()
8519 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8520 asc and desc, realize that pit never changes and that firstpit is
8521 just a duplicate and not needed. Exchange rit->par() with pit in a
8523 (breakAgain): use a temp var for boost::next(rit)
8524 (breakAgainOneRow): ditto
8525 (breakParagraph): use a temp var for rows().begin()
8526 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8527 (cursorRightOneWord): use temp var for cursor.par() and
8528 cursor.pos(), remove usage of tmpcursor.
8529 (cursorLeftOneWord): use temp var for cursor.par() and
8530 cursor.pos() only set cur at end of function.
8532 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8534 * text.C, text2.C: exchange all usage of Paragraph::next with
8535 boost::next(ParagraphList::iterator)
8537 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8539 * text2.C (cursorTop): simplify implementation
8540 (cursorBottom): ditto
8541 (setParagraph): use ParagraphList::iterator
8542 (setCurrentFont): adjust
8543 (getColumnNearX): adjust
8544 (cursorRight): adjust
8545 (cursorLeft): remove usage of Paragraph::previous
8546 (cursorUpParagraph): ditto
8547 (deleteEmptyParagraphMechanism): slight cleanup
8549 * text.C (isBoundary): take a Paragraph const & instead of a
8551 (addressBreakPoint): ditto
8552 (leftMargin): remove usage of Paragraph::previous.
8553 (setHeightOfRow): ditto
8554 (cursorLeftOneWord): ditto
8555 (selectNextWordToSpellcheck): ditto
8558 (breakParagraph): remove one usage of Paragraph::next
8559 (redoParagraph): ditto
8560 (acceptChange): ditto
8561 (insertChar): adjust
8562 (rowBreakPoint): adjust
8564 * bufferview_funcs.C (toggleAndShow): adjust
8566 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8568 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8569 methods to access it.
8571 * text.C: Added updateRowPositions to compute all row positions.
8572 Make top_y and getRowNearY() to use the cached y position
8574 2003-04-11 John Levon <levon@movementarian.org>
8576 * text.C (rowBreakPoint): reintroduce the labelEnd
8577 checks, code copied from the row fill stuff. Deep voodoo.
8579 * text.C (fill): add a comment and debugging for the
8582 2003-04-11 John Levon <levon@movementarian.org>
8584 * text.C: make sure fullrow insets get wrapped to the next line,
8585 even when they're in a manual label
8587 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8589 * text2.C (insertParagraph): make it take ParagraphList::iterator
8591 (setLayout): make it return ParagraphList::iterator
8592 (redoParagraphs): ditto
8594 (checkParagraph): ditto
8596 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8598 * text2.C: adjust several funcs.
8599 (realizeFont): take a ParagraphList::iterator as arg.
8600 (getLayoutFont): ditto
8601 (getLabelFont): ditto
8602 (setCharFont): ditto
8604 * text.C: adjust several funcs.
8606 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8608 * text.C (selectNextWordToSpellcheck): don't accidentally
8611 2003-04-10 John Levon <levon@movementarian.org>
8613 * ToolbarBackend.C (getIcon): special handling for
8616 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8618 * text2.C (cursorRight): a getChar assert fixed
8620 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8622 * text2.C (getFont): change to take a ParagraphList::iterator
8623 instead of Paragraph*
8624 Adjust several functions.
8626 * text.C (transformChar): change to take a ParagraphList::iterator
8627 instead of Paragraph*
8628 (singleWidth): ditto
8629 Adjust several functions.
8631 * rowpainter.C: adjust several functions
8632 * rowpainter.h:store a ParagraphList::iterator and not a
8636 2003-04-09 John Levon <levon@movementarian.org>
8641 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8642 and the "help" bits as well
8644 2003-04-09 John Levon <levon@movementarian.org>
8647 * ToolbarBackend.C: allow multiple toolbars
8649 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8651 * undo_funcs.C (setCursorParUndo): adjust
8653 * text_funcs.C (transposeChars): adjust
8655 * text3.C (gotoNextInset): adjust
8658 * text2.C (setLayout): adjust
8659 (changeDepth): adjust
8661 (redoParagraphs): adjust
8662 (selectionAsString): adjust
8663 (setParagraph): adjust
8664 (insertInset): adjust
8665 (cutSelection): adjust
8666 (copySelection): adjust
8667 (pasteSelection): adjust
8668 (insertStringAsLines): adjust
8669 (updateInset): adjust
8670 (setCursor): change to take a ParagraphList::iterator parameter
8671 (setCursorIntern): change to take a ParagraphList::iterator parameter
8672 (setCurrentFont): adjust
8673 (cursorLeft): adjust
8674 (cursorRight): adjust
8675 (deleteEmptyParagraphMechanism): adjust
8677 * text.C (breakParagraph): adjust
8678 (insertChar): adjust
8679 (acceptChange): adjust
8680 (rejectChange): adjust
8681 (selectNextWordToSpellcheck): adjust
8682 (changeCase): adjust
8686 * lyxfind.C (SearchForward): adjust
8687 (SearchBackward): adjust
8688 (nextChange): adjust
8690 * lyxcursor.C (par): adjust
8692 * lyxcursor.h: store a ParagraphList::iterator instead of a
8695 * lyx_cb.C (getPossibleLabel): adjust
8697 * bufferview_funcs.C (toggleAndShow): adjust
8699 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8702 * BufferView.C (removeAutoInsets): adjust
8703 (lockedInsetStoreUndo): adjust
8705 2003-04-09 John Levon <levon@movementarian.org>
8707 * ToolbarBackend.C: try icon without argument
8708 if with argument fails
8710 2003-04-08 John Levon <levon@movementarian.org>
8713 * ToolbarBackend.C: add getIcon(), handle tooltip,
8714 and change from "Icon" to "Item".
8716 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8718 * BufferView.C (lockInset): another bad getchar crunched
8720 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8722 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8725 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8727 * lyxfind.C (searchForward, searchBackwards): bug 782
8729 2003-04-07 John Levon <levon@movementarian.org>
8731 * paragraph.C: remove dead comment
8733 * text.C: remove troublesome depth-fiddling code
8734 in leftMargin() and rightMargin() (bug 1017)
8736 * text.C: fix breaking of rows in nested lists
8739 * text2.C (updateCounters): fix up depth values
8742 2003-04-07 John Levon <levon@movementarian.org>
8744 * BufferView_pimpl.C: clear message when doc finishes resizing,
8745 and after a mouse event
8747 * lyxfunc.C: clear message after exiting inset
8749 2003-04-07 John Levon <levon@movementarian.org>
8751 * bufferview_funcs.C: show math status not outside
8752 status in the statusbar
8754 2003-04-07 John Levon <levon@movementarian.org>
8756 * lyxfunc.C: note status changed after a depth change
8758 2003-04-04 Angus Leeming <leeming@lyx.org>
8760 * LaTeX.h: move AuxInfo operator==, != out of line.
8761 Remove LaTeX virtual destructor; nothing derives from it.
8762 Move operator()() out of public area and rename it startscript().
8763 Change protected for private.
8765 2003-04-04 Angus Leeming <leeming@lyx.org>
8768 * text2.C: remove unneeded #includes.
8770 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8772 * text2.C (dEPM): fix the heigth of the next row
8774 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8776 * text.C: squashed an invalid getChar requester + some ws changes
8778 2003-04-03 John Levon <levon@movementarian.org>
8780 * bufferview_funcs.h:
8781 * bufferview_funcs.C:
8784 * text2.C: make getStatus work for the env depth lfuns
8786 2003-04-03 John Levon <levon@movementarian.org>
8788 * bufferview_funcs.h:
8789 * bufferview_funcs.C:
8792 * text2.C: parlistize decDepth(), by merging it with incDepth()
8794 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8796 * lyxrow.h: store a ParagraphList::iterator instead of a
8797 Paragraph* and adjust other class functions to suit.
8799 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8802 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8804 * text2.C (setCursor): do not anchor to cursor row for the time being
8806 2003-04-02 John Levon <levon@movementarian.org>
8813 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8815 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8817 * paragraph.h: make ParagraphList and ParagraphList::iterator
8818 friends of Paragraph.
8820 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8822 * ParagraphList.C: Use the private next_ and previous_ from
8825 2003-04-01 John Levon <levon@movementarian.org>
8829 * Makefile.am: rename, remove defaults gunk
8832 * MenuBackend.C: remove defaults gunk
8835 * Languages.C: remove defaults gunk
8838 * lyx_main.C: error out if files couldn't be found.
8840 2003-04-02 John Levon <levon@movementarian.org>
8842 * text2.C: make incDepth() use parlist
8844 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8846 * undo_funcs.C (firstUndoParagraph): adjust
8848 * text3.C (gotoInset): adjust
8849 (dispatch): adjust, and rewrite loop.
8851 * text2.C (init): adjust, and rewrite loop.
8852 (redoParagraphs): adjust
8853 (updateInset): adjust, and rewrite loop.
8854 (deleteEmptyParagraphMechanism): adjust
8856 * tabular.C (LyXTabular): adjust
8857 (SetMultiColumn): adjust
8860 * lyxtext.[Ch] (ownerParagraph): delete function
8861 (ownerParagraphs): new function returns a ParagraphList.
8863 * BufferView.C (removeAutoInsets): adjust
8864 (insertErrors): adjust
8865 (setCursorFromRow): adjust
8867 2003-04-01 Angus Leeming <leeming@lyx.org>
8869 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8872 2003-04-02 John Levon <levon@movementarian.org>
8878 * text_funcs.C: make transposeChars a free function
8880 * lyxrow_funcs.C: remove wrong comment
8882 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8885 * rowpainter.C: adjust
8890 * lyxrow_funcs. [Ch]: new files
8892 * lyxrow.[Ch]: remove next and previous pointers
8893 (next,previous): remove accessor functions
8894 (isParEnd): move to lyxrow_funcs
8895 (lastPos): move to lyxrow_funcs
8896 (nextRowIsAllInset): move to lyxrow_funcs
8897 (lastPrintablePos): move to lyxrow_funcs
8898 (numberOfSeparators): move to lyxrow_funcs
8899 (numberOfHfills): move to lyxrow_funcs
8900 (numberOfLabelHfills): move to lyxrow_funcs
8901 (hfillExpansion): move to lyxrow_funcs
8905 * bufferview_funcs.C (toggleAndShow): adjust
8907 * RowList.h: Remove class RowList from file leave just a
8910 * RowList.C: delete file
8912 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8915 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8917 * text3.C (cursorPrevious): adjust
8918 (cursorNext): adjust
8921 * text2.C (redoHeightOfParagraph): adjust
8922 (redoDrawingOfParagraph): adjust
8925 * text.C (breakParagraph): adjust
8926 (insertChar): adjust
8929 * rowpainter.C (RowPainter): adjust
8930 (leftMargin): simplify and adjust
8931 (most rowpainter functions): adjust.
8933 * rowpainter.h: store the row as RowList::iterator not as Row*
8935 * lyxcursor.C (row): taka RowList::iterator as arg
8938 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8941 2003-04-01 Angus Leeming <leeming@lyx.org>
8943 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8944 stuff like bool Bool.
8946 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8948 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8951 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8953 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8956 * lyxtext.h (rows): drop one version and leve a const variant that
8957 returns a RowList::iterator.
8959 2003-03-31 Angus Leeming <leeming@lyx.org>
8961 * text.C (fill): ensure that the signature is the same as that in the
8964 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8966 * text2.C (redoParagraphs): adjust
8967 (updateCounters): adjust
8968 (checkParagraph): adjust
8969 (getColumnNearX): adjust and reformat a bit.
8971 * text.C (top_y): adjust
8973 (leftMargin): adjust
8974 (prepareToPrint): adjust
8976 (getRowNearY): adjust
8978 * lyxtext.h: make rowlist_ mutable.
8980 * RowList.h: add const_iterator
8981 * RowList.C: adjust for RowList::const_iterator.
8983 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8986 2003-03-31 John Levon <levon@movementarian.org>
8989 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8991 * lyx_main.C: set default fonts from using lyx_gui funcs
8993 * exporter.C: pdf_mode moved from lyxrc
8996 * lyxfunc.C: changes from above
8998 2003-03-31 John Levon <levon@movementarian.org>
9000 * lyx_main.C: fix to the last fix
9002 2003-03-31 John Levon <levon@movementarian.org>
9004 * bufferlist.C: "Load original" -> "Load Original"
9010 * format.C: more Alert cleanups
9012 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9014 * text2.C (removeParagraph): make it take a RowList::iterator as
9016 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9017 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9019 * text.C (anchor_row): make it take a RowList::iterator as arg,
9021 (computeBidiTables): make it take a const reference to Row instead
9022 of Row pointer, adjust.
9023 (leftMargin): make it take a RowList::iterator as arg, adjust.
9024 (rowBreakPoint): adjust
9025 (breakAgainOneRow): make it take a RowList::iterator as arg,
9027 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9029 * bufferview_funcs.C (toggleAndShow): adjust
9031 2003-03-30 John Levon <levon@movementarian.org>
9035 * boost-inst.C: moved to support
9037 * several files: changes as a result
9039 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9041 * text2.C (LyXText): adjust.
9043 (removeRow): make it take a RowList::iterator as arg, adjust.
9044 (fullRebreak): adjust
9045 (deleteEmptyParagraphMechanism): adjust
9046 (clearPaint): adjust
9049 * text.C (top_y): adjust
9050 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9051 (breakAgain): make it take a RowList::iterator as arg, adjust.
9052 (breakParagraph): adjust
9053 (insertChar): adjust
9056 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9057 need_break_row, and refresh_row.
9059 * text3.C (dispatch): adjust
9061 * text2.C (checkParagraph): adjust
9063 (setCursorFromCoordinates): adjust
9065 * text.C (top_y): adjust
9067 (getRow): make it return a RowList::iterator, adjust
9068 (getRowNearY): make it return a RowList::iterator, adjust
9070 * text2.C (init): adjust
9071 (insertRow): remove function
9072 (insertParagraph): adjust
9073 (redoParagraphs): adjust
9074 (fullRebreak): adjust
9075 (updateCounters): adjust
9077 * text.C (top_y): rewrite to use RowList iterators.
9079 (setHeightOfRow): rewrite to sue RowList iterators.
9080 (appendParagraph): adjust
9081 (breakAgain): adjust
9082 (breakAgainOneRow): adjust
9083 (breakParagraph): adjust
9085 (getRowNearY): adjust, and remove commented code.
9087 * lyxtext.h (firstRow): delete function
9088 (lastRow): delete function
9089 (rows): new function (const and non-const versions.)
9090 (insertRow): delete function
9092 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9094 2003-03-29 John Levon <levon@movementarian.org>
9096 * BufferView_pimpl.C: always update scrollbar top
9097 because pasting text when we're anchored could mean we
9098 miss an update altogether
9100 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9102 * text2.C (init): use rowlist_.end() and not 0.
9103 (insertRow): change to take a RowList::iterator as arg, adjust
9105 (insertParagraph): change to take a RowList::iterator as arg,
9107 (redoParagraphs): remove some debug msgs.
9109 * text.C (appendParagraph): change to take a RowList::iterator
9110 arg, adjust for this.
9111 (breakAgain): add an assert
9112 (breakAgainOneRow): ditto
9114 2003-03-29 John Levon <levon@movementarian.org>
9116 * text2.C: do not clear selection after inc/decDepth
9119 2003-03-29 John Levon <levon@movementarian.org>
9122 * buffer.C: fix broken strerrors according to Lars
9124 2003-03-29 John Levon <levon@movementarian.org>
9126 * converters.C: more Alert cleanups
9128 2003-03-29 John Levon <levon@movementarian.org>
9130 * bufferview_funcs.C: remove pointless Alert
9132 * buffer.C: fix confusing error message when
9133 a template is chmoded 000
9135 2003-03-29 John Levon <levon@movementarian.org>
9139 * BufferView_pimpl.C: Alert fixes
9143 * tabular-old.C: remove unused table compat reading
9145 2003-03-29 John Levon <levon@movementarian.org>
9150 * lyx_cb.C: more Alert cleanups
9152 * lyxfunc.C: don't allow chktex if not latex document
9154 2003-03-29 John Levon <levon@movementarian.org>
9158 * buffer.C: warnings pushed down from support/,
9161 2003-03-29 John Levon <levon@movementarian.org>
9163 * lyxfunc.C: safety check for C-r (revert)
9165 2003-03-29 John Levon <levon@movementarian.org>
9168 * bufferlist.C: several UI fixes using Alert::prompt.
9169 Fix the pointless looping quit code. Fix stupid revert
9174 * lyx_cb.C: use Alert::prompt
9176 * lyx_main.C: remove a silly question
9178 * lyxfunc.C: remove a couple of silly questions,
9181 2003-03-28 John Levon <levon@movementarian.org>
9183 * text2.C: fix bug 974 (End on empty par)
9185 2003-03-28 John Levon <levon@movementarian.org>
9187 * BufferView_pimpl.C:
9189 * lfuns.h: remove do-nothing math greek lfuns
9191 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9193 * lyxgluelength.h (isValidGlueLength): add default arg on
9194 parameter 2. Remove default arg from friend in class.
9196 * lyxlength.h (isValidLength): add default arg on parameter 2.
9197 Remove default arg from friend in class.
9199 * text2.C (LyXText): adjust, initialize refresh_row.
9203 (insertParagraph): adjst
9204 (redoParagraphs): adjust
9205 (fullRebreak): adjust
9206 (updateCounters): adjust
9207 (deleteEmptyParagraphMechanism): first attempt at fixing a
9210 * text.C (top_y): adjust
9211 (setHeightOfRow): adjust
9213 (getRowNearY): adjust
9215 * lyxtext.h: include RowList.h
9216 (~LyXText): not needed anymore, deleted.
9217 (firstRow): modify for RowList
9218 (lastRow): new function
9219 Delete firstrow and lastrow class variables, add a Rowlist
9220 rowlist_ class variable.
9222 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9225 * RowList.C (insert): fix case where it == begin().
9227 2003-03-26 Angus Leeming <leeming@lyx.org>
9229 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9230 the thesaurus dialog.
9232 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9234 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9236 * RowList.[Ch]: new files
9238 * ParagraphList.C (erase): handle the case where it == begin
9241 2003-03-25 John Levon <levon@movementarian.org>
9245 * aspell.C: add new aspell support
9248 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9251 2003-03-25 Angus Leeming <leeming@lyx.org>
9254 * LyXAction.C (init): new LFUN_INSET_INSERT.
9256 * BufferView_pimpl.C (dispatch): split out part of the
9257 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9259 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9262 2003-03-25 Angus Leeming <leeming@lyx.org>
9264 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9266 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9269 * text3.C: remove useless row->height(0)
9271 2003-03-25 John Levon <levon@movementarian.org>
9275 * text3.C: rename the refreshing stuff to better names
9277 2003-03-24 John Levon <levon@movementarian.org>
9279 * BufferView_pimpl.h:
9280 * BufferView_pimpl.C: update layout choice on a mouse
9283 2003-03-23 John Levon <levon@movementarian.org>
9285 * Makefile.am: fix commandtags.h reference
9287 2003-03-22 John Levon <levon@movementarian.org>
9289 * BufferView_pimpl.C:
9294 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9296 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9299 * text.C: take the rtl methods out of line
9301 2003-03-21 André Pönitz <poenitz@gmx.net>
9303 * metricsinfo.[Ch]: new files containing structures to be passed around
9304 during the two-phase-drawing...
9306 2003-03-21 André Pönitz <poenitz@gmx.net>
9308 * lyxtextclass.C: read 'environment' tag.
9310 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9312 * text2.C (removeRow): fix bug 964
9314 2003-03-20 John Levon <levon@movementarian.org>
9318 * text2.C: paint cleanups. Inset::update() dropped font
9321 2003-03-19 John Levon <levon@movementarian.org>
9323 * lyxfunc.C: only fitcursor/markDirty if available()
9325 2003-03-19 John Levon <levon@movementarian.org>
9327 * commandtags.h: rename to ...
9329 * lfuns.h: ... this, and renumber / cleanup
9331 2003-03-19 John Levon <levon@movementarian.org>
9333 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9334 fit the cursor after an lfun
9338 * BufferView_pimpl.h:
9339 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9341 * LyXAction.C: layout-character should have ReadOnly
9343 * ParagraphParameters.C:
9345 * bufferview_funcs.C:
9352 * undo_funcs.C: changes from above
9354 2003-03-18 John Levon <levon@movementarian.org>
9356 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9357 remove it from update()
9359 * lyxfunc.C: update layout choice after an lfun
9361 * text3.C: remove extra updateLayoutChoice()s
9363 2003-03-18 John Levon <levon@movementarian.org>
9365 * text.C: top_y change means full repaint, fix
9366 a drawing bug with cursor movement
9368 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9372 * text2.C: anchor row on setCursor
9374 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9376 * lyxtext.h: remove almost all mutable keywords
9379 * text3.C: remove const keywords accordingly
9381 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9383 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9385 (TeXEnvironment): ditto
9388 2003-03-17 John Levon <levon@movementarian.org>
9390 * text.C (rowBreakPoint): remove attempt to fix displayed
9391 math insets inside a manual label
9393 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9395 * lyxtext.h: remove BufferView* as first arg from almost all class
9397 * other files: adjust.
9399 2003-03-17 John Levon <levon@movementarian.org>
9403 * text2.C: more paint cleanups
9405 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9408 * rowpainter.C: remove "smart" background painting code
9410 2003-03-16 John Levon <levon@movementarian.org>
9415 * text3.C: add helper functions for setting refresh_row/y
9417 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9419 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9420 newline inset which *can* get inserted in the pass_thru layouts.
9421 This is primarily for literate documents.
9423 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9425 * buffer.C: increment LYX_FORMAT to 223
9427 2003-03-14 André Pönitz <poenitz@gmx.net>
9429 * textclass.h: prepare for environment handling, ws changes
9430 * lyxlayout.C: read latexheader and latexfooter tags
9432 2003-03-14 John Levon <levon@movementarian.org>
9434 * text2.C: rewrite ::status() a bit
9436 2003-03-13 John Levon <levon@movementarian.org>
9438 * lyxtext.h: add some docs
9440 2003-03-13 John Levon <levon@movementarian.org>
9445 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9447 2003-03-13 John Levon <levon@movementarian.org>
9449 * text3.C: fix appendix redrawing
9451 2003-03-13 John Levon <levon@movementarian.org>
9453 * text.C (setHeightOfRow):
9455 * rowpainter.C: make appendix mark have the text
9456 "Appendix" so the user knows what it is
9459 * LColor.C: s/appendixline/appendix/ from above
9461 2003-03-13 John Levon <levon@movementarian.org>
9463 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9465 * text.C: fix a getChar(pos) bug properly
9467 2003-03-13 Angus Leeming <leeming@lyx.org>
9470 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9471 Probably only temporary. Let's see how things pan out.
9473 * BufferView.C (unlockInset):
9474 * BufferView_pimpl.C (fitCursor):
9475 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9477 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9478 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9480 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9481 new functions that convert ParagraphParameters to and from a string.
9483 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9484 BufferView::Pimpl's dispatch.
9485 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9487 2003-03-13 André Pönitz <poenitz@gmx.net>
9491 * factory.C: make it aware of InsetEnv
9493 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9495 * text2.C (setCursor): never ask for one past last
9496 (setCursor): add some debugging messages.
9498 * text.C (singleWidth): never ask for one past last
9499 (singleWidth): ditto
9501 (rightMargin): ditto
9502 (rowBreakPoint): ditto
9503 (setHeightOfRow): ditto
9504 (prepareToPrint): ditto
9506 * rowpainter.C (paintBackground): never ask for one past last
9507 (paintText): never ask for one past last
9509 * paragraph_pimpl.C (getChar): make the assert stricter, never
9510 allow the one past last pos to be taken
9512 * paragraph.C (getChar): ws changes only
9514 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9515 (numberOfSeparators): ditto
9516 (numberOfHfills): ditto
9518 2003-03-12 John Levon <levon@movementarian.org>
9524 * paragraph_funcs.C: fix per-buffer authorlists
9526 2003-03-12 John Levon <levon@movementarian.org>
9528 * text.C: fix newline in right address
9530 2003-03-12 Angus Leeming <leeming@lyx.org>
9532 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9533 duplicate those in LyXFunc::dispatch.
9537 * ToolbarDefaults.C:
9538 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9539 Add LFUN_FONTFREE_UPDATE.
9541 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9542 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9544 * bufferview_func.[Ch]: several new functions to facilliate
9545 transfer of data to and from the character dialog.
9547 2003-03-12 John Levon <levon@movementarian.org>
9552 * paragraph_funcs.C:
9553 * paragraph_pimpl.C:
9557 * text3.C: remove META_NEWLINE in favour of an inset
9560 * rowpainter.C: remove paintNewline (done by inset)
9562 2003-03-12 John Levon <levon@movementarian.org>
9564 * paragraph_pimpl.C: complain about bad getChar()s
9565 for a while at least
9567 2003-03-12 John Levon <levon@movementarian.org>
9570 * buffer.C: move paragraph read into a separate function,
9571 a little renaming to reflect that.
9574 * bufferparams.C: remove the author_ids map, not necessary now
9577 * factory.C: moved Buffer::readInset to here
9579 * paragraph_funcs.h:
9580 * paragraph_funcs.C: readParagraph free function moved from
9583 * tabular.C: name change
9585 2003-03-12 John Levon <levon@movementarian.org>
9588 * ParagraphParameters.C: move par params input to
9591 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9592 behave like a normal read from the stream wrt reading
9593 a line vs. a \\token
9595 2003-03-12 John Levon <levon@movementarian.org>
9598 * ParagraphParameters.h:
9599 * ParagraphParameters.C: move output code to a
9602 2003-03-12 John Levon <levon@movementarian.org>
9604 * BufferView.C (insertLyXFile):
9607 * tabular.C: use a parlist iterator for creating the
9610 2003-03-12 John Levon <levon@movementarian.org>
9612 * buffer.C: make current_change static local not
9615 2003-03-12 John Levon <levon@movementarian.org>
9617 * buffer.C: fix insertStringAsLines for change tracking
9619 2003-03-12 John Levon <levon@movementarian.org>
9626 * bufferparams.C: move author list into params. Rename some
9627 functions. Move the header reading into a separate token
9628 loop. Move the header token reading into BufferParams.
9630 2003-03-12 John Levon <levon@movementarian.org>
9632 * changes.C: put debug inside lyxerr.debugging() checks
9634 2003-03-11 André Pönitz <poenitz@gmx.net>
9636 * factory.C: make it aware of InsetHFill
9638 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9640 * buffer.C (latexParagraphs): move function from here...
9641 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9644 2003-03-10 Angus Leeming <leeming@lyx.org>
9646 * LyXAction.C (init): fix bug in poplating array with multiple entries
9647 with the same LFUN (spotted by JMarc).
9649 2003-03-10 John Levon <levon@movementarian.org>
9652 * text2.C: move getColumnNearX() near its
9655 2003-03-10 John Levon <levon@movementarian.org>
9657 * text.C: fix break before a minipage
9659 2003-03-10 John Levon <levon@movementarian.org>
9661 * text.C: fix the last commit
9663 2003-03-09 John Levon <levon@movementarian.org>
9667 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9668 bug 365 (don't break before insets unless needed). Don't
9669 return a value > last under any circumstances.
9671 2003-03-09 Angus Leeming <leeming@lyx.org>
9673 * BufferView_pimpl.C (trackChanges, dispatch): call
9674 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9676 2003-03-09 Angus Leeming <leeming@lyx.org>
9678 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9679 than Dialogs::showAboutlyx().
9681 2003-03-09 Angus Leeming <leeming@lyx.org>
9683 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9684 than Dialogs::showTabularCreate().
9686 2003-03-09 John Levon <levon@movementarian.org>
9690 * text2.C: 3rd arg to nextBreakPoint was always the same.
9693 2003-03-08 John Levon <levon@movementarian.org>
9700 * text2.C: Remove the "main" bit from the "main body"
9703 2003-03-08 John Levon <levon@movementarian.org>
9705 * text.C (leftMargin): The left margin of an empty
9706 manual label paragraph should not include the label width
9709 * text.C (prepareToPrint): don't attempt to measure hfills
9710 for empty manual label paragraphs - the answer should be 0
9712 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9714 * CutAndPaste.C: remove commented code and reindent.
9716 2003-03-08 John Levon <levon@movementarian.org>
9719 * lyxfunc.C: move reloadBuffer()
9722 * BufferView.C: to here
9724 * lyxvc.C: add comment
9727 * vc-backend.C: call bv->reload() to avoid
9728 getStatus() check on MENURELOAD
9730 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9732 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9733 to an old format .dep file.
9735 2003-03-07 Angus Leeming <leeming@lyx.org>
9737 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9738 when the LFUN_MOUSE_RELEASE should have been handled by
9739 inset->localDispatch.
9741 2003-03-07 Angus Leeming <leeming@lyx.org>
9743 * BufferView_pimpl.C (dispatch):
9744 * LyXAction.C (init):
9745 * ToolbarDefaults.C (init):
9747 * lyxfunc.C (getStatus):
9748 remove LFUN_INSET_GRAPHICS.
9750 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9752 2003-03-07 Angus Leeming <leeming@lyx.org>
9755 * LyXAction.C (init):
9756 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9758 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9761 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9763 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9764 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9766 2003-03-07 Angus Leeming <leeming@lyx.org>
9768 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9771 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9773 * ParagraphList.C (front): new function
9776 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9778 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9779 and top_row_offset_. removed var first_y.
9781 * text2.C (LyXText, removeRow):
9783 * BufferView_pimpl.C:
9784 use these methods instead of using first_y
9786 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9788 * text2.C (pasteSelection): adjust for checkPastePossible
9790 * CutAndPaste.C: remove Paragraph * buf and replace with
9791 ParagraphList paragraphs.
9792 (DeleteBuffer): delete
9793 (cutSelection): change the tc type to textclass_type
9794 (copySelection): change the tc type to textclass_type
9795 (copySelection): adjust for ParagraphList
9796 (pasteSelection): change the tc type to textclass_type
9797 (pasteSelection): adjust for Paragraphlist
9798 (nrOfParagraphs): simplify for ParagraphList
9799 (checkPastePossible): simplify for ParagraphList
9800 (checkPastePossible): remove unused arg
9802 * ParagraphList.C (insert): handle the case where there are no
9805 * CutAndPaste.h: make CutAndPaste a namespace.
9807 * text3.C (dispatch): adjust
9809 * text.C (breakParagraph): add a ParagraphList as arg
9811 * paragraph_funcs.C (breakParagraph): change to take a
9812 BufferParams and a ParagraphList as args.
9813 (breakParagraphConservative): ditto
9814 (mergeParagraph): ditto
9815 (TeXDeeper): add a ParagraphList arg
9816 (TeXEnvironment): ditto
9819 * buffer.C (readLyXformat2): adjust
9820 (insertStringAsLines): adjust
9821 (latexParagraphs): adjust
9823 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9824 (cutSelection): adjust
9825 (pasteSelection): adjust
9827 * BufferView_pimpl.C (insertInset): adjust
9829 2003-03-05 Angus Leeming <leeming@lyx.org>
9832 * LyXAction.C (init):
9833 * BufferView_pimpl.C (dispatch):
9834 * lyxfunc.C (getStatus):
9835 remove LFUN_CHILD_INSERT.
9837 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9839 2003-03-05 Angus Leeming <leeming@lyx.org>
9842 * LyXAction.C (init):
9843 * src/factory.C (createInset):
9844 * lyxfunc.C (getStatus):
9845 * text3.C (dispatch):
9846 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9848 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9850 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9852 * ParagraphList.C (insert): handle insert right before end()
9853 (erase): fix cases where it can be first or last paragraph.
9855 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9857 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9858 Paragraph::next and Paragraph::previous
9861 * text.C (breakParagraph): adjust
9863 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9864 BufferParams& as arg.
9865 (breakParagraph): use ParagraphList::insert
9866 (breakParagraphConservative): take a Buffer* instead of a
9867 BufferParams& as arg.
9868 (breakParagraphConservative): use ParagraphList::insert.
9870 * buffer.C (insertStringAsLines): un-const it
9871 (insertStringAsLines): adjust
9873 * ParagraphList.C (insert): new function
9875 * CutAndPaste.C (pasteSelection): adjust
9877 * text.C (backspace): adjust
9879 * tabular.C (SetMultiColumn): adjust
9881 * CutAndPaste.C (cutSelection): adjust
9882 (pasteSelection): adjust
9884 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9885 Buffer const * as arg
9887 * ParagraphList.C (erase): new function
9888 * paragraph_funcs.C (mergeParagraph): use it
9889 (mergeParagraph): make it take a Buffer* instead of a
9890 BufferParams* as arg
9892 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9894 (breakParagraphConservative): ditto
9896 * paragraph.h: remove the breakParagraph friend
9898 * paragraph.C (eraseIntern): new function
9899 (setChange): new function
9901 * paragraph_funcs.C (mergeParagraph): make it take a
9902 ParagraphList::iterator instead of a Paragraph *, adjust
9905 * paragraph.h: move an #endif so that the change tracking stuff
9906 also works in the NO_NEXT case.
9908 2003-03-04 Angus Leeming <leeming@lyx.org>
9911 * LyXAction.C: new LFUN_INSET_MODIFY.
9913 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9914 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9916 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9918 * several files: ws changes only
9920 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9921 (TeXEnvironment): ditto
9924 * buffer.C (makeLaTeXFile): adjust
9925 (latexParagraphs): make it take ParagraphList::iterator as args
9927 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9929 * buffer.C (latexParagraphs): adjust
9931 * paragraph.C (TeXOnePar): move function...
9932 (optArgInset): move function...
9933 (TeXEnvironment): move function...
9934 * paragraph_pimpl.C (TeXDeeper): move function...
9935 * paragraph_funcs.C: ...here
9937 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9939 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9941 * buffer.C (readInset): remove compability code for old Figure and
9944 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9946 * buffer.C: ws changes
9949 * BufferView_pimpl.C: ditto
9952 * bufferlist.h: ditto
9956 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9958 * converter.[Ch]: split into itself +
9961 * Makefile.am: += graph.[Ch] + format.[Ch]
9968 * lyxrc.C: added #include "format.h"
9970 2003-02-27 Angus Leeming <leeming@lyx.org>
9972 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9975 * factory.C (createInset): add "label" to the factory.
9977 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9978 string and do no more.
9980 2003-02-27 Angus Leeming <leeming@lyx.org>
9983 * LyXAction.C (init):
9984 * factory.C (createInset):
9985 * BufferView_pimpl.C (dispatch):
9986 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9988 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9990 * lyxfunc.C (dispatch):
9991 * text3.C (dispatch): pass name to params2string.
9993 2003-02-26 Angus Leeming <leeming@lyx.org>
9995 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9997 Rearrange the ~includes. Strip out the unnecessary ones.
9999 * factory.C (createInset): reformat.
10000 create new insets for the various LFUN_XYZ_APPLY lfuns.
10002 2003-02-26 John Levon <levon@movementarian.org>
10005 * lyxrow.C: add isParStart,isParEnd helpers
10007 * paragraph.h: make isInserted/DeletedText take refs
10009 * paragraph_funcs.h:
10010 * paragraph_funcs.C: remove #if 0'd code
10015 * text.C: use lyxrow helpers above.
10016 Move draw and paint routines to RowPainter.
10017 Make several methods use refs not pointers.
10018 Make backgroundColor() const.
10019 Add markChangeInDraw(), isInInset().
10020 Merge changeRegionCase into changeCase.
10021 Make workWidth() shouldn't-happen code into an Assert.
10024 * rowpainter.C: new class for painting a row.
10027 * vspace.C: make inPixels take a ref
10029 2003-02-26 Angus Leeming <leeming@lyx.org>
10031 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10034 2003-02-25 John Levon <levon@movementarian.org>
10036 * ispell.C: give the forked command a more accurate name
10038 2003-02-22 John Levon <levon@movementarian.org>
10041 * toc.C: make TocItem store an id not a Paragraph *
10044 2003-02-21 Angus Leeming <leeming@lyx.org>
10046 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10047 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10048 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10049 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10050 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10051 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10053 * BufferView_pimpl.C (dispatch):
10054 * LyXAction.C (init):
10055 * factory.C (createInset):
10056 * lyxfunc.C (getStatus, dispatch):
10057 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10059 2003-02-21 Angus Leeming <leeming@lyx.org>
10061 * BufferView_pimpl.C (MenuInsertLyXFile):
10062 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10063 * lyxfunc.C (menuNew, open, doImport):
10064 no longer pass a LyXView & to fileDlg.
10066 2003-02-21 Angus Leeming <leeming@lyx.org>
10068 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10069 * LyXAction.C: change, BIBKEY to BIBITEM.
10070 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10071 Change InsetBibKey to InsetBibitem.
10072 Change BIBKEY_CODE to BIBITEM_CODE.
10073 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10074 * factory.C: replace insetbib.h with insetbibitem.h.
10075 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10076 * paragraph.C: replace insetbib.h with insetbibitem.h.
10077 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10078 Change bibkey() to bibitem().
10079 * text.C: remove insetbib.h.
10080 * text2.C: replace insetbib.h with insetbibitem.h.
10081 change bibkey() to bibitem().
10082 * text3.C: remove insetbib.h.
10083 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10085 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10087 * lyxrc.C (output): enclose user email in quotes (in case there are
10090 2003-02-18 John Levon <levon@movementarian.org>
10092 * buffer.h: add std::
10094 2003-02-17 John Levon <levon@movementarian.org>
10100 * pspell.C: reworking. Especially in ispell, a large
10101 number of clean ups and bug fixes.
10103 * lyxfunc.C: fix revert to behave sensibly
10105 2003-02-17 André Pönitz <poenitz@gmx.net>
10108 * commandtags.h: new LFUN_INSERT_BIBKEY
10118 * paragraph_func.C: remove special bibkey handling
10120 2003-02-17 John Levon <levon@movementarian.org>
10122 * text.C (Delete): fix case where delete at the end of
10123 the very first paragraph would not merge the pars
10125 2003-02-17 John Levon <levon@movementarian.org>
10127 * lyxrow.C: fix lastPrintablePos()
10129 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10131 * bufferparams.C (writeLaTeX): add a std:here
10133 * buffer.C: and remove a using directive there
10135 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10137 * buffer.C (makeLaTeXFile): move the code that generates the
10140 * bufferparams.C (writeLaTeX): ... in this new method
10142 * LaTeXFeatures.C (getEncodingSet): make const
10143 (getLanguages): make const
10145 * MenuBackend.C (binding): returns the binding associated to this
10147 (add): sets the status of each item by calling getStatus. Adds
10149 (read): add support for OptSubMenu
10150 (expand): remove extra separator at the end of expanded menu
10152 2003-02-15 John Levon <levon@movementarian.org>
10155 * BufferView_pimpl.C:
10157 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10158 inset code that had no actual effect. Remove unneeded status
10161 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10163 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10166 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10168 * text.C (drawLengthMarker): also draw an arrow marker for
10169 symbolic lengths (medskip...)
10171 2003-02-14 John Levon <levon@movementarian.org>
10174 * tabular.C: better method names
10176 2003-02-14 John Levon <levon@movementarian.org>
10178 * BufferView_pimpl.C:
10183 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10184 it's a more accurate name. Remove some pointless uses.
10186 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10188 * text2.C (LyXText): change order of initilizers to shut off
10191 2003-02-14 John Levon <levon@movementarian.org>
10193 * buffer.C: use ParIterator for getParFromID()
10197 * paragraph_pimpl.h:
10198 * paragraph_pimpl.C: remove unused getParFromID()
10200 2003-02-14 John Levon <levon@movementarian.org>
10202 * buffer.C: remove some very old #if 0'd parse code
10204 2003-02-13 John Levon <levon@movementarian.org>
10208 * text2.C: move hfillExpansion(), numberOfSeparators(),
10209 rowLast(), rowLastPrintable(), numberofHfills(),
10210 numberOfLabelHfills() ...
10213 * lyxrow.C: ... to member functions here.
10218 * text.C: remove LyXText::beginningOfMainBody(), and call
10219 p->beginningOfMainBody() directly. Move the check for
10220 LABEL_MANUAL into the latter.
10227 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10233 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10234 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10236 2003-02-13 John Levon <levon@movementarian.org>
10238 * CutAndPaste.C: remove debug
10240 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10242 * paragraph.C (asString): remove two unused variables
10244 * lyxtextclass.C (readTitleType):
10246 (LyXTextClass): handle new members titletype_ and titlename_
10248 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10250 2003-02-09 John Levon <levon@movementarian.org>
10253 * buffer.C: replace hand-coded list with a map for the dep clean
10255 2003-02-08 John Levon <levon@movementarian.org>
10257 * LaTeX.C: consolidate code into showRunMessage() helper
10259 2003-02-08 John Levon <levon@movementarian.org>
10264 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10265 and pass the size in explicitly
10267 * BufferView_pimpl.h:
10268 * BufferView_pimpl.C:
10270 * BufferView.C: add getCurrentChange()
10272 * BufferView_pimpl.h:
10273 * BufferView_pimpl.C: handle change lfuns
10275 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10276 for changes. Mark pasted paragraphs as new.
10278 * support/lyxtime.h:
10279 * support/lyxtime.C:
10280 * DepTable.C: abstract time_t as lyx::time_type
10283 * LColor.C: add colours for new text, deleted text, changebars
10285 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10286 package use "usenames" option.
10290 * LyXAction.C: add change lfuns
10294 * author.C: author handling
10297 * buffer.C: add a per-buffer author list, with first entry as
10298 current author. Handle new .lyx tokens for change tracking. Output
10299 author list to .lyx file. Output dvipost stuff to .tex preamble.
10300 Bump lyx format to 222.
10303 * bufferlist.C: add setCurrentAuthor() to reset current author details
10307 * bufferparams.C: add param for tracking
10309 * bufferview_funcs.C: output change info in minibuffer
10313 * changes.C: add change-tracking structure
10316 * debug.C: add CHANGES debug flag
10319 * lyxfind.C: add code for finding the next change piece
10322 * lyxrc.C: add user_name and user_email
10325 * lyxrow.C: add a metric for the top of the text line
10328 * text.C: implement accept/rejectChange()
10331 * text.C: paint changebars. Paint new/deleted text in the chosen
10332 colours. Strike through deleted text.
10336 * paragraph_pimpl.h:
10337 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10338 in the current change to the insert functions. Rework erase to
10339 mark text as deleted, adding an eraseIntern() and a range-based
10340 erase(). Implement per-paragraph change lookup and
10343 * paragraph_funcs.C: Fixup paste for change tracking.
10345 * tabular.C: mark added row/columns as new.
10347 * text.C: fix rowLast() to never return -1. Don't allow
10348 spellchecking of deleted text. Track transpose changes. Don't
10349 allow paragraph break or merge where appropriate.
10351 * text2.C: leave cursor at end of selection after a cut.
10353 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10355 * text.C (getLengthMarkerHeight):
10356 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10357 visible on screen too.
10359 2003-02-07 John Levon <levon@movementarian.org>
10361 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10363 2003-02-05 Angus Leeming <leeming@lyx.org>
10365 * lyxserver.C (read_ready): revert my patch of 11 September last year
10366 as it sends PC cpu through the roof. Presumably this means that
10367 the lyxserver will no longer run on an Alpha...
10369 2003-01-30 Angus Leeming <leeming@lyx.org>
10371 * factory.C (createInset): create an InsetCommandParam of type "index"
10372 and use it to 'do the right thing'.
10374 * text2.C (getStringToIndex): ensure that cursor position is always
10375 reset to the reset_cursor position.
10377 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10379 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10382 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10386 * lyxfunc.C: Output messages with identical spelling, punctuation,
10389 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10391 * MenuBackend.C (expandFormats): List only viewable export formats
10394 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10397 * lyxfunc.C (getStatus): Make sure that formats other than
10398 "fax" can also be disabled
10400 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10402 * text3.C (dispatch): put the lfuns that insert insets in 3
10403 groups, and call doInsertInset with appropriate arguments.
10404 (doInsertInset): new function, that creates an inset and inserts
10405 it according to some boolean parameters.
10407 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10409 * buffer.C (readFile): remember to pass on 'par' when calling
10410 readFile recursively.
10412 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10414 * MenuBackend.C (expandFormats): add "..." to import formats.
10416 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10418 * paragraph.C (asString): Remove XForms RTL hacks.
10420 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10421 * buffer.C: fix typo
10423 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10425 * Makefile.am (LIBS): delete var
10426 (lyx_LDADD): add @LIBS@ here instead.
10428 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10430 * Clarify the meaning of "wheel mouse jump"
10432 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10434 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10437 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10439 * importer.C (Loaders): do not preallocate 3 elements in the
10440 vector, since one ends up with 6 elements otherwise
10442 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10444 * DepTable.C (write): write the file name as last element of the
10445 .dep file (because it may contain spaces)
10446 (read): read info in the right order
10448 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10450 * paragraph_pimpl.C (simpleTeXBlanks):
10451 (simpleTeXSpecialChars):
10452 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10454 * tabular.C (latex): add some missing case statements. Reindent.
10456 * MenuBackend.C (expandToc): remove unused variable.
10458 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10467 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10470 2003-01-05 John Levon <levon@movementarian.org>
10473 * BufferView.C: add getEncoding()
10476 * kbsequence.C: do not store last keypress
10479 * lyxfunc.C: store last keypress here instead. Pass encoding
10482 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10484 * lyx_main.C (init): remove annoying error message when following
10485 symbolic links (bug #780)
10487 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10489 * text.C (insertChar):
10490 * lyxrc.C (getDescription): remove extra spaces
10492 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10494 * lyxrc.C (getDescription): remove extra spaces
10496 2002-12-20 John Levon <levon@movementarian.org>
10498 * text3.C: hack fix for page up/down across tall rows
10500 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10502 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10505 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10507 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10508 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10509 thesaurus is not compiled in
10511 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10513 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10515 2002-12-16 Angus Leeming <leeming@lyx.org>
10518 * lyx_main.C (init): remove override_x_deadkeys stuff.
10520 2002-12-12 John Levon <levon@movementarian.org>
10522 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10523 insert. Only remove shift modifier under strict
10526 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10528 * MenuBackend.C (expandToc): fix crash.
10530 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10532 * MenuBackend.C (expandToc): gettext on float names.
10534 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10536 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10537 implement bool empty() [bug 490]
10539 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10541 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10543 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10545 * several files: ws changes
10547 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10549 * text2.C (setCounter): clean up a bit, use boost.format.
10550 (updateCounters): initialize par upon declaration.
10552 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10553 if the layout exists. We do not just store the layout any more.
10554 (SwitchLayoutsBetweenClasses): use boost.format
10556 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10558 * converter.C (convert): if from and to files are the same, use a
10559 temporary files as intermediary
10561 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10564 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10566 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10568 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10570 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10572 * tabular.C (asciiPrintCell): use string(size, char) instead of
10575 * sgml.C (openTag): fix order of arguments to string constructor
10578 * lyxfunc.C (dispatch): use boost.format
10580 * lots of files: change "c" -> 'c'
10582 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10584 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10586 2002-11-25 Angus Leeming <leeming@lyx.org>
10588 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10590 * lyx_main.C (init): compile fix.
10592 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10594 * lyx_cb.C (start): boost.formatify
10595 do not include <iostream>
10597 * lengthcommon.C: ws only
10599 * boost-inst.C,BoostFormat.h: add more explict instantations
10601 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10603 * lots of files: handle USE_BOOST_FORMAT
10605 2002-11-21 John Levon <levon@movementarian.org>
10607 * pspell.C: fix compile
10609 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10611 * lyxfunc.C (dispatch): use boost::format
10615 * lyxfont.C (stateText): use boost::format
10617 * lyx_main.C (LyX): use boost::format
10619 (queryUserLyXDir): ditto
10620 (readRcFile): ditto
10622 (typedef boost::function): use the recommened syntax.
10624 * importer.C (Import): use boost::format
10626 * debug.C (showLevel): use boost::format
10628 * converter.C (view): use boost::format
10633 * bufferview_funcs.C (currentState): use boost::format
10635 * bufferlist.C (emergencyWrite): use boost::format
10637 * buffer.C (readLyXformat2): use boost::format
10638 (parseSingleLyXformat2Token): ditto
10640 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10642 * LaTeX.C (run): use boost::format
10644 * Chktex.C (scanLogFile): use boost::format
10646 * BufferView_pimpl.C (savePosition): use boost::format
10647 (restorePosition): ditto
10648 (MenuInsertLyXFile): ditto
10650 * BoostFormat.h: help file for explicit instation.
10652 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10654 * tabular.C (latex): Support for block alignment in fixed width
10657 2002-11-17 John Levon <levon@movementarian.org>
10659 * BufferView_pimpl.C:
10661 * lyxfunc.C: split filedialog into open/save
10663 2002-11-08 Juergen Vigna <jug@sad.it>
10665 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10666 by my last patch (hopefully).
10668 2002-11-08 John Levon <levon@movementarian.org>
10677 * toc.C: ParConstIterator, and use it (from Lars)
10679 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10681 * lyxtextclass.[Ch]: revise and add doxygen comments
10683 2002-11-07 John Levon <levon@movementarian.org>
10685 * text.C: fix progress value for spellchecker
10687 * toc.C: fix navigate menu for insetwrap inside minipage
10689 * paragraph_funcs.C: added FIXME for suspect code
10691 2002-11-07 John Levon <levon@movementarian.org>
10693 * BufferView_pimpl.C: fix redrawing of insets
10696 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10698 * text2.C (updateCounters): fix bug 668
10700 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10702 * text3.C (dispatch): Do not make the buffer dirty when moving the
10705 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10707 * vc-backend.C: STRCONV
10708 (scanMaster): ditto
10710 * text2.C (setCounter): STRCONV
10712 * paragraph.C (asString): STRCONV
10714 * lyxlength.C (asString): STRCONV
10715 (asLatexString): ditto
10717 * lyxgluelength.C (asString): STRCONV
10718 (asLatexString): ditto
10720 * lyxfunc.C (dispatch): STRCONV
10723 * lyxfont.C (stateText): STRCONV
10725 * importer.C (Import): STRCONV
10727 * counters.C (labelItem): STRCONV
10728 (numberLabel): ditto
10729 (numberLabel): remove unused ostringstream o
10734 * bufferview_funcs.C (currentState): STRCONV
10736 * buffer.C (readFile): STRCONV
10737 (asciiParagraph): ditto
10738 (makeLaTeXFile): ditto
10740 * Spacing.C (writeEnvirBegin): STRCONV
10742 * LaTeXFeatures.C (getLanguages): STRCONV
10743 (getPackages): ditto
10745 (getBabelOptions): ditto
10746 (getTClassPreamble): ditto
10747 (getLyXSGMLEntities): ditto
10748 (getIncludedFiles): ditto
10752 (scanAuxFile): ditto
10755 * LString.h: add the STRCONV macros
10757 * BufferView_pimpl.C (savePosition): STRCONV
10758 (restorePosition): ditto
10759 (MenuInsertLyXFile): ditto
10761 * vc-backend.C (scanMaster): change from submatch[...] to
10764 * funcrequest.C: include config.h
10766 * factory.C: include config.h
10768 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10770 * box.C: include config.h
10772 * LaTeX.C (scanAuxFile): change from submatch[...] to
10776 2002-10-25 Angus Leeming <leeming@lyx.org>
10778 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10780 * ispell.[Ch] (setError): new method.
10781 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10782 Use setError() insetead of goto END.
10784 * lyx_cb.C (AutoSave): move out child process into new class
10787 2002-10-30 John Levon <levon@movementarian.org>
10789 * text3.C: make start appendix undoable
10791 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10793 * lyxlength.C (inPixels): Fix returned value.
10795 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10798 2002-10-24 Angus Leeming <leeming@lyx.org>
10800 * lyxgluelength.h: no need to forward declare BufferParams
10801 or BufferView, so don't.
10803 2002-10-21 John Levon <levon@movementarian.org>
10805 * BufferView.C: menuUndo ->undo, redo
10807 * BufferView.h: document, remove dead, make some methods private
10809 * paragraph_funcs.h:
10810 * paragraph_funcs.C:
10811 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10816 * sgml.C: move sgml open/close tag into sgml.C
10818 * bufferview_funcs.h: unused prototype
10821 * lyxfunc.C: remove unused
10824 * text.C: remove unused
10826 2002-10-21 John Levon <levon@movementarian.org>
10830 * BufferView_pimpl.h:
10831 * BufferView_pimpl.C: fix mouse wheel handling based on
10832 patch from Darren Freeman
10834 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10836 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10838 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10840 * lyxlength.C (inPixels): Fix hanfling of negative length.
10841 Fix LyXLength::MU case.
10843 2002-10-16 John Levon <levon@movementarian.org>
10845 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10847 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10849 * converter.C (view): add support for $$i (file name) and $$p
10850 (file path) for the viewer command. If $$i is not specified, then
10851 it is appended to the command (for compatibility with old syntax)
10853 2002-10-14 Juergen Vigna <jug@sad.it>
10855 * undo_funcs.C (textHandleUndo): alter the order in which the
10856 new undopar is added to the LyXText, as we have to set first
10857 the right prev/next and then add it as otherwise the rebuild of
10858 LyXText is not correct. Also reset the cursor to the right paragraph,
10859 with this IMO we could remove the hack in "redoParagraphs()".
10861 2002-10-09 Angus Leeming <leeming@lyx.org>
10863 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10864 to turn off an optimisation if a new inset is to be inserted.
10866 2002-10-11 André Pönitz <poenitz@gmx.net>
10868 * lyxtext.h: make some functions public to allow access
10869 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10871 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10873 * text3.C (dispatch): when changing layout, avoid an infinite loop
10876 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10878 * lyxrc.C (read): treat a viewer or converter command of "none" as
10881 * MenuBackend.C (expandFormats): for an update, also allow the
10882 formats that are not viewable
10884 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10885 script if it is newer than the lyxrc.defaults in user directory
10887 2002-10-07 André Pönitz <poenitz@gmx.net>
10889 * text.C: Vitaly Lipatov's small i18n fix
10891 2002-09-25 Angus Leeming <leeming@lyx.org>
10893 * ispell.h: doxygen fix.
10895 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10897 * buffer.h (readFile): Add a new argument to the method, to allow
10898 reading of old-format templates.
10900 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10902 * toc.C (getTocList): Get TOC from InsetWrap.
10904 2002-09-16 John Levon <levon@movementarian.org>
10906 * lyxfunc.C: check tabular for cut/copy too
10908 2002-09-12 John Levon <levon@movementarian.org>
10910 * LyXAction.C: tidy
10913 * factory.C: add header
10915 * paragraph_funcs.h:
10916 * paragraph_funcs.C: cleanup
10918 2002-09-11 John Levon <levon@movementarian.org>
10920 * PrinterParams.h: odd/even default to true
10922 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10924 * PrinterParams.h: update printer parameters for new xforms dialog
10926 2002-09-11 Angus Leeming <leeming@lyx.org>
10928 * lyxserver.C (read_ready): re-write to make it more transparent
10929 and to make it work in coherent fashion under Tru64 Unix.
10931 2002-09-11 André Pönitz <poenitz@gmx.net>
10935 * text3.C: implement LFUN_WORDSEL
10937 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10939 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10940 make floatlist_ a boost::shared_ptr<FloatList>
10942 * lyxtextclass.C: include FloatList.h
10943 (LyXTextClass): initialize floatlist_
10944 (TextClassTags): add TC_NOFLOAT
10945 (Read): match "nofloat" to TC_NOFLOAT and use it.
10946 (readFloat): modify call to floatlist_
10950 * FloatList.[Ch] (FloatList): remove commented out float
10952 (erase): new function
10954 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10956 * MenuBackend.C (expandToc): fix crash when there is no document
10959 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10961 * many files: Add insetwrap.
10963 2002-09-09 John Levon <levon@movementarian.org>
10965 * text2.C: remove confusing and awkward depth wraparound
10967 2002-09-09 John Levon <levon@movementarian.org>
10969 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10972 * buffer.C: remove getIncludeonlyList()
10975 * lyxfunc.C: remove headers
10977 2002-09-09 Juergen Vigna <jug@sad.it>
10979 * text.C (getColumnNearX): fix form Michael this is most
10980 probably a cut&paste bug.
10982 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10984 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10986 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10987 references, ws changes.
10989 * text2.C (init): update counters after init
10990 (insertParagraph): no need to set counter on idividual paragraphs.
10991 (setCounter): access the counters object in the textclass object
10992 on in the buffer object.
10993 (updateCounters): ditto
10995 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10996 shared_ptr<Counters> to avoid loading counters.h in all
10998 (LyXTextClass): initialize ctrs_
10999 (TextClassTags): add TC_COUNTER, and ...
11000 (Read): use it here.
11001 (CounterTags): new tags
11002 (readCounter): new function
11003 (counters): new funtion
11004 (defaultLayoutName): return a const reference
11006 * counters.C (Counters): remove contructor
11007 (newCounter): remove a couple of unneeded statements.
11008 (newCounter): simplify a bit.
11009 (numberLabel): some small formatting changes.
11011 * buffer.[Ch]: remove all traces of counters, move the Counters
11012 object to the LyXTextClass.
11014 2002-09-06 Alain Castera <castera@in2p3.fr>
11016 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11017 package to set the horizontal alignment on fixed width columns.
11020 * lyx_sty.h: added tabularnewline macro def.
11022 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11024 2002-09-06 John Levon <levon@movementarian.org>
11026 * LyXAction.C: tooltips for sub/superscript
11028 * MenuBackend.C: a bit more verbose
11030 * lyxfunc.C: tiny clean
11032 * undo_funcs.C: document undo_frozen
11034 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11036 * counters.C (Counters): add missing algorithm counter.
11038 * text2.C (setCounter): lookup the counter with layouts latexname
11039 instead of by section number.
11040 (setCounter): use a hackish way to lookup the correct enum
11042 a float name->type change
11043 reset enum couners with counter name directly instead of depth value.
11045 * counters.C (Counters): remove the push_backs, change to use the
11046 float type not the float name.
11047 (labelItem): remove unused string, float name->type change
11049 * counters.h: don't include vector, loose the enums and sects vectors
11051 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11053 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11054 (Read): add float->TC_FLOAT to textclassTags
11055 (Read): and handle it in the switch
11056 (readFloat): new function
11058 * FloatList.C (FloatList): comment out the hardcoded float
11061 * lyxlayout.h: ws change.
11063 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11065 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11067 2002-09-03 Angus Leeming <leeming@lyx.org>
11069 * BufferView_pimpl.h: qualified name is not allowed in member
11070 declaration: WorkArea & Pimpl::workarea() const;
11072 * factory.C: added using std::endl directive.
11074 * text3.C: added using std::find and std::vector directives.
11076 2002-08-29 André Pönitz <poenitz@gmx.net>
11079 * text2.C: remove unused member number_of_rows
11082 * BufferView2.C: remove file, move contents to...
11083 * BufferView.C: ... here
11085 * BufferView_pimpl.C:
11086 * factory.C: move more inset creation to factory
11088 * vspace.C: avoid direct usage of LyXText, ws changes
11091 don't provide direct access to WorkArea, use two simple
11092 acessors haveSelction() and workHeight() instead
11095 2002-08-29 John Levon <levon@movementarian.org>
11097 * BufferView_pimpl.C (dispatch): do not continue when
11100 2002-08-28 André Pönitz <poenitz@gmx.net>
11102 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11105 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11107 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11109 * buffer.C: increment LYX_FORMAT to 221
11111 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11112 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11114 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11116 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11118 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11120 * factory.C (createInset): use LyXTextClass::floats
11122 * MenuBackend.C (expandFloatListInsert):
11123 (expandFloatInsert):
11126 * text2.C (setCounter):
11128 * LaTeXFeatures.C (useFloat):
11129 (getFloatDefinitions):
11131 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11133 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11134 floatlist_, with accessor floats().
11136 * FloatList.h: remove global FloatList
11138 2002-08-26 André Pönitz <poenitz@gmx.net>
11140 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11144 * BufferView_pimpl.C:
11145 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11147 2002-08-25 John Levon <levon@movementarian.org>
11149 * LyXAction.C: fix margin note description
11151 2002-08-24 John Levon <levon@movementarian.org>
11155 * bufferview_funcs.C:
11157 * undo_funcs.C: cleanups
11159 * lyxfunc.C: disable CUT/COPY when no selection
11161 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11163 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11164 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11166 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11167 Add backward compatibility to "mono", "gray" and "no".
11169 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11171 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11172 (and file_format >= 200).
11174 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11176 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11178 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11180 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11182 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11184 * BufferView_pimpl.C:
11191 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11192 inset and code to make it work with the paragraph code. The inset
11193 can be anywhere in the paragraph, but will only do the expected
11194 thing in LaTeX if the layout file contains the parameter line
11196 (or more generally, a nonzero value) for that layout.
11198 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11200 * paragraph.h: remove the declaration of undefined counters class
11203 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11205 * text2.C (setCounter): fixed enumeration mis-count as reported by
11206 Dr. Richard Hawkins.
11208 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11210 * paragraph_funcs.h: remove some unneeded includes
11212 * text.C (backspace): pasteParagraph now in global scipe
11214 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11215 (pasteSelection): ditto
11217 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11218 * paragraph_funcs.C (pasteParagraph): ... here
11220 2002-08-20 André Pönitz <poenitz@gmx.net>
11222 * commandtags.h: new LFUNs for swapping/copying table row/colums
11225 * lyxfunc.C: support for new lfuns
11227 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11230 * buffer.[Ch]: remove NO_COMPABILITY stuff
11232 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11234 * boost.C (throw_exception): new file, with helper function for
11235 boost compiled without exceptions.
11240 * ParameterStruct.h:
11241 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11243 * bufferlist.C (emergencyWriteAll): use boost bind
11245 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11247 * text.C: include paragraph_funcs.h
11248 (breakParagraph): breakParagraph is now in global scope
11250 * paragraph_funcs.[Ch]: new files
11252 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11255 * buffer.C: include paragraph_funcs.h
11256 (insertStringAsLines): breakParagraph is now in global scope
11258 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11261 * CutAndPaste.C: include paragraph_funcs.h
11262 (cutSelection): breakParagraphConservative is now in global scope
11263 (pasteSelection): ditto
11265 * buffer.h: declare oprator== and operator!= for
11266 Buffer::inset_iterator
11268 * bufferlist.C (emergencyWrite): don't use fmt(...)
11270 * text3.C: add using std::endl
11272 * BufferView.C (moveCursorUpdate): remove default arg
11274 2002-08-20 André Pönitz <poenitz@gmx.net>
11276 * buffer.[Ch]: move inline functions to .C
11279 * BufferView_pimpl.C:
11281 * buffer.[Ch]: use improved inset_iterator
11284 * paragraph.[Ch]: write one paragraph at a time
11286 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11288 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11289 style if style is not specified.
11291 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11293 * text2.C (setCounter): when searching for right label for a
11294 caption, make sure to recurse to parent insets (so that a caption
11295 in a minipage in a figure float works) (bug #568)
11297 2002-08-20 André Pönitz <poenitz@gmx.net>
11299 * text3.C: new file for LyXText::dispatch() and helpers
11301 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11303 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11305 2002-08-19 André Pönitz <poenitz@gmx.net>
11308 * text.C: new LyXText::dispatch()
11310 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11312 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11314 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11316 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11319 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11321 * Makefile.am: use $(variables) instead of @substitutions@
11323 2002-08-15 André Pönitz <poenitz@gmx.net>
11326 * BufferView_pimpl.C: streamlining mathed <-> outer world
11330 * LyXAction.C: remove unused LFUN_MATH
11332 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11334 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11336 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11338 * paragraph.C (Paragraph): reformat a bit
11339 (cutIntoMinibuffer): use builtin InsetList function instad of
11343 * buffer.C: include boost/bind.hpp, add using std::for_each
11344 (writeFileAscii): use ParagraphList iterators
11345 (validate): use for_each for validate traversal of paragraphs
11346 (getBibkeyList): use ParagraphList iterators
11347 (resizeInsets): use for_each to resizeInsetsLyXText for all
11349 (getParFromID): use ParagraphList iterators
11351 * BufferView2.C (lockInset): use paragraph list and iterators
11353 2002-08-14 John Levon <levon@movementarian.org>
11355 * lyxserver.C: remove spurious xforms include
11357 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11359 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11361 2002-08-13 André Pönitz <poenitz@gmx.net>
11364 * lyxfunc.C: further cleaning
11366 2002-08-13 André Pönitz <poenitz@gmx.net>
11368 * funcrequest.h: new constructor
11370 * funcrequest.C: move stuff here from .h
11373 * BufferView_pimpl.C:
11376 * lyxfunc.C: subsequent changes
11378 * lyxfunc.h: new view() member function
11380 * lyxfunc.C: subsequent changes
11382 2002-08-13 Angus Leeming <leeming@lyx.org>
11385 * BufferView_pimpl.C:
11393 changes due to the changed LyXView interface that now returns references
11394 to member variables not pointers.
11396 2002-08-13 Angus Leeming <leeming@lyx.org>
11398 * WordLangTuple (word, lang_code): return references to strings,
11403 * lyxtext.h: forward-declare WordLangTuple.
11408 * text.C: #include "WordLangTuple.h".
11411 * text.C: (selectNextWordToSpellcheck): constify return type.
11413 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11419 * paragraph_pimpl.h:
11422 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11423 suggested by Angus.
11424 Made updateCounter always count from start of buffer, and removed
11425 second argument (par).
11426 Reverted floats number display to '#'. Perhaps I'll try again when the
11427 code base is sanitized a bit.
11429 2002-08-12 Angus Leeming <leeming@lyx.org>
11431 * buffer.[Ch] (getLabelList): constify.
11433 2002-08-07 André Pönitz <poenitz@gmx.net>
11435 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11437 * funcrequest.h: extension to keep mouse (x,y) position
11439 2002-08-12 Juergen Vigna <jug@sad.it>
11441 * BufferView2.C (insertErrors): forbid undo when inserting error
11444 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11446 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11448 * ParagraphList.[Ch]: new files
11450 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11452 * BufferView2.C (lockInset): ParagraphList changes
11455 * bufferlist.C: ditto
11459 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11461 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11462 unused class variable counter_,
11464 * paragraph.[Ch] (getFirstCounter): delete unused function
11466 * counters.C: include LAssert.h
11467 (reset): add a new function with no arg, change other version to
11468 not have def. arg and to not allow empty arg.
11470 * text2.C (setCounter): remove empty arg from call to Counters::reset
11472 2002-08-11 John Levon <levon@movementarian.org>
11474 * Makefile.am: add WordLangTuple.h
11476 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11478 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11479 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11481 * insets/insettext.C: InsetList changes
11483 * graphics/GraphicsSupport.C (operator()): InsetList changes
11485 * toc.C (getTocList): InsetList changes
11487 * paragraph_pimpl.[Ch]: InsetList changes
11489 * paragraph.[Ch]: InsetList changes
11491 * buffer.C (inset_iterator): InsetList changes
11492 (setParagraph): ditto
11493 * buffer.h (inset_iterator): ditto
11494 * iterators.C (operator++): ditto
11495 * iterators.h: ditto
11497 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11499 * InsetList.[Ch]: new files, most InsetList handling moved out of
11502 * BufferView2.C (removeAutoInsets): InsetList changes
11504 (ChangeInsets): ditto
11506 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11508 * paragraph_pimpl.h (empty): new function
11510 * paragraph.[Ch] (empty): new function
11512 * other files: use the new Paragraph::empty function
11514 2002-08-09 John Levon <levon@movementarian.org>
11516 * lyxtext.h: remove unused refresh_height
11518 2002-08-09 John Levon <levon@movementarian.org>
11525 * paragraph.C: move sgml char escaping out of paragraph
11528 * paragraph.C: remove id setter
11532 * paragraph_pimpl.C: remove dead tex_code_break_column
11534 * bufferview_funcs.C: small cleanup
11536 * lyxfunc.C: remove dead proto
11538 * lyxtext.h: make some stuff private. Remove some dead stuff.
11540 * lyxgluelength.C: make as[LyX]String() readable
11542 2002-08-08 John Levon <levon@movementarian.org>
11547 * ToolbarDefaults.C:
11550 * toc.C: lyxaction cleanup
11552 2002-08-08 John Levon <levon@movementarian.org>
11554 * BufferView2.C: small cleanup
11557 * lyxfind.C: move unnecessary header into the .C
11559 2002-08-08 John Levon <levon@movementarian.org>
11561 * funcrequest.h: just tedious nonsense
11564 * lyx_main.C: cleanups
11567 * vspace.C: remove dead header lyx_main.h
11569 2002-08-07 Angus Leeming <leeming@lyx.org>
11572 * paragraph_pimpl.h:
11573 Forward declare class Counters in paragraph.h by moving the ctrs member
11574 variable into Paragraph::Pimpl.
11575 (counters): new method, returning a reference to pimpl_->ctrs.
11577 * text2.C: ensuing changes.
11579 2002-08-07 John Levon <levon@movementarian.org>
11581 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11583 * BufferView_pimpl.C: announce X selection on double/triple
11586 * lyx_main.C: use correct bool in batch dispatch
11588 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11590 2002-08-07 André Pönitz <poenitz@gmx.net>
11592 * funcrequest.h: new class to wrap a kb_action and its argument
11595 * BufferView_pimpl[Ch]:
11599 * lyxrc.C: subsequent changes
11602 2002-08-07 John Levon <levon@movementarian.org>
11604 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11605 document options change.
11607 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11612 * makefile.am: move counters functionality over from
11613 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11615 2002-08-06 John Levon <levon@movementarian.org>
11617 * WordLangTuple.h: new file for word + language code tuple
11628 * BufferView2.C: use WordLangTuple
11631 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11633 2002-08-06 John Levon <levon@movementarian.org>
11635 * lyx_main.C: fix cmdline batch handling
11637 2002-08-06 André Pönitz <poenitz@gmx.net>
11639 * lyxrc.C: set default for show_banner to true
11641 2002-08-06 John Levon <levon@movementarian.org>
11643 * pspell.C: fix a crash, and allow new aspell to work
11645 2002-08-06 John Levon <levon@movementarian.org>
11648 * kbmap.C: small cleanup
11651 * vspace.C: add const
11653 2002-08-05 John Levon <levon@movementarian.org>
11655 * LyXAction.C: back to tabular-insert
11657 2002-08-04 John Levon <levon@movementarian.org>
11660 * BufferView.C: cosmetic change
11662 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11672 * BufferView2.C: purge all "Lyx" not "LyX" strings
11675 * lyxcursor.C: attempt to add some documentation
11680 * ToolbarDefaults.C:
11681 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11682 merge with LFUN_TABULAR_INSERT
11689 * pspell.C: split up i/pspell implementations into separate
11690 files, many cleanups
11692 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11694 * text2.C: some cleanup
11696 * lyxfunc.C: don't check for isp_command == "none" any more, it
11697 didn't make any sense
11699 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11704 * makefile.am: move counters functionality over
11705 from text2.C/paragraph.[Ch] to counters.[Ch], and
11707 2002-08-02 John Levon <levon@movementarian.org>
11709 * buffer.C: s/lyxconvert/lyx2lyx/
11711 2002-08-02 Angus Leeming <leeming@lyx.org>
11713 * lyxlex.C: revert John's change as it breaks reading of the user
11716 2002-08-02 Angus Leeming <leeming@lyx.org>
11718 * importer.C (Import):
11719 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11720 changes due to LyXView::view() now returning a boost::shared_ptr.
11722 2002-08-02 John Levon <levon@movementarian.org>
11724 * lyxlex.C: small cleanup
11726 2002-08-02 John Levon <levon@movementarian.org>
11728 * text2.C (status): small cleanup, no logic change
11730 2002-08-01 John Levon <levon@movementarian.org>
11733 * buffer.C (writeFile): don't output alerts, caller
11737 * lyx_cb.C: from above
11739 * lyxfunc.C: allow to open non-existent files
11741 2002-07-31 John Levon <levon@movementarian.org>
11743 * lyxserver.C: don't let incidental errors get
11746 2002-07-30 John Levon <levon@movementarian.org>
11748 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11750 2002-07-30 John Levon <levon@movementarian.org>
11753 * lyxserver.C: remove I/O callback too
11755 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11757 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11760 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11762 * many files: strip,frontStrip -> trim,ltrim,rtrim
11764 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11766 * PrinterParams.h: remove extern containsOnly, and include
11767 support/lstrings.h instead.
11769 * LaTeX.C (scanAuxFile): modify because of strip changes
11771 * buffer.C (makeLaTeXFile): ditto
11772 * bufferparams.C (writeFile): ditt
11773 * lyxfont.C (stateText): ditto
11774 * lyxserver.C (read_ready): ditto
11775 * vc-backend.C (scanMaster): ditto
11777 * BufferView_pimpl.h: ws changes
11779 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11781 2002-07-26 André Pönitz <poenitz@gmx.net>
11783 * kb_sequence.C: remove unnedred usings
11785 2002-07-26 Juergen Vigna <jug@sad.it>
11787 * lyxfind.C (LyXReplace): we have to check better if the returned
11788 text is not of theLockingInset()->getLockingInset().
11790 2002-07-25 Juergen Vigna <jug@sad.it>
11792 * lyxfind.C (LyXReplace): don't replace if we don't get the
11795 * undo_funcs.C (createUndo): remove debugging code.
11797 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11799 * buffer.C (parseSingleLyXformat2Token): Use default placement
11800 when reading old floats.
11802 * FloatList.C (FloatList): Change the default placement of figure
11803 and tables to "tbp".
11805 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11807 * MenuBackend.C: using std::max
11809 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11811 * MenuBackend.C (expandToc):
11812 (expandToc2): code moved from xforms menu frontend. It is now
11813 generic and TOCs are transparent to menu frontends.
11815 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11817 * toc.C (getTocList): protect against buf=0
11819 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11820 Menu as first parameter. Now, this calls itself recursively to
11821 expand a whole tree (this will be useful for TOC handling)
11822 (expandFloatInsert): remove 'wide' version of floats
11824 * MenuBackend.h (submenuname): returns the name of the submenu.
11825 (submenu): returns the submenu itself, provided it has been
11826 created by MenuBackend::expand
11828 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11830 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11831 insets which have noFontChange == true. (bug #172)
11833 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11835 * BufferView_pimpl.C: add connection objects and use them...
11838 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11840 * MenuBackend.C (expandLastfiles):
11843 (expandFloatListInsert):
11844 (expandFloatInsert):
11845 (expand): split expand in parts
11847 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11849 * lyx_gui.C: use lyx_gui::exit()
11851 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11853 * LyXAction.C: show the failing pseudo action
11855 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11857 * buffer.C (readFile): Run the lyxconvert script in order to read
11860 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11864 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11866 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11870 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11872 2002-07-22 Herbert Voss <voss@lyx.org>
11875 * lyxlength.[Ch]: add support for the vertical lengths
11877 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11879 * toc.[Ch]: std:: fixes
11881 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11883 * lyxrc.C: do not include lyx_main.h
11885 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11891 * BufferView2.C: include "lyxlex.h"
11894 * bufferparams.h: do not #include "lyxlex.h"
11896 * lyxtextclasslist.C (Add): remove method
11897 (classlist): renamed to classlist_
11899 * paragraph_pimpl.C:
11903 * bufferview_funcs.C:
11908 * toc.C (getTocList): use BufferParams::getLyXTextClass
11910 * toc.C (getTocList): use InsetFloat::addToToc
11912 * toc.[Ch]: new files, containing helper functions to handle table
11915 * lyxfunc.C (dispatch): no need to remove spaces around command
11917 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11918 first command of the sequence; it is not very clever, but I do not
11919 have a better idea, actually
11921 * LyXAction.C (LookupFunc): make sure to remove space at the
11922 beginning and end of the command
11924 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11926 * MenuBackend.C (getMenubar): new method: return the menubar of
11928 (read): treat differently reading of menu and menubar (in
11929 particular, the menubar has no name now)
11930 (Menu::menubar): remove
11932 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11935 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11937 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11938 a bibitem inset in a RTL paragraph.
11940 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11942 * paragraph_pimpl.C: constify
11944 * BufferView_pimpl.C:
11946 * lyxfunc.C: fix dispatch in a nicer way
11948 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11950 * lyxfunc.C (dispatch):
11951 * BufferView_pimpl.C:
11952 * BufferView_pimpl.h:
11954 * BufferView.h: rename Dispatch() to dispatch()
11956 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11958 * lyxlayout.C (Read): honor DependsOn tag
11960 * lyxlayout.[Ch] (depends_on): new method
11962 * version.C.in: update lyx_docversion
11964 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11966 * paragraph.C (validate): remove from here...
11967 * paragraph_pimpl.C (validate): ... and move here
11968 (isTextAt): make it const
11970 * buffer.C (getLists): ws cleanup
11972 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11974 * language.C (read): Use iso8859-1 encoding in latex_lang
11975 (this prevents LyX from crashing when using iso10646-1 encoding).
11977 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11979 * text2.C (toggleInset): if cursor is inside an inset, close the
11980 inset and leave cursor _after_ it
11982 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11984 * lyxfunc.C: move minibuffer completion handling out of here
11986 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11988 * BufferView_pimpl.C:
11989 * LaTeX.C: fix dispatch calls
11991 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11993 * text.C (drawChars): Fix Arabic text rendering.
11995 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11999 * lyxfunc.C: remove message-push/pop
12003 * lyxfunc.C: rationalise some code by removing verboseDispatch
12004 in favour of a bool argument to dispatch()
12006 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12008 * lyx_main.C (init): make sure to read symlinks as absolute paths
12010 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12013 * lyxfunc.C: no need for commandshortcut to be a member
12015 2002-07-15 André Pönitz <poenitz@gmx.net>
12017 * converter.C: add support for $$s (scripts from lib/scripts dir)
12018 * lyx_main.C: white space
12020 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12024 * lyxrc.C: remove second exit confirmation
12026 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12031 * BufferView_pimpl.h:
12032 * BufferView_pimpl.C:
12033 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12035 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12037 * MenuBackend.C (expand): add numeric shortcuts to document menu
12039 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12041 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12043 * lyxfont.C (setLyXFamily):
12050 * buffer.C (asciiParagraph): use ascii_lowercase
12052 2002-07-15 Mike Fabian <mfabian@suse.de>
12054 * lyxlex_pimpl.C (search_kw):
12055 * lyxlex.C (getLongString):
12056 * converter.h (operator<):
12057 * converter.C (operator<):
12058 * buffer.C (parseSingleLyXformat2Token):
12060 * ToolbarDefaults.C (read):
12061 * MenuBackend.C (checkShortcuts):
12063 * LColor.C (getFromGUIName):
12064 (getFromLyXName): use the compare_ascii_no_case instead of
12065 compare_no_case, because in turkish, 'i' is not the lowercase
12066 version of 'I', and thus turkish locale breaks parsing of tags.
12068 2002-07-16 Angus Leeming <leeming@lyx.org>
12070 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12071 now takes a Buffer const & argument.
12073 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12075 * BufferView.C (resize): check there's a buffer to resize
12077 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12079 * lyxfunc.C: remove dead code
12082 * lyxserver.C: use lyx_guii::set_read_callback
12084 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12086 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12087 an inset in a RTL paragraph.
12089 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12091 * lyxfunc.C: repaint after a font size update
12093 2002-07-15 André Pönitz <poenitz@gmx.net>
12095 * lyxlength.C: inBP should be able to return negative values
12097 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12099 * lyxfunc.C: use lyx_gui::update_fonts()
12101 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12103 * lyxfunc.C: use lyx_gui::update_color()
12105 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12111 * lyxrc.C: remove file->new asks for name option, and let
12112 buffer-new take an argument
12114 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12116 * BufferView_pimpl.C: remove unneeded extra repaint()
12118 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12120 * LyXAction.C: allow command-sequence with NoBuffer
12122 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12124 2002-07-10 Angus Leeming <leeming@lyx.org>
12126 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12128 2002-07-09 Angus Leeming <leeming@lyx.org>
12130 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12132 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12134 * lengthcommon.h: whitespace
12136 * lyxfunc.C: update scrollbar after goto paragraph
12138 * lyxtext.h: factor out page break drawing, and fix it so
12139 page break/added space paints as selected nicely
12141 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12143 * BufferView_pimpl.C: add FIXMEs, clean up a little
12145 2002-07-09 André Pönitz <poenitz@gmx.net>
12147 * lyxfont.[Ch]: support for wasy symbols
12149 2002-07-08 André Pönitz <poenitz@gmx.net>
12151 * BufferView_pimpl.C: apply John's patch for #93.
12153 2002-07-05 Angus Leeming <leeming@lyx.org>
12155 * BufferView_pimpl.C (buffer): generate previews if desired.
12157 * LColor.h: add "preview" to the color enum.
12159 * LColor.C (LColor): add a corresponding entry to the items array.
12161 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12164 2002-07-05 Angus Leeming <leeming@lyx.org>
12166 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12167 The body of the code is now in the method that is passed an ostream &
12168 rather than a file name.
12169 Pass an additional only_preamble parameter, useful for the forthcoming
12172 2002-07-03 André Pönitz <poenitz@gmx.net>
12174 * lyxfunc.C: simplify getStatus() a bit for math stuff
12176 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12178 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12180 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12182 * text.C (changeRegionCase): do not change case of all the
12183 document when region ends at paragraph end (bug #461)
12185 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12187 * paragraph.C (startTeXParParams):
12188 (endTeXParParams): add \protect when necessary
12190 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12192 * BufferView_pimpl.C (workAreaExpose): remove warning
12194 2002-06-27 Angus Leeming <leeming@lyx.org>
12196 * Makefile.am: add lyxlayout_ptr_fwd.h.
12198 2002-06-26 André Pönitz <poenitz@gmx.net>
12200 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12202 2002-06-25 Angus Leeming <leeming@lyx.org>
12204 * lyxfunc.C (dispatch): Comment out the call to
12205 grfx::GCache::changeDisplay. The method no longer exists now that the
12206 pixmap generation part of the graphics loader has been moved into
12209 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12211 * text2.C: layout as layout
12213 * text.C: layout as layout
12215 * tabular.C (OldFormatRead): layout as layout
12217 * paragraph_pimpl.C (TeXDeeper): layout as layout
12218 (realizeFont): layout as layout
12220 * paragraph.C (writeFile): layout as layout
12221 (validate): layout as layout
12222 (getFont): layout as layout
12223 (getLabelFont): layout as layout
12224 (getLayoutFont): layout as layout
12225 (breakParagraph): layout as layout
12226 (stripLeadingSpaces): layout as layout
12227 (getEndLabel): layout as layout
12228 (getMaxDepthAfter): layout as layout
12229 (applyLayout): layout as layout
12230 (TeXOnePar): layout as layout
12231 (simpleTeXOnePar): layout as layout
12232 (TeXEnvironment): layout as layout
12233 (layout): layout as layout
12234 (layout): layout as layout
12236 * lyxtextclass.C (compare_name): new functor to work with
12237 shared_ptr, layout as layout
12238 (Read): layout as layout
12239 (hasLayout): layout as layout
12240 (operator): layout as layout
12241 (delete_layout): layout as layout
12242 (defaultLayout): layout as layout
12244 * lyxlayout_ptr_fwd.h: new file
12246 * lyxlayout.C (Read): layout as layout
12248 * lyx_cb.C (MenuInsertLabel): layout as layout
12250 * bufferlist.C (newFile): layout as layout
12252 * buffer.C (readLyXformat2): layout as layout
12253 (parseSingleLyXformat2Token): layout as layout
12254 (insertStringAsLines): layout as layout
12255 (asciiParagraph): layout as layout
12256 (latexParagraphs): layout as layout
12257 (makeLinuxDocFile): layout as layout
12258 (simpleLinuxDocOnePar): layout as layout
12259 (makeDocBookFile): layout as layout
12260 (simpleDocBookOnePar): layout as layout
12261 (getLists): layout as layout
12263 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12265 * CutAndPaste.C (cutSelection): layout as layout
12266 (pasteSelection): layout as layout
12267 (SwitchLayoutsBetweenClasses): layout as layout
12269 * BufferView_pimpl.C (Dispatch): layout as layout
12270 (smartQuote): layout as layout
12272 * BufferView2.C (unlockInset): layout as layout
12274 2002-06-24 André Pönitz <poenitz@gmx.net>
12276 * lyxfunc.C: fix #487
12278 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12282 * lyxfunc.C: remove display_shortcuts, show_banner
12284 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12286 * Buffer_pimpl.C: oops, update on resize
12288 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12295 * BufferView.C: use repaint()
12297 * BufferView_pimpl.h:
12298 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12299 as it's a clearer description. Remove superfluous
12302 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12304 * text.C: fix bug 488. Not ideal, but getting
12305 getWord() to work properly for the insets that
12306 matter is more difficult ...
12308 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12310 * BufferView_pimpl.C:
12313 * lyxfunc.C: remove the six million index lyxfuncs to just
12314 one, and DTRT (bug 458)
12316 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12320 * BufferView_pimpl.h:
12321 * BufferView_pimpl.C: clean up resize() stuff,
12322 and unnecessary updateScreen()s
12324 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12328 * BufferView_pimpl.h:
12329 * BufferView_pimpl.C:
12332 * minibuffer.C: remove focus management of workarea,
12333 not needed. Use screen's greyOut()
12335 2002-06-17 Herbert Voss <voss@lyx.org>
12337 * converter.C: (convert) do not post a message, when converting
12338 fails, let the calling function decide what to do in this case
12340 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12342 * lyxfunc.C: tidy up a little
12344 2002-06-16 <alstrup@diku.dk>
12346 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12347 Got rid of FORMS_H_LOCATION include. Now we are
12350 2002-06-15 LyX Development team <lyx@rilke>
12352 * buffer.[Ch] (sgmlOpenTag):
12353 (sgmlCloseTag): Added support for avoiding pernicious mixed
12354 content. Return number of lines written.
12356 (makeLinuxDocFile):
12357 (makeDocBookFile): Fixed calls to sgml*Tag.
12358 Simple white space clean.
12360 (simpleDocBookOnePar): Simple white space clean.
12362 * tabular.[Ch] (docBook): Renamed to docbook and got another
12363 argument to related with the pernicious mixed content.
12365 (docbookRow): Fixed calls for docbook inset method.
12367 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12369 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12370 so it's X11 independent.
12374 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12376 2002-06-15 Lyx Development team <lyx@electronia>
12378 * intl.h: Renamed getTrans to getTransManager.
12380 2002-06-14 Angus Leeming <leeming@lyx.org>
12382 * Makefile.am: nuke forgotten stl_string_fwd.h.
12384 2002-06-12 Angus Leeming <leeming@lyx.org>
12386 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12388 2002-06-13 Angus Leeming <leeming@lyx.org>
12391 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12393 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12395 * kbmap.C (getiso): add support for cyrillic and greek
12397 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12401 * BufferView_pimpl.h:
12402 * BufferView_pimpl.C: move bogus scrolling logic
12405 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12408 * BufferView_pimpl.C: view->resize() change
12410 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12412 * BufferView_pimpl.C: topCursorVisible
12415 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12419 * lyx_gui.C: move to frontends/
12423 * lyx_main.C: changes from above
12425 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12432 * lyx_main.C: minor tidy
12434 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12436 * BufferView_pimpl.h:
12437 * BufferView_pimpl.C:
12439 * BufferView.C: make painter() const,
12442 * BufferView2.C: use screen() accessor
12445 * lyx_main.C: some minor cleanup
12447 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12449 * BufferView_pimpl.h:
12450 * BufferView_pimpl.C: remove enter/leaveView,
12453 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12458 * BufferView_pimpl.h:
12459 * BufferView_pimpl.C: only construct screen once,
12462 * lyxrc.C: remove pointless comment
12464 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12467 * BufferView.C: remove active() and belowMouse()
12469 * BufferView_pimpl.h:
12470 * BufferView_pimpl.C: use workarea() not workarea_,
12471 and make it use a scoped_ptr instead
12473 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12475 * lyx_gui.C: add debug message on BadWindow
12477 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12479 * sp_spell.C: fdopen is not part of the C++ standard.
12481 * paragraph.C (InsetIterator): use >= instead of ==
12483 2002-06-07 Angus Leeming <leeming@lyx.org>
12485 Fixes needed to compile with Compaq cxx 6.5.
12486 * BufferView_pimpl.C:
12493 * lyxtextclasslist.C:
12498 all c-library variables have been moved into namespace std. Wrap
12499 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12504 Add a using std::abs declaration.
12506 * kbmap.h (modifier_pair):
12507 * paragraph.h (InsetTable, InsetList):
12508 * lyxfont.h (FontBits):
12509 type definition made public.
12511 * bufferlist.C (emergencyWriteAll): the compiler complains that
12512 there is more than one possible lyx::class_fun template to choose from.
12513 I re-named the void specialisation as lyx::void_class_fun.
12515 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12517 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12518 the compiler is is unable to find tostr in write_attribute.
12520 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12522 * buffer.C (sgmlError): hide #warning
12524 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12526 * xtl/*: get rid of xtl, which is not in use anyway
12528 * LyXAction.C (init):
12529 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12530 were unimplemented xtl experimentation
12532 2002-06-04 André Pönitz <poenitz@gmx.net>
12534 * lyxfunc.C: disable array operation on simple formulae
12536 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12538 * converter.C: constify a bit
12540 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12542 * lyx_gui.C: check xforms version correctly
12544 2002-04-30 Herbert Voss <voss@lyx.org>
12546 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12549 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12551 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12552 attempt to register it with a VCS)
12554 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12556 * lyx_main.C (init): honor variables LYX_DIR_13x and
12559 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12563 * lyx_main.C: fix a crash on bad command line,
12564 and give a useful exit status on error
12566 * lyxfunc.C (doImport): allow -i lyx to work
12568 2002-03-30 André Pönitz <poenitz@gmx.net>
12570 * lyxfunc.C: mathed font changes
12572 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12587 * trans_mgr.h: srcdocs, and some minor cleanups
12589 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12591 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12592 call getFont all the time)
12594 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12596 * switch from SigC signals to boost::signals
12598 2002-05-29 André Pönitz <poenitz@gmx.net>
12600 * paragraph_pimpl.C (getChar): don't call size() too often...
12602 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12604 * paragraph_pimpl.C (insertChar): do not try to update tables when
12605 appending (pos == size())
12607 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12608 in order to reduce drastically the number of comparisons needed to
12609 parse a large document
12611 2002-05-29 André Pönitz <poenitz@gmx.net>
12617 * textclasslist.[Ch]:
12618 * sp_ispell.h: whitespace change
12620 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12622 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12623 lyxaction directly now.
12625 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12629 * lyxvc.C: remove unused headers
12631 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12638 * undo_funcs.C: some cleanups. Use shared_ptr
12639 and a template for the undo stacks.
12641 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12643 * BufferView_pimpl.h:
12644 * BufferView_pimpl.C:
12651 * text2.C: use key_state/mouse_state
12653 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12655 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12658 * chset.C: change include order
12659 (loadFile): use boost regex and get rid of LRegex and LSubstring
12661 * Makefile.am (BOOST_LIBS): new variable
12662 (lyx_LDADD): use it
12664 * LaTeX.C: change include order.
12665 (scanAuxFile): use boost regex and get rid of LRegex and
12669 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12674 * FontInfo.C: moved to frontends/xforms/
12677 * FontLoader.C: moved into frontends for GUIIzation
12682 * lyxfunc.C: changes from above
12684 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12686 * LColor.C: remove spurious X include
12688 * BufferView_pimpl.C:
12693 * text2.C: move font metrics to frontends/
12695 2002-05-24 Juergen Vigna <jug@sad.it>
12697 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12698 setting the undo_cursor.
12700 * ParagraphParameters.h: include local includes first.
12702 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12704 * BufferView_pimpl.C:
12705 * BufferView_pimpl.h:
12709 * screen.C: move WorkArea into frontends/
12715 * BufferView2.C: move LyXScreen into frontends/
12719 * lyx_gui.C: move lyxlookup into frontends/xforms/
12721 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12724 * BufferView_pimpl.C:
12734 * bufferview_funcs.C:
12747 * vc-backend.C: move LyX/XFormsView into frontends/
12749 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12761 * text2.C: move Painter to frontends/
12763 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12765 * buffer.C: comment out some some code that depend upon lyx_format
12768 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12769 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12771 * buffer.h (NO_COMPABILITY): turn off compability
12773 * ColorHandler.C: include scoped_array.hpp
12775 * font.C: Use more specific smart_ptr header.
12778 * ShareContainer.h: ditto
12779 * lyx_main.h: ditto
12781 * FontInfo.h: ditto
12782 * BufferView_pimpl.h: ditto
12783 * ColorHandler.h: ditto
12785 * kbmap.C (defkey): change call to shared_ptr::reset
12787 2002-05-21 Juergen Vigna <jug@sad.it>
12789 * buffer.C (insertErtContents): fix to insert ert asis if it is
12790 non empty. Skip it completely if it contains only whitespaces.
12792 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12794 * BufferView_pimpl.C:
12795 * BufferView2.C: clear selection on paste (bug 393)
12797 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12799 * DepTable.C: include ctime
12801 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12803 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12805 2002-05-14 Juergen Vigna <jug@sad.it>
12807 * text.C (breakParagraph): fixed function to honor the keepempty
12808 layout in the right maner and also to permit the right breaking
12809 algorithm on empty or non empyt keepempty paragraphs.
12811 * paragraph.C (breakParagraph): we have to check also if the par
12812 is really empty (!size()) for isempty otherwise we do the wrong
12815 2002-05-10 Juergen Vigna <jug@sad.it>
12817 * buffer.[Ch] : The following are only changes to the ert
12818 compatibility read reading old LaTeX layout and font stuff and
12819 convert it to ERTInsets.
12821 * buffer.h: added isErtInset().
12823 * buffer.C (struct ErtComp): add a fromlayout bool to check
12824 if we're inside a LaTeX layout.
12825 (isErtInset): new helper function.
12826 (insertErtContents): look for other ert insets before this one
12827 and insert the contents there, so that we don't have subsequent
12828 ERT insets with nothing between them. This way we create only one
12829 inset with multiple paragraphs. Also check if we don't insert only
12830 spaces ' ' as they are ignored anyway afterwards in the .tex file
12831 so if we have only spaces we will ignore this latex part in the
12833 (parseSingleLyXformat2Token \\layout): better compatibility when
12834 reading layout-latex stuff.
12835 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12837 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12838 stuff after reading the inset only get the information back from
12841 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12843 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12845 * LaTeXFeatures.C (getBabelOptions): New method.
12847 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12849 * BufferView_pimpl.C (Dispatch): work around missing argument for
12852 2002-05-08 Juergen Vigna <jug@sad.it>
12854 * text.C (leftMargin): handle paragraph leftindent.
12856 * paragraph.C (writeFile): write the new \\leftindent tag.
12857 (validate): handle leftindent code.
12858 (TeXEnvironment): handle paragraphleftindent code again.
12860 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12862 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12863 for paragrap_extra indent code and new token \\leftindent.
12864 (latexParagraphs): handle the leftindent as environment.
12866 * ParameterStruct.h: added leftindent support.
12868 * ParagraphParameters.C (leftIndent): added support functions for
12869 the paragraph left indent.
12871 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12874 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12876 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12879 * text.C (computeBidiTables): No bidi in insetERT.
12881 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12884 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12886 * version.C.in: pre 5
12888 2002-05-02 José Matos <jamatos@fep.up.pt>
12889 * buffer.C (makeDocBookFile): white space changes, add newline to
12891 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12893 * tabular.C (docBook): fix typo.
12895 2002-05-03 Juergen Vigna <jug@sad.it>
12897 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12898 change in LyXText as we can not be sure it was not freed.
12899 (drawOneRow): remove unused code.
12901 * text.C (drawInset): redo the calculation of the need_break_row as
12902 it could have a row which was already freed.
12903 (draw): look at the return value of drawInset and return false if
12904 it also returned false.
12905 (paintRowText): look at the return value of draw and return false if
12906 it also returned false.
12908 * lyxtext.h: added bool return type to drawInset() and draw() so that
12909 if we have a change in the row so that the rowbreak has to be redone
12910 we abort drawing as it will be called again.
12912 2002-05-02 Juergen Vigna <jug@sad.it>
12914 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12915 a change in the maintext also if we're inside an inset.
12916 (Dispatch): set the cursor again after a break line and after the
12917 screen has been updated as it could be we're in a different row.
12919 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12920 to set the cursor behind the pargraph with > size().
12921 (setCursor): check also for the same paragraph when checking where
12922 to put the cursor if we have a NFR inset.
12924 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12925 parts of layout read further up as it still was in the wrong
12928 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12930 * screen.C (drawFromTo): change sine fullRebreak always return
12933 * buffer.C (parseSingleLyXformat2Token): reindent some
12935 * BufferView_pimpl.C (update): change since fullRebreak always
12937 (Dispatch): git rid of the last hardcoded "Standard"s.
12939 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12941 * text2.[Ch] (fullRebreak): make it return void now that we always
12944 2002-04-30 Juergen Vigna <jug@sad.it>
12946 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12947 ert compatibility check for "latex" layout.
12949 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12951 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12952 minipages: use col% instead of p%, and also use the current font.
12953 (makeLaTeXFile): Fix use babel condition.
12954 (parseSingleLyXformat2Token): Correct font when reading old floats.
12956 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12958 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12959 inserting list of floats.
12961 2002-04-25 Herbert Voss <voss@lyx.org>
12963 * MenuBackend.C (expand): don't add the graphics extensions to the
12966 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12968 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12969 non-existing layout, do not complain if it was the default layout
12970 of the original class (bug #342)
12972 2002-04-24 Juergen Vigna <jug@sad.it>
12974 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12975 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12977 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12979 * buffer.C (getBibkeyList): If using \bibliography, return the
12980 option field with the reference itself. Enables us to provide natbib
12981 support when using \bibliography.
12983 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12985 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12987 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12988 natbib is provided by the LaTeX class.
12990 2002-04-23 Juergen Vigna <jug@sad.it>
12992 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12995 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12997 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12999 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13001 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13002 ensuremath around textordmasculine, textordfeminine and
13005 2002-04-19 Juergen Vigna <jug@sad.it>
13007 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13008 reinitializing the buffer otherwise row-dimensions may be wrong.
13009 (update): reset also the selection cursors if they do exits otherwise
13010 their x/y positions may be wrong.
13012 * text2.C (cursorDown): don't enter the inset if we came from a row
13013 above and are one row over the inset.
13015 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13016 really leaving an inset.
13018 2002-04-18 Juergen Vigna <jug@sad.it>
13020 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13021 of the selected paragraph does not have the selected layout also if
13024 * text2.C (setLayout): fixed bug which did not change last selected
13027 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13028 changed the read and substituted \\end_float with \\end_inset!
13030 * BufferView_pimpl.C (cursorPrevious):
13031 (cursorNext): fixed to make it work with rows heigher than the work
13032 area without moving the cursor only the draw of the row.
13033 (workAreaMotionNotify): fix jumping over high rows.
13035 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13037 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13040 2002-04-16 Juergen Vigna <jug@sad.it>
13042 * text2.C (setCursor): set also the irow().
13043 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13045 (cursorDown): support for locking an inset if the x_fix value goes
13046 inside it. That way I can transverse insets too with cursor up/down.
13048 * lyxrow.h: added irow helper function same as other (i) functions.
13050 * BufferView_pimpl.C (cursorPrevious):
13051 (cursorNext): fixed for insets!
13053 2002-04-15 Juergen Vigna <jug@sad.it>
13055 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13056 position otherwise it is wrong in some cases.
13058 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13059 inside the inset before the call.
13061 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13063 * buffer.[Ch] (getBibkeyList): make it const.
13065 2002-04-12 Juergen Vigna <jug@sad.it>
13067 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13069 * text2.C (getCursorX): new helper function
13070 (setCursor): compute also ix_
13071 (setCursorFromCoordinates): set also ix.
13073 * lyxcursor.h: added ix_ and helper functions.
13075 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13077 * buffer.C (insertStringAsLines): dont break paragraph if the this
13078 paragraph is inside an inset which does not permit it!
13080 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13081 also with no chars on this paragraph.
13082 (paintRowText): only paint stuff if it's inside the workarea!
13084 * paragraph.C (breakParagraph): honor keepempty flag and break the
13085 paragraph always below not above.
13087 * BufferView2.C (unlockInset): update the paragraph layout on inset
13088 unlock as we changed paragraph in such a case.
13090 * lyxfind.C (LyXFind): clear the former selection if not found!
13092 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13093 again called in insertChar().
13095 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13096 an inset which uses the whole row!
13097 (rightMargin): ditto.
13098 (insertChar): force a rebreak if we inserted an inset!
13100 2002-03-28 Herbert Voss <voss@lyx.org>
13102 * lyxlength.[Ch]: add inBP() to get the right PS-point
13103 units (BigPoint). With inPixels we have rounding errors
13105 2002-04-11 Juergen Vigna <jug@sad.it>
13107 * text2.C (setCursorFromCoordinates): set iy to the right value.
13108 (setCursor): add check if row->previous exists!
13110 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13111 an old float_type as this was the case in the old code!
13113 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13115 * BufferView2.C (showLockedInsetCursor): use iy
13116 (fitLockedInsetCursor): ditto
13118 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13119 locked insets as there we have the right value now.
13121 * lyxcursor.C: added iy_ variable and iy functions to set to the
13122 baseline of cursor-y of the locked inset.
13124 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13125 (setCursor): fixed for insets which need a full row.
13127 * text.C (rowLastPrintable): don't ignore the last space when before
13128 an inset which needs a full row.
13129 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13130 as last character of a row when before a inset which needs a full row.
13132 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13134 * version.C.in: update date
13136 * text2.C (fullRebreak): try to always return true and see what
13139 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13141 * MenuBackend.C (expand): use Floating::listName
13143 * FloatList.C (FloatList): add listName argument to the built-in
13146 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13147 text associated with the float.
13149 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13151 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13153 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13155 * ShareContainer.h: add a couple of missing typenames.
13157 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13159 * lyxrc.C (getDescription): use _() correctly rather than N_().
13161 2002-03-28 Herbert Voss <voss@lyx.org>
13163 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13164 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13166 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13168 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13169 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13171 2002-03-29 Juergen Vigna <jug@sad.it>
13173 * lyxfunc.C (dispatch): add a missing fitCursor call.
13175 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13176 it was scrolled by a cursor move, so return the bool status.
13178 * BufferView.C (fitCursor): return the bool flag also to the outside
13179 world as this is needed.
13181 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13183 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13184 call the edit() as it is not needed (and wrong) IMO.
13185 (workAreaButtonPress): set the screen_first variable before evt.
13186 unlock the inset as this may change screen_first and then we have
13187 a wrong y position for the click!
13189 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13191 * MenuBackend.C (expand): another translation that I missed
13193 2002-03-28 Juergen Vigna <jug@sad.it>
13195 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13197 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13199 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13201 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13203 * MenuBackend.C (expand): fix export/view/update when there is no
13206 2002-03-27 Herbert Voss <voss@lyx.org>
13208 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13211 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13213 * bufferview_funcs.C (currentState): only show paragraph number
13214 for is DEVEL_VERSION is set.
13216 * lyxfunc.C (dispatch): put warning in INFO channel
13218 * MenuBackend.C (expand): translate the name of floats
13220 * FloatList.C (FloatList): mark the float names for translation
13222 * converter.C (convert): use LibScriptSearch
13224 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13226 * MenuBackend.C (defaults): fix default menu (we might as well get
13229 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13231 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13234 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13236 * lyxvc.C: reorder includes.
13238 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13240 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13243 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13245 * CutAndPaste.C: change layouts earlier on paste
13246 to avoid crashing when calling getFont()
13248 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13250 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13253 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13255 * WorkArea.C: remove 'Pending' debug message.
13257 * most files: ws cleanup
13259 * buffer.[Ch]: ws changes
13261 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13263 2002-03-21 Juergen Vigna <jug@sad.it>
13265 * tabular.C (SetMultiColumn): collapse also the contents of the
13266 cells and set the last border right. Added a Buffer const * param.
13268 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13270 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13273 2002-03-19 Juergen Vigna <jug@sad.it>
13275 * text2.C (clearSelection): reset also xsel_cache.
13277 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13278 where it needs to be called (John tells us to do so too :)
13279 (selectionLost): reset sel_cache.
13281 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13283 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13285 * text2.C (setCursorIntern): put debuging code in INSETS channel
13287 2002-03-19 André Pönitz <poenitz@gmx.net>
13289 * lyxfunc.C: tiny whitespace change
13291 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13293 * ToolbarDefaults.C (init):
13294 * LyXAction.C (init):
13296 * BufferView_pimpl.C (Dispatch):
13297 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13299 2002-03-19 Allan Rae <rae@lyx.org>
13301 * exporter.C (Export): removeAutoInsets before doing anything else.
13302 While I've just introduced a dependency on BufferView this really is
13303 the best place to clean the buffer otherwise you need to cleanup in
13304 a dozen places before calling export or cleanup in a dozen functions
13307 * converter.C (runLaTeX):
13308 (scanLog): Better handling of removeAutoInsets and screen updates.
13310 * lyxfunc.C (dispatch): small whitespace changes
13312 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13314 * WorkArea.C (C_WorkAreaEvent): return a value.
13315 (event_cb): return 1 if we handled the event, 0 otherwise.
13317 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13319 2002-03-18 Juergen Vigna <jug@sad.it>
13321 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13322 (GetAdditionalWidth): ditto.
13323 (RightLine): ditto.
13326 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13327 inset if we're there actually (probably not used right now but this
13328 is the direction to go for unifying code).
13329 (paste): disable code to clear the selection.
13331 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13332 inside an InsetText and move the check further up as it is in the
13335 * text2.C (pasteSelection): set a selection over the pasted text.
13337 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13339 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13340 and libgraphics to build on Cygwin.
13342 2002-03-15 Juergen Vigna <jug@sad.it>
13344 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13345 inserting an Inset into the paragraph. I know this is not the best
13346 fix but we already use current_view in CutAndPaste so we will remove
13347 all of it's using at the same time.
13349 * buffer.C (sgmlError): deactivated function till it is rewritten in
13350 the right mode, now it can create problems.
13352 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13353 before accessing it.
13355 2002-03-14 Juergen Vigna <jug@sad.it>
13357 * undo_funcs.C (textHandleUndo): do the right thing when updating
13358 the inset after the undo/redo.
13360 * text2.C (setCursor): just some testcode for #44 not ready yet.
13362 * undo_funcs.C (textHandleUndo): set the next() and previous()
13363 pointers of the paragraph to 0 before deleting otherwise we have
13364 problems with the Paragraph::[destructor].
13366 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13367 on a paragraph insertion.
13369 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13371 * buffer.C (asciiParagraph): use += operator for char append to
13374 * paragraph.C (getFontSettings): compare >= not just >
13375 (highestFontInRange): ditto
13378 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13380 * paragraph.C: change several algorithm to be more appripriate for
13381 the problem domain. This is lookip in FontList and in the InsetList.
13383 2002-03-13 André Pönitz <poenitz@gmx.net>
13386 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13388 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13393 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13395 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13397 * Painter.C (display): anon helper function, adjust code for this
13399 (pixmap): remove function.
13401 * Painter.h: remove private display variable.
13403 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13405 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13407 * WorkArea.[Ch]: remove figinset_canvas cruft.
13409 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13411 * lyxtextclass.C (operator): add one item cache optimization.
13413 * bufferlist.h: doxy changes
13415 * bufferlist.C: ws changes
13417 * DepTable.[Ch] (ext_exist): place const in the right spot.
13419 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13421 (workAreaExpose): call resizeInsets when the with BufferView changes.
13422 (Dispatch): adjust for protectedBlank removal
13423 (specialChar): call updateInset if the insert went ok.
13425 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13426 specialChar instead.
13428 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13430 * BufferView.h: doxy change
13432 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13434 * lyxtextclass.C (operator[]): remove non-const version
13435 (defaultLayout): remove non-const version
13437 2002-03-12 Juergen Vigna <jug@sad.it>
13439 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13440 did resize the LyXText too.
13442 * buffer.C (readLyXformat2): set layout information on newly allocated
13445 * tabular.C (OldFormatRead): set layout information on the paragraph.
13447 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13449 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13451 2002-03-11 Juergen Vigna <jug@sad.it>
13453 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13455 (resizeCurrentBuffer): force also the insets to resize themselfes.
13456 (moveCursorUpdate): fixed up for InsetText.
13458 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13461 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13462 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13463 value of Dialogs::tooltipsEnabled().
13464 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13466 2002-03-08 Juergen Vigna <jug@sad.it>
13468 * BufferView_pimpl.C (updateInset): update inset inside inset also
13469 if it isn't inside theLockingInset().
13471 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13473 * buffer.C (asciiParagraph): redo some of the word and line length
13475 (getLists): look for Caption instead of caption.
13477 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13479 * buffer.C (Buffer): initialize niceFile to true
13481 (makeLinuxDocFile):
13482 (makeDocBookFile): make sure niceFile is true on exit
13484 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13486 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13488 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13490 * LyXSendto.C: remove.
13491 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13492 * lyx_gui.C: remove now-redundant comment.
13493 * ColorHandler.h: remove forward declaration of class WorkArea.
13494 * lyxfunc.C: remove #include "WorkArea.h".
13496 2002-03-07 Juergen Vigna <jug@sad.it>
13498 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13499 got moved away with the DEPM and also set the inset_owner always
13500 right which before could have been omitted.
13502 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13504 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13505 wanted layout is not found.
13507 2002-03-07 Juergen Vigna <jug@sad.it>
13509 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13511 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13513 * paragraph.C (breakParagraph): use default layout not layout of
13515 (Paragraph): clear ParagraphParameters.
13517 2002-03-06 Juergen Vigna <jug@sad.it>
13519 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13520 otherwise it would not be a valid lenght. Fixed a special case in
13521 the minipage compatibility read where we end the document with a
13524 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13525 was set as it could be 0 for InsetTexts first entry.
13527 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13529 * paragraph.C (writeFile): if layout is empty write out
13530 defaultLayoutName().
13532 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13533 file without named layout we set layout to defaultLayoutName().
13535 2002-03-06 Juergen Vigna <jug@sad.it>
13537 * CutAndPaste.C (copySelection): set layout for new paragraph.
13539 * text.C (prepareToPrint): leave ERT inset left aligned
13540 (leftMargin): don't indent paragraphs inside ERT insets
13542 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13544 * paragraph.C (breakParagraph): dont call clear do the work manually
13546 * paragraph.[Ch] (clear): remove function
13548 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13550 * paragraph.C (Paragraph): dont call clear, the work has already
13553 * lyxtextclass.C (operator): assert if n is empty
13555 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13556 work manually instead.
13558 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13560 * BufferView_pimpl.C: protect selectionLost against text == 0
13562 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13564 * text.C (breakParagraph): fix a setting layout to '0' problem.
13566 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13568 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13569 final location of file, for the included files, and graphics.
13571 2002-03-05 Juergen Vigna <jug@sad.it>
13573 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13575 2002-03-04 Juergen Vigna <jug@sad.it>
13577 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13579 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13580 last column of multicolumn cells.
13581 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13583 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13585 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13586 file if it doesn't go to a temporary file.
13588 * buffer.C (sgmlOpenTag):
13589 (sgmlCloseTag): remove extra newline insertion.
13591 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13593 * text.C (getRowNearY): comment out debug msg
13595 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13597 * text2.C: first -> first_y
13599 * text.C (getRowNearY): add some attemts at a possible
13600 optimization, not working.
13602 * tabular.[Ch]: add BufferParams to several function so that newly
13603 created paragraph can be initialized to he default layotu for the
13606 * tabular-old.C (ReadOld): add buf->params to call of Init
13608 * screen.C: rename text->first to text->first_y
13610 * paragraph.C (breakParagraph): always set layout in the broken
13613 * lyxtextclass.C (Read): remove lowercase
13616 (delete_layout): ditto
13618 * lyxtext.h: rename first -> first_y
13620 * lyxlayout.C (Read): remove lowercase
13623 (obsoleted_by): ditto
13625 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13627 * buffer.C (insertErtContents): add params are to InsetERT
13628 (parseSingleLyXformat2Token): add code to check if a paragraphs
13629 layout really exist.
13630 (parseSingleLyXformat2Token): add params to several inset
13632 (asciiParagraph): remove lowercase, do the layout comparisons with
13635 * BufferView_pimpl.C (cursorNext): first -> first_y
13636 (resizeCurrentBuffer): first -> first_y
13637 (updateScrollbar): first -> first_y
13638 (scrollCB): first -> first_y
13639 (workAreaMotionNotify): first -> first_y
13640 (workAreaButtonPress): first -> first_y
13641 (checkInsetHit): first -> first_y
13642 (cursorPrevious): first -> first_y
13643 (cursorNext): first -> first_y
13644 (Dispatch): add buffer_->params to severl inset contructors
13646 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13648 * lyxlayout.C (Read): remove some debug info that I forgot.
13650 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13651 clean up the code slightly.
13652 (makeLinuxDocFile): ditto
13653 (makeDocBookFile): ditto
13655 * text2.C: layout as string
13657 * text.C: layout as string
13659 * paragraph_pimpl.C: layout as string
13661 * paragraph.[Ch]: layout as string
13663 * lyxtextclasslist.[Ch]: layout as string
13665 * lyxtextclass.[Ch]: layout as string
13667 * lyxtext.h: layout as string
13669 * lyxlayout.[Ch]: layout as string
13671 * lyx_cb.C: layout as string
13673 * bufferview_funcs.C: layout as string
13675 * bufferparams.C: layout as string
13677 * buffer.C: layout as string
13679 * LyXView.[Ch]: layout as string
13681 * LaTeXFeatures.[Ch]: layout as string
13683 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13685 * BufferView_pimpl.C: change current_layout to string, remove
13690 (workAreaButtonRelease): layout as string
13692 * BufferView2.C (unlockInset): adjust
13694 * vspace.C (asLatexCommand): use an explict temp variable.
13696 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13698 * Makefile.am: use FRONTEND_*
13700 2002-03-01 Juergen Vigna <jug@sad.it>
13702 * tabular.C (SetWidthOfMulticolCell): changed to something better
13703 I hope but still work in progress.
13704 (recalculateMulticolumnsOfColumn): renamed function from
13705 recalculateMulticolCells as it is more appropriate now.
13706 (SetWidthOfCell): calculate multicols better.
13708 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13710 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13712 * lyxfunc.C (processKeySym): print sequence also if it is
13713 `deleted' (complete)
13715 * kbsequence.C (print): print sequence even if it is deleted
13716 (complete would be a better word, actually).
13718 * lyxfunc.C (dispatch): print complete options after a prefix key
13720 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13722 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13724 * text2.C (setCharFont): eliminate setCharFont code duplication.
13726 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13728 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13729 LFUN_TABULAR_FEATURE (bug #177)
13731 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13733 * Makefile.am: remove figure.h
13735 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13737 * Bufferview_pimpl.C:
13749 * text2.C: remove #include "lyx_gui_misc.h".
13751 * LaTeX.C: added #include <cstdio>
13753 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13755 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13756 that the paragraph following this one can have.
13758 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13760 * vspace.C (asLatexCommand): fix bogus gcc warning
13762 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13764 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13766 * text2.C (setLayout): get rid of redundant code
13768 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13770 * text2.C (incDepth): make sure depth cannot be increased beyond
13773 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13775 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13776 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13778 * PainterBase.h (image):
13779 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13780 a LyXImage const *.
13782 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13786 * BufferView_pimpl.C:
13787 * BufferView_pimpl.h:
13807 * sp_spell.C: remove fig inset, and the crap house of
13808 cards that follows it
13810 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13815 * os2_errortable.h:
13816 * nt_defines.h: move .h into support/
13818 * vms_defines.h: remove
13820 * WorkArea.C: add space in debug output
13824 * buffer.C: add WITH_WARNINGS
13828 * bufferlist.C: s/retrive/retrieve/, add docs
13837 * chset.C: add docs
13839 * lyxgui.C: add ID to X error handler
13841 * lyxtestclass.c: fix typo
13843 2002-02-26 Juergen Vigna <jug@sad.it>
13845 * tabular_funcs.C (write_attribute): changed so that some default
13846 attributes are not written at all.
13847 (getTokenValue): set default values before trying to read the
13848 value so we have the return value always set as default if we don't
13849 find the token we search for.
13851 * tabular.C (Write): write bools as bools not as strings!
13853 2002-02-22 Juergen Vigna <jug@sad.it>
13855 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13856 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13858 * text.C (leftMargin): don't add an indent for paragraphs inside
13859 tabular cells (fix #208).
13861 2002-02-21 José Matos <jamatos@fep.up.pt>
13863 * tabular.C (docBook): fixed support for long tables.
13865 2002-02-20 Juergen Vigna <jug@sad.it>
13867 * text2.C (getFont): get the drawing font of the Inset if this
13868 paragraph is inside an inset (only important for InsetERT for now).
13870 * buffer.C (insertErtContents): use new lanugage params in ERT
13873 * CutAndPaste.C: commenting out seemingly uneeded code.
13875 2002-02-19 Allan Rae <rae@lyx.org>
13877 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13878 Iterators might be simple to use but they also get invalidated.
13879 (removeAutoInsets): renamed saved cursor tracking variables and added
13880 some comments to clarify what everything does.
13882 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13889 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13890 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13893 * vc-backend.h: remove #include "support/syscall.h"
13897 * converter.C: rearrange #includes in Lars' approved fashion.
13899 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13900 forward declare class Timeout in the header file.
13902 * XFormsView.C: changes due to the above.
13904 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13905 similar to LyXView.
13907 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13908 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13910 2002-02-18 José Matos <jamatos@fep.up.pt>
13912 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13915 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13917 * a lot of small ws changes
13918 * add a lot of using std::XXX
13919 * use std construcs some places where approp.
13920 * use some exisint stuff from lyxfunctional where approp.
13921 * Make file changes to use partial linking (lets test this now...)
13923 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13927 remove #include "support/syscontr.h" as it's redundant. Always has been.
13935 change Systemcalls::System to Systemcalls::Wait and
13936 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13937 No change of functionality, just reflects the stripped down Systemcalls
13940 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13942 * debug.[Ch]: add a GRAPHICS type to the enum.
13944 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13946 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13948 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13951 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13953 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13954 match the changes below.
13956 * text2.C (toggleInset): if there is not editable inset at cursor
13957 position, try to see if cursor is _inside_ a collapsable inset
13960 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13962 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13963 document menu has a nice checkbox
13965 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13967 * lyxlength.C (asLatexString): change PW to output as percent of
13970 * lengthcommon.C: change '%' to 't%'
13972 * lyxfunc.C (dispatch): a few comments from Martin
13974 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13978 * BufferView_pimpl.h:
13979 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13982 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13984 * vspace.C (inPixels): fix compiler warning
13986 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13988 * lyxfunc.C (getStatus): fix status message for disabled commands.
13990 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13992 * BufferView_pimpl.C: fix crash on close buffer
13993 during selection (#227)
13995 2002-01-27 Herbert Voss <voss@lyx.org>
13997 * buffer.C: link old Figure to new graphic inset
13999 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14001 * FontLoader.C (getFontinfo): Change the latex font names in order
14002 to match the names of type1inst.
14004 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14006 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14008 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14009 (extchanged): ditto
14011 (remove_files_with_extension): ditto
14012 (remove_file): ditto
14015 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14016 document is smaller than the work area height. Do not initialize
14017 static variables to 0.
14019 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14021 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14023 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14024 LFUN_LAYOUT_PARAGRAPHS.
14026 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14027 tabular. It is possible to provide a possible cell, which will
14028 typically be the actcell from the corresponding insettabular
14030 * lyxfunc.C (getStatus): small cleanup; disable
14031 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14034 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14036 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14038 * paragraph.C (startTeXParParams):
14039 (endTeXParParams): new methods. The LaTeX code to
14040 start/end paragraph formatting
14041 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14042 empty (fixes bug #200)
14044 * vspace.C (inPixels): adapt to the change below
14045 (inPixels): [later] more cleanups (remove unused variables)
14047 * lyxlength.C (inPixels): change to use a width and a height as
14050 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14052 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14053 Replaced with \paperwidth
14055 * DepTable.C (insert): add std:: qualifier
14057 2002-01-18 Allan Rae <rae@lyx.org>
14059 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14062 * text.C (drawInset): Turned out I didn't know enough about how
14063 rebreaking worked. This fixes most of the redraw problems. I see
14064 an occasional cursor trail when a line is broken now and the cursor
14065 placement can seem out by a few pixels also after a rebreak.
14067 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14069 * buffer.C (parseSingleLyXformat2Token): update because minipage
14070 width is now a LyXLength
14072 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14074 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14077 2002-01-17 Juergen Vigna <jug@sad.it>
14079 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14081 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14082 is set correctly and the inset is updated correctly.
14084 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14086 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14087 the beginning of the loop.
14089 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14091 * lyxrc.C: improve help for use_scalable_fonts
14093 2002-01-17 Allan Rae <rae@lyx.org>
14095 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14097 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14099 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14100 make sure to set their inset_owner to the right value (bug #171)
14102 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14105 * DepTable.C: Implement mtime checking to reduce time spent doing
14108 2002-01-16 Juergen Vigna <jug@sad.it>
14110 * tabular.C (GetAdditionalHeight): one of error fixed.
14112 * lyxrc.C (output): small fix in writing use_pspell.
14114 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14116 * sp_base.h: #include LString.h
14118 2002-01-16 Allan Rae <rae@lyx.org>
14120 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14121 Can someone check this please?
14123 * text.C (drawInset): It was possible that p.row would be removed by
14124 breakAgainOneRow upsetting a few other settings. There may be another
14125 small tweak possible by setting need_break_row = 0 when p.row has been
14126 removed but I don't know enough about the logic here.
14128 2002-01-15 Allan Rae <rae@lyx.org>
14130 * text.C (insertChar): removed conditional truism.
14132 * BufferView2.C (removeAutoInsets): More tweaks.
14133 cur_par_prev could be a stray pointer. Check for trailing empty line
14134 in case last line was cur_par and only had an error inset on it.
14136 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14138 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14141 * vc-backend.C (most methods):
14142 * exporter.C (Export):
14143 * converter.C (convert):
14145 * LyXSendto.C (SendtoApplyCB):
14146 * lyxfunc.C (dispatch):
14150 * lyx_cb.C (AutoSave):
14152 * BufferView_pimpl.C (MenuInsertLyXFile):
14153 * buffer.C (runChktex): use Buffer::filePath().
14155 * buffer.h: rename filename to filename_; rename filepath to
14156 filepath_ and make it private
14157 (filePath): new method
14159 * buffer.C (writeFile): use fileName()
14162 * lyx_main.C (init): fix starting of LyX when the binary is a
14163 link from so,ewhere else.
14165 * minibuffer.C: include <cctype> for isprint
14167 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14169 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14170 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14171 name clash with InsetCollapsable's width function.
14173 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14175 * lastfiles.C: include <iterator>
14177 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14179 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14182 * buffer.C (makeLaTeXFile): ditto.
14183 Also make loop operation more transparent.
14185 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14187 * ToolbarDefaults.C: remove trailing comma closing namespace.
14189 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14191 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14194 * trans.C (Load): comment out unused variable, allowed.
14196 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14198 * minibuffer.[Ch] (append_char): new method to recieve input from the
14199 drop-down completion browser. If a key was pressed, then recieve this
14200 char and append it to the existing string.
14201 (peek_event): modify the positioning data passed to the completion
14202 browser so that it can be placed above the minibuffer rather than below.
14203 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14205 * LyXAction.C (init): alloe error-next for readonly documents.
14207 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14210 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14212 * bufferlist.C (readFile): create the buffer _after_ checking that
14215 * lyxfunc.C (verboseDispatch): fix handling of arguments
14217 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14219 * lyxrc.C: use string::erase() instead of initializing to "".
14222 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14224 * BufferView_pimpl.h:
14225 * BufferView_pimpl.C:
14228 * text2.C: tell X when we have made a selection for copying
14230 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14232 * BufferView_pimpl.C (MenuInsertLyXFile):
14233 * lyxfunc.C (menuNew):
14235 (doImport): add shortcuts to directory buttons
14237 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14240 * lyxfunc.C (setStatusMessage):
14241 (getStatusMessage): new methods
14242 (getStatus):use setStatusMessage instead of setErrorMessage
14243 (dispatch): when function is disabled, set error message here
14244 [instead of in getStatus previously]
14246 * BufferView_pimpl.C (workAreaButtonRelease): update
14247 toolbar/menubar here too.
14249 2002-01-13 Allan Rae <rae@lyx.org>
14251 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14252 Now seems indestructible. Remaining task is to audit all other
14253 code affected by deleteEmptyParagraphMechanism. One small quirk
14254 left is that an empty document with an error in the preamble can
14255 be made to report an error but no error box appears. I don't know
14257 (removeAutoInsets): Improved comments.
14259 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14262 * Thesaurus.C: update for Aiksaurus 0.14
14264 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14266 * text2.C (firstParagraph): removed member function, all uses
14267 replaces with ownerParagraph
14268 (redoParagraphs): here
14269 (updateInset): here
14270 (toggleAppendix): here
14271 * BufferView2.C (insertErrors): here
14272 (setCursorFromRow): here
14274 2002-01-13 Allan Rae <rae@lyx.org>
14276 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14277 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14278 There is still a way to segfault this although you may have to do this
14279 multiple times: Have an InsetERT with an unknown command in it.
14280 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14281 <down-arrow>, <Enter> again, View->DVI, BANG!
14283 * text2.C (setCursor):
14284 (deleteEmptyParagraphMechanism):
14285 * lyxtext.h (setCursor):
14286 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14287 Making use of the return value may help fix other bugs.
14289 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14291 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14293 * LyXView.C (updateMenubar): call MenuBar::update here
14294 (updateToolbar): but not here
14295 (showState): do not update toolbar/menubar
14297 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14298 should need to care about that.
14300 * lyxfunc.C (verboseDispatch): simplify a bit
14301 (getStatus): have a version which takes a pseudoaction, and
14302 another which requires a (kb_action,string).
14304 * LyXAction.C (retrieveActionArg): make it work also when action
14305 is not a pseudo-action.
14306 (getActionName): simplify a bit
14309 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14311 * lyxfunc.C (verboseDispatch): new families of methods with
14312 several ways to specify a command and a bool to indicate whether
14313 the command name and shortcut should be displayed in minibuffer
14314 (eventually, we could extend that to a finer bitmask like
14315 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14316 (dispatch): the pristine dispatch command which just, well,
14317 dispatchs! Note it still sets its result to minibuffer; I'm not
14320 * lyxfunc.h: remove setHintMessage
14322 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14324 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14326 * BufferView_pimpl.C (specialChar): delete new inset if we have
14327 not been able to insert it.
14329 * kbmap.C: revert to using int instead of kb_action, since all we
14330 are dealing with is pseudo-actions.
14332 * LyXAction.C (searchActionArg): change to return int instead of
14333 kb_action, since the result is a pseudoaction.
14335 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14337 * buffer.C (insertErtContents): Fix (partially) the font bug.
14339 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14341 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14342 as the other one is broken on my machine!
14344 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14347 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14349 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14351 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14352 reflect their actual use. Provide compatibility code for older lyxrc
14355 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14357 change names of popup font variables in line with the changes to lyxrc.C
14359 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14361 * buffer.C (asciiParagraph): avoid outputing a word twice after
14364 * lyxrc.C (getDescription): document that document_path and
14365 template_path can be empty.
14367 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14369 * LaTeXFeatures.C (getMacros):
14370 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14372 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14374 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14376 (getPackages): rename feature "floats" to "float". Use an array to
14377 iterate over 'simple' features (i.e. just a \usepackage). Add
14378 handling of "amsmath" (renamed from "amsstyle").
14380 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14382 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14385 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14387 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14388 FuncStaus::FuncStatus & FuncStaus::some_method().
14390 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14392 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14393 of the func_satus stuff. Edited and massaged in various ways by
14396 * lyxfunc.C (getStatus): use FuncStatus
14398 2002-01-08 Juergen Vigna <jug@sad.it>
14400 * text.C (nextBreakPoint): use function Inset::isChar().
14402 * paragraph.C (TeXOnePar): use function
14403 Inset::forceDefaultParagraphs.
14405 * buffer.C (latexParagraphs): use function
14406 Inset::forceDefaultParagraphs.
14408 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14410 * lyx_gui.C (init): set the style of the menu popups to
14411 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14413 2002-01-07 Juergen Vigna <jug@sad.it>
14415 * text.C (setHeightOfRow): small fix
14416 (prepareToPrint): don't look at alignment if we don't have the place
14419 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14421 * box.C: New file. Move the Box methods and functions out of box.h,
14422 following Lars' suggestion.
14424 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14426 * box.h: #include "support/LOstream.h", needed for inlined function.
14429 * lyxtextclasslist.C: added some using std declarations.
14431 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14433 * box.h: make signed dimensions to allow insets wider than
14434 the screen (bug #162)
14436 * BufferView_pimpl.C: add some insetHit debug
14438 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14440 * vc-backend.C: add FIXME
14442 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14444 * lyxfunc.C (getStatus): enable code for showing math font status
14447 2002-01-07 Juergen Vigna <jug@sad.it>
14449 * text.C (nextBreakPoint): removed debug output not needed anymore.
14451 2002-01-06 Juergen Vigna <jug@sad.it>
14453 * text.C (nextBreakPoint): fixed up this function we had this bug
14454 since ever but now hopefully we break row better.
14455 (insertChar): we have to check if an inset is the next char as it
14456 could now happen that a large inset is causing a break.
14458 2002-01-05 Juergen Vigna <jug@sad.it>
14460 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14461 if it doesn't like to be drawed.
14463 2002-01-04 Juergen Vigna <jug@sad.it>
14465 * BufferView2.C (lockInset): forgot to set a cursor.
14467 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14469 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14471 * FormMathsPanel.C:
14474 * form_maths_panel.C:
14475 * form_maths_panel.h:
14476 * form_maths_panel.fd: implemented sub- and super- buttons in math
14479 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14480 (or ^ space) to be used as in TeX (req'd by Andr�.
14482 * lyxfunc.C: Allow ^ and _ again to be used both as
14483 super/subscript (mathed) and as themselves (in text).
14485 2002-01-03 Allan Rae <rae@lyx.org>
14487 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14488 "LyX" or the filename of the current buffer if it has one. This is a
14489 modified form of John Levon's patch.
14491 * XFormsView.C (setWindowTitle): also set icon title.
14493 * LyXView.h (setWindowTitle): signature changed.
14494 * XFormsView.h (setWindowTitle): ditto.
14496 2002-01-02 Juergen Vigna <jug@sad.it>
14498 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14500 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14502 * screen.C (topCursorVisible): introduce a temp var for
14503 text->cursor.row(), handle the case where this row is null. (kindo
14506 * text2.C (setCursor): add a couple of asserts.
14508 * paragraph.h (inset_iterator): add -> operator
14510 * paragraph.[Ch] (autoDeleteInsets): remove member function
14512 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14513 cursor pos correctly and handle inset deletion by itself.
14514 (insertErrors): move iterator declaration out of for expression
14516 * lyxtextclass.C: add <algorithm>
14518 * Makefile.am: added the new files to sources, removed layout.C
14520 * layout.C: removed file
14522 * layout.h: remove LYX_DUMMY_LAYOUT
14524 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14528 * lyxtextclass.[Ch]:
14529 * lyxtextclasslist.[Ch]: new files
14531 * include order changes to a lot of files, also changes because of
14534 2001-12-27 Juergen Vigna <jug@sad.it>
14536 * buffer.C (asciiParagraph): more fixes.
14538 * tabular.C (ascii): make ascii export support export of only the
14539 data separated by a column-delimiter.
14540 (ascii): better support for ascii export.
14542 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14544 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14546 * tabular_funcs.C: use a "using std::getline" instead of the
14547 previous fix from Angus (necessary for cxx + lyxstring)
14549 2001-12-24 Juergen Vigna <jug@sad.it>
14551 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14553 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14554 problems. First check a minipage also if we have some ert-contents
14555 (not only on par->size(), second set the right depth of the paragraph
14556 on the relink to the root-paragraph-list!
14558 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14559 which then did not anymore update the main paragraphs on undo/redo!
14561 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14563 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14564 code. Support all font-changing funcs (even those which are not in
14565 menu currently). Support for reporting font settings in
14566 mathed (disabled until Andre provides a function on mathed's side).
14568 * func_status.h (toggle): small helper function to set toggle
14571 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14573 * tabular_funcs.C: getline -> std::getline
14575 2001-12-21 Juergen Vigna <jug@sad.it>
14577 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14578 accessed and could be 0 (I couldn't generate this but it seems
14581 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14583 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14584 * tabular_funcs.h: here and include iosfwd
14586 2001-12-20 Juergen Vigna <jug@sad.it>
14588 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14589 inside inset but undo_par was.
14591 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14593 * Thesaurus.C: always include <config.h> in sources.
14597 * box.h: do not include <config.h> in header files
14599 * text.C (paintLastRow): remove unused variable
14601 * text.C (transformChar):
14603 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14605 * Painter.C (text):
14606 * font.C (width): rewrite to use uppercase() instead of
14609 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14611 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14613 * lyxfind.C: clean up of find failure position change
14615 2001-12-20 Juergen Vigna <jug@sad.it>
14617 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14619 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14620 (TeXRow): added to LaTeX a single tabular row.
14621 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14622 (Latex): simplified and finally good LT-h/f support.
14623 (various_functions): just small adaptions for LT-h/f support.
14625 * tabular_funcs.[hC]: added and moved here all not classfunctions
14628 2001-12-19 Juergen Vigna <jug@sad.it>
14630 * tabular.[Ch]: better support for longtabular options (not finished
14633 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14635 * text.C (paintLastRow): use the label font instead of the font of
14636 the last character to compute the size of *_BOX. This makes more
14637 sense and avoids a crash with empty paragraphs.
14638 Use Painter::rectangle to draw EMPTY_BOX.
14640 2001-12-19 Juergen Vigna <jug@sad.it>
14642 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14643 the paragraphs if the replaced paragraph is not the first one!
14644 Tried to delete not used paragraphs but does not work yet so for
14645 now it's inside #ifdef's and by default off!
14647 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14649 * MenuBackend.C: include "lyx_main.h" instead of declaring
14650 lastfiles (actually was declared as LastFiles* instead of a
14653 2001-12-17 Juergen Vigna <jug@sad.it>
14655 * tabular.C (AppendColumn): applied John's fix
14657 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14661 * BufferView_pimpl.h:
14662 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14665 * box.h: new start of class for above
14667 * lyxfunc.C: ignore space-only minibuffer dispatches.
14668 Show the command name when it doesn't exist
14670 * minibuffer.C: don't add empty lines to the history
14672 * minibuffer.C: add a space on dropdown completion
14674 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14676 * text.C: fix line above/below drawing in insets
14678 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14680 * lyxlength.C (LyXLength): Initialize private variables.
14682 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14684 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14685 when inserting error insets.
14687 2001-12-13 Juergen Vigna <jug@sad.it>
14689 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14690 actually sometimes the before-paragraph.
14691 (setUndo): don't clear the redostack if we're not actually undoing!
14693 2001-12-06 Juergen Vigna <jug@sad.it>
14695 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14696 and fixed redoing of main paragraph, so we can use it now ;)
14698 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14700 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14702 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14705 2001-12-13 André Pönitz <poenitz@gmx.net>
14708 * undo_func.C: minor cleanup
14710 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14712 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14713 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14714 font in urw-fonts package which is marked as -urw-fontspecific and
14715 does not work (incidentally, changing the encoding in the
14716 fonts.dir of this package to -adobe-fontspecific fixes the
14719 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14720 is a crash when undoing first paragraph (Juergen, please take a
14721 look). THis does not mean the undo fix is wrong, just that it
14724 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14725 the (Paragraph*) version when needed instead of duplicating the
14728 * text.C (workWidth): use Inset::parOwner to find out where the
14729 inset has been inserted. This is a huge performance gain for large
14730 documents with lots of insets. If Inset::parOwner is not set, fall
14731 back on the brute force method
14733 * paragraph_pimpl.C (insertInset):
14734 * paragraph.C (Paragraph):
14735 (cutIntoMinibuffer): set parOwner of insets when
14736 inserting/removing them
14738 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14740 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14746 * mathed/formulabase.C:
14747 * mathed/math_cursor.[Ch]:
14748 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14751 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14753 * lyxlength.[Ch] (operator!=): new function
14755 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14757 * text.C (workWidth): use Inset::parOwner to find out where the
14758 inset has been inserted. This is a huge performance gain for large
14759 documents with lots of insets. If Inset::parOwner is not set, fall
14760 back on the brute force method
14762 * paragraph_pimpl.C (insertInset):
14763 * paragraph.C (Paragraph):
14764 (cutIntoMinibuffer): set parOwner of insets when
14765 inserting/removing them
14767 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14769 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14771 * tabular-old.C (getTokenValue):
14772 * tabular.C (getTokenValue):
14773 (write_attribute): new versions for LyXLength
14774 (everywhere): adjust the use of widths
14776 * tabular.h: change the type of widths from string to LyXLength
14778 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14780 * paragraph.C: fixed missing line number count when exporting
14781 Environments to LaTeX file
14783 * buffer.C: added informational message for checking line numbers.
14785 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14787 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14788 paragraph, do the 'double space' part, but not the 'empty
14791 * text.C (workWidth): small optimization
14792 (getLengthMarkerHeight): use minimal size for negative lengths.
14794 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14796 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14798 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14800 2001-12-11 André Pönitz <poenitz@gmx.net>
14803 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14805 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14807 * text2.C: keep selection on a setFont()
14809 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14811 * lyx_cb.C: another bv->text misuse, from insert label
14813 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14816 * kbsequence.C: re-instate nmodifier mask
14818 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14820 * lyx_main.h: make lyxGUI private.
14822 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14824 * lyxfind.C: place the cursor correctly on failed search
14826 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14828 * text.C (getLengthMarkerHeight): for small heights, the arrows
14829 are not always on top/bottom of the text
14830 (drawLengthMarker): smaller arrows; take the left margin in
14831 account; draw also vfills.
14833 (paintLastRow): remove special code for vfill and standard spaces,
14834 since everything is handled in drawLengthMarker now.
14836 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14838 * buffer.C (insertErtContents): try to handle font and language
14839 interaction a bit better.g
14841 * ColorHandler.C (updateColor): change the hash to cover the whole
14842 LColor enum, ws cleanup
14843 (getGCLinepars): ditto
14844 (getGCLinepars): only lookup in the linecache once.
14846 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14848 * iterators.C (operator++): Make the iterator more robust
14850 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14852 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14854 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14857 * text.C: better added space drawing
14859 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14862 * BufferView2.C: fix layout combo update on inset unlock
14864 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14866 * Makefile.am: don't compile unused files
14868 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14872 * LyXAction.C: remove old LFUN_LAYOUTNO
14874 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14876 * paragraph_pimpl.h:
14877 * paragraph_pimpl.C: isTextAt() doesn't need font param
14879 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14882 * lyxlex.C: little cleanup
14884 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14886 * BufferView_pimpl.C: fix insertAscii for insets
14888 2001-12-05 Juergen Vigna <jug@sad.it>
14890 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14891 set the right font on the "multi" paragraph paste!
14893 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14899 * lyxlength.C: remove out-commented code.
14901 * BufferView_pimpl:
14915 * vc-backend.C: change "while(" to "while ("
14917 * lyxlength.[Ch]: add zero function to check if length is zero or
14919 * lyxgluelength.C: use it
14921 2001-12-05 Allan Rae <rae@lyx.org>
14923 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14924 Works for 2.95.3, from what I understand of Garst's reports this should
14925 work for other g++ versions. We're screwed if the abs(int) definition
14926 changed between bugfix releases of gcc.
14928 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14930 * text.C: fix chapter label offset !
14932 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14935 * text.C: fix hfill at end of line, clean up
14937 2001-12-04 Juergen Vigna <jug@sad.it>
14939 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14940 that we force an update of the inset and it's owners if neccessary.
14942 2001-12-03 Juergen Vigna <jug@sad.it>
14944 * text.C (rowLast): simplified code
14946 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14948 * lyxfunc.C: fix show options on timeout
14950 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14952 * screen.C (topCursorVisible): scroll half a page when the cursor
14953 reached top of bottom of screen
14955 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14957 * minibuffer.C: deactivate on loss of focus
14959 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14961 * vspace.[Ch] (operator!=): add operator.
14963 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14965 * BufferView_pimpl.C: refuse to open an inset when
14966 there's a selection.
14968 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14970 * BufferView_pimpl.C: allow to click on RHS of full row insets
14972 2001-11-30 Juergen Vigna <jug@sad.it>
14974 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14975 insets for undo reasons.
14977 2001-11-28 André Pönitz <poenitz@gmx.net>
14979 * vspace.[Ch]: cosmetical changes
14981 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14991 * kbsequence.C: part re-write of old kb code
14994 * WorkArea.C: remove Lgb_bug_find_hack
14996 2001-11-30 José Matos <jamatos@fep.up.pt>
14998 * buffer.C (makeDocBookFile): add a comment to point a hack.
14999 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15000 Fixed a double write of labels.
15002 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15005 * LaTeX.h Fixed bug in LaTeX class where it would not
15006 re-run latex if no depfiles were changed, but the .dvi was removed.
15008 2001-11-28 André Pönitz <poenitz@gmx.net>
15010 * all the files from the change on 2001/11/26:
15011 use lyx::layout_type instead of LyXTextClass::size_type
15012 use lyx::textclass_type instead of LyXTextClassList::size_type
15014 2001-11-29 Juergen Vigna <jug@sad.it>
15016 * text.C: added support for paragraph::isFreeSpacing()
15018 * buffer.C: same as above
15020 * paragraph.h: inserted isFreeSpacing() function to enable
15021 FreeSpacing inside InsetERT.
15023 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15024 of the paragraph's in the cut/copy buffer to 0!
15026 * text2.C (removeRow): remove the assert as it can!
15028 * lyxtext.h: added helper function firstRow returning firstrow and
15029 made firstrow private again.
15031 * BufferView2.C (lockInset): don't relock if we're already locked!
15033 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15034 the only paragraph.
15035 (removeRow): added Assert::(firstrow)
15037 * debug.C: forgot to add INSETTEXT here.
15039 2001-11-28 Juergen Vigna <jug@sad.it>
15041 * sp_spell.C (initialize): changed error text to more general
15042 spellchecker command use (not only ispell!)
15044 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15046 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15048 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15050 * vspace.C: initialise lyxgluelength on failure
15052 2001-11-28 Allan Rae <rae@lyx.org>
15054 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15055 declaration & definition that looks like a function declaration.
15057 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15059 * BufferView2.C (copy):
15060 (copyEnvironment): do not clear the selection when doing a copy.
15062 * text.C (paintFirstRow): compilation fix
15064 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15066 * tabular.C (Latex): correct line count when writing latex.
15068 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15070 * paragraph_pimpl.h:
15071 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15074 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15078 * LColor.C: change vfillline->added_space
15080 * text.C: add markers and text for added space
15082 * vspace.C: fix comment
15084 2001-11-28 André Pönitz <poenitz@gmx.net>
15086 * paragraph.C: whitespace changes
15087 * all the other files from the change on 2001/11/26:
15088 change *::pos_type into lyx::pos_type
15090 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15092 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15093 language of the document when inserting error insets.
15095 2001-11-26 André Pönitz <poenitz@gmx.net>
15097 * BufferView_pimpl.[Ch]:
15105 * paragraph_pimpl.[Ch]:
15108 * text2.C: reduce header dependencies, introduce type for positions
15110 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15112 * <various>: change to use Alert.h
15114 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15116 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15117 when encountering an unknown token.
15118 (readLyXformat2): Show an error message if there were unknown tokens.
15120 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15123 * BufferView_pimpl.C:
15127 * text2.C: use par->isInset()
15129 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15131 * paragraph_pimpl.h:
15132 * paragraph_pimpl.C: cleanup
15134 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15136 * text2.C (removeRow):
15137 * text.C (setHeightOfRow): remove useless (and costly) call to
15140 2001-11-20 Allan Rae <rae@lyx.org>
15142 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15143 Now need Inset*::checkInsertChar() to return true for appropriate
15144 cases so that the characters in the minibuffer will actually be
15147 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15149 * text.C: change the order of the includes.
15150 (workWidth): initialize it at once.
15151 (workWidth): make maxw unsigned
15152 (setHeightOfRow): remove unused variable (inset)
15153 (selectSelectedWord): remove unused variable (inset)
15154 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15156 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15158 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15159 server is not running.
15161 (closeConnection): add debug info when server is disabled.
15163 * ColorHandler.C (getGCForeground): send debug message to GUI
15166 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15168 * kbmap.C (bind): modify because return conventions of
15169 kb_sequence::parse have changed.
15171 * kbsequence.C (parse): only ignore spaces and not any stupid
15172 control character. This avoids tests like s[i] <= ' ', which are
15173 guaranteed to fail with 8bit characters and signed chars.
15174 Change return code to string::npos when there have been no error
15175 (0 was a bad idea when error is at first character)
15177 2001-11-14 José Matos <jamatos@fep.up.pt>
15180 * buffer.C (simpleDocBookOnePar): removed unused argument.
15182 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15184 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15185 insets which are part of a word. Paragraph::isLetter takes care of
15186 that now. Use Paragraph::isInset to identify insets.
15187 (selectSelectedWord): do not test for hyphenation break.
15189 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15190 that protected spaces are considered as spaces.
15192 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15195 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15198 * lyxserver.C: fix it. and small cleanup.
15200 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15202 * BufferView_pimpl.C: use inline helpers
15205 * LaTeXFeatures.C: fix typos
15208 * Spacing.C: move spacing_string into class
15210 * ToolbarDefaults.C: move stuff into namespace anon
15212 * layout.h: update enum
15214 * lyxfunc.C: use better debug
15216 * minibuffer.h: fix typo
15220 * WorkArea.C: add and use Debug::WORKAREA
15224 * text2.C: code re-organisation, inline helpers
15226 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15228 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15229 std::vector.empty().
15231 2001-11-09 Allan Rae <rae@lyx.org>
15233 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15234 '\n's after tables. Tabular and ERT inset work now makes this no
15237 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15240 * minibuffer.C: fix crash, improve drop-down completion
15242 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15245 * lyxserver.C: invalidate fd's when doing endPipe()
15247 2001-11-08 José Matos <jamatos@fep.up.pt>
15249 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15250 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15253 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15255 2001-11-07 José Matos <jamatos@fep.up.pt>
15258 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15261 * buffer.C (sgmlOpenTag):
15262 * buffer.C (sgmlCloseTag): removed debug info.
15264 * buffer.h (sgmlOpenTag):
15265 * buffer.h (sgmlCloseTag): made public.
15267 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15269 * buffer.C (saveParamsAsDefaults):
15270 * lyx_cb.C (MenuLayoutSave): remove
15272 * LyXAction.C (init):
15274 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15276 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15278 * buffer.C (setPaperStuff): removed from here...
15280 * bufferparams.C (setPaperStuff): ... and moved there.
15282 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15286 * XFormsView.C: add support for drop-down completion
15288 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15290 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15293 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15295 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15298 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15300 * lyx_main.C: change ref to known bugs
15302 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15304 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15305 to work around older babel problems.
15307 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15309 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15311 2001-10-24 Juergen Vigna <jug@sad.it>
15313 * tabular-old.C (ReadOld): below variable changes reflected.
15315 * tabular.[Ch]: added ltType struct for longtable header/footer
15316 defines and changed all instances where they are used. Added
15317 future support for double top/bottom rows.
15319 2001-10-24 José Matos <jamatos@fep.up.pt>
15321 * buffer.h (docbookHandleCaption):
15322 * buffer.C (docbookHandleCaption): removed unused function.
15323 (makeDocBookFile): moved docbook supported version to v4.1.
15325 2001-10-24 José Matos <jamatos@fep.up.pt>
15328 * tabular.C (docbookRow): new function to export docbook code of a row.
15329 (DocBook): now honors the longtable flags.
15331 2001-10-23 José Matos <jamatos@fep.up.pt>
15334 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15335 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15337 * buffer.C (makeLinuxDocFile):
15338 (makeDocBookFile): reworked the preamble, more clean, and with
15339 support for lyx defined entities. Changed the document declaration
15340 to be more XML friendly.
15342 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15343 if we need to output XML that should be done with a filter.
15345 2001-10-22 Juergen Vigna <jug@sad.it>
15347 * sp_pspell.h (class PSpell): add alive function needed in the
15348 controller to see if the spellchecker could be started.
15350 2001-10-22 Juergen Vigna <jug@sad.it>
15352 * buffer.C (insertStringAsLines): modify the font for inserting
15353 chars in certain conditions by calling checkInsertChar(font).
15355 2001-10-19 Juergen Vigna <jug@sad.it>
15357 * text.C (workWidth): use getRow instead of wrong algorithm.
15358 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15360 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15365 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15367 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15369 * text.C (workWidth): do not search for the exact row when
15370 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15371 optimization for big documents.
15373 2001-10-18 Juergen Vigna <jug@sad.it>
15375 * text.C (workWidth): new function with added Inset * parameter.
15377 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15379 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15381 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15382 change return type of getColumnNearX.
15385 * text.C (changeRegionCase): use uppercase/lowercase instead of
15388 (rightMargin): simplify code by factoring out the uses of
15393 (appendParagraph): use Paragraph::size_type
15395 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15397 * vspace.C (asLatexString): add a missing break
15399 2001-10-15 Herbert Voss <voss@perce.de>
15401 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15403 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15405 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15408 2001-10-10 André Pönitz <poenitz@gmx.net>
15410 * lyxfunc.C: removed greek_kb_flag.
15412 2001-10-10 Herbert Voss <voss@perce.de>
15414 * lyx_main.C: delete global string help_lyxdir.
15416 2001-10-09 Herbert Voss <voss@perce.de>
15418 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15420 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15422 * lyx_main.C: added global string help_lyxdir.
15424 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15426 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15428 * lyxrc.C (set_font_norm_type): support iso8859-4
15430 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15432 * LaTeX.C (deplog): add another regex for MikTeX
15434 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15436 * lyxrc.C (set_font_norm_type): support iso8859-3
15438 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15440 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15442 * LaTeXFeatures.C: remove special case of french and index
15444 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15445 before \begin{document}). This solves several incompatibilities.
15447 2001-10-03 Garst Reese <reese@isn.net>
15449 * lyx_cb.C: change CheckTex error msg.
15451 2001-10-03 José Matos <jamatos@fep.up.pt>
15453 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15455 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15457 * .cvsignore: update
15459 * lyx_main.C (commandLineVersionInfo): use new style version info.
15461 * buffer.C (writeFile):
15463 (makeLinuxDocFile):
15464 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15466 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15468 * version.h: update to use stuff in version.C
15470 * version.C.in: new file. Contains version information determined
15471 at compile time. This is a merging of version.h and
15474 2001-10-03 Juergen Vigna <jug@sad.it>
15476 * BufferView_pimpl.C (update): don't change "dirty" status in
15479 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15481 * WorkArea.C (c-tor): re-position version string slightly.
15483 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15485 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15486 revert to previous code.
15488 WorkArea.[Ch]: (show, destroySplash): methods removed.
15490 WorkArea.C: rework code so that it's an amalgam of the codes before and
15491 after the splash screen was moved to WorkArea.
15493 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15496 * vspace.C (inPixels):
15499 * buffer.C (insertStringAsLines):
15500 (asciiParagraph): fix types to be large enough
15502 * lyxlex_pimpl.h: change member status from short to int
15504 * layout.h: fix type of endlabeltype
15507 * kbsequence.C (parse): change return type to string::size_type
15509 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15512 * Bullet.C (bulletSize):
15513 (bulletEntry): do not use short ints as parameters
15515 * BufferView2.C (insertLyXFile): change a char to an int.
15517 * WorkArea.C (WorkArea): remove unneeded floats in computation
15519 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15521 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15523 * paragraph.C (asString): Do not ignore newline/hfill chars when
15524 copying to the clipboard.
15526 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15528 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15529 after a multi-line inset.
15531 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15533 * paragraph.C (validate): Set NeedLyXFootnoteCode
15535 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15537 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15538 and decrease-error to decrease.
15540 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15542 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15543 it more readable (should be equivalent)
15545 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15547 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15549 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15551 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15552 of a cursor (row, etc.) after a character has been deleted
15553 (deleteEmptyParagraphMechanism): call the method above on _all_
15554 cursors held by the LyXText when a double space has been
15557 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15559 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15561 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15563 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15564 background. Use greyOut() and the new show() methods to toggle between
15565 the foreground and background. Add code to remove the splash after
15566 its initial showing.
15568 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15569 (create_forms): no longer call Dialogs::showSplash.
15571 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15573 * .cvsignore: add version_info.h
15575 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15577 * version_info.h.in: new file
15579 * Makefile.am: add version_info.h.in
15581 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15582 version_info.h instead of VERSION_INFO
15584 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15586 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15587 The ERT inset now returns string().
15589 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15591 * lyxtext.h, text.C (selectNextWord): renamed as
15592 selectNextWordToSpellcheck.
15594 * text.C (selectNextWordToSpellcheck): Modified to not select
15595 words inside an ERT inset.
15597 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15599 * lyx_cb.C (MenuLayoutSave): change a bit the question
15601 * sp_base.h: include <sys/types.h>
15603 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15605 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15607 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15609 * several files: fix typos in user-visible strings
15611 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15613 * text2.C (pasteSelection): do not set the selection, since it
15614 will be cleared later. Actually, the intent was to fix the way the
15615 selection was set, but I figured rmoving the code was just as good.
15617 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15619 * FontLoader.C (available): Check if font is available without
15622 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15624 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15626 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15628 * lyxrc.[Ch]: added display_graphics variable and associated code.
15630 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15632 * bufferparams.C (hasClassDefaults): new method. Returns true if
15633 the buffer parameters correspond to known class defaults
15635 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15637 * XFormsView.C (show): set minimum size to the main window.
15639 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15641 * text2.C (copySelection):
15643 * lyxfind.C (LyXReplace):
15644 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15645 LyXText::selectionAsString.
15647 * paragraph.C (asString): add "label" argument to the second form
15649 * text2.C (selectionAsString): add "label" argument and pass it to
15650 Paragraph::asString.
15652 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15654 * lyx_main.C (commandLineHelp): remove version information
15656 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15658 * lyx_main.C: add -version commandline option
15660 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15662 * paragraph.h: make the optional constructor arg required instead.
15663 some modifications to other files because of this.
15665 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15667 * lyxserver.C (C_LyXComm_callback): make it static
15669 * lyx_main.C (error_handler): make it static
15671 * lyx_gui.C (LyX_XErrHandler): make it static
15673 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15675 * WorkArea.C: make the extern "C" methods static.
15677 * Makefile.am (lyx_LDADD): simplify
15679 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15681 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15682 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15684 * LyXAction.C (init):
15685 * lyxfunc.C (dispatch): associated code removal.
15687 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15689 * lyxfont.h (isSymbolFont): shut off warning
15691 * text.C (setHeightOfRow):
15692 (getVisibleRow): fix crash with empty paragraphs which have a
15695 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15697 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15700 2001-09-04 José Matos <jamatos@fep.up.pt>
15703 * tabular.C (docbook): rename docBook method to docbook.
15705 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15707 * Makefile.am: add dependencies to main.o.
15709 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15711 * FontLoader.C (available): Return false if !lyxrc.use_gui
15713 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15715 * FontInfo.C (query):
15716 * converter.C (view):
15717 * importer.C (Import):
15718 * exporter.C (Export): Can not -> cannot.
15720 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15722 * BufferView_pimpl.C: allow to create index inset even if
15725 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15727 * buffer.C (getLists): replace boost::tie code with an explicit pair
15728 as boost::tie can break some compilers.
15730 * iterators.h: Added a std:: declaration to the return type of
15733 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15735 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15738 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15740 * iterators.[Ch]: New files. Provide paragraph iterators.
15742 * buffer.C (changeLanguage): Use paragraph iterators.
15743 (isMultiLingual): ditto
15745 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15747 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15749 * FontLoader.C: Support for cmr font.
15751 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15753 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15754 (available): New method.
15756 * FontInfo.C (getFontname): Use scalable fonts even when
15757 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15760 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15762 * converter.C (Formats::view): reverted! Incorrect fix.
15764 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15766 * converter.C (Formats::view): only output the -paper option
15767 if the dvi viewer is xdvi, thereby fixing bug #233429.
15769 2001-08-23 Herbert Voss <voss@perce>
15771 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15773 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15775 * Spacing.h (Spacing): Set space to Default on in the default
15778 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15780 * vc-backend.h (RCS::versionString): add RCS to version
15781 (CVS::versionString): add CVS to version
15783 * vc-backend.C (scanMaster): do not add CVS to version.
15784 (scanMaster): do not add RCS to version
15786 * lyxvc.C (versionString): new method
15788 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15790 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15792 * Spacing.C (set): initialize fval
15794 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15796 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15799 2001-08-16 Juergen Vigna <jug@sad.it>
15801 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15803 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15805 * BufferView_pimpl.C:
15808 * text2.C: setParagraph takes linespacing now
15810 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15812 * LyxAction.C: add internal LFUN_CITATION_INSERT
15814 * LyXView.C: actually apply fix
15816 * bufferlist.C: fix open non-existent file
15818 * lyxfind.C: fix indentation
15820 * lyxfunc.C: remove unneeded assert, fix typo
15822 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15824 * MenuBackend.C: use "Floatname List"
15826 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15828 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15829 when converting LaTeX layout to insetERT.
15830 Generate a non-collapsed float when reading old float
15832 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15834 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15837 2001-08-13 Juergen Vigna <jug@sad.it>
15839 * text.C (fill): return 0 instead of 20 as this seems to be the more
15842 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15844 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15847 2001-08-13 Juergen Vigna <jug@sad.it>
15849 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15851 (SearchBackward): comment out the unlocking of the inset_owner this
15852 should not be needed!
15854 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15856 * Many files: Remove inherit_language, and add latex_language
15858 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15859 collapsible insets.
15861 2001-08-10 Juergen Vigna <jug@sad.it>
15863 * text.C (prepareToPrint): fixed hfill-width in draw!
15865 * BufferView2.C (selectLastWord): save the selection cursor as this
15866 now is cleared in the function LyXText::clearSelection!
15868 2001-08-08 Juergen Vigna <jug@sad.it>
15870 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15871 BACKSPACE type functions.
15873 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15874 is only cutted from the document but not put in the cut-buffer, where
15875 still the old stuff should be.
15877 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15879 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15881 * tabular.C (SetWidthOfCell): fixed special case where the width
15883 (LeftLine): handle '|' in align_special.
15885 (LeftAlreadyDrawed): ditto
15886 (SetWidthOfCell): ditto
15888 2001-08-07 Juergen Vigna <jug@sad.it>
15890 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15892 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15894 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15895 * lyxlex.[hC]: ditto
15897 2001-08-06 Juergen Vigna <jug@sad.it>
15899 * text.C (getVisibleRow): fix up row clearing a bit.
15901 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15903 * minibuffer.C: make sure the X server sees the changes in the input.
15905 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15907 * paragraph.C (getFont): split into...
15908 (getLabelFont): this
15909 (getLayoutFont): and this
15910 * paragraph_pimpl.C (realizeFont): calling this
15912 * text2.C (getFont): split into...
15913 (getLayoutFont): this
15914 (getLabelFont): and this
15915 (realizeFont): all three calling this
15917 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15920 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15922 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15924 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15926 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15927 layouts from the Quote inset insertion.
15929 2001-08-03 Juergen Vigna <jug@sad.it>
15931 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15933 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15934 only if status not is already CHANGED_IN_DRAW (second level).
15936 * text.C (draw): don't set the need_break_row when inside an
15939 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15941 * buffer.C (parseSingleLyXformat2Token): handle more latex
15944 * bufferview_funcs.[hC]: change function names to
15945 begin with small char, adjust other files.
15947 2001-08-02 André Pönitz <poenitz@gmx.net>
15950 BufferView_pimpl.C: remove broken special code for math-greek
15952 2001-08-02 Juergen Vigna <jug@sad.it>
15954 * BufferView_pimpl.C (update): redone this function so that we
15955 update the text again if there was a CHANGE_IN_DRAW.
15957 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15958 (drawFromTo): added a new internal bool which is used by draw() and
15960 (general): some cursor drawing problems fixed.
15962 2001-08-01 Juergen Vigna <jug@sad.it>
15964 * lyxfind.C (LyXFind): fixed
15965 (SearchForward): ditto
15966 (SearchBackward): ditto
15968 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15969 spurius drawing of the cursor in the main area.
15971 * text2.C (status): small fix which could lead to a segfault!
15972 (clearSelection): remove unneeded BufferView param.
15974 2001-08-01 André Pönitz <poenitz@gmx.net>
15976 * lyxfunc.C: small change due to changed mathed interface
15978 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15980 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15982 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15984 * lyxfunc.c: fail gracefully if file doesn't exist
15989 * BufferView_pimpl.C: IsDirWriteable() proto changed
15991 * LyXView.C: fix updateWindowTitle() to store the last title
15993 2001-07-31 Juergen Vigna <jug@sad.it>
15995 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15996 the font (wrong since using of Paragraph::highestFontInRange).
15998 * paragraph.C (highestFontInRange): added a default_size parameter.
16000 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16001 (setHeightOfRow): reformat
16003 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16005 * converter.[hC] + affected files: move to (inital-char)lowercase
16008 * ParagraphParameters.C (ParagraphParameters): remove commented code
16010 * PainterBase.[Ch]: remove commented code
16012 * LaTeXFeatures.h: add "bool floats" for float.sty
16014 * LaTeXFeatures.C (LaTeXFeatures): init floats
16015 (require): handle float
16016 (getPackages): do it with floats
16018 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16020 * BufferView_pimpl.C (Dispatch): improve handling of
16021 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16023 * commandtags.h: #include lyxfont.h here temporarily to avoid
16026 * bufferlist.h: include LString.h here.
16028 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16030 * text2.C (getStringToIndex): new method.
16032 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16034 * *: Reduced header file dependencies all over.
16036 2001-07-30 Baruch Even <baruch@lyx.org>
16038 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16040 2001-07-29 Baruch Even <baruch@lyx.org>
16042 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16044 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16046 * ParameterStruct.h (endif): add a default constructor to make
16047 sure that all variables is initialized.
16049 * ParagraphParameters.C (ParagraphParameters): adjust
16051 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16053 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16054 index; also, check that there is something to index, and that it
16055 does not span over several paragraphs.
16056 (doubleClick): use WHOLE_WORD_STRICT for double click.
16058 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16060 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16063 2001-07-26 Baruch Even <baruch@lyx.org>
16065 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16066 an InsetFig figure, backwards compatible reading of old figure code.
16068 2001-07-27 Juergen Vigna <jug@sad.it>
16070 * text2.C: font.realize function adaption.
16072 * text.C (draw): add a warnings lyxerr text if needed.
16074 * layout.C: font.realize function adaption.
16076 * language.C: add inherit_language and implement it's handlings
16078 * bufferview_funcs.C (StyleReset): remove language parameter from
16079 font creation (should be language_inherit now).
16081 * bufferparams.C (writeFile): handle ignore_language.
16083 * paragraph.C (getFontSettings): the language has to be resolved
16084 otherwise we have problems in LyXFont!
16086 * lyxfont.C (lyxWriteChanges): added document_language parameter
16087 (update): removed unneeded language parameter
16089 * paragraph.C (validate): fixed wrong output of color-package when
16090 using interface colors for certain fonts in certain environments,
16091 which should not seen as that on the final output.
16093 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16095 * BufferView_pimpl.C:
16100 * LyXAction.C: add thesaurus support
16103 * lyxfind.C: add "once" parameter, for thesaurus, to not
16104 move to the next match
16106 2001-07-26 Juergen Vigna <jug@sad.it>
16108 * lyxfont.C (realize): honor ignore_language too!
16111 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16113 * text.C (draw): one place more for ignore_language to not draw
16116 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16118 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16120 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16122 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16123 the minipage conversion problem.
16125 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16127 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16130 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16132 * BufferView.h: don't forward declare WorkArea
16134 * BufferView.C: don't include WorkArea.h
16136 2001-07-25 André Pönitz <poenitz@gmx.net>
16140 * lyxfunc.C: new LFUN 'math-space'
16142 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16144 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16146 * text2.C (toggleInset): call open/close
16148 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16150 * lyxfunc.C (dispatch): add debug for the disabled case
16152 * font.C (buttonText): make similar to rectText
16154 * buffer.C (readInset): comment out parsing of insetlist and
16157 * PainterBase.C (rectText): small correction
16159 * BufferView_pimpl.C: comment out insettheorem and insetlist
16160 * LyXAction.C: ditto
16161 * commandtags.h: ditto
16163 2001-07-24 Juergen Vigna <jug@sad.it>
16165 * text.C (draw): honor the ignore_language.
16167 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16169 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16171 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16174 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16176 * lyxtext.h: remove unused (and unimplemented) methods
16178 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16180 * text.C (getVisibleRow): honor background color
16183 * Painter.h: remove default color argument for fillRectangle
16185 * text.C (backgroundColor): new method
16187 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16189 * text.C (getVisibleRow): adjust
16191 * font.[Ch] (rectText): new method, metrics
16192 (buttonText): new method, metrics
16194 * PainterBase.[hC]: make rectText and buttonText always draw and take
16197 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16199 * ToolbarDefaults.C (read):
16200 * MenuBackend.C (read): allow escaping in all strings
16202 * BufferView_pimpl.C (insertAndEditInset): new method.
16203 (Dispatch): use insertAndEditInset whenever appropriate.
16205 * BufferView_pimpl.C (insertNote): removed
16207 * BufferView_pimpl.C (smartQuote): new method, moved from
16208 BufferView; if an insetquote cannot be inserted, insert a '"'
16211 * BufferView2.C: remove insertCorrectQuote();
16213 * lyxfunc.C (getStatus): Add support for all remaingin
16214 inset-insert lfuns.
16216 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16218 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16219 command (necessary to pass " as parameter of self-insert.
16221 * text.C (selectWordWhenUnderCursor):
16222 (selectWord): add word_location parameter
16223 (selectWordWhenUnderCursor): same + remove special code for word
16225 (selectNextWord): use kind() to guess type of insetspecialchar,
16228 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16229 (insertErtContents): create ert insets as collapsed.
16230 (readInset): better compatibility code for Info inset.
16232 2001-07-20 Juergen Vigna <jug@sad.it>
16234 * lyxfunc.C (dispatch): use always LyXFind now!
16236 * text2.C (init): add a reinit flag so that the LyXText can be
16237 reinited instead of deleted and reallocated (used in InsetText).
16239 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16245 2001-07-18 Juergen Vigna <jug@sad.it>
16247 * text.C (selectNextWord): handle insets inside inset by calling
16248 always the bv->text functions so that we can go up the_locking_inset!
16250 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16251 in strange locations when inside an inset!
16253 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16254 handling to include insets.
16256 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16258 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16260 * LyXAction.C (init):
16262 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16263 LIGATURE_BREAK, since the name is so stupid.
16265 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16267 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16270 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16272 * sp_form.[Ch]: remove.
16274 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16276 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16279 * src/buffer.C (readInset): ditto.
16281 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16283 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16284 menuSeparator(), endOfSentenceDot(), ldots() and
16285 hyphenationPoint(), which are therefore removed.
16286 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16288 * LyXAction.C (init):
16289 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16291 * paragraph.C (getWord): removed.
16293 * BufferView_pimpl.C (Dispatch): use last word or selection for
16294 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16296 * lyx_main.C (queryUserLyXDir): do not ask before creating
16297 user_dir, except if it has been named explicitely.
16299 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16301 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16302 a document of zero size.
16304 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16306 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16307 approriately in the c-tor and in require().
16308 (getPackages): output the appropriate LaTeX for natbib support.
16310 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16311 variables "use_natbib" and "use_numerical_citations" when reading the
16313 (readInset): read the various natbib cite commands.
16314 (validate): white-space change.
16316 * bufferparams.[Ch]: new variables "bool use_natbib" and
16317 "bool use_numerical_citations".
16318 (writeFile): output them in the LyX file.
16320 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16322 * lyxfunc.C (getStatus): add support for all the inset insertion
16325 * text2.C (insertInset):
16326 * paragraph.C (insetAllowed):
16327 * BufferView_pimpl.C (insertInset): update to take in account the
16328 renaming of insertInsetAllowed
16330 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16332 * text2.C (getInset): new method. returns inset at cursor position.
16334 * BufferView_pimpl.C (Dispatch): changes because of this.
16336 * LyXAction.C (init): rename open-stuff to inset-toggle.
16338 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16340 * text2.C (toggleInset): renamed from openStuff; use
16343 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16345 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16347 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16349 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16351 * buffer.C (readLyXformat2): Add filename to the error dialog
16353 2001-07-18 Juergen Vigna <jug@sad.it>
16355 * tabular.C (GetCellNumber): put an assert here instead of the check!
16357 2001-07-17 Juergen Vigna <jug@sad.it>
16359 * BufferView_pimpl.C (toggleSelection): adapted too.
16361 * text.C (selectNextWord): adapted for use with insets.
16362 (selectSelectedWord): ditto
16364 2001-07-17 Juergen Vigna <jug@sad.it>
16366 * sp_spell.C (PSpell): fix initialitation order.
16368 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16370 * paragraph.C: spacing
16372 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16374 * sp_spell.C: repair language selection for pspell
16376 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16378 * lyxfunc.h: change more methods to begin with lower char.
16380 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16382 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16383 for unknown layouts.
16385 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16387 * buffer.C (readLyXformat2): Generate an error dialog if there are
16390 2001-07-16 Juergen Vigna <jug@sad.it>
16392 * sp_spell.C: always compile ISpell part.
16394 * lyxrc.C: added use_pspell entry and it's handling.
16396 2001-07-13 Juergen Vigna <jug@sad.it>
16398 * sp_spell.C: removed double includes.
16400 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16402 Consistent use of Lsstream.h:
16403 * Lsstream.h: added using std::stringstream for consistencies sake.
16405 * buffer.C: removed using std::stringstream
16407 * lyxfont.C (stateText):
16408 * paragraph.C (asString):
16409 * text.C (selectNextWord, selectSelectedWord):
16410 * text2.C (setCounter):
16411 * vspace.C (asString, asLatexString):
16412 std::ostringstream -> ostringstream.
16414 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16416 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16417 * commandtags.h: add LFUN_HELP_ABOUTLYX
16418 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16420 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16422 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16424 * lyx_gui_misc.C: remove spellchecker
16425 * lyxfunc.C: showSpellchecker
16427 * sp_ispell.h: added
16428 * sp_pspell.h: added
16429 * sp_spell.C: added
16430 * sp_form.[Ch]: removed
16431 * spellchecker.[Ch]: removed
16433 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16435 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16437 (simpleTeXSpecialChars): Simply print the input character without
16438 any special translation if pass_thru is set.
16440 * layout.h: Added bool pass_thru to layout class for being able to
16441 implement pass through of a paragraph for Literate Programming.
16443 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16444 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16445 * layout.C (Read): add "passthru" to list of layout tags and add
16446 code to set the pass_thru boolean when it is read.
16448 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16450 * trans_decl.h: remove allowed from KmodInfo
16452 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16453 remove allowed code
16456 * paragraph_pimpl.C (erase): use boost::prior
16458 * Painter.C (text): use data() instead of c_str() when length is
16460 * WorkArea.C (putClipboard): ditto
16461 * font.h (width): ditto
16463 * BufferView2.C: use it-> instead of (*it). for iterators
16465 * paragraph_pimpl.C: ditto
16466 * paragraph.C: ditto
16467 * minibuffer.C: ditto
16468 * language.C: ditto
16470 * encoding.C: ditto
16471 * counters.C: ditto
16472 * converter.C: ditto
16474 * Variables.C: ditto
16475 * TextCache.C: ditto
16476 * MenuBackend.C: ditto
16477 * LyXAction.C: ditto
16479 * FloatList.C: ditto
16480 * DepTable.C: ditto
16481 * ColorHandler.C (LyXColorHandler): ditto
16483 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16485 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16487 * text2.C (openStuff): reintroduce this method (which had been
16488 nuked in NEW_INSETS frenzy).
16490 * lyxfunc.C (Dispatch): when an action has not been handled, use
16491 its name in the error message, not its number.
16493 * paragraph.C (inInset): change method name to begin with lowercase.
16496 * text2.C: updates because of this.
16498 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16500 * ToolbarDefaults.C (add): add spaces in error message
16502 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16504 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16505 (readLyXformat2): rename return_par to first_par, use lyxlex's
16506 pushToken and remove the manual push handling.
16507 (parseSingleLyXformat2Token): add another ert comp. variable:
16508 in_tabular, rename return_par to first_par. handle newlines better
16510 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16512 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16514 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16516 * text2.C (getParFromID): removed
16518 * buffer.C (getParFromID): new method moved form lyxtext.
16519 * BufferView2.C (insertErrors): adjust
16520 (setCursorFromRow): adjust
16521 * BufferView_pimpl.C (restorePosition): adjust
16522 * lyxfunc.C (Dispatch): adjust
16523 * undo_funcs.C (textUndo): adjust
16525 (textHandleUndo): adjust
16526 (textHandleUndo): adjust
16528 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16530 * buffer.C: up' the LYX_FORMAT
16532 * lyxfont.h: turn NO_LATEX on as default
16534 * buffer.C (insertErtContents): new methods of tex style compability.
16535 (parseSingleLyXformat2Token): use it several places.
16536 * tabular.C (OldFormatRead): and here
16538 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16540 * text2.C: remove some commented code.
16543 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16544 * trans.C: changes because of the above.
16546 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16548 * text2.C (setCounter): Fix counters bug with bibliography layout.
16550 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16552 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16553 own member functions
16554 (simpleTeXSpecialChars): ditto
16556 2001-07-06 Juergen Vigna <jug@sad.it>
16558 * a lot of files: changed the access to LyXText::status and the
16559 call of undo-functions.
16561 * undo.[Ch]: added a inset_id to the undo informations.
16563 * undo_funcs.[Ch]: added and moved here all undo functions.
16565 * lyxtext.h: give the status enum a weight, made status_ a private
16566 variable and made accessor functions for it, removed the whole bunch
16567 of undo-functions as they are now in their own file, make some
16568 functions publically available. Added function ownerParagraph with
16571 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16572 made InInset() a const function, added getParFromID() function.
16574 * buffer.[Ch]: added const version for inset_iterator functions,
16575 added getInsetFromID() function.
16577 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16578 changed undo functions for new version.
16580 2001-07-05 Juergen Vigna <jug@sad.it>
16582 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16583 unknow mechanism does not call the proper constructor but only this
16584 one also if I request the other!?
16586 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16588 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16590 * text2.C (LyXText): use initialization lists.
16592 * lyxtext.h (Selection): initialize set_ and mark_
16593 (init): remove method
16595 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16597 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16599 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16601 * screen.[Ch]: change method names to begin with lowercase
16603 * BufferView_pimpl.C (updateScrollbar): simplify further and
16604 hopefully make it a bit faster.
16606 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16608 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16609 calling directly xforms functions.
16611 * Painter.C (Painter):
16612 * lyx_cb.C (MenuWrite):
16613 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16616 * lyx_gui.C: remove bogus guiruntime extern declaration.
16618 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16620 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16622 (redoDrawingOfParagraph): ditto
16623 (redoParagraphs): ditto
16624 (cutSelection): don't create a object for CutAndPaste use the
16625 static method directly
16626 (pasteSelection): ditto
16628 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16631 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16633 * modifications to some other files because of this.
16635 * Makefile.am (lyx_SOURCES): add XFormsView
16637 * XFormsView.[Ch]: new files
16639 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16640 the main window. Move the gui dependent stuff to XFormsView
16642 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16644 * tabular.C (GetCellInset): update cur_cell also in the row/col
16645 version of this function.
16647 * lyxfunc.C: no need to include figure_form.h here.
16653 * lyxvc.C: no need to include forms.h here.
16655 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16657 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16659 * lyxfunc.C (Dispatch):
16661 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16662 constructor argument.
16664 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16666 * paragraph.C (Paragraph): dont't clear, and just set layout.
16667 (makeSameLayout): use params's copy contructor.
16669 * ParagraphParameters.[Ch] (makeSame): delete method
16671 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16673 * Variables.[Ch]: fix indentation, rename set to isSet
16675 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16677 * lyxfunc.C (Dispatch): fix typo
16679 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16681 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16684 * bufferlist.C: include assert.h for emergencyWrite().
16686 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16688 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16689 give up at last (bug #425202) !
16691 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16697 * spellchecker.C: strip spellchecker options and bring up
16698 preferences tab instead
16700 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16702 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16703 the istringstream constructor
16705 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16707 * paragraph.C (getLayout): fix return value
16709 * paragraph.h: do not declare getLayout as inline.
16711 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16713 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16715 * lyxcursor.h (operator<): new func
16716 (operator>): new func
16717 (operator>=): new func
16718 (operator<=): new func
16720 * text.C (changeCase): use selection.start and selection.end
16721 (changeRegionCase): require from to be <= to. Require par to be a
16724 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16726 2001-06-27 Juergen Vigna <jug@sad.it>
16728 * text.C (cursorLeftOneWord): changed to return the cursor and added
16729 overlay with BufferView * parameter which calls this one.
16731 (selectWord): use new getWord function.
16732 (changeCase): renamed from changeWordCase as and extended to work
16733 also on selections.
16735 * lyxtext.h: added enum word_location
16737 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16738 changeCase as this operates now also on selections.
16740 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16742 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16744 * many files: send debug output to Debug::INFO instead of
16747 * converter.C (View):
16749 (Move): send debug output to Debug::FILES instead of console.
16751 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16753 * lyxfunc.C (getStatus): use func_status
16755 * func_status.h: new header, describing the results of
16756 LyXFunc::getStatus;
16758 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16761 2001-06-25 The LyX Project <jug@sad.it>
16763 * buffer.C (sgmlOpenTag):
16765 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16767 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16769 * text2.C: remove some dead code
16771 * tabular.C (GetCellInset): store the last cell checked (gotten)
16773 * tabular.h: add the helper for the speedup
16775 * lyxtext.h: remove some dead code
16777 2001-06-26 The LyX Project <Asger>
16779 * paragraph.C: Change export to LaTeX of alignment to
16780 \begin{center} and family for better roundtrip work with reLyX.
16782 * Tune the math drawing a bit.
16784 2001-06-25 The LyX Project <Asger>
16786 * LColor.C (LColor): New color for math background. New color
16789 2001-06-25 The LyX Project <jug@sad.it>
16791 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16793 * lyxfunc.C (Open):
16794 * bufferlist.C (newFile): do not restrict to files ending with
16797 * BufferView_pimpl.C (MenuInsertLyXFile):
16799 2001-06-24 The LyX Project <jug@sad.it>
16801 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16804 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16806 * lyxtext.h: rename most methods to begin with a small char.
16807 Lots of changes because of this.
16809 * paragraph.C (Paragraph): do not call fitToSize
16810 (erase): call Pimpl::erase
16811 (insertChar): call Pimpl::insertChar
16812 (insertInset): call Pipl::insertInset
16813 (breakParagraph): do not call fitToSize
16814 (breakParagraphConservative): do not call fitToSize
16815 (fitToSize): remove method
16817 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16819 2001-06-24 The LyX Project <Asger>
16821 * Fix Qt compilation^2
16823 2001-06-24 The LyX Project <jug@sad.it>
16825 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16826 depthHook(getDepth()-1).
16829 * ParagraphParameters.h:
16830 * ParameterStruct.h: change type of depth to unsigned int ==
16831 depth_type. Many adaptations to other files before of that.
16833 2001-06-24 The LyX Project <Asger>
16835 * Fix Qt compilation.
16837 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16839 * paragraph.h: renamed several methods to begin with small letter.
16840 several changes to many parts of the code because of this.
16842 2001-06-23 The LyX Project <jug@sad.it>
16844 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16845 rewritten to discard all double spaces when KeepEmpty is off
16846 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16847 to only handle newlines but not fiddle with spaces and friends.
16849 * lyxfunc.C (MenuNew): when doing 'new from template', use
16850 template_path as default directory
16852 2001-06-23 The LyX Project <Asger>
16854 * Clean-up of header file includes all over
16855 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16857 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16859 * paragraph.h: renamed from lyxparagraph.h
16861 2001-06-23 Asger <lyx@violet.home.sad.it>
16863 * Buffer.h: Removed Buffer::resize
16864 * BufferList.h: Removed BufferList::resize
16865 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16866 the document lazily when we change the width, or the font settings.
16868 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16870 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16872 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16874 * buffer.h: remove out of date comment
16876 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16879 * screen.C: fix "theoretical" GC leak
16881 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16883 * LaTeX.C (scanAuxFile):
16884 (deplog): remove trailing \r when reading stream (useful under
16887 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16889 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16890 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16891 and BufferView::theLockingInset(Inset*), so should use them and not
16892 access bv_->text->the_locking_inset directly.
16894 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16896 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16899 * tex-defs.h: remove old unused file
16901 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16903 * BufferView_pimpl.C: fix typo, remove minibuffer message
16904 when buffer has loaded
16906 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16908 * lyxfunc.C (Dispatch): use stringstream
16909 (MenuNew): use stringstream
16910 (Open): use stringstream
16912 * importer.C (Import): use stringstream
16914 * bufferview_funcs.C (CurrentState): use stringstream
16916 * LaTeX.C (run): use stringstream
16918 * BufferView_pimpl.C (savePosition): use stringstream
16919 (restorePosition): use stringstream
16920 (MenuInsertLyXFile): use stringstream
16922 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16935 * vspace.C: removed // -*- C++ -*- as first line.
16938 * version.h: added // -*- C++ -*- as first line.
16940 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16942 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16944 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16947 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16949 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16952 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16954 * gettext.C: include LString.h even when --disable-nls is on.
16956 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16958 * converter.h (Get): changed argument type from int to
16959 FormatList::size_type to avoid unnecessary conversion.
16961 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16964 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16966 * gettext.h: include LString.h even when --disable-nls is on.
16968 2001-06-07 Juergen Vigna <jug@sad.it>
16970 * text.C (BreakAgain): subst spaces with tabs.
16972 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16973 (resizeInsetsLyXText): set force on resizeLyXText.
16975 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16977 * gettext.h (gettext_init):
16978 (locale_init): use a real definition instead of a macro
16980 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16982 * Bufferview_pimpl.C:
16984 * LColor.C: further lcolor tidies
16986 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16988 * BufferView_pimpl.C (updateScrollbar): simplify.
16990 * BufferView2.C: don't include insets/insetinfo.h, change
16991 prototype for insertInset and call the Pimpl version. let
16992 updateInset call Pimpl version.
16994 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16995 gotoInset to BufferView::Pimpl
16997 2001-06-01 Juergen Vigna <jug@sad.it>
16999 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17000 inside a LockingInset (is the update needed at all?).
17002 2001-05-31 Juergen Vigna <jug@sad.it>
17004 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17005 here not the old one otherwise how should we compare it afterwards
17008 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17013 * FontInfo.C: bring C functions into global namespace when
17016 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17018 * LString.h: make sure config.h has been loaded before LString.h.
17020 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17021 (one for each char read by EatLine!).
17023 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17026 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17028 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17029 to the same as the par we break from
17031 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17033 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17035 * MenuBackend.C (expand): also create menu entries for wide
17036 versions of the floats.
17038 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17040 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17042 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17043 frontends/Makefile.am
17049 * tabular.C (getTokenValue): add std::
17051 * tabular-old.C (getTokenValue): add std::
17052 (getTokenValue): ditto
17053 (getTokenValue): ditto
17055 * screen.C (ToggleSelection): adjust
17057 * lyxtext.h: put selection cursors inside a Selection struct.
17059 * lyxfunc.C (moveCursorUpdate): adjust
17061 * lyxfont.C (latexWriteStartChanges): add std::
17063 * lyxfind.C: adjust
17065 * font.h: delete with(char const *, LyXFont const &)
17067 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17069 * FontInfo.C (getFontname): add std::
17071 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17072 (workAreaButtonPress): adjust
17073 (tripleClick): adjust
17075 (moveCursorUpdate): adjust
17078 * BufferView2.C (gotoInset): adjust
17080 2001-05-30 Juergen Vigna <jug@sad.it>
17082 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17083 to check pspell I add this as default as I now have new pspell
17084 libraries and they seem to use this.
17086 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17088 * text2.C (CutSelection): make the cursor valid before the call to
17091 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17093 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17094 relied on 0 terminated strings and other horrors. Bug found due to
17095 the new assert in lyxstring!
17097 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17100 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17102 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17105 * lyxfunc.C (processKeySym): change method of getting to the
17108 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17109 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17110 * BufferView_pimpl.[Ch]: here as private methods.
17112 2001-05-28 Juergen Vigna <jug@sad.it>
17114 * text.C (SetHeightOfRow): added the update() call again as it is
17115 needed to initialize inset dimensions!
17117 2001-05-16 Juergen Vigna <jug@sad.it>
17119 * text2.C (SetCharFont): Add new function with BufferView * and
17120 bool toggleall parameters for setting insets internal fonts.
17121 (SetFont): Freeze the undo as we may change fonts in Insets and
17122 all this change should be inside only one Undo!
17124 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17125 setting font's in insets as for them we have the SetFont function!
17127 2001-05-15 Juergen Vigna <jug@sad.it>
17129 * text2.C (ClearSelection): to be sure we REALLY don't have any
17132 * tabular.C (TeXCellPreamble): fixed the left border problem for
17135 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17137 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17140 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17142 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17143 LFUN_BREAKPARAGRAPH.
17145 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17146 help test to "internal only", similar for LFUN_INSERT_URL
17148 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17149 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17150 auto_region_delete and deadkeys.
17152 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17155 * LColor.C: remove some dead entries, tidy a little
17157 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17159 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17161 (Dispatch): implement LFUN_ESCAPE
17163 * commandtags.h: add LFUN_ESCAPE
17165 * LyXAction.C (init): add entry for LFUN_ESCAPE
17167 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17168 Remove commented code.
17169 (insertNote): moved here
17170 (open_new_inset): moved here
17172 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17175 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17177 * kbmap.C (findbinding): clean it up and make it work correctly.
17179 * lyx_main.C (init): do not pass argc and argv as parameters
17181 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17183 * buffer.C: fix path for OS/2 & Win32
17187 * lyx_main.C: Added os:: class.
17189 * os2_defines.h: update
17191 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17193 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17194 better by trying again with reduced state.
17196 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17198 * lyxrc.C (read): print error about invalid key sequence only when
17199 debugging (because not all latinX keysyms are known to some X
17202 * kbsequence.C (getiso): add a few std:: qualifiers
17203 (getiso): comment out extra return statement.
17205 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17207 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17209 (Dispatch): enhance the accent inset a bit. (not perfect)
17211 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17213 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17215 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17217 * bufferlist.C (emergencyWrite): fix assert() call
17219 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17221 * text.C (InsertChar): Added trivial patch to only send the "you
17222 can not do multiple spaces this way" message once during a
17225 2001-05-08 Baruch Even <baruch@lyx.org>
17227 * Makefile.am: Changed order of libraries to get LyX to link properly
17228 with the gnome frontend.
17230 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17232 * LaTeXFeatures.h: add a std:: qualifier
17234 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17236 * paragraph.C (String): use stringstream
17238 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17240 * paragraph.C (writeFile): remove footflag arg
17242 * buffer.C (makeLaTeXFile): use stringstream
17243 (latexParagraphs): remove footnot gurba
17245 * LaTeXFeatures.C (getPackages): use stringstream
17246 (getMacros): likewise
17247 (getTClassPreamble): likewise
17248 (getFloatDefinitions): new method
17250 * paragraph.C (writeFile): reindent
17253 * WorkArea.h: revert the xpos + etc changes.
17255 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17257 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17259 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17260 (pasteSelection): likewise
17261 * text2.C (CreateUndo): likewise
17263 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17265 * minibuffer.C (peek_event): temporarily reduce the functionality
17266 of the minibuffer (to allow args on lfuns)
17268 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17269 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17271 * buffer.C (readInset): add compability reading of old float
17272 lists, add reading of new style float list.
17273 (readInset): avoid reevaluation of inscmd.getCmdName()
17274 (getLists): reindent
17276 * MenuBackend.C (MenuItem): implement parsing of
17277 md_floatlistinsert and md_floatinsert.
17278 (expand::LastFiles): move initalizaton of iterators out of loop,
17279 avoid reevaluation.
17280 (expand::Documents): introduce typdedef vector<string> Strings,
17282 (expand::ExportFormats): introduce typedef vector<Format const *>
17283 Formats, and use it.
17284 (expand): implement FloatListInsert and FloatInsert.
17286 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17287 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17288 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17290 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17292 (Dispatch::LFUN_FLOAT_LIST): implement
17294 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17296 * LaTeX.C (run): Fix problem with --export code.
17298 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17300 * BufferView.[Ch] (workarea): removed.
17301 (getClipboard) new method; wrapper for workarea()->getClipboard()
17303 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17306 * WorkArea.h (width, height, xpos, ypos): These methods all
17307 returned the dimensions of the work_area sub-area of WorkArea,
17308 resulting in a position error if the WorkArea were resized. Now
17309 return the dimensions of the entire WorkArea.
17311 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17313 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17315 * LaTeX.C (deplog): correct the syntax of regex reg1
17317 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17319 * undo.C: remove !NEW_INSETS cruft
17321 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17323 * text2.C: remove !NEW_INSETS cruft
17325 * text.C: remove !NEW_INSETS cruft
17327 * tabular.C: remove !NEW_INSETS cruft
17329 * spellchecker.C: remove !NEW_INSETS cruft
17331 * lyxtext.h: remove !NEW_INSETS cruft
17333 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17335 * lyxfunc.C: remove !NEW_INSETS cruft
17337 * lyxfind.C: remove !NEW_INSETS cruft
17339 * lyx_cb.C: remove !NEW_INSETS cruft
17341 * figureForm.C: remove !NEW_INSETS cruft
17343 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17345 * buffer.[Ch]: remove !NEW_INSETS cruft
17347 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17349 * CutAndPaste.C: remove !NEW_INSETS cruft
17351 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17353 * BufferView2.C: remove !NEW_INSETS cruft
17355 * BufferView.h: remove !NEW_INSETS cruft
17357 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17359 * Lsstream.h: include LString.h before the sstream headers to
17360 fix problem with gcc 2.95.3 and lyxstring
17362 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17364 * lyx_main.C: add using directives when needed for C functions
17365 declared in std:: namespace.
17367 2001-04-27 Juergen Vigna <jug@sad.it>
17369 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17370 (SetHeightOfRow): comment out the update call should not be needed!
17372 2001-04-13 Juergen Vigna <jug@sad.it>
17374 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17375 (LyXTabular): tried to minimize operator= operations (and realized
17376 hopfully Lars wish).
17378 2001-04-27 Juergen Vigna <jug@sad.it>
17380 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17382 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17384 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17386 * buffer.C (readInset): hack to make listof algorithm work
17388 * BufferView_pimpl.C: hack to make listof algorithm work
17390 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17392 * LyXAction.C: removed all !NEW_INSETS cruft
17393 (init): moved lfun_item in method
17395 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17397 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17399 * BufferView2.C (theLockingInset): white space.
17401 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17403 * minibuffer.C: include <iostream>
17405 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17407 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17409 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17411 * text.[Ch] (TransposeChars): new method
17413 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17415 * call message directly through LyXView instead of through LyXFunc
17416 * BufferView2.C: adjust
17417 * BufferView_pimpl.C: adjust
17418 * FontLoader.C: adjust
17420 * bufferview_funcs.C: adjust
17421 * converter.C: adjust
17422 * figureForm.C: adjust
17423 * importer.C: adjust
17425 * lyx_gui_misc.C: adjust
17426 * lyxfunc.C: adjust
17429 + more files in subdirs
17431 * lyxparagraph.h (size): move up int file
17434 * adjust all uses of Assert to lyx::Assert.
17436 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17437 lyxfunctional in namespace lyx
17438 * layout.C (hasLayout): ditto
17441 (delete_layout): ditto
17442 (NumberOfClass): ditto
17443 * converter.C (GetFormat): ditto
17448 * bufferlist.C (getFileNames): ditto
17449 (emergencyWriteAll): ditto
17452 * MenuBackend.C (hasSubmenu): ditto
17455 * BufferView_pimpl.C (getInsetByCode): ditto
17457 2001-04-18 Juergen Vigna <jug@sad.it>
17459 * vspace.C (asLatexString): fixed the 100% problem.
17461 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17463 * lyxfunc.C (Dispatch):
17465 * minibuffer.h: add a few std:: qualifiers
17467 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17469 * minibuffer.[Ch]: reimplement so that commands is initiated and
17470 run from lyxfunc, simplified som handling, and made the completion
17471 and history code for complete. wip.
17473 * lyxfunc.C (processKeySym): call message
17474 (miniDispatch): new temporary method
17475 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17476 (LFUN_MESSAGE): implement
17477 (LFUN_MESSAGE_PUSH): implement
17478 (LFUN_MESSAGE_POP): implement
17479 (initMiniBuffer): the initial/defualt minibuffer message.
17481 * lyxfont.[Ch]: inline some more getters
17483 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17485 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17487 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17488 (AutoSave): use LFUN_MESSAGE
17489 (Reconfigure): ditto
17491 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17493 * figureForm.C: use LFUN_MESSAGE
17495 * converter.C (runLaTeX): use LFUN_MESSAGE
17497 * bufferview_funcs.C: use LFUN_MESSAGE
17499 (changeDepth): ditto
17501 * bufferparams.h: use boost::
17503 * bufferlist.h: inherit privately from noncopyable
17505 * bufferlist.C (loadLyXFile): remove some commented code.
17507 * buffer.C (runChktex): use LFUN_MESSAGE
17509 * ShareContainer.h: inherit privately from noncopyable
17511 * ParagraphParameters.[hC] (depth): inline it.
17513 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17515 (message): new method
17516 (messagePush): ditto
17517 (messagePop): ditto
17518 (show): init minibuffer
17519 (showState): direct call
17521 * LaTeX.[Ch]: inherit privately from noncopyable
17522 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17523 instead of WriteStatus.
17525 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17527 * BufferView_pimpl.C (buffer): don't init minibuffer
17528 (workAreaButtonPress): use LFUN_MESSAGE
17529 (workAreaButtonRelease): ditto
17530 (savePosition): ditto
17531 (restorePosition): ditto
17532 (MenuInsertLyXFile): ditto
17533 (workAreaExpose): don't init minibuffer
17534 (update): remove commented code, simplify
17536 * BufferView2.C (openStuff): use LFUN_MESSAGE
17537 (toggleFloat): ditto
17540 (copyEnvironment): ditto
17541 (pasteEnvironment): ditto
17546 (updateInset): remove some commented code
17548 * lastfiles.h: inherit privately from noncopyable
17551 * lyx_main.h: ditto
17553 * lyxlex_pimpl.h: ditto
17555 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17556 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17557 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17559 * LyXAction.h: inherit privately from noncopyable, add methods
17560 func_begin, func_end, returning iterators to the func map.
17562 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17563 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17564 (func_begin): new method
17565 (func_end): new method
17567 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17569 (copySelection): ditto
17570 (pasteSelection): ditto
17572 * BufferView.C: whitespace change
17573 * BufferView.h: inherit privately from noncopyable
17575 2001-04-16 Allan Rae <rae@lyx.org>
17577 * tabular-old.C (l_getline):
17578 * spellchecker.C (sc_check_word):
17579 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17580 an unrecognised preprocessor directive. So ensure they're wrapped.
17582 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17584 * src/exporter.C (Export): Give an error message when path to file
17587 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17589 * LaTeX.C (deplog): Always check that foundfile exists.
17591 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17594 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17596 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17598 * tabular.[Ch] (getLabelList): implement new method
17600 * minibuffer.h: comment ouf setTiimer
17602 * minibuffer.C (ExecutingCB): constify res
17603 (peek_event): constify s
17604 (Set): constify ntext
17605 (Init): constify nicename
17607 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17609 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17610 (savePosition): use two params to Minibuffer::Set
17611 (restorePosition): ditto
17613 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17615 * lyx_main.C: include language.h
17617 * Makefile.am (lyx_main.o): add language.h
17619 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17625 * CutAndPaste.C: include gettext.h
17627 * lyxfont.h: remove old hack with ON and OFF.
17630 * lyxfont.h: do not include language.h...
17635 * bufferview_funcs.C:
17641 * paragraph.C: ... but do it here instead
17643 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17645 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17647 * tabular.C: small reformat
17649 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17652 (BreakParagraph): ditto
17653 (SetOnlyLayout): ditto
17656 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17659 * lastfiles.C: removed most using decl, add std:: where needed
17661 * buffer.C: ws changes
17663 * MenuBackend.C (class compare_format): put into anon namespace
17664 (expand): constify label, names, action, action2
17667 * text.C (SingleWidth): constify font
17668 (IsBoundary): constify rtl2
17669 (GetVisibleRow): constify ww
17671 * LaTeX.C (deplog): constify logfile
17673 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17675 (workAreaExpose): constify widthChange, heightChange
17677 * lyxrow.C (par): moved
17680 * lyxrow.h: as inlines here
17682 * lyxfont.h (shape): moved from lyxfont.C
17683 (emph): moved from lyxfont.C
17685 * lyxfont.C (LyXFont): use initialization list for all
17687 (shape): move to lyxfont.h as inline
17688 (emph): move to lyxfont.h as inline
17691 2001-04-04 Juergen Vigna <jug@sad.it>
17693 * vspace.C: had to include stdio.h for use of sscanf
17695 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17698 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17699 independent of xforms.
17701 2001-04-02 Juergen Vigna <jug@sad.it>
17703 * spellchecker.C: fixed namespace placing!
17705 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17707 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17708 the LyXParagraph * is 0.
17710 2001-03-29 Juergen Vigna <jug@sad.it>
17712 * vspace.C: added support for %, c%, p%, l%.
17713 (stringFromUnit): added helper function.
17714 (asLatexString): changed to give right results for the %-values.
17716 * buffer.C: convert the widthp in a width%.
17718 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17720 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17723 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17724 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17726 * lyx_cb.[Ch]: see above.
17728 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17732 * lyx.[Ch]: replaced by figure_form.[Ch].
17736 * lyxfunc.C: changed headers associated with above changes.
17738 2001-03-27 Juergen Vigna <jug@sad.it>
17740 * BufferView_pimpl.C: set the temporary cursor right!
17742 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17744 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17746 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17748 * LString.h: removed "using std::getline"!
17750 * BufferView_pimpl.C (Dispatch): changes due to changes in
17751 InsetInclude::Params.
17753 * buffer.C (tag_name): removed redundant break statements as they were
17754 producing lots of warnings with my compiler.
17756 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17758 * LString.h: add "using std::getline" when using the real <string>.
17760 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17762 * buffer.C: removed bitset usage.
17763 PAR_TAG moved to an anonymous name space.
17764 (tag_name): new funtion, also in the anonymous namespace.
17765 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17766 (makeDocBookFile): clean code. Completed transition from string arrays
17768 (SimpleDocBookOnePar): code clean.
17770 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17772 * tabular.C: add some comments.
17774 2001-03-22 Juergen Vigna <jug@sad.it>
17776 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17777 compatibility read a bit and fixed bug with minipage in different
17780 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17782 * buffer.C (pop_tag): removed.
17783 (push_tag): removed.
17784 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17785 array replaced with vector. Added support for CDATA sections.
17786 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17788 (makeDocBookFile): XML conformant declaration of CDATA section,
17789 fixed bug related to <emphasis> in the first paragraph char.
17790 (sgmlOpenTag): exclude empty tags.
17791 (sgmlCloseTag): ditto.
17793 * buffer.h (pop_tag): removed.
17794 (push_tag): removed.
17796 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17798 * language.h (Languages): added size_type and size().
17800 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17802 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17803 response on compability reading of minipages. One probliem is that
17804 the old usage of minipages was flertydig
17806 * several files here and in subdirs: don't use static at file
17807 scope use anon namespaces instead.
17809 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17811 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17812 LaTeX output. This is necessary for Literate document
17815 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17817 * buffer.C: insert hfill when needed.
17819 * tabular.C (l_getline): use string::erase, small whitespace change.
17821 * BufferView_pimpl.C: try the anon namespace.
17822 * WorkArea.C: ditto
17824 2001-03-16 Juergen Vigna <jug@sad.it>
17826 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17827 otherwise it won't open options-dialogs.
17829 * buffer.C: honor pextraWidth(p) on converting minipages.
17831 * tabular.C (l_getline): changed the functions to strip trailing \r.
17833 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17835 * BufferView_pimpl.C:
17836 * minibuffer..C: added "using SigC::slot" declaration.
17838 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17840 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17846 * paragraph.C: ditto
17848 * lyxtext.h: NO_PEXTRA
17850 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17852 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17853 * ParameterStruct.h: ditto
17854 * ParagraphParameters.h: ditto
17855 * lyxparagraph.h: ditto
17857 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17859 * buffer.C: add compability for minipage alignment.
17860 (latexParagraphs): remove unwanted pextra check.
17862 * several files: remove CXX_WORKING_NAMESPACES
17864 * buffer.C (pop_tag): tie is in namespace boost
17866 * BufferView.h: noncopyable is in namespace boost
17868 * lyx_main.h: ditto
17871 * lastfiles.h: ditto
17872 * bufferlist.h: ditto
17873 * ShareContainer.h: ditto
17875 * LyXAction.h: ditto
17878 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17880 * Merging changes from BRANCH_MVC back into HEAD.
17882 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17884 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17886 * BufferView_pimpl.C: change from intl.C
17890 * Makefile.am: move combox.*
17896 * intl.C: remove dialog (covered by prefs)
17898 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17900 * lyxfunc.C (Dispatch): removed redundant break statement.
17902 2001-03-14 Juergen Vigna <jug@sad.it>
17904 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17906 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17908 * buffer.C: add hack to fix compability reading of minipages.
17910 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17912 * buffer.C (getLists): Cleanup.
17914 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17916 * lyxfont.C (update): don't honor toggleall on font size.
17918 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17922 * Makefile.am: moved to frontends/xforms/
17926 * BufferView_pimpl.C: changes for moved mathpanel
17928 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17930 * gettext.h: fix gettext_init() in --disable-nls
17932 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17934 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17936 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17939 * lyx.h: strip external form
17941 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17943 * BufferView_pimpl.C: add comment, destroySplash()
17945 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17947 * BufferView_pimpl.C:
17951 * lyxfunc.C: use re-worked insetinclude
17953 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17955 * buffer.C: add using std::stringstream.
17957 * lyx_cb.C: readd using std::ios.
17959 * buffer.C: add using std::map.
17961 * BufferView_pimpl.C: add using std::vector.
17963 * ShareContainer.h: add std:: to swap.
17965 * buffer.h: add some typedefs
17966 * buffer.C (getLists): use them
17967 (getLists): renamed from getTocList.
17968 add a counter for the different float types and use it in the
17970 (getLists): use the same counter for the NEW_INSETS and the "non"
17973 * lyx_cb.h: remove unused items, includes, using etc.
17975 * ShareContainer.h: remove some commented code, add more comments
17976 and "documentation".
17978 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17980 * buffer.C (getTocList): make the list also when NEW_INSETS is
17983 * buffer.h: remove TocType
17985 * buffer.C (getTocList): change to return a map<string,
17986 vector<TocItem> >, implement for dynamic number of list.
17988 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17989 * text2.C (PasteSelection): adjust
17990 * CutAndPaste.C (pasteSelection): adjust
17992 * FloatList.C (FloatList): update from the new_insets branch.
17993 * Floating.[Ch]: ditto
17994 * LaTeXFeatures.C: ditto
17996 * lyxlex_pimpl.C: ditto
17998 * paragraph.C (Last): remove when NEW_INSETS is defined.
18000 * other file: changes because of the above.
18002 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18004 * lyxparagraph.h: rename next to next_, previous to previous_,
18005 make them private for NEW_INSETS. Rename Next() to next(),
18006 Previous() to previous().
18008 * other files: changes because of the above.
18010 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18013 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18016 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18018 * main.C (main): pass lyx_localedir to gettext_init().
18020 * gettext.h: remove locale_init and gettext_init macros
18022 * gettext.C (locale_init): new function
18023 (gettext_init): new function
18025 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18028 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18030 * Moved credits to frontends:
18031 * credits.[Ch]: removed
18032 * credits_form.[Ch]: removed
18033 * lyx_gui_misc.C: remove credits stuff
18036 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18038 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18040 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18041 unneeded destructor.
18043 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18044 a standalone pointer again.
18046 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18048 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18054 * ToolbarDefaults.C:
18063 * BufferView_pimpl.C: use new file dialog in GUII
18066 * lyx_cb.C: remove LayoutsCB to Toolbar
18068 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18070 * ShareContainer.h (get): add std:: qualifier
18072 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18074 * ShareContainer.h: define a proper ShareContainer::value_type
18075 type (and use typename to please compaq cxx)
18077 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18079 * lyxparagraph.h: move serveral local vars to
18080 ParameterStruct/ParagraphParameters., use ShareContainer in
18081 FontTable., make vars in FontTable private and add getter and
18084 * paragraph.C: changes because of the above.
18086 * lyxfont.h: remove copy constructor and copy assignment. (the
18087 default ones is ok), move number inside FontBits. move inlines to
18090 * lyxfont.C: add number to initializaton of statics, move several
18091 inlines here. constify several local vars. some whitespace
18092 cleanup. Dont hide outerscope variables.
18094 * Spacing.h: add two new constructors to match the set methods.
18096 * ShareContainer.h: new file, will perhaps be moved to support
18098 * ParameterStruct.h: new file
18100 * ParagraphParameters.h: new file
18102 * ParagraphParameters.C: new file
18104 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18105 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18107 * BufferView_pimpl.C: ParagraphParameter changes.
18108 * buffer.C: Likewise.
18109 * bufferview_funcs.C: Likewise.
18110 * text.C: Likewise.
18111 * text2.C: Likewise.
18113 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18115 * lyxfind.C (LyXReplace): do not redefine default argument in
18117 (IsStringInText): ditto
18118 (SearchForward): ditto
18119 (SearchBackward): ditto
18121 2001-03-06 Juergen Vigna <jug@sad.it>
18123 * lyxfind.C (IsStringInText): put parentes around expressions.
18125 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18127 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18129 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18131 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18133 * stl_string_fwd.h: add comment
18135 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18138 * tabular.C: remove unused DocBook methods
18144 killed DO_USE_DEFAULT_LANGUAGE
18146 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18148 * lyx_gui.C: do not include language.h.
18150 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18151 arguments in function implementation.
18153 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18155 * BufferView_pimpl.C: add <ctime>
18157 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18159 * BufferView_pimpl.C: add using std::find_if
18161 2001-02-27 José Matos <jamatos@fep.up.pt>
18163 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18166 2001-02-11 José Matos <jamatos@fep.up.pt>
18168 * buffer.C (makeDocBookFile): command styles now have a parameter as
18169 "title" by default.
18171 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18173 * layout_forms.[Ch]: removed
18174 * lyx_cb.[Ch]: out character
18175 * lyx_gui.C: out character
18176 * lyx_gui_misc.C: out character
18177 * bufferview_funcs.C: : out character,
18178 added toggleall as parameter in ToggleAndShow
18180 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18182 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18184 * text2.C (SetCurrentFont): Disable number property at boundary.
18186 2001-02-26 Juergen Vigna <jug@sad.it>
18188 * lyxfunc.C (getStatus): added a string argument override function so
18189 that this is correctly called from LyXFunc::Dispatch if it contains a
18190 do_not_use_argument which is used!
18191 (Dispatch): added check for "custom" export and call appropriate func.
18193 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18195 * lyxrc.C: Add language_command_local, language_use_babel and
18196 language_global_options.
18198 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18200 * buffer.C (makeLaTeXFile): Use language_use_babel and
18201 language_global_options.
18203 2001-02-23 Juergen Vigna <jug@sad.it>
18205 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18206 which works with LyXText and putted it inside BufferView. Here now we
18207 only call for that part the BufferView::Dispatch() function.
18209 * BufferView.C (Dispatch): added.
18211 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18212 functions which needs to use a LyXText over from LyXFunc.
18213 (MenuInsertLyXFile): added
18214 (getInsetByCode): added
18215 (moveCursorUpdate): added
18216 (static TEXT): added
18218 2001-02-22 Juergen Vigna <jug@sad.it>
18220 * BufferView_pimpl.C (update): call a status update to see if LyXText
18223 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18225 * vc-backend.C (revert): implement for CVS
18226 (getLog): implement for CVS
18228 2001-02-20 Juergen Vigna <jug@sad.it>
18230 * text2.C (ClearSelection): added BufferView param for inset_owner call
18232 * lyxfunc.C (TEXT): added this function and use it instead of
18233 directly owner->view()-text of getLyXText().
18235 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18237 * src/layout_forms.C: out preamble
18238 * src/layout_forms.h: out preamble
18239 * src/lyx_cb.C: out preamble
18240 * src/lyx_cb.h: out preamble
18241 * src/lyx_gui.C: out preamble
18242 * src/lyx_gui_misc.C: out preamble
18243 * src/lyxfunc.C: connect with guii preamble
18245 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18247 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18249 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18251 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18252 whether to run bibtex.
18254 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18256 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18258 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18260 * Makefile.am (lyx_SOURCES): removed bibforms.h
18262 * vspace.h: doxygen
18264 * text.C (GetVisibleRow): make several local vars const
18266 * tabular.C: small cleanup.
18268 * lyxserver.C (callback): use compare instead of strncmp
18270 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18271 inlines to after class or to paragraph.C
18273 * lyxfont.h: remove friend operator!=
18275 * converter.h: move friend bool operator< to non friend and after
18278 * combox.h: small cleanup
18280 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18281 to inlines after class def.
18283 * buffer.C (pop_tag): use string operations instead of strcmp
18285 * bmtable.c: doxygen, small cleanup
18287 * LaTeX.h: remove friend operator==
18289 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18301 * BufferView_pimpl.C:
18302 * BufferView.[Ch]: remove cruft
18304 2001-02-14 Juergen Vigna <jug@sad.it>
18306 * lyxfunc.C: removed #if 0 unused code
18308 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18310 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18312 * text2.C (SetSelection): added a BufferView * parameter
18314 2001-02-13 Juergen Vigna <jug@sad.it>
18316 * lyxfunc.C (Dispatch): fixed protected blank problem.
18317 * BufferView2.C (protectedBlank): added LyxText * parameter.
18319 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18320 (AppendColumn): same as above for column_info.
18322 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18323 (moveCursorUpdate): use a LyXText param for support of InsetText.
18325 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18326 (tripleClick): ditto
18328 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18330 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18332 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18334 * text2.C (SetSelection): set correct update status if inset_owner
18335 (ToggleFree): ditto
18337 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18339 * tabular.C: remove some commented code.
18341 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18343 * BufferView_pimpl.C: call hideSplash()
18345 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18348 * bibforms.h: remove
18351 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18352 add LFUN_CHILD_CREATE
18354 * counters.h: fix tiny typo
18359 * lyx.C: move splash to frontends/xforms/
18361 * lyx_gui_misc.C: move Include and Bibform to frontends
18363 * lyxvc.h: clarify comment
18365 * vspace.C: tiny housekeeping
18367 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18369 * text.C (PrepareToPrint): RTL Fix.
18371 * paragraph.C (GetUChar): New method.
18372 (String): Use GetUChar.
18374 * buffer.C (asciiParagraph): Use GetUChar.
18376 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18378 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18380 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18383 * buffer.C: rename to getLogName(), handle
18384 build log / latex log nicely
18386 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18389 * MenuBackend.h: remove support for reference menuitem type.
18391 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18393 * BufferView_pimpl.C: housekeeping
18394 * BufferView_pimpl.h:
18399 * minibuffer.h: move Timeout GUI-I
18401 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18403 * lyxrc.C (read): Update converters data-structures.
18405 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18407 * LaTeX.h (operator!=): add operator != for Aux_Info
18409 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18411 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18413 * LaTeXLog.C: deleted, useful code moved to Buffer
18416 * buffer.C: new function getLatexLogName()
18422 * lyxfunc.C: use frontends for LaTeX and VC logs
18424 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18426 * LaTeX.h: yet another std:: that Allan forgot.
18428 * Variables.C (set): renamed from isset(), because this clashes
18429 with some HP-UX macros (grr).
18431 2001-02-06 Allan Rae <rae@lyx.org>
18433 * LaTeX.h: Another bug fix. Missing std:: this time.
18435 2001-02-04 Allan Rae <rae@lyx.org>
18437 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18438 floats problem. I've left it commented out because it's not quite
18439 correct. It should also test that the current object is a table or
18440 figure inset. But I haven't gotten around to figuring out how to do
18441 that. I *think* it'll be something like: "table" == inset.type()
18443 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18446 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18448 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18449 all the citation/databases/styles in the auxilary file.
18450 (run): Rerun latex if there was a babel language error.
18452 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18454 * text.C (Backspace): Preserve the font when changing newline char
18456 (BreakParagraph): If the cursor is before a space, delete the space.
18458 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18460 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18462 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18463 new argument (code).
18464 (ChangeCitationsIfUnique): New method.
18466 * paragraph.C (GetPositionOfInset): Handle bibkey.
18468 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18470 * BufferView_pimpl.h: change type of Position::par_pos to
18471 LyXParagraph::size_type.
18473 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18475 * BufferView_pimpl.C (savePosition, restorePosition): Write
18476 messages to minibuffer.
18478 2001-01-28 José Matos <jamatos@fep.up.pt>
18480 * buffer.C (makeDocBookFile): adds support for document language.
18481 A silly restriction on the name of LatexCommand types where removed.
18482 Added support for CDATA sections, allows to chars unescaped, used
18483 among others in code, to avoid escape < and >.
18485 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18487 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18488 saved positions instrad of a stack. Furthermore, a position is
18489 stored using paragraph id/paragraph position.
18491 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18492 Remove LFUN_REF_BACK.
18494 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18496 * converter.C (dvipdfm_options): New method.
18498 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18500 * vspace.C (isValidLength): Fix for empty input string.
18502 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18504 * LyXAction.C (init): change description of LFUN_FIGURE to
18507 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18509 * LaTeX.C: add using directive
18511 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18513 * MenuBackend.C (expand): Fix the sorting of the formats.
18515 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18517 * lyx_main.C: tiny error message fix
18519 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18521 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18522 calling fl_initialize(). This fixes the problem with ',' as
18523 decimal separator in text files.
18525 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18527 * trans.C (process): Fix the keymap bug.
18529 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18531 * LaTeX.C (scanAuxFiles): New method. Provides support for
18532 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18533 (scanLogFile) Scan for "run BibTeX" messages.
18535 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18536 OT1 font encoding. Also, load the aecompl package if the ae
18539 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18541 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18543 * texrow.C (increasePos): turn two error messages into debug
18546 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18548 * LaTeX.C (scanAux): Handle the \@input macro.
18549 (runBibTeX): Use scanAux().
18551 * language.C (latex_options_): New field.
18553 * LaTeXFeatures.C (getMacros): Add language macros.
18555 * buffer.C (makeLaTeXFile): Small fix.
18557 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18559 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18561 * text2.C: add a using directive.
18563 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18568 * lyxfunc.C: kill LyXBell.
18570 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18572 * text.C (IsBoundary): Remove the error message
18574 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18576 * lyxrc.C (setDefaults): Correct initialization value for
18579 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18581 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18584 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18585 and GotoNextNote().
18587 * src/LyXAction.C: Added reference-next.
18589 * text.C (InsertChar): Use contains instead of strchr.
18591 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18593 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18595 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18596 alignment commands (when needed).
18598 * text.C (InsertChar): Add ':' to number separator chars.