1 2005-12-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * text.C (redoParagraph): honor inset->noFontChange()
4 * rowpainter.C (paintInset): ditto
6 2005-12-15 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8 * lyx_main.C (priv_exec): don't initialize Math on startup
9 (initMath() has been moved to math_hullinset).
11 2005-12-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13 * lyxrc.C: set default_papersize to PAPER_DEFAULT;
14 handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
15 * paper.h: dispose dead PAPER_PACKAGES enum.
17 2005-12-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
19 * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
22 2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
24 * exporter.C (Export): Don't try to copy a file if it does not exist
27 2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
29 * text2.C (makeFontEntriesLayoutSpecific): remove.
32 * text.C (insertChar): remove bogus caching of fonts (did not do
35 * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
38 2005-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
40 * rowpainter.C (paintFirst): fix centering of
41 LABEL_CENTERED_TOP_ENVIRONMENT.
43 2005-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
45 * BufferView.C (mouseSetCursor): new method. Calls
46 deleteEmptyParagraphMechanism if necessary.
48 * lyxtext.h: make deleteEmptyParagraphMechanism public.
50 * text3.C (dispatch/LFUN_MOUSE_PRESS): use
51 BufferView::mouseSetCursor (bug 2109).
52 (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
54 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
56 * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
57 do not remove it (this inset behaves differently from the others).
59 2005-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
63 * BufferView_pimpl.C (getStatus): it is only possible to insert a
66 * buffer.C (readDocument): remove pit argument and code releated
67 to it; set the inset owner correctly (unrelated, but useful).
68 (readFile): get rid of pit argument.
70 * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
71 textclass instead of a selection index.
72 (pasteParagraphList): new function.
73 (pasteSelection): make it a wrapper around pasteParagraphList.
75 * BufferView_pimpl.C (MenuInsertLyXFile): use
76 cap::pasteParagraphList to insert a file.
78 2005-11-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
80 * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
82 2005-11-17 Michael Gerz <michael.gerz@teststep.org>
84 * exporter.C: fix typo in text message
86 2005-11-28 Georg Baum <Georg.Baum@post.rwth-aachen.de>
88 * text2.C (setLayout): move recUndo call to other setLayout method
89 * tabular.C (toggleFixedWidth): new, handle cell width changes
90 * tabular.C (setColumnPWidth): move some code from insettabular.C here
91 and use toggleFixedWidth
92 * tabular.C (setMColumnPWidth): ditto
94 2005-11-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
96 * paragraph.C (asString): use new inset->textString method (fix
99 2005-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
101 * CutAndPaste.C (numberOfSelections): new helper function.
103 * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
105 * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
106 LyXFunc::getStatus; implement LFUN_PASTE.
108 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
110 * dociterator.[Ch]: new member realInset() that returns the cell
111 for tabulars and the inset for the rest (bug 1952).
112 * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
115 2005-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
117 * text.C (leftMargin): honor the NextNoIndent tag in layouts.
119 2005-11-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
123 * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
126 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
128 * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
129 line after typing ctrl-enter
131 2005-11-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
133 * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
134 math insets do not return a proper editable() state yet (bug 2124).
136 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
138 * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for
139 docs containing very large paragraphs.
141 2005-11-07 Martin Vermeer <martin.vermeer@hut.fi>
143 * cursor.C (selectionBegin, selectionEnd):
144 * text.C (drawSelection): Fix bug 2115: assertion when anchor and
145 cursor at different depths.
147 2005-11-03 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
149 * bufferview_funcs.C (coordOffset): do not call cursorPos
150 for collapsed collapsables (fix bug 2094).
152 2005-11-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
154 * paragraph.C (fontSpan): make sure that the FontSpan does not
155 span across beginOfBody (bug 1947).
157 2005-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
161 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
163 * messages.C: fix crash and localization on MinGW/Windows platform
165 2005-11-02 Angus Leeming <leeming@lyx.org>
168 * lyxtextclass.C: trivial fixes to some MSVS warnings.
170 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
172 * text3.C (getStatus): re-enable disabled code. (bug 2081)
174 * BranchList.h (empty): constify.
176 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
178 * text3.C (getStatus):
179 * MenuBackend.C (expandBranches): take the branch list from the
180 master document (bug 2092).
182 * MenuBackend.C (expandBranches):
183 * bufferparams.C (writeFile): use BranchList type.
185 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
187 * text3.C (dispatch, getStatus):
188 * LyXAction.C (init):
189 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
191 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
193 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
195 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
197 * text.C (insertChar): do not reset boundary (bug 2061)
199 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
201 * dociterator.C (updateInsets): new method. Updates the inset_
202 cache of all the slices of the iterator.
204 * text2.C (deleteEmptyParagraphMechanism): compare also containing
205 insets when comparing pit/pos; pass the right cursor to
206 recordUndo; when a paragraph has been deleted, compare `old.top()' to
207 the right cursor slice of `cur'; use updateInsets on cur to make
208 sure that the inset caches are correct; general cleanup.
210 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
212 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
213 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
214 containg inset. If this does not work, the same command will be
215 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
217 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
220 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
222 * lyxtextclass.C (Read): convert layout file if the format is wrong
223 * lyxtextclass.C (layout2layout): new, needed for the above
225 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
227 * messages.C: do not forget to include <cerrno>.
229 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
231 * dociterator.h (StableDocIterator): add access to pos().
232 * undo.C (samePar): new method to check if two
233 iterators are in the same paragraph
234 * undo.C (recordUndo): check for samePar instead of cell identity
235 (which includes pos() and is too strict) (fixes bug 2097)
237 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
239 * text.C (setCursorFromCoordinates): return a bool telling whether
242 * text3.C (cursorPrevious): update if needed after
243 setCursorFromCoordinates (when dEPM triggered).
245 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
246 (otherwise the anchor may be completely wrong and make dEPM assert).
248 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
250 * buffer.C: version upgrade to 245.
251 * bufferparams.C: remove \quotes_times (bug 2090).
252 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
253 quotation marks as default.
255 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
257 * CutAndPaste.C (nrOfParagraphs): remove (unused)
258 * CutAndPaste.C (cutSelection): Remove debug message
259 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
260 undo information and only copy if this is a real cut
261 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
263 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
265 * CutAndPaste.C (eraseSelection): prevent cursor corruption
266 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
267 superflous cur.selection() setting
268 * CutAndPaste.[Ch] (grabSelection): take a const cursor
269 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
271 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
273 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
276 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
278 * BufferView_pimpl.C: comment layout change
280 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
284 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
285 by bibliography managers (bug 2071).
287 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
289 * BufferView_pimpl.C (update): choose arguments to update call so
290 that single-par update works most times
291 * text3.C (dispatch): carefully tune updating separately for
292 whole-screen and current-paragraph
293 * rowpainter.C (paintText): 1) replace painting by caching for
294 the two extra paragraphs, because we can;
295 2) suppress greying out of areas below/above drawn area in case of
297 * lyxfunc.C (dispatch): remove superfluous update
298 * LyXAction.[Ch]: introduce SingleParUpdate
300 2005-10-05 Angus Leeming <leeming@lyx.org>
302 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
303 always initialised before use.
305 * text.C (setHeightOfRow): squash warning about comparison
306 of signed and unsigned types.
308 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
310 * text.C (cursorX): two fixes involving RtL text drawing
312 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
314 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
315 items, not only large ones (part of bug 2057)
317 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
319 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
320 argument, use "newcommand".
322 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
324 * cursor.C (setSelection): do not open collapsable insets;
325 the insets do by themselves now (autoopen).
327 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
329 * buffer.C: format is up to 244.
331 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
333 * text.C (redoParagraph): fix calcultation of inset width wrt
334 leftMargin (bug 1957).
336 * text3.C (dispatch): leave inset to the right when hitting ESC
339 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
344 * messages.C: include <boost/current_function.hpp>
346 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
348 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
349 when command is internal. (bug 1941)
351 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
353 * text2.C (cursorRight): do not honor boundary when at the end of
354 a paragraph. (bug 2010 again)
356 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
358 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
360 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
362 * rowpainter.C (paintText): fix RtL space width display bug (2029)
364 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
366 * text2.C (setCursor): remove the unused 'boundary' parameter for
367 the CursorSlice version; adapt the LCursor version.
370 * paragraph_pimpl.C (markErased):
371 * cursor.C (bruteFind2, bruteFond3): fix warnings.
373 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
375 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
376 as is already done for "chapter".
378 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
380 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
381 textclass; do not record undo if nothing is changed.
383 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
385 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
387 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
389 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
391 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
393 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
394 combox, it is necessary to search for the topmost paragraph in the
395 cursor stack (bug 1926)
397 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
399 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
400 end of paragraph. (bug 2010)
402 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
404 * text.C (leftMargin): check for inInset == 0
406 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
408 * text.C (leftMargin): test for insetbase's new neverIndent()
409 bool instead of listing each and every inset that does not
410 wish par indendation.
412 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
414 * buffer_funcs.C (setCounter): put the code to compute enum label
415 here (where it belongs).
417 * counters.C (enumLabel): move code to buffer_funcs.C.
419 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
421 * outputparams.[Ch]: store local_font instead of local_language
422 * paragraph.C (simpleTeXOnePar): adapt to the change above
424 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
427 * counters.[Ch]: clean up special code for Hebrew.
429 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
431 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
434 2005-09-08 Angus Leeming <leeming@lyx.org>
437 * lyxrc.C: correct grammar describing invocation of the
440 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
442 * text.C (read): remove unused variable.
443 (readParToken): remove static Change variable (never good in
444 recursive settings...); add it as a parameter instead.
446 * paragraph_pimpl.C (acceptChange): make debug info conditional.
448 * metricsinfo.C (PainterInfo): add new member erased_.
450 * rowpainter.C (RowPainter): add erased_ member, initialized from
452 (paintInset): pass erased_ to Inset::draw.
454 * lyxfunc.C (lookupChange): new function. Tells whether change
455 tracking is disabled at a given postion.
456 (getStatus): disable some actions when in deleted text with change
459 2005-08-03 John Levon <levon@movementarian.org>
461 * tabular.C (appendColumn, setMultiColumn): adapt to change to
464 * paragraph_pimpl.C (markErased): add bool argument and handle it.
465 Also make sure to mark insets recursively.
466 (rejectChange, erase): be recursive
468 * paragraph.C (markErased): add bool argument.
469 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
471 * lyxfind.C (findNextChange): tiny cleanup.
473 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
474 change tracking with the cursor in an inset; make sure the first
475 change is not skipped.
477 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
479 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
480 tabularStackDirty to work around bug 1919 (tabular needs
481 to know whether its own cell paste buffer or the one of
483 * CutAndPaste.C: mark tabular_stack_ clean after copy.
485 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
487 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
489 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
491 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
492 use old deleteion algorithm when changetracking is on.
494 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
496 * messages.C (get): add debug output.
498 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
500 * text.C (cursorX): fix bug 1965: cursor movement at
501 line end broken in RtL.
502 (drawSelection): fix bug 1970: drawing of single-line
503 selection broken for RtL.
505 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
509 * dociterator.h (clear, push_back, pop_back): change from
512 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
513 and changed to just return the value of the item depth; take a
514 ParIterator as argument; take the itemdepth at outer nesting level
515 in account if necessary; cleanup and comment the code.
516 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
517 and changed to just return true if reset is needed; take a
518 ParIterator as argument; cleanup and comment the code.
519 (setCounter): adapt to above changes.
521 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
523 * text3.C (dispatch): make debug message optional
525 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
527 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
530 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
532 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
534 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
536 * text.C (insertChar):
537 * text2.C (deleteEmptyParagraphMechanism): take care whether
538 a blank has been deleted (in change tracking mode) (bug 1254).
540 2005-07-20 John Levon <levon@movementarian.org>
542 * text2.C (insertStringAsLines): remove old dubious code,
545 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
547 * MenuBackend.C (expandToc): use Floating::listName() as title of
550 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
552 * toc.[Ch]: Do not use translatable strings (bug 1870).
554 2005-07-20 John Levon <levon@movementarian.org>
556 * tabular.C: fix 1748 - setting multicolumn adds
557 left line to the first cell
559 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
562 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
565 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
567 * messages.C: supress some lyxerr messages
569 2005-07-18 Juergen Vigna <jug@lyx.org>
571 * text.C (drawSelection): honor boundary when asking for cursorX.
573 2005-07-17 José Matos <jamatos@fc.up.pt>
575 * tabular.C (recalculateMulticolumns): fix handling of one column
578 2005-07-17 Juergen Vigna <jug@lyx.org>
580 * text.C (Delete, backspace): fixed so that paragraph with the
581 same layout can be merged by Delete/Backspace.
583 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
585 * text.C (readParToken): fix spelling.
587 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
589 * text2.C: fix counter update for DEPM problem reported by
592 2005-07-17 Juergen Vigna <jug@lyx.org>
594 * BufferView_pimpl.C (setBuffer): save/restore the
595 cursor/selection when switching buffers
598 * buffer.C (saveCursor): add saveDocumentIterators to save the
599 cursor when switching buffer.
601 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
604 * buffer.C: clarify message
606 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
608 * dociterator.C (DocIterator): fix initialization order
610 2005-07-17 Juergen Vigna <jug@lyx.org>
612 * text2.C (cursorHome):
613 * text.C (drawSelection, cursorX):
614 * dociterator.C (textRow): add boundary to getRow() call
616 * paragraph.C (getRow): implementation of below
618 * paragraph.h: add parameter boundary for getRow() function
620 2005-07-17 José Matos <jamatos@fc.up.pt>
624 * tex-strings.[Ch]: new file format, remove support for a4.sty,
625 a4wide.sty and a4widemargins.
627 2005-07-17 Juergen Vigna <jug@lyx.org>
629 * text2.C (cursorLeft): fix one of error
631 2005-07-17 Juergen Vigna <jug@lyx.org>
633 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
635 more fixes for boundary handling
637 * text3.C (dispatch): don't reset cursor if boundary has changed
640 2005-07-16 Juergen Vigna <jug@lyx.org>
642 * text2.C (getColumnNearX): hopefully got it right now,
643 check if we are on column 0 for special case.
645 2005-07-16 Juergen Vigna <jug@lyx.org>
647 * text2.C (getColumnNearX): handle special case Newline Inset
649 * text.C (singleWidth): Just remove bogus check
651 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
653 * funcrequest.C (split): avoid reading uninitialized char c
655 2005-07-16 José Matos <jamatos@fc.up.pt>
661 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
662 single papersize variable.
664 2005-07-16 Juergen Vigna <jug@lyx.org>
666 * text3.C (dispatch): honor boundary when checking if a cursor
667 movement has been done
669 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
670 (setCursor, setCursorIntern): fix cursor movement with boundary
672 2005-07-16 Juergen Vigna <jug@lyx.org>
674 * text.C (currentState): output the actual Boundary
676 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
678 * factory.C (createInset): fix bad logic for tabular creation
680 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
682 * lyx_main.C (init): change some reLyX reference to tex2lyx
684 2005-07-16 Juergen Vigna <jug@lyx.org>
686 * dociterator.C (DocIterator): initialize boundary
688 2005-07-16 Juergen Vigna <jug@lyx.org>
690 * text2.C (getColumnNearX): Consider rows without trailing blank.
692 2005-07-16 André Pönitz <poenitz@gmx.net>
694 * lyxfont.h: Change order of declarations to give the compiler
695 a better chance to inline things
697 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
698 questions on unsaved docs for better scritability
700 2005-07-16 André Pönitz <poenitz@gmx.net>
702 * paragraph.h (getChar): remove asserts as the same kind of security
703 can be achieved by using a suitable standard library implementation
704 and the function was in the critical path (25.9% in profiler)
706 2005-07-16 Juergen Vigna <jug@lyx.org>
708 * cursor.C (bruteFind2):
709 * bufferview_funcs.C (coordOffset):
710 * text.C (cursorX,cursorY): Handle cursor position after last char
711 in row before a inset which uses a whole row.
713 2005-07-15 José Matos <jamatos@lyx.org>
715 * output_plaintext.[Ch] (writeFileAscii): control reference title
717 (asciiParagraph): noparbreak was already deal and was incorrectly
720 2005-07-15 Juergen Vigna <jug@lyx.org>
722 * lyxfunc.C (dispatch): save and restore the cursor after a
725 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
727 * text.C (backspace): bug 806 for empty keepempty paragraphs we
728 change the layout to default before letting DEPM do its thing.
730 * paragraph_funcs.C (breakParagraph): dont reset the layout on
733 * text.C (setCursorFromCoordinates): add a debug statement
735 * text2.C (getColumnNearX): bug 1825 make sure that we don't
736 return a pos that is not on the row
738 * output_latex.C (TeXDeeper): get rid of potential dereferencing
739 of past the end iterator
741 2005-07-14 André Pönitz <poenitz@gmx.net>
743 * undo.C (recordUndoFullBuffer): implement undo for
746 2005-07-14 André Pönitz <poenitz@gmx.net>
748 * cursor.C (setSelection): open insets when selection is set there
749 to avoid crashs with cold coord cache
751 2005-07-14 André Pönitz <poenitz@gmx.net>
753 * trans_mgr.C (insert): move cursor to the right after inserting
756 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
758 * BufferView_pimpl.C (update): dampen some of the debug blabbering
759 * factory.C (readInset): ditto
760 * text.C, text2.C: ditto
762 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
764 * buffer.C: format incremented to 242. There is no file format per
765 se, but the "frenchb" language has been removed from lib/language
766 and has to be translated to "french" by lyx2lyx.
768 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
770 * cursor_slice.h, dociterator.h: add some documentation
771 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
773 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
775 * text.C (leftMargin): do not add identation to display() style
776 insets, because they are always centered (bug 1293).
778 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
780 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
781 formatted_time methods in support/lyxtime.
783 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
785 * toc.[Ch]: new method getGuiName, which is used by the frontends
786 to set the toc combo (fixes bug 1870). Make TOC string translatable.
788 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
790 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
791 StableDocIterator const &)
792 * undo.C (recordUndo): use the above instead of cell.size() comparison
793 (fixes bug 1808; instructed by Andr�.
795 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
798 * dociterator.h: Fix the assert when copying rows/cols in math
800 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
802 * BufferView_pimpl.C:
804 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
806 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
807 (findInset): new functions, refactored from goto Inset that return
808 the position of a certain inset without setting the buffer's cursor
810 (gotoInset): rewrite to call findInset and then set the cursor
813 2005-06-16 Angus Leeming <leeming@lyx.org>
815 * lyxrc.C (output, read): wrap all input and output of paths with
816 calls to os::internal_path and os::external_path, respectively.
817 (output): wrap bind_file inside quotes.
819 * format.C (view): enable the viewer to use the '$$s' placeholder.
821 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
823 * LColor.[Ch] (getFromLaTeXName): new
825 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
827 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
829 2005-06-14 Angus Leeming <leeming@lyx.org>
831 * lyx_main.C (init): ensure that the LyX binary dir is the first
832 element in the PATH on non-POSIX builds.
834 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
836 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
838 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
840 * rowpainter.C (paintInset, paintHebrewComposeChar)
841 (paintArabicComposeChar, paintChars): add a LyXFont argument.
842 (paintChars): use getFontSpan to reduce calls to getFont to a
843 minimum; use Paragraph::lookupChange instead of isXXXText.
844 (paintForeignMark): rename LyXFont argument.
845 (paintFromPos): pass a LyXFont object to the various paintXXX
848 * FontIterator.C (FontIterator, operator++): use
849 Paragraph::getFontSpan
851 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
852 version that returns the font span as a pair.
854 2005-06-09 Angus Leeming <leeming@lyx.org>
856 * converter.C (convert): Don't forget "outfile = real_outfile" as
857 the final step in a conversion where the input and output file names
858 are the same. Otherwise, future conversion steps won't work...
860 2005-06-09 Angus Leeming <leeming@lyx.org>
862 * lyxsocket.C: remove stub code as it isn't needed by
863 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
865 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
867 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
868 effectively disabled -x
870 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
872 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
873 when it actually makes sense.
875 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
877 * BufferView_pimpl.C: revert to showCursor in connection with
878 Lars's front-end stack
880 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
882 * text.C (redoParagraph): move cursor right after a bibitem
885 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
887 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
889 * buffer_funcs.C (bufferErrors): fix computation of the end of an
892 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
894 * BufferView.[Ch] (update):
895 * BufferView_pimpl.[Ch] (update, metrics):
896 * dimension.h (operator==):
897 * lyxfunc.C (dispatch):
898 * metricsinfo.h (ViewMetricsInfo):
899 * rowpainter.C (paintText):
901 * text.C (redoParagraph):
902 * text3.C (dispatch): Make LyX only repaint current paragraph in
903 case of character insert --> speedup. Also fix cursor draw
906 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
908 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
909 avoid a crash (bug 1891)
911 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
915 * text2.C (getStringToIndex): constify cur argument.
917 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
918 argument has been given
919 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
920 try to invoke LFUN_INSET_APPLY).
922 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
923 if no inset was created by doInsertInset
924 (doInsertInset): return true if an inset has been inserted.
926 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
928 * vspace.C (asGUIName): new method. A version of the space
929 suitable for showing on screen.
931 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
934 * lyxrc.C: rename "ASCII" to "Plain Text"
936 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
938 * buffer_funcs.C (expandLabel): take a Buffer as argument;
939 translate the labelstring.
940 (setCounter): translate labelstring as needed.
942 * output_docbook.C (makeCommand): fix expandLabel invokation
944 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
946 * BufferView.C: fix dialog title
948 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
950 * lyx_main.C (priv_exec): fix logic error with help from Angus
951 * lyx_main.C (parse_execute): set is_gui = false and remove now
952 obsolete comment about a segfault
954 2005-05-18 Angus Leeming <leeming@lyx.org>
956 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
958 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
960 * tabular.[hC]: added setCellInset to fix tabular paste.
962 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
964 * buffer.C (save): check if destination is writable before trying
967 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
969 * BufferView_pimpl.C (update): fix processEvents -caused update
972 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
974 * buffer_funcs.C (setCounter): fix test for numbering of
977 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
978 depth correctly; use optional argument when it exists
980 * lyxtextclass.C: remove unused MaxCounterTags enum
981 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
982 (max_toclevel, min_toclevel): new methods.
984 * MenuBackend.C (expandToc2): fix case where depth is smaller than
985 the smallest depth in toc.
987 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
988 layouts that should not appear in a table of contents.
990 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
992 * cursor.h (undispatched, noUpdate): add comments from Andr�
993 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
997 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
999 2005-05-07 André Pönitz <poenitz@gmx.net>
1001 * cursor.[Ch] (leaveInset): new function
1003 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1005 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1007 2005-05-04 Angus Leeming <leeming@lyx.org>
1009 * lyxfunc.C (getStatus): disable the spell checker dialog if
1010 none of USE_[AIP]SPELL are defined.
1012 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1014 * tabular.C (setWidthOfCell): remove obsolete comment
1016 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
1018 * paragraph.C (bibitem):
1019 * buffer_funcs.C (setCounter):
1020 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1022 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1024 * text3.C (getStatus): immediately return after setOnOff
1026 * rowpainter.C: fix drawing of appendix start
1028 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1030 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1031 SwitchBetweenClasses and remove the unused return value.
1032 Handle character styles, too
1034 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
1036 * factory.C (createInset): handle undefined character styles
1038 2005-05-02 Angus Leeming <leeming@lyx.org>
1040 * buffer.C: protect the #include of utime.h with a preprocessor
1043 2005-05-02 Angus Leeming <leeming@lyx.org>
1045 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1046 function so that auto-saving works, albeit in a blocking manner.
1048 * Makefile.am: make compilation of the client sub directory, of
1049 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1050 on conditionals set at configure time.
1052 * SpellBase.[Ch]: no longer an abstract base class. Instead,
1053 it can be compiled in its own right but has no-op functionality.
1055 * aspell.C, pspell.C: remove preprocessor guards. The files should
1056 be compiled only if the necessary functionality exists.
1058 * lyxserver.C, lyxsocket.C: disable on Windows.
1060 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
1062 * text.C (leftMargin): Fix the parindent use bug (1764)
1065 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
1067 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1070 2005-04-25 Angus Leeming <leeming@lyx.org>
1078 include <config.h> in .C files, not .h ones.
1080 protect headers inside preprocessor guards.
1082 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1084 * FuncStatus.h (StatusCodes): document
1086 2005-04-21 André Pönitz <poenitz@gmx.net>
1088 * FuncStatus.h (enabled, onoff): document
1090 2005-04-19 Angus Leeming <leeming@lyx.org>
1092 * BufferView_pimpl.C (cursorToggle): no longer test whether
1093 any child processes have been reaped before calling
1094 handleCompletedProcesses().
1096 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
1098 * text3.C (dispatch): fix, finally fix, the language problem in
1099 new lyxtexts, without disabling on-the-fly font changes (Helge's
1102 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1104 * text3.C (dispatch): set cursor on double/triple click events
1107 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1109 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1110 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1112 * rowpainter.C (paintFirst): simplify the code a little bit. In
1113 particular, remove the test for secnumdepth.
1114 * text.C (setHeightOfRow): only allocate space for chapter number
1115 when updateCounters provided an actual label, instead of looking
1116 at secnumdepth directly.
1118 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1120 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1121 paragraphs when secnumdepth is large enough or, for environments,
1122 when they are not the first in a sequence.
1124 2005-04-17 Angus Leeming <leeming@lyx.org>
1126 * buffer.C (makeLaTeXFile): replace code to manipulate a path
1127 containing space and '~' characters with a call to latex_path().
1129 2005-04-17 Angus Leeming <leeming@lyx.org>
1131 * converter.C (convert): protect all args of convertDefault.sh
1134 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1136 * text3.C (dispatch): change the layout to "Caption" after inserting
1139 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1141 * text3.C (dispatch): fix language problem in newly created
1142 textinsets (and main text) in non-english docs
1144 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1146 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1147 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1148 * text3.C (getStatus): disable LFUN_INSET_MODIFY
1150 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
1154 * text2.C (getFont):
1155 * rowpainter.C (getFont): Fix metrics bug introduced by inset
1158 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1160 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1161 output of \item arguments without trailing text.
1163 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1165 * FontIterator.C (operator*): avoid a copy of the font.
1167 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1169 * rowpainter.C (getFont): fix language bug from previous fix
1171 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1173 * rowpainter.C (RowPainter, getFont): fix font inside inset
1176 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1178 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1179 preventing inserted font, deco, delim insets jumping to start of
1182 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1184 * lyxfunc.C (dispatch): translate message before sending it to the
1187 2005-03-29 Angus Leeming <leeming@lyx.org>
1189 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1190 to LyX on the command line.
1192 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1194 * vc-backend.C: use QuoteName to protect file names wherever
1197 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1200 * BranchList.h: fix bugs 1844,1845: document settings don't
1203 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1205 * lyxrc.C (setDefaults, read, output, getDescription): add support
1206 for tex_allows_spaces.
1208 * exporter.C (Export): allows files in directory containing spaces
1209 if tex_allows_spaces is true.
1211 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1212 output it in double quotes.
1214 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1216 * rowpainter.C: use default text height for drawing change tracker
1219 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1221 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1223 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1225 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1226 directory is missing.
1228 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1230 * text2.C: fixed the fix, extended to other case.
1232 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1234 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1236 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1238 * text2.C (cursorUp): get rid of a crash
1239 * text.C (x2pos): add an assert
1241 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1243 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1247 * dociterator.C: include <boost/current_function.hpp>, which is
1248 needed when assertions are disabled.
1250 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1252 * text2.C: fix for stuck cursor when traversing two
1253 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1255 2005-02-25 Andreas Vox <avox@arcor.de>
1257 * output_docbook.C (makeParagraph): suppress trailing newline
1258 after a run of paragraphs
1260 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1262 * paragraph.C: fix for confused change tracker when pasting
1263 text that begins with a lineseparator. [bug 1827]
1264 (setChange(0, Change::INSERTED);)
1266 * paragraph_funcs.C: fix for lost changes on triple-paste
1267 in change tracking mode [bug 1827] (par.setChange()).
1269 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1271 * text2.C (updateCounters, setCounter, expandLabel): move to
1274 * buffer_funcs.C (updateCounters): turn into a free standing
1275 function and add a buffer parameter. Remove dead code for tracking
1277 (setCounter): change into a free-standing function which gets a
1278 dociterator as argument. Use this iterator to fix captions in a
1279 simple way. When no float is found above the caption, use the
1280 labelstring of the caption layout as default.
1282 * text.C (breakParagraph, backspace):
1283 * text2.C (init, setLayout, changeDepth):
1284 * text3.C (dispatch):
1285 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1288 * dociterator.C (forwardPar): make it much faster by calling
1289 forwardPos() only when really necessary.
1291 * output_docbook.C (makeCommand): adapt to expandLabel move.
1293 * cursor.C: remove unused variable
1295 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1297 * paragraph_funcs.C: fix crash when pasting insets in change
1298 tracking mode [bug 1277] (honour change type in moveItem).
1300 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1302 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1304 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1306 * BufferView.C (setCursor): change to use a DocIterator.
1307 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1308 (putSelectionAt): adapt to BufferView::setCursor change.
1310 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1311 moved here from LyXText and rewritten to use proper cursor
1312 methods. Fixes bug 1787, 616 and 835.
1314 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1315 when inside an inset (part of bug 781).
1316 (dispatch): adapt to change of BufferView::setCursor.
1317 (getStatus, dispatch): handle LFUN_GOTOERROR,
1318 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1320 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1321 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1322 * text3.C (gotoNextInset, gotoInset): removed.
1324 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1326 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1328 2005-02-15 Angus Leeming <leeming@lyx.org>
1330 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1331 can be used meaningfully in a comparison.
1333 2005-02-13 André Pönitz <poenitz@gmx.net>
1335 * bufferview_funcs.C (coordOffset): improve cursor drawing
1337 2005-02-13 André Pönitz <poenitz@gmx.net>
1339 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1340 * Cursor.C (dispatch): use fixIfBroken
1341 * lyxfunc.C (getStatus): use fixIfBroken
1343 2005-02-15 Angus Leeming <leeming@lyx.org>
1345 * lyx_main.C (error_handler):
1347 * lyxrc.C (setDefaults):
1349 #include "environment.h".
1351 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1353 2005-02-15 Angus Leeming <leeming@lyx.org>
1355 * lyxserver.C (startPipe): squash MSVC warning "local variable
1356 'fd' used without having been initialized".
1358 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1360 * BufferView_pimpl.C: revert accidental commit.
1362 2005-02-14 André Pönitz <poenitz@gmx.net>
1364 * dociterator.[Ch]: new member forwardPosNoDescent(),
1365 which doesn't enter nested insets.
1366 * text2.C (setFont): use forwardPosNoDescent() instead
1367 of ForwardPos() (fixes crash on font change).
1369 2005-02-13 Angus Leeming <leeming@lyx.org>
1371 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1372 only if lyxrc.path_prefix is not empty.
1374 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1376 * bufferparams.C (readGraphicsDriver): prevent crash
1378 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1380 * text2.C (setCounter): check for inInset() == 0
1382 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1384 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1385 but use update() to get correct screen display; use convert
1386 instead of istringstream.
1387 (getStatus): handle LFUN_GOTO_PARAGRAPH
1389 * lyxfunc.C (dispatch, getStatus): do not handle
1390 LFUN_GOTO_PARAGRAPH here.
1392 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1394 * text3.C (dispatch): size() -> depth()
1396 * text2.C: remove some debug output
1398 * paragraph.C: ws changes only
1400 * lyxfunc.C (getStatus): size() -> depth()
1402 * dociterator.h (clear, push_back, pop_back, internalData,
1403 operator[], resize, empty): new functions
1404 Make StableDocIterator and operator== be friends. Don't inherit
1405 from std::vector use a privat class variable slices_ instead.
1408 * dociterator.C: update because of not inheriting from std::vector
1409 anymore. Call explictly to slices_ instead. Use depth() instead of
1410 size() and top() instead of back()
1412 * cursor.C: chagne size() -> depth and back() -> top(). Also
1413 remove some direct operator[](i) calls in favour of foo[i]
1414 (getFont): remove some dead code
1416 * bufferview_funcs.C (coordOffset): size() -> depth()
1418 * buffer.C: ws changes only
1420 * CutAndPaste.C (eraseSelection): back() -> top()
1422 * BufferView_pimpl.C (selectionRequested): back() -> top()
1424 * BufferView.C (setCursor): size() -> depth()
1426 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1428 * text3.C (cursorPrevious): return true if depm changed something
1430 (dispatch): rename sl to oldTopSlice, remove moving use the new
1431 NoUpdate func attrib instead. Make sure that needsUpdate is set
1432 for function that have NoUpdate, but where depm might have changed
1435 * text2.C (cursorLeft): make us return true if depm changed
1437 (cursorRight): ditto
1438 (cursorUpParagraph): ditto
1439 (curosrDownParagraph): ditto
1440 (cursorUp, cursorDown): ditto, make sure to read comments in code
1441 (deleteEmptyParagraphMechanism): remove an assert, also return
1442 true if just a single char was deleted.
1444 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1445 cursor that we modify, to avoid modifying an active cursor before
1446 we call setCursor. This allows depm to run. Also return true if
1447 depm deleted something.
1449 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1450 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1451 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1452 something was changed in the buffer because of them (ie. depm run)
1454 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1455 debug messages. Make update by default be false. Make sure that
1456 the result of update is retained throught several calls down to
1459 * LyXAction.h: add a new func_attrib: NoUpdate
1461 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1462 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1463 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1465 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1467 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1469 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1470 bv_->owner(), bv_->buffer() by direct references to the private
1472 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1473 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1474 (fitCursor): center() is in BufferView::Pimpl.
1475 (getStatus, trackChanges, dispatch): no need for a temporary buf
1477 (fitCursor, workAreaDispatch): use workarea().workheight()
1479 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1481 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1483 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1485 * buffer.C: format up to 241.
1486 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1487 break if pasting into ERT
1488 * lyxfunc.C (getStatus): suppress mathpanel and
1489 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1491 2005-02-01 Angus Leeming <leeming@lyx.org>
1493 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1495 2005-02-01 Angus Leeming <leeming@lyx.org>
1497 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1498 calling fs::is_directory().
1500 2005-01-31 Angus Leeming <leeming@lyx.org>
1502 * lyx_main.C (priv_exec): specify explicitly the relative location
1503 of the top level build directory when run in-place.
1505 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1507 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1508 LyXText containing the cursor, not the top-level one.
1510 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1512 (insertStringAsLines): rename par to pit; use temporary variable
1513 par to hold a Paragraph; do not store par.layout() in a variable,
1514 since the pointer may die when breaking paragraphs; pass pars to
1515 breakParagraph() instead of Buffer::paragraphs().
1517 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1519 * lyxlex_pimpl.h: #include <fstream>.
1521 * BufferView.[Ch] (getLyXText): add a const version.
1523 * BufferView_pimpl.C: add debug aids.
1528 * paragraph_funcs.h: add commentary explaining what the class does.
1531 * coordcache.[Ch]: add lots of commentary.
1532 (startUpdating, doneUpdating): debug aids.
1533 (arrays, insets, parPos, getParPos): accessors to private data.
1535 * cursor_slice.[Ch] (text): add a const version.
1536 * dociterator.[Ch] (text, innerText): add const versions.
1538 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1541 * paragraph.C (getRow, pos2ros): add asserts.
1543 * paragraph.h: add commentary. Lots of.
1545 * paragraph.[Ch] (metrucs, draw): removed.
1548 * rowpainter.[Ch]: const-correct changes.
1550 * text.C: various obvious clean-ups. Removal of ancient cruft.
1553 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1555 * vc-backend.C (find_file): rewrite to use boost.filesystem
1558 * main.C (main): set default name check for boost.filesystem to
1561 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1564 (actOnUpdatedPrefs): ditto
1566 * lyx_main.C (init): rewrite to use boost.filesystem
1567 (queryUserLyXDir): ditto
1569 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1570 (getContentsOfAsciiFile): ditto
1572 * lastfiles.C (readFile): rewrite to use boost.filesystem
1574 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1576 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1577 (loadLyXFile): ditto
1579 * buffer.C (Buffer): adjust for destroydir
1580 (getLogName): rewrite to use boost.filesystem
1581 (setFileName): ditto
1582 (save): use fs::copy_file (from fs_extras)
1584 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1586 * LaTeX.C (run): rewrite to use boost.filesystem
1587 (scanAuxFiles): ditto
1588 (handleFoundFile): ditto
1590 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1592 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1594 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1596 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1598 * lyxlayout.[Ch]: change some vars from float to double
1600 * buffer.C (readFile): make a local var const
1602 * Several files: use convert<> instead of atoi,strToXXX and friends
1604 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1606 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1607 holds the contents of packages.lst. New functions getAvailable
1608 and isAvailable to parse and check that list, resp.
1612 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1614 * bufferparams.[Ch]: new param output_changes.
1616 * Buffer.C: increase file format to 240.
1617 Use output_changes and isVailable.
1621 * paragraph_pimpl.C: Use output_changes and isVailable.
1623 2005-01-23 Angus Leeming <leeming@lyx.org>
1625 * output_latex.C: #include "insetbibitem.h", rather than
1626 forward declare function bibitemWidest.
1628 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1630 * lyx_main.C (init): make it compile on the Mac.
1632 2005-01-20 Angus Leeming <leeming@lyx.org>
1634 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1635 (setLyXMisc): (char string literal) != (char string literal) is
1636 performing a comparison on the addresses. Convert one operand
1637 explicitly to string to guarantee expected behaviour.
1640 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1643 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1645 * output_plaintext.C: remove unneeded #include gzstream.h.
1647 2005-01-20 Angus Leeming <leeming@lyx.org>
1649 * SpellBase.h: rename some of the elements of the Result enum.
1656 * pspell.C (check): ditto
1658 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1660 * buffer.C: add #include <fstream>.
1662 * lyx_main.C (init): Compile fix.
1664 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1666 2005-01-20 Angus Leeming <leeming@lyx.org>
1668 * mover.h: change commentary to reflect the changed meaning of
1669 the $$s placeholder.
1671 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1673 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1675 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1677 2005-01-20 Angus Leeming <leeming@lyx.org>
1679 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1680 printing diagnostic data by not dereferecing an iterator past the
1683 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1685 * buffer.C (readHeader): use "&&" rather than "and".
1687 * lyxserver.h (inPipeName, outPipeName): make these const.
1689 2005-01-19 Angus Leeming <leeming@lyx.org>
1691 * lyx_main.C (error_handler, init): protect SIGHUP with
1692 #ifdef SIGHUP guards.
1694 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1696 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1698 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1700 * text.C (setHeightOfRow): add a margin at the top and bottom of
1701 the document (bug 1761)
1703 2005-01-17 Angus Leeming <leeming@lyx.org>
1705 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1706 with "python ". Workaround for a brain-dead Windows.
1708 2005-01-16 Angus Leeming <leeming@lyx.org>
1710 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1711 for MacOSX and Windows to use prependEnvPath.
1712 Strip out the hard-coded block to add elements to the PATH for
1713 MacOSX and replace it with a call to prependEnvPath using the
1714 contents of LyXRC::path_prefix.
1715 (queryUserLyXDir): strip out the code to run reconfigure, instead
1716 returning a boolean indicating the necessity to do so.
1717 (reconfigureUserLyXDir): contains the code to reconfigure the
1718 user support directory. Is now called after the various LyXRC data
1719 files have been read.
1721 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1723 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1725 * converter.[Ch] (convert): take a new parameter try_default. Use
1726 a default converter (imagemagick) if try_default is true.
1728 2005-01-13 Angus Leeming <leeming@lyx.org>
1730 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1731 os::cygwin_path_fix.
1732 (write): output LyXRC::cygwin_path_fix as necessary.
1734 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1737 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1739 2005-01-12 Angus Leeming <leeming@lyx.org>
1741 * lyx_main.C (init): set the PATH variable to include the
1742 directory containing the LyX binary when running on Mac or Windows.
1744 2005-01-12 Angus Leeming <leeming@lyx.org>
1746 * lyx_main.C (init): remove cruft that purports to set the locale
1747 dir. It doesn't and is not needed anyway.
1749 2005-01-10 Angus Leeming <leeming@lyx.org>
1751 * Makefile.am: remove the lyx_main.C special casing.
1753 * BufferView_pimpl.C:
1759 * messages.C: use support/package.h to provide the paths to the
1760 various directories used by LyX.
1762 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1764 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1765 layout if pasting into an empty paragraph)
1767 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1769 * tex-accent.C: add <string>
1771 2005-01-06 José Matos <jamatos@lyx.org>
1773 * ParagraphParameters.C (write): put every parameter in its own line.
1774 * paragraph.C (write): reduce number of consecutive empty lines exported.
1775 * buffer.C (LYX_FORMAT): increase file format to 239.
1777 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1779 * everywhere: change support/tostr.h -> support/convert.h
1781 * tabular.C: make all write_attributes templates, tostr -> convert
1783 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1784 (emptyTag): and -> &&, and fix type for ret from getChar
1785 (getFirstWord): fix type for ret from getChar
1786 (onlyText): and -> &&
1787 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1790 * toc.C (goTo, action):
1791 * text3.C (dispatch):
1792 * text.C (currentState):
1793 * tex-accent.C (DoAccent):
1796 * lyxfunc.C (menuNew):
1797 * lyxfinc.C (replace):
1798 * counters.C (laberItem):
1799 * bufferview_funcs.C (font2string):
1800 * bufferparams.C (writeFile):
1801 * buffer.C (readFile):
1803 * MenuBackend.C: tostr -> convert
1805 * LaTeX.C (runMessage): fix format
1806 (scanAuxFiles): tostr -> convert
1808 * BufferView_pimpl.C (savePosition): fix format
1809 (restorePosition): ditto
1812 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1814 * Spacing.[Ch]: New method getValueAsString().
1818 * ParagraphParameters.C:
1821 * text3.C: store/read spacing value as string.
1823 * rowpainter.C: change float value (spacing_val) to double.
1825 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1826 broken custom document spacing).
1828 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1830 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1831 namespace, also more use of temp references and const
1833 * cursor.[Ch] (getStatus): move to lyxfunc.C
1835 * bufferparams.C: reformat slightly
1837 * bufferview_funcs.C (font2string): constify arg
1843 * buffer_funcs.C: (many funcs): constify arg on function
1844 definitions, also make more local vars const, also add ASSERTS on
1847 * buffer.C (LYX_FORMAT): put const in correct place
1848 (many funcs): constify arg on function definitions, also make
1849 more local vars const
1851 * aspell_local.h: remove "struct" from typdef setup
1853 * aspell.C (check): make word_ok const
1854 (nextMiss): simplify slightly
1857 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1859 * lyxrc.[Ch]: store all float values as strings.
1860 use int (not float) for lyxrc.dpi.
1862 2005-01-04 Angus Leeming <leeming@lyx.org>
1864 * lyx_cb.C (Reconfigure):
1865 * lyx_main.C (queryUserLyXDir):
1866 to run the <system_lyxdir>/configure correctly on Windows, prefix
1867 the path to the script with "sh " when generating the string that
1868 is passed to system().
1870 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1872 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1874 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1876 * lyxlength.C (asLatexString): get rid of setprecision
1878 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1880 * text2.C (setLayout): remove unused variable endpit.
1881 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1883 * paragraph.C (onlyText): remove unused variable style.
1885 * cursor.C (bruteFind): remove unused variables beg and end.
1887 * Makefile.am (dist_noinset_DATA): not needed anymore
1889 * cheaders/*: remove.
1891 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1893 * text3.C: fix LFUN_MATH_MODE.
1895 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1897 * buffer_funcs.C (countWords): new function. Counts words between
1900 * BufferView_pimpl.C (getStatus, dispatch): handle
1903 * LyXAction.C (init):
1904 * lfuns.h: add LFUN_WORDS_COUNT.
1906 2004-12-19 Angus Leeming <leeming@lyx.org>
1908 * buffer.C (save): s/slashify_path/internal_path/.
1910 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1912 * lyxfind.C (findChange): do not search for end of pars, because
1913 the change tracker cannot handle this (fixes bug 1719).
1915 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1917 * paragraph.[Ch] (autoBreakRows): remove
1919 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1921 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1922 avoid using the paragraph one
1924 * text2.C (LyXText, insertStringAsLines): adjust
1926 2004-12-16 Angus Leeming <leeming@lyx.org>
1930 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1932 2004-12-14 Angus Leeming <leeming@lyx.org>
1934 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1936 * bufferlist.C (emergencyWrite):
1937 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1940 2004-12-14 Angus Leeming <leeming@lyx.org>
1942 * main.C: (main): no longer pass pointers to os::init.
1944 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1946 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1947 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1949 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1952 * text3.C: remove selection_possible global flag
1954 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1956 * text2.C (getSelectionSpan): remove
1957 (changeDepth, changeDepthAllowed): adjust
1959 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1961 * Makefile.am (BOOST_LIBS): use boost variables
1963 2004-12-03 José Matos <jamatos@lyx.org>
1965 * buffer.C: format up to 238.
1967 2004-12-03 José Matos <jamatos@lyx.org>
1969 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1971 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1973 * cursor.C (goUpDown): remove call to idxUpDown2
1975 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1977 * tabular.[Ch]: use size_t-like types for cell, row and column
1980 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1982 * lyxfunc.C (getStatus): do not lose previous information when
1983 calling BufferView::getStatus; do not set a default "Command
1984 disabled" message at the beginning, but just before returning.
1986 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1988 * cursor.h (getStatus): add better comment from src/cursor.C
1990 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1992 * text3.C (getStatus): return false when the lfun is not handled
1994 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1996 * broken_headers.h: remove
1998 * Makefile.am (lyx_SOURCES): remove broken_headers.h
2000 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2002 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2003 offset_ref accessors
2005 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2006 top_y_, merge fitcursor with update
2007 (updateScrollbar, scrollDocView, fitCursor, center, update): new
2009 (metrics): introduce
2010 (workAreaDispatch): adapt to new coord scheme
2011 (redoCurrentBuffer): remove
2013 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2015 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2018 * coordcache.[Ch]: add paragraph cache and helpers
2020 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2023 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2024 (targetX, setTargetX): introduce
2026 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2027 baseline -> ascent, as the rest of lyx
2029 * lyxtext.h: remove redoParagraphs, updateParPositions,
2030 fullRebreak, redoParagraphInternal. move dist to anon namespace in
2031 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2032 have ascent/descent (ascent is ascent of first par)
2034 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2037 * paragraph.[Ch]: unify dimension handling with the rest of lyx
2039 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2041 * pariterator.C: fix infinite loop introduced in par->pit renaming
2043 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2044 in insets and LyXText, draw two off-screen paragraphs using
2045 NullPainter, and adapt to new coord scheme
2049 * text3.C: adapt lfun handlers to the new coord scheme, which
2050 means: there's only guaranteed coord information for onscreen pars
2051 plus one above and one below. This implies that one can do search
2052 from y coordinates in the range [-1,workHeight]
2054 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2056 * rename a lot of InsetOld to InsetBase
2058 2004-11-25 Angus Leeming <leeming@lyx.org>
2060 * BufferView_pimpl.C:
2062 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2064 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2066 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2067 call BufferView::getStatus if LCursor::getStatus did nothing
2068 (setStatusMessage, getStatusMessage): removed.
2070 * FuncStatus.C (message): new methods. Used to provide an error
2071 message indicating why a command is disabled.
2072 (clear, |=, FuncStatus): update for message.
2074 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2076 * lyxfunc.C (dispatch): always call sendDispatchMessage
2078 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
2081 * BufferView_pimpl.C:
2086 * cursor_slice.[Ch]:
2089 * paragraph_funcs.C:
2095 * undo.C: par->pit renaming
2097 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2099 * tabular.C (cellstruct): use initialization, store a shared_ptr
2100 to insettext instead of the insettext directly, adjust to fit.
2101 (operator=): new function
2102 (swap): new function
2103 (rowstruct): use initialization
2104 (columnstruct): use initialization
2105 (ltType): use initialization
2108 * lyxlength.h (swap): new function
2110 * LColor.[Ch] (operator=): use the common semantics
2112 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2114 * lyxfind.C (findNextChange): update the bufferview after setting
2117 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2119 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2120 number of InsetOptArgs has already been inserted.
2122 * output_latex.C (latexOptArgInsets): new method. This outputs all
2123 the optarg insets, up to the limit defined in the layout file.
2124 (optArgInset): removed
2125 (TeXOnePar): call latexOptArgInsets; correctly update texrow
2127 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2129 * paragraph.C (isLetter): remove special spellchecker-related
2130 code; return true also for digits
2131 (isWord, isKomma): remove
2133 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2134 * lyxfind.C (MatchString()): use isLetter instead of isWord
2136 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2138 * pariterator.h (operatir=): comment out un-implemented member
2141 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2144 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2146 * lyxfont.h: include LColor.h to satisfy concept checks.
2148 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2150 * pariterator.h: add typdefs for value_type, difference_type,
2151 pointer and reference to satisfy concept checks. Also add default
2152 constructor for same reason.
2154 * pariterator.C (operator++): add post-increment operator to
2155 satisfy concept checks.
2157 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2160 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2162 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2163 checks. Also rename base_type to BaseType to follow naming
2166 * FloatList.h: include Floating.h to satisfy concept checks.
2168 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2170 * lyxfunc.C (getStatus): when the origin of the request is menu or
2171 toolbar, and the LyXView does not have focus, do as if there was
2172 no buffer (bug 1720)
2174 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2175 FuncRequest to individual entries of LFUN_SEQUENCE
2177 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2179 * output_latex.C (TeXOnePar): override runparams.moving_arg
2180 according to the needprotect value of the current paragraph (bug
2183 * paragraph.C (simpleTeXOnePar): no need to override
2184 runparams.moving_args here
2186 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2188 * vspace.C: fix off-by-one-error, related to fix #1682
2190 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2192 * lengthcommon.C: a more general fix for bug 1682
2194 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2196 * text.C (backspace): fix crash
2198 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2200 * format.[Ch] (getFormatFromFile): new method
2201 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2203 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2205 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2207 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2209 * lyxfunc.C (dispatch): remove the verbose argument
2210 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2213 * kbmap.C (defkey): set the origin of func to KEYBOARD
2215 * MenuBackend.C (MenuItem):
2216 * ToolbarBackend.C (add): set the origin of func to UI
2218 * funcrequest.[Ch]: add origin member, which indicates which part
2219 of LyX requests an action
2221 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2223 * converter.C (move): don't lie in the error message
2224 * converter.h (isReachable, move): document
2226 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2228 * buffer.C: remove unused using lyx::support::atoi
2229 * paragraph_funcs.C: ditto
2231 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2233 * bufferlist.C (exists): use bind and equal_to instead of
2236 * lyxtextclasslist.C (NumberOfClass): ditto
2238 * cursor.C (insert): use for_each instead of explicit for loop
2240 * bufferlist.C (getFileNames): use std::transform and
2241 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2243 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2246 * buffer.C (changeLanguage): use for_each instead of explicit for
2248 (hasParWithID): implement using getParFromID
2250 * LaTeXFeatures.C: ws change only
2252 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2255 * BufferView_pimpl.C (trackChanges): use for_each instead of
2258 2004-11-04 André Pönitz <poenitz@gmx.net>
2261 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2263 * dociterator.C (asDocIterator): use hard assert again.
2265 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2267 * lyxlength.C (asLatexString): rewrite so that it does not use
2270 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2272 * text3.C (specialChar, dispatch): make sure cursor moves to the
2273 right after inserting an inset
2275 2004-11-02 José Matos <jamatos@lyx.org>
2277 * output_docbook.C (docbook):
2278 * paragraph.C (getID):
2279 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2280 garantee that the output is always legal.
2282 * tabular.C (docbook):
2283 * outputprams.[Ch]: remove mixed contents.
2285 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2287 * text2.C (setCounter): prevent endless loop
2289 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2291 * exporter.C (copyFile): use the mover instead of support::copy()
2292 * exporter.C (Export): pass format and latex name to copyFile()
2293 * exporter.h (addExternalFile): document
2294 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2296 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2298 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2300 2004-10-30 José Matos <jamatos@lyx.org>
2302 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2303 text and no inset or font change. This allows to use CDATA
2304 sections just for the whole paragraph.
2306 2004-10-30 José Matos <jamatos@lyx.org>
2308 * paragraph.C (getFirstWord): remove unused variable.
2310 2004-10-30 José Matos <jamatos@lyx.org>
2312 * paragraph.C (getFirstWord): the content should always be escaped
2314 (simpleDocBookOnePar):
2315 * output_docbook.C (makeEnvironment): replace reference to CDATA
2318 2004-10-30 José Matos <jamatos@lyx.org>
2320 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2322 2004-10-30 José Matos <jamatos@lyx.org>
2324 * output_docbook.C (makeParagraphs):
2325 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2326 standard paragraph has only a given type of content drop the wrapper.
2328 2004-10-29 José Matos <jamatos@lyx.org>
2330 * output_docbook.C (makeEnvironment):
2332 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2334 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2336 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2337 (cleanID): sanitize any id.
2339 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2341 * buffer.C, lyxlex_pimpl.C:
2342 * lyxlex_pimpl.C (setFile):
2343 s/getExtFromContents/getFormatFromContents/
2345 2004-10-28 José Matos <jamatos@lyx.org>
2347 * output_docbook.C (makeEnvironment): move id to broadest possible
2350 * sgml.C (openTag): apply substitution of <> for all attributes.
2352 2004-10-28 José Matos <jamatos@lyx.org>
2354 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2355 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2356 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2358 * sgml.[Ch]: new version for open and closeTag for paragraph and
2359 for strings. Now they handle the ids of paragraphs.
2361 2004-10-26 Angus Leeming <leeming@lyx.org>
2363 * Makefile.am: add mover.[Ch].
2365 * converter.C (convert, move): use the new Movers to move external
2366 files to the temp directory.
2368 * lyx_main.C (init): ensure that the global system_movers data
2371 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2374 * mover.[Ch]: new files, defining a Mover as a utility to move an
2375 external file between directories and, if necessary, manipulate this
2376 file using a helper script.
2378 2004-10-25 José Matos <jamatos@lyx.org>
2380 * output_docbook.C (makeCommand): merge two if's that tested the
2383 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2385 * sgml.C (escapeString): fix warning in a better way
2387 2004-10-25 José Matos <jamatos@lyx.org>
2389 * sgml.C (escapeString): import the require boosts header file for
2390 tie, and avoid a signed unsigned comparison.
2392 2004-10-25 José Matos <jamatos@lyx.org>
2394 * sgml.h: add #include <string>
2396 2004-10-25 José Matos <jamatos@lyx.org>
2398 * sgml.[Ch] (escapeString): new function to escape all the string.
2400 2004-10-24 José Matos <jamatos@lyx.org>
2402 * paragraph.[Ch] (getFirstWord): new function to get the first
2403 word. Useful for description.
2404 (simpleDocBookOnePar): remove depth argument, add another that
2405 says where to start the paragraph.
2407 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2408 use the new functions to fix cleanly the support for descriptions.
2410 2004-10-24 José Matos <jamatos@lyx.org>
2412 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2413 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2414 * output_linuxdoc.C (linuxdocParagraphs):
2415 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2416 add buffer as argument.
2418 2004-10-24 José Matos <jamatos@lyx.org>
2420 * output_docbook.C (makeEnvironment, searchEnvironment): place
2421 CDATA inside paragraphs and fix scope for listitems.
2423 2004-10-24 José Matos <jamatos@lyx.org>
2425 * output_docbook.C: remove using statement for stack.
2427 2004-10-23 José Matos <jamatos@lyx.org>
2429 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2430 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2431 docbook. The new scheme is recursive and makes use of iterators, the
2432 same as latex export works.
2433 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2434 directly with the paragraph contents. This code was moved up to
2435 output_docbook.C (docbookParagraphs).
2436 * sgml.C (openTag, closeTag): removed unneeded newlines.
2437 (closeEnvTags) removed.
2439 2004-10-23 André Pönitz <poenitz@gmx.net>
2441 * undo.C (textUndoOrRedo):
2442 * dociterator.C (asDocIterator): work around crash
2444 * cursor.C (getStatus): replace ASSERT by more verbose error message
2445 and manual correction of the problem. Should increase stability
2446 while providing more sensible information.
2448 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2450 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2452 * bufferlist.C (previous, next): new methods
2455 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2457 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2459 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2460 entities to preamble.
2462 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2464 * messages.C (Pimpl): strip off translation context information
2466 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2468 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2469 the cursor is correct (bug 1694)
2471 2004-10-13 José Matos <jamatos@lyx.org>
2473 * output_docbook.C (docbookParagraphs): fix closing tags in the
2474 end of the document.
2476 2004-10-09 José Matos <jamatos@lyx.org>
2478 * buffer.C: format up to 237.
2479 * bufferparams.C (write): use tostr to convert booleans to strings.
2481 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2483 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2485 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2487 * LaTeX.C: implement use of babel language in xindy.
2489 2004-10-05 José Matos <jamatos@lyx.org>
2491 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2492 Add new translators to help reading and writing the lyx file.
2494 2004-10-05 José Matos <jamatos@lyx.org>
2496 * ParagraphParameters.C (read):
2497 * text.C (readParToken): replace nexToken by more appropriate lex
2500 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2502 * LaTeX.C (runMakeIndex):
2503 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2504 (usually 'makeindex') configurable.
2506 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2507 with a variable rather than with a number.
2509 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2511 * output_latex.C (TeXOnePar): make sure font setting is the first
2512 thing that gets output (and the last at the end). Should fix bug
2515 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2517 * pch.h: use proper signal include
2519 * LaTeX.h: Use preferred calling of Boost.Signal
2522 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2524 * pch.h: dont include <boost/function/function0.hpp>
2526 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2528 * paragraph_pimpl.h: remove usage of ShareContainer
2530 * paragraph_pimpl.C: remove initialization of ShareContainer.
2532 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2536 * BufferView.C (putSelectionAt): change the semantics when
2537 backwards == true: now, this just swaps cursor and anchor wrt the
2540 * BufferView.h (putSelectionAt): add some documentation
2542 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2543 make sure backwardChar is done at least once (to avoid getting
2545 (findNextChange): use putSelectionAt in the forward direction
2546 (operator()): use Paragraph::isWord
2548 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2550 * Spacing.C (set): c_str fix
2552 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2554 * lyx_cb.C (Reconfigure): quote the name of configure script in
2555 case it contains spaces
2557 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2561 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2562 (BOOST_LIBS): use top_buildir when looking for the file
2564 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2566 * pch.h: do not use include boost/format.hpp, multiple symbols
2567 will result (gcc bug)
2570 2004-08-23 José Matos <jamatos@lyx.org>
2572 * bufferparams.C (readToken): fix reading of the author field.
2574 2004-08-20 José Matos <jamatos@lyx.org>
2576 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2578 2004-08-20 José Matos <jamatos@lyx.org>
2580 * lyxlex.[Ch] (findToken): remove function.
2582 * ParagraphParameters.C (findToken):
2583 * bufferparams.C (findToken): replace call for previous function
2584 with local copy. This local function has one more argument, the
2585 read string argument.
2587 2004-08-16 José Matos <jamatos@lyx.org>
2589 * ParagraphParameters.C (write):
2590 * Spacing.C (writeFile):
2591 * bufferparams.C (writeLaTeX):
2592 * lyx_cb.C (Reconfigure):
2593 * paragraph.C (write):
2594 * tabular.C (write): remove unnecessary space at end of line.
2597 2004-08-16 José Matos <jamatos@lyx.org>
2599 * text.C (readParagraph): remove debug message.
2601 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2603 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2606 * output_plaintext.C (asciiParagraph): set depth correctly
2608 * outputparams.h: add member depth
2610 * paragraph_funcs.C (ownerPar): remove.
2612 * text2.C (setCounter): remove first_pit; comment out some
2613 non-working code that uses ownerPar
2615 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2618 2004-08-16 José Matos <jamatos@lyx.org>
2620 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2621 For the same level of importance use the same chanel to report problems.
2622 (read): add code to deal with \begin_body and \end_body.
2625 2004-08-15 José Matos <jamatos@lyx.org>
2627 * lyxlex.C (getString): fix comment, buffer::readBody is now
2628 buffer:readDocument.
2630 * tex-strings.C (string_papersize): Default -> default,
2631 Custom -> custom, for consistency with other options.
2633 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2637 * Makefile.am: support pch
2639 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2641 * text.C (readParToken): remove the static LyXFont variable and
2642 pass it as a parameter instead. This fixes a nasty bug where an
2643 inset will be inserted with a bad font in some situations
2644 (readParagraph): adapt
2646 * text2.C (setCounter): reduce number of calls to pars_[pit]
2648 * text.C (singleWidth): add an assert, fix a test
2650 * rowpainter.C (paintText): reduce number of calls to singleWidth
2652 * paragraph.C (isHfill):
2653 (isNewline): ws only
2655 2004-08-14 André Pönitz <poenitz@gmx.net>
2660 * lyxtext.h (several functions): use a Paragraph & argument
2663 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2665 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2667 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2669 * text.C (singleWidth): remove useless test
2671 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2673 * tabular.h: remove bogus comments
2675 * tabular.C (getDescentOfRow):
2676 (isPartOfMultiColumn): add assertions
2678 * lyxlength.C (inPixels): remove #warning
2680 2004-08-14 André Pönitz <poenitz@gmx.net>
2682 * paragraph.h: inline getChar()
2684 * BufferView.h: remove unused declarations
2686 2004-08-14 José Matos <jamatos@lyx.org>
2688 * Buffer.[Ch] (readDocument): new name for old readBody.
2689 * Buffer.C: new file format, new keywords: \begin_document,
2690 \begin_header, \begin_body, \end_body.
2692 * bufferparams.C (readToken): replace all calls to lex.nextToken
2693 by lex.next(). Do the same to eatLine except where really needed.
2695 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2696 line when writing to the lyx file.
2698 * output_plaintext.C (asciiParagraph): fix Bibliography style
2701 * text.C (read): fix end of file handling.
2703 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2705 * MenuBackend.C (Menu::operator[]): new method to access
2706 individual menu items
2707 (Menu::hasFunc): new method. search for an item that corresponds
2709 (MenuBackend::specialMenu): new method
2710 (MenuBackend::expand): if a special menu has been set, skip
2711 entries whose func() appears in this menu
2713 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2715 * text3.C: use Debug::DEBUG a bit more
2717 * text.C (leftMargin): try to simplify a tiny bit change var x to
2718 l_margin. Dont output the wide margins always.
2719 (rightMargin): no margin in inner texts
2721 * rowpainter.h (nestMargin): new func
2722 (changebarMargin): new func
2723 (rightMargin): new func
2725 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2729 * factory.C (createInset): modify setDrawFrame
2731 * cursor.C: use Debug::DEBUG a bit more
2733 2004-08-14 André Pönitz <poenitz@gmx.net>
2736 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2737 cache for all insets in (at least partially) visible (top-level)
2740 * BufferView_pimpl.C: reset external coord cache before every update.
2741 This means the coord cache only contains valid entries.
2743 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2746 * BufferView_pimpl.C (getInsetByCode): move function out of class
2747 and change in to a template in anon namespace. Also fix to do what
2750 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2753 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2755 (breakParagraph): rename par to par_offset and use a local
2756 reference. Add code to keep the language over a rebreak.
2757 (breakParagraphConservative): rename par to par_offset, use a
2759 (mergeParagraph): ditto
2761 (isFirstInSequence): ditto
2762 (outerFont): rename pit to par_offset
2764 * paragraph.C: ws change
2765 * paragraph.h: ditto
2769 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2771 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2774 * paragraph.C (simpleTeXOnePar): when we have a \item with
2775 optional argument, enclose the argument with curly brackets (in
2776 case it contains a closing square bracket)
2780 * text3.C (checkInsetHit): constify
2782 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2784 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2785 documents (bug 1629)
2787 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2789 Fix toggling of collapsable insets with the mouse (bug 1558)
2791 * lyxfunc.C (dispatch): adapt to LCursor changes
2793 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2794 make sure that dispatch is not invoked twice
2796 * cursor.C (needsUpdate): new method
2797 (dispatch): return void
2798 (result): new method, to access the DispatchResult of the cursor.
2800 2004-08-13 José Matos <jamatos@lyx.org>
2802 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2804 2004-08-13 André Pönitz <poenitz@gmx.net>
2806 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2808 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2811 2004-08-12 André Pönitz <poenitz@gmx.net>
2813 * text3.C: take out the 'cursor right' form insertInset and only
2814 do it in those places when it is really needed. Fixes crash on
2817 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2819 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2821 * BufferView_pimpl.C (setBuffer): initialize the current font of
2822 the underlying LyXText
2824 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2826 * kbsequence.C (print): use UI native formatting for menu
2829 * text.C (insertChar): call Paragraph::insertChar with a font
2832 * paragraph.C (insertInset, insertChar): the version that takes a
2833 LyXFont argument is now a wrapper around the other one (the
2834 opposite used to be true).
2836 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2837 argument. Font setting is done in Paragraph now.
2839 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2841 * outputparams.h: add new members intitle and lang.
2843 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2844 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2846 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2848 * text3.C (dispatch): remove special handling of button 4 and 5,
2849 it is now taken care of in the frontend code.
2851 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2853 * Spacing.h: add <string> (STLPort compile fix)
2855 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2857 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2859 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2861 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2864 * converter.C (showMessage): inherit from unary_function, make
2867 * buffer.C (writeFile): initialize retval
2869 * InsetList.h: rename private variable list to list_
2870 * InsetList.[Ch]: adjust accordingly.
2872 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2874 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2875 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2876 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2877 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2878 * ParagraphParameters.C, LaTeXFeatures.C: replace
2879 "support/std_sstream.h" with <sstream>
2881 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2883 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2884 * lyxsocket.C (LyXServerSocket): ditto
2885 (serverCallback): ditto
2887 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2889 * LaTeXFeatures.C: check release date when loading jurabib.
2891 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2893 * lyxserver.C (startPipe): call register_socket_callback
2894 (endPipe): call unregister_socket_callback
2896 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2898 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2899 (LyXServerSocket): register the callback
2900 (LyXServerSocket): unregister the callback
2901 (fd): delete function
2902 (serverCallback): improve error checking and setup the callbacks.
2903 (dataCallback): change arg to fd.
2904 (writeln): new func (copied fro the client socket) used for server
2906 (LyXDataSocket): simplify
2907 (~LyXDataSocket): close ann unregiser callback
2908 (server): delete function
2909 (fd): delete function
2910 (readln): small changes, improve some std::string usage
2911 (writeln): constify a bit
2913 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2915 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2918 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2920 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2921 after it has been populated
2923 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2925 * text2.C (insertInset): move cursor when inserting inset.
2927 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2929 * kbmap.C (findbindings): a couple of new methods. returns a
2930 container of kb_sequence objects. The real work is done by the
2931 private recursive version
2932 (printbindings): uses findbindings to print out a bracketed list
2933 of bindings (renamed from findbinding).
2935 * MenuBackend.C (binding): use kb_keymap::findbindings
2937 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2939 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2941 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2943 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2945 * paragraph.C (isWord): return true on insets that report
2948 * text.C (getWord): use Paragraph::isWord to decide what is in a
2949 word and what is not; fix bug 1609.
2951 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2953 * tex-strings.C: add "none" to string_paperpackages[], fixes
2954 off-by-one-error in the paperpackage selection.
2957 * tex-strings.[Ch]: char const * string[n]
2958 -> char const * const string[]
2960 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2962 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2963 command, return early.
2965 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2967 * debug.h: add DEBUG to enum and fix size of ANY.
2969 * debug.C: add support for Debug::DEBUG
2970 (showTags): cast errorTags.level to unsigned int
2972 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2973 (redoCurrentBuffer): ditto
2974 (updateScrollbar): ditto
2975 * cursor.C (dispatch): ditto
2976 * text2.C (setLayout): ditto
2978 (updateCounters): ditto
2980 (deleteEmptyParagraphMechanism): ditto
2982 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2984 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2985 annotations to cleanup the Makefile slightly.
2987 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2989 * lyxrc.C: do not set user_email to a default value but use empty
2990 instead. The entry used to be translated, which does not work
2991 since at the point where lyxrc is constructed there is no
2992 translation service available
2994 * messages.C (getLocaleDir): remove and use directly
2995 lyx_localedir() instead
2997 2004-06-02 Angus Leeming <leeming@lyx.org>
2999 Fix crash caused by dereferencing null pointer 'exportdata' in
3000 OutputParams by creating a new ExportData variable on the heap,
3001 storing it in a boost::shared_ptr.
3002 The crash was triggered when generating an Instant Preview
3003 of an external inset.
3005 * Makefile.am: add outputparams.C
3007 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3008 (c-tor): allocate memory to it.
3010 * exporter.C (c-tor): associated changes.
3012 2004-06-01 Angus Leeming <leeming@lyx.org>
3014 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3015 contains data before calling isInset(0). (Bug 1513.)
3017 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3019 * exporter.C (checkOverwrite): new method
3020 * exporter.C (copyFile): new method
3021 * exporter.C (Export): copy referenced files to the document dir
3022 * exporter.[Ch]: new class ExportedFile
3023 * exporter.[Ch]: new class ExportData. Contains currently the
3024 names of referenced external files
3025 * outputparams.h: add exportdata member.
3027 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3029 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3032 2004-05-19 Angus Leeming <leeming@lyx.org>
3037 * lyxfunc.C: small changes due to the introduction of namespace
3038 lyx::frontend and the moving of namespace biblio to lyx::biblio.
3040 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
3042 * text3.C (dispatch): supress update when only moving the cursor
3043 * cursor.C (selHandle): remove commented code
3045 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3047 * paragraph.C (startTeXParParams): correct column count
3048 * CutAndPaste.C (pasteSelection): remove const_cast
3049 * output_docbook.C (docbookParagraphs): remove const_cast
3050 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3051 const_cast and return ParagraphList::const_iterator
3052 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3053 * output_plaintext.C (writeFileAscii): remove const_cast
3054 * paragraph.[Ch] (simpleTeXOnePar): make const
3055 * paragraph_funcs.C (outerPar): use const iterators
3056 * paragraph_pimpl.C (validate): use const iterators
3057 * text.C (setHeightOfRow): use const iterators
3059 2004-05-17 Angus Leeming <leeming@lyx.org>
3062 * LyXAction.C (init): new LFUN_INSET_REFRESH.
3064 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3065 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3066 if the citation engine has changed.
3068 2004-05-14 José Matos <jamatos@lyx.org>
3070 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3071 if the textclass does not provide it. Have it different for sgml and
3073 support the language of document.
3074 * output_docbook.C (docbookParagraphs):
3075 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3076 first anchor as the id of the paragraph, remove special case code.
3077 * sgml.C (escapeChar): escape only < & >.
3079 2004-05-14 Angus Leeming <leeming@lyx.org>
3081 * bufferparams.h: move biblio::CiteEngine enum here to minimize
3082 dependencies on src/frontends/controllers/biblio.h. Define a
3083 CiteEngine_enum wrapper class to enable the enum to be forward
3086 2004-05-12 Angus Leeming <leeming@lyx.org>
3088 * buffer.C: up LYX_FORMAT to 234.
3089 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3090 use_numerical_citations with a single biblio::CiteEngine cite_engine
3092 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3094 2004-05-13 José Matos <jamatos@lyx.org>
3097 * converter.C (Converter, readFlags): add xml member.
3098 * outputparams.h: add XML flavor.
3099 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3101 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3103 * lyxfunc.C (dispatch):
3104 (getStatus): fix handling of LFUN_SEQUENCE
3106 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3108 * debug.C (showLevel): do not forget the end-of-line marker
3110 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3112 * kbmap.C (read): do not stop parsing a bind file when an error
3115 2004-04-29 Angus Leeming <leeming@lyx.org>
3120 * text2.C: wrap a bunch of #warning statements
3121 inside #ifdef WITH_WARNINGS blocks.
3123 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3125 * buffer.C: increment format to 233.
3127 2004-04-28 Angus Leeming <leeming@lyx.org>
3129 * BufferView_pimpl.C:
3132 s/updateToolbar()/updateToolbars()/
3133 s/Toolbar.h/Toolbars.h/
3135 2004-04-28 Angus Leeming <leeming@lyx.org>
3137 * BufferView.[Ch] (c-tor):
3138 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3139 No longer passes these data to the WorkArea generator.
3141 2004-04-28 Angus Leeming <leeming@lyx.org>
3143 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3145 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3147 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3149 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3151 * output_latex.C (TeXEnvironment): make sure that there is a line
3152 break before \end{foo} for the last paragraph of a document
3153 (TeXOnePar): if the paragraph is at the end of the document (or
3154 inset) and the language has to be reset, then make sure that the
3155 line break is _before_ the language command, not after (fixes bug
3156 1225); also make sure that the language reset command is the first
3157 thing after the paragraph (to ensure proper nesting of
3158 environments and thus fix bug 1404)
3160 2004-04-21 John Levon <levon@movementarian.org>
3163 * ToolbarBackend.C: make "name" be a programmatic name
3164 and a gui_name field.
3166 * lyxfunc.C: display the minibuffer on M-x
3168 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3170 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3173 2004-04-19 Angus Leeming <leeming@lyx.org>
3175 * BufferView_pimpl.C (setBuffer): changed preview interface.
3177 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3180 2004-04-19 John Levon <levon@movementarian.org>
3182 * BufferView_pimpl.C:
3183 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3185 2004-04-05 Angus Leeming <leeming@lyx.org>
3187 * text.C (redoParagraphs): add call to updateCounters(), thereby
3188 fixing the missing "Figure #:" label from the caption of a
3191 2004-04-13 Angus Leeming <leeming@lyx.org>
3193 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3194 cursor is clicked out of an inset.
3196 2004-04-13 Angus Leeming <leeming@lyx.org>
3198 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3199 than an InsetOld one.
3201 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3203 * format.[Ch]: add editor to Format
3204 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3205 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3207 2004-04-08 André Pönitz <poenitz@gmx.net>
3209 * metricsinfo.h: remove PainterInfo::width member
3211 2004-04-08 Angus Leeming <leeming@lyx.org>
3213 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3214 "\providecommand" rather than "\newcommand", thereby preventing
3215 clashes with packages that define "\boldsymbol" themselves.
3218 2004-04-08 Angus Leeming <leeming@lyx.org>
3220 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3221 thereby squashing an unnecessary warning.
3223 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3225 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3228 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3230 * BufferView.C (setCursor): call redoParagraph (some insets could
3232 (putSelectionAt): remove the 'double update' trick
3234 * BufferView_pimpl.C (fitCursor): call refreshPar
3235 (workAreaDispatch): remove an uneeded update call
3236 (dispatch): remove some manual update calls
3238 * cursor.[Ch]: remove cached_y_, updatePos
3239 (selHandle): set noUpdate when appropriate
3241 * lyxfunc.C (dispatch): track if we need an update
3243 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3245 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3246 (paintSelection): cheap optimization, do not call cursorX when not
3248 (paintPars): change signature
3251 (paintTextInset): adjust
3255 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3257 * lengthcommon.C: compilation fix: remove explicit array size from
3258 unit_name[] and friends
3260 2004-04-05 Angus Leeming <leeming@lyx.org>
3262 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3264 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3265 present only for the preferences dialog.
3266 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3268 2004-04-05 Angus Leeming <leeming@lyx.org>
3270 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3271 to enable the frontends to export changes to lyxrc correctly.
3273 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3275 2004-04-07 André Pönitz <poenitz@gmx.net>
3277 * cursor.[Ch] (selClear, adjust): remove math
3279 * cursor_slice.C: more agressive assert
3282 * BufferView_pimpl.C: rework mouse event dispatch
3289 2004-04-05 André Pönitz <poenitz@gmx.net>
3291 * cursor.[Ch] (valign, halign...): remove unneeded functions
3293 2004-04-05 Angus Leeming <leeming@lyx.org>
3295 * lyxlength.[Ch] (unit_name et al.): const-correct.
3297 2004-04-05 Angus Leeming <leeming@lyx.org>
3299 * BufferView_pimpl.C:
3308 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3310 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3312 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3314 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3316 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3317 * BufferView_pimpl.[Ch] (getStatus)
3318 * BufferView.[Ch] (getStatus): add
3319 * lyxfunc.C (getStatus): move lfuns handled in
3320 BufferView::dispatch to te function above
3321 * Cursor.C (setSelection): set selection() = true
3323 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3325 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3327 2004-03-31 Angus Leeming <leeming@lyx.org>
3329 * lyxfunc.C (dispatch): Fall through to the generic
3330 Dialogs::show("preamble").
3332 2004-03-31 Angus Leeming <leeming@lyx.org>
3334 * lyxfunc.C (dispatch): Fall through to the generic
3335 Dialogs::show("spellchecker").
3337 2004-03-31 Angus Leeming <leeming@lyx.org>
3339 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3342 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3347 * insetiterator.[Ch]:
3352 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3354 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3356 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3357 insets where we are putting the cursor.
3359 2004-03-31 Angus Leeming <leeming@lyx.org>
3362 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3364 * lyxrc.[Ch] (read, write): overloaded member functions taking
3365 a std::[io]stream arguments.
3367 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3369 2004-03-31 Angus Leeming <leeming@lyx.org>
3371 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3372 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3374 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3375 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3377 2004-03-31 Angus Leeming <leeming@lyx.org>
3379 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3380 the LFUN_ALL_INSETS_TOGGLE code.
3382 2004-03-30 Angus Leeming <leeming@lyx.org>
3384 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3385 has died. Fall through to the generic Dialogs::show("document").
3387 2004-03-30 Angus Leeming <leeming@lyx.org>
3390 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3391 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3393 * lyxfunc.C (getStatus, dispatch): define the actions for these
3394 lfuns. Little more than a cut and pste job from ControlDocument.C
3396 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3398 2004-03-30 Angus Leeming <leeming@lyx.org>
3401 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3402 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3404 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3405 open/closed state of ollapsable insets. Usage:
3407 all-inset-toggle <state> <name>, where
3408 <state> == "open" || "closed" || "toggle" and
3409 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3411 * lyxtext.h, text2.C (toggleInset): removed.
3413 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3414 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3415 now passes LFUN_INSET_TOGGLE to the found inset.
3417 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3418 is now invoked as "all-insets-toggle toggle branch".
3420 2004-03-30 Angus Leeming <leeming@lyx.org>
3424 * pariterator.[Ch]: added/corrected header blurb.
3426 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3428 * dociterator.[Ch]: add an inset_ member
3429 (backwardPos): implemented
3430 (backwardPos, forwardPos): use inset_ when the stack is empty.
3431 (doc_iterator_begin, doc_iterator_end): implemented
3432 * pariterator.[Ch]: adjust, add begin, end
3433 * insetiterator.[Ch]: adjust, add begin, end
3437 * BufferView_pimpl.C:
3438 * CutAndPaste.C: adjust
3440 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3442 * buffer.C: increment file format to 232.
3443 * LaTeXFeatures.C: add bibtopic package.
3444 * bufferparams.[Ch]: param \use_bibtopic.
3446 * lyxrc.[Ch]: add lyxrc bibtex_command
3447 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3449 * buffer.C: increment file format to 231.
3451 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3453 * dociterator.C: implement forwardPar
3454 * iterators.[Ch]: remove, replaced by
3455 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3457 * BufferView_pimpl.C:
3460 * bufferview_funcs.C:
3466 * Makefile.am: adjust
3468 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3470 * CutAndPaste.C (pasteSelection): fix 2 crashes
3471 (eraseSelection): fix a crash
3472 * paragraph_funcs.C: remove a warning
3474 2004-03-28 Angus Leeming <leeming@lyx.org>
3477 * LyXAction.C (init): new LFUN_PRINT.
3479 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3481 2004-03-27 Angus Leeming <leeming@lyx.org>
3484 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3486 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3488 2004-03-27 Angus Leeming <leeming@lyx.org>
3490 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3491 insetlist always contains non-null pointers to insets.
3493 2004-03-26 Angus Leeming <leeming@lyx.org>
3495 * src/BufferView_pimpl.C:
3496 * src/CutAndPaste.C:
3499 * src/output_plaintext.C:
3500 * src/outputparams.h:
3501 * src/paragraph_funcs.C:
3505 * src/frontends/controllers/ControlErrorList.C:
3506 * src/frontends/gtk/FileDialogPrivate.C:
3507 * src/frontends/gtk/GPainter.C:
3508 * src/frontends/gtk/GToolbar.C:
3509 * src/frontends/qt2/QRef.C:
3510 * src/mathed/math_scriptinset.C: squash compiler warnings.
3512 2004-03-26 Angus Leeming <leeming@lyx.org>
3514 * ispell.C (LaunchIspell::start):
3515 * lyx_cb.C (AutoSaveBuffer::start):
3516 invoke run(DontWait) rather than runNonBlocking().
3518 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3520 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3522 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3524 * kbsequence.C (print): adjust
3526 * kbmap.C (printKeySym): rename and change signature
3527 (printKey): use LyXKeySym::print()
3529 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3531 * undo.C: add using std::advance to compile for stlport
3533 2004-03-24 Angus Leeming <leeming@lyx.org>
3535 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3536 it leads to a crash when no buffer is present.
3538 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3539 Martin Vermeer <martin.vermeer@hut.fi>
3541 * lyxfunc.C (dispatch):
3542 * bufferparams.C (readToken): use the new LColor::setColor
3544 * LColor.[Ch] (setColor): new version that takes two strings as
3545 argument and creates a new color entry if necessary
3547 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3549 * buffer.C (makeLaTeXFile): if the main latex file that is
3550 processed is usually a subdocument of some master, then pretend
3551 for a while that it is actually the master
3553 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3555 * buffer.C (getLabelList):
3556 (getBibkeyList): use getMasterBuffer()
3557 (getMasterBuffer): new method. Returns the main document in the
3558 case where one is using included documents.
3560 2004-03-25 André Pönitz <poenitz@gmx.net>
3564 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3566 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3568 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3569 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3571 * ParameterStruct.h: merge with ParagraphParameters
3573 * lyxtext.h: remove LyXText::parOffset() and getPar()
3575 * text3.C: Remove all 'manual' update calls. We do now one per user
3576 interaction which is completely sufficient.
3580 * BufferView_pimpl.C:
3581 * FontIterator.[Ch]:
3583 * ParagraphParameters.[Ch]:
3588 * cursor_slice.[Ch]:
3595 * output_docbook.[Ch]:
3596 * output_latex.[Ch]:
3597 * output_linuxdoc.[Ch]:
3598 * output_plaintext.[Ch]:
3600 * paragraph_funcs.[Ch]:
3601 * paragraph_pimpl.[Ch]:
3609 * frontends/controllers/ControlDocument.C:
3610 * frontends/controllers/ControlErrorList.C:
3611 * frontends/controllers/ControlSpellchecker.C:
3614 * insets/insetbase.h:
3615 * insets/insetbibitem.C:
3616 * insets/insetbox.C:
3617 * insets/insetbranch.C:
3618 * insets/insetcaption.C:
3619 * insets/insetcharstyle.C:
3620 * insets/insetcharstyle.h:
3621 * insets/insetcollapsable.C:
3622 * insets/insetcollapsable.h:
3623 * insets/insetert.C:
3624 * insets/insetfloat.C:
3625 * insets/insetfoot.C:
3626 * insets/insetmarginal.C:
3627 * insets/insetnote.C:
3628 * insets/insetoptarg.C:
3629 * insets/insettabular.C:
3630 * insets/insettext.C:
3631 * insets/insettext.h:
3632 * insets/insetwrap.C:
3633 * mathed/math_mboxinset.C:
3634 * mathed/math_nestinset.C:
3635 * mathed/math_scriptinset.C:
3636 * mathed/math_scriptinset.h:
3639 2004-03-24 Angus Leeming <leeming@lyx.org>
3641 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3642 deal with any child processes that have finished but are waiting to
3643 communicate this fact to the rest of LyX.
3645 2004-03-24 Angus Leeming <leeming@lyx.org>
3647 64-bit compile fixes.
3649 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3650 (c-tor): pass lyx::pos_types rather than ints.
3652 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3655 * text.C (Delete): compile fix.
3656 (getPar): ensure that function declaration is the same as that in
3659 2004-03-23 Angus Leeming <leeming@lyx.org>
3661 * ispell.C (LaunchIspell):
3662 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3663 a boost::shred_ptr rather than a std::auto_ptr.
3665 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3667 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3668 handle LFUN_FILE_INSERT_*
3670 * lyxrc.C (setDefaults, getDescription, output, read):
3671 * lyxrc.h: remove ps_command
3673 2004-03-22 Angus Leeming <leeming@lyx.org>
3675 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3676 Ensure that error_handler is processed once only and that all data
3677 is saved before attempting to output any warning messages.
3679 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3681 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3683 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3685 2004-03-19 André Pönitz <poenitz@gmx.net>
3687 * cursor.[Ch] (reset): take main text inset as argument
3689 * BufferView: adjust
3690 * BufferView_pimpl.C: adjust
3692 * paragraph.[Ch]: fix completely broken operator=()
3694 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3696 * LColor.C (getFromLyXName): make sure that the color name is used
3699 2004-03-17 Angus Leeming <leeming@lyx.org>
3702 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3704 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3705 dialog and to kill a forked process.
3707 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3709 * text2.C (setCursorFromCoordinates): fix font problem
3711 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3713 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3714 bogus "rebuild cursor" code
3716 2004-03-11 André Pönitz <poenitz@gmx.net>
3718 * buffer.[Ch]: use InsetText instead of LyXText as container for
3721 * dociterator.[Ch]: drop the BufferView * member which is not needed
3722 anymore after the change to buffer.C
3724 * paragraph_funcs.C:
3728 * BufferView_pimpl.[Ch]:
3730 * cursor_slice.[Ch]: adjust
3732 * text3.C: fix bug in mathDispatch
3734 2004-03-08 André Pönitz <poenitz@gmx.net>
3736 * undo.[Ch]: use 'StableDocumentIterator' as base for
3739 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3742 * bufferparams.[Ch]: add jurabib support and param.
3744 * LaTeX.C: add FIXME/comment.
3746 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3748 * buffer.C: increment file format to 230.
3750 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3752 * cursor.C (dispatch): avoid infinite loops
3754 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3756 * rowpainter.C (paintSelection): fix x coordinates
3758 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3760 * text.C (rowBreakPoint): fix breaking before displayed insets
3762 2004-03-01 André Pönitz <poenitz@gmx.net>
3764 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3766 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3770 * BufferView_pimpl.C:
3778 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3784 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3785 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3787 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3789 * Bidi.[Ch] (computeTables): const correctness
3790 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3791 fill_hfill, fill_label_hfill and x from Row
3792 * lyxtext.h: prepareToPrint returns a RowMetrics
3793 * rowPainter.C: adjust
3794 * text.C (prepareToPrint): use width, not textWidth. adjust
3795 (redoParagraphInternal, cursorX): adjust
3796 * text2.C (getColumnNearX): adjust
3797 (init): put a default value to the top LyXText::width
3799 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3801 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3803 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3805 * lyxtext.h: add FontIterator class
3807 * text.C (FontIterator, operator*, operator->, operator++): add
3808 (rowBreakPoint, setRowWidth): adjust (fixing a
3811 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3813 * BufferView_pimpl.C (workAreaDispatch): allow also
3814 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3816 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3818 * text.C (rowBreakPoint): fix a bug showing with very large insets
3820 2004-02-25 André Pönitz <poenitz@gmx.net>
3823 * cursor.[Ch]: move some mathed specific code to mathed
3825 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3827 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3828 use_tempdir in preferences
3829 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3831 * lyx_main.C: ensure that tempdir is valid
3832 * lyxlex.h: correct typo
3833 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3834 * paragraph.[Ch] (isMultiLingual): make const
3835 * cursor.[Ch] (openable): make const
3837 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3839 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3841 2004-02-20 André Pönitz <poenitz@gmx.net>
3843 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3845 * cursor.[Ch]: prepare for localized getStatus()
3851 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3853 2004-02-20 André Pönitz <poenitz@gmx.net>
3855 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3857 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3859 * text2.C (setCursorFromCoordinates): switch to absolute coords
3861 (cursorDown): adjust
3862 * text3.C (dispatch): adjust
3864 2004-02-16 André Pönitz <poenitz@gmx.net>
3866 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3869 * cursor_slice.[Ch]: remove unneeded acessor function
3871 * lyxtext.h: rename rtl() to isRTL()
3879 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3881 * rowpainter.C (paintSelection): coord fix
3883 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3885 * Spacing.C: compile fix
3887 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3889 * cursor.C (dispatch): restore current_ before returning
3891 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3893 * text2.C (cursorUp, cursorDown): fix coords
3896 2004-02-12 André Pönitz <poenitz@gmx.net>
3901 * text3.C: add LCursor & parameter to most cursor movement functions
3902 remove usage of LyXText::cursorRow() and cursorPar()
3904 * cursor.[Ch]: add textRow() needed members
3907 * BufferView_pimpl.C:
3910 * BufferView_pimpl.C: adjust
3912 2004-02-11 André Pönitz <poenitz@gmx.net>
3916 * BufferView_pimpl.C: shift undo/redo handling
3918 * cursor.[Ch]: fix mathed crash
3921 * lyxtext.h: move selectionAsText to LCursor
3929 * rowpainter.C: fix excessive drawing
3931 2004-02-06 André Pönitz <poenitz@gmx.net>
3934 * BufferView_pimpl.[Ch]:
3935 * text3.C: move some text specific LFUN handling
3937 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3939 * text3.C (checkInsetHit): adjust coords
3940 * text2.C (getColumnNearX): adjust coords
3941 (edit): adjust coords
3942 * text.C (getRowNearY): add two asserts
3944 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3947 * format.C: add using std::distance to compile on gcc 2.95/stlport
3949 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3951 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3953 2004-02-04 André Pönitz <poenitz@gmx.net>
3955 * BufferView.[Ch] (insertInset):
3956 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3961 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3963 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3964 on the default clause of the switch
3965 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3966 wasn't catched by LCursor::dispatch
3968 2004-02-03 André Pönitz <poenitz@gmx.net>
3971 * cursor.[Ch]: some additional asserts
3973 * undo.[Ch]: remove LyXText dependency in interface
3977 * lyxtext.h (firstPar, lastPar): remove dead functions
3982 * paragraph.[Ch]: adjust
3984 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3986 * lyxfind.C (find): fix argument order in call to ::find
3988 2004-02-02 André Pönitz <poenitz@gmx.net>
3990 * cursor.[Ch]: remove direct access to anchor
3992 * text.C: remove findText() hack
3994 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3996 * iterators.[Ch] (lockPath): remove in favour of...
3997 * BufferView.[Ch] (setCursor): this addition
3998 * BufferView.C (putSelectionAt): adjust
3999 * undo.C (performUndoOrRedo): adjust
4000 * lyxfunc.C (dispatch): adjust
4002 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
4004 * iterators.C (lockPath): add a missing slice
4005 * undo.C (performUndoOrRedo): remove redundant positioning code
4007 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4009 * vc-backend.C (scanMaster): ";" -> ';'
4011 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4013 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4014 std::binary_function
4016 * lyxtextclass.C (compare_name): rename to...
4017 (LayoutNamesEqual): ...this
4019 * lyxlex_pimpl.C (compare_tags): inherit from
4020 std::binary_function, put back into anon namespace
4022 * lyxfind.C (MatchString): inherig from std::binary_function
4023 (findChange): use empty() istead of !size()
4025 * format.C (FormatNamesEqual): new functor
4032 * converter.C (compare_Converter): rename to...
4033 (ConverterEqual): ...this, and fixup a bit.
4034 (getConverter): use it, and make function const
4035 (getNumber): use it, and make function const
4039 * bufferlist.C: add using boost::bind
4041 * MenuBackend.C (MenuNamesEqual): new functor
4042 (hasMenu): use it, and make function const
4043 (hasSubmenu): use nested bind to get rid of compare_memfun.
4045 2004-01-30 André Pönitz <poenitz@gmx.net>
4047 * BufferView_pimpl.C:
4050 * cursor_slice.[Ch]:
4053 * paragraph_funcs.C:
4054 * paragraph_funcs.h:
4058 * text3.C: move some of the edit(x,y) handling to the insets
4059 some coordinate changes.
4061 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4063 * text.C: add using statements for std::advance and std::distance
4065 * paragraph.C: add using statement for std::distance
4067 * lyxfind.C: add using statement for std::advance
4069 * cursor.C (region): remove std:: from swap
4070 (openable): use nucleus in stead of operator->
4072 * BufferView.C: add using statements for std::distance and std::swap
4074 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4076 * iterators.C: Remove the pimple, move the needed structures to
4077 the header file. Create accessor for the positions stack.
4078 (asPosIterator): remove function
4080 * PosIterator.C (PosIterator): move constructors to top of file
4081 (PosIterator): reimplement the constructor taking a ParIterator in
4083 (setFrom): new function
4084 (operator!=): inline it
4086 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4088 * lyxfind.C (replaceAll): use std::advance
4090 * iterators.h: inherit from std::iterator.
4092 * PosIterator.C (advance, distance): remove
4093 * PosIterator.h: interit from std::iterator.
4095 2004-01-26 André Pönitz <poenitz@gmx.net>
4098 * BufferView_pimpl.[Ch]:
4102 * bufferview_funcs.C:
4112 * output_linuxdoc.C:
4113 * output_plaintext.C:
4115 * paragraph_funcs.[Ch]:
4116 * paragraph_pimpl.[Ch]:
4122 * text3.C: more IU: dumps most of the rest of the mathcursor
4123 implementation into cursor.[Ch]; "globalize" a bit of it.
4125 2004-01-25 Angus Leeming <leeming@lyx.org>
4127 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4129 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4131 * LaTeXFeatures.h: add nice_ and nice() const
4132 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4134 2004-01-20 André Pönitz <poenitz@gmx.net>
4137 * BufferView_pimpl.C:
4139 * bufferview_funcs.C:
4141 * cursor_slice.[Ch]:
4152 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4153 LCursor and mathcursor parts to LCursor and InsetBase.
4155 2004-01-15 André Pönitz <poenitz@gmx.net>
4157 * cursor_slice.[Ch]: add a few covienience functions
4159 * funcrequest.[Ch]: remove BufferView * member
4161 * BufferView_pimpl.C:
4168 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4170 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4172 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4173 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4175 2004-01-13 André Pönitz <poenitz@gmx.net>
4178 * lyxtext.h: hide cursor and selection anchor behind accessor function
4181 * BufferView_pimpl.[Ch]:
4183 * bufferview_funcs.C:
4193 * cursor_slice.[Ch]: some integer type changes for inset unification
4195 * lyxcursor.[hC]: remove, it's CursorSlice now.
4198 * BufferView_pimpl.[Ch]:
4199 * bufferview_funcs.C:
4205 * textcursor.[Ch]: adjust
4207 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4209 * text2.C (undoSpan): add and use
4210 * text.C (breakParagraph): use undoSpan (fix bug 578)
4213 2004-01-08 Angus Leeming <leeming@lyx.org>
4215 * BufferView_pimpl.C (MenuInsertLyXFile):
4216 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4217 * lyxfunc.C (menuNew, open, doImport):
4218 FileFilterList change to the FileDialog open and save functions.
4220 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4222 * ShareContainer.h: make isEqual and isUnique adaptable
4224 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4226 2004-01-07 Angus Leeming <leeming@lyx.org>
4229 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4231 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4233 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4234 functions replacing find, replace and replaceAll.
4236 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4237 LFUN_WORDFIND(FORWARD|BACKWARD).
4239 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4241 * text.C (breakParagraph): remove an outdated #warning
4243 2004-01-07 André Pönitz <poenitz@gmx.net>
4245 * lyxfind.C: somewhat clearer logic
4247 * text.C: prevent crash in cursorX on unitialized row cache
4249 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4251 * lyxcursor.[Ch] (operator>): add
4252 * textcursor.C (selStart, selEnd): use std::min and std::max
4254 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4256 * Chktex.C: include boost/format.hpp
4258 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4260 * InsetList.C: replace functor MathcIt with adaptable functor
4262 (insetIterator): modify accordingly
4264 * BranchList.h: move the BranchNamesEqual functor here from...
4265 * BranchList.C: ... to here
4267 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4269 (add): replace a finding loop with std::find_if.
4271 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4273 * output_docbook.C: moving LatexParam functionality into
4276 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4278 * buffer.C: increment format to 229.
4280 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4283 * lyx_sty.[Ch]: remove minipageindent_def
4289 * text3.C: remove LFUN_INSET_MINIPAGE
4291 2003-12-28 Angus Leeming <leeming@lyx.org>
4293 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4295 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4297 * text2.C (setParagraph): fix off-by-one crash
4299 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4301 * output_docbook.C: header stuff for AGU
4303 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4305 * text2.C (redoCursor): remove
4308 * BufferView_pimpl.C: remove calls to redoCursor and
4309 setCursor(cursor.par(), cursor.pos()) all around
4311 2003-12-15 Angus Leeming <leeming@lyx.org>
4313 * buffer.C: up the format to 228.
4315 2003-12-15 André Pönitz <poenitz@gmx.net>
4317 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4322 * BufferView_pimpl.C:
4331 2003-12-15 Angus Leeming <leeming@lyx.org>
4333 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4334 than getFromGUIName to manipulate the color.
4336 2003-12-14 Angus Leeming <leeming@lyx.org>
4338 * BranchList.[Ch]: minimize the API.
4339 (Branch::getBranch, getColor): now return a 'const &'.
4340 (Branch::setSelected) now returns a bool set to true if the
4341 selection status changes.
4342 (BranchList::clear, size, getColor, setColor, setSelected,
4343 allBranches, allSelected, separator): removed.
4344 (BranchList::find): new functions, returning the Branch with
4346 (BranchList::add, remove): return a bool indicating that
4347 the operation was successful.
4349 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4350 new InsetBranch::isBranchSlected member function.
4352 * LColor.[Ch]: mimimize the API.
4353 (fill): renamed as addColor and made private.
4354 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4355 versions of these functions taking a string arg have been removed.
4357 * bufferparams.C (readToken):
4358 * lyxfunc.C (dispatch):
4359 * lyxrc.C (read): changes due to the altered BranchList and
4362 * factory.C (createInset, readInset): changes due to altered
4365 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4368 * lyxfunc.C: remove insetminipage. "minipage-insert"
4369 now produces a frameless minipage box inset.
4371 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4373 * textcursor.[Ch] (selStart,selEnd): add new methods
4374 remove selection::start, end, use LyXCursor::operator<
4375 * lyxcursor.[Ch] (operator<): add
4376 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4377 * BufferView.[Ch] (unsetXSel): add
4378 * text2.C (clearSelection): use unsetXSel,adjust
4381 * rowpainter.C: adjust
4382 * bufferview_funcs.C (put_selection_at): adjust
4384 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4386 * BufferView_pimpl.C: small coord. correction
4388 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4390 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4391 dragging over the splash screen.
4393 2003-12-11 Angus Leeming <leeming@lyx.org>
4395 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4396 as it is now handled in LyXText::dispatch.
4398 * text3.C (doInsertInset): remove a level of nesting.
4400 2003-12-11 Angus Leeming <leeming@lyx.org>
4402 * factory.C (createInset): changes due to the changed interface to
4403 InsetCommandMailer::string2params.
4405 2003-12-10 Angus Leeming <leeming@lyx.org>
4407 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4408 'dialog-show-new-inset <inset name>'
4410 2003-12-10 Angus Leeming <leeming@lyx.org>
4412 * buffer.C: up the format to 227.
4414 * factory.C: the box inset is now identified simply by 'Box'.
4416 2003-12-10 Angus Leeming <leeming@lyx.org>
4418 * buffer.C: up the format to 226.
4420 * factory.C: the note inset is now identified simply by 'Note'.
4422 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4424 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4425 when a pit is enough. Standarize a couple of loops.
4427 2003-12-05 Angus Leeming <leeming@lyx.org>
4429 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4430 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4431 data to the re-worked "log" dialog.
4433 2003-12-03 André Pönitz <poenitz@gmx.net>
4439 * paragraph_funcs.C:
4441 * text2.C: use Inset::getText instead of Inset::getParagraph
4443 2003-12-03 André Pönitz <poenitz@gmx.net>
4447 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4448 InsetText::read() as LyXText::read()
4450 2003-12-02 Angus Leeming <leeming@lyx.org>
4452 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4453 type. Add a comment in the implementation that the function uses
4454 the stream's bad() function rather than fail() as the std::streams
4457 2003-12-02 André Pönitz <poenitz@gmx.net>
4459 * lyxlex.[Ch]: make interface more similar to std::stream
4461 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4463 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4465 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4467 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4469 * vspace.[Ch]: remove VSpace::NONE
4471 2003-12-01 André Pönitz <poenitz@gmx.net>
4474 * lyxtext.h: move ParagraphList member to LyXText
4475 rename LyXText::ownerParagraphs to LyXText::paragraph
4478 * bufferview_funcs.C:
4488 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4490 * undo.C: fix cursor positioning
4492 2003-12-01 John Levon <levon@movementarian.org>
4494 * BufferView_pimpl.C: fix a crash on exit with
4497 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4499 * BranchList.C: fix setSelected() method.
4501 2003-11-28 André Pönitz <poenitz@gmx.net>
4503 * ParagraphParameters.[Ch]:
4504 * ParameterStruct.h: remove space above/below from Paragraph to
4507 * BufferView_pimpl.C:
4513 * paragraph_funcs.C:
4519 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4521 * factory.C: Syntax change for CharStyles
4523 2003-11-28 André Pönitz <poenitz@gmx.net>
4528 * buffer.[Ch]: move LyXText member
4530 2003-11-28 André Pönitz <poenitz@gmx.net>
4532 * BufferView.[Ch]: make LyXText * text a private member
4534 * BufferView_pimpl.C:
4545 * output_plaintext.C: cleanup
4547 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4550 * lyxtextclass.[Ch]: parametrize SGML document header
4552 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4555 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4558 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4560 * text2.C (setFont): rework using PosIterator (no more recursive)
4561 (setCharFont): no more needed
4562 (setLayout): no more selection cursors fiddling (done by redoCursor)
4563 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4564 destroy remaining ones)
4566 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4568 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4570 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4573 * text3.C: adjust + re-allow multi par depth changes
4574 * textcursor.C: simplify a bit
4576 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4582 * src/output_docbook.C:
4583 * src/output_latex.C:
4588 * src/text2.C: Introducing a number of tags parametrizing various
4589 XML formats that we may want to support
4591 2003-11-25 André Pönitz <poenitz@gmx.net>
4593 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4595 * lyxtext.h (leftMargin/rightMargin): simplify interface
4602 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4604 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4605 master file to any child files. Fixes bug 546.
4607 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4609 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4611 2003-11-24 André Pönitz <poenitz@gmx.net>
4613 * rowpainter.C: simplification
4615 * text2.C (updateCounters): remove call to redoParagraph on
4616 changed labels as this is far too expensive.
4618 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4620 * converter.C (convert): fix a crash: this function gets
4621 called with buffer == 0 from importer code.
4623 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4625 * text3.C (cursorPrevious): make sure that we do not compare
4626 iterators form different containers.
4629 * rowpainter.C (paintSelection): make sure that we do not compare
4630 iterators from different containers.
4632 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4633 iterators from different ParagraphList containers.
4636 * text2.C (LyXText): change order of initialization slightly
4637 (operator=): new function. copy all variables except cache_par_
4638 (moveUp): make sure that we do not compare iterators from
4639 different ParagraphList constainers.
4642 * text.C (firstPar): new function
4643 (lastPar): new function
4644 (endPar): new function
4646 * lyxtext.h: move things around and group public functions, public
4647 variables, private functions, private variables
4649 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4651 * factory.C: change call to InsetERT constructor to avoid
4652 additional invocation of method status
4653 * text2.C (toggleInset): remove redundant update() call
4654 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4655 instead of a Bufferview pointer
4657 2003-11-21 André Pönitz <poenitz@gmx.net>
4659 * rowpainter.C: simplification
4661 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4663 * text3.C (dispatch): make possible to extend a word/row selection
4666 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4668 * lyxtext.h: x0_,y0_ -> xo_,yo_
4669 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4670 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4671 * rowpainter.C (paintRows): paint full paragraphs
4673 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4675 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4678 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4680 * lyxtext.h: add x0_, y0_
4681 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4682 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4684 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4686 * text2.C (setCursorIntern): move the x_target update here *
4687 * text3.C: change some bv() to true/false in calls to
4688 cursorUp/Down/Right/Left
4689 * cursor.C: use helper function.
4691 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4693 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4694 * paragraph_funcs.[Ch]: correct comment
4695 * rowpainter.C: do not paint selections away from bv->cursor()
4696 Fix a long standing selection painting bug.
4697 * text3.C: generalize mouse-selection code to LyXTexts other that
4699 * textcursor.C: do not use y coords if we can use par offsets
4701 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4703 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4704 cursor position after e.g. inset insert)
4706 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4708 * lyxfind.C (replace): adjust to locking removal + some
4711 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4713 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4716 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4719 * output_docbook.C: XML sanitation: new layout
4720 parameters InnerTag and CommandDepth
4722 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4724 * BufferView_pimpl.C:
4726 * text3.C: Fix the insertion and modification of button-style
4729 2003-11-13 André Pönitz <poenitz@gmx.net>
4731 * InsetList.[Ch]: remove deleteLyXText
4733 * paragraph.[Ch]: cache beginOfBody position
4738 * text3.C: remove superfluous update() calls
4742 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4744 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4745 * BufferView.C (fitLockedInsetCursor): remove
4746 * cursor.[Ch] (getDim): add
4747 * text.C (getRowNearY): add faster version
4748 * text3.C: remove some update calls
4750 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4762 * text3.C: The Character Style /XML short element patch.
4764 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4767 * factory.C: Small step to solving 'unable to insert some insets'
4770 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4772 * cursor.[Ch] (updatePos): new function for updating the y
4773 position of the tip inset
4774 * bufferview_funcs.C (put_selection_at):
4775 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4777 2003-11-11 André Pönitz <poenitz@gmx.net>
4779 * text.C: remove big comment on invalid Paragraph pointers as it is
4782 2003-11-11 André Pönitz <poenitz@gmx.net>
4784 * text_funcs.[Ch]: merge with ...
4792 * Makefile.am: remove text_funcs.[Ch]
4794 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4796 * cursor.C (getPos): return absolute cached y coord
4798 * BufferView_pimpl.C (fitCursor): new simplistic code
4799 (workAreaDispatch): add a fitCursor call
4801 2003-11-10 André Pönitz <poenitz@gmx.net>
4804 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4806 2003-11-10 André Pönitz <poenitz@gmx.net>
4808 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4809 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4810 indicate that the cursor needs to leave an inset
4812 * lyxtext.h: remove inset locking
4814 * cursor.[Ch]: re-implement functionality provided by inset locking
4817 * BufferView_pimpl.[Ch]:
4819 * bufferview_funcs.[Ch]:
4831 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4833 * PosIterator.[Ch]: replace the stack with a vector, add inset
4835 * iterators.[C]: adjust
4837 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4839 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4841 * paragraph_funcs.C (readParToken): put the correct id in the
4842 error item, not the id of the top paragraph
4844 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4846 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4847 * bufferview_funcs.C (put_selection_at): use the above
4849 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4851 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4853 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4855 * output_linuxdoc.h:
4856 * output_plaintext.h:
4858 * output_docbook.h: add #include statements
4860 2003-11-05 José Matos <jamatos@lyx.org>
4862 * output_docbook.[Ch]:
4863 * output_latex.[Ch]:
4864 * output_linuxdoc.[Ch]:
4865 * output_plaintext.[Ch]: New files for output formats.
4866 * output.[Ch]: New file for helper functions.
4869 * paragraph_funcs.[Ch]: output functions moved to new files.
4871 * outputparams.h: rename of latexrunparams.h
4879 * paragraph_funcs.[Ch]:
4880 * paragraph_pimpl.[Ch]:
4881 * tabular.[Ch]: rename ascii to plaintext
4882 and LatexRunParams to OutputParams.
4884 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4886 * iterators.[Ch] (text): require bv argument
4887 * undo.C (recordUndo):
4888 * lyxfunc.C (dispatch):
4889 * bufferview_funcs.C (put_selection_at): adjust
4891 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4893 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4895 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4897 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4900 2003-11-04 André Pönitz <poenitz@gmx.net>
4902 * cursor.[Ch]: restructure
4905 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4907 * iterators.[Ch] (asCursor): remove
4909 * lfuns.h: remove LFUN_INSET_EDIT
4915 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4917 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4919 * lyxfind.[Ch]: complete overhaul
4920 * BufferView_pimpl.C:
4922 * paragraph.[Ch] (insert): add
4924 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4928 * text.C: remove dead spellcheck code
4930 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4932 * dispatchresult.h: add a val setter
4934 * cursor.C (dispatch): use a tempvar for data_[i]
4936 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4938 * PosIterator.[Ch]: compile fix
4940 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4942 * text.C (cursorPar): deactivate the cursor cache
4944 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4946 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4948 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4950 * text3.C (dispatch): adjust for new DisptchResult semantics.
4952 * lyxfunc.C (dispatch): handle update when return from
4953 Cursor::dispatch, adjust for new DispatchResult semantics.
4955 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4956 DispatchResult(true) mean to not update. Add class functions for
4957 setting dispatched and update, as well as reading.
4959 * cursor.C (dispatch): don't handle update here
4961 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4963 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4964 * trans_mgr.C: adjust
4966 * paragraph_funcs.C (readParToken): exception safety
4968 * lyxvc.h: store the vcs pointer in a scoped_ptr
4971 * lyxsocket.C (serverCallback): exception safety
4973 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4975 * ispell.C (clone): make it return a auto_ptr
4977 * factory.C (createInset): exception safety
4978 (readInset): exception safety
4980 * bufferlist.C (newBuffer): exception safety
4982 * Thesaurus.C (Thesaurus): use initialization for aik_
4984 * MenuBackend.C (expandToc): exception safety.
4986 2003-11-03 André Pönitz <poenitz@gmx.net>
4990 * bufferview_funcs.C: remove getInsetFromId()
4993 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4999 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
5001 * PosIterator.C (distance, advance): new
5002 * bufferview_funcs.[Ch] (put_selection_at): new
5003 * iterators.[Ch] (lockPath): new
5005 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
5007 * iterators.[Ch] (asPosIterator): added
5008 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5009 * PosIterator.[Ch]: added
5011 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5015 * cursor.C (dispatch):
5016 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5018 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5019 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5020 contructor, add a class function dispatched. Remove operator>=
5022 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5024 * debug.C: only use the default constructor for debugstream
5027 * main.C (main): include debug.h and setup the lyxerr streambuf
5030 2003-10-31 José Matos <jamatos@lyx.org>
5032 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5034 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5035 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5036 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5037 * paragraph_pimpl.C (simpleTeXSpecialC):
5038 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5039 add LatexRunParams argument.
5041 * exporter.C (Export): change call accordingly.
5043 * latexrunparams.h: add new member to take care of the other backends.
5044 2003-10-30 José Matos <jamatos@lyx.org>
5046 * buffer.C (makeLinuxDocFile, makeDocBookFile):
5047 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5048 factorise code for paragraph output.
5050 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5053 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5055 * text3.C (dispatch):
5056 * lyxfunc.C (dispatch):
5057 * cursor.C (dispatch):
5058 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5060 * dispatchresult.h: make the dispatch_result_t ctor explicit
5062 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
5065 * buffer.C: small refactoring of docbook stuff
5067 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5069 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5072 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5074 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5075 operator dispatch_result_t, and operators for == != and >=
5077 * cursor.C (dispatch): adjust for operator dispatch_result_t
5078 removal. comment out call to update
5080 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5082 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5090 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5093 * dispatchresult.h: new file, DispatchResult broken out of
5096 * Makefile.am (lyx_SOURCES): add dispatchresult.h
5098 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5100 * text.C (rowBreakPoint): put a hack inside #if 0
5102 2003-10-28 André Pönitz <poenitz@gmx.net>
5106 * paragraph_funcs.C:
5109 * text2.C: general cleanup (lots of small stuff)
5111 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
5113 * text2.C (cursorEnd): simple fix to the "end key goes to one
5114 before the end on last row" bug
5116 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5118 * text.C (backspace): fix the "zombie characters"
5120 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5122 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5124 2003-10-27 André Pönitz <poenitz@gmx.net>
5126 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5128 * factory.C: handle new InsetPagebreak, InsetLine
5130 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5131 and move handling into new InsetPagebreak, InsetLine
5133 * BufferView_pimpl.C:
5135 * ParagraphParameters.C:
5136 * ParameterStruct.h:
5141 * paragraph_funcs.C:
5142 * paragraph_pimpl.C:
5148 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5151 * lyxrow_funcs.[Ch]:
5157 * text3.C: remove lastPos uses in favour of Row::endpos
5159 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5161 * undo.C (performUndoOrRedo): fix two crashes by setting a
5162 cursor by hand and reordering some calls. Use bv->lockInset instead
5163 of inset->edit because the latter loses cursor information
5165 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5167 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5169 (rowBreakPoint): fix width. change point to point + 1.
5170 Add a missing check.
5172 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5175 * lyxfunc.C: fix (at least partly) the problems
5176 with the Nav menu and headers inside branch insets
5179 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5181 * paragraph.C (getChar): add strong asserts
5183 * lyxrow_funcs.C (lastPos): remove hideous hack
5185 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5186 (fill): adjust to that (avoid an infinite loop)
5188 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5190 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5192 2003-10-23 André Pönitz <poenitz@gmx.net>
5194 * RowList_fwd.h: change list<> to vector<> to gain speed
5195 after suggestion from Alfredo
5197 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5199 * lyxtext.h: move the bidi stuff from here...
5202 * Bidi.[Ch]: ... to here
5204 2003-10-23 André Pönitz <poenitz@gmx.net>
5207 * text.C (isLastRow, isFirstRow): new functions
5209 * paragraph.h: new width cache member
5211 * rowpainter.C: replace RowList::iterator with Row & where possible
5213 * lyxfunc.C: replace several view()->text with a single call
5215 * toc.C: fix 'unused' warning
5217 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5219 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5220 when woring with stream::pos_type
5221 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5223 2003-10-22 André Pönitz <poenitz@gmx.net>
5226 * text.C: use Row & instead of RowList::iterator
5228 * lyxrow.h: rename end() to endpos()
5234 2003-10-22 Angus Leeming <leeming@lyx.org>
5236 * buffer.[Ch] (fully_loaded): new member function, returning true
5237 only when the file has been loaded fully.
5238 Used to prevent the premature generation of previews and by the
5239 citation inset to prevent computation of the natbib-style label.
5241 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5242 templates are all set up.
5244 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5246 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5248 * text.C: fixed an "oops" in the "is a bit silly"
5251 2003-10-21 André Pönitz <poenitz@gmx.net>
5253 * FuncStatus.[Ch]: small stuff, whitespace
5255 * lyxfont.[Ch]: operator<<() for debug reasons
5259 * lyxtext.h: whitespace, spelling
5261 * paragraph.C: naming of variables
5264 * text2.C: small stuff
5267 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5269 * text.C: (1) finish off the inset display() work;
5270 (2) fix the "is a bit silly" bug (accessing char
5273 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5275 * text.C: re-introduce display() for insets, fixing the
5276 various bugs (stretch of line above, math inset
5279 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5281 * text.C (rightMargin): remove spurious semicolon
5283 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5286 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5288 * text3.C: fix one crash due to wrong cursor def
5290 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5292 * vc-backend.C (scanMaster): make the regex static
5294 * LaTeX.C (scanAuxFile): make the regexs static
5296 * text3.C (doInsertInset, dispatch, dispatch):
5297 * text2.C (cursorUp, cursorDown):
5298 * text.C (selectNextWordToSpellcheck):
5299 * BufferView_pimpl.C (dispatch):
5300 * lyxfunc.C (dispatch): localDispatch -> dispatch
5302 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5304 * lyxsocket.C: include <cerrno>
5306 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5308 * lyxfunc.C (dispatch): remove textcache stuff
5310 * bufferlist.C (release): remove textcache stuff
5313 * TextCache.C: delete file
5314 * TextCache.h: delete file
5316 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5318 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5319 delete of the bv_->text.
5320 (resizeCurrentBuffer): remove texcache stuff
5321 (workAreaResize): ditto
5323 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5325 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5328 2003-10-16 André Pönitz <poenitz@gmx.net>
5335 * text3.C: speed up by storing y positions per paragraph plus per-row
5336 offset instead of having a 'full' y position in the row.
5338 2003-10-15 André Pönitz <poenitz@gmx.net>
5342 * undo.[Ch]: make undo aware of inner insets
5344 2003-10-14 Angus Leeming <leeming@lyx.org>
5346 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5347 static member functions LyX::ref() and LyX::cref.
5348 (lastfiles): new accessor functions for the new lastfiles_ member var.
5349 (addLyXView, views_): add a new LyXView to the list of views_.
5350 (updateInset): loop over all LyXViews to call their own updateInset
5351 member function, returning a pointer to the Buffer owning the inset.
5353 * BufferView_pimpl.C (loadLyXFile):
5354 * MenuBackend.C (expandLastfiles):
5355 * bufferlist.C (MenuWrite, QuitLyX):
5356 lastfiles is no longer a global variable.
5357 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5359 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5360 static function. Access through LyX::cref().emergencyCleanup().
5362 2003-10-14 André Pönitz <poenitz@gmx.net>
5364 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5366 * undo.[Ch]: restoring part of 'undo in insets'
5369 * undo_funcs.[Ch]: merge with undo.[Ch]
5371 * tabular.C: small cleansing stuff
5373 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5375 * paragraph_funcs.C (readParToken): report unknown insets as error
5376 boxes. Use the outer paragraph as location (also for unknown
5379 * factory.C (readInset): do not abort on reading an unknown inset.
5380 Eat it and return 0.
5382 2003-10-13 Angus Leeming <leeming@lyx.org>
5384 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5386 * lyxrc.C: displayTranslator is now a function,
5387 declared in GraphicsTypes.h.
5389 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5391 * format.C: new placeholder $$a to pass the socket address.
5393 * bufferlist.[Ch]: new function getBufferFromTmp.
5395 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5396 files in the temporary dir.
5398 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5400 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5402 * Makefile.am: add lyxsocket.[Ch].
5404 * lyx_main.C (error_handler): handle SIGPIPE.
5406 2003-10-13 André Pönitz <poenitz@gmx.net>
5408 * BufferView_pimpl.C:
5413 * undo_funcs.[Ch]: use paroffset_type instead of
5414 ParagraphList::iterators to prevent multiple conversion
5415 (and get a more robust interface)
5417 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5419 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5421 * text3.C (dispatch): ditto
5423 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5425 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5426 move the onlyfile, use onlyfile instead of foundfile in a couple
5429 * DepTable.C (update): flush the error stream a bit more
5431 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5433 * lyxserver.C (callback): adjust
5435 * lyxfunc.C (getStatus): add a missing brace in commented code
5436 (ensureBufferClean): reindent
5437 (dispatch): delete version taking a string
5439 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5441 * LaTeX.C (deplog): move found file handlig from here...
5442 (handleFoundFile): .. to new function here.
5443 (deplog): make sure to discover several files mentioned on the
5446 2003-10-10 André Pönitz <poenitz@gmx.net>
5453 * text3.C: fix some of the tabular crashes
5455 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5457 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5459 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5461 2003-10-09 André Pönitz <poenitz@gmx.net>
5463 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5466 * BufferView_pimpl.C:
5467 * bufferview_funcs.C:
5478 * undo_funcs.C: adjust
5480 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5482 * text2.C (incrementItemDepth): new function, use a backtracking
5483 algorithm to discover the correct item depth.
5484 (resetEnumCounterIfNeeded): new function, use a backtracking
5485 algorithm to discover if counter reset is needed.
5486 (setCounter): use them. Simplify a bit. Add different labels for
5487 different item depths for itemize.
5489 * paragraph.C (Paragraph): remove initialization of enumdepth
5492 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5493 enumerate and itemize. Change the type of itemdepth to signed char.
5495 2003-10-08 André Pönitz <poenitz@gmx.net>
5497 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5502 * tabular.[Ch]: fix crash after 'row-insert'
5504 2003-10-08 Angus Leeming <leeming@lyx.org>
5506 Fix doxygen warnings.
5508 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5509 Remove CutAndPaste:: prefix from header file declaration.
5511 * LColor.h (fill): remove LColor:: prefix from declaration.
5513 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5514 use lyx::depth_type rather than Paragraph::depth_type so that
5515 header file and .C file match.
5517 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5519 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5520 * aspell.C: \file aspell_local.C -> \file aspell.C
5521 * gettext.C: \file gettext.C -> \file src/gettext.C
5522 * gettext.h: \file gettext.h -> \file src/gettext.h
5523 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5524 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5525 * text.C: \file text.C -> \file src/text.C
5527 * toc.C: move comment so that doxygen is not confused.
5529 2003-10-07 Angus Leeming <leeming@lyx.org>
5531 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5533 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5536 * aspell_local.h: add forgotten std::string's.
5538 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5545 * text3.C: The Box patch. Fancybox support, minipage, parbox
5547 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5553 * ParagraphParameters.h:
5563 * lyxtextclasslist.h:
5566 * paragraph_pimpl.C:
5567 * textcursor.h: add <string> and other small fixes to make Lars'
5568 std::string patch compile with STLport.
5570 2003-10-06 Angus Leeming <leeming@lyx.org>
5572 * LColor.h: Add missing #include <string>.
5574 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5576 * All most all file in all subdirs: Make <string> be the prefered
5577 way of getting to std::string, add using declarations.
5579 2003-10-06 André Pönitz <poenitz@gmx.net>
5581 * metricsinfo.C: initialize LyXFont before changing attribute.
5582 (fixes the 'math in \emph is upright' bug)
5584 2003-10-06 André Pönitz <poenitz@gmx.net>
5586 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5588 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5591 * paragraph_pimpl.C: Small fixes to build using STLport
5593 2003-10-02 André Pönitz <poenitz@gmx.net>
5596 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5598 2003-10-01 André Pönitz <poenitz@gmx.net>
5600 * factory.C: assert early
5602 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5604 * lyx_main.C: remove the global debug object
5606 * debug.h: adjust for new debugstream
5608 * debug.C: adjust for new debugstream and keep the global debug
5611 2003-09-22 Angus Leeming <leeming@lyx.org>
5613 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5614 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5615 an incomplete class LyXFont.
5617 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5619 * factory.C: bug fix in branches
5621 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5623 * lyxfunc.C (processKeySym): adjust
5625 (dispatch): change arg name from ev to func, adjust
5626 (sendDispatchMessage): ditto
5628 * lyx_main.C (defaultKeyBindings): adjust keybindings
5629 (deadKeyBindings): ditto
5631 * kbsequence.C (addkey): return a FuncRequest
5633 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5635 * kbmap.C (bind): take a FuncRequest as arg, adjust
5638 (defkey): change to take a FuncRequest as arg, adjust
5639 (findbinding): take a FuncRequest as arg, adjust.
5641 * funcrequest.h (operator=): added
5643 * funcrequest.C (FuncRequest): default kb_action changed from
5644 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5646 * buffer.C (dispatch): simplify
5647 (dispatch): adjust to take a FuncRequest as arg, adjust
5649 * boost.C (assertion_failed): change assertion message slightly
5651 * ToolbarBackend.C (read): simplify
5653 * MenuBackend.C (binding): adjust call to findbinding, add a
5654 message if no binding is found.
5656 (expandToc): correct by adding a empty FuncRequest
5658 * LyXAction.C: include <boost/assert.hpp>
5659 (isPseudoAction): delete function
5660 (LookupFunc): change name to...
5661 (lookupFunc): this. change return type to FuncRequest.
5662 (getActionName): take kb_action as arg, simplify
5663 (funcHasFlag): add an assert, simplify.
5665 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5667 * toc.C (action): return a FuncRequest, simplify
5669 * lyxfunc.C (processKeySym): adjust
5670 (getStatus): delete version that takes an int.
5672 (dispatch): delete version that takes action as int
5674 (sendDispatchMessage): simplify and adjust
5676 * funcrequest.C (getArg): take unsigned int as arg
5678 * ToolbarBackend.C (read): adjust
5679 (add): delete version that takes func as a string.
5680 (getIton): take a FuncRequest as arg
5682 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5685 * MenuBackend.C (MenuItem): add a new construct that only takes a
5686 Kind, simplify the constructor use for submenus.
5688 (expandLastfiles): adjust
5689 (expandDocuments): adjust
5690 (expandFormats): adjust
5691 (expandFloatListInsert): adjust
5692 (expandFloatInsert): adjust
5693 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5695 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5696 Remove class variables lyx_pseudo_map and lyx_arg_map
5698 * LyXAction.C (searchActionArg): delete function
5699 (getPseudoAction): delete function
5700 (retrieveActionArg): delete function
5701 (LookupFunc): make it return kb_action, simplify.
5702 (getActionName): simplify
5704 * factory.C (createInset): fix new bug
5706 2003-09-19 Angus Leeming <leeming@lyx.org>
5708 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5709 masterFilename_ parameter in the include inset.
5711 * factory.C (createInset): changes due to the changes to InsetInclude.
5713 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5715 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5717 2003-09-18 Angus Leeming <leeming@lyx.org>
5720 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5721 Inset::fillWithBibKeys.
5722 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5724 2003-09-18 Angus Leeming <leeming@lyx.org>
5726 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5728 (ctor): pass and store a 'Buffer const &'
5729 (buffer): new member function.
5731 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5732 '*this' to the LaTeXFeatures ctor.
5734 2003-09-18 Angus Leeming <leeming@lyx.org>
5740 * text.C: rename EnumLColor as LColor_color.
5742 2003-09-18 Angus Leeming <leeming@lyx.org>
5744 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5745 remove #include "insets/insetbase.h" from cursor.h.
5747 2003-09-18 Angus Leeming <leeming@lyx.org>
5749 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5750 InsetOld_code to remove #include "inset.h".
5752 * iterators.C: add #include "insets/inset.h"
5754 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5756 * BufferView.C: remove more locking stuff that apparently doesn't
5757 do anything sensible.
5759 2003-09-16 André Pönitz <poenitz@gmx.net>
5762 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5765 2003-09-16 Angus Leeming <leeming@lyx.org>
5767 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5769 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5772 * paragraph.h: remove #include "lyxfont.h". Forward declare
5775 2003-09-16 Angus Leeming <leeming@lyx.org>
5777 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5778 of support/textutils.h.
5779 (isWord): move the contents of support/textutils.h's IsWordChar here.
5785 * text2.C: add #include "paragraph.h".
5788 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5790 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5796 * LaTeX.C: use namespace alias for lyx::support::os
5798 2003-09-16 Angus Leeming <leeming@lyx.org>
5801 * bufferview_funcs.C:
5804 * paragraph_pimpl.C:
5806 * text.C: add #include "LColor.h".
5808 2003-09-16 Angus Leeming <leeming@lyx.org>
5810 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5811 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5813 Store the FontBits::color variable as an int rather than as an
5814 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5817 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5818 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5819 string calls together.
5821 * lyxrc.C: add #include "LColor.h".
5823 2003-09-15 Angus Leeming <leeming@lyx.org>
5825 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5828 2003-09-15 Angus Leeming <leeming@lyx.org>
5830 * LColor.h: add an EnumLColor wrapper for LColor::color.
5832 * lyxfont.[Ch] (color, setColor, realColor):
5833 * lyxtext.h, text.C (backgroundColor):
5834 pass EnumLColor args to/from the functions, rather than LColor::color
5838 * lyxtext.h: forward declare EnumLColor.
5840 * lyx_main.C: add #include "LColor.h".
5842 2003-09-15 Angus Leeming <leeming@lyx.org>
5844 * .cvsignore: add lyx-gtk.
5846 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5851 * ParagraphParameters.C
5855 * bufferview_funcs.C
5865 * vc-backend.C: remove usage of STRCONV
5867 2003-09-15 Angus Leeming <leeming@lyx.org>
5869 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5870 explicitly define the color passed to the painter.
5872 2003-09-15 Angus Leeming <leeming@lyx.org>
5874 * bufferparams.C (BufferParams): reorder member initializers to avoid
5877 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5879 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5880 * text.C (updateRowPositions): remove an unusual nop
5882 2003-09-12 André Pönitz <poenitz@gmx.net>
5884 * BufferView_pimpl.C:
5893 * Counters.[Ch]: finish the 'automatic counters' job
5895 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5897 * aspell.C: include <boost/assert.cpp> (compile fix)
5899 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5901 * boost.C (assertion_failed): use lyx::support::abort instead of
5904 2003-09-10 Angus Leeming <leeming@lyx.org>
5906 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5907 with their _fwd progeny.
5909 2003-09-09 Angus Leeming <leeming@lyx.org>
5911 134 files throughtout the source tree: replace 'using namespace abc;'
5912 directives with the appropriate 'using abc::xyz;' declarations.
5914 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5916 * boost.C (emergencyCleanup): moved here from LAssert.c
5917 (assertion_failed): new function, called by BOOST_ASSERT
5919 * several files: change Assert to BOOST_ASSERT
5921 2003-09-09 Angus Leeming <leeming@lyx.org>
5923 * buffer.[Ch]: Add an Impl class and move Buffer's member
5924 variables into it. As a result move several header files out of
5927 Add header files to lots of .C files all over the tree as a result.
5929 2003-09-09 Angus Leeming <leeming@lyx.org>
5931 * buffer.[Ch]: make Buffer's member variables private. Add
5934 Lots of changes all over the tree as a result.
5936 2003-09-08 Angus Leeming <leeming@lyx.org>
5938 * graph.C: #include <config.h>.
5940 2003-09-08 Angus Leeming <leeming@lyx.org>
5944 * BufferView_pimpl.C:
5973 * toc.C: remove redundant using directives.
5975 2003-09-07 Angus Leeming <leeming@lyx.org>
5977 * LaTeXFeatures.h: remove #include "support/types.h".
5978 * ToolbarBackend.h: remove #include <algorithm>.
5979 * changes.h: remove #include <ctime>.
5980 * debug.h: remove #include <iosfwd>.
5981 * graph.h: remove #include "support/std_string.h".
5982 * lyx_main.h: remove #include <csignal>.
5983 * lyxlex_pimpl.h: remove #include <fstream>.
5984 * sgml.h: remove #include <algorithm>, <utility>.
5985 * toc.h: remove #include "support/std_ostream.h".
5986 Add #include <iosfwd>.
5988 2003-09-07 Angus Leeming <leeming@lyx.org>
5990 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5992 * converter.h: forward declare LatexRunParams.
5993 * encoding.h: remove #include "lyxrc.h".
5994 * lyxtext.h: remove #include "LColor.h".
5995 * lyxtextclass.h: remove #include "support/types.h".
5996 * trans.h: remove #include "tex-accent.h".
5997 * trans_mgr.h: remove #include "tex-accent.h".
5998 * insets/inset.h: remove #include "support/types.h", <vector>.
5999 * insets/insetcollapsable.h: remove #include "LColor.h".
6000 * insets/insetinclude.h: remove #include "dimension.h".
6001 * insets/insetlatexaccent.h: remove #include "dimension.h".
6002 * insets/insetoptarg.h:: remove #include "insettext.h".
6003 * insets/insettext.h: remove #include "dimension.h",
6004 <boost/shared_ptr.hpp>
6006 * insets/renderers.h: add #include "dimension.h".
6007 * insets/updatableinset.h: add #include "support/types.h".
6009 * many .C files: Associated changes.
6011 2003-09-06 Angus Leeming <leeming@lyx.org>
6013 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6014 one, inside testInvariant.
6016 * PrinterParams.C: new file.
6017 * PrinterParams.[Ch]: move the function bodies out of line.
6019 2003-09-06 Angus Leeming <leeming@lyx.org>
6021 * ParagraphParameters.h: forward declare ParameterStruct rather than
6022 including its header file.
6023 (depth): moved out-of-line.
6025 2003-09-06 Angus Leeming <leeming@lyx.org>
6027 * BufferView_pimpl.h:
6030 * lyxfunc.h: forward declare LyXKeySym rather than
6031 #include "frontends/LyXKeySym.h".
6033 * BufferView_pimpl.C:
6036 * lyxfunc.C: associated changes.
6038 2003-09-06 Angus Leeming <leeming@lyx.org>
6040 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6041 As a result, can remove the #include "insets/inset.h" from BufferView.h
6043 2003-09-06 Angus Leeming <leeming@lyx.org>
6045 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6046 As a result, can remove the #include "insets/inset.h" from BufferView.h
6048 2003-09-06 Angus Leeming <leeming@lyx.org>
6054 * bufferview_funcs.C:
6055 * BufferView_pimpl.C:
6060 * ParagraphParameters.C:
6065 * frontends/controllers/ControlDocument.C:
6066 * insets/insetcaption.C: rearrange the #includes into some sort of
6069 * buffer.h: remove #includes ErrorList.h, undo.h
6071 2003-09-06 Angus Leeming <leeming@lyx.org>
6073 * support/types.h: add a 'depth_type' typedef, used to store the
6074 nesting depth of a paragraph.
6077 * ParameterStruct.h: use this lyx::depth_type typedef rather than
6078 defining explicitly.
6081 * paragraph_funcs.h:
6082 * ParagraphParameters.h:
6083 * sgml.h: use lyx::depth_type rather than Paragraph or
6084 ParameterStruct's depth_type.
6087 * paragraph_funcs.h: no need to #include paragraph.h anymore.
6090 * BufferView_pimpl.C:
6092 * ParagraphParameters.C:
6095 * bufferview_funcs.C:
6102 * frontends/LyXView.C:
6103 * frontends/controllers/ControlDocument.C:
6104 * frontends/controllers/ControlErrorList.C:
6105 * insets/insetbibitem.C:
6106 * insets/insetbranch.C:
6107 * insets/insetcaption.C:
6108 * insets/insetcollapsable.C:
6109 * insets/insetenv.C:
6110 * insets/insetert.C:
6111 * insets/insetfloat.C:
6112 * insets/insetfoot.C:
6113 * insets/insetfootlike.C:
6114 * insets/insetnewline.C:
6115 * insets/insetquotes.C:
6116 * insets/insettabular.C:
6117 * insets/insettext.C:
6118 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6120 * frontends/controllers/ControlChanges.C: #include "changes.h".
6122 2003-09-06 Angus Leeming <leeming@lyx.org>
6124 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6125 than #including paragraph.h.
6128 * RowList.h: deleted. Superfluous.
6138 * insets/insettext.h: use ParagraphList_fwd.h rather than
6141 * paragraph.h: don't forward declare ParagraphList.
6144 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6145 rather than ParagraphList.h. paragraph.h is still needed for the
6146 Paragraph::depth_type parameters.
6148 * textcursor.h: enable it to compile stand-alone in light of the
6151 * bufferview_funcs.C:
6163 * frontends/controllers/ControlParagraph.C:
6164 * frontends/controllers/ControlTabular.C:
6165 * insets/insetmarginal.C:
6166 * insets/insetminipage.C:
6167 * insets/insetnote.C:
6168 * insets/insetoptarg.C: add header files needed to compile again.
6170 2003-09-06 Angus Leeming <leeming@lyx.org>
6172 * RowList_fwd.h: new file, forward-declaring Row rather than
6173 #including lyxrow.h.
6178 * insets/insettext.h: use it instead of RowList.h
6180 * bufferview_funcs.C:
6187 * text3.C: #include "RowList.h".
6189 2003-09-05 Angus Leeming <leeming@lyx.org>
6191 * factory.C (createInset):
6192 * vspace.C (c-tor): replace sscanf call with an istringstream.
6193 * ispell.C: re-add missing HP/UX headers.
6194 * lyxserver.C: re-add missing os2 headers.
6196 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6205 * text3.C: re-add missing system headers, needed for 2.95.2.
6207 2003-09-05 Angus Leeming <leeming@lyx.org>
6209 Changes most place everywhere due to the removal of using directives
6210 from support/std_sstream.h.
6212 2003-09-05 Angus Leeming <leeming@lyx.org>
6214 Replace LString.h with support/std_string.h,
6215 Lsstream.h with support/std_sstream.h,
6216 support/LIstream.h with support/std_istream.h,
6217 support/LOstream.h with support/std_ostream.h.
6219 Changes resulting throughout the tree.
6221 2003-09-05 Angus Leeming <leeming@lyx.org>
6223 * sgml.h: ensure that the header file can be compiled stand-alone.
6224 * *.C: strip out redundant #includes. (320 in total.)
6226 2003-09-04 Angus Leeming <leeming@lyx.org>
6228 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6229 here (from getPackages).
6231 * debug.[Ch]: add a new EXTERNAL tag.
6233 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6235 * text2.C (cursorEnd): simplify
6237 (getColumnNearX): adjust
6239 * text.C (computeBidiTables): adjust
6242 * rowpainter.C (paintChars): adjust
6243 (paintSelection): adjust
6244 (paintChangeBar): adjust
6247 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6249 (numberOfSeparators): adjust
6251 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6257 * text3.C: Restricts the mouse click functionality
6258 of insets like bibtex, include, toc and floatlist to the visible
6259 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6260 up the dialogs. Cursor has to be in front of the inset (i.e.
6261 start of row) for this to function.
6263 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6265 * bufferview_funcs.C (currentState): output row information
6267 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6269 * bufferview_funcs.C (currentState): output paragraph position
6271 2003-09-04 Angus Leeming <leeming@lyx.org>
6273 * FloatList.h: move out #include "Floating.h".
6274 * LaTeX.h: move out #include "DepTable.h".
6275 * LyXAction.h: move out #include "funcrequest.h".
6276 * buffer.h: move out #include "author.h", "iterators.h".
6277 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6278 * lyx_main.h: move out #include "errorlist.h".
6279 * lyxfunc.h: move out #include "FuncStatus.h".
6280 * lyxtext: move out #include "lyxcursor.h".
6281 * paragraph_pimpl.h: move out #include "counters.h".
6283 2003-09-03 Angus Leeming <leeming@lyx.org>
6285 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6286 preamble_snippets list, enabling us to add snippets to the preamble
6287 only if the snippet was not there already.
6289 2003-09-04 Angus Leeming <leeming@lyx.org>
6291 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6293 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6295 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6298 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6300 * BranchList.C: point fix, earlier forgotten
6302 2003-09-02 Angus Leeming <leeming@lyx.org>
6304 * box.C (contains): renamed from 'contained' after a fantastic
6307 2003-09-02 John Levon <levon@movementarian.org>
6313 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6315 2003-09-02 John Levon <levon@movementarian.org>
6317 * text2.C: simplification of cursorEnd(), including partial
6320 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6322 * buffer.C (readFile): add a space
6324 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6326 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6328 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6330 * buffer.C (readFile): new function, take a filename and a
6331 ParagraphList::iterator
6333 (readFile): adjust, make it private. don't use setStream, make
6334 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6335 always contain the filename.
6337 * BufferView.C (insertLyXFile): simplify and make it work for
6340 2003-08-30 John Levon <levon@movementarian.org>
6342 * Makefile.am: fix dist (from Kayvan)
6344 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6346 * most files: change to use const Buffer refs
6348 2003-08-27 André Pönitz <poenitz@gmx.net>
6350 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6351 on top of ownerPar().
6353 2003-08-27 John Levon <levon@movementarian.org>
6355 * funcrequest.C: properly initialise POD members
6357 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6359 * lyxtext.h (top_y): move top_y from here
6364 * BufferView_pimpl.[Ch]: to here
6365 * frontends/screen.C:
6366 * insets/insettabular.C:
6367 * insets/insettext.C: adjust
6368 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6370 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6373 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6375 2003-08-26 André Pönitz <poenitz@gmx.net>
6377 * paragraph_func.[Ch] (outerPar): new function
6380 * paragraph_funcs.C:
6381 * paragraph_funcs.h:
6382 * paragraph_pimpl.C:
6383 * text2.C: remove Inset::par_owner
6385 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6390 * text2.C: eliminates the needFullRow/display() stuff
6391 altogether, putting the logic in metrics/draw in the insets.
6393 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6395 * text2.C (redoParagraphInternal, redoParagraphs):
6396 * text.C (redoParagraph): add a call to updateRowPositions at the
6397 end of each 'metrics-like' call. Remove all others.
6398 (getRow): remove the 'y-computing' version.
6399 (getRowNearY): do not compute nor return the real y. Solve the
6400 'y < 0' problem and simplify.
6402 2003-08-22 Angus Leeming <leeming@lyx.org>
6404 * *.[Ch]: clean-up of licence and author blurbs.
6405 Also move config.h out of a few .h files and into a few .C files.
6407 2003-08-22 André Pönitz <poenitz@gmx.net>
6409 * lyxrow.[Ch]: add x_ and *fill_ members
6414 * text2.C: adjust/remove prepareToPrint() calls
6416 2003-08-22 André Pönitz <poenitz@gmx.net>
6418 * lyxrow.[Ch]: add end_ member
6420 * lyxrow_funcs.C: use LyXRow::end_
6422 * lyxtext.h (singleWidth): add LyXFont parameter
6425 * text2.C: adjust LyXText::singleWidth() calls
6427 * text.C (redoParagraph): simplify row breaking logic
6430 2003-08-19 André Pönitz <poenitz@gmx.net>
6432 * funcrequest.C: initialize button_ member
6435 * rowpainter.[Ch]: interface consolidation
6437 2003-08-18 André Pönitz <poenitz@gmx.net>
6440 * BufferView_pimpl.C:
6442 * paragraph_funcs.C:
6444 * text3.C: remove LyXScreen::draw() and fitCursor calls
6446 * BranchList.h: remove spurious semicolons
6448 * MenuBackend.C: fix branchlist related crash
6450 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6458 * bufferparams.[Ch]:
6462 * text3.C: implements the 'branch inset'
6463 idea. This allows the output of various versions of a document
6464 from a single source version, selectively outputing or suppressing
6465 output of parts of the text.
6466 This implementation contains a 'branch list editor' in a separate
6467 tab of the document settings dialog. Branches are user definable
6468 and have a "display colour" to distinguish them on-screen.
6470 ColorHandler was somewhat cleaned up.
6471 (1) make possible a dynamically growing LColor list by allowing
6472 the graphic context cache to grow along (vector);
6473 (2) eliminate an IMHO unnecessary step in colour allocation.
6475 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6477 * BufferView_pimpl.C: compile fix
6479 2003-08-15 André Pönitz <poenitz@gmx.net>
6481 * rowpainter.C: remove extra metrics calls
6483 * lyxtext.h: merge the two constructors into a single one,
6484 pass reference to owner's par list
6486 * BufferView_pimpl.C:
6490 2003-08-15 André Pönitz <poenitz@gmx.net>
6492 * lyxrow_funcs.[Ch]:
6495 * paragraph_funcs.C:
6500 * text_funcs.C: split LyXText::rowlist_ into individual
6501 Paragraph::rows_ chunks
6504 * BufferView_pimpl.[Ch]:
6507 * text3.C: remove toggleSelection()
6509 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6511 * bufferlist.C: beautify two alerts (shorter text of buttons)
6512 * buffer.C: Remove redundant ' ' from message
6514 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6515 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6516 rename VALIGN_CENTER to VALIGN_MIDDLE
6518 2003-08-11 André Pönitz <poenitz@gmx.net>
6520 * lyxtext.h (getPar):
6521 * text.C: new function
6523 2003-08-11 André Pönitz <poenitz@gmx.net>
6526 * tracer.[Ch]: remove unneeded files
6528 * InsetList.[Ch]: remove resizeInsetsLyXText()
6533 * text3.C: merge insertParagraphs() and appendParagraph()
6534 remove breakAgain(), update()
6536 * BufferView_pimpl.[Ch]:
6537 * bufferview_funcs.[Ch]:
6541 * tabular.C: adjust after text & InsetList changes.
6543 2003-08-08 André Pönitz <poenitz@gmx.net>
6545 * text.C (insertChar, backspace): replace rowlist fiddling
6546 with rebreak of full par
6549 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6550 checkParagraph, updateInset): removed
6552 2003-08-07 André Pönitz <poenitz@gmx.net>
6555 * text3.C: merge some LFUN handlers, remove dead code
6557 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6559 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6561 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6563 * text2.C (DEPM): fix part of bug 1255 and 1256
6565 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6567 * BufferView_pimpl.C (workAreaDispatch): change to use
6568 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6569 that are no mouse related.
6571 2003-08-05 André Pönitz <poenitz@gmx.net>
6574 * BufferView_pimpl.[Ch]:
6575 * bufferview_funcs.C:
6577 * text3.C: rip out "deep update"
6579 * textcursor.[Ch] (last_sel_cursor): remove unused member
6581 2003-08-04 André Pönitz <poenitz@gmx.net>
6584 * BufferView_pimpl.[Ch]:
6585 * ParagraphParameters.C:
6586 * bufferview_funcs.C:
6592 * text3.C: replace "complicated" BufferView::update(...) calls with
6595 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6597 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6599 * Makefile.am (lyx_SOURCES): add paper.h
6601 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6603 * Makefile.am: move things around so that both lyx-qt and
6604 lyx-xforms can be built (according to --with-frontend). Then lyx
6605 is a symbolic link to lyx-[firstfrontend]
6607 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6609 * Always use std::endl with lyxerr
6611 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6613 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6615 2003-08-01 André Pönitz <poenitz@gmx.net>
6618 * BufferView_pimpl.[Ch]:
6620 * text3.C: merge BufferView::repaint() and BufferView::update()
6622 2003-08-01 José Matos <jamatos@lyx.org>
6624 * buffer.[Ch]: file_format is no longer a buffer data element.
6626 2003-08-01 André Pönitz <poenitz@gmx.net>
6631 * text2.C: make redoParagraph more independent of current cursor
6633 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6635 * text2.C: remove unneeded members
6637 2003-07-30 André Pönitz <poenitz@gmx.net>
6639 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6641 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6642 create a single function...
6644 * paragraph_funcs.C (moveItem): ... here.
6647 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6649 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6651 * LColor.[Ch]: Add comment and greyedout logical colors.
6653 2003-07-30 André Pönitz <poenitz@gmx.net>
6655 * tabular.C: don't use Assert too heavily. This crashes where it
6658 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6660 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6661 is disabled (bug 1232)
6663 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6665 * factory.C: limited 'arg' scope
6667 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6669 * factory.C: fixed Note submenu issues
6671 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6673 * factory.C: submenu for Note/Comment/Greyedout
6675 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6678 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6680 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6683 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6684 greyedout. Patch provided by Jürgen Spitzmüller.
6686 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6688 * kbmap.C (read): fix error message when reading bind files
6690 2003-07-29 Angus Leeming <leeming@lyx.org>
6692 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6693 certainly does not do what it purports to do. I am doing it, and
6694 us, a favour by killing it.
6696 2003-07-28 José Matos <jamatos@lyx.org>
6698 * buffer.C (readBody, do_writeFile):
6699 * paragraph.C(readParagraph): \end_document replaces \the_end.
6701 2003-07-29 André Pönitz <poenitz@gmx.net>
6704 * BufferView_pimpl.[Ch]:
6708 * textcursor.[Ch]: remove toggleToggle & Co
6710 2003-07-28 José Matos <jamatos@fep.up.pt>
6712 * buffer.C (readParagraph):
6713 * params_func (readParToken, readParagraph):
6714 * paragraph.C (write): \layout -> \begin_layout.
6716 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6718 * lyxlex_pimpl.C (setFile): clean up slightly.
6720 * bufferparams.h: add compressed var
6722 * buffer_funcs.C (readFile): adjust for LyXLex change
6723 (newFile): ditto + simplify
6725 * buffer.C (writeFile): handle writing of compressed files
6727 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6728 Check if the file is compressed and set a bufferparm if so.
6730 * Makefile.am (lyx_LDADD): remove explicit -lz
6732 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6734 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6735 makeDocBookFile): put the real LyX version in the first line of
6739 * version.C.in: remove lyx_docversion
6741 * tabular.C (write_attribute): add a template-based version to
6742 write enums properly
6744 2003-07-28 André Pönitz <poenitz@gmx.net>
6749 * text3.C: use doubles again for x-coordinates. They are needed.
6751 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6753 * messages.C (getLocaleDir): use lyx_localedir()
6755 * lyxlex_pimpl.C (setFile): compress stuff
6757 * buffer.C (writeFile): add some compression stuff
6758 (do_writeFile): new func, dont call expliti close... will this
6761 * Makefile.am (lyx_LDADD): add -lz
6763 2003-07-28 José Matos <jamatos@fep.up.pt>
6765 * buffer.C: increment file format.
6766 * paragraph_funcs (readParagraph, readParToken):
6767 * paragraph.C (readParagraph): add \end_layout.
6769 2003-07-27 Angus Leeming <leeming@lyx.org>
6771 * Makefile.am: remove special casing for configure-time setting of
6772 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6774 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6775 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6777 2003-07-26 André Pönitz <poenitz@gmx.net>
6779 * paragraph_func.[Ch]:
6780 * paragraph.C (realizeFont): inline it whereever it is used
6785 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6788 2003-07-26 André Pönitz <poenitz@gmx.net>
6792 * text2.C: get rid of LyXText::need_break_row
6794 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6796 * toc.[Ch]: put namespace toc inside namespace lyx
6798 * MenuBackend.C (expandToc2): adjust for lyx::toc
6801 * lyxfunc.C (dispatch): adjust for lyx::find
6803 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6804 lyx::find instead. Reorganize a bit.
6805 (LyXReplace): rename to replace
6806 (LyXFind): rename to find
6808 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6811 2003-07-26 André Pönitz <poenitz@gmx.net>
6813 * text.C (setHeightOfRow): restrict scope of temporary variable
6815 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6816 code (never has been used?)
6818 2003-07-27 Asger Alstrup <alstrup@local>
6820 * text.C (fill): Optimise algorithm to exploit that we can reuse
6821 the LyXFont for many characters.
6822 (setHeightOfRow): Same thing.
6823 (rowBreakPoint): Same thing.
6825 2003-07-26 Asger Alstrup <alstrup@local>
6827 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6829 * text.C (singleWidth): Spurious font copying in hot-spot
6830 singleWidth avoided. Reorder tests for arabic for efficiency.
6832 * text.C (fill): handle empty paragraphs better.
6834 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6837 * encoding.h: add includes
6839 * lyxrc.C: remove reading of bind files
6841 * lyx_main.C (init): setup bindings and menus only if we have a
6844 * kbmap.C (read): new method. Do the actual reading of bind
6847 * converter.C (dvipdfm_options):
6850 (output): adapt PAPER_* enums.
6852 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6854 * bufferparams.h: remove paper-related enums from there
6856 * paper.h: New file. A trivial header file to hold paper-related
6857 enums. It should later expand to contain many paper-related
6860 * lyxrc.C: declare extern displayTranslator
6862 2003-07-27 José Matos <jamatos@fep.up.pt>
6864 * tabular.[Ch] (linuxdoc): add support for tables and figures
6867 2003-07-27 José Matos <jamatos@fep.up.pt>
6869 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6870 consistency in both functions.
6871 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6873 2003-07-26 Asger Alstrup <alstrup@local>
6875 * rowpainter.C (paintRows): Change algorithm to work directly on
6876 the insets rather than asking every character in the document
6877 whether its an inset.
6879 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6881 * buffer.C (openFileWrite): factorize some code
6883 2003-07-26 Angus Leeming <leeming@lyx.org>
6886 * lyx_main.[Ch]: replace occurances of system_tempdir with
6889 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6891 * rename Inset to InsetOld
6893 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6895 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6896 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6897 which I think is a bit clearer. EDIT is gone, since it was
6898 premature optimisation, and broken for mathed anyway.
6899 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6900 with cursor positioning in insets as well (math insets still do not
6901 work, but that's a different story anyway.) It mysteriously
6902 crashes sometimes with undo in the first paragraph, but I'm fairly
6903 confident that this is a compiler bug.
6905 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6907 * paragraph.C (Paragraph): adjust for new clone return type
6909 (copyIntoMinibuffer): ditto
6911 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6913 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6914 by not having a special case, and always doing a full rebreak of
6915 the document after undo.
6917 2003-07-23 Angus Leeming <leeming@lyx.org>
6919 * factory.C (createInset): InsetExternal::setParams now takes a
6922 2003-07-23 Angus Leeming <leeming@lyx.org>
6924 * factory.C (createInset): changed interface to the external and
6925 graphics mailers' string2params functions.
6927 2003-07-23 Angus Leeming <leeming@lyx.org>
6929 * factory.C (createInset): pass a
6930 Buffer const * parameter to InsetExternalMailer's string2params.
6932 2003-07-22 John Levon <levon@movementarian.org>
6934 * Thesaurus.h: include the right aiksaurus header
6936 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6938 * MenuBackend.C (expand): check menu shortcuts unconditionally
6940 2003-07-21 Angus Leeming <leeming@lyx.org>
6942 * factory.C (createInset): pass a
6943 buffer_path parameter to InsetGraphicsMailer's string2params.
6945 2003-07-21 Angus Leeming <leeming@lyx.org>
6947 * BufferView_pimpl.C (buffer):
6950 * lyxfunc.C (dispatch):
6951 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6952 rather than the grfx shortcut.
6954 2003-07-21 André Pönitz <poenitz@gmx.net>
6956 * rowpainter.C: remove unused variables
6959 * tabular_funcs.h: move to tabular.C
6960 * Makefile.am: adjust
6962 * tabular.[Ch]: basic optical cleaning
6964 * author.h: pass references, not values
6966 2003-07-18 André Pönitz <poenitz@gmx.net>
6974 * text3.C: two-phase drawing for InsetText and InsetTabular
6975 some float -> int changes.
6977 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6979 * lyx_main.C: fix the fix
6981 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6983 * lyx_main.C: fix a crash in batch mode if no files specified
6986 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6988 * format.[Ch] (papersize): moved to BufferParams
6989 * converter.[Ch] (dvips_options): moved to BufferParams
6990 (dvipdfm_options): moved to anon namespace
6991 * bufferparams.[Ch]: added above functions.
6993 2003-07-17 André Pönitz <poenitz@gmx.net>
6997 * text2.C: don't call inset->update() anymore
6999 * metricsinfo.[Ch]: add convenience constructor
7001 2003-07-16 André Pönitz <poenitz@gmx.net>
7006 * text2.C: replace the LyXCursor::irow_ member with
7007 on-demand computation of the value
7009 2003-07-16 John Levon <levon@movementarian.org>
7011 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7013 2003-07-15 André Pönitz <poenitz@gmx.net>
7016 * text2.C: remove no more needed refresh_row
7018 2003-07-15 André Pönitz <poenitz@gmx.net>
7023 * text3.C: refresh_status tristate -> need_update bool
7025 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
7027 * lyxtext.h (init): remove reinit argument (act as if always true)
7028 * text2.C: adjust to that
7030 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7032 * bufferview_funcs.[Ch]: introduce function replaceSelection()
7033 * text3.C: use it to delete selections in some cases
7034 (bugs 441, 673, 702, 954).
7036 2003-07-14 André Pönitz <poenitz@gmx.net>
7038 * rowpainter.[Ch]: reduce interface
7040 2003-07-14 André Pönitz <poenitz@gmx.net>
7042 * BufferView_pimpl.C:
7043 * text2.C: adjust after removing unused BufferView * argument
7045 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
7047 * text2.C (init): fix a crash fired on resize
7049 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
7051 * buffer.[Ch]: added new closing signal
7052 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7053 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7054 BufferView::Pimpl via the closing the signal
7056 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
7058 * buffer.[Ch]: take out all bv-related from buffer
7060 * BufferView_pimpl.[Ch]: connect to new signals
7061 * CutAndPaste.C: removed useless asserts
7062 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7065 * lyxfunc.C: moved view-related funciontality from vc here
7066 * paragraph.C: removed outdated comments
7069 2003-07-10 André Pönitz <poenitz@gmx.net>
7071 * BufferView_pimpl.C:
7075 * text2.C: remove InsetText::InnerCache, clean up consequences
7077 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7079 * ispell.C: fix two typos in error messages
7081 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
7083 * Extend Note inset to other forms of annotation like Comment
7084 and Greyedout. Right button click gives dialog.
7086 Files modified or added (+):
7090 * ControlNote.[Ch] +
7092 * Makefile.am in frontends/xforms, frontends/xforms/forms,
7093 frontends/controllers
7097 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7099 * aspell.C: add missing namespace lyx::support
7101 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
7103 * BufferView.[Ch] (newFile): Add
7104 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7105 * LaTeX.[Ch] (message): added this signal and use it
7106 * buffer.[Ch] (busy, message): added these signals and use them
7107 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7111 * importer.C: use buffer signals instead of direct bv calling
7112 * lyx_cb.[Ch] (ShowMessage): removed
7115 * paragraph_funcs.C:
7116 * text2.C: use buffer signals
7118 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7120 * introduce namespace lyx::graphics
7122 2003-07-02 André Pönitz <poenitz@gmx.net>
7124 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7126 2003-07-01 André Pönitz <poenitz@gmx.net>
7133 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7134 text*.C to text_func.C
7136 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7138 * introduce namespace lyx::support
7140 2003-06-30 André Pönitz <poenitz@gmx.net>
7145 * text.C: re-enable --with-included-string
7147 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7149 * textcursor.C: add <config.h>
7151 * text.C (getWord): remove const from word_location arg
7153 * lyxvc.C (getLogFile): fix const type order
7155 * lyxtext.h: remove const from word_location arg, add arg name
7157 * lyxlayout.h: currect type on labeltype.
7159 * importer.C: correct \file
7161 * converter.C (intToFormat): use std:: on ret val, ws changes
7163 * bufferlist.h: correct \file
7165 * buffer.C (makeLinuxDocFile): fix const type order
7166 (makeDocBookFile): ditto
7167 (fillWithBibKeys): use std:: on stdlib args.
7169 * CutAndPaste.C: fix authors.
7170 (availableSelections): use std:: on return vector
7172 2003-06-27 André Pönitz <poenitz@gmx.net>
7174 * BufferView_pimpl.C:
7175 * bufferview_funcs.C:
7183 * text3.C: remove LyXCursor::row_ member
7186 * text.C: rename fullRebreak() to partialRebreak() and implement
7187 a fullRebreak() that really bereks fully
7189 * textcursor.h: new struct for cursor-related data
7191 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7193 * lyx_main.C (LyX): get full path of document loaded on the
7196 2003-06-26 André Pönitz <poenitz@gmx.net>
7198 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7199 remove unused/broken operator>,<,>=.
7201 * text.C: remove only use of broken operator<= in an Assert().
7203 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7205 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7206 moved errorlist_.clear to showErrorList
7208 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7210 * converter.C (scanLog, runLaTeX):
7211 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7212 move the bv->showErrorList call to the callers
7213 * lyxfunc.C: i.e. here...
7215 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7216 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7217 namespace, the second to...
7218 * buffer_funcs (BufferFormat, parseErrors): added
7219 * errorlist.C (ErrorList(TeXErrors const &)): removed
7221 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7223 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7225 2003-06-24 "Garst R. Reese" <reese@isn.net>
7229 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7231 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7233 * version.C.in: change docversion to 1.4
7235 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7237 * buffer.C: fix a bug just introduced
7239 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7241 * buffer.[Ch]: added the parseError signal and use it, removed
7243 * BufferView.[Ch] (addError): moved to ...
7244 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7245 to the Buffer::parseError signal to catch (guess what) parse errors
7246 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7248 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7250 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7251 ability to create a buffer and to return an existing one from
7252 the list. Moved these functions to...
7253 * buffer_funcs.[Ch]: added
7254 * BufferView.[Ch] (loadLyXFile): added
7255 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7256 job removed from bufferlist::loadLyXFile.
7257 * buffer.C (setReadOnly): make it work without view
7258 (i.e added an if (users))
7260 2003-06-19 Angus Leeming <leeming@lyx.org>
7263 * LyXAction.C (init):
7264 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7265 with LFUN_DIALOG_SHOW <name> <data>.
7267 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7269 * CutAndPaste.C (availableSelections): small compilation fix for
7270 ancient (gcc 2.9x) compilers
7272 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7274 * text3.C (cursorNext): add tmp var
7276 * text2.C (updateCounters): for function calling out of for clause
7277 (replaceSelectionWithString): ditto
7278 (insertStringAsParagraphs): ditto
7279 (getColumnNearX): add tmp var
7280 (setCursorFromCoordinates): add tmp var
7281 (cursorDownParagraph): add tmp var
7282 (deleteEmptyParagraphMechanism): add tmp var
7284 * text.C (insertChar): add tmp var
7286 * rowpainter.C (paintDepthBar): add tmp var
7288 * CutAndPaste.C (availableSelections): potentially check all
7289 paragraphs in a cut to fill the shown strings.
7291 2003-06-18 André Pönitz <poenitz@gmx.net>
7293 * kbmap.[Ch]: use vector<> instead of list<>
7295 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7297 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7298 pasteSelection with index
7300 * text2.C (pasteSelection): modify, call pasteSelection with index
7302 * paragraph.C (asString): reimplement version with no interval to
7303 call the one with interval.
7305 * lyxtext.h: add index arg to pasteSelection
7307 * MenuBackend.C (MenuItem): handle PasteRecent
7308 (Menu::read::Menutags): add md_pasterecent
7310 (expandPasteRecent): new function
7313 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7315 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7317 (availableSelections): new function
7319 2003-06-17 Angus Leeming <leeming@lyx.org>
7321 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7323 2003-06-17 Angus Leeming <leeming@lyx.org>
7326 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7328 * lyxfunc.C (dispatch): invoke it.
7330 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7332 * iterators.C (operator++, ParPosition): reintroduce some
7333 const_cast for the benefit of older compilers.
7335 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7337 * text3.C (dispatch): do not modify clipboard when doing
7338 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7339 LFUN_DELETE_SKIP on a selection selection
7341 2003-06-16 André Pönitz <poenitz@gmx.net>
7347 * tabular.[Ch]: IU of clone() and getLabelList();
7349 2003-06-13 André Pönitz <poenitz@gmx.net>
7351 * tabular.h: compactification
7353 2003-06-12 André Pönitz <poenitz@gmx.net>
7357 * tabular_funcs.h: some renaming plus whitespace
7359 2003-06-12 André Pönitz <poenitz@gmx.net>
7362 * BufferView_pimpl.C:
7368 * toc.C: Return a Paragraph & for ParIterator::operator*()
7370 2003-06-11 John Levon <levon@movementarian.org>
7374 * ToolbarBackend.C: add "Toolbars" section and
7377 2003-06-10 Angus Leeming <leeming@lyx.org>
7380 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7382 * lyxfunc.C (dispatch): invoke it.
7384 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7386 * main.C: protect <ios> with HAVE_IOS
7387 (main): protect sync_with_stdio with HAVE_IOS
7389 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7391 * text2.C (cutSelection): adjust
7392 (pasteSelection): adjust
7394 * messages.C: handle get of empty string
7396 * main.C (main): use sync_with_stdio(false)
7398 * lyxfunc.C (dispatch): adjust
7400 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7401 (WriteAs): remove unneeded BufferView arg.
7403 * bufferparams.h: use correct types on papersize, papersize2 and
7406 * bufferparams.C (readToken): adjust for type
7407 (writeLaTeX): add missing cases to switch.
7409 * bufferlist.C (quitWriteBuffer): adjust
7412 * buffer.C (asciiParagraph): remove some commented code.
7414 * CutAndPaste.C: remove current_view extern variable.
7415 (cutSelection): add BufferParams arg.
7416 (eraseSelection): add BufferParams arg.
7417 (pasteSelection): add Buffer const & arg
7419 2003-06-07 John Levon <levon@movementarian.org>
7422 * paragraph_funcs.C:
7423 * paragraph_pimpl.C:
7427 * paragraph.C: allow InsetERT to freely space lines,
7428 and some consolidation of code
7430 2003-06-06 José Matos <jamatos@fep.up.pt>
7432 * buffer.C (makeDocBookFile): fix bug #821
7434 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7436 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7438 2003-06-04 Angus Leeming <leeming@lyx.org>
7440 * buffer.C: bump format to 224.
7442 2003-06-05 André Pönitz <poenitz@gmx.net>
7444 * text2.C (redoParagraphs): remove two const_cast<>
7446 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7448 * ParagraphList.h: remove last remnants of NO_STD_LIST
7450 2003-06-03 Angus Leeming <leeming@lyx.org>
7452 * factory.C (createInset): small change to the way InsetExternal's params
7455 2003-06-04 André Pönitz <poenitz@gmx.net>
7457 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7459 * paragraph_pimpl.h:
7460 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7462 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7464 * undo_funcs.C: make some simple cases of undo work again
7466 2003-06-03 John Levon <levon@movementarian.org>
7468 * ispell.C: HPUX doesn't have sys/select.h
7471 2003-06-03 John Levon <levon@movementarian.org>
7473 * CutAndPaste.C: update tabular and include inset
7478 * paragraph.C: remove owningBuffer(), don't pass Buffer
7481 * factory.C: insetGraphicsParams changed
7483 2003-06-02 John Levon <levon@movementarian.org>
7489 * text3.C: remove insetparent
7491 2003-06-02 John Levon <levon@movementarian.org>
7494 * buffer.C: fix inset_iterator.end(), move out of line
7497 2003-06-01 John Levon <levon@movementarian.org>
7499 * text3.C: use a proper cut/paste when doing inset
7500 insert (from Jürgen Spitzmüller)
7502 2003-06-01 John Levon <levon@movementarian.org>
7504 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7506 2003-05-30 André Pönitz <poenitz@gmx.net>
7508 * rowpainter.C: unify second drawing phase
7510 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7512 * trans_mgr.C: remove one case of current_view
7514 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7516 * paragraph_funcs.h: remove paragraph.h include
7518 * paragraph.h: delete NO_STD_LIST stuff
7520 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7522 * buffer.h: remove paragraph.h include
7524 * ParagraphList.C: delete file
7526 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7528 * toc.C (getTocList): adjust
7530 * paragraph_pimpl.C (validate): adjust
7532 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7534 * paragraph.C (Paragraph): adjust
7535 (getPositionOfInset): use const_iterator, adjust
7536 (bibitem): use const_iterator, adjust
7537 (setInsetOwner): adjust
7539 * iterators.C (operator++): adjust
7541 * InsetList.[Ch]: Replace selfmade iterator with standard
7542 vector::iterator also introduce const_iterator. Remove getPos,
7543 getInset and setInset from InsetTable. Adjust accordingly.
7545 * BufferView.C (lockInset): adjust
7546 (ChangeInsets): adjust
7548 * tabular.[Ch]: delete commented same_id functions
7550 2003-05-28 John Levon <levon@movementarian.org>
7552 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7554 2003-05-28 André Pönitz <poenitz@gmx.net>
7556 * metricsinfo.[Ch]: remove 'fullredraw' member
7558 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7560 * lyxtextclass.C (operator): remove caching.
7562 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7566 * text2.C (cursorBottom): adjust
7567 (setCounter): use ParagraphList::find, adjust
7569 * text.C (workWidth): use ParagraphList::find, adjust
7571 * lyxcursor.C (LyXCursor): adjust
7573 * buffer.C (inset_iterator): adjust
7575 * ParagraphList.h: make iterator(value_type) private, make
7576 ParagraphList a friend of iterator.
7578 * ParagraphList.C (find): new function
7580 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7582 2003-05-27 André Pönitz <poenitz@gmx.net>
7584 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7586 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7588 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7590 2003-05-26 John Levon <levon@movementarian.org>
7592 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7594 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7596 * remove same_id from function signatures, adjust.
7598 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7600 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7602 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7604 * paragraph.C (Paragraph): get rid of same_ids parameter
7606 * ParagraphList.C (insert): adjust
7609 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7611 * paragraph_funcs.C (breakParagraph): adjust
7612 (breakParagraphConservative): adjust
7614 * buffer.C (readParagraph): adjust
7616 * ParagraphList.C (insert): take a reference instead of a pointer
7619 * paragraph.[Ch] (id): new function
7621 * bufferlist.C (newFile): adjust
7623 * ParagraphList.C (ParagraphList): adjust
7625 (push_back): take a reference instead of a pointer.
7627 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7629 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7632 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7633 set else use old code.
7635 * ParagraphList.C: remove all NO_NEXT code and only compile this
7636 code of NO_STD_LIST is set.
7638 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7640 * BufferView_pimpl.C:
7650 * graphics/GraphicsConverter.C:
7651 * graphics/PreviewLoader.C: header adjustment
7653 2003-05-23 Angus Leeming <leeming@lyx.org>
7655 * LaTeXFeatures.[Ch] (useBabel): new method.
7656 * bufferparams.C (writeLaTeX): use it.
7658 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7660 * ParagraphList.h (set): remove unused function.
7662 2003-05-23 André Pönitz <poenitz@gmx.net>
7665 * BufferView_pimpl.C:
7669 * undo_funcs.C: setUndo reworked
7671 * iterators.[Ch]: add access to topmost ParagraphList
7673 * lyxtext.[Ch] (workWidth): add a const
7675 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7677 * texrow.[Ch] (increasePos): remove function
7678 * exporter.C (export): removed unused var and outdated comment
7680 2003-05-23 Angus Leeming <leeming@lyx.org>
7682 * latexrunparams.h: rename fragile as moving_arg.
7683 * paragraph.C (simpleTeXOnePar): ditto.
7684 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7686 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7688 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7690 (textUndoOrRedo): comment out a currently unused var.
7692 * paragraph.h (NO_NEXT): enable NO_NEXT
7694 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7696 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7698 * exporter.C (Export): adjust for removeAutoInsets removal.
7700 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7702 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7704 * BufferView.[Ch] (removeAutoInsets): delete function
7706 2003-05-22 Angus Leeming <leeming@lyx.org>
7708 * latexrunparams.h: add a free_spacing variable.
7710 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7711 to pass moving_arg, as the data is stored in runparams.fragile.
7713 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7714 to Inset::latexOptional or to simpleTeXOnePar.
7716 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7717 free_spacing arg to Inset::latexOptional.
7719 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7722 2003-05-22 Angus Leeming <leeming@lyx.org>
7724 * latexrunparams.h: add fragile and use_babel variables.
7726 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7727 * buffer.C (makeLaTeXFile): store this returned value in
7728 runparams.use_babel, thus passing it to the inset::latex methods.
7730 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7731 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7733 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7734 longer has a fragile arg, as it is stored in runparams.fragile.
7736 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7737 moving_arg parameter as the data is stored in runparams.fragile.
7739 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7740 a fragile parameter as the data is stored in runparams.fragile.
7742 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7744 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7746 2003-05-22 Angus Leeming <leeming@lyx.org>
7748 * latexrunparams.h: add a 'bool nice' which defaults to false.
7750 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7751 now encapsulated within runparams.
7753 * bufferlist.C (updateIncludedTeXfiles):
7754 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7756 2003-05-22 Angus Leeming <leeming@lyx.org>
7758 * latexrunparams.h: new file containing struct LatexRunParams.
7759 * Makefile.am: add new file.
7761 * LaTeX.[Ch] (c-tor, run):
7762 * buffer.[Ch] (makeLaTeXFile):
7763 * bufferlist.[Ch] (updateIncludedTeXfiles):
7764 * converter.C (convert, scanLog):
7765 * converter.[Ch] (runLaTeX):
7766 * exporter.C (Export):
7767 * paragraph.[Ch] (simpleTeXOnePar):
7768 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7769 * paragraph_funcs.[Ch] (latexParagraphs):
7770 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7771 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7772 pass around a LatexRunParams parameter.
7774 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7776 * paragraph.[Ch]: remove unused constructor
7778 * ParagraphList.C (erase): new function, taking two iterators
7780 2003-05-22 André Pönitz <poenitz@gmx.net>
7782 * undo_funcs.C: remove duplicated code
7784 * iterator.[Ch]: operator=
7786 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7788 * tabular.C (SetMultiColumn): ws changes
7790 * rowpainter.C (paintFirst): get rid of a ->previous
7792 * lyx_cb.C (getPossibleLabel): parlist simplification
7794 * BufferView.C (ChangeInsets): simplify slightly.
7796 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7798 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7799 * lfuns.h: new LFUN_SPACE
7800 * lyxfunc.C: protected space has a new lfun
7801 * paragraph_funcs.C: read new space insets
7803 * factory.C: handle new space insets
7805 2003-05-22 André Pönitz <poenitz@gmx.net>
7808 * BufferView_pimpl.C:
7811 * undo_funcs.C: return a ParIterator from getParFromID.
7813 * iterators.[Ch]: add two const's
7815 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7817 * toc.C (getTocList): adjust
7819 * iterators.[Ch]: rework for parlist
7821 * buffer.C (par_iterator_begin): adjust
7822 (par_iterator_end): adjust
7824 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7826 * BufferView.C (removeAutoInsets): adjust
7827 (ChangeInsets): adjust
7829 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7831 * text.C (top_y): fix bug 1110
7833 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7835 * errorlist.[Ch]: added
7838 * BufferView_pimpl.C:
7839 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7842 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7844 * Makefile.am: ensure that lyx is relinked upon changes to the
7845 various "convenience" libs.
7847 2003-05-20 Angus Leeming <leeming@lyx.org>
7849 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7850 files are compiled in alphabetical order again.
7852 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7854 2003-05-19 Angus Leeming <leeming@lyx.org>
7856 * gettext.[Ch]: remove "char const * _(char const *)".
7858 2003-05-19 André Pönitz <poenitz@gmx.net>
7860 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7869 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7871 2003-05-19 André Pönitz <poenitz@gmx.net>
7875 * lyxtextclass.[Ch]:
7877 * paragraph_funcs.[Ch]:
7879 * text3.C: more insetenv work
7881 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7883 * ParagraphParameters.C (params2string): small bug fixed
7885 2003-05-16 André Pönitz <poenitz@gmx.net>
7888 * bufferview_funcs.C: patch from Kornel Benko to prevent
7889 crash when _(...) is called twice in a statement
7891 2003-05-16 André Pönitz <poenitz@gmx.net>
7898 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7900 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7902 * lyx_main.C (init): remove spurious static_cast
7904 2003-05-14 André Pönitz <poenitz@gmx.net>
7906 * BufferView.C: fix format string
7908 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7910 * BufferView.[Ch] (insertErrors): removed
7911 * BufferView.[Ch] (showErrorList): added
7912 * buffer.C (runChkTeX):
7913 * converter.C (scanLog): call showErrorList instead of inserterrors
7915 2003-05-13 André Pönitz <poenitz@gmx.net>
7917 * BufferView_pimpl.C:
7919 * bufferview_func.C:
7926 * tabular_funcs.h: tostr() from its own header
7928 * ParagraphParameters.C:
7933 * text3.C: STRCONV()
7935 2003-05-12 André Pönitz <poenitz@gmx.net>
7938 * BufferView_pimpl.C:
7942 * ParagraphParameters.C:
7946 * bufferview_funcs.C:
7959 * paragraph_funcs.C:
7963 * text3.C: boost::format -> bformat all over the place
7966 2003-05-09 André Pönitz <poenitz@gmx.net>
7968 * LColor.[Ch]: Pimpl the #include <map> away
7970 2003-05-09 John Levon <levon@movementarian.org>
7972 * bufferlist.C: never remove emergency saves
7974 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7976 * Makefile.am: better lib building
7978 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7980 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7982 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7983 (simpleTeXSpecialChars): adjust
7984 (simpleTeXSpecialChars): adjust
7985 * paragraph.C (simpleTeXOnePar): adjust
7986 * buffer.C (makeLaTeXFile): adjust
7988 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7990 * text2.C (changeDepth): parlist cleanup
7991 (getColumnNearX): ditto
7993 * rowpainter.C (getLabelFont): parlist cleanup
7995 * bufferlist.C (newFile): parlist cleanup
7997 * CutAndPaste.C (eraseSelection): parlist cleanup
7999 * BufferView_pimpl.C (trackChanges): parlist cleanup
8002 * BufferView.C (lockInset): parlist cleanup.
8003 (ChangeInsets): ditto
8005 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8007 * CutAndPaste.h: Update file header.
8009 * CutAndPaste.C: Update file header.
8010 Store the parts cut out of the Document in a limited_stack.
8011 (copySelection): adjust
8012 (pasteSelection): new function, takes the index in the limited stack.
8013 (nrOfParagraphs): adjust
8014 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8015 simplify error inset insertion.
8016 (checkPastePossible): adjust
8018 2003-05-06 John Levon <levon@movementarian.org>
8020 * text2.C: don't cast wrap inset to float
8022 2003-05-05 André Pönitz <poenitz@gmx.net>
8025 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8027 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8028 few naked Paragraph *.
8030 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
8032 * bufferparams.C: Output warning if a document with missing
8033 TeX document class is loaded
8034 * exporter.C: Disable TeX exports if the document class is missing
8037 * lyxtextclasslist.C: Handle new textclass.lst format; new method
8038 isTeXClassAvailable()
8040 2003-05-03 John Levon <levon@movementarian.org>
8043 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8044 explicit cursor show/hide
8046 * BufferView_pimpl.h:
8047 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8048 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8050 * lyxfunc.C: hide cursor before dispatching.
8055 * text3.C: remove explicit cursor hides
8057 2003-05-02 André Pönitz <poenitz@gmx.net>
8059 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8062 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8065 * text2.C: tiny whitespace
8067 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8069 * undo_funcs.C: almost only ws changes.
8071 * ParagraphList.C (splice): just return if pl is empty.
8073 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8075 * ParagraphList.C (splice): new function.
8077 * CutAndPaste.C (pasteSelection): use it
8079 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8081 * CutAndPaste.C (pasteSelection): remove the last next and
8082 previous from this file.
8084 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8086 * CutAndPaste.C (pasteSelection): more clean up, user proper
8087 ParagraphList functions for pasteing.
8089 * ParagraphList.C (insert): new function, three arg insert
8091 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8093 * ParagraphList.C (insert): new function, three arg insert
8095 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8098 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8100 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8102 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8104 * CutAndPaste.C (pasteSelection): remove some unneeded code.
8106 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8108 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8109 (copySelection): clean up a bit.
8110 (pasteSelection): use make_pair
8112 * ParagraphList.C (ParagraphList): implement copy constructor
8113 (operator=): implement, base on copy constructor.
8116 * paragraph.C (erase): return a bool
8118 * paragraph_pimpl.C (erasePos): remove function, move contents...
8119 (erase): ... here. Return a bool.
8120 (erase): call erase instead of erasePos.
8122 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
8124 * ParagraphList.h: define PitPosPair
8125 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8126 ParagraphList, fix a bug on pasting multiple pars
8127 * text2.C: change interface to C&P
8129 2003-04-30 André Pönitz <poenitz@gmx.net>
8131 * undo_func.C: revert part of yesterday's patch 2
8133 2003-04-30 John Levon <levon@movementarian.org>
8135 * LColor.C: s/tabular/table/
8137 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8139 * text3.C (dispatch): do not convert iterator -> pointer
8140 * undo_funcs.C (setCursorParUndo): ditto
8141 * text_funcs.C (transposeChars): ditto
8143 * text2.C (setLayout): ws changes only
8145 * text.C (breakParagraph): do not convert iterator -> pointer
8147 (acceptChange): ditto
8148 (rejectChange): ditto
8153 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8156 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8158 * text3.C (gotoInset): YABG (yet another bad getChar)
8160 2003-04-29 André Pönitz <poenitz@gmx.net>
8162 * paragraph.h: make operator= private unimplemented as long as
8165 * ParagraphList.C: whitespace
8168 * paragraph_pimpl.[Ch]:
8169 * paragraph_funcs.C:
8171 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8174 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8176 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8178 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8179 * paragraph.[Ch] (erase):
8180 * paragraph_pimpl.[Ch] (erase): change return type and value
8181 * text2.C (cutSelection): some rework
8183 2003-04-28 John Levon <levon@movementarian.org>
8185 * bufferlist.C: changes for unsaved changes dialog
8187 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8189 * bufferlist.C (newFile): set language (messages_) for new
8192 * buffer.C (readFile): ws changes only.
8194 2003-04-28 André Pönitz <poenitz@gmx.net>
8199 * BufferView_pimpl.C:
8200 * BufferView.C: getParFromID related ParagraphList::iterator changes
8202 2003-04-28 André Pönitz <poenitz@gmx.net>
8204 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8207 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8209 * messages.C: remove one more localedir class variable.
8211 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8213 * messages.C (getLocaleDir): singleton generation function
8215 (Messages): add a default constructor.
8217 * main.C (main): do not setup localedir here, do not call
8220 * gettext.C (_): use it.
8221 (gettext_init): delete funciton
8223 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8225 * gettext.C (getLyXMessages): new singleton generating function.
8227 * buffer.C (updateDocLang): adjust
8229 * Makefile.am (messages.o): add target
8230 (main.o): remove target
8232 2003-04-27 John Levon <levon@movementarian.org>
8237 * lyxvc.C: specify cancel button in Alert::prompt
8239 2003-04-26 John Levon <levon@movementarian.org>
8244 * LyXAction.C: add LFUN_INSET_SETTINGS
8246 * lyxfunc.C: don't enable tabular-feature when there's
8247 just any locking inset
8249 2003-04-26 John Levon <levon@movementarian.org>
8251 * bufferlist.C: re-add Cancel to buffer close question
8253 * lyxfunc.C: fix import UI a bit
8255 2003-04-25 John Levon <levon@movementarian.org>
8257 * gettext.C: remove the broken asserts for now
8259 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8261 * messages.C: make case where setlocale cannot comply work better.
8263 * buffer.C (updateDocLang): new function
8264 (changeLanguage): use it
8267 * text2.C (setCounter): use B_ a bit.
8269 * lyxlayout.C (Read): be sure to trim the label strings.
8271 * messages.C (Messages): fix typo in comment
8273 * buffer.C (readFile): set message_ after file is loaded.
8274 (makeDocBookFile): remove double return
8275 (changeLanguage): reset message_ upon language change.
8276 (B_): new func, use this to get translated buffer strings.
8278 * main.C: add myself and Jean Marc as authors.
8280 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8282 * messages.[hC]: pimplify Messages, and three different pimpls to be
8283 used in different circumstances.
8285 * gettext.[Ch]: change for use with new message code.
8287 2003-04-24 André Pönitz <poenitz@gmx.net>
8289 * factory.C: support for eqref
8291 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8293 * messages.[Ch]: add missing char
8295 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8297 * messages.[Ch]: New files
8299 2003-04-18 John Levon <levon@movementarian.org>
8303 * BufferView_pimpl.C:
8307 * text2.C: remove layout-copy/paste (bug 778)
8309 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8311 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8313 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8315 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8316 if they succeed. Act accordingly.
8318 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8320 * text2.C (setCharFont): adjust
8321 (setCounter): adjust
8322 (insertStringAsLines): adjust
8324 * text.C (leftMargin): adjust
8325 (setHeightOfRow): adjust
8327 * rowpainter.C (paintFirst): adjust
8330 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8332 (isFirstInSequence): ditto
8333 (getEndLabel): ditto
8336 * paragraph.C (getParLanguage): comment out some hard stuff.
8338 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8340 (simpleDocBookOnePar): ditto
8341 (makeDocBookFile): use ParagraphList::iterator
8343 * CutAndPaste.C (pasteSelection): adjust
8345 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8347 * text2.C (getFont): adjust
8348 (getLayoutFont): adjust
8349 (getLabelFont): adjust
8351 * paragraph_funcs.C (TeXOnePar): adjust
8353 * buffer.C (simpleLinuxDocOnePar): adjust
8354 (simpleDocBookOnePar): adjust
8356 * CutAndPaste.C (pasteSelection): adjust
8358 * BufferView.C (getEncoding): adjust
8360 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8362 2003-04-16 John Levon <levon@movementarian.org>
8364 * lyxfind.C: use parlist stuff for search/changes
8366 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8368 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8370 * text2.C (deleteEmptyParagraphMechanism): adjust
8372 * text2.[Ch] (ownerParagraph): delete func (both of them
8374 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8376 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8378 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8380 * ParagraphList.C: prepare for NO_NEXT
8382 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8384 * text2.C (getFont): adjust
8385 (getLayoutFont): adjust
8386 (getLabelFont): adjust
8388 * paragraph.C (getFont): adjust
8389 (getLabelFont): adjust
8390 (getLayoutFont): adjust
8392 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8394 2003-04-15 John Levon <levon@movementarian.org>
8398 * lyx_main.C: handle Include in .ui files
8400 2003-04-15 John Levon <levon@movementarian.org>
8402 * MenuBackend.C: make the doc files length shorter
8405 * ToolbarBackend.C: handle toolbar placement flags,
8408 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8410 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8413 * paragraph_funcs.C (TeXOnePar): adjust
8415 * paragraph.C (getLabelFont): add outerfont arg, adjust
8416 (getLayoutFont): ditto
8417 (simpleTeXOnePar): adjust
8419 * paragraph_pimpl.C (realizeFont): delete func
8421 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8423 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8424 row argument, constify cur argument.
8426 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8428 * text2.C (getFont): adjust
8429 (getLayoutFont): adjust
8430 (getLabelFont): adjust
8432 * paragraph_funcs.C (TeXOnePar): adjust
8433 (outerFont): new func...
8434 (realizeFont): ...moved out from here, changed this to facilitate
8437 * paragraph.C (getFont): take outerfont as arg, adjust
8438 (simpleTeXOnePar): add outerfont arg, adjust
8440 * buffer.C (simpleLinuxDocOnePar): adjust
8441 (simpleDocBookOnePar): adjust
8443 * CutAndPaste.C (pasteSelection): adjust
8445 * BufferView.C (getEncoding): adjust
8447 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8449 * text2.C (setCharFont): adjust
8450 (setCounter): adjust
8452 * text.C (leftMargin): adjust
8453 (setHeightOfRow): adjust
8455 * rowpainter.C (paintFirst): adjust
8458 * paragraph_pimpl.C (realizeFont): adjust
8460 * paragraph.C (isFirstInSequence): move from here...
8461 * paragraph_funcs.C (isFirstInSequence): ...to here
8463 * paragraph.C (outerHook): move from here...
8464 * paragraph_funcs.C (outerHook): ...to here
8466 * paragraph.C (depthHook): move from here...
8467 * paragraph_funcs.C (depthHook): ...to here
8469 * paragraph.C (getEndLabel): move from here...
8470 * paragraph_funcs.C (getEndLabel): ...to here
8472 * text2.C (realizeFont): move from here...
8473 * paragraph_funcs.C (realizeFont): ...to here
8475 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8477 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8479 2003-04-14 Angus Leeming <leeming@lyx.org>
8481 * LColor.[Ch]: scrap LColor mathcursor.
8483 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8485 * lyxlex.[Ch] (text): delete function
8486 * trans.C (Load): adjust
8487 * paragraph_funcs.C (readParToken): adjust
8489 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8491 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8492 vector<char> instead of a char[].
8494 * lyxlex_pimpl.C (getString): adjust
8496 (lex): use getString
8500 * lyxlex.C (text): use pimpl_->getString()
8504 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8506 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8507 (makeFontEntriesLayoutSpecific): temp var for par.size()
8508 (setLayout): temp var for ownerParagraphs().end()
8509 (fullRebreak): temp var for rows().end()
8510 (selectionAsString): temp var for boost::next(startpit), realize
8511 that the while really is a regular for loop.
8512 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8513 setCursor in one place.
8514 (setParagraph): temp vr for ownerParagraphs().end()
8515 (updateCounters): make the while loop a for loop
8516 (cutSelection): temp var for ownerParagraphs().end()
8517 (updateInset): make the do {} while() a regular for loop
8518 (getCursorX): use temp vars
8519 (setCurrentFont): use temp vars
8520 (getColumnNearX): use temp vars
8522 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8524 * text.C (transformChar): use temp var for getChar
8525 (computeBidiTables): use temp var for row->par()
8526 (fill): move temp vars for row->par() and pit->layout() earlier in
8528 (labelFill): use temp var for row->par()
8529 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8530 asc and desc, realize that pit never changes and that firstpit is
8531 just a duplicate and not needed. Exchange rit->par() with pit in a
8533 (breakAgain): use a temp var for boost::next(rit)
8534 (breakAgainOneRow): ditto
8535 (breakParagraph): use a temp var for rows().begin()
8536 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8537 (cursorRightOneWord): use temp var for cursor.par() and
8538 cursor.pos(), remove usage of tmpcursor.
8539 (cursorLeftOneWord): use temp var for cursor.par() and
8540 cursor.pos() only set cur at end of function.
8542 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8544 * text.C, text2.C: exchange all usage of Paragraph::next with
8545 boost::next(ParagraphList::iterator)
8547 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8549 * text2.C (cursorTop): simplify implementation
8550 (cursorBottom): ditto
8551 (setParagraph): use ParagraphList::iterator
8552 (setCurrentFont): adjust
8553 (getColumnNearX): adjust
8554 (cursorRight): adjust
8555 (cursorLeft): remove usage of Paragraph::previous
8556 (cursorUpParagraph): ditto
8557 (deleteEmptyParagraphMechanism): slight cleanup
8559 * text.C (isBoundary): take a Paragraph const & instead of a
8561 (addressBreakPoint): ditto
8562 (leftMargin): remove usage of Paragraph::previous.
8563 (setHeightOfRow): ditto
8564 (cursorLeftOneWord): ditto
8565 (selectNextWordToSpellcheck): ditto
8568 (breakParagraph): remove one usage of Paragraph::next
8569 (redoParagraph): ditto
8570 (acceptChange): ditto
8571 (insertChar): adjust
8572 (rowBreakPoint): adjust
8574 * bufferview_funcs.C (toggleAndShow): adjust
8576 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8578 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8579 methods to access it.
8581 * text.C: Added updateRowPositions to compute all row positions.
8582 Make top_y and getRowNearY() to use the cached y position
8584 2003-04-11 John Levon <levon@movementarian.org>
8586 * text.C (rowBreakPoint): reintroduce the labelEnd
8587 checks, code copied from the row fill stuff. Deep voodoo.
8589 * text.C (fill): add a comment and debugging for the
8592 2003-04-11 John Levon <levon@movementarian.org>
8594 * text.C: make sure fullrow insets get wrapped to the next line,
8595 even when they're in a manual label
8597 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8599 * text2.C (insertParagraph): make it take ParagraphList::iterator
8601 (setLayout): make it return ParagraphList::iterator
8602 (redoParagraphs): ditto
8604 (checkParagraph): ditto
8606 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8608 * text2.C: adjust several funcs.
8609 (realizeFont): take a ParagraphList::iterator as arg.
8610 (getLayoutFont): ditto
8611 (getLabelFont): ditto
8612 (setCharFont): ditto
8614 * text.C: adjust several funcs.
8616 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8618 * text.C (selectNextWordToSpellcheck): don't accidentally
8621 2003-04-10 John Levon <levon@movementarian.org>
8623 * ToolbarBackend.C (getIcon): special handling for
8626 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8628 * text2.C (cursorRight): a getChar assert fixed
8630 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8632 * text2.C (getFont): change to take a ParagraphList::iterator
8633 instead of Paragraph*
8634 Adjust several functions.
8636 * text.C (transformChar): change to take a ParagraphList::iterator
8637 instead of Paragraph*
8638 (singleWidth): ditto
8639 Adjust several functions.
8641 * rowpainter.C: adjust several functions
8642 * rowpainter.h:store a ParagraphList::iterator and not a
8646 2003-04-09 John Levon <levon@movementarian.org>
8651 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8652 and the "help" bits as well
8654 2003-04-09 John Levon <levon@movementarian.org>
8657 * ToolbarBackend.C: allow multiple toolbars
8659 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8661 * undo_funcs.C (setCursorParUndo): adjust
8663 * text_funcs.C (transposeChars): adjust
8665 * text3.C (gotoNextInset): adjust
8668 * text2.C (setLayout): adjust
8669 (changeDepth): adjust
8671 (redoParagraphs): adjust
8672 (selectionAsString): adjust
8673 (setParagraph): adjust
8674 (insertInset): adjust
8675 (cutSelection): adjust
8676 (copySelection): adjust
8677 (pasteSelection): adjust
8678 (insertStringAsLines): adjust
8679 (updateInset): adjust
8680 (setCursor): change to take a ParagraphList::iterator parameter
8681 (setCursorIntern): change to take a ParagraphList::iterator parameter
8682 (setCurrentFont): adjust
8683 (cursorLeft): adjust
8684 (cursorRight): adjust
8685 (deleteEmptyParagraphMechanism): adjust
8687 * text.C (breakParagraph): adjust
8688 (insertChar): adjust
8689 (acceptChange): adjust
8690 (rejectChange): adjust
8691 (selectNextWordToSpellcheck): adjust
8692 (changeCase): adjust
8696 * lyxfind.C (SearchForward): adjust
8697 (SearchBackward): adjust
8698 (nextChange): adjust
8700 * lyxcursor.C (par): adjust
8702 * lyxcursor.h: store a ParagraphList::iterator instead of a
8705 * lyx_cb.C (getPossibleLabel): adjust
8707 * bufferview_funcs.C (toggleAndShow): adjust
8709 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8712 * BufferView.C (removeAutoInsets): adjust
8713 (lockedInsetStoreUndo): adjust
8715 2003-04-09 John Levon <levon@movementarian.org>
8717 * ToolbarBackend.C: try icon without argument
8718 if with argument fails
8720 2003-04-08 John Levon <levon@movementarian.org>
8723 * ToolbarBackend.C: add getIcon(), handle tooltip,
8724 and change from "Icon" to "Item".
8726 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8728 * BufferView.C (lockInset): another bad getchar crunched
8730 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8732 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8735 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8737 * lyxfind.C (searchForward, searchBackwards): bug 782
8739 2003-04-07 John Levon <levon@movementarian.org>
8741 * paragraph.C: remove dead comment
8743 * text.C: remove troublesome depth-fiddling code
8744 in leftMargin() and rightMargin() (bug 1017)
8746 * text.C: fix breaking of rows in nested lists
8749 * text2.C (updateCounters): fix up depth values
8752 2003-04-07 John Levon <levon@movementarian.org>
8754 * BufferView_pimpl.C: clear message when doc finishes resizing,
8755 and after a mouse event
8757 * lyxfunc.C: clear message after exiting inset
8759 2003-04-07 John Levon <levon@movementarian.org>
8761 * bufferview_funcs.C: show math status not outside
8762 status in the statusbar
8764 2003-04-07 John Levon <levon@movementarian.org>
8766 * lyxfunc.C: note status changed after a depth change
8768 2003-04-04 Angus Leeming <leeming@lyx.org>
8770 * LaTeX.h: move AuxInfo operator==, != out of line.
8771 Remove LaTeX virtual destructor; nothing derives from it.
8772 Move operator()() out of public area and rename it startscript().
8773 Change protected for private.
8775 2003-04-04 Angus Leeming <leeming@lyx.org>
8778 * text2.C: remove unneeded #includes.
8780 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8782 * text2.C (dEPM): fix the heigth of the next row
8784 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8786 * text.C: squashed an invalid getChar requester + some ws changes
8788 2003-04-03 John Levon <levon@movementarian.org>
8790 * bufferview_funcs.h:
8791 * bufferview_funcs.C:
8794 * text2.C: make getStatus work for the env depth lfuns
8796 2003-04-03 John Levon <levon@movementarian.org>
8798 * bufferview_funcs.h:
8799 * bufferview_funcs.C:
8802 * text2.C: parlistize decDepth(), by merging it with incDepth()
8804 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8806 * lyxrow.h: store a ParagraphList::iterator instead of a
8807 Paragraph* and adjust other class functions to suit.
8809 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8812 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8814 * text2.C (setCursor): do not anchor to cursor row for the time being
8816 2003-04-02 John Levon <levon@movementarian.org>
8823 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8825 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8827 * paragraph.h: make ParagraphList and ParagraphList::iterator
8828 friends of Paragraph.
8830 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8832 * ParagraphList.C: Use the private next_ and previous_ from
8835 2003-04-01 John Levon <levon@movementarian.org>
8839 * Makefile.am: rename, remove defaults gunk
8842 * MenuBackend.C: remove defaults gunk
8845 * Languages.C: remove defaults gunk
8848 * lyx_main.C: error out if files couldn't be found.
8850 2003-04-02 John Levon <levon@movementarian.org>
8852 * text2.C: make incDepth() use parlist
8854 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8856 * undo_funcs.C (firstUndoParagraph): adjust
8858 * text3.C (gotoInset): adjust
8859 (dispatch): adjust, and rewrite loop.
8861 * text2.C (init): adjust, and rewrite loop.
8862 (redoParagraphs): adjust
8863 (updateInset): adjust, and rewrite loop.
8864 (deleteEmptyParagraphMechanism): adjust
8866 * tabular.C (LyXTabular): adjust
8867 (SetMultiColumn): adjust
8870 * lyxtext.[Ch] (ownerParagraph): delete function
8871 (ownerParagraphs): new function returns a ParagraphList.
8873 * BufferView.C (removeAutoInsets): adjust
8874 (insertErrors): adjust
8875 (setCursorFromRow): adjust
8877 2003-04-01 Angus Leeming <leeming@lyx.org>
8879 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8882 2003-04-02 John Levon <levon@movementarian.org>
8888 * text_funcs.C: make transposeChars a free function
8890 * lyxrow_funcs.C: remove wrong comment
8892 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8895 * rowpainter.C: adjust
8900 * lyxrow_funcs. [Ch]: new files
8902 * lyxrow.[Ch]: remove next and previous pointers
8903 (next,previous): remove accessor functions
8904 (isParEnd): move to lyxrow_funcs
8905 (lastPos): move to lyxrow_funcs
8906 (nextRowIsAllInset): move to lyxrow_funcs
8907 (lastPrintablePos): move to lyxrow_funcs
8908 (numberOfSeparators): move to lyxrow_funcs
8909 (numberOfHfills): move to lyxrow_funcs
8910 (numberOfLabelHfills): move to lyxrow_funcs
8911 (hfillExpansion): move to lyxrow_funcs
8915 * bufferview_funcs.C (toggleAndShow): adjust
8917 * RowList.h: Remove class RowList from file leave just a
8920 * RowList.C: delete file
8922 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8925 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8927 * text3.C (cursorPrevious): adjust
8928 (cursorNext): adjust
8931 * text2.C (redoHeightOfParagraph): adjust
8932 (redoDrawingOfParagraph): adjust
8935 * text.C (breakParagraph): adjust
8936 (insertChar): adjust
8939 * rowpainter.C (RowPainter): adjust
8940 (leftMargin): simplify and adjust
8941 (most rowpainter functions): adjust.
8943 * rowpainter.h: store the row as RowList::iterator not as Row*
8945 * lyxcursor.C (row): taka RowList::iterator as arg
8948 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8951 2003-04-01 Angus Leeming <leeming@lyx.org>
8953 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8954 stuff like bool Bool.
8956 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8958 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8961 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8963 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8966 * lyxtext.h (rows): drop one version and leve a const variant that
8967 returns a RowList::iterator.
8969 2003-03-31 Angus Leeming <leeming@lyx.org>
8971 * text.C (fill): ensure that the signature is the same as that in the
8974 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8976 * text2.C (redoParagraphs): adjust
8977 (updateCounters): adjust
8978 (checkParagraph): adjust
8979 (getColumnNearX): adjust and reformat a bit.
8981 * text.C (top_y): adjust
8983 (leftMargin): adjust
8984 (prepareToPrint): adjust
8986 (getRowNearY): adjust
8988 * lyxtext.h: make rowlist_ mutable.
8990 * RowList.h: add const_iterator
8991 * RowList.C: adjust for RowList::const_iterator.
8993 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8996 2003-03-31 John Levon <levon@movementarian.org>
8999 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9001 * lyx_main.C: set default fonts from using lyx_gui funcs
9003 * exporter.C: pdf_mode moved from lyxrc
9006 * lyxfunc.C: changes from above
9008 2003-03-31 John Levon <levon@movementarian.org>
9010 * lyx_main.C: fix to the last fix
9012 2003-03-31 John Levon <levon@movementarian.org>
9014 * bufferlist.C: "Load original" -> "Load Original"
9020 * format.C: more Alert cleanups
9022 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9024 * text2.C (removeParagraph): make it take a RowList::iterator as
9026 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9027 (postRowPaint): make it take a RowList::iterator as arg, adjust.
9029 * text.C (anchor_row): make it take a RowList::iterator as arg,
9031 (computeBidiTables): make it take a const reference to Row instead
9032 of Row pointer, adjust.
9033 (leftMargin): make it take a RowList::iterator as arg, adjust.
9034 (rowBreakPoint): adjust
9035 (breakAgainOneRow): make it take a RowList::iterator as arg,
9037 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9039 * bufferview_funcs.C (toggleAndShow): adjust
9041 2003-03-30 John Levon <levon@movementarian.org>
9045 * boost-inst.C: moved to support
9047 * several files: changes as a result
9049 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
9051 * text2.C (LyXText): adjust.
9053 (removeRow): make it take a RowList::iterator as arg, adjust.
9054 (fullRebreak): adjust
9055 (deleteEmptyParagraphMechanism): adjust
9056 (clearPaint): adjust
9059 * text.C (top_y): adjust
9060 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9061 (breakAgain): make it take a RowList::iterator as arg, adjust.
9062 (breakParagraph): adjust
9063 (insertChar): adjust
9066 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9067 need_break_row, and refresh_row.
9069 * text3.C (dispatch): adjust
9071 * text2.C (checkParagraph): adjust
9073 (setCursorFromCoordinates): adjust
9075 * text.C (top_y): adjust
9077 (getRow): make it return a RowList::iterator, adjust
9078 (getRowNearY): make it return a RowList::iterator, adjust
9080 * text2.C (init): adjust
9081 (insertRow): remove function
9082 (insertParagraph): adjust
9083 (redoParagraphs): adjust
9084 (fullRebreak): adjust
9085 (updateCounters): adjust
9087 * text.C (top_y): rewrite to use RowList iterators.
9089 (setHeightOfRow): rewrite to sue RowList iterators.
9090 (appendParagraph): adjust
9091 (breakAgain): adjust
9092 (breakAgainOneRow): adjust
9093 (breakParagraph): adjust
9095 (getRowNearY): adjust, and remove commented code.
9097 * lyxtext.h (firstRow): delete function
9098 (lastRow): delete function
9099 (rows): new function (const and non-const versions.)
9100 (insertRow): delete function
9102 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9104 2003-03-29 John Levon <levon@movementarian.org>
9106 * BufferView_pimpl.C: always update scrollbar top
9107 because pasting text when we're anchored could mean we
9108 miss an update altogether
9110 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9112 * text2.C (init): use rowlist_.end() and not 0.
9113 (insertRow): change to take a RowList::iterator as arg, adjust
9115 (insertParagraph): change to take a RowList::iterator as arg,
9117 (redoParagraphs): remove some debug msgs.
9119 * text.C (appendParagraph): change to take a RowList::iterator
9120 arg, adjust for this.
9121 (breakAgain): add an assert
9122 (breakAgainOneRow): ditto
9124 2003-03-29 John Levon <levon@movementarian.org>
9126 * text2.C: do not clear selection after inc/decDepth
9129 2003-03-29 John Levon <levon@movementarian.org>
9132 * buffer.C: fix broken strerrors according to Lars
9134 2003-03-29 John Levon <levon@movementarian.org>
9136 * converters.C: more Alert cleanups
9138 2003-03-29 John Levon <levon@movementarian.org>
9140 * bufferview_funcs.C: remove pointless Alert
9142 * buffer.C: fix confusing error message when
9143 a template is chmoded 000
9145 2003-03-29 John Levon <levon@movementarian.org>
9149 * BufferView_pimpl.C: Alert fixes
9153 * tabular-old.C: remove unused table compat reading
9155 2003-03-29 John Levon <levon@movementarian.org>
9160 * lyx_cb.C: more Alert cleanups
9162 * lyxfunc.C: don't allow chktex if not latex document
9164 2003-03-29 John Levon <levon@movementarian.org>
9168 * buffer.C: warnings pushed down from support/,
9171 2003-03-29 John Levon <levon@movementarian.org>
9173 * lyxfunc.C: safety check for C-r (revert)
9175 2003-03-29 John Levon <levon@movementarian.org>
9178 * bufferlist.C: several UI fixes using Alert::prompt.
9179 Fix the pointless looping quit code. Fix stupid revert
9184 * lyx_cb.C: use Alert::prompt
9186 * lyx_main.C: remove a silly question
9188 * lyxfunc.C: remove a couple of silly questions,
9191 2003-03-28 John Levon <levon@movementarian.org>
9193 * text2.C: fix bug 974 (End on empty par)
9195 2003-03-28 John Levon <levon@movementarian.org>
9197 * BufferView_pimpl.C:
9199 * lfuns.h: remove do-nothing math greek lfuns
9201 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9203 * lyxgluelength.h (isValidGlueLength): add default arg on
9204 parameter 2. Remove default arg from friend in class.
9206 * lyxlength.h (isValidLength): add default arg on parameter 2.
9207 Remove default arg from friend in class.
9209 * text2.C (LyXText): adjust, initialize refresh_row.
9213 (insertParagraph): adjst
9214 (redoParagraphs): adjust
9215 (fullRebreak): adjust
9216 (updateCounters): adjust
9217 (deleteEmptyParagraphMechanism): first attempt at fixing a
9220 * text.C (top_y): adjust
9221 (setHeightOfRow): adjust
9223 (getRowNearY): adjust
9225 * lyxtext.h: include RowList.h
9226 (~LyXText): not needed anymore, deleted.
9227 (firstRow): modify for RowList
9228 (lastRow): new function
9229 Delete firstrow and lastrow class variables, add a Rowlist
9230 rowlist_ class variable.
9232 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9235 * RowList.C (insert): fix case where it == begin().
9237 2003-03-26 Angus Leeming <leeming@lyx.org>
9239 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9240 the thesaurus dialog.
9242 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9244 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9246 * RowList.[Ch]: new files
9248 * ParagraphList.C (erase): handle the case where it == begin
9251 2003-03-25 John Levon <levon@movementarian.org>
9255 * aspell.C: add new aspell support
9258 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9261 2003-03-25 Angus Leeming <leeming@lyx.org>
9264 * LyXAction.C (init): new LFUN_INSET_INSERT.
9266 * BufferView_pimpl.C (dispatch): split out part of the
9267 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9269 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9272 2003-03-25 Angus Leeming <leeming@lyx.org>
9274 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9276 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9279 * text3.C: remove useless row->height(0)
9281 2003-03-25 John Levon <levon@movementarian.org>
9285 * text3.C: rename the refreshing stuff to better names
9287 2003-03-24 John Levon <levon@movementarian.org>
9289 * BufferView_pimpl.h:
9290 * BufferView_pimpl.C: update layout choice on a mouse
9293 2003-03-23 John Levon <levon@movementarian.org>
9295 * Makefile.am: fix commandtags.h reference
9297 2003-03-22 John Levon <levon@movementarian.org>
9299 * BufferView_pimpl.C:
9304 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9306 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9309 * text.C: take the rtl methods out of line
9311 2003-03-21 André Pönitz <poenitz@gmx.net>
9313 * metricsinfo.[Ch]: new files containing structures to be passed around
9314 during the two-phase-drawing...
9316 2003-03-21 André Pönitz <poenitz@gmx.net>
9318 * lyxtextclass.C: read 'environment' tag.
9320 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9322 * text2.C (removeRow): fix bug 964
9324 2003-03-20 John Levon <levon@movementarian.org>
9328 * text2.C: paint cleanups. Inset::update() dropped font
9331 2003-03-19 John Levon <levon@movementarian.org>
9333 * lyxfunc.C: only fitcursor/markDirty if available()
9335 2003-03-19 John Levon <levon@movementarian.org>
9337 * commandtags.h: rename to ...
9339 * lfuns.h: ... this, and renumber / cleanup
9341 2003-03-19 John Levon <levon@movementarian.org>
9343 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9344 fit the cursor after an lfun
9348 * BufferView_pimpl.h:
9349 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9351 * LyXAction.C: layout-character should have ReadOnly
9353 * ParagraphParameters.C:
9355 * bufferview_funcs.C:
9362 * undo_funcs.C: changes from above
9364 2003-03-18 John Levon <levon@movementarian.org>
9366 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9367 remove it from update()
9369 * lyxfunc.C: update layout choice after an lfun
9371 * text3.C: remove extra updateLayoutChoice()s
9373 2003-03-18 John Levon <levon@movementarian.org>
9375 * text.C: top_y change means full repaint, fix
9376 a drawing bug with cursor movement
9378 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9382 * text2.C: anchor row on setCursor
9384 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9386 * lyxtext.h: remove almost all mutable keywords
9389 * text3.C: remove const keywords accordingly
9391 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9393 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9395 (TeXEnvironment): ditto
9398 2003-03-17 John Levon <levon@movementarian.org>
9400 * text.C (rowBreakPoint): remove attempt to fix displayed
9401 math insets inside a manual label
9403 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9405 * lyxtext.h: remove BufferView* as first arg from almost all class
9407 * other files: adjust.
9409 2003-03-17 John Levon <levon@movementarian.org>
9413 * text2.C: more paint cleanups
9415 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9418 * rowpainter.C: remove "smart" background painting code
9420 2003-03-16 John Levon <levon@movementarian.org>
9425 * text3.C: add helper functions for setting refresh_row/y
9427 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9429 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9430 newline inset which *can* get inserted in the pass_thru layouts.
9431 This is primarily for literate documents.
9433 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9435 * buffer.C: increment LYX_FORMAT to 223
9437 2003-03-14 André Pönitz <poenitz@gmx.net>
9439 * textclass.h: prepare for environment handling, ws changes
9440 * lyxlayout.C: read latexheader and latexfooter tags
9442 2003-03-14 John Levon <levon@movementarian.org>
9444 * text2.C: rewrite ::status() a bit
9446 2003-03-13 John Levon <levon@movementarian.org>
9448 * lyxtext.h: add some docs
9450 2003-03-13 John Levon <levon@movementarian.org>
9455 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9457 2003-03-13 John Levon <levon@movementarian.org>
9459 * text3.C: fix appendix redrawing
9461 2003-03-13 John Levon <levon@movementarian.org>
9463 * text.C (setHeightOfRow):
9465 * rowpainter.C: make appendix mark have the text
9466 "Appendix" so the user knows what it is
9469 * LColor.C: s/appendixline/appendix/ from above
9471 2003-03-13 John Levon <levon@movementarian.org>
9473 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9475 * text.C: fix a getChar(pos) bug properly
9477 2003-03-13 Angus Leeming <leeming@lyx.org>
9480 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9481 Probably only temporary. Let's see how things pan out.
9483 * BufferView.C (unlockInset):
9484 * BufferView_pimpl.C (fitCursor):
9485 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9487 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9488 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9490 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9491 new functions that convert ParagraphParameters to and from a string.
9493 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9494 BufferView::Pimpl's dispatch.
9495 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9497 2003-03-13 André Pönitz <poenitz@gmx.net>
9501 * factory.C: make it aware of InsetEnv
9503 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9505 * text2.C (setCursor): never ask for one past last
9506 (setCursor): add some debugging messages.
9508 * text.C (singleWidth): never ask for one past last
9509 (singleWidth): ditto
9511 (rightMargin): ditto
9512 (rowBreakPoint): ditto
9513 (setHeightOfRow): ditto
9514 (prepareToPrint): ditto
9516 * rowpainter.C (paintBackground): never ask for one past last
9517 (paintText): never ask for one past last
9519 * paragraph_pimpl.C (getChar): make the assert stricter, never
9520 allow the one past last pos to be taken
9522 * paragraph.C (getChar): ws changes only
9524 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9525 (numberOfSeparators): ditto
9526 (numberOfHfills): ditto
9528 2003-03-12 John Levon <levon@movementarian.org>
9534 * paragraph_funcs.C: fix per-buffer authorlists
9536 2003-03-12 John Levon <levon@movementarian.org>
9538 * text.C: fix newline in right address
9540 2003-03-12 Angus Leeming <leeming@lyx.org>
9542 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9543 duplicate those in LyXFunc::dispatch.
9547 * ToolbarDefaults.C:
9548 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9549 Add LFUN_FONTFREE_UPDATE.
9551 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9552 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9554 * bufferview_func.[Ch]: several new functions to facilliate
9555 transfer of data to and from the character dialog.
9557 2003-03-12 John Levon <levon@movementarian.org>
9562 * paragraph_funcs.C:
9563 * paragraph_pimpl.C:
9567 * text3.C: remove META_NEWLINE in favour of an inset
9570 * rowpainter.C: remove paintNewline (done by inset)
9572 2003-03-12 John Levon <levon@movementarian.org>
9574 * paragraph_pimpl.C: complain about bad getChar()s
9575 for a while at least
9577 2003-03-12 John Levon <levon@movementarian.org>
9580 * buffer.C: move paragraph read into a separate function,
9581 a little renaming to reflect that.
9584 * bufferparams.C: remove the author_ids map, not necessary now
9587 * factory.C: moved Buffer::readInset to here
9589 * paragraph_funcs.h:
9590 * paragraph_funcs.C: readParagraph free function moved from
9593 * tabular.C: name change
9595 2003-03-12 John Levon <levon@movementarian.org>
9598 * ParagraphParameters.C: move par params input to
9601 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9602 behave like a normal read from the stream wrt reading
9603 a line vs. a \\token
9605 2003-03-12 John Levon <levon@movementarian.org>
9608 * ParagraphParameters.h:
9609 * ParagraphParameters.C: move output code to a
9612 2003-03-12 John Levon <levon@movementarian.org>
9614 * BufferView.C (insertLyXFile):
9617 * tabular.C: use a parlist iterator for creating the
9620 2003-03-12 John Levon <levon@movementarian.org>
9622 * buffer.C: make current_change static local not
9625 2003-03-12 John Levon <levon@movementarian.org>
9627 * buffer.C: fix insertStringAsLines for change tracking
9629 2003-03-12 John Levon <levon@movementarian.org>
9636 * bufferparams.C: move author list into params. Rename some
9637 functions. Move the header reading into a separate token
9638 loop. Move the header token reading into BufferParams.
9640 2003-03-12 John Levon <levon@movementarian.org>
9642 * changes.C: put debug inside lyxerr.debugging() checks
9644 2003-03-11 André Pönitz <poenitz@gmx.net>
9646 * factory.C: make it aware of InsetHFill
9648 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9650 * buffer.C (latexParagraphs): move function from here...
9651 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9654 2003-03-10 Angus Leeming <leeming@lyx.org>
9656 * LyXAction.C (init): fix bug in poplating array with multiple entries
9657 with the same LFUN (spotted by JMarc).
9659 2003-03-10 John Levon <levon@movementarian.org>
9662 * text2.C: move getColumnNearX() near its
9665 2003-03-10 John Levon <levon@movementarian.org>
9667 * text.C: fix break before a minipage
9669 2003-03-10 John Levon <levon@movementarian.org>
9671 * text.C: fix the last commit
9673 2003-03-09 John Levon <levon@movementarian.org>
9677 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9678 bug 365 (don't break before insets unless needed). Don't
9679 return a value > last under any circumstances.
9681 2003-03-09 Angus Leeming <leeming@lyx.org>
9683 * BufferView_pimpl.C (trackChanges, dispatch): call
9684 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9686 2003-03-09 Angus Leeming <leeming@lyx.org>
9688 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9689 than Dialogs::showAboutlyx().
9691 2003-03-09 Angus Leeming <leeming@lyx.org>
9693 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9694 than Dialogs::showTabularCreate().
9696 2003-03-09 John Levon <levon@movementarian.org>
9700 * text2.C: 3rd arg to nextBreakPoint was always the same.
9703 2003-03-08 John Levon <levon@movementarian.org>
9710 * text2.C: Remove the "main" bit from the "main body"
9713 2003-03-08 John Levon <levon@movementarian.org>
9715 * text.C (leftMargin): The left margin of an empty
9716 manual label paragraph should not include the label width
9719 * text.C (prepareToPrint): don't attempt to measure hfills
9720 for empty manual label paragraphs - the answer should be 0
9722 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9724 * CutAndPaste.C: remove commented code and reindent.
9726 2003-03-08 John Levon <levon@movementarian.org>
9729 * lyxfunc.C: move reloadBuffer()
9732 * BufferView.C: to here
9734 * lyxvc.C: add comment
9737 * vc-backend.C: call bv->reload() to avoid
9738 getStatus() check on MENURELOAD
9740 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9742 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9743 to an old format .dep file.
9745 2003-03-07 Angus Leeming <leeming@lyx.org>
9747 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9748 when the LFUN_MOUSE_RELEASE should have been handled by
9749 inset->localDispatch.
9751 2003-03-07 Angus Leeming <leeming@lyx.org>
9753 * BufferView_pimpl.C (dispatch):
9754 * LyXAction.C (init):
9755 * ToolbarDefaults.C (init):
9757 * lyxfunc.C (getStatus):
9758 remove LFUN_INSET_GRAPHICS.
9760 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9762 2003-03-07 Angus Leeming <leeming@lyx.org>
9765 * LyXAction.C (init):
9766 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9768 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9771 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9773 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9774 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9776 2003-03-07 Angus Leeming <leeming@lyx.org>
9778 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9781 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9783 * ParagraphList.C (front): new function
9786 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9788 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9789 and top_row_offset_. removed var first_y.
9791 * text2.C (LyXText, removeRow):
9793 * BufferView_pimpl.C:
9794 use these methods instead of using first_y
9796 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9798 * text2.C (pasteSelection): adjust for checkPastePossible
9800 * CutAndPaste.C: remove Paragraph * buf and replace with
9801 ParagraphList paragraphs.
9802 (DeleteBuffer): delete
9803 (cutSelection): change the tc type to textclass_type
9804 (copySelection): change the tc type to textclass_type
9805 (copySelection): adjust for ParagraphList
9806 (pasteSelection): change the tc type to textclass_type
9807 (pasteSelection): adjust for Paragraphlist
9808 (nrOfParagraphs): simplify for ParagraphList
9809 (checkPastePossible): simplify for ParagraphList
9810 (checkPastePossible): remove unused arg
9812 * ParagraphList.C (insert): handle the case where there are no
9815 * CutAndPaste.h: make CutAndPaste a namespace.
9817 * text3.C (dispatch): adjust
9819 * text.C (breakParagraph): add a ParagraphList as arg
9821 * paragraph_funcs.C (breakParagraph): change to take a
9822 BufferParams and a ParagraphList as args.
9823 (breakParagraphConservative): ditto
9824 (mergeParagraph): ditto
9825 (TeXDeeper): add a ParagraphList arg
9826 (TeXEnvironment): ditto
9829 * buffer.C (readLyXformat2): adjust
9830 (insertStringAsLines): adjust
9831 (latexParagraphs): adjust
9833 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9834 (cutSelection): adjust
9835 (pasteSelection): adjust
9837 * BufferView_pimpl.C (insertInset): adjust
9839 2003-03-05 Angus Leeming <leeming@lyx.org>
9842 * LyXAction.C (init):
9843 * BufferView_pimpl.C (dispatch):
9844 * lyxfunc.C (getStatus):
9845 remove LFUN_CHILD_INSERT.
9847 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9849 2003-03-05 Angus Leeming <leeming@lyx.org>
9852 * LyXAction.C (init):
9853 * src/factory.C (createInset):
9854 * lyxfunc.C (getStatus):
9855 * text3.C (dispatch):
9856 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9858 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9860 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9862 * ParagraphList.C (insert): handle insert right before end()
9863 (erase): fix cases where it can be first or last paragraph.
9865 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9867 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9868 Paragraph::next and Paragraph::previous
9871 * text.C (breakParagraph): adjust
9873 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9874 BufferParams& as arg.
9875 (breakParagraph): use ParagraphList::insert
9876 (breakParagraphConservative): take a Buffer* instead of a
9877 BufferParams& as arg.
9878 (breakParagraphConservative): use ParagraphList::insert.
9880 * buffer.C (insertStringAsLines): un-const it
9881 (insertStringAsLines): adjust
9883 * ParagraphList.C (insert): new function
9885 * CutAndPaste.C (pasteSelection): adjust
9887 * text.C (backspace): adjust
9889 * tabular.C (SetMultiColumn): adjust
9891 * CutAndPaste.C (cutSelection): adjust
9892 (pasteSelection): adjust
9894 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9895 Buffer const * as arg
9897 * ParagraphList.C (erase): new function
9898 * paragraph_funcs.C (mergeParagraph): use it
9899 (mergeParagraph): make it take a Buffer* instead of a
9900 BufferParams* as arg
9902 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9904 (breakParagraphConservative): ditto
9906 * paragraph.h: remove the breakParagraph friend
9908 * paragraph.C (eraseIntern): new function
9909 (setChange): new function
9911 * paragraph_funcs.C (mergeParagraph): make it take a
9912 ParagraphList::iterator instead of a Paragraph *, adjust
9915 * paragraph.h: move an #endif so that the change tracking stuff
9916 also works in the NO_NEXT case.
9918 2003-03-04 Angus Leeming <leeming@lyx.org>
9921 * LyXAction.C: new LFUN_INSET_MODIFY.
9923 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9924 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9926 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9928 * several files: ws changes only
9930 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9931 (TeXEnvironment): ditto
9934 * buffer.C (makeLaTeXFile): adjust
9935 (latexParagraphs): make it take ParagraphList::iterator as args
9937 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9939 * buffer.C (latexParagraphs): adjust
9941 * paragraph.C (TeXOnePar): move function...
9942 (optArgInset): move function...
9943 (TeXEnvironment): move function...
9944 * paragraph_pimpl.C (TeXDeeper): move function...
9945 * paragraph_funcs.C: ...here
9947 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9949 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9951 * buffer.C (readInset): remove compability code for old Figure and
9954 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9956 * buffer.C: ws changes
9959 * BufferView_pimpl.C: ditto
9962 * bufferlist.h: ditto
9966 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9968 * converter.[Ch]: split into itself +
9971 * Makefile.am: += graph.[Ch] + format.[Ch]
9978 * lyxrc.C: added #include "format.h"
9980 2003-02-27 Angus Leeming <leeming@lyx.org>
9982 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9985 * factory.C (createInset): add "label" to the factory.
9987 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9988 string and do no more.
9990 2003-02-27 Angus Leeming <leeming@lyx.org>
9993 * LyXAction.C (init):
9994 * factory.C (createInset):
9995 * BufferView_pimpl.C (dispatch):
9996 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9998 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10000 * lyxfunc.C (dispatch):
10001 * text3.C (dispatch): pass name to params2string.
10003 2003-02-26 Angus Leeming <leeming@lyx.org>
10005 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10007 Rearrange the ~includes. Strip out the unnecessary ones.
10009 * factory.C (createInset): reformat.
10010 create new insets for the various LFUN_XYZ_APPLY lfuns.
10012 2003-02-26 John Levon <levon@movementarian.org>
10015 * lyxrow.C: add isParStart,isParEnd helpers
10017 * paragraph.h: make isInserted/DeletedText take refs
10019 * paragraph_funcs.h:
10020 * paragraph_funcs.C: remove #if 0'd code
10025 * text.C: use lyxrow helpers above.
10026 Move draw and paint routines to RowPainter.
10027 Make several methods use refs not pointers.
10028 Make backgroundColor() const.
10029 Add markChangeInDraw(), isInInset().
10030 Merge changeRegionCase into changeCase.
10031 Make workWidth() shouldn't-happen code into an Assert.
10034 * rowpainter.C: new class for painting a row.
10037 * vspace.C: make inPixels take a ref
10039 2003-02-26 Angus Leeming <leeming@lyx.org>
10041 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10044 2003-02-25 John Levon <levon@movementarian.org>
10046 * ispell.C: give the forked command a more accurate name
10048 2003-02-22 John Levon <levon@movementarian.org>
10051 * toc.C: make TocItem store an id not a Paragraph *
10054 2003-02-21 Angus Leeming <leeming@lyx.org>
10056 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10057 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10058 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10059 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10060 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10061 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10063 * BufferView_pimpl.C (dispatch):
10064 * LyXAction.C (init):
10065 * factory.C (createInset):
10066 * lyxfunc.C (getStatus, dispatch):
10067 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10069 2003-02-21 Angus Leeming <leeming@lyx.org>
10071 * BufferView_pimpl.C (MenuInsertLyXFile):
10072 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10073 * lyxfunc.C (menuNew, open, doImport):
10074 no longer pass a LyXView & to fileDlg.
10076 2003-02-21 Angus Leeming <leeming@lyx.org>
10078 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10079 * LyXAction.C: change, BIBKEY to BIBITEM.
10080 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10081 Change InsetBibKey to InsetBibitem.
10082 Change BIBKEY_CODE to BIBITEM_CODE.
10083 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10084 * factory.C: replace insetbib.h with insetbibitem.h.
10085 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10086 * paragraph.C: replace insetbib.h with insetbibitem.h.
10087 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10088 Change bibkey() to bibitem().
10089 * text.C: remove insetbib.h.
10090 * text2.C: replace insetbib.h with insetbibitem.h.
10091 change bibkey() to bibitem().
10092 * text3.C: remove insetbib.h.
10093 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10095 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10097 * lyxrc.C (output): enclose user email in quotes (in case there are
10100 2003-02-18 John Levon <levon@movementarian.org>
10102 * buffer.h: add std::
10104 2003-02-17 John Levon <levon@movementarian.org>
10110 * pspell.C: reworking. Especially in ispell, a large
10111 number of clean ups and bug fixes.
10113 * lyxfunc.C: fix revert to behave sensibly
10115 2003-02-17 André Pönitz <poenitz@gmx.net>
10118 * commandtags.h: new LFUN_INSERT_BIBKEY
10128 * paragraph_func.C: remove special bibkey handling
10130 2003-02-17 John Levon <levon@movementarian.org>
10132 * text.C (Delete): fix case where delete at the end of
10133 the very first paragraph would not merge the pars
10135 2003-02-17 John Levon <levon@movementarian.org>
10137 * lyxrow.C: fix lastPrintablePos()
10139 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10141 * bufferparams.C (writeLaTeX): add a std:here
10143 * buffer.C: and remove a using directive there
10145 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10147 * buffer.C (makeLaTeXFile): move the code that generates the
10150 * bufferparams.C (writeLaTeX): ... in this new method
10152 * LaTeXFeatures.C (getEncodingSet): make const
10153 (getLanguages): make const
10155 * MenuBackend.C (binding): returns the binding associated to this
10157 (add): sets the status of each item by calling getStatus. Adds
10159 (read): add support for OptSubMenu
10160 (expand): remove extra separator at the end of expanded menu
10162 2003-02-15 John Levon <levon@movementarian.org>
10165 * BufferView_pimpl.C:
10167 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10168 inset code that had no actual effect. Remove unneeded status
10171 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10173 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10176 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10178 * text.C (drawLengthMarker): also draw an arrow marker for
10179 symbolic lengths (medskip...)
10181 2003-02-14 John Levon <levon@movementarian.org>
10184 * tabular.C: better method names
10186 2003-02-14 John Levon <levon@movementarian.org>
10188 * BufferView_pimpl.C:
10193 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10194 it's a more accurate name. Remove some pointless uses.
10196 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10198 * text2.C (LyXText): change order of initilizers to shut off
10201 2003-02-14 John Levon <levon@movementarian.org>
10203 * buffer.C: use ParIterator for getParFromID()
10207 * paragraph_pimpl.h:
10208 * paragraph_pimpl.C: remove unused getParFromID()
10210 2003-02-14 John Levon <levon@movementarian.org>
10212 * buffer.C: remove some very old #if 0'd parse code
10214 2003-02-13 John Levon <levon@movementarian.org>
10218 * text2.C: move hfillExpansion(), numberOfSeparators(),
10219 rowLast(), rowLastPrintable(), numberofHfills(),
10220 numberOfLabelHfills() ...
10223 * lyxrow.C: ... to member functions here.
10228 * text.C: remove LyXText::beginningOfMainBody(), and call
10229 p->beginningOfMainBody() directly. Move the check for
10230 LABEL_MANUAL into the latter.
10237 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10243 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10244 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10246 2003-02-13 John Levon <levon@movementarian.org>
10248 * CutAndPaste.C: remove debug
10250 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10252 * paragraph.C (asString): remove two unused variables
10254 * lyxtextclass.C (readTitleType):
10256 (LyXTextClass): handle new members titletype_ and titlename_
10258 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10260 2003-02-09 John Levon <levon@movementarian.org>
10263 * buffer.C: replace hand-coded list with a map for the dep clean
10265 2003-02-08 John Levon <levon@movementarian.org>
10267 * LaTeX.C: consolidate code into showRunMessage() helper
10269 2003-02-08 John Levon <levon@movementarian.org>
10274 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10275 and pass the size in explicitly
10277 * BufferView_pimpl.h:
10278 * BufferView_pimpl.C:
10280 * BufferView.C: add getCurrentChange()
10282 * BufferView_pimpl.h:
10283 * BufferView_pimpl.C: handle change lfuns
10285 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10286 for changes. Mark pasted paragraphs as new.
10288 * support/lyxtime.h:
10289 * support/lyxtime.C:
10290 * DepTable.C: abstract time_t as lyx::time_type
10293 * LColor.C: add colours for new text, deleted text, changebars
10295 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10296 package use "usenames" option.
10300 * LyXAction.C: add change lfuns
10304 * author.C: author handling
10307 * buffer.C: add a per-buffer author list, with first entry as
10308 current author. Handle new .lyx tokens for change tracking. Output
10309 author list to .lyx file. Output dvipost stuff to .tex preamble.
10310 Bump lyx format to 222.
10313 * bufferlist.C: add setCurrentAuthor() to reset current author details
10317 * bufferparams.C: add param for tracking
10319 * bufferview_funcs.C: output change info in minibuffer
10323 * changes.C: add change-tracking structure
10326 * debug.C: add CHANGES debug flag
10329 * lyxfind.C: add code for finding the next change piece
10332 * lyxrc.C: add user_name and user_email
10335 * lyxrow.C: add a metric for the top of the text line
10338 * text.C: implement accept/rejectChange()
10341 * text.C: paint changebars. Paint new/deleted text in the chosen
10342 colours. Strike through deleted text.
10346 * paragraph_pimpl.h:
10347 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10348 in the current change to the insert functions. Rework erase to
10349 mark text as deleted, adding an eraseIntern() and a range-based
10350 erase(). Implement per-paragraph change lookup and
10353 * paragraph_funcs.C: Fixup paste for change tracking.
10355 * tabular.C: mark added row/columns as new.
10357 * text.C: fix rowLast() to never return -1. Don't allow
10358 spellchecking of deleted text. Track transpose changes. Don't
10359 allow paragraph break or merge where appropriate.
10361 * text2.C: leave cursor at end of selection after a cut.
10363 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10365 * text.C (getLengthMarkerHeight):
10366 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10367 visible on screen too.
10369 2003-02-07 John Levon <levon@movementarian.org>
10371 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10373 2003-02-05 Angus Leeming <leeming@lyx.org>
10375 * lyxserver.C (read_ready): revert my patch of 11 September last year
10376 as it sends PC cpu through the roof. Presumably this means that
10377 the lyxserver will no longer run on an Alpha...
10379 2003-01-30 Angus Leeming <leeming@lyx.org>
10381 * factory.C (createInset): create an InsetCommandParam of type "index"
10382 and use it to 'do the right thing'.
10384 * text2.C (getStringToIndex): ensure that cursor position is always
10385 reset to the reset_cursor position.
10387 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10389 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10392 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10396 * lyxfunc.C: Output messages with identical spelling, punctuation,
10399 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10401 * MenuBackend.C (expandFormats): List only viewable export formats
10404 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10407 * lyxfunc.C (getStatus): Make sure that formats other than
10408 "fax" can also be disabled
10410 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10412 * text3.C (dispatch): put the lfuns that insert insets in 3
10413 groups, and call doInsertInset with appropriate arguments.
10414 (doInsertInset): new function, that creates an inset and inserts
10415 it according to some boolean parameters.
10417 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10419 * buffer.C (readFile): remember to pass on 'par' when calling
10420 readFile recursively.
10422 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10424 * MenuBackend.C (expandFormats): add "..." to import formats.
10426 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10428 * paragraph.C (asString): Remove XForms RTL hacks.
10430 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10431 * buffer.C: fix typo
10433 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10435 * Makefile.am (LIBS): delete var
10436 (lyx_LDADD): add @LIBS@ here instead.
10438 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10440 * Clarify the meaning of "wheel mouse jump"
10442 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10444 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10447 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10449 * importer.C (Loaders): do not preallocate 3 elements in the
10450 vector, since one ends up with 6 elements otherwise
10452 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10454 * DepTable.C (write): write the file name as last element of the
10455 .dep file (because it may contain spaces)
10456 (read): read info in the right order
10458 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10460 * paragraph_pimpl.C (simpleTeXBlanks):
10461 (simpleTeXSpecialChars):
10462 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10464 * tabular.C (latex): add some missing case statements. Reindent.
10466 * MenuBackend.C (expandToc): remove unused variable.
10468 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10477 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10480 2003-01-05 John Levon <levon@movementarian.org>
10483 * BufferView.C: add getEncoding()
10486 * kbsequence.C: do not store last keypress
10489 * lyxfunc.C: store last keypress here instead. Pass encoding
10492 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10494 * lyx_main.C (init): remove annoying error message when following
10495 symbolic links (bug #780)
10497 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10499 * text.C (insertChar):
10500 * lyxrc.C (getDescription): remove extra spaces
10502 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10504 * lyxrc.C (getDescription): remove extra spaces
10506 2002-12-20 John Levon <levon@movementarian.org>
10508 * text3.C: hack fix for page up/down across tall rows
10510 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10512 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10515 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10517 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10518 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10519 thesaurus is not compiled in
10521 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10523 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10525 2002-12-16 Angus Leeming <leeming@lyx.org>
10528 * lyx_main.C (init): remove override_x_deadkeys stuff.
10530 2002-12-12 John Levon <levon@movementarian.org>
10532 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10533 insert. Only remove shift modifier under strict
10536 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10538 * MenuBackend.C (expandToc): fix crash.
10540 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10542 * MenuBackend.C (expandToc): gettext on float names.
10544 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10546 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10547 implement bool empty() [bug 490]
10549 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10551 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10553 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10555 * several files: ws changes
10557 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10559 * text2.C (setCounter): clean up a bit, use boost.format.
10560 (updateCounters): initialize par upon declaration.
10562 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10563 if the layout exists. We do not just store the layout any more.
10564 (SwitchLayoutsBetweenClasses): use boost.format
10566 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10568 * converter.C (convert): if from and to files are the same, use a
10569 temporary files as intermediary
10571 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10574 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10576 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10578 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10580 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10582 * tabular.C (asciiPrintCell): use string(size, char) instead of
10585 * sgml.C (openTag): fix order of arguments to string constructor
10588 * lyxfunc.C (dispatch): use boost.format
10590 * lots of files: change "c" -> 'c'
10592 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10594 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10596 2002-11-25 Angus Leeming <leeming@lyx.org>
10598 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10600 * lyx_main.C (init): compile fix.
10602 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10604 * lyx_cb.C (start): boost.formatify
10605 do not include <iostream>
10607 * lengthcommon.C: ws only
10609 * boost-inst.C,BoostFormat.h: add more explict instantations
10611 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10613 * lots of files: handle USE_BOOST_FORMAT
10615 2002-11-21 John Levon <levon@movementarian.org>
10617 * pspell.C: fix compile
10619 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10621 * lyxfunc.C (dispatch): use boost::format
10625 * lyxfont.C (stateText): use boost::format
10627 * lyx_main.C (LyX): use boost::format
10629 (queryUserLyXDir): ditto
10630 (readRcFile): ditto
10632 (typedef boost::function): use the recommened syntax.
10634 * importer.C (Import): use boost::format
10636 * debug.C (showLevel): use boost::format
10638 * converter.C (view): use boost::format
10643 * bufferview_funcs.C (currentState): use boost::format
10645 * bufferlist.C (emergencyWrite): use boost::format
10647 * buffer.C (readLyXformat2): use boost::format
10648 (parseSingleLyXformat2Token): ditto
10650 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10652 * LaTeX.C (run): use boost::format
10654 * Chktex.C (scanLogFile): use boost::format
10656 * BufferView_pimpl.C (savePosition): use boost::format
10657 (restorePosition): ditto
10658 (MenuInsertLyXFile): ditto
10660 * BoostFormat.h: help file for explicit instation.
10662 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10664 * tabular.C (latex): Support for block alignment in fixed width
10667 2002-11-17 John Levon <levon@movementarian.org>
10669 * BufferView_pimpl.C:
10671 * lyxfunc.C: split filedialog into open/save
10673 2002-11-08 Juergen Vigna <jug@sad.it>
10675 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10676 by my last patch (hopefully).
10678 2002-11-08 John Levon <levon@movementarian.org>
10687 * toc.C: ParConstIterator, and use it (from Lars)
10689 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10691 * lyxtextclass.[Ch]: revise and add doxygen comments
10693 2002-11-07 John Levon <levon@movementarian.org>
10695 * text.C: fix progress value for spellchecker
10697 * toc.C: fix navigate menu for insetwrap inside minipage
10699 * paragraph_funcs.C: added FIXME for suspect code
10701 2002-11-07 John Levon <levon@movementarian.org>
10703 * BufferView_pimpl.C: fix redrawing of insets
10706 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10708 * text2.C (updateCounters): fix bug 668
10710 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10712 * text3.C (dispatch): Do not make the buffer dirty when moving the
10715 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10717 * vc-backend.C: STRCONV
10718 (scanMaster): ditto
10720 * text2.C (setCounter): STRCONV
10722 * paragraph.C (asString): STRCONV
10724 * lyxlength.C (asString): STRCONV
10725 (asLatexString): ditto
10727 * lyxgluelength.C (asString): STRCONV
10728 (asLatexString): ditto
10730 * lyxfunc.C (dispatch): STRCONV
10733 * lyxfont.C (stateText): STRCONV
10735 * importer.C (Import): STRCONV
10737 * counters.C (labelItem): STRCONV
10738 (numberLabel): ditto
10739 (numberLabel): remove unused ostringstream o
10744 * bufferview_funcs.C (currentState): STRCONV
10746 * buffer.C (readFile): STRCONV
10747 (asciiParagraph): ditto
10748 (makeLaTeXFile): ditto
10750 * Spacing.C (writeEnvirBegin): STRCONV
10752 * LaTeXFeatures.C (getLanguages): STRCONV
10753 (getPackages): ditto
10755 (getBabelOptions): ditto
10756 (getTClassPreamble): ditto
10757 (getLyXSGMLEntities): ditto
10758 (getIncludedFiles): ditto
10762 (scanAuxFile): ditto
10765 * LString.h: add the STRCONV macros
10767 * BufferView_pimpl.C (savePosition): STRCONV
10768 (restorePosition): ditto
10769 (MenuInsertLyXFile): ditto
10771 * vc-backend.C (scanMaster): change from submatch[...] to
10774 * funcrequest.C: include config.h
10776 * factory.C: include config.h
10778 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10780 * box.C: include config.h
10782 * LaTeX.C (scanAuxFile): change from submatch[...] to
10786 2002-10-25 Angus Leeming <leeming@lyx.org>
10788 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10790 * ispell.[Ch] (setError): new method.
10791 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10792 Use setError() insetead of goto END.
10794 * lyx_cb.C (AutoSave): move out child process into new class
10797 2002-10-30 John Levon <levon@movementarian.org>
10799 * text3.C: make start appendix undoable
10801 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10803 * lyxlength.C (inPixels): Fix returned value.
10805 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10808 2002-10-24 Angus Leeming <leeming@lyx.org>
10810 * lyxgluelength.h: no need to forward declare BufferParams
10811 or BufferView, so don't.
10813 2002-10-21 John Levon <levon@movementarian.org>
10815 * BufferView.C: menuUndo ->undo, redo
10817 * BufferView.h: document, remove dead, make some methods private
10819 * paragraph_funcs.h:
10820 * paragraph_funcs.C:
10821 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10826 * sgml.C: move sgml open/close tag into sgml.C
10828 * bufferview_funcs.h: unused prototype
10831 * lyxfunc.C: remove unused
10834 * text.C: remove unused
10836 2002-10-21 John Levon <levon@movementarian.org>
10840 * BufferView_pimpl.h:
10841 * BufferView_pimpl.C: fix mouse wheel handling based on
10842 patch from Darren Freeman
10844 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10846 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10848 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10850 * lyxlength.C (inPixels): Fix hanfling of negative length.
10851 Fix LyXLength::MU case.
10853 2002-10-16 John Levon <levon@movementarian.org>
10855 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10857 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10859 * converter.C (view): add support for $$i (file name) and $$p
10860 (file path) for the viewer command. If $$i is not specified, then
10861 it is appended to the command (for compatibility with old syntax)
10863 2002-10-14 Juergen Vigna <jug@sad.it>
10865 * undo_funcs.C (textHandleUndo): alter the order in which the
10866 new undopar is added to the LyXText, as we have to set first
10867 the right prev/next and then add it as otherwise the rebuild of
10868 LyXText is not correct. Also reset the cursor to the right paragraph,
10869 with this IMO we could remove the hack in "redoParagraphs()".
10871 2002-10-09 Angus Leeming <leeming@lyx.org>
10873 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10874 to turn off an optimisation if a new inset is to be inserted.
10876 2002-10-11 André Pönitz <poenitz@gmx.net>
10878 * lyxtext.h: make some functions public to allow access
10879 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10881 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10883 * text3.C (dispatch): when changing layout, avoid an infinite loop
10886 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10888 * lyxrc.C (read): treat a viewer or converter command of "none" as
10891 * MenuBackend.C (expandFormats): for an update, also allow the
10892 formats that are not viewable
10894 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10895 script if it is newer than the lyxrc.defaults in user directory
10897 2002-10-07 André Pönitz <poenitz@gmx.net>
10899 * text.C: Vitaly Lipatov's small i18n fix
10901 2002-09-25 Angus Leeming <leeming@lyx.org>
10903 * ispell.h: doxygen fix.
10905 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10907 * buffer.h (readFile): Add a new argument to the method, to allow
10908 reading of old-format templates.
10910 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10912 * toc.C (getTocList): Get TOC from InsetWrap.
10914 2002-09-16 John Levon <levon@movementarian.org>
10916 * lyxfunc.C: check tabular for cut/copy too
10918 2002-09-12 John Levon <levon@movementarian.org>
10920 * LyXAction.C: tidy
10923 * factory.C: add header
10925 * paragraph_funcs.h:
10926 * paragraph_funcs.C: cleanup
10928 2002-09-11 John Levon <levon@movementarian.org>
10930 * PrinterParams.h: odd/even default to true
10932 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10934 * PrinterParams.h: update printer parameters for new xforms dialog
10936 2002-09-11 Angus Leeming <leeming@lyx.org>
10938 * lyxserver.C (read_ready): re-write to make it more transparent
10939 and to make it work in coherent fashion under Tru64 Unix.
10941 2002-09-11 André Pönitz <poenitz@gmx.net>
10945 * text3.C: implement LFUN_WORDSEL
10947 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10949 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10950 make floatlist_ a boost::shared_ptr<FloatList>
10952 * lyxtextclass.C: include FloatList.h
10953 (LyXTextClass): initialize floatlist_
10954 (TextClassTags): add TC_NOFLOAT
10955 (Read): match "nofloat" to TC_NOFLOAT and use it.
10956 (readFloat): modify call to floatlist_
10960 * FloatList.[Ch] (FloatList): remove commented out float
10962 (erase): new function
10964 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10966 * MenuBackend.C (expandToc): fix crash when there is no document
10969 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10971 * many files: Add insetwrap.
10973 2002-09-09 John Levon <levon@movementarian.org>
10975 * text2.C: remove confusing and awkward depth wraparound
10977 2002-09-09 John Levon <levon@movementarian.org>
10979 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10982 * buffer.C: remove getIncludeonlyList()
10985 * lyxfunc.C: remove headers
10987 2002-09-09 Juergen Vigna <jug@sad.it>
10989 * text.C (getColumnNearX): fix form Michael this is most
10990 probably a cut&paste bug.
10992 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10994 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10996 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10997 references, ws changes.
10999 * text2.C (init): update counters after init
11000 (insertParagraph): no need to set counter on idividual paragraphs.
11001 (setCounter): access the counters object in the textclass object
11002 on in the buffer object.
11003 (updateCounters): ditto
11005 * lyxtextclass.C: include counters.h, add variable ctrs_ as
11006 shared_ptr<Counters> to avoid loading counters.h in all
11008 (LyXTextClass): initialize ctrs_
11009 (TextClassTags): add TC_COUNTER, and ...
11010 (Read): use it here.
11011 (CounterTags): new tags
11012 (readCounter): new function
11013 (counters): new funtion
11014 (defaultLayoutName): return a const reference
11016 * counters.C (Counters): remove contructor
11017 (newCounter): remove a couple of unneeded statements.
11018 (newCounter): simplify a bit.
11019 (numberLabel): some small formatting changes.
11021 * buffer.[Ch]: remove all traces of counters, move the Counters
11022 object to the LyXTextClass.
11024 2002-09-06 Alain Castera <castera@in2p3.fr>
11026 * tabular.C: uses \tabularnewline; uses >{...} construct from array
11027 package to set the horizontal alignment on fixed width columns.
11030 * lyx_sty.h: added tabularnewline macro def.
11032 * LaTeXFeatures.C: added NeedTabularnewline macro feature
11034 2002-09-06 John Levon <levon@movementarian.org>
11036 * LyXAction.C: tooltips for sub/superscript
11038 * MenuBackend.C: a bit more verbose
11040 * lyxfunc.C: tiny clean
11042 * undo_funcs.C: document undo_frozen
11044 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
11046 * counters.C (Counters): add missing algorithm counter.
11048 * text2.C (setCounter): lookup the counter with layouts latexname
11049 instead of by section number.
11050 (setCounter): use a hackish way to lookup the correct enum
11052 a float name->type change
11053 reset enum couners with counter name directly instead of depth value.
11055 * counters.C (Counters): remove the push_backs, change to use the
11056 float type not the float name.
11057 (labelItem): remove unused string, float name->type change
11059 * counters.h: don't include vector, loose the enums and sects vectors
11061 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11063 * lyxtextclass.C (TextClassTags): add TC_FLOAT
11064 (Read): add float->TC_FLOAT to textclassTags
11065 (Read): and handle it in the switch
11066 (readFloat): new function
11068 * FloatList.C (FloatList): comment out the hardcoded float
11071 * lyxlayout.h: ws change.
11073 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
11075 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11077 2002-09-03 Angus Leeming <leeming@lyx.org>
11079 * BufferView_pimpl.h: qualified name is not allowed in member
11080 declaration: WorkArea & Pimpl::workarea() const;
11082 * factory.C: added using std::endl directive.
11084 * text3.C: added using std::find and std::vector directives.
11086 2002-08-29 André Pönitz <poenitz@gmx.net>
11089 * text2.C: remove unused member number_of_rows
11092 * BufferView2.C: remove file, move contents to...
11093 * BufferView.C: ... here
11095 * BufferView_pimpl.C:
11096 * factory.C: move more inset creation to factory
11098 * vspace.C: avoid direct usage of LyXText, ws changes
11101 don't provide direct access to WorkArea, use two simple
11102 acessors haveSelction() and workHeight() instead
11105 2002-08-29 John Levon <levon@movementarian.org>
11107 * BufferView_pimpl.C (dispatch): do not continue when
11110 2002-08-28 André Pönitz <poenitz@gmx.net>
11112 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11115 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11117 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
11119 * buffer.C: increment LYX_FORMAT to 221
11121 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11122 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11124 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11126 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11128 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11130 * factory.C (createInset): use LyXTextClass::floats
11132 * MenuBackend.C (expandFloatListInsert):
11133 (expandFloatInsert):
11136 * text2.C (setCounter):
11138 * LaTeXFeatures.C (useFloat):
11139 (getFloatDefinitions):
11141 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11143 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11144 floatlist_, with accessor floats().
11146 * FloatList.h: remove global FloatList
11148 2002-08-26 André Pönitz <poenitz@gmx.net>
11150 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11154 * BufferView_pimpl.C:
11155 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11157 2002-08-25 John Levon <levon@movementarian.org>
11159 * LyXAction.C: fix margin note description
11161 2002-08-24 John Levon <levon@movementarian.org>
11165 * bufferview_funcs.C:
11167 * undo_funcs.C: cleanups
11169 * lyxfunc.C: disable CUT/COPY when no selection
11171 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11173 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11174 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11176 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11177 Add backward compatibility to "mono", "gray" and "no".
11179 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11181 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11182 (and file_format >= 200).
11184 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11186 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11188 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11190 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11192 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11194 * BufferView_pimpl.C:
11201 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11202 inset and code to make it work with the paragraph code. The inset
11203 can be anywhere in the paragraph, but will only do the expected
11204 thing in LaTeX if the layout file contains the parameter line
11206 (or more generally, a nonzero value) for that layout.
11208 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11210 * paragraph.h: remove the declaration of undefined counters class
11213 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11215 * text2.C (setCounter): fixed enumeration mis-count as reported by
11216 Dr. Richard Hawkins.
11218 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11220 * paragraph_funcs.h: remove some unneeded includes
11222 * text.C (backspace): pasteParagraph now in global scipe
11224 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11225 (pasteSelection): ditto
11227 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11228 * paragraph_funcs.C (pasteParagraph): ... here
11230 2002-08-20 André Pönitz <poenitz@gmx.net>
11232 * commandtags.h: new LFUNs for swapping/copying table row/colums
11235 * lyxfunc.C: support for new lfuns
11237 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11240 * buffer.[Ch]: remove NO_COMPABILITY stuff
11242 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11244 * boost.C (throw_exception): new file, with helper function for
11245 boost compiled without exceptions.
11250 * ParameterStruct.h:
11251 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11253 * bufferlist.C (emergencyWriteAll): use boost bind
11255 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11257 * text.C: include paragraph_funcs.h
11258 (breakParagraph): breakParagraph is now in global scope
11260 * paragraph_funcs.[Ch]: new files
11262 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11265 * buffer.C: include paragraph_funcs.h
11266 (insertStringAsLines): breakParagraph is now in global scope
11268 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11271 * CutAndPaste.C: include paragraph_funcs.h
11272 (cutSelection): breakParagraphConservative is now in global scope
11273 (pasteSelection): ditto
11275 * buffer.h: declare oprator== and operator!= for
11276 Buffer::inset_iterator
11278 * bufferlist.C (emergencyWrite): don't use fmt(...)
11280 * text3.C: add using std::endl
11282 * BufferView.C (moveCursorUpdate): remove default arg
11284 2002-08-20 André Pönitz <poenitz@gmx.net>
11286 * buffer.[Ch]: move inline functions to .C
11289 * BufferView_pimpl.C:
11291 * buffer.[Ch]: use improved inset_iterator
11294 * paragraph.[Ch]: write one paragraph at a time
11296 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11298 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11299 style if style is not specified.
11301 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11303 * text2.C (setCounter): when searching for right label for a
11304 caption, make sure to recurse to parent insets (so that a caption
11305 in a minipage in a figure float works) (bug #568)
11307 2002-08-20 André Pönitz <poenitz@gmx.net>
11309 * text3.C: new file for LyXText::dispatch() and helpers
11311 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11313 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11315 2002-08-19 André Pönitz <poenitz@gmx.net>
11318 * text.C: new LyXText::dispatch()
11320 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11322 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11324 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11326 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11329 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11331 * Makefile.am: use $(variables) instead of @substitutions@
11333 2002-08-15 André Pönitz <poenitz@gmx.net>
11336 * BufferView_pimpl.C: streamlining mathed <-> outer world
11340 * LyXAction.C: remove unused LFUN_MATH
11342 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11344 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11346 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11348 * paragraph.C (Paragraph): reformat a bit
11349 (cutIntoMinibuffer): use builtin InsetList function instad of
11353 * buffer.C: include boost/bind.hpp, add using std::for_each
11354 (writeFileAscii): use ParagraphList iterators
11355 (validate): use for_each for validate traversal of paragraphs
11356 (getBibkeyList): use ParagraphList iterators
11357 (resizeInsets): use for_each to resizeInsetsLyXText for all
11359 (getParFromID): use ParagraphList iterators
11361 * BufferView2.C (lockInset): use paragraph list and iterators
11363 2002-08-14 John Levon <levon@movementarian.org>
11365 * lyxserver.C: remove spurious xforms include
11367 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11369 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11371 2002-08-13 André Pönitz <poenitz@gmx.net>
11374 * lyxfunc.C: further cleaning
11376 2002-08-13 André Pönitz <poenitz@gmx.net>
11378 * funcrequest.h: new constructor
11380 * funcrequest.C: move stuff here from .h
11383 * BufferView_pimpl.C:
11386 * lyxfunc.C: subsequent changes
11388 * lyxfunc.h: new view() member function
11390 * lyxfunc.C: subsequent changes
11392 2002-08-13 Angus Leeming <leeming@lyx.org>
11395 * BufferView_pimpl.C:
11403 changes due to the changed LyXView interface that now returns references
11404 to member variables not pointers.
11406 2002-08-13 Angus Leeming <leeming@lyx.org>
11408 * WordLangTuple (word, lang_code): return references to strings,
11413 * lyxtext.h: forward-declare WordLangTuple.
11418 * text.C: #include "WordLangTuple.h".
11421 * text.C: (selectNextWordToSpellcheck): constify return type.
11423 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11429 * paragraph_pimpl.h:
11432 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11433 suggested by Angus.
11434 Made updateCounter always count from start of buffer, and removed
11435 second argument (par).
11436 Reverted floats number display to '#'. Perhaps I'll try again when the
11437 code base is sanitized a bit.
11439 2002-08-12 Angus Leeming <leeming@lyx.org>
11441 * buffer.[Ch] (getLabelList): constify.
11443 2002-08-07 André Pönitz <poenitz@gmx.net>
11445 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11447 * funcrequest.h: extension to keep mouse (x,y) position
11449 2002-08-12 Juergen Vigna <jug@sad.it>
11451 * BufferView2.C (insertErrors): forbid undo when inserting error
11454 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11456 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11458 * ParagraphList.[Ch]: new files
11460 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11462 * BufferView2.C (lockInset): ParagraphList changes
11465 * bufferlist.C: ditto
11469 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11471 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11472 unused class variable counter_,
11474 * paragraph.[Ch] (getFirstCounter): delete unused function
11476 * counters.C: include LAssert.h
11477 (reset): add a new function with no arg, change other version to
11478 not have def. arg and to not allow empty arg.
11480 * text2.C (setCounter): remove empty arg from call to Counters::reset
11482 2002-08-11 John Levon <levon@movementarian.org>
11484 * Makefile.am: add WordLangTuple.h
11486 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11488 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11489 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11491 * insets/insettext.C: InsetList changes
11493 * graphics/GraphicsSupport.C (operator()): InsetList changes
11495 * toc.C (getTocList): InsetList changes
11497 * paragraph_pimpl.[Ch]: InsetList changes
11499 * paragraph.[Ch]: InsetList changes
11501 * buffer.C (inset_iterator): InsetList changes
11502 (setParagraph): ditto
11503 * buffer.h (inset_iterator): ditto
11504 * iterators.C (operator++): ditto
11505 * iterators.h: ditto
11507 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11509 * InsetList.[Ch]: new files, most InsetList handling moved out of
11512 * BufferView2.C (removeAutoInsets): InsetList changes
11514 (ChangeInsets): ditto
11516 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11518 * paragraph_pimpl.h (empty): new function
11520 * paragraph.[Ch] (empty): new function
11522 * other files: use the new Paragraph::empty function
11524 2002-08-09 John Levon <levon@movementarian.org>
11526 * lyxtext.h: remove unused refresh_height
11528 2002-08-09 John Levon <levon@movementarian.org>
11535 * paragraph.C: move sgml char escaping out of paragraph
11538 * paragraph.C: remove id setter
11542 * paragraph_pimpl.C: remove dead tex_code_break_column
11544 * bufferview_funcs.C: small cleanup
11546 * lyxfunc.C: remove dead proto
11548 * lyxtext.h: make some stuff private. Remove some dead stuff.
11550 * lyxgluelength.C: make as[LyX]String() readable
11552 2002-08-08 John Levon <levon@movementarian.org>
11557 * ToolbarDefaults.C:
11560 * toc.C: lyxaction cleanup
11562 2002-08-08 John Levon <levon@movementarian.org>
11564 * BufferView2.C: small cleanup
11567 * lyxfind.C: move unnecessary header into the .C
11569 2002-08-08 John Levon <levon@movementarian.org>
11571 * funcrequest.h: just tedious nonsense
11574 * lyx_main.C: cleanups
11577 * vspace.C: remove dead header lyx_main.h
11579 2002-08-07 Angus Leeming <leeming@lyx.org>
11582 * paragraph_pimpl.h:
11583 Forward declare class Counters in paragraph.h by moving the ctrs member
11584 variable into Paragraph::Pimpl.
11585 (counters): new method, returning a reference to pimpl_->ctrs.
11587 * text2.C: ensuing changes.
11589 2002-08-07 John Levon <levon@movementarian.org>
11591 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11593 * BufferView_pimpl.C: announce X selection on double/triple
11596 * lyx_main.C: use correct bool in batch dispatch
11598 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11600 2002-08-07 André Pönitz <poenitz@gmx.net>
11602 * funcrequest.h: new class to wrap a kb_action and its argument
11605 * BufferView_pimpl[Ch]:
11609 * lyxrc.C: subsequent changes
11612 2002-08-07 John Levon <levon@movementarian.org>
11614 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11615 document options change.
11617 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11622 * makefile.am: move counters functionality over from
11623 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11625 2002-08-06 John Levon <levon@movementarian.org>
11627 * WordLangTuple.h: new file for word + language code tuple
11638 * BufferView2.C: use WordLangTuple
11641 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11643 2002-08-06 John Levon <levon@movementarian.org>
11645 * lyx_main.C: fix cmdline batch handling
11647 2002-08-06 André Pönitz <poenitz@gmx.net>
11649 * lyxrc.C: set default for show_banner to true
11651 2002-08-06 John Levon <levon@movementarian.org>
11653 * pspell.C: fix a crash, and allow new aspell to work
11655 2002-08-06 John Levon <levon@movementarian.org>
11658 * kbmap.C: small cleanup
11661 * vspace.C: add const
11663 2002-08-05 John Levon <levon@movementarian.org>
11665 * LyXAction.C: back to tabular-insert
11667 2002-08-04 John Levon <levon@movementarian.org>
11670 * BufferView.C: cosmetic change
11672 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11682 * BufferView2.C: purge all "Lyx" not "LyX" strings
11685 * lyxcursor.C: attempt to add some documentation
11690 * ToolbarDefaults.C:
11691 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11692 merge with LFUN_TABULAR_INSERT
11699 * pspell.C: split up i/pspell implementations into separate
11700 files, many cleanups
11702 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11704 * text2.C: some cleanup
11706 * lyxfunc.C: don't check for isp_command == "none" any more, it
11707 didn't make any sense
11709 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11714 * makefile.am: move counters functionality over
11715 from text2.C/paragraph.[Ch] to counters.[Ch], and
11717 2002-08-02 John Levon <levon@movementarian.org>
11719 * buffer.C: s/lyxconvert/lyx2lyx/
11721 2002-08-02 Angus Leeming <leeming@lyx.org>
11723 * lyxlex.C: revert John's change as it breaks reading of the user
11726 2002-08-02 Angus Leeming <leeming@lyx.org>
11728 * importer.C (Import):
11729 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11730 changes due to LyXView::view() now returning a boost::shared_ptr.
11732 2002-08-02 John Levon <levon@movementarian.org>
11734 * lyxlex.C: small cleanup
11736 2002-08-02 John Levon <levon@movementarian.org>
11738 * text2.C (status): small cleanup, no logic change
11740 2002-08-01 John Levon <levon@movementarian.org>
11743 * buffer.C (writeFile): don't output alerts, caller
11747 * lyx_cb.C: from above
11749 * lyxfunc.C: allow to open non-existent files
11751 2002-07-31 John Levon <levon@movementarian.org>
11753 * lyxserver.C: don't let incidental errors get
11756 2002-07-30 John Levon <levon@movementarian.org>
11758 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11760 2002-07-30 John Levon <levon@movementarian.org>
11763 * lyxserver.C: remove I/O callback too
11765 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11767 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11770 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11772 * many files: strip,frontStrip -> trim,ltrim,rtrim
11774 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11776 * PrinterParams.h: remove extern containsOnly, and include
11777 support/lstrings.h instead.
11779 * LaTeX.C (scanAuxFile): modify because of strip changes
11781 * buffer.C (makeLaTeXFile): ditto
11782 * bufferparams.C (writeFile): ditt
11783 * lyxfont.C (stateText): ditto
11784 * lyxserver.C (read_ready): ditto
11785 * vc-backend.C (scanMaster): ditto
11787 * BufferView_pimpl.h: ws changes
11789 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11791 2002-07-26 André Pönitz <poenitz@gmx.net>
11793 * kb_sequence.C: remove unnedred usings
11795 2002-07-26 Juergen Vigna <jug@sad.it>
11797 * lyxfind.C (LyXReplace): we have to check better if the returned
11798 text is not of theLockingInset()->getLockingInset().
11800 2002-07-25 Juergen Vigna <jug@sad.it>
11802 * lyxfind.C (LyXReplace): don't replace if we don't get the
11805 * undo_funcs.C (createUndo): remove debugging code.
11807 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11809 * buffer.C (parseSingleLyXformat2Token): Use default placement
11810 when reading old floats.
11812 * FloatList.C (FloatList): Change the default placement of figure
11813 and tables to "tbp".
11815 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11817 * MenuBackend.C: using std::max
11819 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11821 * MenuBackend.C (expandToc):
11822 (expandToc2): code moved from xforms menu frontend. It is now
11823 generic and TOCs are transparent to menu frontends.
11825 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11827 * toc.C (getTocList): protect against buf=0
11829 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11830 Menu as first parameter. Now, this calls itself recursively to
11831 expand a whole tree (this will be useful for TOC handling)
11832 (expandFloatInsert): remove 'wide' version of floats
11834 * MenuBackend.h (submenuname): returns the name of the submenu.
11835 (submenu): returns the submenu itself, provided it has been
11836 created by MenuBackend::expand
11838 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11840 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11841 insets which have noFontChange == true. (bug #172)
11843 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11845 * BufferView_pimpl.C: add connection objects and use them...
11848 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11850 * MenuBackend.C (expandLastfiles):
11853 (expandFloatListInsert):
11854 (expandFloatInsert):
11855 (expand): split expand in parts
11857 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11859 * lyx_gui.C: use lyx_gui::exit()
11861 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11863 * LyXAction.C: show the failing pseudo action
11865 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11867 * buffer.C (readFile): Run the lyxconvert script in order to read
11870 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11874 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11876 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11880 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11882 2002-07-22 Herbert Voss <voss@lyx.org>
11885 * lyxlength.[Ch]: add support for the vertical lengths
11887 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11889 * toc.[Ch]: std:: fixes
11891 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11893 * lyxrc.C: do not include lyx_main.h
11895 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11901 * BufferView2.C: include "lyxlex.h"
11904 * bufferparams.h: do not #include "lyxlex.h"
11906 * lyxtextclasslist.C (Add): remove method
11907 (classlist): renamed to classlist_
11909 * paragraph_pimpl.C:
11913 * bufferview_funcs.C:
11918 * toc.C (getTocList): use BufferParams::getLyXTextClass
11920 * toc.C (getTocList): use InsetFloat::addToToc
11922 * toc.[Ch]: new files, containing helper functions to handle table
11925 * lyxfunc.C (dispatch): no need to remove spaces around command
11927 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11928 first command of the sequence; it is not very clever, but I do not
11929 have a better idea, actually
11931 * LyXAction.C (LookupFunc): make sure to remove space at the
11932 beginning and end of the command
11934 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11936 * MenuBackend.C (getMenubar): new method: return the menubar of
11938 (read): treat differently reading of menu and menubar (in
11939 particular, the menubar has no name now)
11940 (Menu::menubar): remove
11942 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11945 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11947 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11948 a bibitem inset in a RTL paragraph.
11950 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11952 * paragraph_pimpl.C: constify
11954 * BufferView_pimpl.C:
11956 * lyxfunc.C: fix dispatch in a nicer way
11958 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11960 * lyxfunc.C (dispatch):
11961 * BufferView_pimpl.C:
11962 * BufferView_pimpl.h:
11964 * BufferView.h: rename Dispatch() to dispatch()
11966 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11968 * lyxlayout.C (Read): honor DependsOn tag
11970 * lyxlayout.[Ch] (depends_on): new method
11972 * version.C.in: update lyx_docversion
11974 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11976 * paragraph.C (validate): remove from here...
11977 * paragraph_pimpl.C (validate): ... and move here
11978 (isTextAt): make it const
11980 * buffer.C (getLists): ws cleanup
11982 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11984 * language.C (read): Use iso8859-1 encoding in latex_lang
11985 (this prevents LyX from crashing when using iso10646-1 encoding).
11987 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11989 * text2.C (toggleInset): if cursor is inside an inset, close the
11990 inset and leave cursor _after_ it
11992 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11994 * lyxfunc.C: move minibuffer completion handling out of here
11996 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11998 * BufferView_pimpl.C:
11999 * LaTeX.C: fix dispatch calls
12001 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
12003 * text.C (drawChars): Fix Arabic text rendering.
12005 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
12009 * lyxfunc.C: remove message-push/pop
12013 * lyxfunc.C: rationalise some code by removing verboseDispatch
12014 in favour of a bool argument to dispatch()
12016 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12018 * lyx_main.C (init): make sure to read symlinks as absolute paths
12020 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12023 * lyxfunc.C: no need for commandshortcut to be a member
12025 2002-07-15 André Pönitz <poenitz@gmx.net>
12027 * converter.C: add support for $$s (scripts from lib/scripts dir)
12028 * lyx_main.C: white space
12030 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12034 * lyxrc.C: remove second exit confirmation
12036 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
12041 * BufferView_pimpl.h:
12042 * BufferView_pimpl.C:
12043 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12045 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12047 * MenuBackend.C (expand): add numeric shortcuts to document menu
12049 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12051 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12053 * lyxfont.C (setLyXFamily):
12060 * buffer.C (asciiParagraph): use ascii_lowercase
12062 2002-07-15 Mike Fabian <mfabian@suse.de>
12064 * lyxlex_pimpl.C (search_kw):
12065 * lyxlex.C (getLongString):
12066 * converter.h (operator<):
12067 * converter.C (operator<):
12068 * buffer.C (parseSingleLyXformat2Token):
12070 * ToolbarDefaults.C (read):
12071 * MenuBackend.C (checkShortcuts):
12073 * LColor.C (getFromGUIName):
12074 (getFromLyXName): use the compare_ascii_no_case instead of
12075 compare_no_case, because in turkish, 'i' is not the lowercase
12076 version of 'I', and thus turkish locale breaks parsing of tags.
12078 2002-07-16 Angus Leeming <leeming@lyx.org>
12080 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12081 now takes a Buffer const & argument.
12083 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
12085 * BufferView.C (resize): check there's a buffer to resize
12087 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
12089 * lyxfunc.C: remove dead code
12092 * lyxserver.C: use lyx_guii::set_read_callback
12094 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
12096 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12097 an inset in a RTL paragraph.
12099 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12101 * lyxfunc.C: repaint after a font size update
12103 2002-07-15 André Pönitz <poenitz@gmx.net>
12105 * lyxlength.C: inBP should be able to return negative values
12107 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12109 * lyxfunc.C: use lyx_gui::update_fonts()
12111 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
12113 * lyxfunc.C: use lyx_gui::update_color()
12115 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12121 * lyxrc.C: remove file->new asks for name option, and let
12122 buffer-new take an argument
12124 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
12126 * BufferView_pimpl.C: remove unneeded extra repaint()
12128 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
12130 * LyXAction.C: allow command-sequence with NoBuffer
12132 * lyxfunc.C: don't insist on trailing ';' for command-sequence
12134 2002-07-10 Angus Leeming <leeming@lyx.org>
12136 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12138 2002-07-09 Angus Leeming <leeming@lyx.org>
12140 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12142 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12144 * lengthcommon.h: whitespace
12146 * lyxfunc.C: update scrollbar after goto paragraph
12148 * lyxtext.h: factor out page break drawing, and fix it so
12149 page break/added space paints as selected nicely
12151 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
12153 * BufferView_pimpl.C: add FIXMEs, clean up a little
12155 2002-07-09 André Pönitz <poenitz@gmx.net>
12157 * lyxfont.[Ch]: support for wasy symbols
12159 2002-07-08 André Pönitz <poenitz@gmx.net>
12161 * BufferView_pimpl.C: apply John's patch for #93.
12163 2002-07-05 Angus Leeming <leeming@lyx.org>
12165 * BufferView_pimpl.C (buffer): generate previews if desired.
12167 * LColor.h: add "preview" to the color enum.
12169 * LColor.C (LColor): add a corresponding entry to the items array.
12171 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12174 2002-07-05 Angus Leeming <leeming@lyx.org>
12176 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12177 The body of the code is now in the method that is passed an ostream &
12178 rather than a file name.
12179 Pass an additional only_preamble parameter, useful for the forthcoming
12182 2002-07-03 André Pönitz <poenitz@gmx.net>
12184 * lyxfunc.C: simplify getStatus() a bit for math stuff
12186 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12188 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12190 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12192 * text.C (changeRegionCase): do not change case of all the
12193 document when region ends at paragraph end (bug #461)
12195 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12197 * paragraph.C (startTeXParParams):
12198 (endTeXParParams): add \protect when necessary
12200 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12202 * BufferView_pimpl.C (workAreaExpose): remove warning
12204 2002-06-27 Angus Leeming <leeming@lyx.org>
12206 * Makefile.am: add lyxlayout_ptr_fwd.h.
12208 2002-06-26 André Pönitz <poenitz@gmx.net>
12210 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12212 2002-06-25 Angus Leeming <leeming@lyx.org>
12214 * lyxfunc.C (dispatch): Comment out the call to
12215 grfx::GCache::changeDisplay. The method no longer exists now that the
12216 pixmap generation part of the graphics loader has been moved into
12219 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12221 * text2.C: layout as layout
12223 * text.C: layout as layout
12225 * tabular.C (OldFormatRead): layout as layout
12227 * paragraph_pimpl.C (TeXDeeper): layout as layout
12228 (realizeFont): layout as layout
12230 * paragraph.C (writeFile): layout as layout
12231 (validate): layout as layout
12232 (getFont): layout as layout
12233 (getLabelFont): layout as layout
12234 (getLayoutFont): layout as layout
12235 (breakParagraph): layout as layout
12236 (stripLeadingSpaces): layout as layout
12237 (getEndLabel): layout as layout
12238 (getMaxDepthAfter): layout as layout
12239 (applyLayout): layout as layout
12240 (TeXOnePar): layout as layout
12241 (simpleTeXOnePar): layout as layout
12242 (TeXEnvironment): layout as layout
12243 (layout): layout as layout
12244 (layout): layout as layout
12246 * lyxtextclass.C (compare_name): new functor to work with
12247 shared_ptr, layout as layout
12248 (Read): layout as layout
12249 (hasLayout): layout as layout
12250 (operator): layout as layout
12251 (delete_layout): layout as layout
12252 (defaultLayout): layout as layout
12254 * lyxlayout_ptr_fwd.h: new file
12256 * lyxlayout.C (Read): layout as layout
12258 * lyx_cb.C (MenuInsertLabel): layout as layout
12260 * bufferlist.C (newFile): layout as layout
12262 * buffer.C (readLyXformat2): layout as layout
12263 (parseSingleLyXformat2Token): layout as layout
12264 (insertStringAsLines): layout as layout
12265 (asciiParagraph): layout as layout
12266 (latexParagraphs): layout as layout
12267 (makeLinuxDocFile): layout as layout
12268 (simpleLinuxDocOnePar): layout as layout
12269 (makeDocBookFile): layout as layout
12270 (simpleDocBookOnePar): layout as layout
12271 (getLists): layout as layout
12273 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12275 * CutAndPaste.C (cutSelection): layout as layout
12276 (pasteSelection): layout as layout
12277 (SwitchLayoutsBetweenClasses): layout as layout
12279 * BufferView_pimpl.C (Dispatch): layout as layout
12280 (smartQuote): layout as layout
12282 * BufferView2.C (unlockInset): layout as layout
12284 2002-06-24 André Pönitz <poenitz@gmx.net>
12286 * lyxfunc.C: fix #487
12288 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12292 * lyxfunc.C: remove display_shortcuts, show_banner
12294 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12296 * Buffer_pimpl.C: oops, update on resize
12298 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12305 * BufferView.C: use repaint()
12307 * BufferView_pimpl.h:
12308 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12309 as it's a clearer description. Remove superfluous
12312 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12314 * text.C: fix bug 488. Not ideal, but getting
12315 getWord() to work properly for the insets that
12316 matter is more difficult ...
12318 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12320 * BufferView_pimpl.C:
12323 * lyxfunc.C: remove the six million index lyxfuncs to just
12324 one, and DTRT (bug 458)
12326 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12330 * BufferView_pimpl.h:
12331 * BufferView_pimpl.C: clean up resize() stuff,
12332 and unnecessary updateScreen()s
12334 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12338 * BufferView_pimpl.h:
12339 * BufferView_pimpl.C:
12342 * minibuffer.C: remove focus management of workarea,
12343 not needed. Use screen's greyOut()
12345 2002-06-17 Herbert Voss <voss@lyx.org>
12347 * converter.C: (convert) do not post a message, when converting
12348 fails, let the calling function decide what to do in this case
12350 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12352 * lyxfunc.C: tidy up a little
12354 2002-06-16 <alstrup@diku.dk>
12356 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12357 Got rid of FORMS_H_LOCATION include. Now we are
12360 2002-06-15 LyX Development team <lyx@rilke>
12362 * buffer.[Ch] (sgmlOpenTag):
12363 (sgmlCloseTag): Added support for avoiding pernicious mixed
12364 content. Return number of lines written.
12366 (makeLinuxDocFile):
12367 (makeDocBookFile): Fixed calls to sgml*Tag.
12368 Simple white space clean.
12370 (simpleDocBookOnePar): Simple white space clean.
12372 * tabular.[Ch] (docBook): Renamed to docbook and got another
12373 argument to related with the pernicious mixed content.
12375 (docbookRow): Fixed calls for docbook inset method.
12377 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12379 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12380 so it's X11 independent.
12384 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12386 2002-06-15 Lyx Development team <lyx@electronia>
12388 * intl.h: Renamed getTrans to getTransManager.
12390 2002-06-14 Angus Leeming <leeming@lyx.org>
12392 * Makefile.am: nuke forgotten stl_string_fwd.h.
12394 2002-06-12 Angus Leeming <leeming@lyx.org>
12396 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12398 2002-06-13 Angus Leeming <leeming@lyx.org>
12401 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12403 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12405 * kbmap.C (getiso): add support for cyrillic and greek
12407 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12411 * BufferView_pimpl.h:
12412 * BufferView_pimpl.C: move bogus scrolling logic
12415 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12418 * BufferView_pimpl.C: view->resize() change
12420 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12422 * BufferView_pimpl.C: topCursorVisible
12425 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12429 * lyx_gui.C: move to frontends/
12433 * lyx_main.C: changes from above
12435 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12442 * lyx_main.C: minor tidy
12444 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12446 * BufferView_pimpl.h:
12447 * BufferView_pimpl.C:
12449 * BufferView.C: make painter() const,
12452 * BufferView2.C: use screen() accessor
12455 * lyx_main.C: some minor cleanup
12457 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12459 * BufferView_pimpl.h:
12460 * BufferView_pimpl.C: remove enter/leaveView,
12463 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12468 * BufferView_pimpl.h:
12469 * BufferView_pimpl.C: only construct screen once,
12472 * lyxrc.C: remove pointless comment
12474 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12477 * BufferView.C: remove active() and belowMouse()
12479 * BufferView_pimpl.h:
12480 * BufferView_pimpl.C: use workarea() not workarea_,
12481 and make it use a scoped_ptr instead
12483 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12485 * lyx_gui.C: add debug message on BadWindow
12487 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12489 * sp_spell.C: fdopen is not part of the C++ standard.
12491 * paragraph.C (InsetIterator): use >= instead of ==
12493 2002-06-07 Angus Leeming <leeming@lyx.org>
12495 Fixes needed to compile with Compaq cxx 6.5.
12496 * BufferView_pimpl.C:
12503 * lyxtextclasslist.C:
12508 all c-library variables have been moved into namespace std. Wrap
12509 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12514 Add a using std::abs declaration.
12516 * kbmap.h (modifier_pair):
12517 * paragraph.h (InsetTable, InsetList):
12518 * lyxfont.h (FontBits):
12519 type definition made public.
12521 * bufferlist.C (emergencyWriteAll): the compiler complains that
12522 there is more than one possible lyx::class_fun template to choose from.
12523 I re-named the void specialisation as lyx::void_class_fun.
12525 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12527 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12528 the compiler is is unable to find tostr in write_attribute.
12530 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12532 * buffer.C (sgmlError): hide #warning
12534 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12536 * xtl/*: get rid of xtl, which is not in use anyway
12538 * LyXAction.C (init):
12539 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12540 were unimplemented xtl experimentation
12542 2002-06-04 André Pönitz <poenitz@gmx.net>
12544 * lyxfunc.C: disable array operation on simple formulae
12546 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12548 * converter.C: constify a bit
12550 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12552 * lyx_gui.C: check xforms version correctly
12554 2002-04-30 Herbert Voss <voss@lyx.org>
12556 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12559 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12561 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12562 attempt to register it with a VCS)
12564 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12566 * lyx_main.C (init): honor variables LYX_DIR_13x and
12569 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12573 * lyx_main.C: fix a crash on bad command line,
12574 and give a useful exit status on error
12576 * lyxfunc.C (doImport): allow -i lyx to work
12578 2002-03-30 André Pönitz <poenitz@gmx.net>
12580 * lyxfunc.C: mathed font changes
12582 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12597 * trans_mgr.h: srcdocs, and some minor cleanups
12599 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12601 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12602 call getFont all the time)
12604 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12606 * switch from SigC signals to boost::signals
12608 2002-05-29 André Pönitz <poenitz@gmx.net>
12610 * paragraph_pimpl.C (getChar): don't call size() too often...
12612 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12614 * paragraph_pimpl.C (insertChar): do not try to update tables when
12615 appending (pos == size())
12617 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12618 in order to reduce drastically the number of comparisons needed to
12619 parse a large document
12621 2002-05-29 André Pönitz <poenitz@gmx.net>
12627 * textclasslist.[Ch]:
12628 * sp_ispell.h: whitespace change
12630 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12632 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12633 lyxaction directly now.
12635 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12639 * lyxvc.C: remove unused headers
12641 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12648 * undo_funcs.C: some cleanups. Use shared_ptr
12649 and a template for the undo stacks.
12651 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12653 * BufferView_pimpl.h:
12654 * BufferView_pimpl.C:
12661 * text2.C: use key_state/mouse_state
12663 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12665 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12668 * chset.C: change include order
12669 (loadFile): use boost regex and get rid of LRegex and LSubstring
12671 * Makefile.am (BOOST_LIBS): new variable
12672 (lyx_LDADD): use it
12674 * LaTeX.C: change include order.
12675 (scanAuxFile): use boost regex and get rid of LRegex and
12679 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12684 * FontInfo.C: moved to frontends/xforms/
12687 * FontLoader.C: moved into frontends for GUIIzation
12692 * lyxfunc.C: changes from above
12694 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12696 * LColor.C: remove spurious X include
12698 * BufferView_pimpl.C:
12703 * text2.C: move font metrics to frontends/
12705 2002-05-24 Juergen Vigna <jug@sad.it>
12707 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12708 setting the undo_cursor.
12710 * ParagraphParameters.h: include local includes first.
12712 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12714 * BufferView_pimpl.C:
12715 * BufferView_pimpl.h:
12719 * screen.C: move WorkArea into frontends/
12725 * BufferView2.C: move LyXScreen into frontends/
12729 * lyx_gui.C: move lyxlookup into frontends/xforms/
12731 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12734 * BufferView_pimpl.C:
12744 * bufferview_funcs.C:
12757 * vc-backend.C: move LyX/XFormsView into frontends/
12759 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12771 * text2.C: move Painter to frontends/
12773 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12775 * buffer.C: comment out some some code that depend upon lyx_format
12778 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12779 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12781 * buffer.h (NO_COMPABILITY): turn off compability
12783 * ColorHandler.C: include scoped_array.hpp
12785 * font.C: Use more specific smart_ptr header.
12788 * ShareContainer.h: ditto
12789 * lyx_main.h: ditto
12791 * FontInfo.h: ditto
12792 * BufferView_pimpl.h: ditto
12793 * ColorHandler.h: ditto
12795 * kbmap.C (defkey): change call to shared_ptr::reset
12797 2002-05-21 Juergen Vigna <jug@sad.it>
12799 * buffer.C (insertErtContents): fix to insert ert asis if it is
12800 non empty. Skip it completely if it contains only whitespaces.
12802 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12804 * BufferView_pimpl.C:
12805 * BufferView2.C: clear selection on paste (bug 393)
12807 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12809 * DepTable.C: include ctime
12811 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12813 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12815 2002-05-14 Juergen Vigna <jug@sad.it>
12817 * text.C (breakParagraph): fixed function to honor the keepempty
12818 layout in the right maner and also to permit the right breaking
12819 algorithm on empty or non empyt keepempty paragraphs.
12821 * paragraph.C (breakParagraph): we have to check also if the par
12822 is really empty (!size()) for isempty otherwise we do the wrong
12825 2002-05-10 Juergen Vigna <jug@sad.it>
12827 * buffer.[Ch] : The following are only changes to the ert
12828 compatibility read reading old LaTeX layout and font stuff and
12829 convert it to ERTInsets.
12831 * buffer.h: added isErtInset().
12833 * buffer.C (struct ErtComp): add a fromlayout bool to check
12834 if we're inside a LaTeX layout.
12835 (isErtInset): new helper function.
12836 (insertErtContents): look for other ert insets before this one
12837 and insert the contents there, so that we don't have subsequent
12838 ERT insets with nothing between them. This way we create only one
12839 inset with multiple paragraphs. Also check if we don't insert only
12840 spaces ' ' as they are ignored anyway afterwards in the .tex file
12841 so if we have only spaces we will ignore this latex part in the
12843 (parseSingleLyXformat2Token \\layout): better compatibility when
12844 reading layout-latex stuff.
12845 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12847 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12848 stuff after reading the inset only get the information back from
12851 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12853 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12855 * LaTeXFeatures.C (getBabelOptions): New method.
12857 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12859 * BufferView_pimpl.C (Dispatch): work around missing argument for
12862 2002-05-08 Juergen Vigna <jug@sad.it>
12864 * text.C (leftMargin): handle paragraph leftindent.
12866 * paragraph.C (writeFile): write the new \\leftindent tag.
12867 (validate): handle leftindent code.
12868 (TeXEnvironment): handle paragraphleftindent code again.
12870 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12872 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12873 for paragrap_extra indent code and new token \\leftindent.
12874 (latexParagraphs): handle the leftindent as environment.
12876 * ParameterStruct.h: added leftindent support.
12878 * ParagraphParameters.C (leftIndent): added support functions for
12879 the paragraph left indent.
12881 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12884 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12886 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12889 * text.C (computeBidiTables): No bidi in insetERT.
12891 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12894 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12896 * version.C.in: pre 5
12898 2002-05-02 José Matos <jamatos@fep.up.pt>
12899 * buffer.C (makeDocBookFile): white space changes, add newline to
12901 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12903 * tabular.C (docBook): fix typo.
12905 2002-05-03 Juergen Vigna <jug@sad.it>
12907 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12908 change in LyXText as we can not be sure it was not freed.
12909 (drawOneRow): remove unused code.
12911 * text.C (drawInset): redo the calculation of the need_break_row as
12912 it could have a row which was already freed.
12913 (draw): look at the return value of drawInset and return false if
12914 it also returned false.
12915 (paintRowText): look at the return value of draw and return false if
12916 it also returned false.
12918 * lyxtext.h: added bool return type to drawInset() and draw() so that
12919 if we have a change in the row so that the rowbreak has to be redone
12920 we abort drawing as it will be called again.
12922 2002-05-02 Juergen Vigna <jug@sad.it>
12924 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12925 a change in the maintext also if we're inside an inset.
12926 (Dispatch): set the cursor again after a break line and after the
12927 screen has been updated as it could be we're in a different row.
12929 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12930 to set the cursor behind the pargraph with > size().
12931 (setCursor): check also for the same paragraph when checking where
12932 to put the cursor if we have a NFR inset.
12934 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12935 parts of layout read further up as it still was in the wrong
12938 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12940 * screen.C (drawFromTo): change sine fullRebreak always return
12943 * buffer.C (parseSingleLyXformat2Token): reindent some
12945 * BufferView_pimpl.C (update): change since fullRebreak always
12947 (Dispatch): git rid of the last hardcoded "Standard"s.
12949 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12951 * text2.[Ch] (fullRebreak): make it return void now that we always
12954 2002-04-30 Juergen Vigna <jug@sad.it>
12956 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12957 ert compatibility check for "latex" layout.
12959 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12961 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12962 minipages: use col% instead of p%, and also use the current font.
12963 (makeLaTeXFile): Fix use babel condition.
12964 (parseSingleLyXformat2Token): Correct font when reading old floats.
12966 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12968 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12969 inserting list of floats.
12971 2002-04-25 Herbert Voss <voss@lyx.org>
12973 * MenuBackend.C (expand): don't add the graphics extensions to the
12976 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12978 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12979 non-existing layout, do not complain if it was the default layout
12980 of the original class (bug #342)
12982 2002-04-24 Juergen Vigna <jug@sad.it>
12984 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12985 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12987 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12989 * buffer.C (getBibkeyList): If using \bibliography, return the
12990 option field with the reference itself. Enables us to provide natbib
12991 support when using \bibliography.
12993 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12995 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12997 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12998 natbib is provided by the LaTeX class.
13000 2002-04-23 Juergen Vigna <jug@sad.it>
13002 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13005 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13007 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13009 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13011 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13012 ensuremath around textordmasculine, textordfeminine and
13015 2002-04-19 Juergen Vigna <jug@sad.it>
13017 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13018 reinitializing the buffer otherwise row-dimensions may be wrong.
13019 (update): reset also the selection cursors if they do exits otherwise
13020 their x/y positions may be wrong.
13022 * text2.C (cursorDown): don't enter the inset if we came from a row
13023 above and are one row over the inset.
13025 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13026 really leaving an inset.
13028 2002-04-18 Juergen Vigna <jug@sad.it>
13030 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13031 of the selected paragraph does not have the selected layout also if
13034 * text2.C (setLayout): fixed bug which did not change last selected
13037 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13038 changed the read and substituted \\end_float with \\end_inset!
13040 * BufferView_pimpl.C (cursorPrevious):
13041 (cursorNext): fixed to make it work with rows heigher than the work
13042 area without moving the cursor only the draw of the row.
13043 (workAreaMotionNotify): fix jumping over high rows.
13045 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13047 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13050 2002-04-16 Juergen Vigna <jug@sad.it>
13052 * text2.C (setCursor): set also the irow().
13053 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13055 (cursorDown): support for locking an inset if the x_fix value goes
13056 inside it. That way I can transverse insets too with cursor up/down.
13058 * lyxrow.h: added irow helper function same as other (i) functions.
13060 * BufferView_pimpl.C (cursorPrevious):
13061 (cursorNext): fixed for insets!
13063 2002-04-15 Juergen Vigna <jug@sad.it>
13065 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13066 position otherwise it is wrong in some cases.
13068 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13069 inside the inset before the call.
13071 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
13073 * buffer.[Ch] (getBibkeyList): make it const.
13075 2002-04-12 Juergen Vigna <jug@sad.it>
13077 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13079 * text2.C (getCursorX): new helper function
13080 (setCursor): compute also ix_
13081 (setCursorFromCoordinates): set also ix.
13083 * lyxcursor.h: added ix_ and helper functions.
13085 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13087 * buffer.C (insertStringAsLines): dont break paragraph if the this
13088 paragraph is inside an inset which does not permit it!
13090 * text.C (breakParagraph): honor keepempty flag and break the paragraph
13091 also with no chars on this paragraph.
13092 (paintRowText): only paint stuff if it's inside the workarea!
13094 * paragraph.C (breakParagraph): honor keepempty flag and break the
13095 paragraph always below not above.
13097 * BufferView2.C (unlockInset): update the paragraph layout on inset
13098 unlock as we changed paragraph in such a case.
13100 * lyxfind.C (LyXFind): clear the former selection if not found!
13102 * text2.C (insertInset): freeze Undo after setUndo so that it is not
13103 again called in insertChar().
13105 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13106 an inset which uses the whole row!
13107 (rightMargin): ditto.
13108 (insertChar): force a rebreak if we inserted an inset!
13110 2002-03-28 Herbert Voss <voss@lyx.org>
13112 * lyxlength.[Ch]: add inBP() to get the right PS-point
13113 units (BigPoint). With inPixels we have rounding errors
13115 2002-04-11 Juergen Vigna <jug@sad.it>
13117 * text2.C (setCursorFromCoordinates): set iy to the right value.
13118 (setCursor): add check if row->previous exists!
13120 * buffer.C (parseSingleLyXformat2Token): reset font after read of
13121 an old float_type as this was the case in the old code!
13123 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13125 * BufferView2.C (showLockedInsetCursor): use iy
13126 (fitLockedInsetCursor): ditto
13128 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13129 locked insets as there we have the right value now.
13131 * lyxcursor.C: added iy_ variable and iy functions to set to the
13132 baseline of cursor-y of the locked inset.
13134 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13135 (setCursor): fixed for insets which need a full row.
13137 * text.C (rowLastPrintable): don't ignore the last space when before
13138 an inset which needs a full row.
13139 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13140 as last character of a row when before a inset which needs a full row.
13142 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13144 * version.C.in: update date
13146 * text2.C (fullRebreak): try to always return true and see what
13149 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13151 * MenuBackend.C (expand): use Floating::listName
13153 * FloatList.C (FloatList): add listName argument to the built-in
13156 * Floating.[Ch]: add listName member, which is the 'List of XXX'
13157 text associated with the float.
13159 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13161 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13163 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13165 * ShareContainer.h: add a couple of missing typenames.
13167 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13169 * lyxrc.C (getDescription): use _() correctly rather than N_().
13171 2002-03-28 Herbert Voss <voss@lyx.org>
13173 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13174 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13176 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13178 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13179 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13181 2002-03-29 Juergen Vigna <jug@sad.it>
13183 * lyxfunc.C (dispatch): add a missing fitCursor call.
13185 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13186 it was scrolled by a cursor move, so return the bool status.
13188 * BufferView.C (fitCursor): return the bool flag also to the outside
13189 world as this is needed.
13191 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13193 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13194 call the edit() as it is not needed (and wrong) IMO.
13195 (workAreaButtonPress): set the screen_first variable before evt.
13196 unlock the inset as this may change screen_first and then we have
13197 a wrong y position for the click!
13199 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13201 * MenuBackend.C (expand): another translation that I missed
13203 2002-03-28 Juergen Vigna <jug@sad.it>
13205 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13207 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13209 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13211 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13213 * MenuBackend.C (expand): fix export/view/update when there is no
13216 2002-03-27 Herbert Voss <voss@lyx.org>
13218 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13221 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13223 * bufferview_funcs.C (currentState): only show paragraph number
13224 for is DEVEL_VERSION is set.
13226 * lyxfunc.C (dispatch): put warning in INFO channel
13228 * MenuBackend.C (expand): translate the name of floats
13230 * FloatList.C (FloatList): mark the float names for translation
13232 * converter.C (convert): use LibScriptSearch
13234 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13236 * MenuBackend.C (defaults): fix default menu (we might as well get
13239 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13241 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13244 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13246 * lyxvc.C: reorder includes.
13248 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13250 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13253 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13255 * CutAndPaste.C: change layouts earlier on paste
13256 to avoid crashing when calling getFont()
13258 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13260 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13263 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13265 * WorkArea.C: remove 'Pending' debug message.
13267 * most files: ws cleanup
13269 * buffer.[Ch]: ws changes
13271 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13273 2002-03-21 Juergen Vigna <jug@sad.it>
13275 * tabular.C (SetMultiColumn): collapse also the contents of the
13276 cells and set the last border right. Added a Buffer const * param.
13278 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13280 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13283 2002-03-19 Juergen Vigna <jug@sad.it>
13285 * text2.C (clearSelection): reset also xsel_cache.
13287 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13288 where it needs to be called (John tells us to do so too :)
13289 (selectionLost): reset sel_cache.
13291 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13293 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13295 * text2.C (setCursorIntern): put debuging code in INSETS channel
13297 2002-03-19 André Pönitz <poenitz@gmx.net>
13299 * lyxfunc.C: tiny whitespace change
13301 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13303 * ToolbarDefaults.C (init):
13304 * LyXAction.C (init):
13306 * BufferView_pimpl.C (Dispatch):
13307 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13309 2002-03-19 Allan Rae <rae@lyx.org>
13311 * exporter.C (Export): removeAutoInsets before doing anything else.
13312 While I've just introduced a dependency on BufferView this really is
13313 the best place to clean the buffer otherwise you need to cleanup in
13314 a dozen places before calling export or cleanup in a dozen functions
13317 * converter.C (runLaTeX):
13318 (scanLog): Better handling of removeAutoInsets and screen updates.
13320 * lyxfunc.C (dispatch): small whitespace changes
13322 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13324 * WorkArea.C (C_WorkAreaEvent): return a value.
13325 (event_cb): return 1 if we handled the event, 0 otherwise.
13327 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13329 2002-03-18 Juergen Vigna <jug@sad.it>
13331 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13332 (GetAdditionalWidth): ditto.
13333 (RightLine): ditto.
13336 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13337 inset if we're there actually (probably not used right now but this
13338 is the direction to go for unifying code).
13339 (paste): disable code to clear the selection.
13341 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13342 inside an InsetText and move the check further up as it is in the
13345 * text2.C (pasteSelection): set a selection over the pasted text.
13347 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13349 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13350 and libgraphics to build on Cygwin.
13352 2002-03-15 Juergen Vigna <jug@sad.it>
13354 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13355 inserting an Inset into the paragraph. I know this is not the best
13356 fix but we already use current_view in CutAndPaste so we will remove
13357 all of it's using at the same time.
13359 * buffer.C (sgmlError): deactivated function till it is rewritten in
13360 the right mode, now it can create problems.
13362 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13363 before accessing it.
13365 2002-03-14 Juergen Vigna <jug@sad.it>
13367 * undo_funcs.C (textHandleUndo): do the right thing when updating
13368 the inset after the undo/redo.
13370 * text2.C (setCursor): just some testcode for #44 not ready yet.
13372 * undo_funcs.C (textHandleUndo): set the next() and previous()
13373 pointers of the paragraph to 0 before deleting otherwise we have
13374 problems with the Paragraph::[destructor].
13376 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13377 on a paragraph insertion.
13379 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13381 * buffer.C (asciiParagraph): use += operator for char append to
13384 * paragraph.C (getFontSettings): compare >= not just >
13385 (highestFontInRange): ditto
13388 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13390 * paragraph.C: change several algorithm to be more appripriate for
13391 the problem domain. This is lookip in FontList and in the InsetList.
13393 2002-03-13 André Pönitz <poenitz@gmx.net>
13396 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13398 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13403 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13405 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13407 * Painter.C (display): anon helper function, adjust code for this
13409 (pixmap): remove function.
13411 * Painter.h: remove private display variable.
13413 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13415 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13417 * WorkArea.[Ch]: remove figinset_canvas cruft.
13419 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13421 * lyxtextclass.C (operator): add one item cache optimization.
13423 * bufferlist.h: doxy changes
13425 * bufferlist.C: ws changes
13427 * DepTable.[Ch] (ext_exist): place const in the right spot.
13429 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13431 (workAreaExpose): call resizeInsets when the with BufferView changes.
13432 (Dispatch): adjust for protectedBlank removal
13433 (specialChar): call updateInset if the insert went ok.
13435 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13436 specialChar instead.
13438 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13440 * BufferView.h: doxy change
13442 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13444 * lyxtextclass.C (operator[]): remove non-const version
13445 (defaultLayout): remove non-const version
13447 2002-03-12 Juergen Vigna <jug@sad.it>
13449 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13450 did resize the LyXText too.
13452 * buffer.C (readLyXformat2): set layout information on newly allocated
13455 * tabular.C (OldFormatRead): set layout information on the paragraph.
13457 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13459 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13461 2002-03-11 Juergen Vigna <jug@sad.it>
13463 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13465 (resizeCurrentBuffer): force also the insets to resize themselfes.
13466 (moveCursorUpdate): fixed up for InsetText.
13468 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13471 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13472 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13473 value of Dialogs::tooltipsEnabled().
13474 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13476 2002-03-08 Juergen Vigna <jug@sad.it>
13478 * BufferView_pimpl.C (updateInset): update inset inside inset also
13479 if it isn't inside theLockingInset().
13481 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13483 * buffer.C (asciiParagraph): redo some of the word and line length
13485 (getLists): look for Caption instead of caption.
13487 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13489 * buffer.C (Buffer): initialize niceFile to true
13491 (makeLinuxDocFile):
13492 (makeDocBookFile): make sure niceFile is true on exit
13494 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13496 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13498 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13500 * LyXSendto.C: remove.
13501 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13502 * lyx_gui.C: remove now-redundant comment.
13503 * ColorHandler.h: remove forward declaration of class WorkArea.
13504 * lyxfunc.C: remove #include "WorkArea.h".
13506 2002-03-07 Juergen Vigna <jug@sad.it>
13508 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13509 got moved away with the DEPM and also set the inset_owner always
13510 right which before could have been omitted.
13512 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13514 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13515 wanted layout is not found.
13517 2002-03-07 Juergen Vigna <jug@sad.it>
13519 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13521 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13523 * paragraph.C (breakParagraph): use default layout not layout of
13525 (Paragraph): clear ParagraphParameters.
13527 2002-03-06 Juergen Vigna <jug@sad.it>
13529 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13530 otherwise it would not be a valid lenght. Fixed a special case in
13531 the minipage compatibility read where we end the document with a
13534 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13535 was set as it could be 0 for InsetTexts first entry.
13537 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13539 * paragraph.C (writeFile): if layout is empty write out
13540 defaultLayoutName().
13542 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13543 file without named layout we set layout to defaultLayoutName().
13545 2002-03-06 Juergen Vigna <jug@sad.it>
13547 * CutAndPaste.C (copySelection): set layout for new paragraph.
13549 * text.C (prepareToPrint): leave ERT inset left aligned
13550 (leftMargin): don't indent paragraphs inside ERT insets
13552 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13554 * paragraph.C (breakParagraph): dont call clear do the work manually
13556 * paragraph.[Ch] (clear): remove function
13558 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13560 * paragraph.C (Paragraph): dont call clear, the work has already
13563 * lyxtextclass.C (operator): assert if n is empty
13565 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13566 work manually instead.
13568 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13570 * BufferView_pimpl.C: protect selectionLost against text == 0
13572 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13574 * text.C (breakParagraph): fix a setting layout to '0' problem.
13576 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13578 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13579 final location of file, for the included files, and graphics.
13581 2002-03-05 Juergen Vigna <jug@sad.it>
13583 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13585 2002-03-04 Juergen Vigna <jug@sad.it>
13587 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13589 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13590 last column of multicolumn cells.
13591 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13593 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13595 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13596 file if it doesn't go to a temporary file.
13598 * buffer.C (sgmlOpenTag):
13599 (sgmlCloseTag): remove extra newline insertion.
13601 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13603 * text.C (getRowNearY): comment out debug msg
13605 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13607 * text2.C: first -> first_y
13609 * text.C (getRowNearY): add some attemts at a possible
13610 optimization, not working.
13612 * tabular.[Ch]: add BufferParams to several function so that newly
13613 created paragraph can be initialized to he default layotu for the
13616 * tabular-old.C (ReadOld): add buf->params to call of Init
13618 * screen.C: rename text->first to text->first_y
13620 * paragraph.C (breakParagraph): always set layout in the broken
13623 * lyxtextclass.C (Read): remove lowercase
13626 (delete_layout): ditto
13628 * lyxtext.h: rename first -> first_y
13630 * lyxlayout.C (Read): remove lowercase
13633 (obsoleted_by): ditto
13635 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13637 * buffer.C (insertErtContents): add params are to InsetERT
13638 (parseSingleLyXformat2Token): add code to check if a paragraphs
13639 layout really exist.
13640 (parseSingleLyXformat2Token): add params to several inset
13642 (asciiParagraph): remove lowercase, do the layout comparisons with
13645 * BufferView_pimpl.C (cursorNext): first -> first_y
13646 (resizeCurrentBuffer): first -> first_y
13647 (updateScrollbar): first -> first_y
13648 (scrollCB): first -> first_y
13649 (workAreaMotionNotify): first -> first_y
13650 (workAreaButtonPress): first -> first_y
13651 (checkInsetHit): first -> first_y
13652 (cursorPrevious): first -> first_y
13653 (cursorNext): first -> first_y
13654 (Dispatch): add buffer_->params to severl inset contructors
13656 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13658 * lyxlayout.C (Read): remove some debug info that I forgot.
13660 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13661 clean up the code slightly.
13662 (makeLinuxDocFile): ditto
13663 (makeDocBookFile): ditto
13665 * text2.C: layout as string
13667 * text.C: layout as string
13669 * paragraph_pimpl.C: layout as string
13671 * paragraph.[Ch]: layout as string
13673 * lyxtextclasslist.[Ch]: layout as string
13675 * lyxtextclass.[Ch]: layout as string
13677 * lyxtext.h: layout as string
13679 * lyxlayout.[Ch]: layout as string
13681 * lyx_cb.C: layout as string
13683 * bufferview_funcs.C: layout as string
13685 * bufferparams.C: layout as string
13687 * buffer.C: layout as string
13689 * LyXView.[Ch]: layout as string
13691 * LaTeXFeatures.[Ch]: layout as string
13693 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13695 * BufferView_pimpl.C: change current_layout to string, remove
13700 (workAreaButtonRelease): layout as string
13702 * BufferView2.C (unlockInset): adjust
13704 * vspace.C (asLatexCommand): use an explict temp variable.
13706 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13708 * Makefile.am: use FRONTEND_*
13710 2002-03-01 Juergen Vigna <jug@sad.it>
13712 * tabular.C (SetWidthOfMulticolCell): changed to something better
13713 I hope but still work in progress.
13714 (recalculateMulticolumnsOfColumn): renamed function from
13715 recalculateMulticolCells as it is more appropriate now.
13716 (SetWidthOfCell): calculate multicols better.
13718 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13720 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13722 * lyxfunc.C (processKeySym): print sequence also if it is
13723 `deleted' (complete)
13725 * kbsequence.C (print): print sequence even if it is deleted
13726 (complete would be a better word, actually).
13728 * lyxfunc.C (dispatch): print complete options after a prefix key
13730 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13732 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13734 * text2.C (setCharFont): eliminate setCharFont code duplication.
13736 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13738 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13739 LFUN_TABULAR_FEATURE (bug #177)
13741 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13743 * Makefile.am: remove figure.h
13745 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13747 * Bufferview_pimpl.C:
13759 * text2.C: remove #include "lyx_gui_misc.h".
13761 * LaTeX.C: added #include <cstdio>
13763 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13765 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13766 that the paragraph following this one can have.
13768 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13770 * vspace.C (asLatexCommand): fix bogus gcc warning
13772 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13774 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13776 * text2.C (setLayout): get rid of redundant code
13778 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13780 * text2.C (incDepth): make sure depth cannot be increased beyond
13783 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13785 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13786 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13788 * PainterBase.h (image):
13789 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13790 a LyXImage const *.
13792 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13796 * BufferView_pimpl.C:
13797 * BufferView_pimpl.h:
13817 * sp_spell.C: remove fig inset, and the crap house of
13818 cards that follows it
13820 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13825 * os2_errortable.h:
13826 * nt_defines.h: move .h into support/
13828 * vms_defines.h: remove
13830 * WorkArea.C: add space in debug output
13834 * buffer.C: add WITH_WARNINGS
13838 * bufferlist.C: s/retrive/retrieve/, add docs
13847 * chset.C: add docs
13849 * lyxgui.C: add ID to X error handler
13851 * lyxtestclass.c: fix typo
13853 2002-02-26 Juergen Vigna <jug@sad.it>
13855 * tabular_funcs.C (write_attribute): changed so that some default
13856 attributes are not written at all.
13857 (getTokenValue): set default values before trying to read the
13858 value so we have the return value always set as default if we don't
13859 find the token we search for.
13861 * tabular.C (Write): write bools as bools not as strings!
13863 2002-02-22 Juergen Vigna <jug@sad.it>
13865 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13866 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13868 * text.C (leftMargin): don't add an indent for paragraphs inside
13869 tabular cells (fix #208).
13871 2002-02-21 José Matos <jamatos@fep.up.pt>
13873 * tabular.C (docBook): fixed support for long tables.
13875 2002-02-20 Juergen Vigna <jug@sad.it>
13877 * text2.C (getFont): get the drawing font of the Inset if this
13878 paragraph is inside an inset (only important for InsetERT for now).
13880 * buffer.C (insertErtContents): use new lanugage params in ERT
13883 * CutAndPaste.C: commenting out seemingly uneeded code.
13885 2002-02-19 Allan Rae <rae@lyx.org>
13887 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13888 Iterators might be simple to use but they also get invalidated.
13889 (removeAutoInsets): renamed saved cursor tracking variables and added
13890 some comments to clarify what everything does.
13892 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13899 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13900 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13903 * vc-backend.h: remove #include "support/syscall.h"
13907 * converter.C: rearrange #includes in Lars' approved fashion.
13909 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13910 forward declare class Timeout in the header file.
13912 * XFormsView.C: changes due to the above.
13914 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13915 similar to LyXView.
13917 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13918 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13920 2002-02-18 José Matos <jamatos@fep.up.pt>
13922 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13925 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13927 * a lot of small ws changes
13928 * add a lot of using std::XXX
13929 * use std construcs some places where approp.
13930 * use some exisint stuff from lyxfunctional where approp.
13931 * Make file changes to use partial linking (lets test this now...)
13933 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13937 remove #include "support/syscontr.h" as it's redundant. Always has been.
13945 change Systemcalls::System to Systemcalls::Wait and
13946 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13947 No change of functionality, just reflects the stripped down Systemcalls
13950 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13952 * debug.[Ch]: add a GRAPHICS type to the enum.
13954 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13956 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13958 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13961 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13963 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13964 match the changes below.
13966 * text2.C (toggleInset): if there is not editable inset at cursor
13967 position, try to see if cursor is _inside_ a collapsable inset
13970 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13972 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13973 document menu has a nice checkbox
13975 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13977 * lyxlength.C (asLatexString): change PW to output as percent of
13980 * lengthcommon.C: change '%' to 't%'
13982 * lyxfunc.C (dispatch): a few comments from Martin
13984 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13988 * BufferView_pimpl.h:
13989 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13992 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13994 * vspace.C (inPixels): fix compiler warning
13996 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13998 * lyxfunc.C (getStatus): fix status message for disabled commands.
14000 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
14002 * BufferView_pimpl.C: fix crash on close buffer
14003 during selection (#227)
14005 2002-01-27 Herbert Voss <voss@lyx.org>
14007 * buffer.C: link old Figure to new graphic inset
14009 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
14011 * FontLoader.C (getFontinfo): Change the latex font names in order
14012 to match the names of type1inst.
14014 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
14016 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14018 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14019 (extchanged): ditto
14021 (remove_files_with_extension): ditto
14022 (remove_file): ditto
14025 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14026 document is smaller than the work area height. Do not initialize
14027 static variables to 0.
14029 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14031 * lyx_gui.C (init): give the toolbar tooltips a normal font.
14033 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14034 LFUN_LAYOUT_PARAGRAPHS.
14036 * tabular.C (GetCellFromInset): new method. Finds an inset in a
14037 tabular. It is possible to provide a possible cell, which will
14038 typically be the actcell from the corresponding insettabular
14040 * lyxfunc.C (getStatus): small cleanup; disable
14041 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14044 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14046 * tabular.C (Validate): remove broken optimization (fixes bug #201)
14048 * paragraph.C (startTeXParParams):
14049 (endTeXParParams): new methods. The LaTeX code to
14050 start/end paragraph formatting
14051 (simpleTeXOnePar): call startTeXParParams also when paragraph is
14052 empty (fixes bug #200)
14054 * vspace.C (inPixels): adapt to the change below
14055 (inPixels): [later] more cleanups (remove unused variables)
14057 * lyxlength.C (inPixels): change to use a width and a height as
14060 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14062 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14063 Replaced with \paperwidth
14065 * DepTable.C (insert): add std:: qualifier
14067 2002-01-18 Allan Rae <rae@lyx.org>
14069 * text2.C (removeRow): add comment. Should other refresh_?? vars be
14072 * text.C (drawInset): Turned out I didn't know enough about how
14073 rebreaking worked. This fixes most of the redraw problems. I see
14074 an occasional cursor trail when a line is broken now and the cursor
14075 placement can seem out by a few pixels also after a rebreak.
14077 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14079 * buffer.C (parseSingleLyXformat2Token): update because minipage
14080 width is now a LyXLength
14082 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14084 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14087 2002-01-17 Juergen Vigna <jug@sad.it>
14089 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14091 * BufferView2.C (lockInset): call edit() so that theLockingInset()
14092 is set correctly and the inset is updated correctly.
14094 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14096 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14097 the beginning of the loop.
14099 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
14101 * lyxrc.C: improve help for use_scalable_fonts
14103 2002-01-17 Allan Rae <rae@lyx.org>
14105 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14107 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14109 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14110 make sure to set their inset_owner to the right value (bug #171)
14112 2001-12-12 Ben Stanley <bds02@uow.edu.au>
14115 * DepTable.C: Implement mtime checking to reduce time spent doing
14118 2002-01-16 Juergen Vigna <jug@sad.it>
14120 * tabular.C (GetAdditionalHeight): one of error fixed.
14122 * lyxrc.C (output): small fix in writing use_pspell.
14124 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
14126 * sp_base.h: #include LString.h
14128 2002-01-16 Allan Rae <rae@lyx.org>
14130 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
14131 Can someone check this please?
14133 * text.C (drawInset): It was possible that p.row would be removed by
14134 breakAgainOneRow upsetting a few other settings. There may be another
14135 small tweak possible by setting need_break_row = 0 when p.row has been
14136 removed but I don't know enough about the logic here.
14138 2002-01-15 Allan Rae <rae@lyx.org>
14140 * text.C (insertChar): removed conditional truism.
14142 * BufferView2.C (removeAutoInsets): More tweaks.
14143 cur_par_prev could be a stray pointer. Check for trailing empty line
14144 in case last line was cur_par and only had an error inset on it.
14146 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14148 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14151 * vc-backend.C (most methods):
14152 * exporter.C (Export):
14153 * converter.C (convert):
14155 * LyXSendto.C (SendtoApplyCB):
14156 * lyxfunc.C (dispatch):
14160 * lyx_cb.C (AutoSave):
14162 * BufferView_pimpl.C (MenuInsertLyXFile):
14163 * buffer.C (runChktex): use Buffer::filePath().
14165 * buffer.h: rename filename to filename_; rename filepath to
14166 filepath_ and make it private
14167 (filePath): new method
14169 * buffer.C (writeFile): use fileName()
14172 * lyx_main.C (init): fix starting of LyX when the binary is a
14173 link from so,ewhere else.
14175 * minibuffer.C: include <cctype> for isprint
14177 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14179 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14180 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14181 name clash with InsetCollapsable's width function.
14183 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14185 * lastfiles.C: include <iterator>
14187 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14189 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14192 * buffer.C (makeLaTeXFile): ditto.
14193 Also make loop operation more transparent.
14195 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14197 * ToolbarDefaults.C: remove trailing comma closing namespace.
14199 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14201 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14204 * trans.C (Load): comment out unused variable, allowed.
14206 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14208 * minibuffer.[Ch] (append_char): new method to recieve input from the
14209 drop-down completion browser. If a key was pressed, then recieve this
14210 char and append it to the existing string.
14211 (peek_event): modify the positioning data passed to the completion
14212 browser so that it can be placed above the minibuffer rather than below.
14213 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14215 * LyXAction.C (init): alloe error-next for readonly documents.
14217 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14220 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14222 * bufferlist.C (readFile): create the buffer _after_ checking that
14225 * lyxfunc.C (verboseDispatch): fix handling of arguments
14227 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14229 * lyxrc.C: use string::erase() instead of initializing to "".
14232 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14234 * BufferView_pimpl.h:
14235 * BufferView_pimpl.C:
14238 * text2.C: tell X when we have made a selection for copying
14240 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14242 * BufferView_pimpl.C (MenuInsertLyXFile):
14243 * lyxfunc.C (menuNew):
14245 (doImport): add shortcuts to directory buttons
14247 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14250 * lyxfunc.C (setStatusMessage):
14251 (getStatusMessage): new methods
14252 (getStatus):use setStatusMessage instead of setErrorMessage
14253 (dispatch): when function is disabled, set error message here
14254 [instead of in getStatus previously]
14256 * BufferView_pimpl.C (workAreaButtonRelease): update
14257 toolbar/menubar here too.
14259 2002-01-13 Allan Rae <rae@lyx.org>
14261 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14262 Now seems indestructible. Remaining task is to audit all other
14263 code affected by deleteEmptyParagraphMechanism. One small quirk
14264 left is that an empty document with an error in the preamble can
14265 be made to report an error but no error box appears. I don't know
14267 (removeAutoInsets): Improved comments.
14269 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14272 * Thesaurus.C: update for Aiksaurus 0.14
14274 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14276 * text2.C (firstParagraph): removed member function, all uses
14277 replaces with ownerParagraph
14278 (redoParagraphs): here
14279 (updateInset): here
14280 (toggleAppendix): here
14281 * BufferView2.C (insertErrors): here
14282 (setCursorFromRow): here
14284 2002-01-13 Allan Rae <rae@lyx.org>
14286 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14287 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14288 There is still a way to segfault this although you may have to do this
14289 multiple times: Have an InsetERT with an unknown command in it.
14290 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14291 <down-arrow>, <Enter> again, View->DVI, BANG!
14293 * text2.C (setCursor):
14294 (deleteEmptyParagraphMechanism):
14295 * lyxtext.h (setCursor):
14296 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14297 Making use of the return value may help fix other bugs.
14299 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14301 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14303 * LyXView.C (updateMenubar): call MenuBar::update here
14304 (updateToolbar): but not here
14305 (showState): do not update toolbar/menubar
14307 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14308 should need to care about that.
14310 * lyxfunc.C (verboseDispatch): simplify a bit
14311 (getStatus): have a version which takes a pseudoaction, and
14312 another which requires a (kb_action,string).
14314 * LyXAction.C (retrieveActionArg): make it work also when action
14315 is not a pseudo-action.
14316 (getActionName): simplify a bit
14319 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14321 * lyxfunc.C (verboseDispatch): new families of methods with
14322 several ways to specify a command and a bool to indicate whether
14323 the command name and shortcut should be displayed in minibuffer
14324 (eventually, we could extend that to a finer bitmask like
14325 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14326 (dispatch): the pristine dispatch command which just, well,
14327 dispatchs! Note it still sets its result to minibuffer; I'm not
14330 * lyxfunc.h: remove setHintMessage
14332 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14334 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14336 * BufferView_pimpl.C (specialChar): delete new inset if we have
14337 not been able to insert it.
14339 * kbmap.C: revert to using int instead of kb_action, since all we
14340 are dealing with is pseudo-actions.
14342 * LyXAction.C (searchActionArg): change to return int instead of
14343 kb_action, since the result is a pseudoaction.
14345 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14347 * buffer.C (insertErtContents): Fix (partially) the font bug.
14349 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14351 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14352 as the other one is broken on my machine!
14354 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14357 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14359 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14361 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14362 reflect their actual use. Provide compatibility code for older lyxrc
14365 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14367 change names of popup font variables in line with the changes to lyxrc.C
14369 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14371 * buffer.C (asciiParagraph): avoid outputing a word twice after
14374 * lyxrc.C (getDescription): document that document_path and
14375 template_path can be empty.
14377 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14379 * LaTeXFeatures.C (getMacros):
14380 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14382 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14384 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14386 (getPackages): rename feature "floats" to "float". Use an array to
14387 iterate over 'simple' features (i.e. just a \usepackage). Add
14388 handling of "amsmath" (renamed from "amsstyle").
14390 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14392 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14395 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14397 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14398 FuncStaus::FuncStatus & FuncStaus::some_method().
14400 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14402 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14403 of the func_satus stuff. Edited and massaged in various ways by
14406 * lyxfunc.C (getStatus): use FuncStatus
14408 2002-01-08 Juergen Vigna <jug@sad.it>
14410 * text.C (nextBreakPoint): use function Inset::isChar().
14412 * paragraph.C (TeXOnePar): use function
14413 Inset::forceDefaultParagraphs.
14415 * buffer.C (latexParagraphs): use function
14416 Inset::forceDefaultParagraphs.
14418 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14420 * lyx_gui.C (init): set the style of the menu popups to
14421 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14423 2002-01-07 Juergen Vigna <jug@sad.it>
14425 * text.C (setHeightOfRow): small fix
14426 (prepareToPrint): don't look at alignment if we don't have the place
14429 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14431 * box.C: New file. Move the Box methods and functions out of box.h,
14432 following Lars' suggestion.
14434 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14436 * box.h: #include "support/LOstream.h", needed for inlined function.
14439 * lyxtextclasslist.C: added some using std declarations.
14441 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14443 * box.h: make signed dimensions to allow insets wider than
14444 the screen (bug #162)
14446 * BufferView_pimpl.C: add some insetHit debug
14448 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14450 * vc-backend.C: add FIXME
14452 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14454 * lyxfunc.C (getStatus): enable code for showing math font status
14457 2002-01-07 Juergen Vigna <jug@sad.it>
14459 * text.C (nextBreakPoint): removed debug output not needed anymore.
14461 2002-01-06 Juergen Vigna <jug@sad.it>
14463 * text.C (nextBreakPoint): fixed up this function we had this bug
14464 since ever but now hopefully we break row better.
14465 (insertChar): we have to check if an inset is the next char as it
14466 could now happen that a large inset is causing a break.
14468 2002-01-05 Juergen Vigna <jug@sad.it>
14470 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14471 if it doesn't like to be drawed.
14473 2002-01-04 Juergen Vigna <jug@sad.it>
14475 * BufferView2.C (lockInset): forgot to set a cursor.
14477 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14479 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14481 * FormMathsPanel.C:
14484 * form_maths_panel.C:
14485 * form_maths_panel.h:
14486 * form_maths_panel.fd: implemented sub- and super- buttons in math
14489 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14490 (or ^ space) to be used as in TeX (req'd by Andr�.
14492 * lyxfunc.C: Allow ^ and _ again to be used both as
14493 super/subscript (mathed) and as themselves (in text).
14495 2002-01-03 Allan Rae <rae@lyx.org>
14497 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14498 "LyX" or the filename of the current buffer if it has one. This is a
14499 modified form of John Levon's patch.
14501 * XFormsView.C (setWindowTitle): also set icon title.
14503 * LyXView.h (setWindowTitle): signature changed.
14504 * XFormsView.h (setWindowTitle): ditto.
14506 2002-01-02 Juergen Vigna <jug@sad.it>
14508 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14510 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14512 * screen.C (topCursorVisible): introduce a temp var for
14513 text->cursor.row(), handle the case where this row is null. (kindo
14516 * text2.C (setCursor): add a couple of asserts.
14518 * paragraph.h (inset_iterator): add -> operator
14520 * paragraph.[Ch] (autoDeleteInsets): remove member function
14522 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14523 cursor pos correctly and handle inset deletion by itself.
14524 (insertErrors): move iterator declaration out of for expression
14526 * lyxtextclass.C: add <algorithm>
14528 * Makefile.am: added the new files to sources, removed layout.C
14530 * layout.C: removed file
14532 * layout.h: remove LYX_DUMMY_LAYOUT
14534 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14538 * lyxtextclass.[Ch]:
14539 * lyxtextclasslist.[Ch]: new files
14541 * include order changes to a lot of files, also changes because of
14544 2001-12-27 Juergen Vigna <jug@sad.it>
14546 * buffer.C (asciiParagraph): more fixes.
14548 * tabular.C (ascii): make ascii export support export of only the
14549 data separated by a column-delimiter.
14550 (ascii): better support for ascii export.
14552 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14554 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14556 * tabular_funcs.C: use a "using std::getline" instead of the
14557 previous fix from Angus (necessary for cxx + lyxstring)
14559 2001-12-24 Juergen Vigna <jug@sad.it>
14561 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14563 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14564 problems. First check a minipage also if we have some ert-contents
14565 (not only on par->size(), second set the right depth of the paragraph
14566 on the relink to the root-paragraph-list!
14568 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14569 which then did not anymore update the main paragraphs on undo/redo!
14571 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14573 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14574 code. Support all font-changing funcs (even those which are not in
14575 menu currently). Support for reporting font settings in
14576 mathed (disabled until Andre provides a function on mathed's side).
14578 * func_status.h (toggle): small helper function to set toggle
14581 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14583 * tabular_funcs.C: getline -> std::getline
14585 2001-12-21 Juergen Vigna <jug@sad.it>
14587 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14588 accessed and could be 0 (I couldn't generate this but it seems
14591 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14593 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14594 * tabular_funcs.h: here and include iosfwd
14596 2001-12-20 Juergen Vigna <jug@sad.it>
14598 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14599 inside inset but undo_par was.
14601 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14603 * Thesaurus.C: always include <config.h> in sources.
14607 * box.h: do not include <config.h> in header files
14609 * text.C (paintLastRow): remove unused variable
14611 * text.C (transformChar):
14613 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14615 * Painter.C (text):
14616 * font.C (width): rewrite to use uppercase() instead of
14619 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14621 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14623 * lyxfind.C: clean up of find failure position change
14625 2001-12-20 Juergen Vigna <jug@sad.it>
14627 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14629 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14630 (TeXRow): added to LaTeX a single tabular row.
14631 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14632 (Latex): simplified and finally good LT-h/f support.
14633 (various_functions): just small adaptions for LT-h/f support.
14635 * tabular_funcs.[hC]: added and moved here all not classfunctions
14638 2001-12-19 Juergen Vigna <jug@sad.it>
14640 * tabular.[Ch]: better support for longtabular options (not finished
14643 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14645 * text.C (paintLastRow): use the label font instead of the font of
14646 the last character to compute the size of *_BOX. This makes more
14647 sense and avoids a crash with empty paragraphs.
14648 Use Painter::rectangle to draw EMPTY_BOX.
14650 2001-12-19 Juergen Vigna <jug@sad.it>
14652 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14653 the paragraphs if the replaced paragraph is not the first one!
14654 Tried to delete not used paragraphs but does not work yet so for
14655 now it's inside #ifdef's and by default off!
14657 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14659 * MenuBackend.C: include "lyx_main.h" instead of declaring
14660 lastfiles (actually was declared as LastFiles* instead of a
14663 2001-12-17 Juergen Vigna <jug@sad.it>
14665 * tabular.C (AppendColumn): applied John's fix
14667 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14671 * BufferView_pimpl.h:
14672 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14675 * box.h: new start of class for above
14677 * lyxfunc.C: ignore space-only minibuffer dispatches.
14678 Show the command name when it doesn't exist
14680 * minibuffer.C: don't add empty lines to the history
14682 * minibuffer.C: add a space on dropdown completion
14684 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14686 * text.C: fix line above/below drawing in insets
14688 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14690 * lyxlength.C (LyXLength): Initialize private variables.
14692 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14694 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14695 when inserting error insets.
14697 2001-12-13 Juergen Vigna <jug@sad.it>
14699 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14700 actually sometimes the before-paragraph.
14701 (setUndo): don't clear the redostack if we're not actually undoing!
14703 2001-12-06 Juergen Vigna <jug@sad.it>
14705 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14706 and fixed redoing of main paragraph, so we can use it now ;)
14708 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14710 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14712 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14715 2001-12-13 André Pönitz <poenitz@gmx.net>
14718 * undo_func.C: minor cleanup
14720 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14722 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14723 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14724 font in urw-fonts package which is marked as -urw-fontspecific and
14725 does not work (incidentally, changing the encoding in the
14726 fonts.dir of this package to -adobe-fontspecific fixes the
14729 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14730 is a crash when undoing first paragraph (Juergen, please take a
14731 look). THis does not mean the undo fix is wrong, just that it
14734 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14735 the (Paragraph*) version when needed instead of duplicating the
14738 * text.C (workWidth): use Inset::parOwner to find out where the
14739 inset has been inserted. This is a huge performance gain for large
14740 documents with lots of insets. If Inset::parOwner is not set, fall
14741 back on the brute force method
14743 * paragraph_pimpl.C (insertInset):
14744 * paragraph.C (Paragraph):
14745 (cutIntoMinibuffer): set parOwner of insets when
14746 inserting/removing them
14748 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14750 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14756 * mathed/formulabase.C:
14757 * mathed/math_cursor.[Ch]:
14758 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14761 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14763 * lyxlength.[Ch] (operator!=): new function
14765 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14767 * text.C (workWidth): use Inset::parOwner to find out where the
14768 inset has been inserted. This is a huge performance gain for large
14769 documents with lots of insets. If Inset::parOwner is not set, fall
14770 back on the brute force method
14772 * paragraph_pimpl.C (insertInset):
14773 * paragraph.C (Paragraph):
14774 (cutIntoMinibuffer): set parOwner of insets when
14775 inserting/removing them
14777 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14779 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14781 * tabular-old.C (getTokenValue):
14782 * tabular.C (getTokenValue):
14783 (write_attribute): new versions for LyXLength
14784 (everywhere): adjust the use of widths
14786 * tabular.h: change the type of widths from string to LyXLength
14788 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14790 * paragraph.C: fixed missing line number count when exporting
14791 Environments to LaTeX file
14793 * buffer.C: added informational message for checking line numbers.
14795 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14797 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14798 paragraph, do the 'double space' part, but not the 'empty
14801 * text.C (workWidth): small optimization
14802 (getLengthMarkerHeight): use minimal size for negative lengths.
14804 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14806 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14808 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14810 2001-12-11 André Pönitz <poenitz@gmx.net>
14813 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14815 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14817 * text2.C: keep selection on a setFont()
14819 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14821 * lyx_cb.C: another bv->text misuse, from insert label
14823 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14826 * kbsequence.C: re-instate nmodifier mask
14828 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14830 * lyx_main.h: make lyxGUI private.
14832 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14834 * lyxfind.C: place the cursor correctly on failed search
14836 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14838 * text.C (getLengthMarkerHeight): for small heights, the arrows
14839 are not always on top/bottom of the text
14840 (drawLengthMarker): smaller arrows; take the left margin in
14841 account; draw also vfills.
14843 (paintLastRow): remove special code for vfill and standard spaces,
14844 since everything is handled in drawLengthMarker now.
14846 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14848 * buffer.C (insertErtContents): try to handle font and language
14849 interaction a bit better.g
14851 * ColorHandler.C (updateColor): change the hash to cover the whole
14852 LColor enum, ws cleanup
14853 (getGCLinepars): ditto
14854 (getGCLinepars): only lookup in the linecache once.
14856 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14858 * iterators.C (operator++): Make the iterator more robust
14860 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14862 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14864 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14867 * text.C: better added space drawing
14869 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14872 * BufferView2.C: fix layout combo update on inset unlock
14874 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14876 * Makefile.am: don't compile unused files
14878 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14882 * LyXAction.C: remove old LFUN_LAYOUTNO
14884 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14886 * paragraph_pimpl.h:
14887 * paragraph_pimpl.C: isTextAt() doesn't need font param
14889 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14892 * lyxlex.C: little cleanup
14894 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14896 * BufferView_pimpl.C: fix insertAscii for insets
14898 2001-12-05 Juergen Vigna <jug@sad.it>
14900 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14901 set the right font on the "multi" paragraph paste!
14903 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14909 * lyxlength.C: remove out-commented code.
14911 * BufferView_pimpl:
14925 * vc-backend.C: change "while(" to "while ("
14927 * lyxlength.[Ch]: add zero function to check if length is zero or
14929 * lyxgluelength.C: use it
14931 2001-12-05 Allan Rae <rae@lyx.org>
14933 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14934 Works for 2.95.3, from what I understand of Garst's reports this should
14935 work for other g++ versions. We're screwed if the abs(int) definition
14936 changed between bugfix releases of gcc.
14938 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14940 * text.C: fix chapter label offset !
14942 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14945 * text.C: fix hfill at end of line, clean up
14947 2001-12-04 Juergen Vigna <jug@sad.it>
14949 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14950 that we force an update of the inset and it's owners if neccessary.
14952 2001-12-03 Juergen Vigna <jug@sad.it>
14954 * text.C (rowLast): simplified code
14956 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14958 * lyxfunc.C: fix show options on timeout
14960 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14962 * screen.C (topCursorVisible): scroll half a page when the cursor
14963 reached top of bottom of screen
14965 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14967 * minibuffer.C: deactivate on loss of focus
14969 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14971 * vspace.[Ch] (operator!=): add operator.
14973 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14975 * BufferView_pimpl.C: refuse to open an inset when
14976 there's a selection.
14978 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14980 * BufferView_pimpl.C: allow to click on RHS of full row insets
14982 2001-11-30 Juergen Vigna <jug@sad.it>
14984 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14985 insets for undo reasons.
14987 2001-11-28 André Pönitz <poenitz@gmx.net>
14989 * vspace.[Ch]: cosmetical changes
14991 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15001 * kbsequence.C: part re-write of old kb code
15004 * WorkArea.C: remove Lgb_bug_find_hack
15006 2001-11-30 José Matos <jamatos@fep.up.pt>
15008 * buffer.C (makeDocBookFile): add a comment to point a hack.
15009 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15010 Fixed a double write of labels.
15012 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15015 * LaTeX.h Fixed bug in LaTeX class where it would not
15016 re-run latex if no depfiles were changed, but the .dvi was removed.
15018 2001-11-28 André Pönitz <poenitz@gmx.net>
15020 * all the files from the change on 2001/11/26:
15021 use lyx::layout_type instead of LyXTextClass::size_type
15022 use lyx::textclass_type instead of LyXTextClassList::size_type
15024 2001-11-29 Juergen Vigna <jug@sad.it>
15026 * text.C: added support for paragraph::isFreeSpacing()
15028 * buffer.C: same as above
15030 * paragraph.h: inserted isFreeSpacing() function to enable
15031 FreeSpacing inside InsetERT.
15033 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15034 of the paragraph's in the cut/copy buffer to 0!
15036 * text2.C (removeRow): remove the assert as it can!
15038 * lyxtext.h: added helper function firstRow returning firstrow and
15039 made firstrow private again.
15041 * BufferView2.C (lockInset): don't relock if we're already locked!
15043 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15044 the only paragraph.
15045 (removeRow): added Assert::(firstrow)
15047 * debug.C: forgot to add INSETTEXT here.
15049 2001-11-28 Juergen Vigna <jug@sad.it>
15051 * sp_spell.C (initialize): changed error text to more general
15052 spellchecker command use (not only ispell!)
15054 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15056 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15058 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15060 * vspace.C: initialise lyxgluelength on failure
15062 2001-11-28 Allan Rae <rae@lyx.org>
15064 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15065 declaration & definition that looks like a function declaration.
15067 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15069 * BufferView2.C (copy):
15070 (copyEnvironment): do not clear the selection when doing a copy.
15072 * text.C (paintFirstRow): compilation fix
15074 2001-11-27 Ben Stanley <bds02@uow.edu.au>
15076 * tabular.C (Latex): correct line count when writing latex.
15078 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
15080 * paragraph_pimpl.h:
15081 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15084 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
15088 * LColor.C: change vfillline->added_space
15090 * text.C: add markers and text for added space
15092 * vspace.C: fix comment
15094 2001-11-28 André Pönitz <poenitz@gmx.net>
15096 * paragraph.C: whitespace changes
15097 * all the other files from the change on 2001/11/26:
15098 change *::pos_type into lyx::pos_type
15100 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
15102 * buffer.C (parseSingleLyXformat2Token): Set the language to the
15103 language of the document when inserting error insets.
15105 2001-11-26 André Pönitz <poenitz@gmx.net>
15107 * BufferView_pimpl.[Ch]:
15115 * paragraph_pimpl.[Ch]:
15118 * text2.C: reduce header dependencies, introduce type for positions
15120 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15122 * <various>: change to use Alert.h
15124 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
15126 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15127 when encountering an unknown token.
15128 (readLyXformat2): Show an error message if there were unknown tokens.
15130 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
15133 * BufferView_pimpl.C:
15137 * text2.C: use par->isInset()
15139 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
15141 * paragraph_pimpl.h:
15142 * paragraph_pimpl.C: cleanup
15144 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15146 * text2.C (removeRow):
15147 * text.C (setHeightOfRow): remove useless (and costly) call to
15150 2001-11-20 Allan Rae <rae@lyx.org>
15152 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15153 Now need Inset*::checkInsertChar() to return true for appropriate
15154 cases so that the characters in the minibuffer will actually be
15157 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
15159 * text.C: change the order of the includes.
15160 (workWidth): initialize it at once.
15161 (workWidth): make maxw unsigned
15162 (setHeightOfRow): remove unused variable (inset)
15163 (selectSelectedWord): remove unused variable (inset)
15164 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15166 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15168 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15169 server is not running.
15171 (closeConnection): add debug info when server is disabled.
15173 * ColorHandler.C (getGCForeground): send debug message to GUI
15176 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15178 * kbmap.C (bind): modify because return conventions of
15179 kb_sequence::parse have changed.
15181 * kbsequence.C (parse): only ignore spaces and not any stupid
15182 control character. This avoids tests like s[i] <= ' ', which are
15183 guaranteed to fail with 8bit characters and signed chars.
15184 Change return code to string::npos when there have been no error
15185 (0 was a bad idea when error is at first character)
15187 2001-11-14 José Matos <jamatos@fep.up.pt>
15190 * buffer.C (simpleDocBookOnePar): removed unused argument.
15192 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15194 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15195 insets which are part of a word. Paragraph::isLetter takes care of
15196 that now. Use Paragraph::isInset to identify insets.
15197 (selectSelectedWord): do not test for hyphenation break.
15199 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15200 that protected spaces are considered as spaces.
15202 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15205 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15208 * lyxserver.C: fix it. and small cleanup.
15210 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15212 * BufferView_pimpl.C: use inline helpers
15215 * LaTeXFeatures.C: fix typos
15218 * Spacing.C: move spacing_string into class
15220 * ToolbarDefaults.C: move stuff into namespace anon
15222 * layout.h: update enum
15224 * lyxfunc.C: use better debug
15226 * minibuffer.h: fix typo
15230 * WorkArea.C: add and use Debug::WORKAREA
15234 * text2.C: code re-organisation, inline helpers
15236 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15238 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15239 std::vector.empty().
15241 2001-11-09 Allan Rae <rae@lyx.org>
15243 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15244 '\n's after tables. Tabular and ERT inset work now makes this no
15247 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15250 * minibuffer.C: fix crash, improve drop-down completion
15252 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15255 * lyxserver.C: invalidate fd's when doing endPipe()
15257 2001-11-08 José Matos <jamatos@fep.up.pt>
15259 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15260 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15263 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15265 2001-11-07 José Matos <jamatos@fep.up.pt>
15268 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15271 * buffer.C (sgmlOpenTag):
15272 * buffer.C (sgmlCloseTag): removed debug info.
15274 * buffer.h (sgmlOpenTag):
15275 * buffer.h (sgmlCloseTag): made public.
15277 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15279 * buffer.C (saveParamsAsDefaults):
15280 * lyx_cb.C (MenuLayoutSave): remove
15282 * LyXAction.C (init):
15284 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15286 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15288 * buffer.C (setPaperStuff): removed from here...
15290 * bufferparams.C (setPaperStuff): ... and moved there.
15292 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15296 * XFormsView.C: add support for drop-down completion
15298 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15300 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15303 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15305 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15308 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15310 * lyx_main.C: change ref to known bugs
15312 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15314 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15315 to work around older babel problems.
15317 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15319 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15321 2001-10-24 Juergen Vigna <jug@sad.it>
15323 * tabular-old.C (ReadOld): below variable changes reflected.
15325 * tabular.[Ch]: added ltType struct for longtable header/footer
15326 defines and changed all instances where they are used. Added
15327 future support for double top/bottom rows.
15329 2001-10-24 José Matos <jamatos@fep.up.pt>
15331 * buffer.h (docbookHandleCaption):
15332 * buffer.C (docbookHandleCaption): removed unused function.
15333 (makeDocBookFile): moved docbook supported version to v4.1.
15335 2001-10-24 José Matos <jamatos@fep.up.pt>
15338 * tabular.C (docbookRow): new function to export docbook code of a row.
15339 (DocBook): now honors the longtable flags.
15341 2001-10-23 José Matos <jamatos@fep.up.pt>
15344 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15345 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15347 * buffer.C (makeLinuxDocFile):
15348 (makeDocBookFile): reworked the preamble, more clean, and with
15349 support for lyx defined entities. Changed the document declaration
15350 to be more XML friendly.
15352 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15353 if we need to output XML that should be done with a filter.
15355 2001-10-22 Juergen Vigna <jug@sad.it>
15357 * sp_pspell.h (class PSpell): add alive function needed in the
15358 controller to see if the spellchecker could be started.
15360 2001-10-22 Juergen Vigna <jug@sad.it>
15362 * buffer.C (insertStringAsLines): modify the font for inserting
15363 chars in certain conditions by calling checkInsertChar(font).
15365 2001-10-19 Juergen Vigna <jug@sad.it>
15367 * text.C (workWidth): use getRow instead of wrong algorithm.
15368 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15370 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15375 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15377 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15379 * text.C (workWidth): do not search for the exact row when
15380 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15381 optimization for big documents.
15383 2001-10-18 Juergen Vigna <jug@sad.it>
15385 * text.C (workWidth): new function with added Inset * parameter.
15387 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15389 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15391 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15392 change return type of getColumnNearX.
15395 * text.C (changeRegionCase): use uppercase/lowercase instead of
15398 (rightMargin): simplify code by factoring out the uses of
15403 (appendParagraph): use Paragraph::size_type
15405 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15407 * vspace.C (asLatexString): add a missing break
15409 2001-10-15 Herbert Voss <voss@perce.de>
15411 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15413 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15415 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15418 2001-10-10 André Pönitz <poenitz@gmx.net>
15420 * lyxfunc.C: removed greek_kb_flag.
15422 2001-10-10 Herbert Voss <voss@perce.de>
15424 * lyx_main.C: delete global string help_lyxdir.
15426 2001-10-09 Herbert Voss <voss@perce.de>
15428 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15430 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15432 * lyx_main.C: added global string help_lyxdir.
15434 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15436 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15438 * lyxrc.C (set_font_norm_type): support iso8859-4
15440 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15442 * LaTeX.C (deplog): add another regex for MikTeX
15444 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15446 * lyxrc.C (set_font_norm_type): support iso8859-3
15448 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15450 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15452 * LaTeXFeatures.C: remove special case of french and index
15454 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15455 before \begin{document}). This solves several incompatibilities.
15457 2001-10-03 Garst Reese <reese@isn.net>
15459 * lyx_cb.C: change CheckTex error msg.
15461 2001-10-03 José Matos <jamatos@fep.up.pt>
15463 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15465 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15467 * .cvsignore: update
15469 * lyx_main.C (commandLineVersionInfo): use new style version info.
15471 * buffer.C (writeFile):
15473 (makeLinuxDocFile):
15474 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15476 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15478 * version.h: update to use stuff in version.C
15480 * version.C.in: new file. Contains version information determined
15481 at compile time. This is a merging of version.h and
15484 2001-10-03 Juergen Vigna <jug@sad.it>
15486 * BufferView_pimpl.C (update): don't change "dirty" status in
15489 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15491 * WorkArea.C (c-tor): re-position version string slightly.
15493 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15495 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15496 revert to previous code.
15498 WorkArea.[Ch]: (show, destroySplash): methods removed.
15500 WorkArea.C: rework code so that it's an amalgam of the codes before and
15501 after the splash screen was moved to WorkArea.
15503 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15506 * vspace.C (inPixels):
15509 * buffer.C (insertStringAsLines):
15510 (asciiParagraph): fix types to be large enough
15512 * lyxlex_pimpl.h: change member status from short to int
15514 * layout.h: fix type of endlabeltype
15517 * kbsequence.C (parse): change return type to string::size_type
15519 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15522 * Bullet.C (bulletSize):
15523 (bulletEntry): do not use short ints as parameters
15525 * BufferView2.C (insertLyXFile): change a char to an int.
15527 * WorkArea.C (WorkArea): remove unneeded floats in computation
15529 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15531 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15533 * paragraph.C (asString): Do not ignore newline/hfill chars when
15534 copying to the clipboard.
15536 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15538 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15539 after a multi-line inset.
15541 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15543 * paragraph.C (validate): Set NeedLyXFootnoteCode
15545 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15547 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15548 and decrease-error to decrease.
15550 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15552 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15553 it more readable (should be equivalent)
15555 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15557 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15559 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15561 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15562 of a cursor (row, etc.) after a character has been deleted
15563 (deleteEmptyParagraphMechanism): call the method above on _all_
15564 cursors held by the LyXText when a double space has been
15567 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15569 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15571 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15573 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15574 background. Use greyOut() and the new show() methods to toggle between
15575 the foreground and background. Add code to remove the splash after
15576 its initial showing.
15578 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15579 (create_forms): no longer call Dialogs::showSplash.
15581 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15583 * .cvsignore: add version_info.h
15585 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15587 * version_info.h.in: new file
15589 * Makefile.am: add version_info.h.in
15591 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15592 version_info.h instead of VERSION_INFO
15594 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15596 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15597 The ERT inset now returns string().
15599 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15601 * lyxtext.h, text.C (selectNextWord): renamed as
15602 selectNextWordToSpellcheck.
15604 * text.C (selectNextWordToSpellcheck): Modified to not select
15605 words inside an ERT inset.
15607 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15609 * lyx_cb.C (MenuLayoutSave): change a bit the question
15611 * sp_base.h: include <sys/types.h>
15613 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15615 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15617 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15619 * several files: fix typos in user-visible strings
15621 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15623 * text2.C (pasteSelection): do not set the selection, since it
15624 will be cleared later. Actually, the intent was to fix the way the
15625 selection was set, but I figured rmoving the code was just as good.
15627 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15629 * FontLoader.C (available): Check if font is available without
15632 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15634 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15636 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15638 * lyxrc.[Ch]: added display_graphics variable and associated code.
15640 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15642 * bufferparams.C (hasClassDefaults): new method. Returns true if
15643 the buffer parameters correspond to known class defaults
15645 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15647 * XFormsView.C (show): set minimum size to the main window.
15649 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15651 * text2.C (copySelection):
15653 * lyxfind.C (LyXReplace):
15654 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15655 LyXText::selectionAsString.
15657 * paragraph.C (asString): add "label" argument to the second form
15659 * text2.C (selectionAsString): add "label" argument and pass it to
15660 Paragraph::asString.
15662 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15664 * lyx_main.C (commandLineHelp): remove version information
15666 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15668 * lyx_main.C: add -version commandline option
15670 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15672 * paragraph.h: make the optional constructor arg required instead.
15673 some modifications to other files because of this.
15675 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15677 * lyxserver.C (C_LyXComm_callback): make it static
15679 * lyx_main.C (error_handler): make it static
15681 * lyx_gui.C (LyX_XErrHandler): make it static
15683 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15685 * WorkArea.C: make the extern "C" methods static.
15687 * Makefile.am (lyx_LDADD): simplify
15689 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15691 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15692 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15694 * LyXAction.C (init):
15695 * lyxfunc.C (dispatch): associated code removal.
15697 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15699 * lyxfont.h (isSymbolFont): shut off warning
15701 * text.C (setHeightOfRow):
15702 (getVisibleRow): fix crash with empty paragraphs which have a
15705 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15707 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15710 2001-09-04 José Matos <jamatos@fep.up.pt>
15713 * tabular.C (docbook): rename docBook method to docbook.
15715 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15717 * Makefile.am: add dependencies to main.o.
15719 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15721 * FontLoader.C (available): Return false if !lyxrc.use_gui
15723 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15725 * FontInfo.C (query):
15726 * converter.C (view):
15727 * importer.C (Import):
15728 * exporter.C (Export): Can not -> cannot.
15730 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15732 * BufferView_pimpl.C: allow to create index inset even if
15735 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15737 * buffer.C (getLists): replace boost::tie code with an explicit pair
15738 as boost::tie can break some compilers.
15740 * iterators.h: Added a std:: declaration to the return type of
15743 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15745 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15748 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15750 * iterators.[Ch]: New files. Provide paragraph iterators.
15752 * buffer.C (changeLanguage): Use paragraph iterators.
15753 (isMultiLingual): ditto
15755 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15757 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15759 * FontLoader.C: Support for cmr font.
15761 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15763 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15764 (available): New method.
15766 * FontInfo.C (getFontname): Use scalable fonts even when
15767 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15770 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15772 * converter.C (Formats::view): reverted! Incorrect fix.
15774 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15776 * converter.C (Formats::view): only output the -paper option
15777 if the dvi viewer is xdvi, thereby fixing bug #233429.
15779 2001-08-23 Herbert Voss <voss@perce>
15781 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15783 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15785 * Spacing.h (Spacing): Set space to Default on in the default
15788 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15790 * vc-backend.h (RCS::versionString): add RCS to version
15791 (CVS::versionString): add CVS to version
15793 * vc-backend.C (scanMaster): do not add CVS to version.
15794 (scanMaster): do not add RCS to version
15796 * lyxvc.C (versionString): new method
15798 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15800 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15802 * Spacing.C (set): initialize fval
15804 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15806 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15809 2001-08-16 Juergen Vigna <jug@sad.it>
15811 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15813 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15815 * BufferView_pimpl.C:
15818 * text2.C: setParagraph takes linespacing now
15820 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15822 * LyxAction.C: add internal LFUN_CITATION_INSERT
15824 * LyXView.C: actually apply fix
15826 * bufferlist.C: fix open non-existent file
15828 * lyxfind.C: fix indentation
15830 * lyxfunc.C: remove unneeded assert, fix typo
15832 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15834 * MenuBackend.C: use "Floatname List"
15836 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15838 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15839 when converting LaTeX layout to insetERT.
15840 Generate a non-collapsed float when reading old float
15842 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15844 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15847 2001-08-13 Juergen Vigna <jug@sad.it>
15849 * text.C (fill): return 0 instead of 20 as this seems to be the more
15852 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15854 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15857 2001-08-13 Juergen Vigna <jug@sad.it>
15859 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15861 (SearchBackward): comment out the unlocking of the inset_owner this
15862 should not be needed!
15864 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15866 * Many files: Remove inherit_language, and add latex_language
15868 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15869 collapsible insets.
15871 2001-08-10 Juergen Vigna <jug@sad.it>
15873 * text.C (prepareToPrint): fixed hfill-width in draw!
15875 * BufferView2.C (selectLastWord): save the selection cursor as this
15876 now is cleared in the function LyXText::clearSelection!
15878 2001-08-08 Juergen Vigna <jug@sad.it>
15880 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15881 BACKSPACE type functions.
15883 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15884 is only cutted from the document but not put in the cut-buffer, where
15885 still the old stuff should be.
15887 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15889 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15891 * tabular.C (SetWidthOfCell): fixed special case where the width
15893 (LeftLine): handle '|' in align_special.
15895 (LeftAlreadyDrawed): ditto
15896 (SetWidthOfCell): ditto
15898 2001-08-07 Juergen Vigna <jug@sad.it>
15900 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15902 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15904 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15905 * lyxlex.[hC]: ditto
15907 2001-08-06 Juergen Vigna <jug@sad.it>
15909 * text.C (getVisibleRow): fix up row clearing a bit.
15911 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15913 * minibuffer.C: make sure the X server sees the changes in the input.
15915 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15917 * paragraph.C (getFont): split into...
15918 (getLabelFont): this
15919 (getLayoutFont): and this
15920 * paragraph_pimpl.C (realizeFont): calling this
15922 * text2.C (getFont): split into...
15923 (getLayoutFont): this
15924 (getLabelFont): and this
15925 (realizeFont): all three calling this
15927 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15930 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15932 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15934 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15936 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15937 layouts from the Quote inset insertion.
15939 2001-08-03 Juergen Vigna <jug@sad.it>
15941 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15943 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15944 only if status not is already CHANGED_IN_DRAW (second level).
15946 * text.C (draw): don't set the need_break_row when inside an
15949 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15951 * buffer.C (parseSingleLyXformat2Token): handle more latex
15954 * bufferview_funcs.[hC]: change function names to
15955 begin with small char, adjust other files.
15957 2001-08-02 André Pönitz <poenitz@gmx.net>
15960 BufferView_pimpl.C: remove broken special code for math-greek
15962 2001-08-02 Juergen Vigna <jug@sad.it>
15964 * BufferView_pimpl.C (update): redone this function so that we
15965 update the text again if there was a CHANGE_IN_DRAW.
15967 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15968 (drawFromTo): added a new internal bool which is used by draw() and
15970 (general): some cursor drawing problems fixed.
15972 2001-08-01 Juergen Vigna <jug@sad.it>
15974 * lyxfind.C (LyXFind): fixed
15975 (SearchForward): ditto
15976 (SearchBackward): ditto
15978 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15979 spurius drawing of the cursor in the main area.
15981 * text2.C (status): small fix which could lead to a segfault!
15982 (clearSelection): remove unneeded BufferView param.
15984 2001-08-01 André Pönitz <poenitz@gmx.net>
15986 * lyxfunc.C: small change due to changed mathed interface
15988 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15990 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15992 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15994 * lyxfunc.c: fail gracefully if file doesn't exist
15999 * BufferView_pimpl.C: IsDirWriteable() proto changed
16001 * LyXView.C: fix updateWindowTitle() to store the last title
16003 2001-07-31 Juergen Vigna <jug@sad.it>
16005 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16006 the font (wrong since using of Paragraph::highestFontInRange).
16008 * paragraph.C (highestFontInRange): added a default_size parameter.
16010 * text.C (getVisibleRow): minor clear row changes (still not perfect).
16011 (setHeightOfRow): reformat
16013 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16015 * converter.[hC] + affected files: move to (inital-char)lowercase
16018 * ParagraphParameters.C (ParagraphParameters): remove commented code
16020 * PainterBase.[Ch]: remove commented code
16022 * LaTeXFeatures.h: add "bool floats" for float.sty
16024 * LaTeXFeatures.C (LaTeXFeatures): init floats
16025 (require): handle float
16026 (getPackages): do it with floats
16028 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16030 * BufferView_pimpl.C (Dispatch): improve handling of
16031 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16033 * commandtags.h: #include lyxfont.h here temporarily to avoid
16036 * bufferlist.h: include LString.h here.
16038 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16040 * text2.C (getStringToIndex): new method.
16042 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
16044 * *: Reduced header file dependencies all over.
16046 2001-07-30 Baruch Even <baruch@lyx.org>
16048 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16050 2001-07-29 Baruch Even <baruch@lyx.org>
16052 * buffer.C (readInset): Changed GRAPHICS to Graphics.
16054 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16056 * ParameterStruct.h (endif): add a default constructor to make
16057 sure that all variables is initialized.
16059 * ParagraphParameters.C (ParagraphParameters): adjust
16061 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16063 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16064 index; also, check that there is something to index, and that it
16065 does not span over several paragraphs.
16066 (doubleClick): use WHOLE_WORD_STRICT for double click.
16068 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16070 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16073 2001-07-26 Baruch Even <baruch@lyx.org>
16075 * buffer.C (readInset): Changed to call up InsetGraphics when reading
16076 an InsetFig figure, backwards compatible reading of old figure code.
16078 2001-07-27 Juergen Vigna <jug@sad.it>
16080 * text2.C: font.realize function adaption.
16082 * text.C (draw): add a warnings lyxerr text if needed.
16084 * layout.C: font.realize function adaption.
16086 * language.C: add inherit_language and implement it's handlings
16088 * bufferview_funcs.C (StyleReset): remove language parameter from
16089 font creation (should be language_inherit now).
16091 * bufferparams.C (writeFile): handle ignore_language.
16093 * paragraph.C (getFontSettings): the language has to be resolved
16094 otherwise we have problems in LyXFont!
16096 * lyxfont.C (lyxWriteChanges): added document_language parameter
16097 (update): removed unneeded language parameter
16099 * paragraph.C (validate): fixed wrong output of color-package when
16100 using interface colors for certain fonts in certain environments,
16101 which should not seen as that on the final output.
16103 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
16105 * BufferView_pimpl.C:
16110 * LyXAction.C: add thesaurus support
16113 * lyxfind.C: add "once" parameter, for thesaurus, to not
16114 move to the next match
16116 2001-07-26 Juergen Vigna <jug@sad.it>
16118 * lyxfont.C (realize): honor ignore_language too!
16121 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16123 * text.C (draw): one place more for ignore_language to not draw
16126 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
16128 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16130 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16132 * buffer.C (parseSingleLyXformat2Token): a more general fix for
16133 the minipage conversion problem.
16135 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16137 * buffer.C (parseSingleLyXformat2Token): check minipage if we
16140 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16142 * BufferView.h: don't forward declare WorkArea
16144 * BufferView.C: don't include WorkArea.h
16146 2001-07-25 André Pönitz <poenitz@gmx.net>
16150 * lyxfunc.C: new LFUN 'math-space'
16152 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16154 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16156 * text2.C (toggleInset): call open/close
16158 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16160 * lyxfunc.C (dispatch): add debug for the disabled case
16162 * font.C (buttonText): make similar to rectText
16164 * buffer.C (readInset): comment out parsing of insetlist and
16167 * PainterBase.C (rectText): small correction
16169 * BufferView_pimpl.C: comment out insettheorem and insetlist
16170 * LyXAction.C: ditto
16171 * commandtags.h: ditto
16173 2001-07-24 Juergen Vigna <jug@sad.it>
16175 * text.C (draw): honor the ignore_language.
16177 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16179 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16181 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16184 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16186 * lyxtext.h: remove unused (and unimplemented) methods
16188 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16190 * text.C (getVisibleRow): honor background color
16193 * Painter.h: remove default color argument for fillRectangle
16195 * text.C (backgroundColor): new method
16197 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16199 * text.C (getVisibleRow): adjust
16201 * font.[Ch] (rectText): new method, metrics
16202 (buttonText): new method, metrics
16204 * PainterBase.[hC]: make rectText and buttonText always draw and take
16207 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16209 * ToolbarDefaults.C (read):
16210 * MenuBackend.C (read): allow escaping in all strings
16212 * BufferView_pimpl.C (insertAndEditInset): new method.
16213 (Dispatch): use insertAndEditInset whenever appropriate.
16215 * BufferView_pimpl.C (insertNote): removed
16217 * BufferView_pimpl.C (smartQuote): new method, moved from
16218 BufferView; if an insetquote cannot be inserted, insert a '"'
16221 * BufferView2.C: remove insertCorrectQuote();
16223 * lyxfunc.C (getStatus): Add support for all remaingin
16224 inset-insert lfuns.
16226 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16228 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16229 command (necessary to pass " as parameter of self-insert.
16231 * text.C (selectWordWhenUnderCursor):
16232 (selectWord): add word_location parameter
16233 (selectWordWhenUnderCursor): same + remove special code for word
16235 (selectNextWord): use kind() to guess type of insetspecialchar,
16238 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16239 (insertErtContents): create ert insets as collapsed.
16240 (readInset): better compatibility code for Info inset.
16242 2001-07-20 Juergen Vigna <jug@sad.it>
16244 * lyxfunc.C (dispatch): use always LyXFind now!
16246 * text2.C (init): add a reinit flag so that the LyXText can be
16247 reinited instead of deleted and reallocated (used in InsetText).
16249 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16255 2001-07-18 Juergen Vigna <jug@sad.it>
16257 * text.C (selectNextWord): handle insets inside inset by calling
16258 always the bv->text functions so that we can go up the_locking_inset!
16260 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16261 in strange locations when inside an inset!
16263 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16264 handling to include insets.
16266 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16268 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16270 * LyXAction.C (init):
16272 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16273 LIGATURE_BREAK, since the name is so stupid.
16275 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16277 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16280 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16282 * sp_form.[Ch]: remove.
16284 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16286 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16289 * src/buffer.C (readInset): ditto.
16291 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16293 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16294 menuSeparator(), endOfSentenceDot(), ldots() and
16295 hyphenationPoint(), which are therefore removed.
16296 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16298 * LyXAction.C (init):
16299 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16301 * paragraph.C (getWord): removed.
16303 * BufferView_pimpl.C (Dispatch): use last word or selection for
16304 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16306 * lyx_main.C (queryUserLyXDir): do not ask before creating
16307 user_dir, except if it has been named explicitely.
16309 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16311 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16312 a document of zero size.
16314 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16316 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16317 approriately in the c-tor and in require().
16318 (getPackages): output the appropriate LaTeX for natbib support.
16320 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16321 variables "use_natbib" and "use_numerical_citations" when reading the
16323 (readInset): read the various natbib cite commands.
16324 (validate): white-space change.
16326 * bufferparams.[Ch]: new variables "bool use_natbib" and
16327 "bool use_numerical_citations".
16328 (writeFile): output them in the LyX file.
16330 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16332 * lyxfunc.C (getStatus): add support for all the inset insertion
16335 * text2.C (insertInset):
16336 * paragraph.C (insetAllowed):
16337 * BufferView_pimpl.C (insertInset): update to take in account the
16338 renaming of insertInsetAllowed
16340 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16342 * text2.C (getInset): new method. returns inset at cursor position.
16344 * BufferView_pimpl.C (Dispatch): changes because of this.
16346 * LyXAction.C (init): rename open-stuff to inset-toggle.
16348 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16350 * text2.C (toggleInset): renamed from openStuff; use
16353 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16355 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16357 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16359 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16361 * buffer.C (readLyXformat2): Add filename to the error dialog
16363 2001-07-18 Juergen Vigna <jug@sad.it>
16365 * tabular.C (GetCellNumber): put an assert here instead of the check!
16367 2001-07-17 Juergen Vigna <jug@sad.it>
16369 * BufferView_pimpl.C (toggleSelection): adapted too.
16371 * text.C (selectNextWord): adapted for use with insets.
16372 (selectSelectedWord): ditto
16374 2001-07-17 Juergen Vigna <jug@sad.it>
16376 * sp_spell.C (PSpell): fix initialitation order.
16378 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16380 * paragraph.C: spacing
16382 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16384 * sp_spell.C: repair language selection for pspell
16386 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16388 * lyxfunc.h: change more methods to begin with lower char.
16390 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16392 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16393 for unknown layouts.
16395 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16397 * buffer.C (readLyXformat2): Generate an error dialog if there are
16400 2001-07-16 Juergen Vigna <jug@sad.it>
16402 * sp_spell.C: always compile ISpell part.
16404 * lyxrc.C: added use_pspell entry and it's handling.
16406 2001-07-13 Juergen Vigna <jug@sad.it>
16408 * sp_spell.C: removed double includes.
16410 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16412 Consistent use of Lsstream.h:
16413 * Lsstream.h: added using std::stringstream for consistencies sake.
16415 * buffer.C: removed using std::stringstream
16417 * lyxfont.C (stateText):
16418 * paragraph.C (asString):
16419 * text.C (selectNextWord, selectSelectedWord):
16420 * text2.C (setCounter):
16421 * vspace.C (asString, asLatexString):
16422 std::ostringstream -> ostringstream.
16424 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16426 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16427 * commandtags.h: add LFUN_HELP_ABOUTLYX
16428 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16430 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16432 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16434 * lyx_gui_misc.C: remove spellchecker
16435 * lyxfunc.C: showSpellchecker
16437 * sp_ispell.h: added
16438 * sp_pspell.h: added
16439 * sp_spell.C: added
16440 * sp_form.[Ch]: removed
16441 * spellchecker.[Ch]: removed
16443 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16445 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16447 (simpleTeXSpecialChars): Simply print the input character without
16448 any special translation if pass_thru is set.
16450 * layout.h: Added bool pass_thru to layout class for being able to
16451 implement pass through of a paragraph for Literate Programming.
16453 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16454 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16455 * layout.C (Read): add "passthru" to list of layout tags and add
16456 code to set the pass_thru boolean when it is read.
16458 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16460 * trans_decl.h: remove allowed from KmodInfo
16462 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16463 remove allowed code
16466 * paragraph_pimpl.C (erase): use boost::prior
16468 * Painter.C (text): use data() instead of c_str() when length is
16470 * WorkArea.C (putClipboard): ditto
16471 * font.h (width): ditto
16473 * BufferView2.C: use it-> instead of (*it). for iterators
16475 * paragraph_pimpl.C: ditto
16476 * paragraph.C: ditto
16477 * minibuffer.C: ditto
16478 * language.C: ditto
16480 * encoding.C: ditto
16481 * counters.C: ditto
16482 * converter.C: ditto
16484 * Variables.C: ditto
16485 * TextCache.C: ditto
16486 * MenuBackend.C: ditto
16487 * LyXAction.C: ditto
16489 * FloatList.C: ditto
16490 * DepTable.C: ditto
16491 * ColorHandler.C (LyXColorHandler): ditto
16493 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16495 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16497 * text2.C (openStuff): reintroduce this method (which had been
16498 nuked in NEW_INSETS frenzy).
16500 * lyxfunc.C (Dispatch): when an action has not been handled, use
16501 its name in the error message, not its number.
16503 * paragraph.C (inInset): change method name to begin with lowercase.
16506 * text2.C: updates because of this.
16508 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16510 * ToolbarDefaults.C (add): add spaces in error message
16512 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16514 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16515 (readLyXformat2): rename return_par to first_par, use lyxlex's
16516 pushToken and remove the manual push handling.
16517 (parseSingleLyXformat2Token): add another ert comp. variable:
16518 in_tabular, rename return_par to first_par. handle newlines better
16520 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16522 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16524 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16526 * text2.C (getParFromID): removed
16528 * buffer.C (getParFromID): new method moved form lyxtext.
16529 * BufferView2.C (insertErrors): adjust
16530 (setCursorFromRow): adjust
16531 * BufferView_pimpl.C (restorePosition): adjust
16532 * lyxfunc.C (Dispatch): adjust
16533 * undo_funcs.C (textUndo): adjust
16535 (textHandleUndo): adjust
16536 (textHandleUndo): adjust
16538 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16540 * buffer.C: up' the LYX_FORMAT
16542 * lyxfont.h: turn NO_LATEX on as default
16544 * buffer.C (insertErtContents): new methods of tex style compability.
16545 (parseSingleLyXformat2Token): use it several places.
16546 * tabular.C (OldFormatRead): and here
16548 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16550 * text2.C: remove some commented code.
16553 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16554 * trans.C: changes because of the above.
16556 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16558 * text2.C (setCounter): Fix counters bug with bibliography layout.
16560 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16562 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16563 own member functions
16564 (simpleTeXSpecialChars): ditto
16566 2001-07-06 Juergen Vigna <jug@sad.it>
16568 * a lot of files: changed the access to LyXText::status and the
16569 call of undo-functions.
16571 * undo.[Ch]: added a inset_id to the undo informations.
16573 * undo_funcs.[Ch]: added and moved here all undo functions.
16575 * lyxtext.h: give the status enum a weight, made status_ a private
16576 variable and made accessor functions for it, removed the whole bunch
16577 of undo-functions as they are now in their own file, make some
16578 functions publically available. Added function ownerParagraph with
16581 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16582 made InInset() a const function, added getParFromID() function.
16584 * buffer.[Ch]: added const version for inset_iterator functions,
16585 added getInsetFromID() function.
16587 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16588 changed undo functions for new version.
16590 2001-07-05 Juergen Vigna <jug@sad.it>
16592 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16593 unknow mechanism does not call the proper constructor but only this
16594 one also if I request the other!?
16596 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16598 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16600 * text2.C (LyXText): use initialization lists.
16602 * lyxtext.h (Selection): initialize set_ and mark_
16603 (init): remove method
16605 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16607 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16609 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16611 * screen.[Ch]: change method names to begin with lowercase
16613 * BufferView_pimpl.C (updateScrollbar): simplify further and
16614 hopefully make it a bit faster.
16616 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16618 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16619 calling directly xforms functions.
16621 * Painter.C (Painter):
16622 * lyx_cb.C (MenuWrite):
16623 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16626 * lyx_gui.C: remove bogus guiruntime extern declaration.
16628 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16630 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16632 (redoDrawingOfParagraph): ditto
16633 (redoParagraphs): ditto
16634 (cutSelection): don't create a object for CutAndPaste use the
16635 static method directly
16636 (pasteSelection): ditto
16638 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16641 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16643 * modifications to some other files because of this.
16645 * Makefile.am (lyx_SOURCES): add XFormsView
16647 * XFormsView.[Ch]: new files
16649 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16650 the main window. Move the gui dependent stuff to XFormsView
16652 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16654 * tabular.C (GetCellInset): update cur_cell also in the row/col
16655 version of this function.
16657 * lyxfunc.C: no need to include figure_form.h here.
16663 * lyxvc.C: no need to include forms.h here.
16665 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16667 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16669 * lyxfunc.C (Dispatch):
16671 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16672 constructor argument.
16674 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16676 * paragraph.C (Paragraph): dont't clear, and just set layout.
16677 (makeSameLayout): use params's copy contructor.
16679 * ParagraphParameters.[Ch] (makeSame): delete method
16681 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16683 * Variables.[Ch]: fix indentation, rename set to isSet
16685 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16687 * lyxfunc.C (Dispatch): fix typo
16689 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16691 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16694 * bufferlist.C: include assert.h for emergencyWrite().
16696 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16698 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16699 give up at last (bug #425202) !
16701 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16707 * spellchecker.C: strip spellchecker options and bring up
16708 preferences tab instead
16710 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16712 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16713 the istringstream constructor
16715 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16717 * paragraph.C (getLayout): fix return value
16719 * paragraph.h: do not declare getLayout as inline.
16721 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16723 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16725 * lyxcursor.h (operator<): new func
16726 (operator>): new func
16727 (operator>=): new func
16728 (operator<=): new func
16730 * text.C (changeCase): use selection.start and selection.end
16731 (changeRegionCase): require from to be <= to. Require par to be a
16734 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16736 2001-06-27 Juergen Vigna <jug@sad.it>
16738 * text.C (cursorLeftOneWord): changed to return the cursor and added
16739 overlay with BufferView * parameter which calls this one.
16741 (selectWord): use new getWord function.
16742 (changeCase): renamed from changeWordCase as and extended to work
16743 also on selections.
16745 * lyxtext.h: added enum word_location
16747 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16748 changeCase as this operates now also on selections.
16750 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16752 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16754 * many files: send debug output to Debug::INFO instead of
16757 * converter.C (View):
16759 (Move): send debug output to Debug::FILES instead of console.
16761 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16763 * lyxfunc.C (getStatus): use func_status
16765 * func_status.h: new header, describing the results of
16766 LyXFunc::getStatus;
16768 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16771 2001-06-25 The LyX Project <jug@sad.it>
16773 * buffer.C (sgmlOpenTag):
16775 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16777 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16779 * text2.C: remove some dead code
16781 * tabular.C (GetCellInset): store the last cell checked (gotten)
16783 * tabular.h: add the helper for the speedup
16785 * lyxtext.h: remove some dead code
16787 2001-06-26 The LyX Project <Asger>
16789 * paragraph.C: Change export to LaTeX of alignment to
16790 \begin{center} and family for better roundtrip work with reLyX.
16792 * Tune the math drawing a bit.
16794 2001-06-25 The LyX Project <Asger>
16796 * LColor.C (LColor): New color for math background. New color
16799 2001-06-25 The LyX Project <jug@sad.it>
16801 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16803 * lyxfunc.C (Open):
16804 * bufferlist.C (newFile): do not restrict to files ending with
16807 * BufferView_pimpl.C (MenuInsertLyXFile):
16809 2001-06-24 The LyX Project <jug@sad.it>
16811 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16814 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16816 * lyxtext.h: rename most methods to begin with a small char.
16817 Lots of changes because of this.
16819 * paragraph.C (Paragraph): do not call fitToSize
16820 (erase): call Pimpl::erase
16821 (insertChar): call Pimpl::insertChar
16822 (insertInset): call Pipl::insertInset
16823 (breakParagraph): do not call fitToSize
16824 (breakParagraphConservative): do not call fitToSize
16825 (fitToSize): remove method
16827 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16829 2001-06-24 The LyX Project <Asger>
16831 * Fix Qt compilation^2
16833 2001-06-24 The LyX Project <jug@sad.it>
16835 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16836 depthHook(getDepth()-1).
16839 * ParagraphParameters.h:
16840 * ParameterStruct.h: change type of depth to unsigned int ==
16841 depth_type. Many adaptations to other files before of that.
16843 2001-06-24 The LyX Project <Asger>
16845 * Fix Qt compilation.
16847 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16849 * paragraph.h: renamed several methods to begin with small letter.
16850 several changes to many parts of the code because of this.
16852 2001-06-23 The LyX Project <jug@sad.it>
16854 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16855 rewritten to discard all double spaces when KeepEmpty is off
16856 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16857 to only handle newlines but not fiddle with spaces and friends.
16859 * lyxfunc.C (MenuNew): when doing 'new from template', use
16860 template_path as default directory
16862 2001-06-23 The LyX Project <Asger>
16864 * Clean-up of header file includes all over
16865 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16867 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16869 * paragraph.h: renamed from lyxparagraph.h
16871 2001-06-23 Asger <lyx@violet.home.sad.it>
16873 * Buffer.h: Removed Buffer::resize
16874 * BufferList.h: Removed BufferList::resize
16875 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16876 the document lazily when we change the width, or the font settings.
16878 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16880 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16882 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16884 * buffer.h: remove out of date comment
16886 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16889 * screen.C: fix "theoretical" GC leak
16891 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16893 * LaTeX.C (scanAuxFile):
16894 (deplog): remove trailing \r when reading stream (useful under
16897 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16899 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16900 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16901 and BufferView::theLockingInset(Inset*), so should use them and not
16902 access bv_->text->the_locking_inset directly.
16904 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16906 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16909 * tex-defs.h: remove old unused file
16911 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16913 * BufferView_pimpl.C: fix typo, remove minibuffer message
16914 when buffer has loaded
16916 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16918 * lyxfunc.C (Dispatch): use stringstream
16919 (MenuNew): use stringstream
16920 (Open): use stringstream
16922 * importer.C (Import): use stringstream
16924 * bufferview_funcs.C (CurrentState): use stringstream
16926 * LaTeX.C (run): use stringstream
16928 * BufferView_pimpl.C (savePosition): use stringstream
16929 (restorePosition): use stringstream
16930 (MenuInsertLyXFile): use stringstream
16932 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16945 * vspace.C: removed // -*- C++ -*- as first line.
16948 * version.h: added // -*- C++ -*- as first line.
16950 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16952 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16954 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16957 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16959 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16962 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16964 * gettext.C: include LString.h even when --disable-nls is on.
16966 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16968 * converter.h (Get): changed argument type from int to
16969 FormatList::size_type to avoid unnecessary conversion.
16971 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16974 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16976 * gettext.h: include LString.h even when --disable-nls is on.
16978 2001-06-07 Juergen Vigna <jug@sad.it>
16980 * text.C (BreakAgain): subst spaces with tabs.
16982 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16983 (resizeInsetsLyXText): set force on resizeLyXText.
16985 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16987 * gettext.h (gettext_init):
16988 (locale_init): use a real definition instead of a macro
16990 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16992 * Bufferview_pimpl.C:
16994 * LColor.C: further lcolor tidies
16996 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16998 * BufferView_pimpl.C (updateScrollbar): simplify.
17000 * BufferView2.C: don't include insets/insetinfo.h, change
17001 prototype for insertInset and call the Pimpl version. let
17002 updateInset call Pimpl version.
17004 * BufferView.h: move inset_slept to BufferView::Pimpl, move
17005 gotoInset to BufferView::Pimpl
17007 2001-06-01 Juergen Vigna <jug@sad.it>
17009 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17010 inside a LockingInset (is the update needed at all?).
17012 2001-05-31 Juergen Vigna <jug@sad.it>
17014 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17015 here not the old one otherwise how should we compare it afterwards
17018 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17023 * FontInfo.C: bring C functions into global namespace when
17026 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17028 * LString.h: make sure config.h has been loaded before LString.h.
17030 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17031 (one for each char read by EatLine!).
17033 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17036 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
17038 * paragraph.C (BreakParagraph): set the inset_owner in the new par
17039 to the same as the par we break from
17041 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
17043 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17045 * MenuBackend.C (expand): also create menu entries for wide
17046 versions of the floats.
17048 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17050 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17052 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17053 frontends/Makefile.am
17059 * tabular.C (getTokenValue): add std::
17061 * tabular-old.C (getTokenValue): add std::
17062 (getTokenValue): ditto
17063 (getTokenValue): ditto
17065 * screen.C (ToggleSelection): adjust
17067 * lyxtext.h: put selection cursors inside a Selection struct.
17069 * lyxfunc.C (moveCursorUpdate): adjust
17071 * lyxfont.C (latexWriteStartChanges): add std::
17073 * lyxfind.C: adjust
17075 * font.h: delete with(char const *, LyXFont const &)
17077 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17079 * FontInfo.C (getFontname): add std::
17081 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17082 (workAreaButtonPress): adjust
17083 (tripleClick): adjust
17085 (moveCursorUpdate): adjust
17088 * BufferView2.C (gotoInset): adjust
17090 2001-05-30 Juergen Vigna <jug@sad.it>
17092 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17093 to check pspell I add this as default as I now have new pspell
17094 libraries and they seem to use this.
17096 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
17098 * text2.C (CutSelection): make the cursor valid before the call to
17101 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17103 * kbsequence.C (parse): de-uglify a bit the parsing code, which
17104 relied on 0 terminated strings and other horrors. Bug found due to
17105 the new assert in lyxstring!
17107 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17110 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
17112 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17115 * lyxfunc.C (processKeySym): change method of getting to the
17118 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17119 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17120 * BufferView_pimpl.[Ch]: here as private methods.
17122 2001-05-28 Juergen Vigna <jug@sad.it>
17124 * text.C (SetHeightOfRow): added the update() call again as it is
17125 needed to initialize inset dimensions!
17127 2001-05-16 Juergen Vigna <jug@sad.it>
17129 * text2.C (SetCharFont): Add new function with BufferView * and
17130 bool toggleall parameters for setting insets internal fonts.
17131 (SetFont): Freeze the undo as we may change fonts in Insets and
17132 all this change should be inside only one Undo!
17134 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17135 setting font's in insets as for them we have the SetFont function!
17137 2001-05-15 Juergen Vigna <jug@sad.it>
17139 * text2.C (ClearSelection): to be sure we REALLY don't have any
17142 * tabular.C (TeXCellPreamble): fixed the left border problem for
17145 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
17147 * LaTeX.C (deplog): Make sure that the main .tex file is in the
17150 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
17152 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17153 LFUN_BREAKPARAGRAPH.
17155 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17156 help test to "internal only", similar for LFUN_INSERT_URL
17158 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17159 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17160 auto_region_delete and deadkeys.
17162 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17165 * LColor.C: remove some dead entries, tidy a little
17167 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17169 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17171 (Dispatch): implement LFUN_ESCAPE
17173 * commandtags.h: add LFUN_ESCAPE
17175 * LyXAction.C (init): add entry for LFUN_ESCAPE
17177 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17178 Remove commented code.
17179 (insertNote): moved here
17180 (open_new_inset): moved here
17182 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17185 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17187 * kbmap.C (findbinding): clean it up and make it work correctly.
17189 * lyx_main.C (init): do not pass argc and argv as parameters
17191 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17193 * buffer.C: fix path for OS/2 & Win32
17197 * lyx_main.C: Added os:: class.
17199 * os2_defines.h: update
17201 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17203 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17204 better by trying again with reduced state.
17206 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17208 * lyxrc.C (read): print error about invalid key sequence only when
17209 debugging (because not all latinX keysyms are known to some X
17212 * kbsequence.C (getiso): add a few std:: qualifiers
17213 (getiso): comment out extra return statement.
17215 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17217 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17219 (Dispatch): enhance the accent inset a bit. (not perfect)
17221 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17223 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17225 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17227 * bufferlist.C (emergencyWrite): fix assert() call
17229 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17231 * text.C (InsertChar): Added trivial patch to only send the "you
17232 can not do multiple spaces this way" message once during a
17235 2001-05-08 Baruch Even <baruch@lyx.org>
17237 * Makefile.am: Changed order of libraries to get LyX to link properly
17238 with the gnome frontend.
17240 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17242 * LaTeXFeatures.h: add a std:: qualifier
17244 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17246 * paragraph.C (String): use stringstream
17248 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17250 * paragraph.C (writeFile): remove footflag arg
17252 * buffer.C (makeLaTeXFile): use stringstream
17253 (latexParagraphs): remove footnot gurba
17255 * LaTeXFeatures.C (getPackages): use stringstream
17256 (getMacros): likewise
17257 (getTClassPreamble): likewise
17258 (getFloatDefinitions): new method
17260 * paragraph.C (writeFile): reindent
17263 * WorkArea.h: revert the xpos + etc changes.
17265 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17267 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17269 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17270 (pasteSelection): likewise
17271 * text2.C (CreateUndo): likewise
17273 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17275 * minibuffer.C (peek_event): temporarily reduce the functionality
17276 of the minibuffer (to allow args on lfuns)
17278 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17279 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17281 * buffer.C (readInset): add compability reading of old float
17282 lists, add reading of new style float list.
17283 (readInset): avoid reevaluation of inscmd.getCmdName()
17284 (getLists): reindent
17286 * MenuBackend.C (MenuItem): implement parsing of
17287 md_floatlistinsert and md_floatinsert.
17288 (expand::LastFiles): move initalizaton of iterators out of loop,
17289 avoid reevaluation.
17290 (expand::Documents): introduce typdedef vector<string> Strings,
17292 (expand::ExportFormats): introduce typedef vector<Format const *>
17293 Formats, and use it.
17294 (expand): implement FloatListInsert and FloatInsert.
17296 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17297 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17298 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17300 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17302 (Dispatch::LFUN_FLOAT_LIST): implement
17304 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17306 * LaTeX.C (run): Fix problem with --export code.
17308 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17310 * BufferView.[Ch] (workarea): removed.
17311 (getClipboard) new method; wrapper for workarea()->getClipboard()
17313 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17316 * WorkArea.h (width, height, xpos, ypos): These methods all
17317 returned the dimensions of the work_area sub-area of WorkArea,
17318 resulting in a position error if the WorkArea were resized. Now
17319 return the dimensions of the entire WorkArea.
17321 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17323 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17325 * LaTeX.C (deplog): correct the syntax of regex reg1
17327 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17329 * undo.C: remove !NEW_INSETS cruft
17331 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17333 * text2.C: remove !NEW_INSETS cruft
17335 * text.C: remove !NEW_INSETS cruft
17337 * tabular.C: remove !NEW_INSETS cruft
17339 * spellchecker.C: remove !NEW_INSETS cruft
17341 * lyxtext.h: remove !NEW_INSETS cruft
17343 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17345 * lyxfunc.C: remove !NEW_INSETS cruft
17347 * lyxfind.C: remove !NEW_INSETS cruft
17349 * lyx_cb.C: remove !NEW_INSETS cruft
17351 * figureForm.C: remove !NEW_INSETS cruft
17353 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17355 * buffer.[Ch]: remove !NEW_INSETS cruft
17357 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17359 * CutAndPaste.C: remove !NEW_INSETS cruft
17361 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17363 * BufferView2.C: remove !NEW_INSETS cruft
17365 * BufferView.h: remove !NEW_INSETS cruft
17367 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17369 * Lsstream.h: include LString.h before the sstream headers to
17370 fix problem with gcc 2.95.3 and lyxstring
17372 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17374 * lyx_main.C: add using directives when needed for C functions
17375 declared in std:: namespace.
17377 2001-04-27 Juergen Vigna <jug@sad.it>
17379 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17380 (SetHeightOfRow): comment out the update call should not be needed!
17382 2001-04-13 Juergen Vigna <jug@sad.it>
17384 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17385 (LyXTabular): tried to minimize operator= operations (and realized
17386 hopfully Lars wish).
17388 2001-04-27 Juergen Vigna <jug@sad.it>
17390 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17392 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17394 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17396 * buffer.C (readInset): hack to make listof algorithm work
17398 * BufferView_pimpl.C: hack to make listof algorithm work
17400 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17402 * LyXAction.C: removed all !NEW_INSETS cruft
17403 (init): moved lfun_item in method
17405 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17407 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17409 * BufferView2.C (theLockingInset): white space.
17411 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17413 * minibuffer.C: include <iostream>
17415 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17417 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17419 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17421 * text.[Ch] (TransposeChars): new method
17423 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17425 * call message directly through LyXView instead of through LyXFunc
17426 * BufferView2.C: adjust
17427 * BufferView_pimpl.C: adjust
17428 * FontLoader.C: adjust
17430 * bufferview_funcs.C: adjust
17431 * converter.C: adjust
17432 * figureForm.C: adjust
17433 * importer.C: adjust
17435 * lyx_gui_misc.C: adjust
17436 * lyxfunc.C: adjust
17439 + more files in subdirs
17441 * lyxparagraph.h (size): move up int file
17444 * adjust all uses of Assert to lyx::Assert.
17446 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17447 lyxfunctional in namespace lyx
17448 * layout.C (hasLayout): ditto
17451 (delete_layout): ditto
17452 (NumberOfClass): ditto
17453 * converter.C (GetFormat): ditto
17458 * bufferlist.C (getFileNames): ditto
17459 (emergencyWriteAll): ditto
17462 * MenuBackend.C (hasSubmenu): ditto
17465 * BufferView_pimpl.C (getInsetByCode): ditto
17467 2001-04-18 Juergen Vigna <jug@sad.it>
17469 * vspace.C (asLatexString): fixed the 100% problem.
17471 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17473 * lyxfunc.C (Dispatch):
17475 * minibuffer.h: add a few std:: qualifiers
17477 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17479 * minibuffer.[Ch]: reimplement so that commands is initiated and
17480 run from lyxfunc, simplified som handling, and made the completion
17481 and history code for complete. wip.
17483 * lyxfunc.C (processKeySym): call message
17484 (miniDispatch): new temporary method
17485 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17486 (LFUN_MESSAGE): implement
17487 (LFUN_MESSAGE_PUSH): implement
17488 (LFUN_MESSAGE_POP): implement
17489 (initMiniBuffer): the initial/defualt minibuffer message.
17491 * lyxfont.[Ch]: inline some more getters
17493 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17495 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17497 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17498 (AutoSave): use LFUN_MESSAGE
17499 (Reconfigure): ditto
17501 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17503 * figureForm.C: use LFUN_MESSAGE
17505 * converter.C (runLaTeX): use LFUN_MESSAGE
17507 * bufferview_funcs.C: use LFUN_MESSAGE
17509 (changeDepth): ditto
17511 * bufferparams.h: use boost::
17513 * bufferlist.h: inherit privately from noncopyable
17515 * bufferlist.C (loadLyXFile): remove some commented code.
17517 * buffer.C (runChktex): use LFUN_MESSAGE
17519 * ShareContainer.h: inherit privately from noncopyable
17521 * ParagraphParameters.[hC] (depth): inline it.
17523 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17525 (message): new method
17526 (messagePush): ditto
17527 (messagePop): ditto
17528 (show): init minibuffer
17529 (showState): direct call
17531 * LaTeX.[Ch]: inherit privately from noncopyable
17532 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17533 instead of WriteStatus.
17535 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17537 * BufferView_pimpl.C (buffer): don't init minibuffer
17538 (workAreaButtonPress): use LFUN_MESSAGE
17539 (workAreaButtonRelease): ditto
17540 (savePosition): ditto
17541 (restorePosition): ditto
17542 (MenuInsertLyXFile): ditto
17543 (workAreaExpose): don't init minibuffer
17544 (update): remove commented code, simplify
17546 * BufferView2.C (openStuff): use LFUN_MESSAGE
17547 (toggleFloat): ditto
17550 (copyEnvironment): ditto
17551 (pasteEnvironment): ditto
17556 (updateInset): remove some commented code
17558 * lastfiles.h: inherit privately from noncopyable
17561 * lyx_main.h: ditto
17563 * lyxlex_pimpl.h: ditto
17565 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17566 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17567 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17569 * LyXAction.h: inherit privately from noncopyable, add methods
17570 func_begin, func_end, returning iterators to the func map.
17572 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17573 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17574 (func_begin): new method
17575 (func_end): new method
17577 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17579 (copySelection): ditto
17580 (pasteSelection): ditto
17582 * BufferView.C: whitespace change
17583 * BufferView.h: inherit privately from noncopyable
17585 2001-04-16 Allan Rae <rae@lyx.org>
17587 * tabular-old.C (l_getline):
17588 * spellchecker.C (sc_check_word):
17589 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17590 an unrecognised preprocessor directive. So ensure they're wrapped.
17592 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17594 * src/exporter.C (Export): Give an error message when path to file
17597 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17599 * LaTeX.C (deplog): Always check that foundfile exists.
17601 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17604 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17606 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17608 * tabular.[Ch] (getLabelList): implement new method
17610 * minibuffer.h: comment ouf setTiimer
17612 * minibuffer.C (ExecutingCB): constify res
17613 (peek_event): constify s
17614 (Set): constify ntext
17615 (Init): constify nicename
17617 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17619 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17620 (savePosition): use two params to Minibuffer::Set
17621 (restorePosition): ditto
17623 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17625 * lyx_main.C: include language.h
17627 * Makefile.am (lyx_main.o): add language.h
17629 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17635 * CutAndPaste.C: include gettext.h
17637 * lyxfont.h: remove old hack with ON and OFF.
17640 * lyxfont.h: do not include language.h...
17645 * bufferview_funcs.C:
17651 * paragraph.C: ... but do it here instead
17653 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17655 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17657 * tabular.C: small reformat
17659 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17662 (BreakParagraph): ditto
17663 (SetOnlyLayout): ditto
17666 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17669 * lastfiles.C: removed most using decl, add std:: where needed
17671 * buffer.C: ws changes
17673 * MenuBackend.C (class compare_format): put into anon namespace
17674 (expand): constify label, names, action, action2
17677 * text.C (SingleWidth): constify font
17678 (IsBoundary): constify rtl2
17679 (GetVisibleRow): constify ww
17681 * LaTeX.C (deplog): constify logfile
17683 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17685 (workAreaExpose): constify widthChange, heightChange
17687 * lyxrow.C (par): moved
17690 * lyxrow.h: as inlines here
17692 * lyxfont.h (shape): moved from lyxfont.C
17693 (emph): moved from lyxfont.C
17695 * lyxfont.C (LyXFont): use initialization list for all
17697 (shape): move to lyxfont.h as inline
17698 (emph): move to lyxfont.h as inline
17701 2001-04-04 Juergen Vigna <jug@sad.it>
17703 * vspace.C: had to include stdio.h for use of sscanf
17705 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17708 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17709 independent of xforms.
17711 2001-04-02 Juergen Vigna <jug@sad.it>
17713 * spellchecker.C: fixed namespace placing!
17715 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17717 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17718 the LyXParagraph * is 0.
17720 2001-03-29 Juergen Vigna <jug@sad.it>
17722 * vspace.C: added support for %, c%, p%, l%.
17723 (stringFromUnit): added helper function.
17724 (asLatexString): changed to give right results for the %-values.
17726 * buffer.C: convert the widthp in a width%.
17728 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17730 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17733 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17734 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17736 * lyx_cb.[Ch]: see above.
17738 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17742 * lyx.[Ch]: replaced by figure_form.[Ch].
17746 * lyxfunc.C: changed headers associated with above changes.
17748 2001-03-27 Juergen Vigna <jug@sad.it>
17750 * BufferView_pimpl.C: set the temporary cursor right!
17752 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17754 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17756 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17758 * LString.h: removed "using std::getline"!
17760 * BufferView_pimpl.C (Dispatch): changes due to changes in
17761 InsetInclude::Params.
17763 * buffer.C (tag_name): removed redundant break statements as they were
17764 producing lots of warnings with my compiler.
17766 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17768 * LString.h: add "using std::getline" when using the real <string>.
17770 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17772 * buffer.C: removed bitset usage.
17773 PAR_TAG moved to an anonymous name space.
17774 (tag_name): new funtion, also in the anonymous namespace.
17775 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17776 (makeDocBookFile): clean code. Completed transition from string arrays
17778 (SimpleDocBookOnePar): code clean.
17780 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17782 * tabular.C: add some comments.
17784 2001-03-22 Juergen Vigna <jug@sad.it>
17786 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17787 compatibility read a bit and fixed bug with minipage in different
17790 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17792 * buffer.C (pop_tag): removed.
17793 (push_tag): removed.
17794 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17795 array replaced with vector. Added support for CDATA sections.
17796 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17798 (makeDocBookFile): XML conformant declaration of CDATA section,
17799 fixed bug related to <emphasis> in the first paragraph char.
17800 (sgmlOpenTag): exclude empty tags.
17801 (sgmlCloseTag): ditto.
17803 * buffer.h (pop_tag): removed.
17804 (push_tag): removed.
17806 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17808 * language.h (Languages): added size_type and size().
17810 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17812 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17813 response on compability reading of minipages. One probliem is that
17814 the old usage of minipages was flertydig
17816 * several files here and in subdirs: don't use static at file
17817 scope use anon namespaces instead.
17819 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17821 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17822 LaTeX output. This is necessary for Literate document
17825 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17827 * buffer.C: insert hfill when needed.
17829 * tabular.C (l_getline): use string::erase, small whitespace change.
17831 * BufferView_pimpl.C: try the anon namespace.
17832 * WorkArea.C: ditto
17834 2001-03-16 Juergen Vigna <jug@sad.it>
17836 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17837 otherwise it won't open options-dialogs.
17839 * buffer.C: honor pextraWidth(p) on converting minipages.
17841 * tabular.C (l_getline): changed the functions to strip trailing \r.
17843 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17845 * BufferView_pimpl.C:
17846 * minibuffer..C: added "using SigC::slot" declaration.
17848 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17850 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17856 * paragraph.C: ditto
17858 * lyxtext.h: NO_PEXTRA
17860 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17862 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17863 * ParameterStruct.h: ditto
17864 * ParagraphParameters.h: ditto
17865 * lyxparagraph.h: ditto
17867 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17869 * buffer.C: add compability for minipage alignment.
17870 (latexParagraphs): remove unwanted pextra check.
17872 * several files: remove CXX_WORKING_NAMESPACES
17874 * buffer.C (pop_tag): tie is in namespace boost
17876 * BufferView.h: noncopyable is in namespace boost
17878 * lyx_main.h: ditto
17881 * lastfiles.h: ditto
17882 * bufferlist.h: ditto
17883 * ShareContainer.h: ditto
17885 * LyXAction.h: ditto
17888 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17890 * Merging changes from BRANCH_MVC back into HEAD.
17892 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17894 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17896 * BufferView_pimpl.C: change from intl.C
17900 * Makefile.am: move combox.*
17906 * intl.C: remove dialog (covered by prefs)
17908 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17910 * lyxfunc.C (Dispatch): removed redundant break statement.
17912 2001-03-14 Juergen Vigna <jug@sad.it>
17914 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17916 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17918 * buffer.C: add hack to fix compability reading of minipages.
17920 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17922 * buffer.C (getLists): Cleanup.
17924 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17926 * lyxfont.C (update): don't honor toggleall on font size.
17928 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17932 * Makefile.am: moved to frontends/xforms/
17936 * BufferView_pimpl.C: changes for moved mathpanel
17938 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17940 * gettext.h: fix gettext_init() in --disable-nls
17942 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17944 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17946 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17949 * lyx.h: strip external form
17951 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17953 * BufferView_pimpl.C: add comment, destroySplash()
17955 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17957 * BufferView_pimpl.C:
17961 * lyxfunc.C: use re-worked insetinclude
17963 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17965 * buffer.C: add using std::stringstream.
17967 * lyx_cb.C: readd using std::ios.
17969 * buffer.C: add using std::map.
17971 * BufferView_pimpl.C: add using std::vector.
17973 * ShareContainer.h: add std:: to swap.
17975 * buffer.h: add some typedefs
17976 * buffer.C (getLists): use them
17977 (getLists): renamed from getTocList.
17978 add a counter for the different float types and use it in the
17980 (getLists): use the same counter for the NEW_INSETS and the "non"
17983 * lyx_cb.h: remove unused items, includes, using etc.
17985 * ShareContainer.h: remove some commented code, add more comments
17986 and "documentation".
17988 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17990 * buffer.C (getTocList): make the list also when NEW_INSETS is
17993 * buffer.h: remove TocType
17995 * buffer.C (getTocList): change to return a map<string,
17996 vector<TocItem> >, implement for dynamic number of list.
17998 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17999 * text2.C (PasteSelection): adjust
18000 * CutAndPaste.C (pasteSelection): adjust
18002 * FloatList.C (FloatList): update from the new_insets branch.
18003 * Floating.[Ch]: ditto
18004 * LaTeXFeatures.C: ditto
18006 * lyxlex_pimpl.C: ditto
18008 * paragraph.C (Last): remove when NEW_INSETS is defined.
18010 * other file: changes because of the above.
18012 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18014 * lyxparagraph.h: rename next to next_, previous to previous_,
18015 make them private for NEW_INSETS. Rename Next() to next(),
18016 Previous() to previous().
18018 * other files: changes because of the above.
18020 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
18023 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18026 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18028 * main.C (main): pass lyx_localedir to gettext_init().
18030 * gettext.h: remove locale_init and gettext_init macros
18032 * gettext.C (locale_init): new function
18033 (gettext_init): new function
18035 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18038 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
18040 * Moved credits to frontends:
18041 * credits.[Ch]: removed
18042 * credits_form.[Ch]: removed
18043 * lyx_gui_misc.C: remove credits stuff
18046 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18048 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18050 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18051 unneeded destructor.
18053 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18054 a standalone pointer again.
18056 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18058 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
18064 * ToolbarDefaults.C:
18073 * BufferView_pimpl.C: use new file dialog in GUII
18076 * lyx_cb.C: remove LayoutsCB to Toolbar
18078 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18080 * ShareContainer.h (get): add std:: qualifier
18082 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18084 * ShareContainer.h: define a proper ShareContainer::value_type
18085 type (and use typename to please compaq cxx)
18087 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18089 * lyxparagraph.h: move serveral local vars to
18090 ParameterStruct/ParagraphParameters., use ShareContainer in
18091 FontTable., make vars in FontTable private and add getter and
18094 * paragraph.C: changes because of the above.
18096 * lyxfont.h: remove copy constructor and copy assignment. (the
18097 default ones is ok), move number inside FontBits. move inlines to
18100 * lyxfont.C: add number to initializaton of statics, move several
18101 inlines here. constify several local vars. some whitespace
18102 cleanup. Dont hide outerscope variables.
18104 * Spacing.h: add two new constructors to match the set methods.
18106 * ShareContainer.h: new file, will perhaps be moved to support
18108 * ParameterStruct.h: new file
18110 * ParagraphParameters.h: new file
18112 * ParagraphParameters.C: new file
18114 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18115 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18117 * BufferView_pimpl.C: ParagraphParameter changes.
18118 * buffer.C: Likewise.
18119 * bufferview_funcs.C: Likewise.
18120 * text.C: Likewise.
18121 * text2.C: Likewise.
18123 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18125 * lyxfind.C (LyXReplace): do not redefine default argument in
18127 (IsStringInText): ditto
18128 (SearchForward): ditto
18129 (SearchBackward): ditto
18131 2001-03-06 Juergen Vigna <jug@sad.it>
18133 * lyxfind.C (IsStringInText): put parentes around expressions.
18135 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
18137 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18139 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
18141 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18143 * stl_string_fwd.h: add comment
18145 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18148 * tabular.C: remove unused DocBook methods
18154 killed DO_USE_DEFAULT_LANGUAGE
18156 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18158 * lyx_gui.C: do not include language.h.
18160 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18161 arguments in function implementation.
18163 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18165 * BufferView_pimpl.C: add <ctime>
18167 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18169 * BufferView_pimpl.C: add using std::find_if
18171 2001-02-27 José Matos <jamatos@fep.up.pt>
18173 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18176 2001-02-11 José Matos <jamatos@fep.up.pt>
18178 * buffer.C (makeDocBookFile): command styles now have a parameter as
18179 "title" by default.
18181 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18183 * layout_forms.[Ch]: removed
18184 * lyx_cb.[Ch]: out character
18185 * lyx_gui.C: out character
18186 * lyx_gui_misc.C: out character
18187 * bufferview_funcs.C: : out character,
18188 added toggleall as parameter in ToggleAndShow
18190 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18192 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18194 * text2.C (SetCurrentFont): Disable number property at boundary.
18196 2001-02-26 Juergen Vigna <jug@sad.it>
18198 * lyxfunc.C (getStatus): added a string argument override function so
18199 that this is correctly called from LyXFunc::Dispatch if it contains a
18200 do_not_use_argument which is used!
18201 (Dispatch): added check for "custom" export and call appropriate func.
18203 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18205 * lyxrc.C: Add language_command_local, language_use_babel and
18206 language_global_options.
18208 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18210 * buffer.C (makeLaTeXFile): Use language_use_babel and
18211 language_global_options.
18213 2001-02-23 Juergen Vigna <jug@sad.it>
18215 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18216 which works with LyXText and putted it inside BufferView. Here now we
18217 only call for that part the BufferView::Dispatch() function.
18219 * BufferView.C (Dispatch): added.
18221 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18222 functions which needs to use a LyXText over from LyXFunc.
18223 (MenuInsertLyXFile): added
18224 (getInsetByCode): added
18225 (moveCursorUpdate): added
18226 (static TEXT): added
18228 2001-02-22 Juergen Vigna <jug@sad.it>
18230 * BufferView_pimpl.C (update): call a status update to see if LyXText
18233 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18235 * vc-backend.C (revert): implement for CVS
18236 (getLog): implement for CVS
18238 2001-02-20 Juergen Vigna <jug@sad.it>
18240 * text2.C (ClearSelection): added BufferView param for inset_owner call
18242 * lyxfunc.C (TEXT): added this function and use it instead of
18243 directly owner->view()-text of getLyXText().
18245 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18247 * src/layout_forms.C: out preamble
18248 * src/layout_forms.h: out preamble
18249 * src/lyx_cb.C: out preamble
18250 * src/lyx_cb.h: out preamble
18251 * src/lyx_gui.C: out preamble
18252 * src/lyx_gui_misc.C: out preamble
18253 * src/lyxfunc.C: connect with guii preamble
18255 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18257 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18259 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18261 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18262 whether to run bibtex.
18264 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18266 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18268 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18270 * Makefile.am (lyx_SOURCES): removed bibforms.h
18272 * vspace.h: doxygen
18274 * text.C (GetVisibleRow): make several local vars const
18276 * tabular.C: small cleanup.
18278 * lyxserver.C (callback): use compare instead of strncmp
18280 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18281 inlines to after class or to paragraph.C
18283 * lyxfont.h: remove friend operator!=
18285 * converter.h: move friend bool operator< to non friend and after
18288 * combox.h: small cleanup
18290 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18291 to inlines after class def.
18293 * buffer.C (pop_tag): use string operations instead of strcmp
18295 * bmtable.c: doxygen, small cleanup
18297 * LaTeX.h: remove friend operator==
18299 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18311 * BufferView_pimpl.C:
18312 * BufferView.[Ch]: remove cruft
18314 2001-02-14 Juergen Vigna <jug@sad.it>
18316 * lyxfunc.C: removed #if 0 unused code
18318 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18320 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18322 * text2.C (SetSelection): added a BufferView * parameter
18324 2001-02-13 Juergen Vigna <jug@sad.it>
18326 * lyxfunc.C (Dispatch): fixed protected blank problem.
18327 * BufferView2.C (protectedBlank): added LyxText * parameter.
18329 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18330 (AppendColumn): same as above for column_info.
18332 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18333 (moveCursorUpdate): use a LyXText param for support of InsetText.
18335 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18336 (tripleClick): ditto
18338 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18340 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18342 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18344 * text2.C (SetSelection): set correct update status if inset_owner
18345 (ToggleFree): ditto
18347 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18349 * tabular.C: remove some commented code.
18351 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18353 * BufferView_pimpl.C: call hideSplash()
18355 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18358 * bibforms.h: remove
18361 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18362 add LFUN_CHILD_CREATE
18364 * counters.h: fix tiny typo
18369 * lyx.C: move splash to frontends/xforms/
18371 * lyx_gui_misc.C: move Include and Bibform to frontends
18373 * lyxvc.h: clarify comment
18375 * vspace.C: tiny housekeeping
18377 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18379 * text.C (PrepareToPrint): RTL Fix.
18381 * paragraph.C (GetUChar): New method.
18382 (String): Use GetUChar.
18384 * buffer.C (asciiParagraph): Use GetUChar.
18386 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18388 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18390 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18393 * buffer.C: rename to getLogName(), handle
18394 build log / latex log nicely
18396 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18399 * MenuBackend.h: remove support for reference menuitem type.
18401 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18403 * BufferView_pimpl.C: housekeeping
18404 * BufferView_pimpl.h:
18409 * minibuffer.h: move Timeout GUI-I
18411 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18413 * lyxrc.C (read): Update converters data-structures.
18415 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18417 * LaTeX.h (operator!=): add operator != for Aux_Info
18419 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18421 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18423 * LaTeXLog.C: deleted, useful code moved to Buffer
18426 * buffer.C: new function getLatexLogName()
18432 * lyxfunc.C: use frontends for LaTeX and VC logs
18434 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18436 * LaTeX.h: yet another std:: that Allan forgot.
18438 * Variables.C (set): renamed from isset(), because this clashes
18439 with some HP-UX macros (grr).
18441 2001-02-06 Allan Rae <rae@lyx.org>
18443 * LaTeX.h: Another bug fix. Missing std:: this time.
18445 2001-02-04 Allan Rae <rae@lyx.org>
18447 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18448 floats problem. I've left it commented out because it's not quite
18449 correct. It should also test that the current object is a table or
18450 figure inset. But I haven't gotten around to figuring out how to do
18451 that. I *think* it'll be something like: "table" == inset.type()
18453 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18456 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18458 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18459 all the citation/databases/styles in the auxilary file.
18460 (run): Rerun latex if there was a babel language error.
18462 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18464 * text.C (Backspace): Preserve the font when changing newline char
18466 (BreakParagraph): If the cursor is before a space, delete the space.
18468 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18470 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18472 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18473 new argument (code).
18474 (ChangeCitationsIfUnique): New method.
18476 * paragraph.C (GetPositionOfInset): Handle bibkey.
18478 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18480 * BufferView_pimpl.h: change type of Position::par_pos to
18481 LyXParagraph::size_type.
18483 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18485 * BufferView_pimpl.C (savePosition, restorePosition): Write
18486 messages to minibuffer.
18488 2001-01-28 José Matos <jamatos@fep.up.pt>
18490 * buffer.C (makeDocBookFile): adds support for document language.
18491 A silly restriction on the name of LatexCommand types where removed.
18492 Added support for CDATA sections, allows to chars unescaped, used
18493 among others in code, to avoid escape < and >.
18495 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18497 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18498 saved positions instrad of a stack. Furthermore, a position is
18499 stored using paragraph id/paragraph position.
18501 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18502 Remove LFUN_REF_BACK.
18504 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18506 * converter.C (dvipdfm_options): New method.
18508 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18510 * vspace.C (isValidLength): Fix for empty input string.
18512 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18514 * LyXAction.C (init): change description of LFUN_FIGURE to
18517 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18519 * LaTeX.C: add using directive
18521 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18523 * MenuBackend.C (expand): Fix the sorting of the formats.
18525 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18527 * lyx_main.C: tiny error message fix
18529 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18531 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18532 calling fl_initialize(). This fixes the problem with ',' as
18533 decimal separator in text files.
18535 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18537 * trans.C (process): Fix the keymap bug.
18539 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18541 * LaTeX.C (scanAuxFiles): New method. Provides support for
18542 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18543 (scanLogFile) Scan for "run BibTeX" messages.
18545 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18546 OT1 font encoding. Also, load the aecompl package if the ae
18549 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18551 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18553 * texrow.C (increasePos): turn two error messages into debug
18556 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18558 * LaTeX.C (scanAux): Handle the \@input macro.
18559 (runBibTeX): Use scanAux().
18561 * language.C (latex_options_): New field.
18563 * LaTeXFeatures.C (getMacros): Add language macros.
18565 * buffer.C (makeLaTeXFile): Small fix.
18567 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18569 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18571 * text2.C: add a using directive.
18573 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18578 * lyxfunc.C: kill LyXBell.
18580 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18582 * text.C (IsBoundary): Remove the error message
18584 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18586 * lyxrc.C (setDefaults): Correct initialization value for
18589 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18591 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18594 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18595 and GotoNextNote().
18597 * src/LyXAction.C: Added reference-next.
18599 * text.C (InsertChar): Use contains instead of strchr.
18601 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18603 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18605 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18606 alignment commands (when needed).
18608 * text.C (InsertChar): Add ':' to number separator chars.