1 2005-11-03 Michael Gerz <michael.gerz@teststep.org>
3 * messages.C: fix crash and localization on MinGW/Windows platform
5 2005-11-02 Angus Leeming <leeming@lyx.org>
8 * lyxtextclass.C: trivial fixes to some MSVS warnings.
10 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12 * text3.C (getStatus): re-enable disabled code. (bug 2081)
14 * BranchList.h (empty): constify.
16 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
18 * text3.C (getStatus):
19 * MenuBackend.C (expandBranches): take the branch list from the
20 master document (bug 2092).
22 * MenuBackend.C (expandBranches):
23 * bufferparams.C (writeFile): use BranchList type.
25 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
27 * text3.C (dispatch, getStatus):
29 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
31 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
33 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
35 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
37 * text.C (insertChar): do not reset boundary (bug 2061)
39 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
41 * dociterator.C (updateInsets): new method. Updates the inset_
42 cache of all the slices of the iterator.
44 * text2.C (deleteEmptyParagraphMechanism): compare also containing
45 insets when comparing pit/pos; pass the right cursor to
46 recordUndo; when a paragraph has been deleted, compare `old.top()' to
47 the right cursor slice of `cur'; use updateInsets on cur to make
48 sure that the inset caches are correct; general cleanup.
50 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
52 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
53 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
54 containg inset. If this does not work, the same command will be
55 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
57 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
60 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
62 * lyxtextclass.C (Read): convert layout file if the format is wrong
63 * lyxtextclass.C (layout2layout): new, needed for the above
65 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
67 * messages.C: do not forget to include <cerrno>.
69 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
71 * dociterator.h (StableDocIterator): add access to pos().
72 * undo.C (samePar): new method to check if two
73 iterators are in the same paragraph
74 * undo.C (recordUndo): check for samePar instead of cell identity
75 (which includes pos() and is too strict) (fixes bug 2097)
77 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
79 * text.C (setCursorFromCoordinates): return a bool telling whether
82 * text3.C (cursorPrevious): update if needed after
83 setCursorFromCoordinates (when dEPM triggered).
85 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
86 (otherwise the anchor may be completely wrong and make dEPM assert).
88 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
90 * buffer.C: version upgrade to 245.
91 * bufferparams.C: remove \quotes_times (bug 2090).
92 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
93 quotation marks as default.
95 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
97 * CutAndPaste.C (nrOfParagraphs): remove (unused)
98 * CutAndPaste.C (cutSelection): Remove debug message
99 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
100 undo information and only copy if this is a real cut
101 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
103 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
105 * CutAndPaste.C (eraseSelection): prevent cursor corruption
106 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
107 superflous cur.selection() setting
108 * CutAndPaste.[Ch] (grabSelection): take a const cursor
109 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
111 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
113 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
116 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
118 * BufferView_pimpl.C: comment layout change
120 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
124 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
125 by bibliography managers (bug 2071).
127 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
129 * BufferView_pimpl.C (update): choose arguments to update call so
130 that single-par update works most times
131 * text3.C (dispatch): carefully tune updating separately for
132 whole-screen and current-paragraph
133 * rowpainter.C (paintText): 1) replace painting by caching for
134 the two extra paragraphs, because we can;
135 2) suppress greying out of areas below/above drawn area in case of
137 * lyxfunc.C (dispatch): remove superfluous update
138 * LyXAction.[Ch]: introduce SingleParUpdate
140 2005-10-05 Angus Leeming <leeming@lyx.org>
142 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
143 always initialised before use.
145 * text.C (setHeightOfRow): squash warning about comparison
146 of signed and unsigned types.
148 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
150 * text.C (cursorX): two fixes involving RtL text drawing
152 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
154 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
155 items, not only large ones (part of bug 2057)
157 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
160 argument, use "newcommand".
162 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
164 * cursor.C (setSelection): do not open collapsable insets;
165 the insets do by themselves now (autoopen).
167 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
169 * buffer.C: format is up to 244.
171 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
173 * text.C (redoParagraph): fix calcultation of inset width wrt
174 leftMargin (bug 1957).
176 * text3.C (dispatch): leave inset to the right when hitting ESC
179 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
184 * messages.C: include <boost/current_function.hpp>
186 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
188 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
189 when command is internal. (bug 1941)
191 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
193 * text2.C (cursorRight): do not honor boundary when at the end of
194 a paragraph. (bug 2010 again)
196 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
198 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
200 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
202 * rowpainter.C (paintText): fix RtL space width display bug (2029)
204 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
206 * text2.C (setCursor): remove the unused 'boundary' parameter for
207 the CursorSlice version; adapt the LCursor version.
210 * paragraph_pimpl.C (markErased):
211 * cursor.C (bruteFind2, bruteFond3): fix warnings.
213 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
215 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
216 as is already done for "chapter".
218 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
220 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
221 textclass; do not record undo if nothing is changed.
223 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
225 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
227 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
229 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
231 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
233 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
234 combox, it is necessary to search for the topmost paragraph in the
235 cursor stack (bug 1926)
237 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
239 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
240 end of paragraph. (bug 2010)
242 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
244 * text.C (leftMargin): check for inInset == 0
246 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
248 * text.C (leftMargin): test for insetbase's new neverIndent()
249 bool instead of listing each and every inset that does not
250 wish par indendation.
252 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
254 * buffer_funcs.C (setCounter): put the code to compute enum label
255 here (where it belongs).
257 * counters.C (enumLabel): move code to buffer_funcs.C.
259 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
261 * outputparams.[Ch]: store local_font instead of local_language
262 * paragraph.C (simpleTeXOnePar): adapt to the change above
264 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
267 * counters.[Ch]: clean up special code for Hebrew.
269 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
271 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
274 2005-09-08 Angus Leeming <leeming@lyx.org>
277 * lyxrc.C: correct grammar describing invocation of the
280 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
282 * text.C (read): remove unused variable.
283 (readParToken): remove static Change variable (never good in
284 recursive settings...); add it as a parameter instead.
286 * paragraph_pimpl.C (acceptChange): make debug info conditional.
288 * metricsinfo.C (PainterInfo): add new member erased_.
290 * rowpainter.C (RowPainter): add erased_ member, initialized from
292 (paintInset): pass erased_ to Inset::draw.
294 * lyxfunc.C (lookupChange): new function. Tells whether change
295 tracking is disabled at a given postion.
296 (getStatus): disable some actions when in deleted text with change
299 2005-08-03 John Levon <levon@movementarian.org>
301 * tabular.C (appendColumn, setMultiColumn): adapt to change to
304 * paragraph_pimpl.C (markErased): add bool argument and handle it.
305 Also make sure to mark insets recursively.
306 (rejectChange, erase): be recursive
308 * paragraph.C (markErased): add bool argument.
309 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
311 * lyxfind.C (findNextChange): tiny cleanup.
313 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
314 change tracking with the cursor in an inset; make sure the first
315 change is not skipped.
317 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
319 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
320 tabularStackDirty to work around bug 1919 (tabular needs
321 to know whether its own cell paste buffer or the one of
323 * CutAndPaste.C: mark tabular_stack_ clean after copy.
325 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
327 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
329 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
331 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
332 use old deleteion algorithm when changetracking is on.
334 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
336 * messages.C (get): add debug output.
338 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
340 * text.C (cursorX): fix bug 1965: cursor movement at
341 line end broken in RtL.
342 (drawSelection): fix bug 1970: drawing of single-line
343 selection broken for RtL.
345 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
349 * dociterator.h (clear, push_back, pop_back): change from
352 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
353 and changed to just return the value of the item depth; take a
354 ParIterator as argument; take the itemdepth at outer nesting level
355 in account if necessary; cleanup and comment the code.
356 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
357 and changed to just return true if reset is needed; take a
358 ParIterator as argument; cleanup and comment the code.
359 (setCounter): adapt to above changes.
361 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
363 * text3.C (dispatch): make debug message optional
365 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
367 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
370 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
372 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
374 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
376 * text.C (insertChar):
377 * text2.C (deleteEmptyParagraphMechanism): take care whether
378 a blank has been deleted (in change tracking mode) (bug 1254).
380 2005-07-20 John Levon <levon@movementarian.org>
382 * text2.C (insertStringAsLines): remove old dubious code,
385 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
387 * MenuBackend.C (expandToc): use Floating::listName() as title of
390 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
392 * toc.[Ch]: Do not use translatable strings (bug 1870).
394 2005-07-20 John Levon <levon@movementarian.org>
396 * tabular.C: fix 1748 - setting multicolumn adds
397 left line to the first cell
399 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
402 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
405 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
407 * messages.C: supress some lyxerr messages
409 2005-07-18 Juergen Vigna <jug@lyx.org>
411 * text.C (drawSelection): honor boundary when asking for cursorX.
413 2005-07-17 José Matos <jamatos@fc.up.pt>
415 * tabular.C (recalculateMulticolumns): fix handling of one column
418 2005-07-17 Juergen Vigna <jug@lyx.org>
420 * text.C (Delete, backspace): fixed so that paragraph with the
421 same layout can be merged by Delete/Backspace.
423 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
425 * text.C (readParToken): fix spelling.
427 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
429 * text2.C: fix counter update for DEPM problem reported by
432 2005-07-17 Juergen Vigna <jug@lyx.org>
434 * BufferView_pimpl.C (setBuffer): save/restore the
435 cursor/selection when switching buffers
438 * buffer.C (saveCursor): add saveDocumentIterators to save the
439 cursor when switching buffer.
441 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
444 * buffer.C: clarify message
446 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
448 * dociterator.C (DocIterator): fix initialization order
450 2005-07-17 Juergen Vigna <jug@lyx.org>
452 * text2.C (cursorHome):
453 * text.C (drawSelection, cursorX):
454 * dociterator.C (textRow): add boundary to getRow() call
456 * paragraph.C (getRow): implementation of below
458 * paragraph.h: add parameter boundary for getRow() function
460 2005-07-17 José Matos <jamatos@fc.up.pt>
464 * tex-strings.[Ch]: new file format, remove support for a4.sty,
465 a4wide.sty and a4widemargins.
467 2005-07-17 Juergen Vigna <jug@lyx.org>
469 * text2.C (cursorLeft): fix one of error
471 2005-07-17 Juergen Vigna <jug@lyx.org>
473 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
475 more fixes for boundary handling
477 * text3.C (dispatch): don't reset cursor if boundary has changed
480 2005-07-16 Juergen Vigna <jug@lyx.org>
482 * text2.C (getColumnNearX): hopefully got it right now,
483 check if we are on column 0 for special case.
485 2005-07-16 Juergen Vigna <jug@lyx.org>
487 * text2.C (getColumnNearX): handle special case Newline Inset
489 * text.C (singleWidth): Just remove bogus check
491 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
493 * funcrequest.C (split): avoid reading uninitialized char c
495 2005-07-16 José Matos <jamatos@fc.up.pt>
501 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
502 single papersize variable.
504 2005-07-16 Juergen Vigna <jug@lyx.org>
506 * text3.C (dispatch): honor boundary when checking if a cursor
507 movement has been done
509 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
510 (setCursor, setCursorIntern): fix cursor movement with boundary
512 2005-07-16 Juergen Vigna <jug@lyx.org>
514 * text.C (currentState): output the actual Boundary
516 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
518 * factory.C (createInset): fix bad logic for tabular creation
520 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
522 * lyx_main.C (init): change some reLyX reference to tex2lyx
524 2005-07-16 Juergen Vigna <jug@lyx.org>
526 * dociterator.C (DocIterator): initialize boundary
528 2005-07-16 Juergen Vigna <jug@lyx.org>
530 * text2.C (getColumnNearX): Consider rows without trailing blank.
532 2005-07-16 André Pönitz <poenitz@gmx.net>
534 * lyxfont.h: Change order of declarations to give the compiler
535 a better chance to inline things
537 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
538 questions on unsaved docs for better scritability
540 2005-07-16 André Pönitz <poenitz@gmx.net>
542 * paragraph.h (getChar): remove asserts as the same kind of security
543 can be achieved by using a suitable standard library implementation
544 and the function was in the critical path (25.9% in profiler)
546 2005-07-16 Juergen Vigna <jug@lyx.org>
548 * cursor.C (bruteFind2):
549 * bufferview_funcs.C (coordOffset):
550 * text.C (cursorX,cursorY): Handle cursor position after last char
551 in row before a inset which uses a whole row.
553 2005-07-15 José Matos <jamatos@lyx.org>
555 * output_plaintext.[Ch] (writeFileAscii): control reference title
557 (asciiParagraph): noparbreak was already deal and was incorrectly
560 2005-07-15 Juergen Vigna <jug@lyx.org>
562 * lyxfunc.C (dispatch): save and restore the cursor after a
565 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
567 * text.C (backspace): bug 806 for empty keepempty paragraphs we
568 change the layout to default before letting DEPM do its thing.
570 * paragraph_funcs.C (breakParagraph): dont reset the layout on
573 * text.C (setCursorFromCoordinates): add a debug statement
575 * text2.C (getColumnNearX): bug 1825 make sure that we don't
576 return a pos that is not on the row
578 * output_latex.C (TeXDeeper): get rid of potential dereferencing
579 of past the end iterator
581 2005-07-14 André Pönitz <poenitz@gmx.net>
583 * undo.C (recordUndoFullBuffer): implement undo for
586 2005-07-14 André Pönitz <poenitz@gmx.net>
588 * cursor.C (setSelection): open insets when selection is set there
589 to avoid crashs with cold coord cache
591 2005-07-14 André Pönitz <poenitz@gmx.net>
593 * trans_mgr.C (insert): move cursor to the right after inserting
596 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
598 * BufferView_pimpl.C (update): dampen some of the debug blabbering
599 * factory.C (readInset): ditto
600 * text.C, text2.C: ditto
602 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
604 * buffer.C: format incremented to 242. There is no file format per
605 se, but the "frenchb" language has been removed from lib/language
606 and has to be translated to "french" by lyx2lyx.
608 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
610 * cursor_slice.h, dociterator.h: add some documentation
611 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
613 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
615 * text.C (leftMargin): do not add identation to display() style
616 insets, because they are always centered (bug 1293).
618 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
620 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
621 formatted_time methods in support/lyxtime.
623 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
625 * toc.[Ch]: new method getGuiName, which is used by the frontends
626 to set the toc combo (fixes bug 1870). Make TOC string translatable.
628 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
630 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
631 StableDocIterator const &)
632 * undo.C (recordUndo): use the above instead of cell.size() comparison
633 (fixes bug 1808; instructed by Andr�.
635 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
638 * dociterator.h: Fix the assert when copying rows/cols in math
640 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
642 * BufferView_pimpl.C:
644 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
646 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
647 (findInset): new functions, refactored from goto Inset that return
648 the position of a certain inset without setting the buffer's cursor
650 (gotoInset): rewrite to call findInset and then set the cursor
653 2005-06-16 Angus Leeming <leeming@lyx.org>
655 * lyxrc.C (output, read): wrap all input and output of paths with
656 calls to os::internal_path and os::external_path, respectively.
657 (output): wrap bind_file inside quotes.
659 * format.C (view): enable the viewer to use the '$$s' placeholder.
661 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
663 * LColor.[Ch] (getFromLaTeXName): new
665 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
667 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
669 2005-06-14 Angus Leeming <leeming@lyx.org>
671 * lyx_main.C (init): ensure that the LyX binary dir is the first
672 element in the PATH on non-POSIX builds.
674 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
676 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
678 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
680 * rowpainter.C (paintInset, paintHebrewComposeChar)
681 (paintArabicComposeChar, paintChars): add a LyXFont argument.
682 (paintChars): use getFontSpan to reduce calls to getFont to a
683 minimum; use Paragraph::lookupChange instead of isXXXText.
684 (paintForeignMark): rename LyXFont argument.
685 (paintFromPos): pass a LyXFont object to the various paintXXX
688 * FontIterator.C (FontIterator, operator++): use
689 Paragraph::getFontSpan
691 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
692 version that returns the font span as a pair.
694 2005-06-09 Angus Leeming <leeming@lyx.org>
696 * converter.C (convert): Don't forget "outfile = real_outfile" as
697 the final step in a conversion where the input and output file names
698 are the same. Otherwise, future conversion steps won't work...
700 2005-06-09 Angus Leeming <leeming@lyx.org>
702 * lyxsocket.C: remove stub code as it isn't needed by
703 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
705 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
707 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
708 effectively disabled -x
710 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
712 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
713 when it actually makes sense.
715 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
717 * BufferView_pimpl.C: revert to showCursor in connection with
718 Lars's front-end stack
720 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
722 * text.C (redoParagraph): move cursor right after a bibitem
725 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
727 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
729 * buffer_funcs.C (bufferErrors): fix computation of the end of an
732 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
734 * BufferView.[Ch] (update):
735 * BufferView_pimpl.[Ch] (update, metrics):
736 * dimension.h (operator==):
737 * lyxfunc.C (dispatch):
738 * metricsinfo.h (ViewMetricsInfo):
739 * rowpainter.C (paintText):
741 * text.C (redoParagraph):
742 * text3.C (dispatch): Make LyX only repaint current paragraph in
743 case of character insert --> speedup. Also fix cursor draw
746 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
748 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
749 avoid a crash (bug 1891)
751 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
755 * text2.C (getStringToIndex): constify cur argument.
757 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
758 argument has been given
759 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
760 try to invoke LFUN_INSET_APPLY).
762 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
763 if no inset was created by doInsertInset
764 (doInsertInset): return true if an inset has been inserted.
766 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
768 * vspace.C (asGUIName): new method. A version of the space
769 suitable for showing on screen.
771 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
774 * lyxrc.C: rename "ASCII" to "Plain Text"
776 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
778 * buffer_funcs.C (expandLabel): take a Buffer as argument;
779 translate the labelstring.
780 (setCounter): translate labelstring as needed.
782 * output_docbook.C (makeCommand): fix expandLabel invokation
784 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
786 * BufferView.C: fix dialog title
788 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
790 * lyx_main.C (priv_exec): fix logic error with help from Angus
791 * lyx_main.C (parse_execute): set is_gui = false and remove now
792 obsolete comment about a segfault
794 2005-05-18 Angus Leeming <leeming@lyx.org>
796 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
798 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
800 * tabular.[hC]: added setCellInset to fix tabular paste.
802 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
804 * buffer.C (save): check if destination is writable before trying
807 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
809 * BufferView_pimpl.C (update): fix processEvents -caused update
812 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
814 * buffer_funcs.C (setCounter): fix test for numbering of
817 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
818 depth correctly; use optional argument when it exists
820 * lyxtextclass.C: remove unused MaxCounterTags enum
821 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
822 (max_toclevel, min_toclevel): new methods.
824 * MenuBackend.C (expandToc2): fix case where depth is smaller than
825 the smallest depth in toc.
827 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
828 layouts that should not appear in a table of contents.
830 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
832 * cursor.h (undispatched, noUpdate): add comments from Andr�
833 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
837 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
839 2005-05-07 André Pönitz <poenitz@gmx.net>
841 * cursor.[Ch] (leaveInset): new function
843 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
845 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
847 2005-05-04 Angus Leeming <leeming@lyx.org>
849 * lyxfunc.C (getStatus): disable the spell checker dialog if
850 none of USE_[AIP]SPELL are defined.
852 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
854 * tabular.C (setWidthOfCell): remove obsolete comment
856 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
858 * paragraph.C (bibitem):
859 * buffer_funcs.C (setCounter):
860 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
862 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
864 * text3.C (getStatus): immediately return after setOnOff
866 * rowpainter.C: fix drawing of appendix start
868 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
870 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
871 SwitchBetweenClasses and remove the unused return value.
872 Handle character styles, too
874 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
876 * factory.C (createInset): handle undefined character styles
878 2005-05-02 Angus Leeming <leeming@lyx.org>
880 * buffer.C: protect the #include of utime.h with a preprocessor
883 2005-05-02 Angus Leeming <leeming@lyx.org>
885 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
886 function so that auto-saving works, albeit in a blocking manner.
888 * Makefile.am: make compilation of the client sub directory, of
889 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
890 on conditionals set at configure time.
892 * SpellBase.[Ch]: no longer an abstract base class. Instead,
893 it can be compiled in its own right but has no-op functionality.
895 * aspell.C, pspell.C: remove preprocessor guards. The files should
896 be compiled only if the necessary functionality exists.
898 * lyxserver.C, lyxsocket.C: disable on Windows.
900 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
902 * text.C (leftMargin): Fix the parindent use bug (1764)
905 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
907 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
910 2005-04-25 Angus Leeming <leeming@lyx.org>
918 include <config.h> in .C files, not .h ones.
920 protect headers inside preprocessor guards.
922 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
924 * FuncStatus.h (StatusCodes): document
926 2005-04-21 André Pönitz <poenitz@gmx.net>
928 * FuncStatus.h (enabled, onoff): document
930 2005-04-19 Angus Leeming <leeming@lyx.org>
932 * BufferView_pimpl.C (cursorToggle): no longer test whether
933 any child processes have been reaped before calling
934 handleCompletedProcesses().
936 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
938 * text3.C (dispatch): fix, finally fix, the language problem in
939 new lyxtexts, without disabling on-the-fly font changes (Helge's
942 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
944 * text3.C (dispatch): set cursor on double/triple click events
947 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
949 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
950 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
952 * rowpainter.C (paintFirst): simplify the code a little bit. In
953 particular, remove the test for secnumdepth.
954 * text.C (setHeightOfRow): only allocate space for chapter number
955 when updateCounters provided an actual label, instead of looking
956 at secnumdepth directly.
958 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
960 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
961 paragraphs when secnumdepth is large enough or, for environments,
962 when they are not the first in a sequence.
964 2005-04-17 Angus Leeming <leeming@lyx.org>
966 * buffer.C (makeLaTeXFile): replace code to manipulate a path
967 containing space and '~' characters with a call to latex_path().
969 2005-04-17 Angus Leeming <leeming@lyx.org>
971 * converter.C (convert): protect all args of convertDefault.sh
974 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
976 * text3.C (dispatch): change the layout to "Caption" after inserting
979 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
981 * text3.C (dispatch): fix language problem in newly created
982 textinsets (and main text) in non-english docs
984 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
986 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
987 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
988 * text3.C (getStatus): disable LFUN_INSET_MODIFY
990 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
995 * rowpainter.C (getFont): Fix metrics bug introduced by inset
998 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1000 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1001 output of \item arguments without trailing text.
1003 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1005 * FontIterator.C (operator*): avoid a copy of the font.
1007 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1009 * rowpainter.C (getFont): fix language bug from previous fix
1011 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1013 * rowpainter.C (RowPainter, getFont): fix font inside inset
1016 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1018 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1019 preventing inserted font, deco, delim insets jumping to start of
1022 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1024 * lyxfunc.C (dispatch): translate message before sending it to the
1027 2005-03-29 Angus Leeming <leeming@lyx.org>
1029 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1030 to LyX on the command line.
1032 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1034 * vc-backend.C: use QuoteName to protect file names wherever
1037 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1040 * BranchList.h: fix bugs 1844,1845: document settings don't
1043 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1045 * lyxrc.C (setDefaults, read, output, getDescription): add support
1046 for tex_allows_spaces.
1048 * exporter.C (Export): allows files in directory containing spaces
1049 if tex_allows_spaces is true.
1051 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1052 output it in double quotes.
1054 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1056 * rowpainter.C: use default text height for drawing change tracker
1059 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1061 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1063 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1065 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1066 directory is missing.
1068 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1070 * text2.C: fixed the fix, extended to other case.
1072 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1074 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1076 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1078 * text2.C (cursorUp): get rid of a crash
1079 * text.C (x2pos): add an assert
1081 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1083 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1087 * dociterator.C: include <boost/current_function.hpp>, which is
1088 needed when assertions are disabled.
1090 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1092 * text2.C: fix for stuck cursor when traversing two
1093 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1095 2005-02-25 Andreas Vox <avox@arcor.de>
1097 * output_docbook.C (makeParagraph): suppress trailing newline
1098 after a run of paragraphs
1100 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1102 * paragraph.C: fix for confused change tracker when pasting
1103 text that begins with a lineseparator. [bug 1827]
1104 (setChange(0, Change::INSERTED);)
1106 * paragraph_funcs.C: fix for lost changes on triple-paste
1107 in change tracking mode [bug 1827] (par.setChange()).
1109 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1111 * text2.C (updateCounters, setCounter, expandLabel): move to
1114 * buffer_funcs.C (updateCounters): turn into a free standing
1115 function and add a buffer parameter. Remove dead code for tracking
1117 (setCounter): change into a free-standing function which gets a
1118 dociterator as argument. Use this iterator to fix captions in a
1119 simple way. When no float is found above the caption, use the
1120 labelstring of the caption layout as default.
1122 * text.C (breakParagraph, backspace):
1123 * text2.C (init, setLayout, changeDepth):
1124 * text3.C (dispatch):
1125 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1128 * dociterator.C (forwardPar): make it much faster by calling
1129 forwardPos() only when really necessary.
1131 * output_docbook.C (makeCommand): adapt to expandLabel move.
1133 * cursor.C: remove unused variable
1135 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1137 * paragraph_funcs.C: fix crash when pasting insets in change
1138 tracking mode [bug 1277] (honour change type in moveItem).
1140 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1142 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1144 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1146 * BufferView.C (setCursor): change to use a DocIterator.
1147 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1148 (putSelectionAt): adapt to BufferView::setCursor change.
1150 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1151 moved here from LyXText and rewritten to use proper cursor
1152 methods. Fixes bug 1787, 616 and 835.
1154 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1155 when inside an inset (part of bug 781).
1156 (dispatch): adapt to change of BufferView::setCursor.
1157 (getStatus, dispatch): handle LFUN_GOTOERROR,
1158 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1160 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1161 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1162 * text3.C (gotoNextInset, gotoInset): removed.
1164 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1166 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1168 2005-02-15 Angus Leeming <leeming@lyx.org>
1170 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1171 can be used meaningfully in a comparison.
1173 2005-02-13 André Pönitz <poenitz@gmx.net>
1175 * bufferview_funcs.C (coordOffset): improve cursor drawing
1177 2005-02-13 André Pönitz <poenitz@gmx.net>
1179 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1180 * Cursor.C (dispatch): use fixIfBroken
1181 * lyxfunc.C (getStatus): use fixIfBroken
1183 2005-02-15 Angus Leeming <leeming@lyx.org>
1185 * lyx_main.C (error_handler):
1187 * lyxrc.C (setDefaults):
1189 #include "environment.h".
1191 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1193 2005-02-15 Angus Leeming <leeming@lyx.org>
1195 * lyxserver.C (startPipe): squash MSVC warning "local variable
1196 'fd' used without having been initialized".
1198 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1200 * BufferView_pimpl.C: revert accidental commit.
1202 2005-02-14 André Pönitz <poenitz@gmx.net>
1204 * dociterator.[Ch]: new member forwardPosNoDescent(),
1205 which doesn't enter nested insets.
1206 * text2.C (setFont): use forwardPosNoDescent() instead
1207 of ForwardPos() (fixes crash on font change).
1209 2005-02-13 Angus Leeming <leeming@lyx.org>
1211 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1212 only if lyxrc.path_prefix is not empty.
1214 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1216 * bufferparams.C (readGraphicsDriver): prevent crash
1218 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1220 * text2.C (setCounter): check for inInset() == 0
1222 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1224 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1225 but use update() to get correct screen display; use convert
1226 instead of istringstream.
1227 (getStatus): handle LFUN_GOTO_PARAGRAPH
1229 * lyxfunc.C (dispatch, getStatus): do not handle
1230 LFUN_GOTO_PARAGRAPH here.
1232 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1234 * text3.C (dispatch): size() -> depth()
1236 * text2.C: remove some debug output
1238 * paragraph.C: ws changes only
1240 * lyxfunc.C (getStatus): size() -> depth()
1242 * dociterator.h (clear, push_back, pop_back, internalData,
1243 operator[], resize, empty): new functions
1244 Make StableDocIterator and operator== be friends. Don't inherit
1245 from std::vector use a privat class variable slices_ instead.
1248 * dociterator.C: update because of not inheriting from std::vector
1249 anymore. Call explictly to slices_ instead. Use depth() instead of
1250 size() and top() instead of back()
1252 * cursor.C: chagne size() -> depth and back() -> top(). Also
1253 remove some direct operator[](i) calls in favour of foo[i]
1254 (getFont): remove some dead code
1256 * bufferview_funcs.C (coordOffset): size() -> depth()
1258 * buffer.C: ws changes only
1260 * CutAndPaste.C (eraseSelection): back() -> top()
1262 * BufferView_pimpl.C (selectionRequested): back() -> top()
1264 * BufferView.C (setCursor): size() -> depth()
1266 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1268 * text3.C (cursorPrevious): return true if depm changed something
1270 (dispatch): rename sl to oldTopSlice, remove moving use the new
1271 NoUpdate func attrib instead. Make sure that needsUpdate is set
1272 for function that have NoUpdate, but where depm might have changed
1275 * text2.C (cursorLeft): make us return true if depm changed
1277 (cursorRight): ditto
1278 (cursorUpParagraph): ditto
1279 (curosrDownParagraph): ditto
1280 (cursorUp, cursorDown): ditto, make sure to read comments in code
1281 (deleteEmptyParagraphMechanism): remove an assert, also return
1282 true if just a single char was deleted.
1284 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1285 cursor that we modify, to avoid modifying an active cursor before
1286 we call setCursor. This allows depm to run. Also return true if
1287 depm deleted something.
1289 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1290 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1291 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1292 something was changed in the buffer because of them (ie. depm run)
1294 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1295 debug messages. Make update by default be false. Make sure that
1296 the result of update is retained throught several calls down to
1299 * LyXAction.h: add a new func_attrib: NoUpdate
1301 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1302 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1303 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1305 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1307 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1309 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1310 bv_->owner(), bv_->buffer() by direct references to the private
1312 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1313 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1314 (fitCursor): center() is in BufferView::Pimpl.
1315 (getStatus, trackChanges, dispatch): no need for a temporary buf
1317 (fitCursor, workAreaDispatch): use workarea().workheight()
1319 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1321 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1323 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1325 * buffer.C: format up to 241.
1326 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1327 break if pasting into ERT
1328 * lyxfunc.C (getStatus): suppress mathpanel and
1329 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1331 2005-02-01 Angus Leeming <leeming@lyx.org>
1333 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1335 2005-02-01 Angus Leeming <leeming@lyx.org>
1337 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1338 calling fs::is_directory().
1340 2005-01-31 Angus Leeming <leeming@lyx.org>
1342 * lyx_main.C (priv_exec): specify explicitly the relative location
1343 of the top level build directory when run in-place.
1345 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1347 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1348 LyXText containing the cursor, not the top-level one.
1350 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1352 (insertStringAsLines): rename par to pit; use temporary variable
1353 par to hold a Paragraph; do not store par.layout() in a variable,
1354 since the pointer may die when breaking paragraphs; pass pars to
1355 breakParagraph() instead of Buffer::paragraphs().
1357 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1359 * lyxlex_pimpl.h: #include <fstream>.
1361 * BufferView.[Ch] (getLyXText): add a const version.
1363 * BufferView_pimpl.C: add debug aids.
1368 * paragraph_funcs.h: add commentary explaining what the class does.
1371 * coordcache.[Ch]: add lots of commentary.
1372 (startUpdating, doneUpdating): debug aids.
1373 (arrays, insets, parPos, getParPos): accessors to private data.
1375 * cursor_slice.[Ch] (text): add a const version.
1376 * dociterator.[Ch] (text, innerText): add const versions.
1378 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1381 * paragraph.C (getRow, pos2ros): add asserts.
1383 * paragraph.h: add commentary. Lots of.
1385 * paragraph.[Ch] (metrucs, draw): removed.
1388 * rowpainter.[Ch]: const-correct changes.
1390 * text.C: various obvious clean-ups. Removal of ancient cruft.
1393 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1395 * vc-backend.C (find_file): rewrite to use boost.filesystem
1398 * main.C (main): set default name check for boost.filesystem to
1401 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1404 (actOnUpdatedPrefs): ditto
1406 * lyx_main.C (init): rewrite to use boost.filesystem
1407 (queryUserLyXDir): ditto
1409 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1410 (getContentsOfAsciiFile): ditto
1412 * lastfiles.C (readFile): rewrite to use boost.filesystem
1414 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1416 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1417 (loadLyXFile): ditto
1419 * buffer.C (Buffer): adjust for destroydir
1420 (getLogName): rewrite to use boost.filesystem
1421 (setFileName): ditto
1422 (save): use fs::copy_file (from fs_extras)
1424 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1426 * LaTeX.C (run): rewrite to use boost.filesystem
1427 (scanAuxFiles): ditto
1428 (handleFoundFile): ditto
1430 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1432 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1434 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1436 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1438 * lyxlayout.[Ch]: change some vars from float to double
1440 * buffer.C (readFile): make a local var const
1442 * Several files: use convert<> instead of atoi,strToXXX and friends
1444 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1446 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1447 holds the contents of packages.lst. New functions getAvailable
1448 and isAvailable to parse and check that list, resp.
1452 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1454 * bufferparams.[Ch]: new param output_changes.
1456 * Buffer.C: increase file format to 240.
1457 Use output_changes and isVailable.
1461 * paragraph_pimpl.C: Use output_changes and isVailable.
1463 2005-01-23 Angus Leeming <leeming@lyx.org>
1465 * output_latex.C: #include "insetbibitem.h", rather than
1466 forward declare function bibitemWidest.
1468 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1470 * lyx_main.C (init): make it compile on the Mac.
1472 2005-01-20 Angus Leeming <leeming@lyx.org>
1474 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1475 (setLyXMisc): (char string literal) != (char string literal) is
1476 performing a comparison on the addresses. Convert one operand
1477 explicitly to string to guarantee expected behaviour.
1480 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1483 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1485 * output_plaintext.C: remove unneeded #include gzstream.h.
1487 2005-01-20 Angus Leeming <leeming@lyx.org>
1489 * SpellBase.h: rename some of the elements of the Result enum.
1496 * pspell.C (check): ditto
1498 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1500 * buffer.C: add #include <fstream>.
1502 * lyx_main.C (init): Compile fix.
1504 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1506 2005-01-20 Angus Leeming <leeming@lyx.org>
1508 * mover.h: change commentary to reflect the changed meaning of
1509 the $$s placeholder.
1511 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1513 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1515 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1517 2005-01-20 Angus Leeming <leeming@lyx.org>
1519 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1520 printing diagnostic data by not dereferecing an iterator past the
1523 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1525 * buffer.C (readHeader): use "&&" rather than "and".
1527 * lyxserver.h (inPipeName, outPipeName): make these const.
1529 2005-01-19 Angus Leeming <leeming@lyx.org>
1531 * lyx_main.C (error_handler, init): protect SIGHUP with
1532 #ifdef SIGHUP guards.
1534 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1536 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1538 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1540 * text.C (setHeightOfRow): add a margin at the top and bottom of
1541 the document (bug 1761)
1543 2005-01-17 Angus Leeming <leeming@lyx.org>
1545 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1546 with "python ". Workaround for a brain-dead Windows.
1548 2005-01-16 Angus Leeming <leeming@lyx.org>
1550 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1551 for MacOSX and Windows to use prependEnvPath.
1552 Strip out the hard-coded block to add elements to the PATH for
1553 MacOSX and replace it with a call to prependEnvPath using the
1554 contents of LyXRC::path_prefix.
1555 (queryUserLyXDir): strip out the code to run reconfigure, instead
1556 returning a boolean indicating the necessity to do so.
1557 (reconfigureUserLyXDir): contains the code to reconfigure the
1558 user support directory. Is now called after the various LyXRC data
1559 files have been read.
1561 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1563 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1565 * converter.[Ch] (convert): take a new parameter try_default. Use
1566 a default converter (imagemagick) if try_default is true.
1568 2005-01-13 Angus Leeming <leeming@lyx.org>
1570 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1571 os::cygwin_path_fix.
1572 (write): output LyXRC::cygwin_path_fix as necessary.
1574 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1577 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1579 2005-01-12 Angus Leeming <leeming@lyx.org>
1581 * lyx_main.C (init): set the PATH variable to include the
1582 directory containing the LyX binary when running on Mac or Windows.
1584 2005-01-12 Angus Leeming <leeming@lyx.org>
1586 * lyx_main.C (init): remove cruft that purports to set the locale
1587 dir. It doesn't and is not needed anyway.
1589 2005-01-10 Angus Leeming <leeming@lyx.org>
1591 * Makefile.am: remove the lyx_main.C special casing.
1593 * BufferView_pimpl.C:
1599 * messages.C: use support/package.h to provide the paths to the
1600 various directories used by LyX.
1602 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1604 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1605 layout if pasting into an empty paragraph)
1607 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1609 * tex-accent.C: add <string>
1611 2005-01-06 José Matos <jamatos@lyx.org>
1613 * ParagraphParameters.C (write): put every parameter in its own line.
1614 * paragraph.C (write): reduce number of consecutive empty lines exported.
1615 * buffer.C (LYX_FORMAT): increase file format to 239.
1617 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1619 * everywhere: change support/tostr.h -> support/convert.h
1621 * tabular.C: make all write_attributes templates, tostr -> convert
1623 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1624 (emptyTag): and -> &&, and fix type for ret from getChar
1625 (getFirstWord): fix type for ret from getChar
1626 (onlyText): and -> &&
1627 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1630 * toc.C (goTo, action):
1631 * text3.C (dispatch):
1632 * text.C (currentState):
1633 * tex-accent.C (DoAccent):
1636 * lyxfunc.C (menuNew):
1637 * lyxfinc.C (replace):
1638 * counters.C (laberItem):
1639 * bufferview_funcs.C (font2string):
1640 * bufferparams.C (writeFile):
1641 * buffer.C (readFile):
1643 * MenuBackend.C: tostr -> convert
1645 * LaTeX.C (runMessage): fix format
1646 (scanAuxFiles): tostr -> convert
1648 * BufferView_pimpl.C (savePosition): fix format
1649 (restorePosition): ditto
1652 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1654 * Spacing.[Ch]: New method getValueAsString().
1658 * ParagraphParameters.C:
1661 * text3.C: store/read spacing value as string.
1663 * rowpainter.C: change float value (spacing_val) to double.
1665 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1666 broken custom document spacing).
1668 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1670 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1671 namespace, also more use of temp references and const
1673 * cursor.[Ch] (getStatus): move to lyxfunc.C
1675 * bufferparams.C: reformat slightly
1677 * bufferview_funcs.C (font2string): constify arg
1683 * buffer_funcs.C: (many funcs): constify arg on function
1684 definitions, also make more local vars const, also add ASSERTS on
1687 * buffer.C (LYX_FORMAT): put const in correct place
1688 (many funcs): constify arg on function definitions, also make
1689 more local vars const
1691 * aspell_local.h: remove "struct" from typdef setup
1693 * aspell.C (check): make word_ok const
1694 (nextMiss): simplify slightly
1697 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1699 * lyxrc.[Ch]: store all float values as strings.
1700 use int (not float) for lyxrc.dpi.
1702 2005-01-04 Angus Leeming <leeming@lyx.org>
1704 * lyx_cb.C (Reconfigure):
1705 * lyx_main.C (queryUserLyXDir):
1706 to run the <system_lyxdir>/configure correctly on Windows, prefix
1707 the path to the script with "sh " when generating the string that
1708 is passed to system().
1710 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1712 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1714 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1716 * lyxlength.C (asLatexString): get rid of setprecision
1718 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1720 * text2.C (setLayout): remove unused variable endpit.
1721 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1723 * paragraph.C (onlyText): remove unused variable style.
1725 * cursor.C (bruteFind): remove unused variables beg and end.
1727 * Makefile.am (dist_noinset_DATA): not needed anymore
1729 * cheaders/*: remove.
1731 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1733 * text3.C: fix LFUN_MATH_MODE.
1735 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1737 * buffer_funcs.C (countWords): new function. Counts words between
1740 * BufferView_pimpl.C (getStatus, dispatch): handle
1743 * LyXAction.C (init):
1744 * lfuns.h: add LFUN_WORDS_COUNT.
1746 2004-12-19 Angus Leeming <leeming@lyx.org>
1748 * buffer.C (save): s/slashify_path/internal_path/.
1750 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1752 * lyxfind.C (findChange): do not search for end of pars, because
1753 the change tracker cannot handle this (fixes bug 1719).
1755 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1757 * paragraph.[Ch] (autoBreakRows): remove
1759 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1761 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1762 avoid using the paragraph one
1764 * text2.C (LyXText, insertStringAsLines): adjust
1766 2004-12-16 Angus Leeming <leeming@lyx.org>
1770 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1772 2004-12-14 Angus Leeming <leeming@lyx.org>
1774 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1776 * bufferlist.C (emergencyWrite):
1777 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1780 2004-12-14 Angus Leeming <leeming@lyx.org>
1782 * main.C: (main): no longer pass pointers to os::init.
1784 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1786 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1787 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1789 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1792 * text3.C: remove selection_possible global flag
1794 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1796 * text2.C (getSelectionSpan): remove
1797 (changeDepth, changeDepthAllowed): adjust
1799 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1801 * Makefile.am (BOOST_LIBS): use boost variables
1803 2004-12-03 José Matos <jamatos@lyx.org>
1805 * buffer.C: format up to 238.
1807 2004-12-03 José Matos <jamatos@lyx.org>
1809 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1811 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1813 * cursor.C (goUpDown): remove call to idxUpDown2
1815 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1817 * tabular.[Ch]: use size_t-like types for cell, row and column
1820 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1822 * lyxfunc.C (getStatus): do not lose previous information when
1823 calling BufferView::getStatus; do not set a default "Command
1824 disabled" message at the beginning, but just before returning.
1826 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1828 * cursor.h (getStatus): add better comment from src/cursor.C
1830 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1832 * text3.C (getStatus): return false when the lfun is not handled
1834 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1836 * broken_headers.h: remove
1838 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1840 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1842 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1843 offset_ref accessors
1845 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1846 top_y_, merge fitcursor with update
1847 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1849 (metrics): introduce
1850 (workAreaDispatch): adapt to new coord scheme
1851 (redoCurrentBuffer): remove
1853 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1855 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1858 * coordcache.[Ch]: add paragraph cache and helpers
1860 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1863 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1864 (targetX, setTargetX): introduce
1866 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1867 baseline -> ascent, as the rest of lyx
1869 * lyxtext.h: remove redoParagraphs, updateParPositions,
1870 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1871 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1872 have ascent/descent (ascent is ascent of first par)
1874 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1877 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1879 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1881 * pariterator.C: fix infinite loop introduced in par->pit renaming
1883 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1884 in insets and LyXText, draw two off-screen paragraphs using
1885 NullPainter, and adapt to new coord scheme
1889 * text3.C: adapt lfun handlers to the new coord scheme, which
1890 means: there's only guaranteed coord information for onscreen pars
1891 plus one above and one below. This implies that one can do search
1892 from y coordinates in the range [-1,workHeight]
1894 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1896 * rename a lot of InsetOld to InsetBase
1898 2004-11-25 Angus Leeming <leeming@lyx.org>
1900 * BufferView_pimpl.C:
1902 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1904 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1906 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1907 call BufferView::getStatus if LCursor::getStatus did nothing
1908 (setStatusMessage, getStatusMessage): removed.
1910 * FuncStatus.C (message): new methods. Used to provide an error
1911 message indicating why a command is disabled.
1912 (clear, |=, FuncStatus): update for message.
1914 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1916 * lyxfunc.C (dispatch): always call sendDispatchMessage
1918 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1921 * BufferView_pimpl.C:
1926 * cursor_slice.[Ch]:
1929 * paragraph_funcs.C:
1935 * undo.C: par->pit renaming
1937 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1939 * tabular.C (cellstruct): use initialization, store a shared_ptr
1940 to insettext instead of the insettext directly, adjust to fit.
1941 (operator=): new function
1942 (swap): new function
1943 (rowstruct): use initialization
1944 (columnstruct): use initialization
1945 (ltType): use initialization
1948 * lyxlength.h (swap): new function
1950 * LColor.[Ch] (operator=): use the common semantics
1952 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1954 * lyxfind.C (findNextChange): update the bufferview after setting
1957 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1959 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1960 number of InsetOptArgs has already been inserted.
1962 * output_latex.C (latexOptArgInsets): new method. This outputs all
1963 the optarg insets, up to the limit defined in the layout file.
1964 (optArgInset): removed
1965 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1967 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1969 * paragraph.C (isLetter): remove special spellchecker-related
1970 code; return true also for digits
1971 (isWord, isKomma): remove
1973 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1974 * lyxfind.C (MatchString()): use isLetter instead of isWord
1976 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1978 * pariterator.h (operatir=): comment out un-implemented member
1981 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1984 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1986 * lyxfont.h: include LColor.h to satisfy concept checks.
1988 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1990 * pariterator.h: add typdefs for value_type, difference_type,
1991 pointer and reference to satisfy concept checks. Also add default
1992 constructor for same reason.
1994 * pariterator.C (operator++): add post-increment operator to
1995 satisfy concept checks.
1997 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2000 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2002 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2003 checks. Also rename base_type to BaseType to follow naming
2006 * FloatList.h: include Floating.h to satisfy concept checks.
2008 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2010 * lyxfunc.C (getStatus): when the origin of the request is menu or
2011 toolbar, and the LyXView does not have focus, do as if there was
2012 no buffer (bug 1720)
2014 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2015 FuncRequest to individual entries of LFUN_SEQUENCE
2017 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2019 * output_latex.C (TeXOnePar): override runparams.moving_arg
2020 according to the needprotect value of the current paragraph (bug
2023 * paragraph.C (simpleTeXOnePar): no need to override
2024 runparams.moving_args here
2026 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2028 * vspace.C: fix off-by-one-error, related to fix #1682
2030 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2032 * lengthcommon.C: a more general fix for bug 1682
2034 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2036 * text.C (backspace): fix crash
2038 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2040 * format.[Ch] (getFormatFromFile): new method
2041 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2043 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2045 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2047 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2049 * lyxfunc.C (dispatch): remove the verbose argument
2050 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2053 * kbmap.C (defkey): set the origin of func to KEYBOARD
2055 * MenuBackend.C (MenuItem):
2056 * ToolbarBackend.C (add): set the origin of func to UI
2058 * funcrequest.[Ch]: add origin member, which indicates which part
2059 of LyX requests an action
2061 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2063 * converter.C (move): don't lie in the error message
2064 * converter.h (isReachable, move): document
2066 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2068 * buffer.C: remove unused using lyx::support::atoi
2069 * paragraph_funcs.C: ditto
2071 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2073 * bufferlist.C (exists): use bind and equal_to instead of
2076 * lyxtextclasslist.C (NumberOfClass): ditto
2078 * cursor.C (insert): use for_each instead of explicit for loop
2080 * bufferlist.C (getFileNames): use std::transform and
2081 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2083 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2086 * buffer.C (changeLanguage): use for_each instead of explicit for
2088 (hasParWithID): implement using getParFromID
2090 * LaTeXFeatures.C: ws change only
2092 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2095 * BufferView_pimpl.C (trackChanges): use for_each instead of
2098 2004-11-04 André Pönitz <poenitz@gmx.net>
2101 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2103 * dociterator.C (asDocIterator): use hard assert again.
2105 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2107 * lyxlength.C (asLatexString): rewrite so that it does not use
2110 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2112 * text3.C (specialChar, dispatch): make sure cursor moves to the
2113 right after inserting an inset
2115 2004-11-02 José Matos <jamatos@lyx.org>
2117 * output_docbook.C (docbook):
2118 * paragraph.C (getID):
2119 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2120 garantee that the output is always legal.
2122 * tabular.C (docbook):
2123 * outputprams.[Ch]: remove mixed contents.
2125 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2127 * text2.C (setCounter): prevent endless loop
2129 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2131 * exporter.C (copyFile): use the mover instead of support::copy()
2132 * exporter.C (Export): pass format and latex name to copyFile()
2133 * exporter.h (addExternalFile): document
2134 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2136 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2138 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2140 2004-10-30 José Matos <jamatos@lyx.org>
2142 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2143 text and no inset or font change. This allows to use CDATA
2144 sections just for the whole paragraph.
2146 2004-10-30 José Matos <jamatos@lyx.org>
2148 * paragraph.C (getFirstWord): remove unused variable.
2150 2004-10-30 José Matos <jamatos@lyx.org>
2152 * paragraph.C (getFirstWord): the content should always be escaped
2154 (simpleDocBookOnePar):
2155 * output_docbook.C (makeEnvironment): replace reference to CDATA
2158 2004-10-30 José Matos <jamatos@lyx.org>
2160 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2162 2004-10-30 José Matos <jamatos@lyx.org>
2164 * output_docbook.C (makeParagraphs):
2165 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2166 standard paragraph has only a given type of content drop the wrapper.
2168 2004-10-29 José Matos <jamatos@lyx.org>
2170 * output_docbook.C (makeEnvironment):
2172 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2174 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2176 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2177 (cleanID): sanitize any id.
2179 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2181 * buffer.C, lyxlex_pimpl.C:
2182 * lyxlex_pimpl.C (setFile):
2183 s/getExtFromContents/getFormatFromContents/
2185 2004-10-28 José Matos <jamatos@lyx.org>
2187 * output_docbook.C (makeEnvironment): move id to broadest possible
2190 * sgml.C (openTag): apply substitution of <> for all attributes.
2192 2004-10-28 José Matos <jamatos@lyx.org>
2194 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2195 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2196 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2198 * sgml.[Ch]: new version for open and closeTag for paragraph and
2199 for strings. Now they handle the ids of paragraphs.
2201 2004-10-26 Angus Leeming <leeming@lyx.org>
2203 * Makefile.am: add mover.[Ch].
2205 * converter.C (convert, move): use the new Movers to move external
2206 files to the temp directory.
2208 * lyx_main.C (init): ensure that the global system_movers data
2211 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2214 * mover.[Ch]: new files, defining a Mover as a utility to move an
2215 external file between directories and, if necessary, manipulate this
2216 file using a helper script.
2218 2004-10-25 José Matos <jamatos@lyx.org>
2220 * output_docbook.C (makeCommand): merge two if's that tested the
2223 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2225 * sgml.C (escapeString): fix warning in a better way
2227 2004-10-25 José Matos <jamatos@lyx.org>
2229 * sgml.C (escapeString): import the require boosts header file for
2230 tie, and avoid a signed unsigned comparison.
2232 2004-10-25 José Matos <jamatos@lyx.org>
2234 * sgml.h: add #include <string>
2236 2004-10-25 José Matos <jamatos@lyx.org>
2238 * sgml.[Ch] (escapeString): new function to escape all the string.
2240 2004-10-24 José Matos <jamatos@lyx.org>
2242 * paragraph.[Ch] (getFirstWord): new function to get the first
2243 word. Useful for description.
2244 (simpleDocBookOnePar): remove depth argument, add another that
2245 says where to start the paragraph.
2247 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2248 use the new functions to fix cleanly the support for descriptions.
2250 2004-10-24 José Matos <jamatos@lyx.org>
2252 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2253 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2254 * output_linuxdoc.C (linuxdocParagraphs):
2255 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2256 add buffer as argument.
2258 2004-10-24 José Matos <jamatos@lyx.org>
2260 * output_docbook.C (makeEnvironment, searchEnvironment): place
2261 CDATA inside paragraphs and fix scope for listitems.
2263 2004-10-24 José Matos <jamatos@lyx.org>
2265 * output_docbook.C: remove using statement for stack.
2267 2004-10-23 José Matos <jamatos@lyx.org>
2269 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2270 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2271 docbook. The new scheme is recursive and makes use of iterators, the
2272 same as latex export works.
2273 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2274 directly with the paragraph contents. This code was moved up to
2275 output_docbook.C (docbookParagraphs).
2276 * sgml.C (openTag, closeTag): removed unneeded newlines.
2277 (closeEnvTags) removed.
2279 2004-10-23 André Pönitz <poenitz@gmx.net>
2281 * undo.C (textUndoOrRedo):
2282 * dociterator.C (asDocIterator): work around crash
2284 * cursor.C (getStatus): replace ASSERT by more verbose error message
2285 and manual correction of the problem. Should increase stability
2286 while providing more sensible information.
2288 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2290 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2292 * bufferlist.C (previous, next): new methods
2295 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2297 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2299 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2300 entities to preamble.
2302 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2304 * messages.C (Pimpl): strip off translation context information
2306 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2308 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2309 the cursor is correct (bug 1694)
2311 2004-10-13 José Matos <jamatos@lyx.org>
2313 * output_docbook.C (docbookParagraphs): fix closing tags in the
2314 end of the document.
2316 2004-10-09 José Matos <jamatos@lyx.org>
2318 * buffer.C: format up to 237.
2319 * bufferparams.C (write): use tostr to convert booleans to strings.
2321 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2323 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2325 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2327 * LaTeX.C: implement use of babel language in xindy.
2329 2004-10-05 José Matos <jamatos@lyx.org>
2331 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2332 Add new translators to help reading and writing the lyx file.
2334 2004-10-05 José Matos <jamatos@lyx.org>
2336 * ParagraphParameters.C (read):
2337 * text.C (readParToken): replace nexToken by more appropriate lex
2340 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2342 * LaTeX.C (runMakeIndex):
2343 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2344 (usually 'makeindex') configurable.
2346 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2347 with a variable rather than with a number.
2349 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2351 * output_latex.C (TeXOnePar): make sure font setting is the first
2352 thing that gets output (and the last at the end). Should fix bug
2355 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2357 * pch.h: use proper signal include
2359 * LaTeX.h: Use preferred calling of Boost.Signal
2362 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2364 * pch.h: dont include <boost/function/function0.hpp>
2366 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2368 * paragraph_pimpl.h: remove usage of ShareContainer
2370 * paragraph_pimpl.C: remove initialization of ShareContainer.
2372 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2376 * BufferView.C (putSelectionAt): change the semantics when
2377 backwards == true: now, this just swaps cursor and anchor wrt the
2380 * BufferView.h (putSelectionAt): add some documentation
2382 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2383 make sure backwardChar is done at least once (to avoid getting
2385 (findNextChange): use putSelectionAt in the forward direction
2386 (operator()): use Paragraph::isWord
2388 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2390 * Spacing.C (set): c_str fix
2392 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2394 * lyx_cb.C (Reconfigure): quote the name of configure script in
2395 case it contains spaces
2397 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2401 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2402 (BOOST_LIBS): use top_buildir when looking for the file
2404 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2406 * pch.h: do not use include boost/format.hpp, multiple symbols
2407 will result (gcc bug)
2410 2004-08-23 José Matos <jamatos@lyx.org>
2412 * bufferparams.C (readToken): fix reading of the author field.
2414 2004-08-20 José Matos <jamatos@lyx.org>
2416 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2418 2004-08-20 José Matos <jamatos@lyx.org>
2420 * lyxlex.[Ch] (findToken): remove function.
2422 * ParagraphParameters.C (findToken):
2423 * bufferparams.C (findToken): replace call for previous function
2424 with local copy. This local function has one more argument, the
2425 read string argument.
2427 2004-08-16 José Matos <jamatos@lyx.org>
2429 * ParagraphParameters.C (write):
2430 * Spacing.C (writeFile):
2431 * bufferparams.C (writeLaTeX):
2432 * lyx_cb.C (Reconfigure):
2433 * paragraph.C (write):
2434 * tabular.C (write): remove unnecessary space at end of line.
2437 2004-08-16 José Matos <jamatos@lyx.org>
2439 * text.C (readParagraph): remove debug message.
2441 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2443 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2446 * output_plaintext.C (asciiParagraph): set depth correctly
2448 * outputparams.h: add member depth
2450 * paragraph_funcs.C (ownerPar): remove.
2452 * text2.C (setCounter): remove first_pit; comment out some
2453 non-working code that uses ownerPar
2455 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2458 2004-08-16 José Matos <jamatos@lyx.org>
2460 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2461 For the same level of importance use the same chanel to report problems.
2462 (read): add code to deal with \begin_body and \end_body.
2465 2004-08-15 José Matos <jamatos@lyx.org>
2467 * lyxlex.C (getString): fix comment, buffer::readBody is now
2468 buffer:readDocument.
2470 * tex-strings.C (string_papersize): Default -> default,
2471 Custom -> custom, for consistency with other options.
2473 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2477 * Makefile.am: support pch
2479 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2481 * text.C (readParToken): remove the static LyXFont variable and
2482 pass it as a parameter instead. This fixes a nasty bug where an
2483 inset will be inserted with a bad font in some situations
2484 (readParagraph): adapt
2486 * text2.C (setCounter): reduce number of calls to pars_[pit]
2488 * text.C (singleWidth): add an assert, fix a test
2490 * rowpainter.C (paintText): reduce number of calls to singleWidth
2492 * paragraph.C (isHfill):
2493 (isNewline): ws only
2495 2004-08-14 André Pönitz <poenitz@gmx.net>
2500 * lyxtext.h (several functions): use a Paragraph & argument
2503 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2505 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2507 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2509 * text.C (singleWidth): remove useless test
2511 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2513 * tabular.h: remove bogus comments
2515 * tabular.C (getDescentOfRow):
2516 (isPartOfMultiColumn): add assertions
2518 * lyxlength.C (inPixels): remove #warning
2520 2004-08-14 André Pönitz <poenitz@gmx.net>
2522 * paragraph.h: inline getChar()
2524 * BufferView.h: remove unused declarations
2526 2004-08-14 José Matos <jamatos@lyx.org>
2528 * Buffer.[Ch] (readDocument): new name for old readBody.
2529 * Buffer.C: new file format, new keywords: \begin_document,
2530 \begin_header, \begin_body, \end_body.
2532 * bufferparams.C (readToken): replace all calls to lex.nextToken
2533 by lex.next(). Do the same to eatLine except where really needed.
2535 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2536 line when writing to the lyx file.
2538 * output_plaintext.C (asciiParagraph): fix Bibliography style
2541 * text.C (read): fix end of file handling.
2543 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2545 * MenuBackend.C (Menu::operator[]): new method to access
2546 individual menu items
2547 (Menu::hasFunc): new method. search for an item that corresponds
2549 (MenuBackend::specialMenu): new method
2550 (MenuBackend::expand): if a special menu has been set, skip
2551 entries whose func() appears in this menu
2553 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2555 * text3.C: use Debug::DEBUG a bit more
2557 * text.C (leftMargin): try to simplify a tiny bit change var x to
2558 l_margin. Dont output the wide margins always.
2559 (rightMargin): no margin in inner texts
2561 * rowpainter.h (nestMargin): new func
2562 (changebarMargin): new func
2563 (rightMargin): new func
2565 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2569 * factory.C (createInset): modify setDrawFrame
2571 * cursor.C: use Debug::DEBUG a bit more
2573 2004-08-14 André Pönitz <poenitz@gmx.net>
2576 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2577 cache for all insets in (at least partially) visible (top-level)
2580 * BufferView_pimpl.C: reset external coord cache before every update.
2581 This means the coord cache only contains valid entries.
2583 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2586 * BufferView_pimpl.C (getInsetByCode): move function out of class
2587 and change in to a template in anon namespace. Also fix to do what
2590 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2593 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2595 (breakParagraph): rename par to par_offset and use a local
2596 reference. Add code to keep the language over a rebreak.
2597 (breakParagraphConservative): rename par to par_offset, use a
2599 (mergeParagraph): ditto
2601 (isFirstInSequence): ditto
2602 (outerFont): rename pit to par_offset
2604 * paragraph.C: ws change
2605 * paragraph.h: ditto
2609 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2611 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2614 * paragraph.C (simpleTeXOnePar): when we have a \item with
2615 optional argument, enclose the argument with curly brackets (in
2616 case it contains a closing square bracket)
2620 * text3.C (checkInsetHit): constify
2622 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2624 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2625 documents (bug 1629)
2627 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2629 Fix toggling of collapsable insets with the mouse (bug 1558)
2631 * lyxfunc.C (dispatch): adapt to LCursor changes
2633 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2634 make sure that dispatch is not invoked twice
2636 * cursor.C (needsUpdate): new method
2637 (dispatch): return void
2638 (result): new method, to access the DispatchResult of the cursor.
2640 2004-08-13 José Matos <jamatos@lyx.org>
2642 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2644 2004-08-13 André Pönitz <poenitz@gmx.net>
2646 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2648 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2651 2004-08-12 André Pönitz <poenitz@gmx.net>
2653 * text3.C: take out the 'cursor right' form insertInset and only
2654 do it in those places when it is really needed. Fixes crash on
2657 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2659 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2661 * BufferView_pimpl.C (setBuffer): initialize the current font of
2662 the underlying LyXText
2664 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2666 * kbsequence.C (print): use UI native formatting for menu
2669 * text.C (insertChar): call Paragraph::insertChar with a font
2672 * paragraph.C (insertInset, insertChar): the version that takes a
2673 LyXFont argument is now a wrapper around the other one (the
2674 opposite used to be true).
2676 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2677 argument. Font setting is done in Paragraph now.
2679 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2681 * outputparams.h: add new members intitle and lang.
2683 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2684 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2686 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2688 * text3.C (dispatch): remove special handling of button 4 and 5,
2689 it is now taken care of in the frontend code.
2691 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2693 * Spacing.h: add <string> (STLPort compile fix)
2695 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2697 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2699 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2701 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2704 * converter.C (showMessage): inherit from unary_function, make
2707 * buffer.C (writeFile): initialize retval
2709 * InsetList.h: rename private variable list to list_
2710 * InsetList.[Ch]: adjust accordingly.
2712 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2714 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2715 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2716 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2717 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2718 * ParagraphParameters.C, LaTeXFeatures.C: replace
2719 "support/std_sstream.h" with <sstream>
2721 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2723 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2724 * lyxsocket.C (LyXServerSocket): ditto
2725 (serverCallback): ditto
2727 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2729 * LaTeXFeatures.C: check release date when loading jurabib.
2731 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2733 * lyxserver.C (startPipe): call register_socket_callback
2734 (endPipe): call unregister_socket_callback
2736 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2738 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2739 (LyXServerSocket): register the callback
2740 (LyXServerSocket): unregister the callback
2741 (fd): delete function
2742 (serverCallback): improve error checking and setup the callbacks.
2743 (dataCallback): change arg to fd.
2744 (writeln): new func (copied fro the client socket) used for server
2746 (LyXDataSocket): simplify
2747 (~LyXDataSocket): close ann unregiser callback
2748 (server): delete function
2749 (fd): delete function
2750 (readln): small changes, improve some std::string usage
2751 (writeln): constify a bit
2753 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2755 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2758 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2760 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2761 after it has been populated
2763 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2765 * text2.C (insertInset): move cursor when inserting inset.
2767 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2769 * kbmap.C (findbindings): a couple of new methods. returns a
2770 container of kb_sequence objects. The real work is done by the
2771 private recursive version
2772 (printbindings): uses findbindings to print out a bracketed list
2773 of bindings (renamed from findbinding).
2775 * MenuBackend.C (binding): use kb_keymap::findbindings
2777 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2779 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2781 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2783 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2785 * paragraph.C (isWord): return true on insets that report
2788 * text.C (getWord): use Paragraph::isWord to decide what is in a
2789 word and what is not; fix bug 1609.
2791 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2793 * tex-strings.C: add "none" to string_paperpackages[], fixes
2794 off-by-one-error in the paperpackage selection.
2797 * tex-strings.[Ch]: char const * string[n]
2798 -> char const * const string[]
2800 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2802 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2803 command, return early.
2805 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2807 * debug.h: add DEBUG to enum and fix size of ANY.
2809 * debug.C: add support for Debug::DEBUG
2810 (showTags): cast errorTags.level to unsigned int
2812 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2813 (redoCurrentBuffer): ditto
2814 (updateScrollbar): ditto
2815 * cursor.C (dispatch): ditto
2816 * text2.C (setLayout): ditto
2818 (updateCounters): ditto
2820 (deleteEmptyParagraphMechanism): ditto
2822 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2824 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2825 annotations to cleanup the Makefile slightly.
2827 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2829 * lyxrc.C: do not set user_email to a default value but use empty
2830 instead. The entry used to be translated, which does not work
2831 since at the point where lyxrc is constructed there is no
2832 translation service available
2834 * messages.C (getLocaleDir): remove and use directly
2835 lyx_localedir() instead
2837 2004-06-02 Angus Leeming <leeming@lyx.org>
2839 Fix crash caused by dereferencing null pointer 'exportdata' in
2840 OutputParams by creating a new ExportData variable on the heap,
2841 storing it in a boost::shared_ptr.
2842 The crash was triggered when generating an Instant Preview
2843 of an external inset.
2845 * Makefile.am: add outputparams.C
2847 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2848 (c-tor): allocate memory to it.
2850 * exporter.C (c-tor): associated changes.
2852 2004-06-01 Angus Leeming <leeming@lyx.org>
2854 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2855 contains data before calling isInset(0). (Bug 1513.)
2857 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2859 * exporter.C (checkOverwrite): new method
2860 * exporter.C (copyFile): new method
2861 * exporter.C (Export): copy referenced files to the document dir
2862 * exporter.[Ch]: new class ExportedFile
2863 * exporter.[Ch]: new class ExportData. Contains currently the
2864 names of referenced external files
2865 * outputparams.h: add exportdata member.
2867 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2869 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2872 2004-05-19 Angus Leeming <leeming@lyx.org>
2877 * lyxfunc.C: small changes due to the introduction of namespace
2878 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2880 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2882 * text3.C (dispatch): supress update when only moving the cursor
2883 * cursor.C (selHandle): remove commented code
2885 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2887 * paragraph.C (startTeXParParams): correct column count
2888 * CutAndPaste.C (pasteSelection): remove const_cast
2889 * output_docbook.C (docbookParagraphs): remove const_cast
2890 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2891 const_cast and return ParagraphList::const_iterator
2892 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2893 * output_plaintext.C (writeFileAscii): remove const_cast
2894 * paragraph.[Ch] (simpleTeXOnePar): make const
2895 * paragraph_funcs.C (outerPar): use const iterators
2896 * paragraph_pimpl.C (validate): use const iterators
2897 * text.C (setHeightOfRow): use const iterators
2899 2004-05-17 Angus Leeming <leeming@lyx.org>
2902 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2904 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2905 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2906 if the citation engine has changed.
2908 2004-05-14 José Matos <jamatos@lyx.org>
2910 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2911 if the textclass does not provide it. Have it different for sgml and
2913 support the language of document.
2914 * output_docbook.C (docbookParagraphs):
2915 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2916 first anchor as the id of the paragraph, remove special case code.
2917 * sgml.C (escapeChar): escape only < & >.
2919 2004-05-14 Angus Leeming <leeming@lyx.org>
2921 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2922 dependencies on src/frontends/controllers/biblio.h. Define a
2923 CiteEngine_enum wrapper class to enable the enum to be forward
2926 2004-05-12 Angus Leeming <leeming@lyx.org>
2928 * buffer.C: up LYX_FORMAT to 234.
2929 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2930 use_numerical_citations with a single biblio::CiteEngine cite_engine
2932 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2934 2004-05-13 José Matos <jamatos@lyx.org>
2937 * converter.C (Converter, readFlags): add xml member.
2938 * outputparams.h: add XML flavor.
2939 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2941 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2943 * lyxfunc.C (dispatch):
2944 (getStatus): fix handling of LFUN_SEQUENCE
2946 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2948 * debug.C (showLevel): do not forget the end-of-line marker
2950 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2952 * kbmap.C (read): do not stop parsing a bind file when an error
2955 2004-04-29 Angus Leeming <leeming@lyx.org>
2960 * text2.C: wrap a bunch of #warning statements
2961 inside #ifdef WITH_WARNINGS blocks.
2963 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2965 * buffer.C: increment format to 233.
2967 2004-04-28 Angus Leeming <leeming@lyx.org>
2969 * BufferView_pimpl.C:
2972 s/updateToolbar()/updateToolbars()/
2973 s/Toolbar.h/Toolbars.h/
2975 2004-04-28 Angus Leeming <leeming@lyx.org>
2977 * BufferView.[Ch] (c-tor):
2978 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2979 No longer passes these data to the WorkArea generator.
2981 2004-04-28 Angus Leeming <leeming@lyx.org>
2983 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2985 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2987 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2989 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2991 * output_latex.C (TeXEnvironment): make sure that there is a line
2992 break before \end{foo} for the last paragraph of a document
2993 (TeXOnePar): if the paragraph is at the end of the document (or
2994 inset) and the language has to be reset, then make sure that the
2995 line break is _before_ the language command, not after (fixes bug
2996 1225); also make sure that the language reset command is the first
2997 thing after the paragraph (to ensure proper nesting of
2998 environments and thus fix bug 1404)
3000 2004-04-21 John Levon <levon@movementarian.org>
3003 * ToolbarBackend.C: make "name" be a programmatic name
3004 and a gui_name field.
3006 * lyxfunc.C: display the minibuffer on M-x
3008 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3010 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3013 2004-04-19 Angus Leeming <leeming@lyx.org>
3015 * BufferView_pimpl.C (setBuffer): changed preview interface.
3017 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3020 2004-04-19 John Levon <levon@movementarian.org>
3022 * BufferView_pimpl.C:
3023 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3025 2004-04-05 Angus Leeming <leeming@lyx.org>
3027 * text.C (redoParagraphs): add call to updateCounters(), thereby
3028 fixing the missing "Figure #:" label from the caption of a
3031 2004-04-13 Angus Leeming <leeming@lyx.org>
3033 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3034 cursor is clicked out of an inset.
3036 2004-04-13 Angus Leeming <leeming@lyx.org>
3038 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3039 than an InsetOld one.
3041 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3043 * format.[Ch]: add editor to Format
3044 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3045 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3047 2004-04-08 André Pönitz <poenitz@gmx.net>
3049 * metricsinfo.h: remove PainterInfo::width member
3051 2004-04-08 Angus Leeming <leeming@lyx.org>
3053 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3054 "\providecommand" rather than "\newcommand", thereby preventing
3055 clashes with packages that define "\boldsymbol" themselves.
3058 2004-04-08 Angus Leeming <leeming@lyx.org>
3060 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3061 thereby squashing an unnecessary warning.
3063 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3065 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3068 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3070 * BufferView.C (setCursor): call redoParagraph (some insets could
3072 (putSelectionAt): remove the 'double update' trick
3074 * BufferView_pimpl.C (fitCursor): call refreshPar
3075 (workAreaDispatch): remove an uneeded update call
3076 (dispatch): remove some manual update calls
3078 * cursor.[Ch]: remove cached_y_, updatePos
3079 (selHandle): set noUpdate when appropriate
3081 * lyxfunc.C (dispatch): track if we need an update
3083 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3085 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3086 (paintSelection): cheap optimization, do not call cursorX when not
3088 (paintPars): change signature
3091 (paintTextInset): adjust
3095 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3097 * lengthcommon.C: compilation fix: remove explicit array size from
3098 unit_name[] and friends
3100 2004-04-05 Angus Leeming <leeming@lyx.org>
3102 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3104 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3105 present only for the preferences dialog.
3106 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3108 2004-04-05 Angus Leeming <leeming@lyx.org>
3110 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3111 to enable the frontends to export changes to lyxrc correctly.
3113 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3115 2004-04-07 André Pönitz <poenitz@gmx.net>
3117 * cursor.[Ch] (selClear, adjust): remove math
3119 * cursor_slice.C: more agressive assert
3122 * BufferView_pimpl.C: rework mouse event dispatch
3129 2004-04-05 André Pönitz <poenitz@gmx.net>
3131 * cursor.[Ch] (valign, halign...): remove unneeded functions
3133 2004-04-05 Angus Leeming <leeming@lyx.org>
3135 * lyxlength.[Ch] (unit_name et al.): const-correct.
3137 2004-04-05 Angus Leeming <leeming@lyx.org>
3139 * BufferView_pimpl.C:
3148 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3150 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3152 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3154 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3156 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3157 * BufferView_pimpl.[Ch] (getStatus)
3158 * BufferView.[Ch] (getStatus): add
3159 * lyxfunc.C (getStatus): move lfuns handled in
3160 BufferView::dispatch to te function above
3161 * Cursor.C (setSelection): set selection() = true
3163 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3165 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3167 2004-03-31 Angus Leeming <leeming@lyx.org>
3169 * lyxfunc.C (dispatch): Fall through to the generic
3170 Dialogs::show("preamble").
3172 2004-03-31 Angus Leeming <leeming@lyx.org>
3174 * lyxfunc.C (dispatch): Fall through to the generic
3175 Dialogs::show("spellchecker").
3177 2004-03-31 Angus Leeming <leeming@lyx.org>
3179 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3182 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3187 * insetiterator.[Ch]:
3192 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3194 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3196 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3197 insets where we are putting the cursor.
3199 2004-03-31 Angus Leeming <leeming@lyx.org>
3202 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3204 * lyxrc.[Ch] (read, write): overloaded member functions taking
3205 a std::[io]stream arguments.
3207 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3209 2004-03-31 Angus Leeming <leeming@lyx.org>
3211 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3212 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3214 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3215 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3217 2004-03-31 Angus Leeming <leeming@lyx.org>
3219 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3220 the LFUN_ALL_INSETS_TOGGLE code.
3222 2004-03-30 Angus Leeming <leeming@lyx.org>
3224 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3225 has died. Fall through to the generic Dialogs::show("document").
3227 2004-03-30 Angus Leeming <leeming@lyx.org>
3230 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3231 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3233 * lyxfunc.C (getStatus, dispatch): define the actions for these
3234 lfuns. Little more than a cut and pste job from ControlDocument.C
3236 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3238 2004-03-30 Angus Leeming <leeming@lyx.org>
3241 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3242 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3244 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3245 open/closed state of ollapsable insets. Usage:
3247 all-inset-toggle <state> <name>, where
3248 <state> == "open" || "closed" || "toggle" and
3249 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3251 * lyxtext.h, text2.C (toggleInset): removed.
3253 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3254 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3255 now passes LFUN_INSET_TOGGLE to the found inset.
3257 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3258 is now invoked as "all-insets-toggle toggle branch".
3260 2004-03-30 Angus Leeming <leeming@lyx.org>
3264 * pariterator.[Ch]: added/corrected header blurb.
3266 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3268 * dociterator.[Ch]: add an inset_ member
3269 (backwardPos): implemented
3270 (backwardPos, forwardPos): use inset_ when the stack is empty.
3271 (doc_iterator_begin, doc_iterator_end): implemented
3272 * pariterator.[Ch]: adjust, add begin, end
3273 * insetiterator.[Ch]: adjust, add begin, end
3277 * BufferView_pimpl.C:
3278 * CutAndPaste.C: adjust
3280 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3282 * buffer.C: increment file format to 232.
3283 * LaTeXFeatures.C: add bibtopic package.
3284 * bufferparams.[Ch]: param \use_bibtopic.
3286 * lyxrc.[Ch]: add lyxrc bibtex_command
3287 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3289 * buffer.C: increment file format to 231.
3291 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3293 * dociterator.C: implement forwardPar
3294 * iterators.[Ch]: remove, replaced by
3295 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3297 * BufferView_pimpl.C:
3300 * bufferview_funcs.C:
3306 * Makefile.am: adjust
3308 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3310 * CutAndPaste.C (pasteSelection): fix 2 crashes
3311 (eraseSelection): fix a crash
3312 * paragraph_funcs.C: remove a warning
3314 2004-03-28 Angus Leeming <leeming@lyx.org>
3317 * LyXAction.C (init): new LFUN_PRINT.
3319 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3321 2004-03-27 Angus Leeming <leeming@lyx.org>
3324 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3326 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3328 2004-03-27 Angus Leeming <leeming@lyx.org>
3330 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3331 insetlist always contains non-null pointers to insets.
3333 2004-03-26 Angus Leeming <leeming@lyx.org>
3335 * src/BufferView_pimpl.C:
3336 * src/CutAndPaste.C:
3339 * src/output_plaintext.C:
3340 * src/outputparams.h:
3341 * src/paragraph_funcs.C:
3345 * src/frontends/controllers/ControlErrorList.C:
3346 * src/frontends/gtk/FileDialogPrivate.C:
3347 * src/frontends/gtk/GPainter.C:
3348 * src/frontends/gtk/GToolbar.C:
3349 * src/frontends/qt2/QRef.C:
3350 * src/mathed/math_scriptinset.C: squash compiler warnings.
3352 2004-03-26 Angus Leeming <leeming@lyx.org>
3354 * ispell.C (LaunchIspell::start):
3355 * lyx_cb.C (AutoSaveBuffer::start):
3356 invoke run(DontWait) rather than runNonBlocking().
3358 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3360 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3362 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3364 * kbsequence.C (print): adjust
3366 * kbmap.C (printKeySym): rename and change signature
3367 (printKey): use LyXKeySym::print()
3369 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3371 * undo.C: add using std::advance to compile for stlport
3373 2004-03-24 Angus Leeming <leeming@lyx.org>
3375 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3376 it leads to a crash when no buffer is present.
3378 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3379 Martin Vermeer <martin.vermeer@hut.fi>
3381 * lyxfunc.C (dispatch):
3382 * bufferparams.C (readToken): use the new LColor::setColor
3384 * LColor.[Ch] (setColor): new version that takes two strings as
3385 argument and creates a new color entry if necessary
3387 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3389 * buffer.C (makeLaTeXFile): if the main latex file that is
3390 processed is usually a subdocument of some master, then pretend
3391 for a while that it is actually the master
3393 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3395 * buffer.C (getLabelList):
3396 (getBibkeyList): use getMasterBuffer()
3397 (getMasterBuffer): new method. Returns the main document in the
3398 case where one is using included documents.
3400 2004-03-25 André Pönitz <poenitz@gmx.net>
3404 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3406 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3408 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3409 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3411 * ParameterStruct.h: merge with ParagraphParameters
3413 * lyxtext.h: remove LyXText::parOffset() and getPar()
3415 * text3.C: Remove all 'manual' update calls. We do now one per user
3416 interaction which is completely sufficient.
3420 * BufferView_pimpl.C:
3421 * FontIterator.[Ch]:
3423 * ParagraphParameters.[Ch]:
3428 * cursor_slice.[Ch]:
3435 * output_docbook.[Ch]:
3436 * output_latex.[Ch]:
3437 * output_linuxdoc.[Ch]:
3438 * output_plaintext.[Ch]:
3440 * paragraph_funcs.[Ch]:
3441 * paragraph_pimpl.[Ch]:
3449 * frontends/controllers/ControlDocument.C:
3450 * frontends/controllers/ControlErrorList.C:
3451 * frontends/controllers/ControlSpellchecker.C:
3454 * insets/insetbase.h:
3455 * insets/insetbibitem.C:
3456 * insets/insetbox.C:
3457 * insets/insetbranch.C:
3458 * insets/insetcaption.C:
3459 * insets/insetcharstyle.C:
3460 * insets/insetcharstyle.h:
3461 * insets/insetcollapsable.C:
3462 * insets/insetcollapsable.h:
3463 * insets/insetert.C:
3464 * insets/insetfloat.C:
3465 * insets/insetfoot.C:
3466 * insets/insetmarginal.C:
3467 * insets/insetnote.C:
3468 * insets/insetoptarg.C:
3469 * insets/insettabular.C:
3470 * insets/insettext.C:
3471 * insets/insettext.h:
3472 * insets/insetwrap.C:
3473 * mathed/math_mboxinset.C:
3474 * mathed/math_nestinset.C:
3475 * mathed/math_scriptinset.C:
3476 * mathed/math_scriptinset.h:
3479 2004-03-24 Angus Leeming <leeming@lyx.org>
3481 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3482 deal with any child processes that have finished but are waiting to
3483 communicate this fact to the rest of LyX.
3485 2004-03-24 Angus Leeming <leeming@lyx.org>
3487 64-bit compile fixes.
3489 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3490 (c-tor): pass lyx::pos_types rather than ints.
3492 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3495 * text.C (Delete): compile fix.
3496 (getPar): ensure that function declaration is the same as that in
3499 2004-03-23 Angus Leeming <leeming@lyx.org>
3501 * ispell.C (LaunchIspell):
3502 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3503 a boost::shred_ptr rather than a std::auto_ptr.
3505 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3507 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3508 handle LFUN_FILE_INSERT_*
3510 * lyxrc.C (setDefaults, getDescription, output, read):
3511 * lyxrc.h: remove ps_command
3513 2004-03-22 Angus Leeming <leeming@lyx.org>
3515 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3516 Ensure that error_handler is processed once only and that all data
3517 is saved before attempting to output any warning messages.
3519 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3521 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3523 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3525 2004-03-19 André Pönitz <poenitz@gmx.net>
3527 * cursor.[Ch] (reset): take main text inset as argument
3529 * BufferView: adjust
3530 * BufferView_pimpl.C: adjust
3532 * paragraph.[Ch]: fix completely broken operator=()
3534 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3536 * LColor.C (getFromLyXName): make sure that the color name is used
3539 2004-03-17 Angus Leeming <leeming@lyx.org>
3542 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3544 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3545 dialog and to kill a forked process.
3547 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3549 * text2.C (setCursorFromCoordinates): fix font problem
3551 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3553 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3554 bogus "rebuild cursor" code
3556 2004-03-11 André Pönitz <poenitz@gmx.net>
3558 * buffer.[Ch]: use InsetText instead of LyXText as container for
3561 * dociterator.[Ch]: drop the BufferView * member which is not needed
3562 anymore after the change to buffer.C
3564 * paragraph_funcs.C:
3568 * BufferView_pimpl.[Ch]:
3570 * cursor_slice.[Ch]: adjust
3572 * text3.C: fix bug in mathDispatch
3574 2004-03-08 André Pönitz <poenitz@gmx.net>
3576 * undo.[Ch]: use 'StableDocumentIterator' as base for
3579 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3582 * bufferparams.[Ch]: add jurabib support and param.
3584 * LaTeX.C: add FIXME/comment.
3586 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3588 * buffer.C: increment file format to 230.
3590 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3592 * cursor.C (dispatch): avoid infinite loops
3594 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3596 * rowpainter.C (paintSelection): fix x coordinates
3598 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3600 * text.C (rowBreakPoint): fix breaking before displayed insets
3602 2004-03-01 André Pönitz <poenitz@gmx.net>
3604 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3606 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3610 * BufferView_pimpl.C:
3618 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3624 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3625 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3627 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3629 * Bidi.[Ch] (computeTables): const correctness
3630 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3631 fill_hfill, fill_label_hfill and x from Row
3632 * lyxtext.h: prepareToPrint returns a RowMetrics
3633 * rowPainter.C: adjust
3634 * text.C (prepareToPrint): use width, not textWidth. adjust
3635 (redoParagraphInternal, cursorX): adjust
3636 * text2.C (getColumnNearX): adjust
3637 (init): put a default value to the top LyXText::width
3639 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3641 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3643 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3645 * lyxtext.h: add FontIterator class
3647 * text.C (FontIterator, operator*, operator->, operator++): add
3648 (rowBreakPoint, setRowWidth): adjust (fixing a
3651 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3653 * BufferView_pimpl.C (workAreaDispatch): allow also
3654 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3656 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3658 * text.C (rowBreakPoint): fix a bug showing with very large insets
3660 2004-02-25 André Pönitz <poenitz@gmx.net>
3663 * cursor.[Ch]: move some mathed specific code to mathed
3665 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3667 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3668 use_tempdir in preferences
3669 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3671 * lyx_main.C: ensure that tempdir is valid
3672 * lyxlex.h: correct typo
3673 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3674 * paragraph.[Ch] (isMultiLingual): make const
3675 * cursor.[Ch] (openable): make const
3677 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3679 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3681 2004-02-20 André Pönitz <poenitz@gmx.net>
3683 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3685 * cursor.[Ch]: prepare for localized getStatus()
3691 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3693 2004-02-20 André Pönitz <poenitz@gmx.net>
3695 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3697 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3699 * text2.C (setCursorFromCoordinates): switch to absolute coords
3701 (cursorDown): adjust
3702 * text3.C (dispatch): adjust
3704 2004-02-16 André Pönitz <poenitz@gmx.net>
3706 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3709 * cursor_slice.[Ch]: remove unneeded acessor function
3711 * lyxtext.h: rename rtl() to isRTL()
3719 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3721 * rowpainter.C (paintSelection): coord fix
3723 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3725 * Spacing.C: compile fix
3727 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3729 * cursor.C (dispatch): restore current_ before returning
3731 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3733 * text2.C (cursorUp, cursorDown): fix coords
3736 2004-02-12 André Pönitz <poenitz@gmx.net>
3741 * text3.C: add LCursor & parameter to most cursor movement functions
3742 remove usage of LyXText::cursorRow() and cursorPar()
3744 * cursor.[Ch]: add textRow() needed members
3747 * BufferView_pimpl.C:
3750 * BufferView_pimpl.C: adjust
3752 2004-02-11 André Pönitz <poenitz@gmx.net>
3756 * BufferView_pimpl.C: shift undo/redo handling
3758 * cursor.[Ch]: fix mathed crash
3761 * lyxtext.h: move selectionAsText to LCursor
3769 * rowpainter.C: fix excessive drawing
3771 2004-02-06 André Pönitz <poenitz@gmx.net>
3774 * BufferView_pimpl.[Ch]:
3775 * text3.C: move some text specific LFUN handling
3777 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3779 * text3.C (checkInsetHit): adjust coords
3780 * text2.C (getColumnNearX): adjust coords
3781 (edit): adjust coords
3782 * text.C (getRowNearY): add two asserts
3784 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3787 * format.C: add using std::distance to compile on gcc 2.95/stlport
3789 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3791 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3793 2004-02-04 André Pönitz <poenitz@gmx.net>
3795 * BufferView.[Ch] (insertInset):
3796 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3801 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3803 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3804 on the default clause of the switch
3805 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3806 wasn't catched by LCursor::dispatch
3808 2004-02-03 André Pönitz <poenitz@gmx.net>
3811 * cursor.[Ch]: some additional asserts
3813 * undo.[Ch]: remove LyXText dependency in interface
3817 * lyxtext.h (firstPar, lastPar): remove dead functions
3822 * paragraph.[Ch]: adjust
3824 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3826 * lyxfind.C (find): fix argument order in call to ::find
3828 2004-02-02 André Pönitz <poenitz@gmx.net>
3830 * cursor.[Ch]: remove direct access to anchor
3832 * text.C: remove findText() hack
3834 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3836 * iterators.[Ch] (lockPath): remove in favour of...
3837 * BufferView.[Ch] (setCursor): this addition
3838 * BufferView.C (putSelectionAt): adjust
3839 * undo.C (performUndoOrRedo): adjust
3840 * lyxfunc.C (dispatch): adjust
3842 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3844 * iterators.C (lockPath): add a missing slice
3845 * undo.C (performUndoOrRedo): remove redundant positioning code
3847 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3849 * vc-backend.C (scanMaster): ";" -> ';'
3851 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3853 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3854 std::binary_function
3856 * lyxtextclass.C (compare_name): rename to...
3857 (LayoutNamesEqual): ...this
3859 * lyxlex_pimpl.C (compare_tags): inherit from
3860 std::binary_function, put back into anon namespace
3862 * lyxfind.C (MatchString): inherig from std::binary_function
3863 (findChange): use empty() istead of !size()
3865 * format.C (FormatNamesEqual): new functor
3872 * converter.C (compare_Converter): rename to...
3873 (ConverterEqual): ...this, and fixup a bit.
3874 (getConverter): use it, and make function const
3875 (getNumber): use it, and make function const
3879 * bufferlist.C: add using boost::bind
3881 * MenuBackend.C (MenuNamesEqual): new functor
3882 (hasMenu): use it, and make function const
3883 (hasSubmenu): use nested bind to get rid of compare_memfun.
3885 2004-01-30 André Pönitz <poenitz@gmx.net>
3887 * BufferView_pimpl.C:
3890 * cursor_slice.[Ch]:
3893 * paragraph_funcs.C:
3894 * paragraph_funcs.h:
3898 * text3.C: move some of the edit(x,y) handling to the insets
3899 some coordinate changes.
3901 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3903 * text.C: add using statements for std::advance and std::distance
3905 * paragraph.C: add using statement for std::distance
3907 * lyxfind.C: add using statement for std::advance
3909 * cursor.C (region): remove std:: from swap
3910 (openable): use nucleus in stead of operator->
3912 * BufferView.C: add using statements for std::distance and std::swap
3914 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3916 * iterators.C: Remove the pimple, move the needed structures to
3917 the header file. Create accessor for the positions stack.
3918 (asPosIterator): remove function
3920 * PosIterator.C (PosIterator): move constructors to top of file
3921 (PosIterator): reimplement the constructor taking a ParIterator in
3923 (setFrom): new function
3924 (operator!=): inline it
3926 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3928 * lyxfind.C (replaceAll): use std::advance
3930 * iterators.h: inherit from std::iterator.
3932 * PosIterator.C (advance, distance): remove
3933 * PosIterator.h: interit from std::iterator.
3935 2004-01-26 André Pönitz <poenitz@gmx.net>
3938 * BufferView_pimpl.[Ch]:
3942 * bufferview_funcs.C:
3952 * output_linuxdoc.C:
3953 * output_plaintext.C:
3955 * paragraph_funcs.[Ch]:
3956 * paragraph_pimpl.[Ch]:
3962 * text3.C: more IU: dumps most of the rest of the mathcursor
3963 implementation into cursor.[Ch]; "globalize" a bit of it.
3965 2004-01-25 Angus Leeming <leeming@lyx.org>
3967 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3969 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3971 * LaTeXFeatures.h: add nice_ and nice() const
3972 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3974 2004-01-20 André Pönitz <poenitz@gmx.net>
3977 * BufferView_pimpl.C:
3979 * bufferview_funcs.C:
3981 * cursor_slice.[Ch]:
3992 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3993 LCursor and mathcursor parts to LCursor and InsetBase.
3995 2004-01-15 André Pönitz <poenitz@gmx.net>
3997 * cursor_slice.[Ch]: add a few covienience functions
3999 * funcrequest.[Ch]: remove BufferView * member
4001 * BufferView_pimpl.C:
4008 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4010 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4012 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4013 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4015 2004-01-13 André Pönitz <poenitz@gmx.net>
4018 * lyxtext.h: hide cursor and selection anchor behind accessor function
4021 * BufferView_pimpl.[Ch]:
4023 * bufferview_funcs.C:
4033 * cursor_slice.[Ch]: some integer type changes for inset unification
4035 * lyxcursor.[hC]: remove, it's CursorSlice now.
4038 * BufferView_pimpl.[Ch]:
4039 * bufferview_funcs.C:
4045 * textcursor.[Ch]: adjust
4047 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4049 * text2.C (undoSpan): add and use
4050 * text.C (breakParagraph): use undoSpan (fix bug 578)
4053 2004-01-08 Angus Leeming <leeming@lyx.org>
4055 * BufferView_pimpl.C (MenuInsertLyXFile):
4056 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4057 * lyxfunc.C (menuNew, open, doImport):
4058 FileFilterList change to the FileDialog open and save functions.
4060 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4062 * ShareContainer.h: make isEqual and isUnique adaptable
4064 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4066 2004-01-07 Angus Leeming <leeming@lyx.org>
4069 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4071 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4073 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4074 functions replacing find, replace and replaceAll.
4076 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4077 LFUN_WORDFIND(FORWARD|BACKWARD).
4079 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4081 * text.C (breakParagraph): remove an outdated #warning
4083 2004-01-07 André Pönitz <poenitz@gmx.net>
4085 * lyxfind.C: somewhat clearer logic
4087 * text.C: prevent crash in cursorX on unitialized row cache
4089 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4091 * lyxcursor.[Ch] (operator>): add
4092 * textcursor.C (selStart, selEnd): use std::min and std::max
4094 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4096 * Chktex.C: include boost/format.hpp
4098 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4100 * InsetList.C: replace functor MathcIt with adaptable functor
4102 (insetIterator): modify accordingly
4104 * BranchList.h: move the BranchNamesEqual functor here from...
4105 * BranchList.C: ... to here
4107 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4109 (add): replace a finding loop with std::find_if.
4111 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4113 * output_docbook.C: moving LatexParam functionality into
4116 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4118 * buffer.C: increment format to 229.
4120 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4123 * lyx_sty.[Ch]: remove minipageindent_def
4129 * text3.C: remove LFUN_INSET_MINIPAGE
4131 2003-12-28 Angus Leeming <leeming@lyx.org>
4133 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4135 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4137 * text2.C (setParagraph): fix off-by-one crash
4139 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4141 * output_docbook.C: header stuff for AGU
4143 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4145 * text2.C (redoCursor): remove
4148 * BufferView_pimpl.C: remove calls to redoCursor and
4149 setCursor(cursor.par(), cursor.pos()) all around
4151 2003-12-15 Angus Leeming <leeming@lyx.org>
4153 * buffer.C: up the format to 228.
4155 2003-12-15 André Pönitz <poenitz@gmx.net>
4157 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4162 * BufferView_pimpl.C:
4171 2003-12-15 Angus Leeming <leeming@lyx.org>
4173 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4174 than getFromGUIName to manipulate the color.
4176 2003-12-14 Angus Leeming <leeming@lyx.org>
4178 * BranchList.[Ch]: minimize the API.
4179 (Branch::getBranch, getColor): now return a 'const &'.
4180 (Branch::setSelected) now returns a bool set to true if the
4181 selection status changes.
4182 (BranchList::clear, size, getColor, setColor, setSelected,
4183 allBranches, allSelected, separator): removed.
4184 (BranchList::find): new functions, returning the Branch with
4186 (BranchList::add, remove): return a bool indicating that
4187 the operation was successful.
4189 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4190 new InsetBranch::isBranchSlected member function.
4192 * LColor.[Ch]: mimimize the API.
4193 (fill): renamed as addColor and made private.
4194 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4195 versions of these functions taking a string arg have been removed.
4197 * bufferparams.C (readToken):
4198 * lyxfunc.C (dispatch):
4199 * lyxrc.C (read): changes due to the altered BranchList and
4202 * factory.C (createInset, readInset): changes due to altered
4205 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4208 * lyxfunc.C: remove insetminipage. "minipage-insert"
4209 now produces a frameless minipage box inset.
4211 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4213 * textcursor.[Ch] (selStart,selEnd): add new methods
4214 remove selection::start, end, use LyXCursor::operator<
4215 * lyxcursor.[Ch] (operator<): add
4216 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4217 * BufferView.[Ch] (unsetXSel): add
4218 * text2.C (clearSelection): use unsetXSel,adjust
4221 * rowpainter.C: adjust
4222 * bufferview_funcs.C (put_selection_at): adjust
4224 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4226 * BufferView_pimpl.C: small coord. correction
4228 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4230 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4231 dragging over the splash screen.
4233 2003-12-11 Angus Leeming <leeming@lyx.org>
4235 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4236 as it is now handled in LyXText::dispatch.
4238 * text3.C (doInsertInset): remove a level of nesting.
4240 2003-12-11 Angus Leeming <leeming@lyx.org>
4242 * factory.C (createInset): changes due to the changed interface to
4243 InsetCommandMailer::string2params.
4245 2003-12-10 Angus Leeming <leeming@lyx.org>
4247 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4248 'dialog-show-new-inset <inset name>'
4250 2003-12-10 Angus Leeming <leeming@lyx.org>
4252 * buffer.C: up the format to 227.
4254 * factory.C: the box inset is now identified simply by 'Box'.
4256 2003-12-10 Angus Leeming <leeming@lyx.org>
4258 * buffer.C: up the format to 226.
4260 * factory.C: the note inset is now identified simply by 'Note'.
4262 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4264 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4265 when a pit is enough. Standarize a couple of loops.
4267 2003-12-05 Angus Leeming <leeming@lyx.org>
4269 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4270 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4271 data to the re-worked "log" dialog.
4273 2003-12-03 André Pönitz <poenitz@gmx.net>
4279 * paragraph_funcs.C:
4281 * text2.C: use Inset::getText instead of Inset::getParagraph
4283 2003-12-03 André Pönitz <poenitz@gmx.net>
4287 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4288 InsetText::read() as LyXText::read()
4290 2003-12-02 Angus Leeming <leeming@lyx.org>
4292 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4293 type. Add a comment in the implementation that the function uses
4294 the stream's bad() function rather than fail() as the std::streams
4297 2003-12-02 André Pönitz <poenitz@gmx.net>
4299 * lyxlex.[Ch]: make interface more similar to std::stream
4301 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4303 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4305 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4307 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4309 * vspace.[Ch]: remove VSpace::NONE
4311 2003-12-01 André Pönitz <poenitz@gmx.net>
4314 * lyxtext.h: move ParagraphList member to LyXText
4315 rename LyXText::ownerParagraphs to LyXText::paragraph
4318 * bufferview_funcs.C:
4328 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4330 * undo.C: fix cursor positioning
4332 2003-12-01 John Levon <levon@movementarian.org>
4334 * BufferView_pimpl.C: fix a crash on exit with
4337 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4339 * BranchList.C: fix setSelected() method.
4341 2003-11-28 André Pönitz <poenitz@gmx.net>
4343 * ParagraphParameters.[Ch]:
4344 * ParameterStruct.h: remove space above/below from Paragraph to
4347 * BufferView_pimpl.C:
4353 * paragraph_funcs.C:
4359 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4361 * factory.C: Syntax change for CharStyles
4363 2003-11-28 André Pönitz <poenitz@gmx.net>
4368 * buffer.[Ch]: move LyXText member
4370 2003-11-28 André Pönitz <poenitz@gmx.net>
4372 * BufferView.[Ch]: make LyXText * text a private member
4374 * BufferView_pimpl.C:
4385 * output_plaintext.C: cleanup
4387 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4390 * lyxtextclass.[Ch]: parametrize SGML document header
4392 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4395 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4398 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4400 * text2.C (setFont): rework using PosIterator (no more recursive)
4401 (setCharFont): no more needed
4402 (setLayout): no more selection cursors fiddling (done by redoCursor)
4403 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4404 destroy remaining ones)
4406 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4408 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4410 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4413 * text3.C: adjust + re-allow multi par depth changes
4414 * textcursor.C: simplify a bit
4416 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4422 * src/output_docbook.C:
4423 * src/output_latex.C:
4428 * src/text2.C: Introducing a number of tags parametrizing various
4429 XML formats that we may want to support
4431 2003-11-25 André Pönitz <poenitz@gmx.net>
4433 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4435 * lyxtext.h (leftMargin/rightMargin): simplify interface
4442 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4444 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4445 master file to any child files. Fixes bug 546.
4447 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4449 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4451 2003-11-24 André Pönitz <poenitz@gmx.net>
4453 * rowpainter.C: simplification
4455 * text2.C (updateCounters): remove call to redoParagraph on
4456 changed labels as this is far too expensive.
4458 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4460 * converter.C (convert): fix a crash: this function gets
4461 called with buffer == 0 from importer code.
4463 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4465 * text3.C (cursorPrevious): make sure that we do not compare
4466 iterators form different containers.
4469 * rowpainter.C (paintSelection): make sure that we do not compare
4470 iterators from different containers.
4472 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4473 iterators from different ParagraphList containers.
4476 * text2.C (LyXText): change order of initialization slightly
4477 (operator=): new function. copy all variables except cache_par_
4478 (moveUp): make sure that we do not compare iterators from
4479 different ParagraphList constainers.
4482 * text.C (firstPar): new function
4483 (lastPar): new function
4484 (endPar): new function
4486 * lyxtext.h: move things around and group public functions, public
4487 variables, private functions, private variables
4489 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4491 * factory.C: change call to InsetERT constructor to avoid
4492 additional invocation of method status
4493 * text2.C (toggleInset): remove redundant update() call
4494 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4495 instead of a Bufferview pointer
4497 2003-11-21 André Pönitz <poenitz@gmx.net>
4499 * rowpainter.C: simplification
4501 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4503 * text3.C (dispatch): make possible to extend a word/row selection
4506 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4508 * lyxtext.h: x0_,y0_ -> xo_,yo_
4509 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4510 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4511 * rowpainter.C (paintRows): paint full paragraphs
4513 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4515 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4518 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4520 * lyxtext.h: add x0_, y0_
4521 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4522 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4524 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4526 * text2.C (setCursorIntern): move the x_target update here *
4527 * text3.C: change some bv() to true/false in calls to
4528 cursorUp/Down/Right/Left
4529 * cursor.C: use helper function.
4531 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4533 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4534 * paragraph_funcs.[Ch]: correct comment
4535 * rowpainter.C: do not paint selections away from bv->cursor()
4536 Fix a long standing selection painting bug.
4537 * text3.C: generalize mouse-selection code to LyXTexts other that
4539 * textcursor.C: do not use y coords if we can use par offsets
4541 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4543 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4544 cursor position after e.g. inset insert)
4546 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4548 * lyxfind.C (replace): adjust to locking removal + some
4551 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4553 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4556 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4559 * output_docbook.C: XML sanitation: new layout
4560 parameters InnerTag and CommandDepth
4562 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4564 * BufferView_pimpl.C:
4566 * text3.C: Fix the insertion and modification of button-style
4569 2003-11-13 André Pönitz <poenitz@gmx.net>
4571 * InsetList.[Ch]: remove deleteLyXText
4573 * paragraph.[Ch]: cache beginOfBody position
4578 * text3.C: remove superfluous update() calls
4582 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4584 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4585 * BufferView.C (fitLockedInsetCursor): remove
4586 * cursor.[Ch] (getDim): add
4587 * text.C (getRowNearY): add faster version
4588 * text3.C: remove some update calls
4590 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4602 * text3.C: The Character Style /XML short element patch.
4604 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4607 * factory.C: Small step to solving 'unable to insert some insets'
4610 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4612 * cursor.[Ch] (updatePos): new function for updating the y
4613 position of the tip inset
4614 * bufferview_funcs.C (put_selection_at):
4615 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4617 2003-11-11 André Pönitz <poenitz@gmx.net>
4619 * text.C: remove big comment on invalid Paragraph pointers as it is
4622 2003-11-11 André Pönitz <poenitz@gmx.net>
4624 * text_funcs.[Ch]: merge with ...
4632 * Makefile.am: remove text_funcs.[Ch]
4634 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4636 * cursor.C (getPos): return absolute cached y coord
4638 * BufferView_pimpl.C (fitCursor): new simplistic code
4639 (workAreaDispatch): add a fitCursor call
4641 2003-11-10 André Pönitz <poenitz@gmx.net>
4644 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4646 2003-11-10 André Pönitz <poenitz@gmx.net>
4648 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4649 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4650 indicate that the cursor needs to leave an inset
4652 * lyxtext.h: remove inset locking
4654 * cursor.[Ch]: re-implement functionality provided by inset locking
4657 * BufferView_pimpl.[Ch]:
4659 * bufferview_funcs.[Ch]:
4671 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4673 * PosIterator.[Ch]: replace the stack with a vector, add inset
4675 * iterators.[C]: adjust
4677 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4679 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4681 * paragraph_funcs.C (readParToken): put the correct id in the
4682 error item, not the id of the top paragraph
4684 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4686 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4687 * bufferview_funcs.C (put_selection_at): use the above
4689 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4691 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4693 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4695 * output_linuxdoc.h:
4696 * output_plaintext.h:
4698 * output_docbook.h: add #include statements
4700 2003-11-05 José Matos <jamatos@lyx.org>
4702 * output_docbook.[Ch]:
4703 * output_latex.[Ch]:
4704 * output_linuxdoc.[Ch]:
4705 * output_plaintext.[Ch]: New files for output formats.
4706 * output.[Ch]: New file for helper functions.
4709 * paragraph_funcs.[Ch]: output functions moved to new files.
4711 * outputparams.h: rename of latexrunparams.h
4719 * paragraph_funcs.[Ch]:
4720 * paragraph_pimpl.[Ch]:
4721 * tabular.[Ch]: rename ascii to plaintext
4722 and LatexRunParams to OutputParams.
4724 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4726 * iterators.[Ch] (text): require bv argument
4727 * undo.C (recordUndo):
4728 * lyxfunc.C (dispatch):
4729 * bufferview_funcs.C (put_selection_at): adjust
4731 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4733 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4735 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4737 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4740 2003-11-04 André Pönitz <poenitz@gmx.net>
4742 * cursor.[Ch]: restructure
4745 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4747 * iterators.[Ch] (asCursor): remove
4749 * lfuns.h: remove LFUN_INSET_EDIT
4755 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4757 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4759 * lyxfind.[Ch]: complete overhaul
4760 * BufferView_pimpl.C:
4762 * paragraph.[Ch] (insert): add
4764 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4768 * text.C: remove dead spellcheck code
4770 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4772 * dispatchresult.h: add a val setter
4774 * cursor.C (dispatch): use a tempvar for data_[i]
4776 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4778 * PosIterator.[Ch]: compile fix
4780 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4782 * text.C (cursorPar): deactivate the cursor cache
4784 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4786 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4788 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4790 * text3.C (dispatch): adjust for new DisptchResult semantics.
4792 * lyxfunc.C (dispatch): handle update when return from
4793 Cursor::dispatch, adjust for new DispatchResult semantics.
4795 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4796 DispatchResult(true) mean to not update. Add class functions for
4797 setting dispatched and update, as well as reading.
4799 * cursor.C (dispatch): don't handle update here
4801 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4803 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4804 * trans_mgr.C: adjust
4806 * paragraph_funcs.C (readParToken): exception safety
4808 * lyxvc.h: store the vcs pointer in a scoped_ptr
4811 * lyxsocket.C (serverCallback): exception safety
4813 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4815 * ispell.C (clone): make it return a auto_ptr
4817 * factory.C (createInset): exception safety
4818 (readInset): exception safety
4820 * bufferlist.C (newBuffer): exception safety
4822 * Thesaurus.C (Thesaurus): use initialization for aik_
4824 * MenuBackend.C (expandToc): exception safety.
4826 2003-11-03 André Pönitz <poenitz@gmx.net>
4830 * bufferview_funcs.C: remove getInsetFromId()
4833 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4839 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4841 * PosIterator.C (distance, advance): new
4842 * bufferview_funcs.[Ch] (put_selection_at): new
4843 * iterators.[Ch] (lockPath): new
4845 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4847 * iterators.[Ch] (asPosIterator): added
4848 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4849 * PosIterator.[Ch]: added
4851 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4855 * cursor.C (dispatch):
4856 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4858 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4859 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4860 contructor, add a class function dispatched. Remove operator>=
4862 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4864 * debug.C: only use the default constructor for debugstream
4867 * main.C (main): include debug.h and setup the lyxerr streambuf
4870 2003-10-31 José Matos <jamatos@lyx.org>
4872 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4874 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4875 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4876 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4877 * paragraph_pimpl.C (simpleTeXSpecialC):
4878 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4879 add LatexRunParams argument.
4881 * exporter.C (Export): change call accordingly.
4883 * latexrunparams.h: add new member to take care of the other backends.
4884 2003-10-30 José Matos <jamatos@lyx.org>
4886 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4887 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4888 factorise code for paragraph output.
4890 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4893 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4895 * text3.C (dispatch):
4896 * lyxfunc.C (dispatch):
4897 * cursor.C (dispatch):
4898 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4900 * dispatchresult.h: make the dispatch_result_t ctor explicit
4902 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4905 * buffer.C: small refactoring of docbook stuff
4907 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4909 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4912 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4914 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4915 operator dispatch_result_t, and operators for == != and >=
4917 * cursor.C (dispatch): adjust for operator dispatch_result_t
4918 removal. comment out call to update
4920 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4922 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4930 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4933 * dispatchresult.h: new file, DispatchResult broken out of
4936 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4938 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4940 * text.C (rowBreakPoint): put a hack inside #if 0
4942 2003-10-28 André Pönitz <poenitz@gmx.net>
4946 * paragraph_funcs.C:
4949 * text2.C: general cleanup (lots of small stuff)
4951 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4953 * text2.C (cursorEnd): simple fix to the "end key goes to one
4954 before the end on last row" bug
4956 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4958 * text.C (backspace): fix the "zombie characters"
4960 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4962 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4964 2003-10-27 André Pönitz <poenitz@gmx.net>
4966 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4968 * factory.C: handle new InsetPagebreak, InsetLine
4970 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4971 and move handling into new InsetPagebreak, InsetLine
4973 * BufferView_pimpl.C:
4975 * ParagraphParameters.C:
4976 * ParameterStruct.h:
4981 * paragraph_funcs.C:
4982 * paragraph_pimpl.C:
4988 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4991 * lyxrow_funcs.[Ch]:
4997 * text3.C: remove lastPos uses in favour of Row::endpos
4999 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
5001 * undo.C (performUndoOrRedo): fix two crashes by setting a
5002 cursor by hand and reordering some calls. Use bv->lockInset instead
5003 of inset->edit because the latter loses cursor information
5005 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
5007 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5009 (rowBreakPoint): fix width. change point to point + 1.
5010 Add a missing check.
5012 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5015 * lyxfunc.C: fix (at least partly) the problems
5016 with the Nav menu and headers inside branch insets
5019 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5021 * paragraph.C (getChar): add strong asserts
5023 * lyxrow_funcs.C (lastPos): remove hideous hack
5025 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5026 (fill): adjust to that (avoid an infinite loop)
5028 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5030 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5032 2003-10-23 André Pönitz <poenitz@gmx.net>
5034 * RowList_fwd.h: change list<> to vector<> to gain speed
5035 after suggestion from Alfredo
5037 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5039 * lyxtext.h: move the bidi stuff from here...
5042 * Bidi.[Ch]: ... to here
5044 2003-10-23 André Pönitz <poenitz@gmx.net>
5047 * text.C (isLastRow, isFirstRow): new functions
5049 * paragraph.h: new width cache member
5051 * rowpainter.C: replace RowList::iterator with Row & where possible
5053 * lyxfunc.C: replace several view()->text with a single call
5055 * toc.C: fix 'unused' warning
5057 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5059 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5060 when woring with stream::pos_type
5061 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5063 2003-10-22 André Pönitz <poenitz@gmx.net>
5066 * text.C: use Row & instead of RowList::iterator
5068 * lyxrow.h: rename end() to endpos()
5074 2003-10-22 Angus Leeming <leeming@lyx.org>
5076 * buffer.[Ch] (fully_loaded): new member function, returning true
5077 only when the file has been loaded fully.
5078 Used to prevent the premature generation of previews and by the
5079 citation inset to prevent computation of the natbib-style label.
5081 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5082 templates are all set up.
5084 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5086 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5088 * text.C: fixed an "oops" in the "is a bit silly"
5091 2003-10-21 André Pönitz <poenitz@gmx.net>
5093 * FuncStatus.[Ch]: small stuff, whitespace
5095 * lyxfont.[Ch]: operator<<() for debug reasons
5099 * lyxtext.h: whitespace, spelling
5101 * paragraph.C: naming of variables
5104 * text2.C: small stuff
5107 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5109 * text.C: (1) finish off the inset display() work;
5110 (2) fix the "is a bit silly" bug (accessing char
5113 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5115 * text.C: re-introduce display() for insets, fixing the
5116 various bugs (stretch of line above, math inset
5119 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5121 * text.C (rightMargin): remove spurious semicolon
5123 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5126 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5128 * text3.C: fix one crash due to wrong cursor def
5130 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5132 * vc-backend.C (scanMaster): make the regex static
5134 * LaTeX.C (scanAuxFile): make the regexs static
5136 * text3.C (doInsertInset, dispatch, dispatch):
5137 * text2.C (cursorUp, cursorDown):
5138 * text.C (selectNextWordToSpellcheck):
5139 * BufferView_pimpl.C (dispatch):
5140 * lyxfunc.C (dispatch): localDispatch -> dispatch
5142 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5144 * lyxsocket.C: include <cerrno>
5146 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5148 * lyxfunc.C (dispatch): remove textcache stuff
5150 * bufferlist.C (release): remove textcache stuff
5153 * TextCache.C: delete file
5154 * TextCache.h: delete file
5156 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5158 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5159 delete of the bv_->text.
5160 (resizeCurrentBuffer): remove texcache stuff
5161 (workAreaResize): ditto
5163 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5165 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5168 2003-10-16 André Pönitz <poenitz@gmx.net>
5175 * text3.C: speed up by storing y positions per paragraph plus per-row
5176 offset instead of having a 'full' y position in the row.
5178 2003-10-15 André Pönitz <poenitz@gmx.net>
5182 * undo.[Ch]: make undo aware of inner insets
5184 2003-10-14 Angus Leeming <leeming@lyx.org>
5186 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5187 static member functions LyX::ref() and LyX::cref.
5188 (lastfiles): new accessor functions for the new lastfiles_ member var.
5189 (addLyXView, views_): add a new LyXView to the list of views_.
5190 (updateInset): loop over all LyXViews to call their own updateInset
5191 member function, returning a pointer to the Buffer owning the inset.
5193 * BufferView_pimpl.C (loadLyXFile):
5194 * MenuBackend.C (expandLastfiles):
5195 * bufferlist.C (MenuWrite, QuitLyX):
5196 lastfiles is no longer a global variable.
5197 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5199 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5200 static function. Access through LyX::cref().emergencyCleanup().
5202 2003-10-14 André Pönitz <poenitz@gmx.net>
5204 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5206 * undo.[Ch]: restoring part of 'undo in insets'
5209 * undo_funcs.[Ch]: merge with undo.[Ch]
5211 * tabular.C: small cleansing stuff
5213 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5215 * paragraph_funcs.C (readParToken): report unknown insets as error
5216 boxes. Use the outer paragraph as location (also for unknown
5219 * factory.C (readInset): do not abort on reading an unknown inset.
5220 Eat it and return 0.
5222 2003-10-13 Angus Leeming <leeming@lyx.org>
5224 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5226 * lyxrc.C: displayTranslator is now a function,
5227 declared in GraphicsTypes.h.
5229 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5231 * format.C: new placeholder $$a to pass the socket address.
5233 * bufferlist.[Ch]: new function getBufferFromTmp.
5235 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5236 files in the temporary dir.
5238 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5240 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5242 * Makefile.am: add lyxsocket.[Ch].
5244 * lyx_main.C (error_handler): handle SIGPIPE.
5246 2003-10-13 André Pönitz <poenitz@gmx.net>
5248 * BufferView_pimpl.C:
5253 * undo_funcs.[Ch]: use paroffset_type instead of
5254 ParagraphList::iterators to prevent multiple conversion
5255 (and get a more robust interface)
5257 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5259 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5261 * text3.C (dispatch): ditto
5263 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5265 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5266 move the onlyfile, use onlyfile instead of foundfile in a couple
5269 * DepTable.C (update): flush the error stream a bit more
5271 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5273 * lyxserver.C (callback): adjust
5275 * lyxfunc.C (getStatus): add a missing brace in commented code
5276 (ensureBufferClean): reindent
5277 (dispatch): delete version taking a string
5279 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5281 * LaTeX.C (deplog): move found file handlig from here...
5282 (handleFoundFile): .. to new function here.
5283 (deplog): make sure to discover several files mentioned on the
5286 2003-10-10 André Pönitz <poenitz@gmx.net>
5293 * text3.C: fix some of the tabular crashes
5295 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5297 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5299 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5301 2003-10-09 André Pönitz <poenitz@gmx.net>
5303 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5306 * BufferView_pimpl.C:
5307 * bufferview_funcs.C:
5318 * undo_funcs.C: adjust
5320 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5322 * text2.C (incrementItemDepth): new function, use a backtracking
5323 algorithm to discover the correct item depth.
5324 (resetEnumCounterIfNeeded): new function, use a backtracking
5325 algorithm to discover if counter reset is needed.
5326 (setCounter): use them. Simplify a bit. Add different labels for
5327 different item depths for itemize.
5329 * paragraph.C (Paragraph): remove initialization of enumdepth
5332 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5333 enumerate and itemize. Change the type of itemdepth to signed char.
5335 2003-10-08 André Pönitz <poenitz@gmx.net>
5337 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5342 * tabular.[Ch]: fix crash after 'row-insert'
5344 2003-10-08 Angus Leeming <leeming@lyx.org>
5346 Fix doxygen warnings.
5348 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5349 Remove CutAndPaste:: prefix from header file declaration.
5351 * LColor.h (fill): remove LColor:: prefix from declaration.
5353 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5354 use lyx::depth_type rather than Paragraph::depth_type so that
5355 header file and .C file match.
5357 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5359 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5360 * aspell.C: \file aspell_local.C -> \file aspell.C
5361 * gettext.C: \file gettext.C -> \file src/gettext.C
5362 * gettext.h: \file gettext.h -> \file src/gettext.h
5363 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5364 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5365 * text.C: \file text.C -> \file src/text.C
5367 * toc.C: move comment so that doxygen is not confused.
5369 2003-10-07 Angus Leeming <leeming@lyx.org>
5371 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5373 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5376 * aspell_local.h: add forgotten std::string's.
5378 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5385 * text3.C: The Box patch. Fancybox support, minipage, parbox
5387 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5393 * ParagraphParameters.h:
5403 * lyxtextclasslist.h:
5406 * paragraph_pimpl.C:
5407 * textcursor.h: add <string> and other small fixes to make Lars'
5408 std::string patch compile with STLport.
5410 2003-10-06 Angus Leeming <leeming@lyx.org>
5412 * LColor.h: Add missing #include <string>.
5414 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5416 * All most all file in all subdirs: Make <string> be the prefered
5417 way of getting to std::string, add using declarations.
5419 2003-10-06 André Pönitz <poenitz@gmx.net>
5421 * metricsinfo.C: initialize LyXFont before changing attribute.
5422 (fixes the 'math in \emph is upright' bug)
5424 2003-10-06 André Pönitz <poenitz@gmx.net>
5426 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5428 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5431 * paragraph_pimpl.C: Small fixes to build using STLport
5433 2003-10-02 André Pönitz <poenitz@gmx.net>
5436 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5438 2003-10-01 André Pönitz <poenitz@gmx.net>
5440 * factory.C: assert early
5442 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5444 * lyx_main.C: remove the global debug object
5446 * debug.h: adjust for new debugstream
5448 * debug.C: adjust for new debugstream and keep the global debug
5451 2003-09-22 Angus Leeming <leeming@lyx.org>
5453 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5454 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5455 an incomplete class LyXFont.
5457 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5459 * factory.C: bug fix in branches
5461 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5463 * lyxfunc.C (processKeySym): adjust
5465 (dispatch): change arg name from ev to func, adjust
5466 (sendDispatchMessage): ditto
5468 * lyx_main.C (defaultKeyBindings): adjust keybindings
5469 (deadKeyBindings): ditto
5471 * kbsequence.C (addkey): return a FuncRequest
5473 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5475 * kbmap.C (bind): take a FuncRequest as arg, adjust
5478 (defkey): change to take a FuncRequest as arg, adjust
5479 (findbinding): take a FuncRequest as arg, adjust.
5481 * funcrequest.h (operator=): added
5483 * funcrequest.C (FuncRequest): default kb_action changed from
5484 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5486 * buffer.C (dispatch): simplify
5487 (dispatch): adjust to take a FuncRequest as arg, adjust
5489 * boost.C (assertion_failed): change assertion message slightly
5491 * ToolbarBackend.C (read): simplify
5493 * MenuBackend.C (binding): adjust call to findbinding, add a
5494 message if no binding is found.
5496 (expandToc): correct by adding a empty FuncRequest
5498 * LyXAction.C: include <boost/assert.hpp>
5499 (isPseudoAction): delete function
5500 (LookupFunc): change name to...
5501 (lookupFunc): this. change return type to FuncRequest.
5502 (getActionName): take kb_action as arg, simplify
5503 (funcHasFlag): add an assert, simplify.
5505 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5507 * toc.C (action): return a FuncRequest, simplify
5509 * lyxfunc.C (processKeySym): adjust
5510 (getStatus): delete version that takes an int.
5512 (dispatch): delete version that takes action as int
5514 (sendDispatchMessage): simplify and adjust
5516 * funcrequest.C (getArg): take unsigned int as arg
5518 * ToolbarBackend.C (read): adjust
5519 (add): delete version that takes func as a string.
5520 (getIton): take a FuncRequest as arg
5522 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5525 * MenuBackend.C (MenuItem): add a new construct that only takes a
5526 Kind, simplify the constructor use for submenus.
5528 (expandLastfiles): adjust
5529 (expandDocuments): adjust
5530 (expandFormats): adjust
5531 (expandFloatListInsert): adjust
5532 (expandFloatInsert): adjust
5533 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5535 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5536 Remove class variables lyx_pseudo_map and lyx_arg_map
5538 * LyXAction.C (searchActionArg): delete function
5539 (getPseudoAction): delete function
5540 (retrieveActionArg): delete function
5541 (LookupFunc): make it return kb_action, simplify.
5542 (getActionName): simplify
5544 * factory.C (createInset): fix new bug
5546 2003-09-19 Angus Leeming <leeming@lyx.org>
5548 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5549 masterFilename_ parameter in the include inset.
5551 * factory.C (createInset): changes due to the changes to InsetInclude.
5553 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5555 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5557 2003-09-18 Angus Leeming <leeming@lyx.org>
5560 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5561 Inset::fillWithBibKeys.
5562 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5564 2003-09-18 Angus Leeming <leeming@lyx.org>
5566 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5568 (ctor): pass and store a 'Buffer const &'
5569 (buffer): new member function.
5571 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5572 '*this' to the LaTeXFeatures ctor.
5574 2003-09-18 Angus Leeming <leeming@lyx.org>
5580 * text.C: rename EnumLColor as LColor_color.
5582 2003-09-18 Angus Leeming <leeming@lyx.org>
5584 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5585 remove #include "insets/insetbase.h" from cursor.h.
5587 2003-09-18 Angus Leeming <leeming@lyx.org>
5589 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5590 InsetOld_code to remove #include "inset.h".
5592 * iterators.C: add #include "insets/inset.h"
5594 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5596 * BufferView.C: remove more locking stuff that apparently doesn't
5597 do anything sensible.
5599 2003-09-16 André Pönitz <poenitz@gmx.net>
5602 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5605 2003-09-16 Angus Leeming <leeming@lyx.org>
5607 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5609 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5612 * paragraph.h: remove #include "lyxfont.h". Forward declare
5615 2003-09-16 Angus Leeming <leeming@lyx.org>
5617 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5618 of support/textutils.h.
5619 (isWord): move the contents of support/textutils.h's IsWordChar here.
5625 * text2.C: add #include "paragraph.h".
5628 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5630 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5636 * LaTeX.C: use namespace alias for lyx::support::os
5638 2003-09-16 Angus Leeming <leeming@lyx.org>
5641 * bufferview_funcs.C:
5644 * paragraph_pimpl.C:
5646 * text.C: add #include "LColor.h".
5648 2003-09-16 Angus Leeming <leeming@lyx.org>
5650 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5651 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5653 Store the FontBits::color variable as an int rather than as an
5654 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5657 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5658 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5659 string calls together.
5661 * lyxrc.C: add #include "LColor.h".
5663 2003-09-15 Angus Leeming <leeming@lyx.org>
5665 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5668 2003-09-15 Angus Leeming <leeming@lyx.org>
5670 * LColor.h: add an EnumLColor wrapper for LColor::color.
5672 * lyxfont.[Ch] (color, setColor, realColor):
5673 * lyxtext.h, text.C (backgroundColor):
5674 pass EnumLColor args to/from the functions, rather than LColor::color
5678 * lyxtext.h: forward declare EnumLColor.
5680 * lyx_main.C: add #include "LColor.h".
5682 2003-09-15 Angus Leeming <leeming@lyx.org>
5684 * .cvsignore: add lyx-gtk.
5686 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5691 * ParagraphParameters.C
5695 * bufferview_funcs.C
5705 * vc-backend.C: remove usage of STRCONV
5707 2003-09-15 Angus Leeming <leeming@lyx.org>
5709 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5710 explicitly define the color passed to the painter.
5712 2003-09-15 Angus Leeming <leeming@lyx.org>
5714 * bufferparams.C (BufferParams): reorder member initializers to avoid
5717 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5719 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5720 * text.C (updateRowPositions): remove an unusual nop
5722 2003-09-12 André Pönitz <poenitz@gmx.net>
5724 * BufferView_pimpl.C:
5733 * Counters.[Ch]: finish the 'automatic counters' job
5735 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5737 * aspell.C: include <boost/assert.cpp> (compile fix)
5739 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5741 * boost.C (assertion_failed): use lyx::support::abort instead of
5744 2003-09-10 Angus Leeming <leeming@lyx.org>
5746 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5747 with their _fwd progeny.
5749 2003-09-09 Angus Leeming <leeming@lyx.org>
5751 134 files throughtout the source tree: replace 'using namespace abc;'
5752 directives with the appropriate 'using abc::xyz;' declarations.
5754 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5756 * boost.C (emergencyCleanup): moved here from LAssert.c
5757 (assertion_failed): new function, called by BOOST_ASSERT
5759 * several files: change Assert to BOOST_ASSERT
5761 2003-09-09 Angus Leeming <leeming@lyx.org>
5763 * buffer.[Ch]: Add an Impl class and move Buffer's member
5764 variables into it. As a result move several header files out of
5767 Add header files to lots of .C files all over the tree as a result.
5769 2003-09-09 Angus Leeming <leeming@lyx.org>
5771 * buffer.[Ch]: make Buffer's member variables private. Add
5774 Lots of changes all over the tree as a result.
5776 2003-09-08 Angus Leeming <leeming@lyx.org>
5778 * graph.C: #include <config.h>.
5780 2003-09-08 Angus Leeming <leeming@lyx.org>
5784 * BufferView_pimpl.C:
5813 * toc.C: remove redundant using directives.
5815 2003-09-07 Angus Leeming <leeming@lyx.org>
5817 * LaTeXFeatures.h: remove #include "support/types.h".
5818 * ToolbarBackend.h: remove #include <algorithm>.
5819 * changes.h: remove #include <ctime>.
5820 * debug.h: remove #include <iosfwd>.
5821 * graph.h: remove #include "support/std_string.h".
5822 * lyx_main.h: remove #include <csignal>.
5823 * lyxlex_pimpl.h: remove #include <fstream>.
5824 * sgml.h: remove #include <algorithm>, <utility>.
5825 * toc.h: remove #include "support/std_ostream.h".
5826 Add #include <iosfwd>.
5828 2003-09-07 Angus Leeming <leeming@lyx.org>
5830 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5832 * converter.h: forward declare LatexRunParams.
5833 * encoding.h: remove #include "lyxrc.h".
5834 * lyxtext.h: remove #include "LColor.h".
5835 * lyxtextclass.h: remove #include "support/types.h".
5836 * trans.h: remove #include "tex-accent.h".
5837 * trans_mgr.h: remove #include "tex-accent.h".
5838 * insets/inset.h: remove #include "support/types.h", <vector>.
5839 * insets/insetcollapsable.h: remove #include "LColor.h".
5840 * insets/insetinclude.h: remove #include "dimension.h".
5841 * insets/insetlatexaccent.h: remove #include "dimension.h".
5842 * insets/insetoptarg.h:: remove #include "insettext.h".
5843 * insets/insettext.h: remove #include "dimension.h",
5844 <boost/shared_ptr.hpp>
5846 * insets/renderers.h: add #include "dimension.h".
5847 * insets/updatableinset.h: add #include "support/types.h".
5849 * many .C files: Associated changes.
5851 2003-09-06 Angus Leeming <leeming@lyx.org>
5853 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5854 one, inside testInvariant.
5856 * PrinterParams.C: new file.
5857 * PrinterParams.[Ch]: move the function bodies out of line.
5859 2003-09-06 Angus Leeming <leeming@lyx.org>
5861 * ParagraphParameters.h: forward declare ParameterStruct rather than
5862 including its header file.
5863 (depth): moved out-of-line.
5865 2003-09-06 Angus Leeming <leeming@lyx.org>
5867 * BufferView_pimpl.h:
5870 * lyxfunc.h: forward declare LyXKeySym rather than
5871 #include "frontends/LyXKeySym.h".
5873 * BufferView_pimpl.C:
5876 * lyxfunc.C: associated changes.
5878 2003-09-06 Angus Leeming <leeming@lyx.org>
5880 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5881 As a result, can remove the #include "insets/inset.h" from BufferView.h
5883 2003-09-06 Angus Leeming <leeming@lyx.org>
5885 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5886 As a result, can remove the #include "insets/inset.h" from BufferView.h
5888 2003-09-06 Angus Leeming <leeming@lyx.org>
5894 * bufferview_funcs.C:
5895 * BufferView_pimpl.C:
5900 * ParagraphParameters.C:
5905 * frontends/controllers/ControlDocument.C:
5906 * insets/insetcaption.C: rearrange the #includes into some sort of
5909 * buffer.h: remove #includes ErrorList.h, undo.h
5911 2003-09-06 Angus Leeming <leeming@lyx.org>
5913 * support/types.h: add a 'depth_type' typedef, used to store the
5914 nesting depth of a paragraph.
5917 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5918 defining explicitly.
5921 * paragraph_funcs.h:
5922 * ParagraphParameters.h:
5923 * sgml.h: use lyx::depth_type rather than Paragraph or
5924 ParameterStruct's depth_type.
5927 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5930 * BufferView_pimpl.C:
5932 * ParagraphParameters.C:
5935 * bufferview_funcs.C:
5942 * frontends/LyXView.C:
5943 * frontends/controllers/ControlDocument.C:
5944 * frontends/controllers/ControlErrorList.C:
5945 * insets/insetbibitem.C:
5946 * insets/insetbranch.C:
5947 * insets/insetcaption.C:
5948 * insets/insetcollapsable.C:
5949 * insets/insetenv.C:
5950 * insets/insetert.C:
5951 * insets/insetfloat.C:
5952 * insets/insetfoot.C:
5953 * insets/insetfootlike.C:
5954 * insets/insetnewline.C:
5955 * insets/insetquotes.C:
5956 * insets/insettabular.C:
5957 * insets/insettext.C:
5958 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5960 * frontends/controllers/ControlChanges.C: #include "changes.h".
5962 2003-09-06 Angus Leeming <leeming@lyx.org>
5964 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5965 than #including paragraph.h.
5968 * RowList.h: deleted. Superfluous.
5978 * insets/insettext.h: use ParagraphList_fwd.h rather than
5981 * paragraph.h: don't forward declare ParagraphList.
5984 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5985 rather than ParagraphList.h. paragraph.h is still needed for the
5986 Paragraph::depth_type parameters.
5988 * textcursor.h: enable it to compile stand-alone in light of the
5991 * bufferview_funcs.C:
6003 * frontends/controllers/ControlParagraph.C:
6004 * frontends/controllers/ControlTabular.C:
6005 * insets/insetmarginal.C:
6006 * insets/insetminipage.C:
6007 * insets/insetnote.C:
6008 * insets/insetoptarg.C: add header files needed to compile again.
6010 2003-09-06 Angus Leeming <leeming@lyx.org>
6012 * RowList_fwd.h: new file, forward-declaring Row rather than
6013 #including lyxrow.h.
6018 * insets/insettext.h: use it instead of RowList.h
6020 * bufferview_funcs.C:
6027 * text3.C: #include "RowList.h".
6029 2003-09-05 Angus Leeming <leeming@lyx.org>
6031 * factory.C (createInset):
6032 * vspace.C (c-tor): replace sscanf call with an istringstream.
6033 * ispell.C: re-add missing HP/UX headers.
6034 * lyxserver.C: re-add missing os2 headers.
6036 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6045 * text3.C: re-add missing system headers, needed for 2.95.2.
6047 2003-09-05 Angus Leeming <leeming@lyx.org>
6049 Changes most place everywhere due to the removal of using directives
6050 from support/std_sstream.h.
6052 2003-09-05 Angus Leeming <leeming@lyx.org>
6054 Replace LString.h with support/std_string.h,
6055 Lsstream.h with support/std_sstream.h,
6056 support/LIstream.h with support/std_istream.h,
6057 support/LOstream.h with support/std_ostream.h.
6059 Changes resulting throughout the tree.
6061 2003-09-05 Angus Leeming <leeming@lyx.org>
6063 * sgml.h: ensure that the header file can be compiled stand-alone.
6064 * *.C: strip out redundant #includes. (320 in total.)
6066 2003-09-04 Angus Leeming <leeming@lyx.org>
6068 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6069 here (from getPackages).
6071 * debug.[Ch]: add a new EXTERNAL tag.
6073 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6075 * text2.C (cursorEnd): simplify
6077 (getColumnNearX): adjust
6079 * text.C (computeBidiTables): adjust
6082 * rowpainter.C (paintChars): adjust
6083 (paintSelection): adjust
6084 (paintChangeBar): adjust
6087 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6089 (numberOfSeparators): adjust
6091 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6097 * text3.C: Restricts the mouse click functionality
6098 of insets like bibtex, include, toc and floatlist to the visible
6099 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6100 up the dialogs. Cursor has to be in front of the inset (i.e.
6101 start of row) for this to function.
6103 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6105 * bufferview_funcs.C (currentState): output row information
6107 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6109 * bufferview_funcs.C (currentState): output paragraph position
6111 2003-09-04 Angus Leeming <leeming@lyx.org>
6113 * FloatList.h: move out #include "Floating.h".
6114 * LaTeX.h: move out #include "DepTable.h".
6115 * LyXAction.h: move out #include "funcrequest.h".
6116 * buffer.h: move out #include "author.h", "iterators.h".
6117 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6118 * lyx_main.h: move out #include "errorlist.h".
6119 * lyxfunc.h: move out #include "FuncStatus.h".
6120 * lyxtext: move out #include "lyxcursor.h".
6121 * paragraph_pimpl.h: move out #include "counters.h".
6123 2003-09-03 Angus Leeming <leeming@lyx.org>
6125 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6126 preamble_snippets list, enabling us to add snippets to the preamble
6127 only if the snippet was not there already.
6129 2003-09-04 Angus Leeming <leeming@lyx.org>
6131 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6133 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6135 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6138 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6140 * BranchList.C: point fix, earlier forgotten
6142 2003-09-02 Angus Leeming <leeming@lyx.org>
6144 * box.C (contains): renamed from 'contained' after a fantastic
6147 2003-09-02 John Levon <levon@movementarian.org>
6153 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6155 2003-09-02 John Levon <levon@movementarian.org>
6157 * text2.C: simplification of cursorEnd(), including partial
6160 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6162 * buffer.C (readFile): add a space
6164 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6166 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6168 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6170 * buffer.C (readFile): new function, take a filename and a
6171 ParagraphList::iterator
6173 (readFile): adjust, make it private. don't use setStream, make
6174 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6175 always contain the filename.
6177 * BufferView.C (insertLyXFile): simplify and make it work for
6180 2003-08-30 John Levon <levon@movementarian.org>
6182 * Makefile.am: fix dist (from Kayvan)
6184 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6186 * most files: change to use const Buffer refs
6188 2003-08-27 André Pönitz <poenitz@gmx.net>
6190 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6191 on top of ownerPar().
6193 2003-08-27 John Levon <levon@movementarian.org>
6195 * funcrequest.C: properly initialise POD members
6197 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6199 * lyxtext.h (top_y): move top_y from here
6204 * BufferView_pimpl.[Ch]: to here
6205 * frontends/screen.C:
6206 * insets/insettabular.C:
6207 * insets/insettext.C: adjust
6208 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6210 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6213 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6215 2003-08-26 André Pönitz <poenitz@gmx.net>
6217 * paragraph_func.[Ch] (outerPar): new function
6220 * paragraph_funcs.C:
6221 * paragraph_funcs.h:
6222 * paragraph_pimpl.C:
6223 * text2.C: remove Inset::par_owner
6225 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6230 * text2.C: eliminates the needFullRow/display() stuff
6231 altogether, putting the logic in metrics/draw in the insets.
6233 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6235 * text2.C (redoParagraphInternal, redoParagraphs):
6236 * text.C (redoParagraph): add a call to updateRowPositions at the
6237 end of each 'metrics-like' call. Remove all others.
6238 (getRow): remove the 'y-computing' version.
6239 (getRowNearY): do not compute nor return the real y. Solve the
6240 'y < 0' problem and simplify.
6242 2003-08-22 Angus Leeming <leeming@lyx.org>
6244 * *.[Ch]: clean-up of licence and author blurbs.
6245 Also move config.h out of a few .h files and into a few .C files.
6247 2003-08-22 André Pönitz <poenitz@gmx.net>
6249 * lyxrow.[Ch]: add x_ and *fill_ members
6254 * text2.C: adjust/remove prepareToPrint() calls
6256 2003-08-22 André Pönitz <poenitz@gmx.net>
6258 * lyxrow.[Ch]: add end_ member
6260 * lyxrow_funcs.C: use LyXRow::end_
6262 * lyxtext.h (singleWidth): add LyXFont parameter
6265 * text2.C: adjust LyXText::singleWidth() calls
6267 * text.C (redoParagraph): simplify row breaking logic
6270 2003-08-19 André Pönitz <poenitz@gmx.net>
6272 * funcrequest.C: initialize button_ member
6275 * rowpainter.[Ch]: interface consolidation
6277 2003-08-18 André Pönitz <poenitz@gmx.net>
6280 * BufferView_pimpl.C:
6282 * paragraph_funcs.C:
6284 * text3.C: remove LyXScreen::draw() and fitCursor calls
6286 * BranchList.h: remove spurious semicolons
6288 * MenuBackend.C: fix branchlist related crash
6290 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6298 * bufferparams.[Ch]:
6302 * text3.C: implements the 'branch inset'
6303 idea. This allows the output of various versions of a document
6304 from a single source version, selectively outputing or suppressing
6305 output of parts of the text.
6306 This implementation contains a 'branch list editor' in a separate
6307 tab of the document settings dialog. Branches are user definable
6308 and have a "display colour" to distinguish them on-screen.
6310 ColorHandler was somewhat cleaned up.
6311 (1) make possible a dynamically growing LColor list by allowing
6312 the graphic context cache to grow along (vector);
6313 (2) eliminate an IMHO unnecessary step in colour allocation.
6315 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6317 * BufferView_pimpl.C: compile fix
6319 2003-08-15 André Pönitz <poenitz@gmx.net>
6321 * rowpainter.C: remove extra metrics calls
6323 * lyxtext.h: merge the two constructors into a single one,
6324 pass reference to owner's par list
6326 * BufferView_pimpl.C:
6330 2003-08-15 André Pönitz <poenitz@gmx.net>
6332 * lyxrow_funcs.[Ch]:
6335 * paragraph_funcs.C:
6340 * text_funcs.C: split LyXText::rowlist_ into individual
6341 Paragraph::rows_ chunks
6344 * BufferView_pimpl.[Ch]:
6347 * text3.C: remove toggleSelection()
6349 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6351 * bufferlist.C: beautify two alerts (shorter text of buttons)
6352 * buffer.C: Remove redundant ' ' from message
6354 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6355 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6356 rename VALIGN_CENTER to VALIGN_MIDDLE
6358 2003-08-11 André Pönitz <poenitz@gmx.net>
6360 * lyxtext.h (getPar):
6361 * text.C: new function
6363 2003-08-11 André Pönitz <poenitz@gmx.net>
6366 * tracer.[Ch]: remove unneeded files
6368 * InsetList.[Ch]: remove resizeInsetsLyXText()
6373 * text3.C: merge insertParagraphs() and appendParagraph()
6374 remove breakAgain(), update()
6376 * BufferView_pimpl.[Ch]:
6377 * bufferview_funcs.[Ch]:
6381 * tabular.C: adjust after text & InsetList changes.
6383 2003-08-08 André Pönitz <poenitz@gmx.net>
6385 * text.C (insertChar, backspace): replace rowlist fiddling
6386 with rebreak of full par
6389 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6390 checkParagraph, updateInset): removed
6392 2003-08-07 André Pönitz <poenitz@gmx.net>
6395 * text3.C: merge some LFUN handlers, remove dead code
6397 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6399 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6401 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6403 * text2.C (DEPM): fix part of bug 1255 and 1256
6405 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6407 * BufferView_pimpl.C (workAreaDispatch): change to use
6408 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6409 that are no mouse related.
6411 2003-08-05 André Pönitz <poenitz@gmx.net>
6414 * BufferView_pimpl.[Ch]:
6415 * bufferview_funcs.C:
6417 * text3.C: rip out "deep update"
6419 * textcursor.[Ch] (last_sel_cursor): remove unused member
6421 2003-08-04 André Pönitz <poenitz@gmx.net>
6424 * BufferView_pimpl.[Ch]:
6425 * ParagraphParameters.C:
6426 * bufferview_funcs.C:
6432 * text3.C: replace "complicated" BufferView::update(...) calls with
6435 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6437 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6439 * Makefile.am (lyx_SOURCES): add paper.h
6441 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6443 * Makefile.am: move things around so that both lyx-qt and
6444 lyx-xforms can be built (according to --with-frontend). Then lyx
6445 is a symbolic link to lyx-[firstfrontend]
6447 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6449 * Always use std::endl with lyxerr
6451 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6453 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6455 2003-08-01 André Pönitz <poenitz@gmx.net>
6458 * BufferView_pimpl.[Ch]:
6460 * text3.C: merge BufferView::repaint() and BufferView::update()
6462 2003-08-01 José Matos <jamatos@lyx.org>
6464 * buffer.[Ch]: file_format is no longer a buffer data element.
6466 2003-08-01 André Pönitz <poenitz@gmx.net>
6471 * text2.C: make redoParagraph more independent of current cursor
6473 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6475 * text2.C: remove unneeded members
6477 2003-07-30 André Pönitz <poenitz@gmx.net>
6479 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6481 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6482 create a single function...
6484 * paragraph_funcs.C (moveItem): ... here.
6487 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6489 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6491 * LColor.[Ch]: Add comment and greyedout logical colors.
6493 2003-07-30 André Pönitz <poenitz@gmx.net>
6495 * tabular.C: don't use Assert too heavily. This crashes where it
6498 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6500 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6501 is disabled (bug 1232)
6503 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6505 * factory.C: limited 'arg' scope
6507 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6509 * factory.C: fixed Note submenu issues
6511 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6513 * factory.C: submenu for Note/Comment/Greyedout
6515 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6518 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6520 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6523 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6524 greyedout. Patch provided by Jürgen Spitzmüller.
6526 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6528 * kbmap.C (read): fix error message when reading bind files
6530 2003-07-29 Angus Leeming <leeming@lyx.org>
6532 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6533 certainly does not do what it purports to do. I am doing it, and
6534 us, a favour by killing it.
6536 2003-07-28 José Matos <jamatos@lyx.org>
6538 * buffer.C (readBody, do_writeFile):
6539 * paragraph.C(readParagraph): \end_document replaces \the_end.
6541 2003-07-29 André Pönitz <poenitz@gmx.net>
6544 * BufferView_pimpl.[Ch]:
6548 * textcursor.[Ch]: remove toggleToggle & Co
6550 2003-07-28 José Matos <jamatos@fep.up.pt>
6552 * buffer.C (readParagraph):
6553 * params_func (readParToken, readParagraph):
6554 * paragraph.C (write): \layout -> \begin_layout.
6556 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6558 * lyxlex_pimpl.C (setFile): clean up slightly.
6560 * bufferparams.h: add compressed var
6562 * buffer_funcs.C (readFile): adjust for LyXLex change
6563 (newFile): ditto + simplify
6565 * buffer.C (writeFile): handle writing of compressed files
6567 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6568 Check if the file is compressed and set a bufferparm if so.
6570 * Makefile.am (lyx_LDADD): remove explicit -lz
6572 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6574 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6575 makeDocBookFile): put the real LyX version in the first line of
6579 * version.C.in: remove lyx_docversion
6581 * tabular.C (write_attribute): add a template-based version to
6582 write enums properly
6584 2003-07-28 André Pönitz <poenitz@gmx.net>
6589 * text3.C: use doubles again for x-coordinates. They are needed.
6591 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6593 * messages.C (getLocaleDir): use lyx_localedir()
6595 * lyxlex_pimpl.C (setFile): compress stuff
6597 * buffer.C (writeFile): add some compression stuff
6598 (do_writeFile): new func, dont call expliti close... will this
6601 * Makefile.am (lyx_LDADD): add -lz
6603 2003-07-28 José Matos <jamatos@fep.up.pt>
6605 * buffer.C: increment file format.
6606 * paragraph_funcs (readParagraph, readParToken):
6607 * paragraph.C (readParagraph): add \end_layout.
6609 2003-07-27 Angus Leeming <leeming@lyx.org>
6611 * Makefile.am: remove special casing for configure-time setting of
6612 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6614 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6615 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6617 2003-07-26 André Pönitz <poenitz@gmx.net>
6619 * paragraph_func.[Ch]:
6620 * paragraph.C (realizeFont): inline it whereever it is used
6625 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6628 2003-07-26 André Pönitz <poenitz@gmx.net>
6632 * text2.C: get rid of LyXText::need_break_row
6634 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6636 * toc.[Ch]: put namespace toc inside namespace lyx
6638 * MenuBackend.C (expandToc2): adjust for lyx::toc
6641 * lyxfunc.C (dispatch): adjust for lyx::find
6643 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6644 lyx::find instead. Reorganize a bit.
6645 (LyXReplace): rename to replace
6646 (LyXFind): rename to find
6648 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6651 2003-07-26 André Pönitz <poenitz@gmx.net>
6653 * text.C (setHeightOfRow): restrict scope of temporary variable
6655 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6656 code (never has been used?)
6658 2003-07-27 Asger Alstrup <alstrup@local>
6660 * text.C (fill): Optimise algorithm to exploit that we can reuse
6661 the LyXFont for many characters.
6662 (setHeightOfRow): Same thing.
6663 (rowBreakPoint): Same thing.
6665 2003-07-26 Asger Alstrup <alstrup@local>
6667 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6669 * text.C (singleWidth): Spurious font copying in hot-spot
6670 singleWidth avoided. Reorder tests for arabic for efficiency.
6672 * text.C (fill): handle empty paragraphs better.
6674 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6677 * encoding.h: add includes
6679 * lyxrc.C: remove reading of bind files
6681 * lyx_main.C (init): setup bindings and menus only if we have a
6684 * kbmap.C (read): new method. Do the actual reading of bind
6687 * converter.C (dvipdfm_options):
6690 (output): adapt PAPER_* enums.
6692 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6694 * bufferparams.h: remove paper-related enums from there
6696 * paper.h: New file. A trivial header file to hold paper-related
6697 enums. It should later expand to contain many paper-related
6700 * lyxrc.C: declare extern displayTranslator
6702 2003-07-27 José Matos <jamatos@fep.up.pt>
6704 * tabular.[Ch] (linuxdoc): add support for tables and figures
6707 2003-07-27 José Matos <jamatos@fep.up.pt>
6709 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6710 consistency in both functions.
6711 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6713 2003-07-26 Asger Alstrup <alstrup@local>
6715 * rowpainter.C (paintRows): Change algorithm to work directly on
6716 the insets rather than asking every character in the document
6717 whether its an inset.
6719 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6721 * buffer.C (openFileWrite): factorize some code
6723 2003-07-26 Angus Leeming <leeming@lyx.org>
6726 * lyx_main.[Ch]: replace occurances of system_tempdir with
6729 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6731 * rename Inset to InsetOld
6733 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6735 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6736 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6737 which I think is a bit clearer. EDIT is gone, since it was
6738 premature optimisation, and broken for mathed anyway.
6739 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6740 with cursor positioning in insets as well (math insets still do not
6741 work, but that's a different story anyway.) It mysteriously
6742 crashes sometimes with undo in the first paragraph, but I'm fairly
6743 confident that this is a compiler bug.
6745 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6747 * paragraph.C (Paragraph): adjust for new clone return type
6749 (copyIntoMinibuffer): ditto
6751 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6753 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6754 by not having a special case, and always doing a full rebreak of
6755 the document after undo.
6757 2003-07-23 Angus Leeming <leeming@lyx.org>
6759 * factory.C (createInset): InsetExternal::setParams now takes a
6762 2003-07-23 Angus Leeming <leeming@lyx.org>
6764 * factory.C (createInset): changed interface to the external and
6765 graphics mailers' string2params functions.
6767 2003-07-23 Angus Leeming <leeming@lyx.org>
6769 * factory.C (createInset): pass a
6770 Buffer const * parameter to InsetExternalMailer's string2params.
6772 2003-07-22 John Levon <levon@movementarian.org>
6774 * Thesaurus.h: include the right aiksaurus header
6776 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6778 * MenuBackend.C (expand): check menu shortcuts unconditionally
6780 2003-07-21 Angus Leeming <leeming@lyx.org>
6782 * factory.C (createInset): pass a
6783 buffer_path parameter to InsetGraphicsMailer's string2params.
6785 2003-07-21 Angus Leeming <leeming@lyx.org>
6787 * BufferView_pimpl.C (buffer):
6790 * lyxfunc.C (dispatch):
6791 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6792 rather than the grfx shortcut.
6794 2003-07-21 André Pönitz <poenitz@gmx.net>
6796 * rowpainter.C: remove unused variables
6799 * tabular_funcs.h: move to tabular.C
6800 * Makefile.am: adjust
6802 * tabular.[Ch]: basic optical cleaning
6804 * author.h: pass references, not values
6806 2003-07-18 André Pönitz <poenitz@gmx.net>
6814 * text3.C: two-phase drawing for InsetText and InsetTabular
6815 some float -> int changes.
6817 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6819 * lyx_main.C: fix the fix
6821 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6823 * lyx_main.C: fix a crash in batch mode if no files specified
6826 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6828 * format.[Ch] (papersize): moved to BufferParams
6829 * converter.[Ch] (dvips_options): moved to BufferParams
6830 (dvipdfm_options): moved to anon namespace
6831 * bufferparams.[Ch]: added above functions.
6833 2003-07-17 André Pönitz <poenitz@gmx.net>
6837 * text2.C: don't call inset->update() anymore
6839 * metricsinfo.[Ch]: add convenience constructor
6841 2003-07-16 André Pönitz <poenitz@gmx.net>
6846 * text2.C: replace the LyXCursor::irow_ member with
6847 on-demand computation of the value
6849 2003-07-16 John Levon <levon@movementarian.org>
6851 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6853 2003-07-15 André Pönitz <poenitz@gmx.net>
6856 * text2.C: remove no more needed refresh_row
6858 2003-07-15 André Pönitz <poenitz@gmx.net>
6863 * text3.C: refresh_status tristate -> need_update bool
6865 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6867 * lyxtext.h (init): remove reinit argument (act as if always true)
6868 * text2.C: adjust to that
6870 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6872 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6873 * text3.C: use it to delete selections in some cases
6874 (bugs 441, 673, 702, 954).
6876 2003-07-14 André Pönitz <poenitz@gmx.net>
6878 * rowpainter.[Ch]: reduce interface
6880 2003-07-14 André Pönitz <poenitz@gmx.net>
6882 * BufferView_pimpl.C:
6883 * text2.C: adjust after removing unused BufferView * argument
6885 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6887 * text2.C (init): fix a crash fired on resize
6889 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6891 * buffer.[Ch]: added new closing signal
6892 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6893 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6894 BufferView::Pimpl via the closing the signal
6896 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6898 * buffer.[Ch]: take out all bv-related from buffer
6900 * BufferView_pimpl.[Ch]: connect to new signals
6901 * CutAndPaste.C: removed useless asserts
6902 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6905 * lyxfunc.C: moved view-related funciontality from vc here
6906 * paragraph.C: removed outdated comments
6909 2003-07-10 André Pönitz <poenitz@gmx.net>
6911 * BufferView_pimpl.C:
6915 * text2.C: remove InsetText::InnerCache, clean up consequences
6917 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6919 * ispell.C: fix two typos in error messages
6921 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6923 * Extend Note inset to other forms of annotation like Comment
6924 and Greyedout. Right button click gives dialog.
6926 Files modified or added (+):
6930 * ControlNote.[Ch] +
6932 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6933 frontends/controllers
6937 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6939 * aspell.C: add missing namespace lyx::support
6941 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6943 * BufferView.[Ch] (newFile): Add
6944 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6945 * LaTeX.[Ch] (message): added this signal and use it
6946 * buffer.[Ch] (busy, message): added these signals and use them
6947 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6951 * importer.C: use buffer signals instead of direct bv calling
6952 * lyx_cb.[Ch] (ShowMessage): removed
6955 * paragraph_funcs.C:
6956 * text2.C: use buffer signals
6958 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6960 * introduce namespace lyx::graphics
6962 2003-07-02 André Pönitz <poenitz@gmx.net>
6964 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6966 2003-07-01 André Pönitz <poenitz@gmx.net>
6973 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6974 text*.C to text_func.C
6976 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6978 * introduce namespace lyx::support
6980 2003-06-30 André Pönitz <poenitz@gmx.net>
6985 * text.C: re-enable --with-included-string
6987 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6989 * textcursor.C: add <config.h>
6991 * text.C (getWord): remove const from word_location arg
6993 * lyxvc.C (getLogFile): fix const type order
6995 * lyxtext.h: remove const from word_location arg, add arg name
6997 * lyxlayout.h: currect type on labeltype.
6999 * importer.C: correct \file
7001 * converter.C (intToFormat): use std:: on ret val, ws changes
7003 * bufferlist.h: correct \file
7005 * buffer.C (makeLinuxDocFile): fix const type order
7006 (makeDocBookFile): ditto
7007 (fillWithBibKeys): use std:: on stdlib args.
7009 * CutAndPaste.C: fix authors.
7010 (availableSelections): use std:: on return vector
7012 2003-06-27 André Pönitz <poenitz@gmx.net>
7014 * BufferView_pimpl.C:
7015 * bufferview_funcs.C:
7023 * text3.C: remove LyXCursor::row_ member
7026 * text.C: rename fullRebreak() to partialRebreak() and implement
7027 a fullRebreak() that really bereks fully
7029 * textcursor.h: new struct for cursor-related data
7031 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7033 * lyx_main.C (LyX): get full path of document loaded on the
7036 2003-06-26 André Pönitz <poenitz@gmx.net>
7038 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7039 remove unused/broken operator>,<,>=.
7041 * text.C: remove only use of broken operator<= in an Assert().
7043 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7045 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7046 moved errorlist_.clear to showErrorList
7048 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7050 * converter.C (scanLog, runLaTeX):
7051 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7052 move the bv->showErrorList call to the callers
7053 * lyxfunc.C: i.e. here...
7055 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7056 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7057 namespace, the second to...
7058 * buffer_funcs (BufferFormat, parseErrors): added
7059 * errorlist.C (ErrorList(TeXErrors const &)): removed
7061 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7063 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7065 2003-06-24 "Garst R. Reese" <reese@isn.net>
7069 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7071 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7073 * version.C.in: change docversion to 1.4
7075 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7077 * buffer.C: fix a bug just introduced
7079 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7081 * buffer.[Ch]: added the parseError signal and use it, removed
7083 * BufferView.[Ch] (addError): moved to ...
7084 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7085 to the Buffer::parseError signal to catch (guess what) parse errors
7086 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7088 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7090 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7091 ability to create a buffer and to return an existing one from
7092 the list. Moved these functions to...
7093 * buffer_funcs.[Ch]: added
7094 * BufferView.[Ch] (loadLyXFile): added
7095 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7096 job removed from bufferlist::loadLyXFile.
7097 * buffer.C (setReadOnly): make it work without view
7098 (i.e added an if (users))
7100 2003-06-19 Angus Leeming <leeming@lyx.org>
7103 * LyXAction.C (init):
7104 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7105 with LFUN_DIALOG_SHOW <name> <data>.
7107 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7109 * CutAndPaste.C (availableSelections): small compilation fix for
7110 ancient (gcc 2.9x) compilers
7112 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7114 * text3.C (cursorNext): add tmp var
7116 * text2.C (updateCounters): for function calling out of for clause
7117 (replaceSelectionWithString): ditto
7118 (insertStringAsParagraphs): ditto
7119 (getColumnNearX): add tmp var
7120 (setCursorFromCoordinates): add tmp var
7121 (cursorDownParagraph): add tmp var
7122 (deleteEmptyParagraphMechanism): add tmp var
7124 * text.C (insertChar): add tmp var
7126 * rowpainter.C (paintDepthBar): add tmp var
7128 * CutAndPaste.C (availableSelections): potentially check all
7129 paragraphs in a cut to fill the shown strings.
7131 2003-06-18 André Pönitz <poenitz@gmx.net>
7133 * kbmap.[Ch]: use vector<> instead of list<>
7135 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7137 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7138 pasteSelection with index
7140 * text2.C (pasteSelection): modify, call pasteSelection with index
7142 * paragraph.C (asString): reimplement version with no interval to
7143 call the one with interval.
7145 * lyxtext.h: add index arg to pasteSelection
7147 * MenuBackend.C (MenuItem): handle PasteRecent
7148 (Menu::read::Menutags): add md_pasterecent
7150 (expandPasteRecent): new function
7153 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7155 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7157 (availableSelections): new function
7159 2003-06-17 Angus Leeming <leeming@lyx.org>
7161 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7163 2003-06-17 Angus Leeming <leeming@lyx.org>
7166 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7168 * lyxfunc.C (dispatch): invoke it.
7170 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7172 * iterators.C (operator++, ParPosition): reintroduce some
7173 const_cast for the benefit of older compilers.
7175 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7177 * text3.C (dispatch): do not modify clipboard when doing
7178 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7179 LFUN_DELETE_SKIP on a selection selection
7181 2003-06-16 André Pönitz <poenitz@gmx.net>
7187 * tabular.[Ch]: IU of clone() and getLabelList();
7189 2003-06-13 André Pönitz <poenitz@gmx.net>
7191 * tabular.h: compactification
7193 2003-06-12 André Pönitz <poenitz@gmx.net>
7197 * tabular_funcs.h: some renaming plus whitespace
7199 2003-06-12 André Pönitz <poenitz@gmx.net>
7202 * BufferView_pimpl.C:
7208 * toc.C: Return a Paragraph & for ParIterator::operator*()
7210 2003-06-11 John Levon <levon@movementarian.org>
7214 * ToolbarBackend.C: add "Toolbars" section and
7217 2003-06-10 Angus Leeming <leeming@lyx.org>
7220 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7222 * lyxfunc.C (dispatch): invoke it.
7224 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7226 * main.C: protect <ios> with HAVE_IOS
7227 (main): protect sync_with_stdio with HAVE_IOS
7229 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7231 * text2.C (cutSelection): adjust
7232 (pasteSelection): adjust
7234 * messages.C: handle get of empty string
7236 * main.C (main): use sync_with_stdio(false)
7238 * lyxfunc.C (dispatch): adjust
7240 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7241 (WriteAs): remove unneeded BufferView arg.
7243 * bufferparams.h: use correct types on papersize, papersize2 and
7246 * bufferparams.C (readToken): adjust for type
7247 (writeLaTeX): add missing cases to switch.
7249 * bufferlist.C (quitWriteBuffer): adjust
7252 * buffer.C (asciiParagraph): remove some commented code.
7254 * CutAndPaste.C: remove current_view extern variable.
7255 (cutSelection): add BufferParams arg.
7256 (eraseSelection): add BufferParams arg.
7257 (pasteSelection): add Buffer const & arg
7259 2003-06-07 John Levon <levon@movementarian.org>
7262 * paragraph_funcs.C:
7263 * paragraph_pimpl.C:
7267 * paragraph.C: allow InsetERT to freely space lines,
7268 and some consolidation of code
7270 2003-06-06 José Matos <jamatos@fep.up.pt>
7272 * buffer.C (makeDocBookFile): fix bug #821
7274 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7276 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7278 2003-06-04 Angus Leeming <leeming@lyx.org>
7280 * buffer.C: bump format to 224.
7282 2003-06-05 André Pönitz <poenitz@gmx.net>
7284 * text2.C (redoParagraphs): remove two const_cast<>
7286 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7288 * ParagraphList.h: remove last remnants of NO_STD_LIST
7290 2003-06-03 Angus Leeming <leeming@lyx.org>
7292 * factory.C (createInset): small change to the way InsetExternal's params
7295 2003-06-04 André Pönitz <poenitz@gmx.net>
7297 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7299 * paragraph_pimpl.h:
7300 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7302 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7304 * undo_funcs.C: make some simple cases of undo work again
7306 2003-06-03 John Levon <levon@movementarian.org>
7308 * ispell.C: HPUX doesn't have sys/select.h
7311 2003-06-03 John Levon <levon@movementarian.org>
7313 * CutAndPaste.C: update tabular and include inset
7318 * paragraph.C: remove owningBuffer(), don't pass Buffer
7321 * factory.C: insetGraphicsParams changed
7323 2003-06-02 John Levon <levon@movementarian.org>
7329 * text3.C: remove insetparent
7331 2003-06-02 John Levon <levon@movementarian.org>
7334 * buffer.C: fix inset_iterator.end(), move out of line
7337 2003-06-01 John Levon <levon@movementarian.org>
7339 * text3.C: use a proper cut/paste when doing inset
7340 insert (from Jürgen Spitzmüller)
7342 2003-06-01 John Levon <levon@movementarian.org>
7344 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7346 2003-05-30 André Pönitz <poenitz@gmx.net>
7348 * rowpainter.C: unify second drawing phase
7350 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7352 * trans_mgr.C: remove one case of current_view
7354 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7356 * paragraph_funcs.h: remove paragraph.h include
7358 * paragraph.h: delete NO_STD_LIST stuff
7360 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7362 * buffer.h: remove paragraph.h include
7364 * ParagraphList.C: delete file
7366 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7368 * toc.C (getTocList): adjust
7370 * paragraph_pimpl.C (validate): adjust
7372 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7374 * paragraph.C (Paragraph): adjust
7375 (getPositionOfInset): use const_iterator, adjust
7376 (bibitem): use const_iterator, adjust
7377 (setInsetOwner): adjust
7379 * iterators.C (operator++): adjust
7381 * InsetList.[Ch]: Replace selfmade iterator with standard
7382 vector::iterator also introduce const_iterator. Remove getPos,
7383 getInset and setInset from InsetTable. Adjust accordingly.
7385 * BufferView.C (lockInset): adjust
7386 (ChangeInsets): adjust
7388 * tabular.[Ch]: delete commented same_id functions
7390 2003-05-28 John Levon <levon@movementarian.org>
7392 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7394 2003-05-28 André Pönitz <poenitz@gmx.net>
7396 * metricsinfo.[Ch]: remove 'fullredraw' member
7398 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7400 * lyxtextclass.C (operator): remove caching.
7402 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7406 * text2.C (cursorBottom): adjust
7407 (setCounter): use ParagraphList::find, adjust
7409 * text.C (workWidth): use ParagraphList::find, adjust
7411 * lyxcursor.C (LyXCursor): adjust
7413 * buffer.C (inset_iterator): adjust
7415 * ParagraphList.h: make iterator(value_type) private, make
7416 ParagraphList a friend of iterator.
7418 * ParagraphList.C (find): new function
7420 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7422 2003-05-27 André Pönitz <poenitz@gmx.net>
7424 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7426 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7428 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7430 2003-05-26 John Levon <levon@movementarian.org>
7432 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7434 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7436 * remove same_id from function signatures, adjust.
7438 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7440 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7442 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7444 * paragraph.C (Paragraph): get rid of same_ids parameter
7446 * ParagraphList.C (insert): adjust
7449 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7451 * paragraph_funcs.C (breakParagraph): adjust
7452 (breakParagraphConservative): adjust
7454 * buffer.C (readParagraph): adjust
7456 * ParagraphList.C (insert): take a reference instead of a pointer
7459 * paragraph.[Ch] (id): new function
7461 * bufferlist.C (newFile): adjust
7463 * ParagraphList.C (ParagraphList): adjust
7465 (push_back): take a reference instead of a pointer.
7467 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7469 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7472 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7473 set else use old code.
7475 * ParagraphList.C: remove all NO_NEXT code and only compile this
7476 code of NO_STD_LIST is set.
7478 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7480 * BufferView_pimpl.C:
7490 * graphics/GraphicsConverter.C:
7491 * graphics/PreviewLoader.C: header adjustment
7493 2003-05-23 Angus Leeming <leeming@lyx.org>
7495 * LaTeXFeatures.[Ch] (useBabel): new method.
7496 * bufferparams.C (writeLaTeX): use it.
7498 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7500 * ParagraphList.h (set): remove unused function.
7502 2003-05-23 André Pönitz <poenitz@gmx.net>
7505 * BufferView_pimpl.C:
7509 * undo_funcs.C: setUndo reworked
7511 * iterators.[Ch]: add access to topmost ParagraphList
7513 * lyxtext.[Ch] (workWidth): add a const
7515 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7517 * texrow.[Ch] (increasePos): remove function
7518 * exporter.C (export): removed unused var and outdated comment
7520 2003-05-23 Angus Leeming <leeming@lyx.org>
7522 * latexrunparams.h: rename fragile as moving_arg.
7523 * paragraph.C (simpleTeXOnePar): ditto.
7524 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7526 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7528 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7530 (textUndoOrRedo): comment out a currently unused var.
7532 * paragraph.h (NO_NEXT): enable NO_NEXT
7534 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7536 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7538 * exporter.C (Export): adjust for removeAutoInsets removal.
7540 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7542 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7544 * BufferView.[Ch] (removeAutoInsets): delete function
7546 2003-05-22 Angus Leeming <leeming@lyx.org>
7548 * latexrunparams.h: add a free_spacing variable.
7550 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7551 to pass moving_arg, as the data is stored in runparams.fragile.
7553 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7554 to Inset::latexOptional or to simpleTeXOnePar.
7556 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7557 free_spacing arg to Inset::latexOptional.
7559 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7562 2003-05-22 Angus Leeming <leeming@lyx.org>
7564 * latexrunparams.h: add fragile and use_babel variables.
7566 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7567 * buffer.C (makeLaTeXFile): store this returned value in
7568 runparams.use_babel, thus passing it to the inset::latex methods.
7570 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7571 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7573 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7574 longer has a fragile arg, as it is stored in runparams.fragile.
7576 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7577 moving_arg parameter as the data is stored in runparams.fragile.
7579 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7580 a fragile parameter as the data is stored in runparams.fragile.
7582 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7584 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7586 2003-05-22 Angus Leeming <leeming@lyx.org>
7588 * latexrunparams.h: add a 'bool nice' which defaults to false.
7590 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7591 now encapsulated within runparams.
7593 * bufferlist.C (updateIncludedTeXfiles):
7594 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7596 2003-05-22 Angus Leeming <leeming@lyx.org>
7598 * latexrunparams.h: new file containing struct LatexRunParams.
7599 * Makefile.am: add new file.
7601 * LaTeX.[Ch] (c-tor, run):
7602 * buffer.[Ch] (makeLaTeXFile):
7603 * bufferlist.[Ch] (updateIncludedTeXfiles):
7604 * converter.C (convert, scanLog):
7605 * converter.[Ch] (runLaTeX):
7606 * exporter.C (Export):
7607 * paragraph.[Ch] (simpleTeXOnePar):
7608 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7609 * paragraph_funcs.[Ch] (latexParagraphs):
7610 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7611 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7612 pass around a LatexRunParams parameter.
7614 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7616 * paragraph.[Ch]: remove unused constructor
7618 * ParagraphList.C (erase): new function, taking two iterators
7620 2003-05-22 André Pönitz <poenitz@gmx.net>
7622 * undo_funcs.C: remove duplicated code
7624 * iterator.[Ch]: operator=
7626 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7628 * tabular.C (SetMultiColumn): ws changes
7630 * rowpainter.C (paintFirst): get rid of a ->previous
7632 * lyx_cb.C (getPossibleLabel): parlist simplification
7634 * BufferView.C (ChangeInsets): simplify slightly.
7636 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7638 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7639 * lfuns.h: new LFUN_SPACE
7640 * lyxfunc.C: protected space has a new lfun
7641 * paragraph_funcs.C: read new space insets
7643 * factory.C: handle new space insets
7645 2003-05-22 André Pönitz <poenitz@gmx.net>
7648 * BufferView_pimpl.C:
7651 * undo_funcs.C: return a ParIterator from getParFromID.
7653 * iterators.[Ch]: add two const's
7655 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7657 * toc.C (getTocList): adjust
7659 * iterators.[Ch]: rework for parlist
7661 * buffer.C (par_iterator_begin): adjust
7662 (par_iterator_end): adjust
7664 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7666 * BufferView.C (removeAutoInsets): adjust
7667 (ChangeInsets): adjust
7669 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7671 * text.C (top_y): fix bug 1110
7673 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7675 * errorlist.[Ch]: added
7678 * BufferView_pimpl.C:
7679 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7682 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7684 * Makefile.am: ensure that lyx is relinked upon changes to the
7685 various "convenience" libs.
7687 2003-05-20 Angus Leeming <leeming@lyx.org>
7689 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7690 files are compiled in alphabetical order again.
7692 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7694 2003-05-19 Angus Leeming <leeming@lyx.org>
7696 * gettext.[Ch]: remove "char const * _(char const *)".
7698 2003-05-19 André Pönitz <poenitz@gmx.net>
7700 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7709 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7711 2003-05-19 André Pönitz <poenitz@gmx.net>
7715 * lyxtextclass.[Ch]:
7717 * paragraph_funcs.[Ch]:
7719 * text3.C: more insetenv work
7721 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7723 * ParagraphParameters.C (params2string): small bug fixed
7725 2003-05-16 André Pönitz <poenitz@gmx.net>
7728 * bufferview_funcs.C: patch from Kornel Benko to prevent
7729 crash when _(...) is called twice in a statement
7731 2003-05-16 André Pönitz <poenitz@gmx.net>
7738 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7740 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7742 * lyx_main.C (init): remove spurious static_cast
7744 2003-05-14 André Pönitz <poenitz@gmx.net>
7746 * BufferView.C: fix format string
7748 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7750 * BufferView.[Ch] (insertErrors): removed
7751 * BufferView.[Ch] (showErrorList): added
7752 * buffer.C (runChkTeX):
7753 * converter.C (scanLog): call showErrorList instead of inserterrors
7755 2003-05-13 André Pönitz <poenitz@gmx.net>
7757 * BufferView_pimpl.C:
7759 * bufferview_func.C:
7766 * tabular_funcs.h: tostr() from its own header
7768 * ParagraphParameters.C:
7773 * text3.C: STRCONV()
7775 2003-05-12 André Pönitz <poenitz@gmx.net>
7778 * BufferView_pimpl.C:
7782 * ParagraphParameters.C:
7786 * bufferview_funcs.C:
7799 * paragraph_funcs.C:
7803 * text3.C: boost::format -> bformat all over the place
7806 2003-05-09 André Pönitz <poenitz@gmx.net>
7808 * LColor.[Ch]: Pimpl the #include <map> away
7810 2003-05-09 John Levon <levon@movementarian.org>
7812 * bufferlist.C: never remove emergency saves
7814 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7816 * Makefile.am: better lib building
7818 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7820 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7822 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7823 (simpleTeXSpecialChars): adjust
7824 (simpleTeXSpecialChars): adjust
7825 * paragraph.C (simpleTeXOnePar): adjust
7826 * buffer.C (makeLaTeXFile): adjust
7828 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7830 * text2.C (changeDepth): parlist cleanup
7831 (getColumnNearX): ditto
7833 * rowpainter.C (getLabelFont): parlist cleanup
7835 * bufferlist.C (newFile): parlist cleanup
7837 * CutAndPaste.C (eraseSelection): parlist cleanup
7839 * BufferView_pimpl.C (trackChanges): parlist cleanup
7842 * BufferView.C (lockInset): parlist cleanup.
7843 (ChangeInsets): ditto
7845 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7847 * CutAndPaste.h: Update file header.
7849 * CutAndPaste.C: Update file header.
7850 Store the parts cut out of the Document in a limited_stack.
7851 (copySelection): adjust
7852 (pasteSelection): new function, takes the index in the limited stack.
7853 (nrOfParagraphs): adjust
7854 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7855 simplify error inset insertion.
7856 (checkPastePossible): adjust
7858 2003-05-06 John Levon <levon@movementarian.org>
7860 * text2.C: don't cast wrap inset to float
7862 2003-05-05 André Pönitz <poenitz@gmx.net>
7865 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7867 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7868 few naked Paragraph *.
7870 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7872 * bufferparams.C: Output warning if a document with missing
7873 TeX document class is loaded
7874 * exporter.C: Disable TeX exports if the document class is missing
7877 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7878 isTeXClassAvailable()
7880 2003-05-03 John Levon <levon@movementarian.org>
7883 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7884 explicit cursor show/hide
7886 * BufferView_pimpl.h:
7887 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7888 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7890 * lyxfunc.C: hide cursor before dispatching.
7895 * text3.C: remove explicit cursor hides
7897 2003-05-02 André Pönitz <poenitz@gmx.net>
7899 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7902 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7905 * text2.C: tiny whitespace
7907 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7909 * undo_funcs.C: almost only ws changes.
7911 * ParagraphList.C (splice): just return if pl is empty.
7913 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7915 * ParagraphList.C (splice): new function.
7917 * CutAndPaste.C (pasteSelection): use it
7919 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7921 * CutAndPaste.C (pasteSelection): remove the last next and
7922 previous from this file.
7924 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7926 * CutAndPaste.C (pasteSelection): more clean up, user proper
7927 ParagraphList functions for pasteing.
7929 * ParagraphList.C (insert): new function, three arg insert
7931 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7933 * ParagraphList.C (insert): new function, three arg insert
7935 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7938 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7940 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7942 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7944 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7946 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7948 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7949 (copySelection): clean up a bit.
7950 (pasteSelection): use make_pair
7952 * ParagraphList.C (ParagraphList): implement copy constructor
7953 (operator=): implement, base on copy constructor.
7956 * paragraph.C (erase): return a bool
7958 * paragraph_pimpl.C (erasePos): remove function, move contents...
7959 (erase): ... here. Return a bool.
7960 (erase): call erase instead of erasePos.
7962 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7964 * ParagraphList.h: define PitPosPair
7965 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7966 ParagraphList, fix a bug on pasting multiple pars
7967 * text2.C: change interface to C&P
7969 2003-04-30 André Pönitz <poenitz@gmx.net>
7971 * undo_func.C: revert part of yesterday's patch 2
7973 2003-04-30 John Levon <levon@movementarian.org>
7975 * LColor.C: s/tabular/table/
7977 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7979 * text3.C (dispatch): do not convert iterator -> pointer
7980 * undo_funcs.C (setCursorParUndo): ditto
7981 * text_funcs.C (transposeChars): ditto
7983 * text2.C (setLayout): ws changes only
7985 * text.C (breakParagraph): do not convert iterator -> pointer
7987 (acceptChange): ditto
7988 (rejectChange): ditto
7993 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7996 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7998 * text3.C (gotoInset): YABG (yet another bad getChar)
8000 2003-04-29 André Pönitz <poenitz@gmx.net>
8002 * paragraph.h: make operator= private unimplemented as long as
8005 * ParagraphList.C: whitespace
8008 * paragraph_pimpl.[Ch]:
8009 * paragraph_funcs.C:
8011 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8014 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8016 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8018 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8019 * paragraph.[Ch] (erase):
8020 * paragraph_pimpl.[Ch] (erase): change return type and value
8021 * text2.C (cutSelection): some rework
8023 2003-04-28 John Levon <levon@movementarian.org>
8025 * bufferlist.C: changes for unsaved changes dialog
8027 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8029 * bufferlist.C (newFile): set language (messages_) for new
8032 * buffer.C (readFile): ws changes only.
8034 2003-04-28 André Pönitz <poenitz@gmx.net>
8039 * BufferView_pimpl.C:
8040 * BufferView.C: getParFromID related ParagraphList::iterator changes
8042 2003-04-28 André Pönitz <poenitz@gmx.net>
8044 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8047 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8049 * messages.C: remove one more localedir class variable.
8051 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8053 * messages.C (getLocaleDir): singleton generation function
8055 (Messages): add a default constructor.
8057 * main.C (main): do not setup localedir here, do not call
8060 * gettext.C (_): use it.
8061 (gettext_init): delete funciton
8063 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8065 * gettext.C (getLyXMessages): new singleton generating function.
8067 * buffer.C (updateDocLang): adjust
8069 * Makefile.am (messages.o): add target
8070 (main.o): remove target
8072 2003-04-27 John Levon <levon@movementarian.org>
8077 * lyxvc.C: specify cancel button in Alert::prompt
8079 2003-04-26 John Levon <levon@movementarian.org>
8084 * LyXAction.C: add LFUN_INSET_SETTINGS
8086 * lyxfunc.C: don't enable tabular-feature when there's
8087 just any locking inset
8089 2003-04-26 John Levon <levon@movementarian.org>
8091 * bufferlist.C: re-add Cancel to buffer close question
8093 * lyxfunc.C: fix import UI a bit
8095 2003-04-25 John Levon <levon@movementarian.org>
8097 * gettext.C: remove the broken asserts for now
8099 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8101 * messages.C: make case where setlocale cannot comply work better.
8103 * buffer.C (updateDocLang): new function
8104 (changeLanguage): use it
8107 * text2.C (setCounter): use B_ a bit.
8109 * lyxlayout.C (Read): be sure to trim the label strings.
8111 * messages.C (Messages): fix typo in comment
8113 * buffer.C (readFile): set message_ after file is loaded.
8114 (makeDocBookFile): remove double return
8115 (changeLanguage): reset message_ upon language change.
8116 (B_): new func, use this to get translated buffer strings.
8118 * main.C: add myself and Jean Marc as authors.
8120 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8122 * messages.[hC]: pimplify Messages, and three different pimpls to be
8123 used in different circumstances.
8125 * gettext.[Ch]: change for use with new message code.
8127 2003-04-24 André Pönitz <poenitz@gmx.net>
8129 * factory.C: support for eqref
8131 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8133 * messages.[Ch]: add missing char
8135 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8137 * messages.[Ch]: New files
8139 2003-04-18 John Levon <levon@movementarian.org>
8143 * BufferView_pimpl.C:
8147 * text2.C: remove layout-copy/paste (bug 778)
8149 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8151 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8153 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8155 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8156 if they succeed. Act accordingly.
8158 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8160 * text2.C (setCharFont): adjust
8161 (setCounter): adjust
8162 (insertStringAsLines): adjust
8164 * text.C (leftMargin): adjust
8165 (setHeightOfRow): adjust
8167 * rowpainter.C (paintFirst): adjust
8170 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8172 (isFirstInSequence): ditto
8173 (getEndLabel): ditto
8176 * paragraph.C (getParLanguage): comment out some hard stuff.
8178 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8180 (simpleDocBookOnePar): ditto
8181 (makeDocBookFile): use ParagraphList::iterator
8183 * CutAndPaste.C (pasteSelection): adjust
8185 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8187 * text2.C (getFont): adjust
8188 (getLayoutFont): adjust
8189 (getLabelFont): adjust
8191 * paragraph_funcs.C (TeXOnePar): adjust
8193 * buffer.C (simpleLinuxDocOnePar): adjust
8194 (simpleDocBookOnePar): adjust
8196 * CutAndPaste.C (pasteSelection): adjust
8198 * BufferView.C (getEncoding): adjust
8200 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8202 2003-04-16 John Levon <levon@movementarian.org>
8204 * lyxfind.C: use parlist stuff for search/changes
8206 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8208 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8210 * text2.C (deleteEmptyParagraphMechanism): adjust
8212 * text2.[Ch] (ownerParagraph): delete func (both of them
8214 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8216 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8218 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8220 * ParagraphList.C: prepare for NO_NEXT
8222 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8224 * text2.C (getFont): adjust
8225 (getLayoutFont): adjust
8226 (getLabelFont): adjust
8228 * paragraph.C (getFont): adjust
8229 (getLabelFont): adjust
8230 (getLayoutFont): adjust
8232 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8234 2003-04-15 John Levon <levon@movementarian.org>
8238 * lyx_main.C: handle Include in .ui files
8240 2003-04-15 John Levon <levon@movementarian.org>
8242 * MenuBackend.C: make the doc files length shorter
8245 * ToolbarBackend.C: handle toolbar placement flags,
8248 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8250 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8253 * paragraph_funcs.C (TeXOnePar): adjust
8255 * paragraph.C (getLabelFont): add outerfont arg, adjust
8256 (getLayoutFont): ditto
8257 (simpleTeXOnePar): adjust
8259 * paragraph_pimpl.C (realizeFont): delete func
8261 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8263 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8264 row argument, constify cur argument.
8266 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8268 * text2.C (getFont): adjust
8269 (getLayoutFont): adjust
8270 (getLabelFont): adjust
8272 * paragraph_funcs.C (TeXOnePar): adjust
8273 (outerFont): new func...
8274 (realizeFont): ...moved out from here, changed this to facilitate
8277 * paragraph.C (getFont): take outerfont as arg, adjust
8278 (simpleTeXOnePar): add outerfont arg, adjust
8280 * buffer.C (simpleLinuxDocOnePar): adjust
8281 (simpleDocBookOnePar): adjust
8283 * CutAndPaste.C (pasteSelection): adjust
8285 * BufferView.C (getEncoding): adjust
8287 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8289 * text2.C (setCharFont): adjust
8290 (setCounter): adjust
8292 * text.C (leftMargin): adjust
8293 (setHeightOfRow): adjust
8295 * rowpainter.C (paintFirst): adjust
8298 * paragraph_pimpl.C (realizeFont): adjust
8300 * paragraph.C (isFirstInSequence): move from here...
8301 * paragraph_funcs.C (isFirstInSequence): ...to here
8303 * paragraph.C (outerHook): move from here...
8304 * paragraph_funcs.C (outerHook): ...to here
8306 * paragraph.C (depthHook): move from here...
8307 * paragraph_funcs.C (depthHook): ...to here
8309 * paragraph.C (getEndLabel): move from here...
8310 * paragraph_funcs.C (getEndLabel): ...to here
8312 * text2.C (realizeFont): move from here...
8313 * paragraph_funcs.C (realizeFont): ...to here
8315 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8317 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8319 2003-04-14 Angus Leeming <leeming@lyx.org>
8321 * LColor.[Ch]: scrap LColor mathcursor.
8323 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8325 * lyxlex.[Ch] (text): delete function
8326 * trans.C (Load): adjust
8327 * paragraph_funcs.C (readParToken): adjust
8329 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8331 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8332 vector<char> instead of a char[].
8334 * lyxlex_pimpl.C (getString): adjust
8336 (lex): use getString
8340 * lyxlex.C (text): use pimpl_->getString()
8344 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8346 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8347 (makeFontEntriesLayoutSpecific): temp var for par.size()
8348 (setLayout): temp var for ownerParagraphs().end()
8349 (fullRebreak): temp var for rows().end()
8350 (selectionAsString): temp var for boost::next(startpit), realize
8351 that the while really is a regular for loop.
8352 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8353 setCursor in one place.
8354 (setParagraph): temp vr for ownerParagraphs().end()
8355 (updateCounters): make the while loop a for loop
8356 (cutSelection): temp var for ownerParagraphs().end()
8357 (updateInset): make the do {} while() a regular for loop
8358 (getCursorX): use temp vars
8359 (setCurrentFont): use temp vars
8360 (getColumnNearX): use temp vars
8362 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8364 * text.C (transformChar): use temp var for getChar
8365 (computeBidiTables): use temp var for row->par()
8366 (fill): move temp vars for row->par() and pit->layout() earlier in
8368 (labelFill): use temp var for row->par()
8369 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8370 asc and desc, realize that pit never changes and that firstpit is
8371 just a duplicate and not needed. Exchange rit->par() with pit in a
8373 (breakAgain): use a temp var for boost::next(rit)
8374 (breakAgainOneRow): ditto
8375 (breakParagraph): use a temp var for rows().begin()
8376 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8377 (cursorRightOneWord): use temp var for cursor.par() and
8378 cursor.pos(), remove usage of tmpcursor.
8379 (cursorLeftOneWord): use temp var for cursor.par() and
8380 cursor.pos() only set cur at end of function.
8382 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8384 * text.C, text2.C: exchange all usage of Paragraph::next with
8385 boost::next(ParagraphList::iterator)
8387 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8389 * text2.C (cursorTop): simplify implementation
8390 (cursorBottom): ditto
8391 (setParagraph): use ParagraphList::iterator
8392 (setCurrentFont): adjust
8393 (getColumnNearX): adjust
8394 (cursorRight): adjust
8395 (cursorLeft): remove usage of Paragraph::previous
8396 (cursorUpParagraph): ditto
8397 (deleteEmptyParagraphMechanism): slight cleanup
8399 * text.C (isBoundary): take a Paragraph const & instead of a
8401 (addressBreakPoint): ditto
8402 (leftMargin): remove usage of Paragraph::previous.
8403 (setHeightOfRow): ditto
8404 (cursorLeftOneWord): ditto
8405 (selectNextWordToSpellcheck): ditto
8408 (breakParagraph): remove one usage of Paragraph::next
8409 (redoParagraph): ditto
8410 (acceptChange): ditto
8411 (insertChar): adjust
8412 (rowBreakPoint): adjust
8414 * bufferview_funcs.C (toggleAndShow): adjust
8416 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8418 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8419 methods to access it.
8421 * text.C: Added updateRowPositions to compute all row positions.
8422 Make top_y and getRowNearY() to use the cached y position
8424 2003-04-11 John Levon <levon@movementarian.org>
8426 * text.C (rowBreakPoint): reintroduce the labelEnd
8427 checks, code copied from the row fill stuff. Deep voodoo.
8429 * text.C (fill): add a comment and debugging for the
8432 2003-04-11 John Levon <levon@movementarian.org>
8434 * text.C: make sure fullrow insets get wrapped to the next line,
8435 even when they're in a manual label
8437 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8439 * text2.C (insertParagraph): make it take ParagraphList::iterator
8441 (setLayout): make it return ParagraphList::iterator
8442 (redoParagraphs): ditto
8444 (checkParagraph): ditto
8446 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8448 * text2.C: adjust several funcs.
8449 (realizeFont): take a ParagraphList::iterator as arg.
8450 (getLayoutFont): ditto
8451 (getLabelFont): ditto
8452 (setCharFont): ditto
8454 * text.C: adjust several funcs.
8456 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8458 * text.C (selectNextWordToSpellcheck): don't accidentally
8461 2003-04-10 John Levon <levon@movementarian.org>
8463 * ToolbarBackend.C (getIcon): special handling for
8466 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8468 * text2.C (cursorRight): a getChar assert fixed
8470 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8472 * text2.C (getFont): change to take a ParagraphList::iterator
8473 instead of Paragraph*
8474 Adjust several functions.
8476 * text.C (transformChar): change to take a ParagraphList::iterator
8477 instead of Paragraph*
8478 (singleWidth): ditto
8479 Adjust several functions.
8481 * rowpainter.C: adjust several functions
8482 * rowpainter.h:store a ParagraphList::iterator and not a
8486 2003-04-09 John Levon <levon@movementarian.org>
8491 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8492 and the "help" bits as well
8494 2003-04-09 John Levon <levon@movementarian.org>
8497 * ToolbarBackend.C: allow multiple toolbars
8499 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8501 * undo_funcs.C (setCursorParUndo): adjust
8503 * text_funcs.C (transposeChars): adjust
8505 * text3.C (gotoNextInset): adjust
8508 * text2.C (setLayout): adjust
8509 (changeDepth): adjust
8511 (redoParagraphs): adjust
8512 (selectionAsString): adjust
8513 (setParagraph): adjust
8514 (insertInset): adjust
8515 (cutSelection): adjust
8516 (copySelection): adjust
8517 (pasteSelection): adjust
8518 (insertStringAsLines): adjust
8519 (updateInset): adjust
8520 (setCursor): change to take a ParagraphList::iterator parameter
8521 (setCursorIntern): change to take a ParagraphList::iterator parameter
8522 (setCurrentFont): adjust
8523 (cursorLeft): adjust
8524 (cursorRight): adjust
8525 (deleteEmptyParagraphMechanism): adjust
8527 * text.C (breakParagraph): adjust
8528 (insertChar): adjust
8529 (acceptChange): adjust
8530 (rejectChange): adjust
8531 (selectNextWordToSpellcheck): adjust
8532 (changeCase): adjust
8536 * lyxfind.C (SearchForward): adjust
8537 (SearchBackward): adjust
8538 (nextChange): adjust
8540 * lyxcursor.C (par): adjust
8542 * lyxcursor.h: store a ParagraphList::iterator instead of a
8545 * lyx_cb.C (getPossibleLabel): adjust
8547 * bufferview_funcs.C (toggleAndShow): adjust
8549 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8552 * BufferView.C (removeAutoInsets): adjust
8553 (lockedInsetStoreUndo): adjust
8555 2003-04-09 John Levon <levon@movementarian.org>
8557 * ToolbarBackend.C: try icon without argument
8558 if with argument fails
8560 2003-04-08 John Levon <levon@movementarian.org>
8563 * ToolbarBackend.C: add getIcon(), handle tooltip,
8564 and change from "Icon" to "Item".
8566 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8568 * BufferView.C (lockInset): another bad getchar crunched
8570 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8572 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8575 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8577 * lyxfind.C (searchForward, searchBackwards): bug 782
8579 2003-04-07 John Levon <levon@movementarian.org>
8581 * paragraph.C: remove dead comment
8583 * text.C: remove troublesome depth-fiddling code
8584 in leftMargin() and rightMargin() (bug 1017)
8586 * text.C: fix breaking of rows in nested lists
8589 * text2.C (updateCounters): fix up depth values
8592 2003-04-07 John Levon <levon@movementarian.org>
8594 * BufferView_pimpl.C: clear message when doc finishes resizing,
8595 and after a mouse event
8597 * lyxfunc.C: clear message after exiting inset
8599 2003-04-07 John Levon <levon@movementarian.org>
8601 * bufferview_funcs.C: show math status not outside
8602 status in the statusbar
8604 2003-04-07 John Levon <levon@movementarian.org>
8606 * lyxfunc.C: note status changed after a depth change
8608 2003-04-04 Angus Leeming <leeming@lyx.org>
8610 * LaTeX.h: move AuxInfo operator==, != out of line.
8611 Remove LaTeX virtual destructor; nothing derives from it.
8612 Move operator()() out of public area and rename it startscript().
8613 Change protected for private.
8615 2003-04-04 Angus Leeming <leeming@lyx.org>
8618 * text2.C: remove unneeded #includes.
8620 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8622 * text2.C (dEPM): fix the heigth of the next row
8624 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8626 * text.C: squashed an invalid getChar requester + some ws changes
8628 2003-04-03 John Levon <levon@movementarian.org>
8630 * bufferview_funcs.h:
8631 * bufferview_funcs.C:
8634 * text2.C: make getStatus work for the env depth lfuns
8636 2003-04-03 John Levon <levon@movementarian.org>
8638 * bufferview_funcs.h:
8639 * bufferview_funcs.C:
8642 * text2.C: parlistize decDepth(), by merging it with incDepth()
8644 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8646 * lyxrow.h: store a ParagraphList::iterator instead of a
8647 Paragraph* and adjust other class functions to suit.
8649 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8652 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8654 * text2.C (setCursor): do not anchor to cursor row for the time being
8656 2003-04-02 John Levon <levon@movementarian.org>
8663 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8665 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8667 * paragraph.h: make ParagraphList and ParagraphList::iterator
8668 friends of Paragraph.
8670 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8672 * ParagraphList.C: Use the private next_ and previous_ from
8675 2003-04-01 John Levon <levon@movementarian.org>
8679 * Makefile.am: rename, remove defaults gunk
8682 * MenuBackend.C: remove defaults gunk
8685 * Languages.C: remove defaults gunk
8688 * lyx_main.C: error out if files couldn't be found.
8690 2003-04-02 John Levon <levon@movementarian.org>
8692 * text2.C: make incDepth() use parlist
8694 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8696 * undo_funcs.C (firstUndoParagraph): adjust
8698 * text3.C (gotoInset): adjust
8699 (dispatch): adjust, and rewrite loop.
8701 * text2.C (init): adjust, and rewrite loop.
8702 (redoParagraphs): adjust
8703 (updateInset): adjust, and rewrite loop.
8704 (deleteEmptyParagraphMechanism): adjust
8706 * tabular.C (LyXTabular): adjust
8707 (SetMultiColumn): adjust
8710 * lyxtext.[Ch] (ownerParagraph): delete function
8711 (ownerParagraphs): new function returns a ParagraphList.
8713 * BufferView.C (removeAutoInsets): adjust
8714 (insertErrors): adjust
8715 (setCursorFromRow): adjust
8717 2003-04-01 Angus Leeming <leeming@lyx.org>
8719 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8722 2003-04-02 John Levon <levon@movementarian.org>
8728 * text_funcs.C: make transposeChars a free function
8730 * lyxrow_funcs.C: remove wrong comment
8732 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8735 * rowpainter.C: adjust
8740 * lyxrow_funcs. [Ch]: new files
8742 * lyxrow.[Ch]: remove next and previous pointers
8743 (next,previous): remove accessor functions
8744 (isParEnd): move to lyxrow_funcs
8745 (lastPos): move to lyxrow_funcs
8746 (nextRowIsAllInset): move to lyxrow_funcs
8747 (lastPrintablePos): move to lyxrow_funcs
8748 (numberOfSeparators): move to lyxrow_funcs
8749 (numberOfHfills): move to lyxrow_funcs
8750 (numberOfLabelHfills): move to lyxrow_funcs
8751 (hfillExpansion): move to lyxrow_funcs
8755 * bufferview_funcs.C (toggleAndShow): adjust
8757 * RowList.h: Remove class RowList from file leave just a
8760 * RowList.C: delete file
8762 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8765 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8767 * text3.C (cursorPrevious): adjust
8768 (cursorNext): adjust
8771 * text2.C (redoHeightOfParagraph): adjust
8772 (redoDrawingOfParagraph): adjust
8775 * text.C (breakParagraph): adjust
8776 (insertChar): adjust
8779 * rowpainter.C (RowPainter): adjust
8780 (leftMargin): simplify and adjust
8781 (most rowpainter functions): adjust.
8783 * rowpainter.h: store the row as RowList::iterator not as Row*
8785 * lyxcursor.C (row): taka RowList::iterator as arg
8788 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8791 2003-04-01 Angus Leeming <leeming@lyx.org>
8793 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8794 stuff like bool Bool.
8796 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8798 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8801 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8803 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8806 * lyxtext.h (rows): drop one version and leve a const variant that
8807 returns a RowList::iterator.
8809 2003-03-31 Angus Leeming <leeming@lyx.org>
8811 * text.C (fill): ensure that the signature is the same as that in the
8814 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8816 * text2.C (redoParagraphs): adjust
8817 (updateCounters): adjust
8818 (checkParagraph): adjust
8819 (getColumnNearX): adjust and reformat a bit.
8821 * text.C (top_y): adjust
8823 (leftMargin): adjust
8824 (prepareToPrint): adjust
8826 (getRowNearY): adjust
8828 * lyxtext.h: make rowlist_ mutable.
8830 * RowList.h: add const_iterator
8831 * RowList.C: adjust for RowList::const_iterator.
8833 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8836 2003-03-31 John Levon <levon@movementarian.org>
8839 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8841 * lyx_main.C: set default fonts from using lyx_gui funcs
8843 * exporter.C: pdf_mode moved from lyxrc
8846 * lyxfunc.C: changes from above
8848 2003-03-31 John Levon <levon@movementarian.org>
8850 * lyx_main.C: fix to the last fix
8852 2003-03-31 John Levon <levon@movementarian.org>
8854 * bufferlist.C: "Load original" -> "Load Original"
8860 * format.C: more Alert cleanups
8862 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8864 * text2.C (removeParagraph): make it take a RowList::iterator as
8866 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8867 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8869 * text.C (anchor_row): make it take a RowList::iterator as arg,
8871 (computeBidiTables): make it take a const reference to Row instead
8872 of Row pointer, adjust.
8873 (leftMargin): make it take a RowList::iterator as arg, adjust.
8874 (rowBreakPoint): adjust
8875 (breakAgainOneRow): make it take a RowList::iterator as arg,
8877 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8879 * bufferview_funcs.C (toggleAndShow): adjust
8881 2003-03-30 John Levon <levon@movementarian.org>
8885 * boost-inst.C: moved to support
8887 * several files: changes as a result
8889 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8891 * text2.C (LyXText): adjust.
8893 (removeRow): make it take a RowList::iterator as arg, adjust.
8894 (fullRebreak): adjust
8895 (deleteEmptyParagraphMechanism): adjust
8896 (clearPaint): adjust
8899 * text.C (top_y): adjust
8900 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8901 (breakAgain): make it take a RowList::iterator as arg, adjust.
8902 (breakParagraph): adjust
8903 (insertChar): adjust
8906 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8907 need_break_row, and refresh_row.
8909 * text3.C (dispatch): adjust
8911 * text2.C (checkParagraph): adjust
8913 (setCursorFromCoordinates): adjust
8915 * text.C (top_y): adjust
8917 (getRow): make it return a RowList::iterator, adjust
8918 (getRowNearY): make it return a RowList::iterator, adjust
8920 * text2.C (init): adjust
8921 (insertRow): remove function
8922 (insertParagraph): adjust
8923 (redoParagraphs): adjust
8924 (fullRebreak): adjust
8925 (updateCounters): adjust
8927 * text.C (top_y): rewrite to use RowList iterators.
8929 (setHeightOfRow): rewrite to sue RowList iterators.
8930 (appendParagraph): adjust
8931 (breakAgain): adjust
8932 (breakAgainOneRow): adjust
8933 (breakParagraph): adjust
8935 (getRowNearY): adjust, and remove commented code.
8937 * lyxtext.h (firstRow): delete function
8938 (lastRow): delete function
8939 (rows): new function (const and non-const versions.)
8940 (insertRow): delete function
8942 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8944 2003-03-29 John Levon <levon@movementarian.org>
8946 * BufferView_pimpl.C: always update scrollbar top
8947 because pasting text when we're anchored could mean we
8948 miss an update altogether
8950 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8952 * text2.C (init): use rowlist_.end() and not 0.
8953 (insertRow): change to take a RowList::iterator as arg, adjust
8955 (insertParagraph): change to take a RowList::iterator as arg,
8957 (redoParagraphs): remove some debug msgs.
8959 * text.C (appendParagraph): change to take a RowList::iterator
8960 arg, adjust for this.
8961 (breakAgain): add an assert
8962 (breakAgainOneRow): ditto
8964 2003-03-29 John Levon <levon@movementarian.org>
8966 * text2.C: do not clear selection after inc/decDepth
8969 2003-03-29 John Levon <levon@movementarian.org>
8972 * buffer.C: fix broken strerrors according to Lars
8974 2003-03-29 John Levon <levon@movementarian.org>
8976 * converters.C: more Alert cleanups
8978 2003-03-29 John Levon <levon@movementarian.org>
8980 * bufferview_funcs.C: remove pointless Alert
8982 * buffer.C: fix confusing error message when
8983 a template is chmoded 000
8985 2003-03-29 John Levon <levon@movementarian.org>
8989 * BufferView_pimpl.C: Alert fixes
8993 * tabular-old.C: remove unused table compat reading
8995 2003-03-29 John Levon <levon@movementarian.org>
9000 * lyx_cb.C: more Alert cleanups
9002 * lyxfunc.C: don't allow chktex if not latex document
9004 2003-03-29 John Levon <levon@movementarian.org>
9008 * buffer.C: warnings pushed down from support/,
9011 2003-03-29 John Levon <levon@movementarian.org>
9013 * lyxfunc.C: safety check for C-r (revert)
9015 2003-03-29 John Levon <levon@movementarian.org>
9018 * bufferlist.C: several UI fixes using Alert::prompt.
9019 Fix the pointless looping quit code. Fix stupid revert
9024 * lyx_cb.C: use Alert::prompt
9026 * lyx_main.C: remove a silly question
9028 * lyxfunc.C: remove a couple of silly questions,
9031 2003-03-28 John Levon <levon@movementarian.org>
9033 * text2.C: fix bug 974 (End on empty par)
9035 2003-03-28 John Levon <levon@movementarian.org>
9037 * BufferView_pimpl.C:
9039 * lfuns.h: remove do-nothing math greek lfuns
9041 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9043 * lyxgluelength.h (isValidGlueLength): add default arg on
9044 parameter 2. Remove default arg from friend in class.
9046 * lyxlength.h (isValidLength): add default arg on parameter 2.
9047 Remove default arg from friend in class.
9049 * text2.C (LyXText): adjust, initialize refresh_row.
9053 (insertParagraph): adjst
9054 (redoParagraphs): adjust
9055 (fullRebreak): adjust
9056 (updateCounters): adjust
9057 (deleteEmptyParagraphMechanism): first attempt at fixing a
9060 * text.C (top_y): adjust
9061 (setHeightOfRow): adjust
9063 (getRowNearY): adjust
9065 * lyxtext.h: include RowList.h
9066 (~LyXText): not needed anymore, deleted.
9067 (firstRow): modify for RowList
9068 (lastRow): new function
9069 Delete firstrow and lastrow class variables, add a Rowlist
9070 rowlist_ class variable.
9072 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9075 * RowList.C (insert): fix case where it == begin().
9077 2003-03-26 Angus Leeming <leeming@lyx.org>
9079 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9080 the thesaurus dialog.
9082 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9084 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9086 * RowList.[Ch]: new files
9088 * ParagraphList.C (erase): handle the case where it == begin
9091 2003-03-25 John Levon <levon@movementarian.org>
9095 * aspell.C: add new aspell support
9098 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9101 2003-03-25 Angus Leeming <leeming@lyx.org>
9104 * LyXAction.C (init): new LFUN_INSET_INSERT.
9106 * BufferView_pimpl.C (dispatch): split out part of the
9107 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9109 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9112 2003-03-25 Angus Leeming <leeming@lyx.org>
9114 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9116 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9119 * text3.C: remove useless row->height(0)
9121 2003-03-25 John Levon <levon@movementarian.org>
9125 * text3.C: rename the refreshing stuff to better names
9127 2003-03-24 John Levon <levon@movementarian.org>
9129 * BufferView_pimpl.h:
9130 * BufferView_pimpl.C: update layout choice on a mouse
9133 2003-03-23 John Levon <levon@movementarian.org>
9135 * Makefile.am: fix commandtags.h reference
9137 2003-03-22 John Levon <levon@movementarian.org>
9139 * BufferView_pimpl.C:
9144 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9146 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9149 * text.C: take the rtl methods out of line
9151 2003-03-21 André Pönitz <poenitz@gmx.net>
9153 * metricsinfo.[Ch]: new files containing structures to be passed around
9154 during the two-phase-drawing...
9156 2003-03-21 André Pönitz <poenitz@gmx.net>
9158 * lyxtextclass.C: read 'environment' tag.
9160 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9162 * text2.C (removeRow): fix bug 964
9164 2003-03-20 John Levon <levon@movementarian.org>
9168 * text2.C: paint cleanups. Inset::update() dropped font
9171 2003-03-19 John Levon <levon@movementarian.org>
9173 * lyxfunc.C: only fitcursor/markDirty if available()
9175 2003-03-19 John Levon <levon@movementarian.org>
9177 * commandtags.h: rename to ...
9179 * lfuns.h: ... this, and renumber / cleanup
9181 2003-03-19 John Levon <levon@movementarian.org>
9183 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9184 fit the cursor after an lfun
9188 * BufferView_pimpl.h:
9189 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9191 * LyXAction.C: layout-character should have ReadOnly
9193 * ParagraphParameters.C:
9195 * bufferview_funcs.C:
9202 * undo_funcs.C: changes from above
9204 2003-03-18 John Levon <levon@movementarian.org>
9206 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9207 remove it from update()
9209 * lyxfunc.C: update layout choice after an lfun
9211 * text3.C: remove extra updateLayoutChoice()s
9213 2003-03-18 John Levon <levon@movementarian.org>
9215 * text.C: top_y change means full repaint, fix
9216 a drawing bug with cursor movement
9218 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9222 * text2.C: anchor row on setCursor
9224 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9226 * lyxtext.h: remove almost all mutable keywords
9229 * text3.C: remove const keywords accordingly
9231 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9233 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9235 (TeXEnvironment): ditto
9238 2003-03-17 John Levon <levon@movementarian.org>
9240 * text.C (rowBreakPoint): remove attempt to fix displayed
9241 math insets inside a manual label
9243 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9245 * lyxtext.h: remove BufferView* as first arg from almost all class
9247 * other files: adjust.
9249 2003-03-17 John Levon <levon@movementarian.org>
9253 * text2.C: more paint cleanups
9255 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9258 * rowpainter.C: remove "smart" background painting code
9260 2003-03-16 John Levon <levon@movementarian.org>
9265 * text3.C: add helper functions for setting refresh_row/y
9267 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9269 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9270 newline inset which *can* get inserted in the pass_thru layouts.
9271 This is primarily for literate documents.
9273 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9275 * buffer.C: increment LYX_FORMAT to 223
9277 2003-03-14 André Pönitz <poenitz@gmx.net>
9279 * textclass.h: prepare for environment handling, ws changes
9280 * lyxlayout.C: read latexheader and latexfooter tags
9282 2003-03-14 John Levon <levon@movementarian.org>
9284 * text2.C: rewrite ::status() a bit
9286 2003-03-13 John Levon <levon@movementarian.org>
9288 * lyxtext.h: add some docs
9290 2003-03-13 John Levon <levon@movementarian.org>
9295 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9297 2003-03-13 John Levon <levon@movementarian.org>
9299 * text3.C: fix appendix redrawing
9301 2003-03-13 John Levon <levon@movementarian.org>
9303 * text.C (setHeightOfRow):
9305 * rowpainter.C: make appendix mark have the text
9306 "Appendix" so the user knows what it is
9309 * LColor.C: s/appendixline/appendix/ from above
9311 2003-03-13 John Levon <levon@movementarian.org>
9313 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9315 * text.C: fix a getChar(pos) bug properly
9317 2003-03-13 Angus Leeming <leeming@lyx.org>
9320 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9321 Probably only temporary. Let's see how things pan out.
9323 * BufferView.C (unlockInset):
9324 * BufferView_pimpl.C (fitCursor):
9325 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9327 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9328 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9330 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9331 new functions that convert ParagraphParameters to and from a string.
9333 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9334 BufferView::Pimpl's dispatch.
9335 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9337 2003-03-13 André Pönitz <poenitz@gmx.net>
9341 * factory.C: make it aware of InsetEnv
9343 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9345 * text2.C (setCursor): never ask for one past last
9346 (setCursor): add some debugging messages.
9348 * text.C (singleWidth): never ask for one past last
9349 (singleWidth): ditto
9351 (rightMargin): ditto
9352 (rowBreakPoint): ditto
9353 (setHeightOfRow): ditto
9354 (prepareToPrint): ditto
9356 * rowpainter.C (paintBackground): never ask for one past last
9357 (paintText): never ask for one past last
9359 * paragraph_pimpl.C (getChar): make the assert stricter, never
9360 allow the one past last pos to be taken
9362 * paragraph.C (getChar): ws changes only
9364 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9365 (numberOfSeparators): ditto
9366 (numberOfHfills): ditto
9368 2003-03-12 John Levon <levon@movementarian.org>
9374 * paragraph_funcs.C: fix per-buffer authorlists
9376 2003-03-12 John Levon <levon@movementarian.org>
9378 * text.C: fix newline in right address
9380 2003-03-12 Angus Leeming <leeming@lyx.org>
9382 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9383 duplicate those in LyXFunc::dispatch.
9387 * ToolbarDefaults.C:
9388 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9389 Add LFUN_FONTFREE_UPDATE.
9391 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9392 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9394 * bufferview_func.[Ch]: several new functions to facilliate
9395 transfer of data to and from the character dialog.
9397 2003-03-12 John Levon <levon@movementarian.org>
9402 * paragraph_funcs.C:
9403 * paragraph_pimpl.C:
9407 * text3.C: remove META_NEWLINE in favour of an inset
9410 * rowpainter.C: remove paintNewline (done by inset)
9412 2003-03-12 John Levon <levon@movementarian.org>
9414 * paragraph_pimpl.C: complain about bad getChar()s
9415 for a while at least
9417 2003-03-12 John Levon <levon@movementarian.org>
9420 * buffer.C: move paragraph read into a separate function,
9421 a little renaming to reflect that.
9424 * bufferparams.C: remove the author_ids map, not necessary now
9427 * factory.C: moved Buffer::readInset to here
9429 * paragraph_funcs.h:
9430 * paragraph_funcs.C: readParagraph free function moved from
9433 * tabular.C: name change
9435 2003-03-12 John Levon <levon@movementarian.org>
9438 * ParagraphParameters.C: move par params input to
9441 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9442 behave like a normal read from the stream wrt reading
9443 a line vs. a \\token
9445 2003-03-12 John Levon <levon@movementarian.org>
9448 * ParagraphParameters.h:
9449 * ParagraphParameters.C: move output code to a
9452 2003-03-12 John Levon <levon@movementarian.org>
9454 * BufferView.C (insertLyXFile):
9457 * tabular.C: use a parlist iterator for creating the
9460 2003-03-12 John Levon <levon@movementarian.org>
9462 * buffer.C: make current_change static local not
9465 2003-03-12 John Levon <levon@movementarian.org>
9467 * buffer.C: fix insertStringAsLines for change tracking
9469 2003-03-12 John Levon <levon@movementarian.org>
9476 * bufferparams.C: move author list into params. Rename some
9477 functions. Move the header reading into a separate token
9478 loop. Move the header token reading into BufferParams.
9480 2003-03-12 John Levon <levon@movementarian.org>
9482 * changes.C: put debug inside lyxerr.debugging() checks
9484 2003-03-11 André Pönitz <poenitz@gmx.net>
9486 * factory.C: make it aware of InsetHFill
9488 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9490 * buffer.C (latexParagraphs): move function from here...
9491 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9494 2003-03-10 Angus Leeming <leeming@lyx.org>
9496 * LyXAction.C (init): fix bug in poplating array with multiple entries
9497 with the same LFUN (spotted by JMarc).
9499 2003-03-10 John Levon <levon@movementarian.org>
9502 * text2.C: move getColumnNearX() near its
9505 2003-03-10 John Levon <levon@movementarian.org>
9507 * text.C: fix break before a minipage
9509 2003-03-10 John Levon <levon@movementarian.org>
9511 * text.C: fix the last commit
9513 2003-03-09 John Levon <levon@movementarian.org>
9517 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9518 bug 365 (don't break before insets unless needed). Don't
9519 return a value > last under any circumstances.
9521 2003-03-09 Angus Leeming <leeming@lyx.org>
9523 * BufferView_pimpl.C (trackChanges, dispatch): call
9524 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9526 2003-03-09 Angus Leeming <leeming@lyx.org>
9528 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9529 than Dialogs::showAboutlyx().
9531 2003-03-09 Angus Leeming <leeming@lyx.org>
9533 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9534 than Dialogs::showTabularCreate().
9536 2003-03-09 John Levon <levon@movementarian.org>
9540 * text2.C: 3rd arg to nextBreakPoint was always the same.
9543 2003-03-08 John Levon <levon@movementarian.org>
9550 * text2.C: Remove the "main" bit from the "main body"
9553 2003-03-08 John Levon <levon@movementarian.org>
9555 * text.C (leftMargin): The left margin of an empty
9556 manual label paragraph should not include the label width
9559 * text.C (prepareToPrint): don't attempt to measure hfills
9560 for empty manual label paragraphs - the answer should be 0
9562 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9564 * CutAndPaste.C: remove commented code and reindent.
9566 2003-03-08 John Levon <levon@movementarian.org>
9569 * lyxfunc.C: move reloadBuffer()
9572 * BufferView.C: to here
9574 * lyxvc.C: add comment
9577 * vc-backend.C: call bv->reload() to avoid
9578 getStatus() check on MENURELOAD
9580 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9582 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9583 to an old format .dep file.
9585 2003-03-07 Angus Leeming <leeming@lyx.org>
9587 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9588 when the LFUN_MOUSE_RELEASE should have been handled by
9589 inset->localDispatch.
9591 2003-03-07 Angus Leeming <leeming@lyx.org>
9593 * BufferView_pimpl.C (dispatch):
9594 * LyXAction.C (init):
9595 * ToolbarDefaults.C (init):
9597 * lyxfunc.C (getStatus):
9598 remove LFUN_INSET_GRAPHICS.
9600 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9602 2003-03-07 Angus Leeming <leeming@lyx.org>
9605 * LyXAction.C (init):
9606 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9608 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9611 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9613 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9614 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9616 2003-03-07 Angus Leeming <leeming@lyx.org>
9618 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9621 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9623 * ParagraphList.C (front): new function
9626 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9628 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9629 and top_row_offset_. removed var first_y.
9631 * text2.C (LyXText, removeRow):
9633 * BufferView_pimpl.C:
9634 use these methods instead of using first_y
9636 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9638 * text2.C (pasteSelection): adjust for checkPastePossible
9640 * CutAndPaste.C: remove Paragraph * buf and replace with
9641 ParagraphList paragraphs.
9642 (DeleteBuffer): delete
9643 (cutSelection): change the tc type to textclass_type
9644 (copySelection): change the tc type to textclass_type
9645 (copySelection): adjust for ParagraphList
9646 (pasteSelection): change the tc type to textclass_type
9647 (pasteSelection): adjust for Paragraphlist
9648 (nrOfParagraphs): simplify for ParagraphList
9649 (checkPastePossible): simplify for ParagraphList
9650 (checkPastePossible): remove unused arg
9652 * ParagraphList.C (insert): handle the case where there are no
9655 * CutAndPaste.h: make CutAndPaste a namespace.
9657 * text3.C (dispatch): adjust
9659 * text.C (breakParagraph): add a ParagraphList as arg
9661 * paragraph_funcs.C (breakParagraph): change to take a
9662 BufferParams and a ParagraphList as args.
9663 (breakParagraphConservative): ditto
9664 (mergeParagraph): ditto
9665 (TeXDeeper): add a ParagraphList arg
9666 (TeXEnvironment): ditto
9669 * buffer.C (readLyXformat2): adjust
9670 (insertStringAsLines): adjust
9671 (latexParagraphs): adjust
9673 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9674 (cutSelection): adjust
9675 (pasteSelection): adjust
9677 * BufferView_pimpl.C (insertInset): adjust
9679 2003-03-05 Angus Leeming <leeming@lyx.org>
9682 * LyXAction.C (init):
9683 * BufferView_pimpl.C (dispatch):
9684 * lyxfunc.C (getStatus):
9685 remove LFUN_CHILD_INSERT.
9687 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9689 2003-03-05 Angus Leeming <leeming@lyx.org>
9692 * LyXAction.C (init):
9693 * src/factory.C (createInset):
9694 * lyxfunc.C (getStatus):
9695 * text3.C (dispatch):
9696 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9698 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9700 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9702 * ParagraphList.C (insert): handle insert right before end()
9703 (erase): fix cases where it can be first or last paragraph.
9705 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9707 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9708 Paragraph::next and Paragraph::previous
9711 * text.C (breakParagraph): adjust
9713 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9714 BufferParams& as arg.
9715 (breakParagraph): use ParagraphList::insert
9716 (breakParagraphConservative): take a Buffer* instead of a
9717 BufferParams& as arg.
9718 (breakParagraphConservative): use ParagraphList::insert.
9720 * buffer.C (insertStringAsLines): un-const it
9721 (insertStringAsLines): adjust
9723 * ParagraphList.C (insert): new function
9725 * CutAndPaste.C (pasteSelection): adjust
9727 * text.C (backspace): adjust
9729 * tabular.C (SetMultiColumn): adjust
9731 * CutAndPaste.C (cutSelection): adjust
9732 (pasteSelection): adjust
9734 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9735 Buffer const * as arg
9737 * ParagraphList.C (erase): new function
9738 * paragraph_funcs.C (mergeParagraph): use it
9739 (mergeParagraph): make it take a Buffer* instead of a
9740 BufferParams* as arg
9742 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9744 (breakParagraphConservative): ditto
9746 * paragraph.h: remove the breakParagraph friend
9748 * paragraph.C (eraseIntern): new function
9749 (setChange): new function
9751 * paragraph_funcs.C (mergeParagraph): make it take a
9752 ParagraphList::iterator instead of a Paragraph *, adjust
9755 * paragraph.h: move an #endif so that the change tracking stuff
9756 also works in the NO_NEXT case.
9758 2003-03-04 Angus Leeming <leeming@lyx.org>
9761 * LyXAction.C: new LFUN_INSET_MODIFY.
9763 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9764 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9766 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9768 * several files: ws changes only
9770 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9771 (TeXEnvironment): ditto
9774 * buffer.C (makeLaTeXFile): adjust
9775 (latexParagraphs): make it take ParagraphList::iterator as args
9777 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9779 * buffer.C (latexParagraphs): adjust
9781 * paragraph.C (TeXOnePar): move function...
9782 (optArgInset): move function...
9783 (TeXEnvironment): move function...
9784 * paragraph_pimpl.C (TeXDeeper): move function...
9785 * paragraph_funcs.C: ...here
9787 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9789 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9791 * buffer.C (readInset): remove compability code for old Figure and
9794 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9796 * buffer.C: ws changes
9799 * BufferView_pimpl.C: ditto
9802 * bufferlist.h: ditto
9806 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9808 * converter.[Ch]: split into itself +
9811 * Makefile.am: += graph.[Ch] + format.[Ch]
9818 * lyxrc.C: added #include "format.h"
9820 2003-02-27 Angus Leeming <leeming@lyx.org>
9822 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9825 * factory.C (createInset): add "label" to the factory.
9827 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9828 string and do no more.
9830 2003-02-27 Angus Leeming <leeming@lyx.org>
9833 * LyXAction.C (init):
9834 * factory.C (createInset):
9835 * BufferView_pimpl.C (dispatch):
9836 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9838 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9840 * lyxfunc.C (dispatch):
9841 * text3.C (dispatch): pass name to params2string.
9843 2003-02-26 Angus Leeming <leeming@lyx.org>
9845 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9847 Rearrange the ~includes. Strip out the unnecessary ones.
9849 * factory.C (createInset): reformat.
9850 create new insets for the various LFUN_XYZ_APPLY lfuns.
9852 2003-02-26 John Levon <levon@movementarian.org>
9855 * lyxrow.C: add isParStart,isParEnd helpers
9857 * paragraph.h: make isInserted/DeletedText take refs
9859 * paragraph_funcs.h:
9860 * paragraph_funcs.C: remove #if 0'd code
9865 * text.C: use lyxrow helpers above.
9866 Move draw and paint routines to RowPainter.
9867 Make several methods use refs not pointers.
9868 Make backgroundColor() const.
9869 Add markChangeInDraw(), isInInset().
9870 Merge changeRegionCase into changeCase.
9871 Make workWidth() shouldn't-happen code into an Assert.
9874 * rowpainter.C: new class for painting a row.
9877 * vspace.C: make inPixels take a ref
9879 2003-02-26 Angus Leeming <leeming@lyx.org>
9881 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9884 2003-02-25 John Levon <levon@movementarian.org>
9886 * ispell.C: give the forked command a more accurate name
9888 2003-02-22 John Levon <levon@movementarian.org>
9891 * toc.C: make TocItem store an id not a Paragraph *
9894 2003-02-21 Angus Leeming <leeming@lyx.org>
9896 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9897 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9898 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9899 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9900 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9901 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9903 * BufferView_pimpl.C (dispatch):
9904 * LyXAction.C (init):
9905 * factory.C (createInset):
9906 * lyxfunc.C (getStatus, dispatch):
9907 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9909 2003-02-21 Angus Leeming <leeming@lyx.org>
9911 * BufferView_pimpl.C (MenuInsertLyXFile):
9912 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9913 * lyxfunc.C (menuNew, open, doImport):
9914 no longer pass a LyXView & to fileDlg.
9916 2003-02-21 Angus Leeming <leeming@lyx.org>
9918 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9919 * LyXAction.C: change, BIBKEY to BIBITEM.
9920 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9921 Change InsetBibKey to InsetBibitem.
9922 Change BIBKEY_CODE to BIBITEM_CODE.
9923 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9924 * factory.C: replace insetbib.h with insetbibitem.h.
9925 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9926 * paragraph.C: replace insetbib.h with insetbibitem.h.
9927 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9928 Change bibkey() to bibitem().
9929 * text.C: remove insetbib.h.
9930 * text2.C: replace insetbib.h with insetbibitem.h.
9931 change bibkey() to bibitem().
9932 * text3.C: remove insetbib.h.
9933 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9935 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9937 * lyxrc.C (output): enclose user email in quotes (in case there are
9940 2003-02-18 John Levon <levon@movementarian.org>
9942 * buffer.h: add std::
9944 2003-02-17 John Levon <levon@movementarian.org>
9950 * pspell.C: reworking. Especially in ispell, a large
9951 number of clean ups and bug fixes.
9953 * lyxfunc.C: fix revert to behave sensibly
9955 2003-02-17 André Pönitz <poenitz@gmx.net>
9958 * commandtags.h: new LFUN_INSERT_BIBKEY
9968 * paragraph_func.C: remove special bibkey handling
9970 2003-02-17 John Levon <levon@movementarian.org>
9972 * text.C (Delete): fix case where delete at the end of
9973 the very first paragraph would not merge the pars
9975 2003-02-17 John Levon <levon@movementarian.org>
9977 * lyxrow.C: fix lastPrintablePos()
9979 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9981 * bufferparams.C (writeLaTeX): add a std:here
9983 * buffer.C: and remove a using directive there
9985 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9987 * buffer.C (makeLaTeXFile): move the code that generates the
9990 * bufferparams.C (writeLaTeX): ... in this new method
9992 * LaTeXFeatures.C (getEncodingSet): make const
9993 (getLanguages): make const
9995 * MenuBackend.C (binding): returns the binding associated to this
9997 (add): sets the status of each item by calling getStatus. Adds
9999 (read): add support for OptSubMenu
10000 (expand): remove extra separator at the end of expanded menu
10002 2003-02-15 John Levon <levon@movementarian.org>
10005 * BufferView_pimpl.C:
10007 * bufferlist.C: remove pointless BufferStorage bloat. Remove
10008 inset code that had no actual effect. Remove unneeded status
10011 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10013 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10016 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10018 * text.C (drawLengthMarker): also draw an arrow marker for
10019 symbolic lengths (medskip...)
10021 2003-02-14 John Levon <levon@movementarian.org>
10024 * tabular.C: better method names
10026 2003-02-14 John Levon <levon@movementarian.org>
10028 * BufferView_pimpl.C:
10033 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10034 it's a more accurate name. Remove some pointless uses.
10036 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10038 * text2.C (LyXText): change order of initilizers to shut off
10041 2003-02-14 John Levon <levon@movementarian.org>
10043 * buffer.C: use ParIterator for getParFromID()
10047 * paragraph_pimpl.h:
10048 * paragraph_pimpl.C: remove unused getParFromID()
10050 2003-02-14 John Levon <levon@movementarian.org>
10052 * buffer.C: remove some very old #if 0'd parse code
10054 2003-02-13 John Levon <levon@movementarian.org>
10058 * text2.C: move hfillExpansion(), numberOfSeparators(),
10059 rowLast(), rowLastPrintable(), numberofHfills(),
10060 numberOfLabelHfills() ...
10063 * lyxrow.C: ... to member functions here.
10068 * text.C: remove LyXText::beginningOfMainBody(), and call
10069 p->beginningOfMainBody() directly. Move the check for
10070 LABEL_MANUAL into the latter.
10077 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10083 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10084 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10086 2003-02-13 John Levon <levon@movementarian.org>
10088 * CutAndPaste.C: remove debug
10090 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10092 * paragraph.C (asString): remove two unused variables
10094 * lyxtextclass.C (readTitleType):
10096 (LyXTextClass): handle new members titletype_ and titlename_
10098 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10100 2003-02-09 John Levon <levon@movementarian.org>
10103 * buffer.C: replace hand-coded list with a map for the dep clean
10105 2003-02-08 John Levon <levon@movementarian.org>
10107 * LaTeX.C: consolidate code into showRunMessage() helper
10109 2003-02-08 John Levon <levon@movementarian.org>
10114 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10115 and pass the size in explicitly
10117 * BufferView_pimpl.h:
10118 * BufferView_pimpl.C:
10120 * BufferView.C: add getCurrentChange()
10122 * BufferView_pimpl.h:
10123 * BufferView_pimpl.C: handle change lfuns
10125 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10126 for changes. Mark pasted paragraphs as new.
10128 * support/lyxtime.h:
10129 * support/lyxtime.C:
10130 * DepTable.C: abstract time_t as lyx::time_type
10133 * LColor.C: add colours for new text, deleted text, changebars
10135 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10136 package use "usenames" option.
10140 * LyXAction.C: add change lfuns
10144 * author.C: author handling
10147 * buffer.C: add a per-buffer author list, with first entry as
10148 current author. Handle new .lyx tokens for change tracking. Output
10149 author list to .lyx file. Output dvipost stuff to .tex preamble.
10150 Bump lyx format to 222.
10153 * bufferlist.C: add setCurrentAuthor() to reset current author details
10157 * bufferparams.C: add param for tracking
10159 * bufferview_funcs.C: output change info in minibuffer
10163 * changes.C: add change-tracking structure
10166 * debug.C: add CHANGES debug flag
10169 * lyxfind.C: add code for finding the next change piece
10172 * lyxrc.C: add user_name and user_email
10175 * lyxrow.C: add a metric for the top of the text line
10178 * text.C: implement accept/rejectChange()
10181 * text.C: paint changebars. Paint new/deleted text in the chosen
10182 colours. Strike through deleted text.
10186 * paragraph_pimpl.h:
10187 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10188 in the current change to the insert functions. Rework erase to
10189 mark text as deleted, adding an eraseIntern() and a range-based
10190 erase(). Implement per-paragraph change lookup and
10193 * paragraph_funcs.C: Fixup paste for change tracking.
10195 * tabular.C: mark added row/columns as new.
10197 * text.C: fix rowLast() to never return -1. Don't allow
10198 spellchecking of deleted text. Track transpose changes. Don't
10199 allow paragraph break or merge where appropriate.
10201 * text2.C: leave cursor at end of selection after a cut.
10203 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10205 * text.C (getLengthMarkerHeight):
10206 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10207 visible on screen too.
10209 2003-02-07 John Levon <levon@movementarian.org>
10211 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10213 2003-02-05 Angus Leeming <leeming@lyx.org>
10215 * lyxserver.C (read_ready): revert my patch of 11 September last year
10216 as it sends PC cpu through the roof. Presumably this means that
10217 the lyxserver will no longer run on an Alpha...
10219 2003-01-30 Angus Leeming <leeming@lyx.org>
10221 * factory.C (createInset): create an InsetCommandParam of type "index"
10222 and use it to 'do the right thing'.
10224 * text2.C (getStringToIndex): ensure that cursor position is always
10225 reset to the reset_cursor position.
10227 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10229 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10232 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10236 * lyxfunc.C: Output messages with identical spelling, punctuation,
10239 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10241 * MenuBackend.C (expandFormats): List only viewable export formats
10244 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10247 * lyxfunc.C (getStatus): Make sure that formats other than
10248 "fax" can also be disabled
10250 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10252 * text3.C (dispatch): put the lfuns that insert insets in 3
10253 groups, and call doInsertInset with appropriate arguments.
10254 (doInsertInset): new function, that creates an inset and inserts
10255 it according to some boolean parameters.
10257 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10259 * buffer.C (readFile): remember to pass on 'par' when calling
10260 readFile recursively.
10262 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10264 * MenuBackend.C (expandFormats): add "..." to import formats.
10266 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10268 * paragraph.C (asString): Remove XForms RTL hacks.
10270 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10271 * buffer.C: fix typo
10273 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10275 * Makefile.am (LIBS): delete var
10276 (lyx_LDADD): add @LIBS@ here instead.
10278 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10280 * Clarify the meaning of "wheel mouse jump"
10282 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10284 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10287 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10289 * importer.C (Loaders): do not preallocate 3 elements in the
10290 vector, since one ends up with 6 elements otherwise
10292 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10294 * DepTable.C (write): write the file name as last element of the
10295 .dep file (because it may contain spaces)
10296 (read): read info in the right order
10298 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10300 * paragraph_pimpl.C (simpleTeXBlanks):
10301 (simpleTeXSpecialChars):
10302 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10304 * tabular.C (latex): add some missing case statements. Reindent.
10306 * MenuBackend.C (expandToc): remove unused variable.
10308 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10317 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10320 2003-01-05 John Levon <levon@movementarian.org>
10323 * BufferView.C: add getEncoding()
10326 * kbsequence.C: do not store last keypress
10329 * lyxfunc.C: store last keypress here instead. Pass encoding
10332 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10334 * lyx_main.C (init): remove annoying error message when following
10335 symbolic links (bug #780)
10337 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10339 * text.C (insertChar):
10340 * lyxrc.C (getDescription): remove extra spaces
10342 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10344 * lyxrc.C (getDescription): remove extra spaces
10346 2002-12-20 John Levon <levon@movementarian.org>
10348 * text3.C: hack fix for page up/down across tall rows
10350 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10352 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10355 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10357 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10358 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10359 thesaurus is not compiled in
10361 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10363 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10365 2002-12-16 Angus Leeming <leeming@lyx.org>
10368 * lyx_main.C (init): remove override_x_deadkeys stuff.
10370 2002-12-12 John Levon <levon@movementarian.org>
10372 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10373 insert. Only remove shift modifier under strict
10376 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10378 * MenuBackend.C (expandToc): fix crash.
10380 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10382 * MenuBackend.C (expandToc): gettext on float names.
10384 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10386 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10387 implement bool empty() [bug 490]
10389 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10391 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10393 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10395 * several files: ws changes
10397 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10399 * text2.C (setCounter): clean up a bit, use boost.format.
10400 (updateCounters): initialize par upon declaration.
10402 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10403 if the layout exists. We do not just store the layout any more.
10404 (SwitchLayoutsBetweenClasses): use boost.format
10406 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10408 * converter.C (convert): if from and to files are the same, use a
10409 temporary files as intermediary
10411 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10414 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10416 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10418 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10420 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10422 * tabular.C (asciiPrintCell): use string(size, char) instead of
10425 * sgml.C (openTag): fix order of arguments to string constructor
10428 * lyxfunc.C (dispatch): use boost.format
10430 * lots of files: change "c" -> 'c'
10432 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10434 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10436 2002-11-25 Angus Leeming <leeming@lyx.org>
10438 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10440 * lyx_main.C (init): compile fix.
10442 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10444 * lyx_cb.C (start): boost.formatify
10445 do not include <iostream>
10447 * lengthcommon.C: ws only
10449 * boost-inst.C,BoostFormat.h: add more explict instantations
10451 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10453 * lots of files: handle USE_BOOST_FORMAT
10455 2002-11-21 John Levon <levon@movementarian.org>
10457 * pspell.C: fix compile
10459 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10461 * lyxfunc.C (dispatch): use boost::format
10465 * lyxfont.C (stateText): use boost::format
10467 * lyx_main.C (LyX): use boost::format
10469 (queryUserLyXDir): ditto
10470 (readRcFile): ditto
10472 (typedef boost::function): use the recommened syntax.
10474 * importer.C (Import): use boost::format
10476 * debug.C (showLevel): use boost::format
10478 * converter.C (view): use boost::format
10483 * bufferview_funcs.C (currentState): use boost::format
10485 * bufferlist.C (emergencyWrite): use boost::format
10487 * buffer.C (readLyXformat2): use boost::format
10488 (parseSingleLyXformat2Token): ditto
10490 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10492 * LaTeX.C (run): use boost::format
10494 * Chktex.C (scanLogFile): use boost::format
10496 * BufferView_pimpl.C (savePosition): use boost::format
10497 (restorePosition): ditto
10498 (MenuInsertLyXFile): ditto
10500 * BoostFormat.h: help file for explicit instation.
10502 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10504 * tabular.C (latex): Support for block alignment in fixed width
10507 2002-11-17 John Levon <levon@movementarian.org>
10509 * BufferView_pimpl.C:
10511 * lyxfunc.C: split filedialog into open/save
10513 2002-11-08 Juergen Vigna <jug@sad.it>
10515 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10516 by my last patch (hopefully).
10518 2002-11-08 John Levon <levon@movementarian.org>
10527 * toc.C: ParConstIterator, and use it (from Lars)
10529 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10531 * lyxtextclass.[Ch]: revise and add doxygen comments
10533 2002-11-07 John Levon <levon@movementarian.org>
10535 * text.C: fix progress value for spellchecker
10537 * toc.C: fix navigate menu for insetwrap inside minipage
10539 * paragraph_funcs.C: added FIXME for suspect code
10541 2002-11-07 John Levon <levon@movementarian.org>
10543 * BufferView_pimpl.C: fix redrawing of insets
10546 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10548 * text2.C (updateCounters): fix bug 668
10550 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10552 * text3.C (dispatch): Do not make the buffer dirty when moving the
10555 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10557 * vc-backend.C: STRCONV
10558 (scanMaster): ditto
10560 * text2.C (setCounter): STRCONV
10562 * paragraph.C (asString): STRCONV
10564 * lyxlength.C (asString): STRCONV
10565 (asLatexString): ditto
10567 * lyxgluelength.C (asString): STRCONV
10568 (asLatexString): ditto
10570 * lyxfunc.C (dispatch): STRCONV
10573 * lyxfont.C (stateText): STRCONV
10575 * importer.C (Import): STRCONV
10577 * counters.C (labelItem): STRCONV
10578 (numberLabel): ditto
10579 (numberLabel): remove unused ostringstream o
10584 * bufferview_funcs.C (currentState): STRCONV
10586 * buffer.C (readFile): STRCONV
10587 (asciiParagraph): ditto
10588 (makeLaTeXFile): ditto
10590 * Spacing.C (writeEnvirBegin): STRCONV
10592 * LaTeXFeatures.C (getLanguages): STRCONV
10593 (getPackages): ditto
10595 (getBabelOptions): ditto
10596 (getTClassPreamble): ditto
10597 (getLyXSGMLEntities): ditto
10598 (getIncludedFiles): ditto
10602 (scanAuxFile): ditto
10605 * LString.h: add the STRCONV macros
10607 * BufferView_pimpl.C (savePosition): STRCONV
10608 (restorePosition): ditto
10609 (MenuInsertLyXFile): ditto
10611 * vc-backend.C (scanMaster): change from submatch[...] to
10614 * funcrequest.C: include config.h
10616 * factory.C: include config.h
10618 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10620 * box.C: include config.h
10622 * LaTeX.C (scanAuxFile): change from submatch[...] to
10626 2002-10-25 Angus Leeming <leeming@lyx.org>
10628 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10630 * ispell.[Ch] (setError): new method.
10631 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10632 Use setError() insetead of goto END.
10634 * lyx_cb.C (AutoSave): move out child process into new class
10637 2002-10-30 John Levon <levon@movementarian.org>
10639 * text3.C: make start appendix undoable
10641 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10643 * lyxlength.C (inPixels): Fix returned value.
10645 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10648 2002-10-24 Angus Leeming <leeming@lyx.org>
10650 * lyxgluelength.h: no need to forward declare BufferParams
10651 or BufferView, so don't.
10653 2002-10-21 John Levon <levon@movementarian.org>
10655 * BufferView.C: menuUndo ->undo, redo
10657 * BufferView.h: document, remove dead, make some methods private
10659 * paragraph_funcs.h:
10660 * paragraph_funcs.C:
10661 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10666 * sgml.C: move sgml open/close tag into sgml.C
10668 * bufferview_funcs.h: unused prototype
10671 * lyxfunc.C: remove unused
10674 * text.C: remove unused
10676 2002-10-21 John Levon <levon@movementarian.org>
10680 * BufferView_pimpl.h:
10681 * BufferView_pimpl.C: fix mouse wheel handling based on
10682 patch from Darren Freeman
10684 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10686 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10688 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10690 * lyxlength.C (inPixels): Fix hanfling of negative length.
10691 Fix LyXLength::MU case.
10693 2002-10-16 John Levon <levon@movementarian.org>
10695 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10697 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10699 * converter.C (view): add support for $$i (file name) and $$p
10700 (file path) for the viewer command. If $$i is not specified, then
10701 it is appended to the command (for compatibility with old syntax)
10703 2002-10-14 Juergen Vigna <jug@sad.it>
10705 * undo_funcs.C (textHandleUndo): alter the order in which the
10706 new undopar is added to the LyXText, as we have to set first
10707 the right prev/next and then add it as otherwise the rebuild of
10708 LyXText is not correct. Also reset the cursor to the right paragraph,
10709 with this IMO we could remove the hack in "redoParagraphs()".
10711 2002-10-09 Angus Leeming <leeming@lyx.org>
10713 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10714 to turn off an optimisation if a new inset is to be inserted.
10716 2002-10-11 André Pönitz <poenitz@gmx.net>
10718 * lyxtext.h: make some functions public to allow access
10719 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10721 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10723 * text3.C (dispatch): when changing layout, avoid an infinite loop
10726 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10728 * lyxrc.C (read): treat a viewer or converter command of "none" as
10731 * MenuBackend.C (expandFormats): for an update, also allow the
10732 formats that are not viewable
10734 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10735 script if it is newer than the lyxrc.defaults in user directory
10737 2002-10-07 André Pönitz <poenitz@gmx.net>
10739 * text.C: Vitaly Lipatov's small i18n fix
10741 2002-09-25 Angus Leeming <leeming@lyx.org>
10743 * ispell.h: doxygen fix.
10745 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10747 * buffer.h (readFile): Add a new argument to the method, to allow
10748 reading of old-format templates.
10750 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10752 * toc.C (getTocList): Get TOC from InsetWrap.
10754 2002-09-16 John Levon <levon@movementarian.org>
10756 * lyxfunc.C: check tabular for cut/copy too
10758 2002-09-12 John Levon <levon@movementarian.org>
10760 * LyXAction.C: tidy
10763 * factory.C: add header
10765 * paragraph_funcs.h:
10766 * paragraph_funcs.C: cleanup
10768 2002-09-11 John Levon <levon@movementarian.org>
10770 * PrinterParams.h: odd/even default to true
10772 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10774 * PrinterParams.h: update printer parameters for new xforms dialog
10776 2002-09-11 Angus Leeming <leeming@lyx.org>
10778 * lyxserver.C (read_ready): re-write to make it more transparent
10779 and to make it work in coherent fashion under Tru64 Unix.
10781 2002-09-11 André Pönitz <poenitz@gmx.net>
10785 * text3.C: implement LFUN_WORDSEL
10787 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10789 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10790 make floatlist_ a boost::shared_ptr<FloatList>
10792 * lyxtextclass.C: include FloatList.h
10793 (LyXTextClass): initialize floatlist_
10794 (TextClassTags): add TC_NOFLOAT
10795 (Read): match "nofloat" to TC_NOFLOAT and use it.
10796 (readFloat): modify call to floatlist_
10800 * FloatList.[Ch] (FloatList): remove commented out float
10802 (erase): new function
10804 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10806 * MenuBackend.C (expandToc): fix crash when there is no document
10809 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10811 * many files: Add insetwrap.
10813 2002-09-09 John Levon <levon@movementarian.org>
10815 * text2.C: remove confusing and awkward depth wraparound
10817 2002-09-09 John Levon <levon@movementarian.org>
10819 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10822 * buffer.C: remove getIncludeonlyList()
10825 * lyxfunc.C: remove headers
10827 2002-09-09 Juergen Vigna <jug@sad.it>
10829 * text.C (getColumnNearX): fix form Michael this is most
10830 probably a cut&paste bug.
10832 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10834 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10836 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10837 references, ws changes.
10839 * text2.C (init): update counters after init
10840 (insertParagraph): no need to set counter on idividual paragraphs.
10841 (setCounter): access the counters object in the textclass object
10842 on in the buffer object.
10843 (updateCounters): ditto
10845 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10846 shared_ptr<Counters> to avoid loading counters.h in all
10848 (LyXTextClass): initialize ctrs_
10849 (TextClassTags): add TC_COUNTER, and ...
10850 (Read): use it here.
10851 (CounterTags): new tags
10852 (readCounter): new function
10853 (counters): new funtion
10854 (defaultLayoutName): return a const reference
10856 * counters.C (Counters): remove contructor
10857 (newCounter): remove a couple of unneeded statements.
10858 (newCounter): simplify a bit.
10859 (numberLabel): some small formatting changes.
10861 * buffer.[Ch]: remove all traces of counters, move the Counters
10862 object to the LyXTextClass.
10864 2002-09-06 Alain Castera <castera@in2p3.fr>
10866 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10867 package to set the horizontal alignment on fixed width columns.
10870 * lyx_sty.h: added tabularnewline macro def.
10872 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10874 2002-09-06 John Levon <levon@movementarian.org>
10876 * LyXAction.C: tooltips for sub/superscript
10878 * MenuBackend.C: a bit more verbose
10880 * lyxfunc.C: tiny clean
10882 * undo_funcs.C: document undo_frozen
10884 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10886 * counters.C (Counters): add missing algorithm counter.
10888 * text2.C (setCounter): lookup the counter with layouts latexname
10889 instead of by section number.
10890 (setCounter): use a hackish way to lookup the correct enum
10892 a float name->type change
10893 reset enum couners with counter name directly instead of depth value.
10895 * counters.C (Counters): remove the push_backs, change to use the
10896 float type not the float name.
10897 (labelItem): remove unused string, float name->type change
10899 * counters.h: don't include vector, loose the enums and sects vectors
10901 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10903 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10904 (Read): add float->TC_FLOAT to textclassTags
10905 (Read): and handle it in the switch
10906 (readFloat): new function
10908 * FloatList.C (FloatList): comment out the hardcoded float
10911 * lyxlayout.h: ws change.
10913 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10915 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10917 2002-09-03 Angus Leeming <leeming@lyx.org>
10919 * BufferView_pimpl.h: qualified name is not allowed in member
10920 declaration: WorkArea & Pimpl::workarea() const;
10922 * factory.C: added using std::endl directive.
10924 * text3.C: added using std::find and std::vector directives.
10926 2002-08-29 André Pönitz <poenitz@gmx.net>
10929 * text2.C: remove unused member number_of_rows
10932 * BufferView2.C: remove file, move contents to...
10933 * BufferView.C: ... here
10935 * BufferView_pimpl.C:
10936 * factory.C: move more inset creation to factory
10938 * vspace.C: avoid direct usage of LyXText, ws changes
10941 don't provide direct access to WorkArea, use two simple
10942 acessors haveSelction() and workHeight() instead
10945 2002-08-29 John Levon <levon@movementarian.org>
10947 * BufferView_pimpl.C (dispatch): do not continue when
10950 2002-08-28 André Pönitz <poenitz@gmx.net>
10952 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10955 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10957 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10959 * buffer.C: increment LYX_FORMAT to 221
10961 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10962 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10964 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10966 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10968 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10970 * factory.C (createInset): use LyXTextClass::floats
10972 * MenuBackend.C (expandFloatListInsert):
10973 (expandFloatInsert):
10976 * text2.C (setCounter):
10978 * LaTeXFeatures.C (useFloat):
10979 (getFloatDefinitions):
10981 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10983 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10984 floatlist_, with accessor floats().
10986 * FloatList.h: remove global FloatList
10988 2002-08-26 André Pönitz <poenitz@gmx.net>
10990 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10994 * BufferView_pimpl.C:
10995 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10997 2002-08-25 John Levon <levon@movementarian.org>
10999 * LyXAction.C: fix margin note description
11001 2002-08-24 John Levon <levon@movementarian.org>
11005 * bufferview_funcs.C:
11007 * undo_funcs.C: cleanups
11009 * lyxfunc.C: disable CUT/COPY when no selection
11011 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11013 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11014 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11016 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11017 Add backward compatibility to "mono", "gray" and "no".
11019 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11021 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11022 (and file_format >= 200).
11024 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11026 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11028 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11030 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11032 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11034 * BufferView_pimpl.C:
11041 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11042 inset and code to make it work with the paragraph code. The inset
11043 can be anywhere in the paragraph, but will only do the expected
11044 thing in LaTeX if the layout file contains the parameter line
11046 (or more generally, a nonzero value) for that layout.
11048 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11050 * paragraph.h: remove the declaration of undefined counters class
11053 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11055 * text2.C (setCounter): fixed enumeration mis-count as reported by
11056 Dr. Richard Hawkins.
11058 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11060 * paragraph_funcs.h: remove some unneeded includes
11062 * text.C (backspace): pasteParagraph now in global scipe
11064 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11065 (pasteSelection): ditto
11067 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11068 * paragraph_funcs.C (pasteParagraph): ... here
11070 2002-08-20 André Pönitz <poenitz@gmx.net>
11072 * commandtags.h: new LFUNs for swapping/copying table row/colums
11075 * lyxfunc.C: support for new lfuns
11077 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11080 * buffer.[Ch]: remove NO_COMPABILITY stuff
11082 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11084 * boost.C (throw_exception): new file, with helper function for
11085 boost compiled without exceptions.
11090 * ParameterStruct.h:
11091 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11093 * bufferlist.C (emergencyWriteAll): use boost bind
11095 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11097 * text.C: include paragraph_funcs.h
11098 (breakParagraph): breakParagraph is now in global scope
11100 * paragraph_funcs.[Ch]: new files
11102 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11105 * buffer.C: include paragraph_funcs.h
11106 (insertStringAsLines): breakParagraph is now in global scope
11108 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11111 * CutAndPaste.C: include paragraph_funcs.h
11112 (cutSelection): breakParagraphConservative is now in global scope
11113 (pasteSelection): ditto
11115 * buffer.h: declare oprator== and operator!= for
11116 Buffer::inset_iterator
11118 * bufferlist.C (emergencyWrite): don't use fmt(...)
11120 * text3.C: add using std::endl
11122 * BufferView.C (moveCursorUpdate): remove default arg
11124 2002-08-20 André Pönitz <poenitz@gmx.net>
11126 * buffer.[Ch]: move inline functions to .C
11129 * BufferView_pimpl.C:
11131 * buffer.[Ch]: use improved inset_iterator
11134 * paragraph.[Ch]: write one paragraph at a time
11136 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11138 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11139 style if style is not specified.
11141 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11143 * text2.C (setCounter): when searching for right label for a
11144 caption, make sure to recurse to parent insets (so that a caption
11145 in a minipage in a figure float works) (bug #568)
11147 2002-08-20 André Pönitz <poenitz@gmx.net>
11149 * text3.C: new file for LyXText::dispatch() and helpers
11151 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11153 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11155 2002-08-19 André Pönitz <poenitz@gmx.net>
11158 * text.C: new LyXText::dispatch()
11160 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11162 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11164 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11166 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11169 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11171 * Makefile.am: use $(variables) instead of @substitutions@
11173 2002-08-15 André Pönitz <poenitz@gmx.net>
11176 * BufferView_pimpl.C: streamlining mathed <-> outer world
11180 * LyXAction.C: remove unused LFUN_MATH
11182 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11184 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11186 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11188 * paragraph.C (Paragraph): reformat a bit
11189 (cutIntoMinibuffer): use builtin InsetList function instad of
11193 * buffer.C: include boost/bind.hpp, add using std::for_each
11194 (writeFileAscii): use ParagraphList iterators
11195 (validate): use for_each for validate traversal of paragraphs
11196 (getBibkeyList): use ParagraphList iterators
11197 (resizeInsets): use for_each to resizeInsetsLyXText for all
11199 (getParFromID): use ParagraphList iterators
11201 * BufferView2.C (lockInset): use paragraph list and iterators
11203 2002-08-14 John Levon <levon@movementarian.org>
11205 * lyxserver.C: remove spurious xforms include
11207 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11209 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11211 2002-08-13 André Pönitz <poenitz@gmx.net>
11214 * lyxfunc.C: further cleaning
11216 2002-08-13 André Pönitz <poenitz@gmx.net>
11218 * funcrequest.h: new constructor
11220 * funcrequest.C: move stuff here from .h
11223 * BufferView_pimpl.C:
11226 * lyxfunc.C: subsequent changes
11228 * lyxfunc.h: new view() member function
11230 * lyxfunc.C: subsequent changes
11232 2002-08-13 Angus Leeming <leeming@lyx.org>
11235 * BufferView_pimpl.C:
11243 changes due to the changed LyXView interface that now returns references
11244 to member variables not pointers.
11246 2002-08-13 Angus Leeming <leeming@lyx.org>
11248 * WordLangTuple (word, lang_code): return references to strings,
11253 * lyxtext.h: forward-declare WordLangTuple.
11258 * text.C: #include "WordLangTuple.h".
11261 * text.C: (selectNextWordToSpellcheck): constify return type.
11263 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11269 * paragraph_pimpl.h:
11272 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11273 suggested by Angus.
11274 Made updateCounter always count from start of buffer, and removed
11275 second argument (par).
11276 Reverted floats number display to '#'. Perhaps I'll try again when the
11277 code base is sanitized a bit.
11279 2002-08-12 Angus Leeming <leeming@lyx.org>
11281 * buffer.[Ch] (getLabelList): constify.
11283 2002-08-07 André Pönitz <poenitz@gmx.net>
11285 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11287 * funcrequest.h: extension to keep mouse (x,y) position
11289 2002-08-12 Juergen Vigna <jug@sad.it>
11291 * BufferView2.C (insertErrors): forbid undo when inserting error
11294 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11296 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11298 * ParagraphList.[Ch]: new files
11300 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11302 * BufferView2.C (lockInset): ParagraphList changes
11305 * bufferlist.C: ditto
11309 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11311 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11312 unused class variable counter_,
11314 * paragraph.[Ch] (getFirstCounter): delete unused function
11316 * counters.C: include LAssert.h
11317 (reset): add a new function with no arg, change other version to
11318 not have def. arg and to not allow empty arg.
11320 * text2.C (setCounter): remove empty arg from call to Counters::reset
11322 2002-08-11 John Levon <levon@movementarian.org>
11324 * Makefile.am: add WordLangTuple.h
11326 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11328 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11329 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11331 * insets/insettext.C: InsetList changes
11333 * graphics/GraphicsSupport.C (operator()): InsetList changes
11335 * toc.C (getTocList): InsetList changes
11337 * paragraph_pimpl.[Ch]: InsetList changes
11339 * paragraph.[Ch]: InsetList changes
11341 * buffer.C (inset_iterator): InsetList changes
11342 (setParagraph): ditto
11343 * buffer.h (inset_iterator): ditto
11344 * iterators.C (operator++): ditto
11345 * iterators.h: ditto
11347 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11349 * InsetList.[Ch]: new files, most InsetList handling moved out of
11352 * BufferView2.C (removeAutoInsets): InsetList changes
11354 (ChangeInsets): ditto
11356 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11358 * paragraph_pimpl.h (empty): new function
11360 * paragraph.[Ch] (empty): new function
11362 * other files: use the new Paragraph::empty function
11364 2002-08-09 John Levon <levon@movementarian.org>
11366 * lyxtext.h: remove unused refresh_height
11368 2002-08-09 John Levon <levon@movementarian.org>
11375 * paragraph.C: move sgml char escaping out of paragraph
11378 * paragraph.C: remove id setter
11382 * paragraph_pimpl.C: remove dead tex_code_break_column
11384 * bufferview_funcs.C: small cleanup
11386 * lyxfunc.C: remove dead proto
11388 * lyxtext.h: make some stuff private. Remove some dead stuff.
11390 * lyxgluelength.C: make as[LyX]String() readable
11392 2002-08-08 John Levon <levon@movementarian.org>
11397 * ToolbarDefaults.C:
11400 * toc.C: lyxaction cleanup
11402 2002-08-08 John Levon <levon@movementarian.org>
11404 * BufferView2.C: small cleanup
11407 * lyxfind.C: move unnecessary header into the .C
11409 2002-08-08 John Levon <levon@movementarian.org>
11411 * funcrequest.h: just tedious nonsense
11414 * lyx_main.C: cleanups
11417 * vspace.C: remove dead header lyx_main.h
11419 2002-08-07 Angus Leeming <leeming@lyx.org>
11422 * paragraph_pimpl.h:
11423 Forward declare class Counters in paragraph.h by moving the ctrs member
11424 variable into Paragraph::Pimpl.
11425 (counters): new method, returning a reference to pimpl_->ctrs.
11427 * text2.C: ensuing changes.
11429 2002-08-07 John Levon <levon@movementarian.org>
11431 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11433 * BufferView_pimpl.C: announce X selection on double/triple
11436 * lyx_main.C: use correct bool in batch dispatch
11438 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11440 2002-08-07 André Pönitz <poenitz@gmx.net>
11442 * funcrequest.h: new class to wrap a kb_action and its argument
11445 * BufferView_pimpl[Ch]:
11449 * lyxrc.C: subsequent changes
11452 2002-08-07 John Levon <levon@movementarian.org>
11454 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11455 document options change.
11457 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11462 * makefile.am: move counters functionality over from
11463 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11465 2002-08-06 John Levon <levon@movementarian.org>
11467 * WordLangTuple.h: new file for word + language code tuple
11478 * BufferView2.C: use WordLangTuple
11481 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11483 2002-08-06 John Levon <levon@movementarian.org>
11485 * lyx_main.C: fix cmdline batch handling
11487 2002-08-06 André Pönitz <poenitz@gmx.net>
11489 * lyxrc.C: set default for show_banner to true
11491 2002-08-06 John Levon <levon@movementarian.org>
11493 * pspell.C: fix a crash, and allow new aspell to work
11495 2002-08-06 John Levon <levon@movementarian.org>
11498 * kbmap.C: small cleanup
11501 * vspace.C: add const
11503 2002-08-05 John Levon <levon@movementarian.org>
11505 * LyXAction.C: back to tabular-insert
11507 2002-08-04 John Levon <levon@movementarian.org>
11510 * BufferView.C: cosmetic change
11512 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11522 * BufferView2.C: purge all "Lyx" not "LyX" strings
11525 * lyxcursor.C: attempt to add some documentation
11530 * ToolbarDefaults.C:
11531 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11532 merge with LFUN_TABULAR_INSERT
11539 * pspell.C: split up i/pspell implementations into separate
11540 files, many cleanups
11542 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11544 * text2.C: some cleanup
11546 * lyxfunc.C: don't check for isp_command == "none" any more, it
11547 didn't make any sense
11549 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11554 * makefile.am: move counters functionality over
11555 from text2.C/paragraph.[Ch] to counters.[Ch], and
11557 2002-08-02 John Levon <levon@movementarian.org>
11559 * buffer.C: s/lyxconvert/lyx2lyx/
11561 2002-08-02 Angus Leeming <leeming@lyx.org>
11563 * lyxlex.C: revert John's change as it breaks reading of the user
11566 2002-08-02 Angus Leeming <leeming@lyx.org>
11568 * importer.C (Import):
11569 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11570 changes due to LyXView::view() now returning a boost::shared_ptr.
11572 2002-08-02 John Levon <levon@movementarian.org>
11574 * lyxlex.C: small cleanup
11576 2002-08-02 John Levon <levon@movementarian.org>
11578 * text2.C (status): small cleanup, no logic change
11580 2002-08-01 John Levon <levon@movementarian.org>
11583 * buffer.C (writeFile): don't output alerts, caller
11587 * lyx_cb.C: from above
11589 * lyxfunc.C: allow to open non-existent files
11591 2002-07-31 John Levon <levon@movementarian.org>
11593 * lyxserver.C: don't let incidental errors get
11596 2002-07-30 John Levon <levon@movementarian.org>
11598 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11600 2002-07-30 John Levon <levon@movementarian.org>
11603 * lyxserver.C: remove I/O callback too
11605 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11607 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11610 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11612 * many files: strip,frontStrip -> trim,ltrim,rtrim
11614 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11616 * PrinterParams.h: remove extern containsOnly, and include
11617 support/lstrings.h instead.
11619 * LaTeX.C (scanAuxFile): modify because of strip changes
11621 * buffer.C (makeLaTeXFile): ditto
11622 * bufferparams.C (writeFile): ditt
11623 * lyxfont.C (stateText): ditto
11624 * lyxserver.C (read_ready): ditto
11625 * vc-backend.C (scanMaster): ditto
11627 * BufferView_pimpl.h: ws changes
11629 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11631 2002-07-26 André Pönitz <poenitz@gmx.net>
11633 * kb_sequence.C: remove unnedred usings
11635 2002-07-26 Juergen Vigna <jug@sad.it>
11637 * lyxfind.C (LyXReplace): we have to check better if the returned
11638 text is not of theLockingInset()->getLockingInset().
11640 2002-07-25 Juergen Vigna <jug@sad.it>
11642 * lyxfind.C (LyXReplace): don't replace if we don't get the
11645 * undo_funcs.C (createUndo): remove debugging code.
11647 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11649 * buffer.C (parseSingleLyXformat2Token): Use default placement
11650 when reading old floats.
11652 * FloatList.C (FloatList): Change the default placement of figure
11653 and tables to "tbp".
11655 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11657 * MenuBackend.C: using std::max
11659 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11661 * MenuBackend.C (expandToc):
11662 (expandToc2): code moved from xforms menu frontend. It is now
11663 generic and TOCs are transparent to menu frontends.
11665 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11667 * toc.C (getTocList): protect against buf=0
11669 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11670 Menu as first parameter. Now, this calls itself recursively to
11671 expand a whole tree (this will be useful for TOC handling)
11672 (expandFloatInsert): remove 'wide' version of floats
11674 * MenuBackend.h (submenuname): returns the name of the submenu.
11675 (submenu): returns the submenu itself, provided it has been
11676 created by MenuBackend::expand
11678 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11680 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11681 insets which have noFontChange == true. (bug #172)
11683 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11685 * BufferView_pimpl.C: add connection objects and use them...
11688 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11690 * MenuBackend.C (expandLastfiles):
11693 (expandFloatListInsert):
11694 (expandFloatInsert):
11695 (expand): split expand in parts
11697 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11699 * lyx_gui.C: use lyx_gui::exit()
11701 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11703 * LyXAction.C: show the failing pseudo action
11705 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11707 * buffer.C (readFile): Run the lyxconvert script in order to read
11710 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11714 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11716 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11720 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11722 2002-07-22 Herbert Voss <voss@lyx.org>
11725 * lyxlength.[Ch]: add support for the vertical lengths
11727 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11729 * toc.[Ch]: std:: fixes
11731 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11733 * lyxrc.C: do not include lyx_main.h
11735 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11741 * BufferView2.C: include "lyxlex.h"
11744 * bufferparams.h: do not #include "lyxlex.h"
11746 * lyxtextclasslist.C (Add): remove method
11747 (classlist): renamed to classlist_
11749 * paragraph_pimpl.C:
11753 * bufferview_funcs.C:
11758 * toc.C (getTocList): use BufferParams::getLyXTextClass
11760 * toc.C (getTocList): use InsetFloat::addToToc
11762 * toc.[Ch]: new files, containing helper functions to handle table
11765 * lyxfunc.C (dispatch): no need to remove spaces around command
11767 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11768 first command of the sequence; it is not very clever, but I do not
11769 have a better idea, actually
11771 * LyXAction.C (LookupFunc): make sure to remove space at the
11772 beginning and end of the command
11774 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11776 * MenuBackend.C (getMenubar): new method: return the menubar of
11778 (read): treat differently reading of menu and menubar (in
11779 particular, the menubar has no name now)
11780 (Menu::menubar): remove
11782 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11785 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11787 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11788 a bibitem inset in a RTL paragraph.
11790 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11792 * paragraph_pimpl.C: constify
11794 * BufferView_pimpl.C:
11796 * lyxfunc.C: fix dispatch in a nicer way
11798 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11800 * lyxfunc.C (dispatch):
11801 * BufferView_pimpl.C:
11802 * BufferView_pimpl.h:
11804 * BufferView.h: rename Dispatch() to dispatch()
11806 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11808 * lyxlayout.C (Read): honor DependsOn tag
11810 * lyxlayout.[Ch] (depends_on): new method
11812 * version.C.in: update lyx_docversion
11814 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11816 * paragraph.C (validate): remove from here...
11817 * paragraph_pimpl.C (validate): ... and move here
11818 (isTextAt): make it const
11820 * buffer.C (getLists): ws cleanup
11822 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11824 * language.C (read): Use iso8859-1 encoding in latex_lang
11825 (this prevents LyX from crashing when using iso10646-1 encoding).
11827 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11829 * text2.C (toggleInset): if cursor is inside an inset, close the
11830 inset and leave cursor _after_ it
11832 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11834 * lyxfunc.C: move minibuffer completion handling out of here
11836 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11838 * BufferView_pimpl.C:
11839 * LaTeX.C: fix dispatch calls
11841 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11843 * text.C (drawChars): Fix Arabic text rendering.
11845 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11849 * lyxfunc.C: remove message-push/pop
11853 * lyxfunc.C: rationalise some code by removing verboseDispatch
11854 in favour of a bool argument to dispatch()
11856 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11858 * lyx_main.C (init): make sure to read symlinks as absolute paths
11860 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11863 * lyxfunc.C: no need for commandshortcut to be a member
11865 2002-07-15 André Pönitz <poenitz@gmx.net>
11867 * converter.C: add support for $$s (scripts from lib/scripts dir)
11868 * lyx_main.C: white space
11870 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11874 * lyxrc.C: remove second exit confirmation
11876 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11881 * BufferView_pimpl.h:
11882 * BufferView_pimpl.C:
11883 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11885 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11887 * MenuBackend.C (expand): add numeric shortcuts to document menu
11889 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11891 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11893 * lyxfont.C (setLyXFamily):
11900 * buffer.C (asciiParagraph): use ascii_lowercase
11902 2002-07-15 Mike Fabian <mfabian@suse.de>
11904 * lyxlex_pimpl.C (search_kw):
11905 * lyxlex.C (getLongString):
11906 * converter.h (operator<):
11907 * converter.C (operator<):
11908 * buffer.C (parseSingleLyXformat2Token):
11910 * ToolbarDefaults.C (read):
11911 * MenuBackend.C (checkShortcuts):
11913 * LColor.C (getFromGUIName):
11914 (getFromLyXName): use the compare_ascii_no_case instead of
11915 compare_no_case, because in turkish, 'i' is not the lowercase
11916 version of 'I', and thus turkish locale breaks parsing of tags.
11918 2002-07-16 Angus Leeming <leeming@lyx.org>
11920 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11921 now takes a Buffer const & argument.
11923 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11925 * BufferView.C (resize): check there's a buffer to resize
11927 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11929 * lyxfunc.C: remove dead code
11932 * lyxserver.C: use lyx_guii::set_read_callback
11934 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11936 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11937 an inset in a RTL paragraph.
11939 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11941 * lyxfunc.C: repaint after a font size update
11943 2002-07-15 André Pönitz <poenitz@gmx.net>
11945 * lyxlength.C: inBP should be able to return negative values
11947 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11949 * lyxfunc.C: use lyx_gui::update_fonts()
11951 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11953 * lyxfunc.C: use lyx_gui::update_color()
11955 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11961 * lyxrc.C: remove file->new asks for name option, and let
11962 buffer-new take an argument
11964 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11966 * BufferView_pimpl.C: remove unneeded extra repaint()
11968 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11970 * LyXAction.C: allow command-sequence with NoBuffer
11972 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11974 2002-07-10 Angus Leeming <leeming@lyx.org>
11976 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11978 2002-07-09 Angus Leeming <leeming@lyx.org>
11980 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11982 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11984 * lengthcommon.h: whitespace
11986 * lyxfunc.C: update scrollbar after goto paragraph
11988 * lyxtext.h: factor out page break drawing, and fix it so
11989 page break/added space paints as selected nicely
11991 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11993 * BufferView_pimpl.C: add FIXMEs, clean up a little
11995 2002-07-09 André Pönitz <poenitz@gmx.net>
11997 * lyxfont.[Ch]: support for wasy symbols
11999 2002-07-08 André Pönitz <poenitz@gmx.net>
12001 * BufferView_pimpl.C: apply John's patch for #93.
12003 2002-07-05 Angus Leeming <leeming@lyx.org>
12005 * BufferView_pimpl.C (buffer): generate previews if desired.
12007 * LColor.h: add "preview" to the color enum.
12009 * LColor.C (LColor): add a corresponding entry to the items array.
12011 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12014 2002-07-05 Angus Leeming <leeming@lyx.org>
12016 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12017 The body of the code is now in the method that is passed an ostream &
12018 rather than a file name.
12019 Pass an additional only_preamble parameter, useful for the forthcoming
12022 2002-07-03 André Pönitz <poenitz@gmx.net>
12024 * lyxfunc.C: simplify getStatus() a bit for math stuff
12026 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12028 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12030 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12032 * text.C (changeRegionCase): do not change case of all the
12033 document when region ends at paragraph end (bug #461)
12035 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12037 * paragraph.C (startTeXParParams):
12038 (endTeXParParams): add \protect when necessary
12040 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12042 * BufferView_pimpl.C (workAreaExpose): remove warning
12044 2002-06-27 Angus Leeming <leeming@lyx.org>
12046 * Makefile.am: add lyxlayout_ptr_fwd.h.
12048 2002-06-26 André Pönitz <poenitz@gmx.net>
12050 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12052 2002-06-25 Angus Leeming <leeming@lyx.org>
12054 * lyxfunc.C (dispatch): Comment out the call to
12055 grfx::GCache::changeDisplay. The method no longer exists now that the
12056 pixmap generation part of the graphics loader has been moved into
12059 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12061 * text2.C: layout as layout
12063 * text.C: layout as layout
12065 * tabular.C (OldFormatRead): layout as layout
12067 * paragraph_pimpl.C (TeXDeeper): layout as layout
12068 (realizeFont): layout as layout
12070 * paragraph.C (writeFile): layout as layout
12071 (validate): layout as layout
12072 (getFont): layout as layout
12073 (getLabelFont): layout as layout
12074 (getLayoutFont): layout as layout
12075 (breakParagraph): layout as layout
12076 (stripLeadingSpaces): layout as layout
12077 (getEndLabel): layout as layout
12078 (getMaxDepthAfter): layout as layout
12079 (applyLayout): layout as layout
12080 (TeXOnePar): layout as layout
12081 (simpleTeXOnePar): layout as layout
12082 (TeXEnvironment): layout as layout
12083 (layout): layout as layout
12084 (layout): layout as layout
12086 * lyxtextclass.C (compare_name): new functor to work with
12087 shared_ptr, layout as layout
12088 (Read): layout as layout
12089 (hasLayout): layout as layout
12090 (operator): layout as layout
12091 (delete_layout): layout as layout
12092 (defaultLayout): layout as layout
12094 * lyxlayout_ptr_fwd.h: new file
12096 * lyxlayout.C (Read): layout as layout
12098 * lyx_cb.C (MenuInsertLabel): layout as layout
12100 * bufferlist.C (newFile): layout as layout
12102 * buffer.C (readLyXformat2): layout as layout
12103 (parseSingleLyXformat2Token): layout as layout
12104 (insertStringAsLines): layout as layout
12105 (asciiParagraph): layout as layout
12106 (latexParagraphs): layout as layout
12107 (makeLinuxDocFile): layout as layout
12108 (simpleLinuxDocOnePar): layout as layout
12109 (makeDocBookFile): layout as layout
12110 (simpleDocBookOnePar): layout as layout
12111 (getLists): layout as layout
12113 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12115 * CutAndPaste.C (cutSelection): layout as layout
12116 (pasteSelection): layout as layout
12117 (SwitchLayoutsBetweenClasses): layout as layout
12119 * BufferView_pimpl.C (Dispatch): layout as layout
12120 (smartQuote): layout as layout
12122 * BufferView2.C (unlockInset): layout as layout
12124 2002-06-24 André Pönitz <poenitz@gmx.net>
12126 * lyxfunc.C: fix #487
12128 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12132 * lyxfunc.C: remove display_shortcuts, show_banner
12134 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12136 * Buffer_pimpl.C: oops, update on resize
12138 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12145 * BufferView.C: use repaint()
12147 * BufferView_pimpl.h:
12148 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12149 as it's a clearer description. Remove superfluous
12152 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12154 * text.C: fix bug 488. Not ideal, but getting
12155 getWord() to work properly for the insets that
12156 matter is more difficult ...
12158 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12160 * BufferView_pimpl.C:
12163 * lyxfunc.C: remove the six million index lyxfuncs to just
12164 one, and DTRT (bug 458)
12166 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12170 * BufferView_pimpl.h:
12171 * BufferView_pimpl.C: clean up resize() stuff,
12172 and unnecessary updateScreen()s
12174 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12178 * BufferView_pimpl.h:
12179 * BufferView_pimpl.C:
12182 * minibuffer.C: remove focus management of workarea,
12183 not needed. Use screen's greyOut()
12185 2002-06-17 Herbert Voss <voss@lyx.org>
12187 * converter.C: (convert) do not post a message, when converting
12188 fails, let the calling function decide what to do in this case
12190 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12192 * lyxfunc.C: tidy up a little
12194 2002-06-16 <alstrup@diku.dk>
12196 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12197 Got rid of FORMS_H_LOCATION include. Now we are
12200 2002-06-15 LyX Development team <lyx@rilke>
12202 * buffer.[Ch] (sgmlOpenTag):
12203 (sgmlCloseTag): Added support for avoiding pernicious mixed
12204 content. Return number of lines written.
12206 (makeLinuxDocFile):
12207 (makeDocBookFile): Fixed calls to sgml*Tag.
12208 Simple white space clean.
12210 (simpleDocBookOnePar): Simple white space clean.
12212 * tabular.[Ch] (docBook): Renamed to docbook and got another
12213 argument to related with the pernicious mixed content.
12215 (docbookRow): Fixed calls for docbook inset method.
12217 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12219 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12220 so it's X11 independent.
12224 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12226 2002-06-15 Lyx Development team <lyx@electronia>
12228 * intl.h: Renamed getTrans to getTransManager.
12230 2002-06-14 Angus Leeming <leeming@lyx.org>
12232 * Makefile.am: nuke forgotten stl_string_fwd.h.
12234 2002-06-12 Angus Leeming <leeming@lyx.org>
12236 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12238 2002-06-13 Angus Leeming <leeming@lyx.org>
12241 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12243 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12245 * kbmap.C (getiso): add support for cyrillic and greek
12247 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12251 * BufferView_pimpl.h:
12252 * BufferView_pimpl.C: move bogus scrolling logic
12255 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12258 * BufferView_pimpl.C: view->resize() change
12260 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12262 * BufferView_pimpl.C: topCursorVisible
12265 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12269 * lyx_gui.C: move to frontends/
12273 * lyx_main.C: changes from above
12275 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12282 * lyx_main.C: minor tidy
12284 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12286 * BufferView_pimpl.h:
12287 * BufferView_pimpl.C:
12289 * BufferView.C: make painter() const,
12292 * BufferView2.C: use screen() accessor
12295 * lyx_main.C: some minor cleanup
12297 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12299 * BufferView_pimpl.h:
12300 * BufferView_pimpl.C: remove enter/leaveView,
12303 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12308 * BufferView_pimpl.h:
12309 * BufferView_pimpl.C: only construct screen once,
12312 * lyxrc.C: remove pointless comment
12314 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12317 * BufferView.C: remove active() and belowMouse()
12319 * BufferView_pimpl.h:
12320 * BufferView_pimpl.C: use workarea() not workarea_,
12321 and make it use a scoped_ptr instead
12323 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12325 * lyx_gui.C: add debug message on BadWindow
12327 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12329 * sp_spell.C: fdopen is not part of the C++ standard.
12331 * paragraph.C (InsetIterator): use >= instead of ==
12333 2002-06-07 Angus Leeming <leeming@lyx.org>
12335 Fixes needed to compile with Compaq cxx 6.5.
12336 * BufferView_pimpl.C:
12343 * lyxtextclasslist.C:
12348 all c-library variables have been moved into namespace std. Wrap
12349 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12354 Add a using std::abs declaration.
12356 * kbmap.h (modifier_pair):
12357 * paragraph.h (InsetTable, InsetList):
12358 * lyxfont.h (FontBits):
12359 type definition made public.
12361 * bufferlist.C (emergencyWriteAll): the compiler complains that
12362 there is more than one possible lyx::class_fun template to choose from.
12363 I re-named the void specialisation as lyx::void_class_fun.
12365 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12367 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12368 the compiler is is unable to find tostr in write_attribute.
12370 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12372 * buffer.C (sgmlError): hide #warning
12374 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12376 * xtl/*: get rid of xtl, which is not in use anyway
12378 * LyXAction.C (init):
12379 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12380 were unimplemented xtl experimentation
12382 2002-06-04 André Pönitz <poenitz@gmx.net>
12384 * lyxfunc.C: disable array operation on simple formulae
12386 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12388 * converter.C: constify a bit
12390 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12392 * lyx_gui.C: check xforms version correctly
12394 2002-04-30 Herbert Voss <voss@lyx.org>
12396 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12399 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12401 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12402 attempt to register it with a VCS)
12404 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12406 * lyx_main.C (init): honor variables LYX_DIR_13x and
12409 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12413 * lyx_main.C: fix a crash on bad command line,
12414 and give a useful exit status on error
12416 * lyxfunc.C (doImport): allow -i lyx to work
12418 2002-03-30 André Pönitz <poenitz@gmx.net>
12420 * lyxfunc.C: mathed font changes
12422 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12437 * trans_mgr.h: srcdocs, and some minor cleanups
12439 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12441 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12442 call getFont all the time)
12444 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12446 * switch from SigC signals to boost::signals
12448 2002-05-29 André Pönitz <poenitz@gmx.net>
12450 * paragraph_pimpl.C (getChar): don't call size() too often...
12452 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12454 * paragraph_pimpl.C (insertChar): do not try to update tables when
12455 appending (pos == size())
12457 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12458 in order to reduce drastically the number of comparisons needed to
12459 parse a large document
12461 2002-05-29 André Pönitz <poenitz@gmx.net>
12467 * textclasslist.[Ch]:
12468 * sp_ispell.h: whitespace change
12470 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12472 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12473 lyxaction directly now.
12475 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12479 * lyxvc.C: remove unused headers
12481 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12488 * undo_funcs.C: some cleanups. Use shared_ptr
12489 and a template for the undo stacks.
12491 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12493 * BufferView_pimpl.h:
12494 * BufferView_pimpl.C:
12501 * text2.C: use key_state/mouse_state
12503 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12505 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12508 * chset.C: change include order
12509 (loadFile): use boost regex and get rid of LRegex and LSubstring
12511 * Makefile.am (BOOST_LIBS): new variable
12512 (lyx_LDADD): use it
12514 * LaTeX.C: change include order.
12515 (scanAuxFile): use boost regex and get rid of LRegex and
12519 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12524 * FontInfo.C: moved to frontends/xforms/
12527 * FontLoader.C: moved into frontends for GUIIzation
12532 * lyxfunc.C: changes from above
12534 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12536 * LColor.C: remove spurious X include
12538 * BufferView_pimpl.C:
12543 * text2.C: move font metrics to frontends/
12545 2002-05-24 Juergen Vigna <jug@sad.it>
12547 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12548 setting the undo_cursor.
12550 * ParagraphParameters.h: include local includes first.
12552 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12554 * BufferView_pimpl.C:
12555 * BufferView_pimpl.h:
12559 * screen.C: move WorkArea into frontends/
12565 * BufferView2.C: move LyXScreen into frontends/
12569 * lyx_gui.C: move lyxlookup into frontends/xforms/
12571 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12574 * BufferView_pimpl.C:
12584 * bufferview_funcs.C:
12597 * vc-backend.C: move LyX/XFormsView into frontends/
12599 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12611 * text2.C: move Painter to frontends/
12613 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12615 * buffer.C: comment out some some code that depend upon lyx_format
12618 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12619 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12621 * buffer.h (NO_COMPABILITY): turn off compability
12623 * ColorHandler.C: include scoped_array.hpp
12625 * font.C: Use more specific smart_ptr header.
12628 * ShareContainer.h: ditto
12629 * lyx_main.h: ditto
12631 * FontInfo.h: ditto
12632 * BufferView_pimpl.h: ditto
12633 * ColorHandler.h: ditto
12635 * kbmap.C (defkey): change call to shared_ptr::reset
12637 2002-05-21 Juergen Vigna <jug@sad.it>
12639 * buffer.C (insertErtContents): fix to insert ert asis if it is
12640 non empty. Skip it completely if it contains only whitespaces.
12642 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12644 * BufferView_pimpl.C:
12645 * BufferView2.C: clear selection on paste (bug 393)
12647 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12649 * DepTable.C: include ctime
12651 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12653 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12655 2002-05-14 Juergen Vigna <jug@sad.it>
12657 * text.C (breakParagraph): fixed function to honor the keepempty
12658 layout in the right maner and also to permit the right breaking
12659 algorithm on empty or non empyt keepempty paragraphs.
12661 * paragraph.C (breakParagraph): we have to check also if the par
12662 is really empty (!size()) for isempty otherwise we do the wrong
12665 2002-05-10 Juergen Vigna <jug@sad.it>
12667 * buffer.[Ch] : The following are only changes to the ert
12668 compatibility read reading old LaTeX layout and font stuff and
12669 convert it to ERTInsets.
12671 * buffer.h: added isErtInset().
12673 * buffer.C (struct ErtComp): add a fromlayout bool to check
12674 if we're inside a LaTeX layout.
12675 (isErtInset): new helper function.
12676 (insertErtContents): look for other ert insets before this one
12677 and insert the contents there, so that we don't have subsequent
12678 ERT insets with nothing between them. This way we create only one
12679 inset with multiple paragraphs. Also check if we don't insert only
12680 spaces ' ' as they are ignored anyway afterwards in the .tex file
12681 so if we have only spaces we will ignore this latex part in the
12683 (parseSingleLyXformat2Token \\layout): better compatibility when
12684 reading layout-latex stuff.
12685 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12687 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12688 stuff after reading the inset only get the information back from
12691 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12693 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12695 * LaTeXFeatures.C (getBabelOptions): New method.
12697 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12699 * BufferView_pimpl.C (Dispatch): work around missing argument for
12702 2002-05-08 Juergen Vigna <jug@sad.it>
12704 * text.C (leftMargin): handle paragraph leftindent.
12706 * paragraph.C (writeFile): write the new \\leftindent tag.
12707 (validate): handle leftindent code.
12708 (TeXEnvironment): handle paragraphleftindent code again.
12710 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12712 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12713 for paragrap_extra indent code and new token \\leftindent.
12714 (latexParagraphs): handle the leftindent as environment.
12716 * ParameterStruct.h: added leftindent support.
12718 * ParagraphParameters.C (leftIndent): added support functions for
12719 the paragraph left indent.
12721 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12724 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12726 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12729 * text.C (computeBidiTables): No bidi in insetERT.
12731 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12734 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12736 * version.C.in: pre 5
12738 2002-05-02 José Matos <jamatos@fep.up.pt>
12739 * buffer.C (makeDocBookFile): white space changes, add newline to
12741 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12743 * tabular.C (docBook): fix typo.
12745 2002-05-03 Juergen Vigna <jug@sad.it>
12747 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12748 change in LyXText as we can not be sure it was not freed.
12749 (drawOneRow): remove unused code.
12751 * text.C (drawInset): redo the calculation of the need_break_row as
12752 it could have a row which was already freed.
12753 (draw): look at the return value of drawInset and return false if
12754 it also returned false.
12755 (paintRowText): look at the return value of draw and return false if
12756 it also returned false.
12758 * lyxtext.h: added bool return type to drawInset() and draw() so that
12759 if we have a change in the row so that the rowbreak has to be redone
12760 we abort drawing as it will be called again.
12762 2002-05-02 Juergen Vigna <jug@sad.it>
12764 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12765 a change in the maintext also if we're inside an inset.
12766 (Dispatch): set the cursor again after a break line and after the
12767 screen has been updated as it could be we're in a different row.
12769 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12770 to set the cursor behind the pargraph with > size().
12771 (setCursor): check also for the same paragraph when checking where
12772 to put the cursor if we have a NFR inset.
12774 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12775 parts of layout read further up as it still was in the wrong
12778 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12780 * screen.C (drawFromTo): change sine fullRebreak always return
12783 * buffer.C (parseSingleLyXformat2Token): reindent some
12785 * BufferView_pimpl.C (update): change since fullRebreak always
12787 (Dispatch): git rid of the last hardcoded "Standard"s.
12789 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12791 * text2.[Ch] (fullRebreak): make it return void now that we always
12794 2002-04-30 Juergen Vigna <jug@sad.it>
12796 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12797 ert compatibility check for "latex" layout.
12799 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12801 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12802 minipages: use col% instead of p%, and also use the current font.
12803 (makeLaTeXFile): Fix use babel condition.
12804 (parseSingleLyXformat2Token): Correct font when reading old floats.
12806 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12808 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12809 inserting list of floats.
12811 2002-04-25 Herbert Voss <voss@lyx.org>
12813 * MenuBackend.C (expand): don't add the graphics extensions to the
12816 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12818 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12819 non-existing layout, do not complain if it was the default layout
12820 of the original class (bug #342)
12822 2002-04-24 Juergen Vigna <jug@sad.it>
12824 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12825 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12827 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12829 * buffer.C (getBibkeyList): If using \bibliography, return the
12830 option field with the reference itself. Enables us to provide natbib
12831 support when using \bibliography.
12833 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12835 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12837 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12838 natbib is provided by the LaTeX class.
12840 2002-04-23 Juergen Vigna <jug@sad.it>
12842 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12845 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12847 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12849 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12851 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12852 ensuremath around textordmasculine, textordfeminine and
12855 2002-04-19 Juergen Vigna <jug@sad.it>
12857 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12858 reinitializing the buffer otherwise row-dimensions may be wrong.
12859 (update): reset also the selection cursors if they do exits otherwise
12860 their x/y positions may be wrong.
12862 * text2.C (cursorDown): don't enter the inset if we came from a row
12863 above and are one row over the inset.
12865 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12866 really leaving an inset.
12868 2002-04-18 Juergen Vigna <jug@sad.it>
12870 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12871 of the selected paragraph does not have the selected layout also if
12874 * text2.C (setLayout): fixed bug which did not change last selected
12877 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12878 changed the read and substituted \\end_float with \\end_inset!
12880 * BufferView_pimpl.C (cursorPrevious):
12881 (cursorNext): fixed to make it work with rows heigher than the work
12882 area without moving the cursor only the draw of the row.
12883 (workAreaMotionNotify): fix jumping over high rows.
12885 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12887 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12890 2002-04-16 Juergen Vigna <jug@sad.it>
12892 * text2.C (setCursor): set also the irow().
12893 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12895 (cursorDown): support for locking an inset if the x_fix value goes
12896 inside it. That way I can transverse insets too with cursor up/down.
12898 * lyxrow.h: added irow helper function same as other (i) functions.
12900 * BufferView_pimpl.C (cursorPrevious):
12901 (cursorNext): fixed for insets!
12903 2002-04-15 Juergen Vigna <jug@sad.it>
12905 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12906 position otherwise it is wrong in some cases.
12908 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12909 inside the inset before the call.
12911 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12913 * buffer.[Ch] (getBibkeyList): make it const.
12915 2002-04-12 Juergen Vigna <jug@sad.it>
12917 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12919 * text2.C (getCursorX): new helper function
12920 (setCursor): compute also ix_
12921 (setCursorFromCoordinates): set also ix.
12923 * lyxcursor.h: added ix_ and helper functions.
12925 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12927 * buffer.C (insertStringAsLines): dont break paragraph if the this
12928 paragraph is inside an inset which does not permit it!
12930 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12931 also with no chars on this paragraph.
12932 (paintRowText): only paint stuff if it's inside the workarea!
12934 * paragraph.C (breakParagraph): honor keepempty flag and break the
12935 paragraph always below not above.
12937 * BufferView2.C (unlockInset): update the paragraph layout on inset
12938 unlock as we changed paragraph in such a case.
12940 * lyxfind.C (LyXFind): clear the former selection if not found!
12942 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12943 again called in insertChar().
12945 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12946 an inset which uses the whole row!
12947 (rightMargin): ditto.
12948 (insertChar): force a rebreak if we inserted an inset!
12950 2002-03-28 Herbert Voss <voss@lyx.org>
12952 * lyxlength.[Ch]: add inBP() to get the right PS-point
12953 units (BigPoint). With inPixels we have rounding errors
12955 2002-04-11 Juergen Vigna <jug@sad.it>
12957 * text2.C (setCursorFromCoordinates): set iy to the right value.
12958 (setCursor): add check if row->previous exists!
12960 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12961 an old float_type as this was the case in the old code!
12963 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12965 * BufferView2.C (showLockedInsetCursor): use iy
12966 (fitLockedInsetCursor): ditto
12968 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12969 locked insets as there we have the right value now.
12971 * lyxcursor.C: added iy_ variable and iy functions to set to the
12972 baseline of cursor-y of the locked inset.
12974 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12975 (setCursor): fixed for insets which need a full row.
12977 * text.C (rowLastPrintable): don't ignore the last space when before
12978 an inset which needs a full row.
12979 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12980 as last character of a row when before a inset which needs a full row.
12982 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12984 * version.C.in: update date
12986 * text2.C (fullRebreak): try to always return true and see what
12989 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12991 * MenuBackend.C (expand): use Floating::listName
12993 * FloatList.C (FloatList): add listName argument to the built-in
12996 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12997 text associated with the float.
12999 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13001 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13003 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13005 * ShareContainer.h: add a couple of missing typenames.
13007 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13009 * lyxrc.C (getDescription): use _() correctly rather than N_().
13011 2002-03-28 Herbert Voss <voss@lyx.org>
13013 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13014 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13016 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13018 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13019 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13021 2002-03-29 Juergen Vigna <jug@sad.it>
13023 * lyxfunc.C (dispatch): add a missing fitCursor call.
13025 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13026 it was scrolled by a cursor move, so return the bool status.
13028 * BufferView.C (fitCursor): return the bool flag also to the outside
13029 world as this is needed.
13031 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13033 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13034 call the edit() as it is not needed (and wrong) IMO.
13035 (workAreaButtonPress): set the screen_first variable before evt.
13036 unlock the inset as this may change screen_first and then we have
13037 a wrong y position for the click!
13039 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13041 * MenuBackend.C (expand): another translation that I missed
13043 2002-03-28 Juergen Vigna <jug@sad.it>
13045 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13047 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13049 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13051 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13053 * MenuBackend.C (expand): fix export/view/update when there is no
13056 2002-03-27 Herbert Voss <voss@lyx.org>
13058 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13061 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13063 * bufferview_funcs.C (currentState): only show paragraph number
13064 for is DEVEL_VERSION is set.
13066 * lyxfunc.C (dispatch): put warning in INFO channel
13068 * MenuBackend.C (expand): translate the name of floats
13070 * FloatList.C (FloatList): mark the float names for translation
13072 * converter.C (convert): use LibScriptSearch
13074 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13076 * MenuBackend.C (defaults): fix default menu (we might as well get
13079 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13081 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13084 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13086 * lyxvc.C: reorder includes.
13088 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13090 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13093 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13095 * CutAndPaste.C: change layouts earlier on paste
13096 to avoid crashing when calling getFont()
13098 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13100 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13103 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13105 * WorkArea.C: remove 'Pending' debug message.
13107 * most files: ws cleanup
13109 * buffer.[Ch]: ws changes
13111 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13113 2002-03-21 Juergen Vigna <jug@sad.it>
13115 * tabular.C (SetMultiColumn): collapse also the contents of the
13116 cells and set the last border right. Added a Buffer const * param.
13118 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13120 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13123 2002-03-19 Juergen Vigna <jug@sad.it>
13125 * text2.C (clearSelection): reset also xsel_cache.
13127 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13128 where it needs to be called (John tells us to do so too :)
13129 (selectionLost): reset sel_cache.
13131 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13133 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13135 * text2.C (setCursorIntern): put debuging code in INSETS channel
13137 2002-03-19 André Pönitz <poenitz@gmx.net>
13139 * lyxfunc.C: tiny whitespace change
13141 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13143 * ToolbarDefaults.C (init):
13144 * LyXAction.C (init):
13146 * BufferView_pimpl.C (Dispatch):
13147 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13149 2002-03-19 Allan Rae <rae@lyx.org>
13151 * exporter.C (Export): removeAutoInsets before doing anything else.
13152 While I've just introduced a dependency on BufferView this really is
13153 the best place to clean the buffer otherwise you need to cleanup in
13154 a dozen places before calling export or cleanup in a dozen functions
13157 * converter.C (runLaTeX):
13158 (scanLog): Better handling of removeAutoInsets and screen updates.
13160 * lyxfunc.C (dispatch): small whitespace changes
13162 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13164 * WorkArea.C (C_WorkAreaEvent): return a value.
13165 (event_cb): return 1 if we handled the event, 0 otherwise.
13167 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13169 2002-03-18 Juergen Vigna <jug@sad.it>
13171 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13172 (GetAdditionalWidth): ditto.
13173 (RightLine): ditto.
13176 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13177 inset if we're there actually (probably not used right now but this
13178 is the direction to go for unifying code).
13179 (paste): disable code to clear the selection.
13181 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13182 inside an InsetText and move the check further up as it is in the
13185 * text2.C (pasteSelection): set a selection over the pasted text.
13187 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13189 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13190 and libgraphics to build on Cygwin.
13192 2002-03-15 Juergen Vigna <jug@sad.it>
13194 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13195 inserting an Inset into the paragraph. I know this is not the best
13196 fix but we already use current_view in CutAndPaste so we will remove
13197 all of it's using at the same time.
13199 * buffer.C (sgmlError): deactivated function till it is rewritten in
13200 the right mode, now it can create problems.
13202 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13203 before accessing it.
13205 2002-03-14 Juergen Vigna <jug@sad.it>
13207 * undo_funcs.C (textHandleUndo): do the right thing when updating
13208 the inset after the undo/redo.
13210 * text2.C (setCursor): just some testcode for #44 not ready yet.
13212 * undo_funcs.C (textHandleUndo): set the next() and previous()
13213 pointers of the paragraph to 0 before deleting otherwise we have
13214 problems with the Paragraph::[destructor].
13216 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13217 on a paragraph insertion.
13219 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13221 * buffer.C (asciiParagraph): use += operator for char append to
13224 * paragraph.C (getFontSettings): compare >= not just >
13225 (highestFontInRange): ditto
13228 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13230 * paragraph.C: change several algorithm to be more appripriate for
13231 the problem domain. This is lookip in FontList and in the InsetList.
13233 2002-03-13 André Pönitz <poenitz@gmx.net>
13236 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13238 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13243 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13245 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13247 * Painter.C (display): anon helper function, adjust code for this
13249 (pixmap): remove function.
13251 * Painter.h: remove private display variable.
13253 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13255 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13257 * WorkArea.[Ch]: remove figinset_canvas cruft.
13259 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13261 * lyxtextclass.C (operator): add one item cache optimization.
13263 * bufferlist.h: doxy changes
13265 * bufferlist.C: ws changes
13267 * DepTable.[Ch] (ext_exist): place const in the right spot.
13269 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13271 (workAreaExpose): call resizeInsets when the with BufferView changes.
13272 (Dispatch): adjust for protectedBlank removal
13273 (specialChar): call updateInset if the insert went ok.
13275 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13276 specialChar instead.
13278 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13280 * BufferView.h: doxy change
13282 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13284 * lyxtextclass.C (operator[]): remove non-const version
13285 (defaultLayout): remove non-const version
13287 2002-03-12 Juergen Vigna <jug@sad.it>
13289 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13290 did resize the LyXText too.
13292 * buffer.C (readLyXformat2): set layout information on newly allocated
13295 * tabular.C (OldFormatRead): set layout information on the paragraph.
13297 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13299 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13301 2002-03-11 Juergen Vigna <jug@sad.it>
13303 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13305 (resizeCurrentBuffer): force also the insets to resize themselfes.
13306 (moveCursorUpdate): fixed up for InsetText.
13308 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13311 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13312 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13313 value of Dialogs::tooltipsEnabled().
13314 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13316 2002-03-08 Juergen Vigna <jug@sad.it>
13318 * BufferView_pimpl.C (updateInset): update inset inside inset also
13319 if it isn't inside theLockingInset().
13321 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13323 * buffer.C (asciiParagraph): redo some of the word and line length
13325 (getLists): look for Caption instead of caption.
13327 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13329 * buffer.C (Buffer): initialize niceFile to true
13331 (makeLinuxDocFile):
13332 (makeDocBookFile): make sure niceFile is true on exit
13334 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13336 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13338 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13340 * LyXSendto.C: remove.
13341 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13342 * lyx_gui.C: remove now-redundant comment.
13343 * ColorHandler.h: remove forward declaration of class WorkArea.
13344 * lyxfunc.C: remove #include "WorkArea.h".
13346 2002-03-07 Juergen Vigna <jug@sad.it>
13348 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13349 got moved away with the DEPM and also set the inset_owner always
13350 right which before could have been omitted.
13352 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13354 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13355 wanted layout is not found.
13357 2002-03-07 Juergen Vigna <jug@sad.it>
13359 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13361 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13363 * paragraph.C (breakParagraph): use default layout not layout of
13365 (Paragraph): clear ParagraphParameters.
13367 2002-03-06 Juergen Vigna <jug@sad.it>
13369 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13370 otherwise it would not be a valid lenght. Fixed a special case in
13371 the minipage compatibility read where we end the document with a
13374 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13375 was set as it could be 0 for InsetTexts first entry.
13377 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13379 * paragraph.C (writeFile): if layout is empty write out
13380 defaultLayoutName().
13382 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13383 file without named layout we set layout to defaultLayoutName().
13385 2002-03-06 Juergen Vigna <jug@sad.it>
13387 * CutAndPaste.C (copySelection): set layout for new paragraph.
13389 * text.C (prepareToPrint): leave ERT inset left aligned
13390 (leftMargin): don't indent paragraphs inside ERT insets
13392 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13394 * paragraph.C (breakParagraph): dont call clear do the work manually
13396 * paragraph.[Ch] (clear): remove function
13398 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13400 * paragraph.C (Paragraph): dont call clear, the work has already
13403 * lyxtextclass.C (operator): assert if n is empty
13405 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13406 work manually instead.
13408 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13410 * BufferView_pimpl.C: protect selectionLost against text == 0
13412 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13414 * text.C (breakParagraph): fix a setting layout to '0' problem.
13416 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13418 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13419 final location of file, for the included files, and graphics.
13421 2002-03-05 Juergen Vigna <jug@sad.it>
13423 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13425 2002-03-04 Juergen Vigna <jug@sad.it>
13427 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13429 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13430 last column of multicolumn cells.
13431 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13433 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13435 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13436 file if it doesn't go to a temporary file.
13438 * buffer.C (sgmlOpenTag):
13439 (sgmlCloseTag): remove extra newline insertion.
13441 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13443 * text.C (getRowNearY): comment out debug msg
13445 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13447 * text2.C: first -> first_y
13449 * text.C (getRowNearY): add some attemts at a possible
13450 optimization, not working.
13452 * tabular.[Ch]: add BufferParams to several function so that newly
13453 created paragraph can be initialized to he default layotu for the
13456 * tabular-old.C (ReadOld): add buf->params to call of Init
13458 * screen.C: rename text->first to text->first_y
13460 * paragraph.C (breakParagraph): always set layout in the broken
13463 * lyxtextclass.C (Read): remove lowercase
13466 (delete_layout): ditto
13468 * lyxtext.h: rename first -> first_y
13470 * lyxlayout.C (Read): remove lowercase
13473 (obsoleted_by): ditto
13475 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13477 * buffer.C (insertErtContents): add params are to InsetERT
13478 (parseSingleLyXformat2Token): add code to check if a paragraphs
13479 layout really exist.
13480 (parseSingleLyXformat2Token): add params to several inset
13482 (asciiParagraph): remove lowercase, do the layout comparisons with
13485 * BufferView_pimpl.C (cursorNext): first -> first_y
13486 (resizeCurrentBuffer): first -> first_y
13487 (updateScrollbar): first -> first_y
13488 (scrollCB): first -> first_y
13489 (workAreaMotionNotify): first -> first_y
13490 (workAreaButtonPress): first -> first_y
13491 (checkInsetHit): first -> first_y
13492 (cursorPrevious): first -> first_y
13493 (cursorNext): first -> first_y
13494 (Dispatch): add buffer_->params to severl inset contructors
13496 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13498 * lyxlayout.C (Read): remove some debug info that I forgot.
13500 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13501 clean up the code slightly.
13502 (makeLinuxDocFile): ditto
13503 (makeDocBookFile): ditto
13505 * text2.C: layout as string
13507 * text.C: layout as string
13509 * paragraph_pimpl.C: layout as string
13511 * paragraph.[Ch]: layout as string
13513 * lyxtextclasslist.[Ch]: layout as string
13515 * lyxtextclass.[Ch]: layout as string
13517 * lyxtext.h: layout as string
13519 * lyxlayout.[Ch]: layout as string
13521 * lyx_cb.C: layout as string
13523 * bufferview_funcs.C: layout as string
13525 * bufferparams.C: layout as string
13527 * buffer.C: layout as string
13529 * LyXView.[Ch]: layout as string
13531 * LaTeXFeatures.[Ch]: layout as string
13533 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13535 * BufferView_pimpl.C: change current_layout to string, remove
13540 (workAreaButtonRelease): layout as string
13542 * BufferView2.C (unlockInset): adjust
13544 * vspace.C (asLatexCommand): use an explict temp variable.
13546 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13548 * Makefile.am: use FRONTEND_*
13550 2002-03-01 Juergen Vigna <jug@sad.it>
13552 * tabular.C (SetWidthOfMulticolCell): changed to something better
13553 I hope but still work in progress.
13554 (recalculateMulticolumnsOfColumn): renamed function from
13555 recalculateMulticolCells as it is more appropriate now.
13556 (SetWidthOfCell): calculate multicols better.
13558 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13560 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13562 * lyxfunc.C (processKeySym): print sequence also if it is
13563 `deleted' (complete)
13565 * kbsequence.C (print): print sequence even if it is deleted
13566 (complete would be a better word, actually).
13568 * lyxfunc.C (dispatch): print complete options after a prefix key
13570 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13572 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13574 * text2.C (setCharFont): eliminate setCharFont code duplication.
13576 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13578 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13579 LFUN_TABULAR_FEATURE (bug #177)
13581 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13583 * Makefile.am: remove figure.h
13585 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13587 * Bufferview_pimpl.C:
13599 * text2.C: remove #include "lyx_gui_misc.h".
13601 * LaTeX.C: added #include <cstdio>
13603 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13605 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13606 that the paragraph following this one can have.
13608 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13610 * vspace.C (asLatexCommand): fix bogus gcc warning
13612 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13614 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13616 * text2.C (setLayout): get rid of redundant code
13618 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13620 * text2.C (incDepth): make sure depth cannot be increased beyond
13623 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13625 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13626 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13628 * PainterBase.h (image):
13629 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13630 a LyXImage const *.
13632 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13636 * BufferView_pimpl.C:
13637 * BufferView_pimpl.h:
13657 * sp_spell.C: remove fig inset, and the crap house of
13658 cards that follows it
13660 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13665 * os2_errortable.h:
13666 * nt_defines.h: move .h into support/
13668 * vms_defines.h: remove
13670 * WorkArea.C: add space in debug output
13674 * buffer.C: add WITH_WARNINGS
13678 * bufferlist.C: s/retrive/retrieve/, add docs
13687 * chset.C: add docs
13689 * lyxgui.C: add ID to X error handler
13691 * lyxtestclass.c: fix typo
13693 2002-02-26 Juergen Vigna <jug@sad.it>
13695 * tabular_funcs.C (write_attribute): changed so that some default
13696 attributes are not written at all.
13697 (getTokenValue): set default values before trying to read the
13698 value so we have the return value always set as default if we don't
13699 find the token we search for.
13701 * tabular.C (Write): write bools as bools not as strings!
13703 2002-02-22 Juergen Vigna <jug@sad.it>
13705 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13706 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13708 * text.C (leftMargin): don't add an indent for paragraphs inside
13709 tabular cells (fix #208).
13711 2002-02-21 José Matos <jamatos@fep.up.pt>
13713 * tabular.C (docBook): fixed support for long tables.
13715 2002-02-20 Juergen Vigna <jug@sad.it>
13717 * text2.C (getFont): get the drawing font of the Inset if this
13718 paragraph is inside an inset (only important for InsetERT for now).
13720 * buffer.C (insertErtContents): use new lanugage params in ERT
13723 * CutAndPaste.C: commenting out seemingly uneeded code.
13725 2002-02-19 Allan Rae <rae@lyx.org>
13727 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13728 Iterators might be simple to use but they also get invalidated.
13729 (removeAutoInsets): renamed saved cursor tracking variables and added
13730 some comments to clarify what everything does.
13732 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13739 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13740 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13743 * vc-backend.h: remove #include "support/syscall.h"
13747 * converter.C: rearrange #includes in Lars' approved fashion.
13749 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13750 forward declare class Timeout in the header file.
13752 * XFormsView.C: changes due to the above.
13754 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13755 similar to LyXView.
13757 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13758 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13760 2002-02-18 José Matos <jamatos@fep.up.pt>
13762 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13765 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13767 * a lot of small ws changes
13768 * add a lot of using std::XXX
13769 * use std construcs some places where approp.
13770 * use some exisint stuff from lyxfunctional where approp.
13771 * Make file changes to use partial linking (lets test this now...)
13773 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13777 remove #include "support/syscontr.h" as it's redundant. Always has been.
13785 change Systemcalls::System to Systemcalls::Wait and
13786 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13787 No change of functionality, just reflects the stripped down Systemcalls
13790 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13792 * debug.[Ch]: add a GRAPHICS type to the enum.
13794 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13796 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13798 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13801 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13803 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13804 match the changes below.
13806 * text2.C (toggleInset): if there is not editable inset at cursor
13807 position, try to see if cursor is _inside_ a collapsable inset
13810 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13812 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13813 document menu has a nice checkbox
13815 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13817 * lyxlength.C (asLatexString): change PW to output as percent of
13820 * lengthcommon.C: change '%' to 't%'
13822 * lyxfunc.C (dispatch): a few comments from Martin
13824 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13828 * BufferView_pimpl.h:
13829 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13832 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13834 * vspace.C (inPixels): fix compiler warning
13836 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13838 * lyxfunc.C (getStatus): fix status message for disabled commands.
13840 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13842 * BufferView_pimpl.C: fix crash on close buffer
13843 during selection (#227)
13845 2002-01-27 Herbert Voss <voss@lyx.org>
13847 * buffer.C: link old Figure to new graphic inset
13849 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13851 * FontLoader.C (getFontinfo): Change the latex font names in order
13852 to match the names of type1inst.
13854 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13856 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13858 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13859 (extchanged): ditto
13861 (remove_files_with_extension): ditto
13862 (remove_file): ditto
13865 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13866 document is smaller than the work area height. Do not initialize
13867 static variables to 0.
13869 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13871 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13873 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13874 LFUN_LAYOUT_PARAGRAPHS.
13876 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13877 tabular. It is possible to provide a possible cell, which will
13878 typically be the actcell from the corresponding insettabular
13880 * lyxfunc.C (getStatus): small cleanup; disable
13881 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13884 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13886 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13888 * paragraph.C (startTeXParParams):
13889 (endTeXParParams): new methods. The LaTeX code to
13890 start/end paragraph formatting
13891 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13892 empty (fixes bug #200)
13894 * vspace.C (inPixels): adapt to the change below
13895 (inPixels): [later] more cleanups (remove unused variables)
13897 * lyxlength.C (inPixels): change to use a width and a height as
13900 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13902 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13903 Replaced with \paperwidth
13905 * DepTable.C (insert): add std:: qualifier
13907 2002-01-18 Allan Rae <rae@lyx.org>
13909 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13912 * text.C (drawInset): Turned out I didn't know enough about how
13913 rebreaking worked. This fixes most of the redraw problems. I see
13914 an occasional cursor trail when a line is broken now and the cursor
13915 placement can seem out by a few pixels also after a rebreak.
13917 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13919 * buffer.C (parseSingleLyXformat2Token): update because minipage
13920 width is now a LyXLength
13922 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13924 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13927 2002-01-17 Juergen Vigna <jug@sad.it>
13929 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13931 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13932 is set correctly and the inset is updated correctly.
13934 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13936 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13937 the beginning of the loop.
13939 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13941 * lyxrc.C: improve help for use_scalable_fonts
13943 2002-01-17 Allan Rae <rae@lyx.org>
13945 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13947 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13949 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13950 make sure to set their inset_owner to the right value (bug #171)
13952 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13955 * DepTable.C: Implement mtime checking to reduce time spent doing
13958 2002-01-16 Juergen Vigna <jug@sad.it>
13960 * tabular.C (GetAdditionalHeight): one of error fixed.
13962 * lyxrc.C (output): small fix in writing use_pspell.
13964 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13966 * sp_base.h: #include LString.h
13968 2002-01-16 Allan Rae <rae@lyx.org>
13970 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13971 Can someone check this please?
13973 * text.C (drawInset): It was possible that p.row would be removed by
13974 breakAgainOneRow upsetting a few other settings. There may be another
13975 small tweak possible by setting need_break_row = 0 when p.row has been
13976 removed but I don't know enough about the logic here.
13978 2002-01-15 Allan Rae <rae@lyx.org>
13980 * text.C (insertChar): removed conditional truism.
13982 * BufferView2.C (removeAutoInsets): More tweaks.
13983 cur_par_prev could be a stray pointer. Check for trailing empty line
13984 in case last line was cur_par and only had an error inset on it.
13986 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13988 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13991 * vc-backend.C (most methods):
13992 * exporter.C (Export):
13993 * converter.C (convert):
13995 * LyXSendto.C (SendtoApplyCB):
13996 * lyxfunc.C (dispatch):
14000 * lyx_cb.C (AutoSave):
14002 * BufferView_pimpl.C (MenuInsertLyXFile):
14003 * buffer.C (runChktex): use Buffer::filePath().
14005 * buffer.h: rename filename to filename_; rename filepath to
14006 filepath_ and make it private
14007 (filePath): new method
14009 * buffer.C (writeFile): use fileName()
14012 * lyx_main.C (init): fix starting of LyX when the binary is a
14013 link from so,ewhere else.
14015 * minibuffer.C: include <cctype> for isprint
14017 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14019 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14020 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14021 name clash with InsetCollapsable's width function.
14023 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14025 * lastfiles.C: include <iterator>
14027 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14029 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14032 * buffer.C (makeLaTeXFile): ditto.
14033 Also make loop operation more transparent.
14035 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14037 * ToolbarDefaults.C: remove trailing comma closing namespace.
14039 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14041 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14044 * trans.C (Load): comment out unused variable, allowed.
14046 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14048 * minibuffer.[Ch] (append_char): new method to recieve input from the
14049 drop-down completion browser. If a key was pressed, then recieve this
14050 char and append it to the existing string.
14051 (peek_event): modify the positioning data passed to the completion
14052 browser so that it can be placed above the minibuffer rather than below.
14053 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14055 * LyXAction.C (init): alloe error-next for readonly documents.
14057 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14060 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14062 * bufferlist.C (readFile): create the buffer _after_ checking that
14065 * lyxfunc.C (verboseDispatch): fix handling of arguments
14067 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14069 * lyxrc.C: use string::erase() instead of initializing to "".
14072 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14074 * BufferView_pimpl.h:
14075 * BufferView_pimpl.C:
14078 * text2.C: tell X when we have made a selection for copying
14080 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14082 * BufferView_pimpl.C (MenuInsertLyXFile):
14083 * lyxfunc.C (menuNew):
14085 (doImport): add shortcuts to directory buttons
14087 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14090 * lyxfunc.C (setStatusMessage):
14091 (getStatusMessage): new methods
14092 (getStatus):use setStatusMessage instead of setErrorMessage
14093 (dispatch): when function is disabled, set error message here
14094 [instead of in getStatus previously]
14096 * BufferView_pimpl.C (workAreaButtonRelease): update
14097 toolbar/menubar here too.
14099 2002-01-13 Allan Rae <rae@lyx.org>
14101 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14102 Now seems indestructible. Remaining task is to audit all other
14103 code affected by deleteEmptyParagraphMechanism. One small quirk
14104 left is that an empty document with an error in the preamble can
14105 be made to report an error but no error box appears. I don't know
14107 (removeAutoInsets): Improved comments.
14109 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14112 * Thesaurus.C: update for Aiksaurus 0.14
14114 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14116 * text2.C (firstParagraph): removed member function, all uses
14117 replaces with ownerParagraph
14118 (redoParagraphs): here
14119 (updateInset): here
14120 (toggleAppendix): here
14121 * BufferView2.C (insertErrors): here
14122 (setCursorFromRow): here
14124 2002-01-13 Allan Rae <rae@lyx.org>
14126 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14127 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14128 There is still a way to segfault this although you may have to do this
14129 multiple times: Have an InsetERT with an unknown command in it.
14130 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14131 <down-arrow>, <Enter> again, View->DVI, BANG!
14133 * text2.C (setCursor):
14134 (deleteEmptyParagraphMechanism):
14135 * lyxtext.h (setCursor):
14136 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14137 Making use of the return value may help fix other bugs.
14139 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14141 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14143 * LyXView.C (updateMenubar): call MenuBar::update here
14144 (updateToolbar): but not here
14145 (showState): do not update toolbar/menubar
14147 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14148 should need to care about that.
14150 * lyxfunc.C (verboseDispatch): simplify a bit
14151 (getStatus): have a version which takes a pseudoaction, and
14152 another which requires a (kb_action,string).
14154 * LyXAction.C (retrieveActionArg): make it work also when action
14155 is not a pseudo-action.
14156 (getActionName): simplify a bit
14159 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14161 * lyxfunc.C (verboseDispatch): new families of methods with
14162 several ways to specify a command and a bool to indicate whether
14163 the command name and shortcut should be displayed in minibuffer
14164 (eventually, we could extend that to a finer bitmask like
14165 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14166 (dispatch): the pristine dispatch command which just, well,
14167 dispatchs! Note it still sets its result to minibuffer; I'm not
14170 * lyxfunc.h: remove setHintMessage
14172 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14174 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14176 * BufferView_pimpl.C (specialChar): delete new inset if we have
14177 not been able to insert it.
14179 * kbmap.C: revert to using int instead of kb_action, since all we
14180 are dealing with is pseudo-actions.
14182 * LyXAction.C (searchActionArg): change to return int instead of
14183 kb_action, since the result is a pseudoaction.
14185 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14187 * buffer.C (insertErtContents): Fix (partially) the font bug.
14189 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14191 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14192 as the other one is broken on my machine!
14194 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14197 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14199 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14201 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14202 reflect their actual use. Provide compatibility code for older lyxrc
14205 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14207 change names of popup font variables in line with the changes to lyxrc.C
14209 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14211 * buffer.C (asciiParagraph): avoid outputing a word twice after
14214 * lyxrc.C (getDescription): document that document_path and
14215 template_path can be empty.
14217 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14219 * LaTeXFeatures.C (getMacros):
14220 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14222 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14224 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14226 (getPackages): rename feature "floats" to "float". Use an array to
14227 iterate over 'simple' features (i.e. just a \usepackage). Add
14228 handling of "amsmath" (renamed from "amsstyle").
14230 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14232 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14235 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14237 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14238 FuncStaus::FuncStatus & FuncStaus::some_method().
14240 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14242 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14243 of the func_satus stuff. Edited and massaged in various ways by
14246 * lyxfunc.C (getStatus): use FuncStatus
14248 2002-01-08 Juergen Vigna <jug@sad.it>
14250 * text.C (nextBreakPoint): use function Inset::isChar().
14252 * paragraph.C (TeXOnePar): use function
14253 Inset::forceDefaultParagraphs.
14255 * buffer.C (latexParagraphs): use function
14256 Inset::forceDefaultParagraphs.
14258 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14260 * lyx_gui.C (init): set the style of the menu popups to
14261 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14263 2002-01-07 Juergen Vigna <jug@sad.it>
14265 * text.C (setHeightOfRow): small fix
14266 (prepareToPrint): don't look at alignment if we don't have the place
14269 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14271 * box.C: New file. Move the Box methods and functions out of box.h,
14272 following Lars' suggestion.
14274 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14276 * box.h: #include "support/LOstream.h", needed for inlined function.
14279 * lyxtextclasslist.C: added some using std declarations.
14281 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14283 * box.h: make signed dimensions to allow insets wider than
14284 the screen (bug #162)
14286 * BufferView_pimpl.C: add some insetHit debug
14288 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14290 * vc-backend.C: add FIXME
14292 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14294 * lyxfunc.C (getStatus): enable code for showing math font status
14297 2002-01-07 Juergen Vigna <jug@sad.it>
14299 * text.C (nextBreakPoint): removed debug output not needed anymore.
14301 2002-01-06 Juergen Vigna <jug@sad.it>
14303 * text.C (nextBreakPoint): fixed up this function we had this bug
14304 since ever but now hopefully we break row better.
14305 (insertChar): we have to check if an inset is the next char as it
14306 could now happen that a large inset is causing a break.
14308 2002-01-05 Juergen Vigna <jug@sad.it>
14310 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14311 if it doesn't like to be drawed.
14313 2002-01-04 Juergen Vigna <jug@sad.it>
14315 * BufferView2.C (lockInset): forgot to set a cursor.
14317 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14319 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14321 * FormMathsPanel.C:
14324 * form_maths_panel.C:
14325 * form_maths_panel.h:
14326 * form_maths_panel.fd: implemented sub- and super- buttons in math
14329 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14330 (or ^ space) to be used as in TeX (req'd by Andr�.
14332 * lyxfunc.C: Allow ^ and _ again to be used both as
14333 super/subscript (mathed) and as themselves (in text).
14335 2002-01-03 Allan Rae <rae@lyx.org>
14337 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14338 "LyX" or the filename of the current buffer if it has one. This is a
14339 modified form of John Levon's patch.
14341 * XFormsView.C (setWindowTitle): also set icon title.
14343 * LyXView.h (setWindowTitle): signature changed.
14344 * XFormsView.h (setWindowTitle): ditto.
14346 2002-01-02 Juergen Vigna <jug@sad.it>
14348 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14350 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14352 * screen.C (topCursorVisible): introduce a temp var for
14353 text->cursor.row(), handle the case where this row is null. (kindo
14356 * text2.C (setCursor): add a couple of asserts.
14358 * paragraph.h (inset_iterator): add -> operator
14360 * paragraph.[Ch] (autoDeleteInsets): remove member function
14362 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14363 cursor pos correctly and handle inset deletion by itself.
14364 (insertErrors): move iterator declaration out of for expression
14366 * lyxtextclass.C: add <algorithm>
14368 * Makefile.am: added the new files to sources, removed layout.C
14370 * layout.C: removed file
14372 * layout.h: remove LYX_DUMMY_LAYOUT
14374 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14378 * lyxtextclass.[Ch]:
14379 * lyxtextclasslist.[Ch]: new files
14381 * include order changes to a lot of files, also changes because of
14384 2001-12-27 Juergen Vigna <jug@sad.it>
14386 * buffer.C (asciiParagraph): more fixes.
14388 * tabular.C (ascii): make ascii export support export of only the
14389 data separated by a column-delimiter.
14390 (ascii): better support for ascii export.
14392 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14394 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14396 * tabular_funcs.C: use a "using std::getline" instead of the
14397 previous fix from Angus (necessary for cxx + lyxstring)
14399 2001-12-24 Juergen Vigna <jug@sad.it>
14401 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14403 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14404 problems. First check a minipage also if we have some ert-contents
14405 (not only on par->size(), second set the right depth of the paragraph
14406 on the relink to the root-paragraph-list!
14408 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14409 which then did not anymore update the main paragraphs on undo/redo!
14411 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14413 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14414 code. Support all font-changing funcs (even those which are not in
14415 menu currently). Support for reporting font settings in
14416 mathed (disabled until Andre provides a function on mathed's side).
14418 * func_status.h (toggle): small helper function to set toggle
14421 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14423 * tabular_funcs.C: getline -> std::getline
14425 2001-12-21 Juergen Vigna <jug@sad.it>
14427 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14428 accessed and could be 0 (I couldn't generate this but it seems
14431 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14433 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14434 * tabular_funcs.h: here and include iosfwd
14436 2001-12-20 Juergen Vigna <jug@sad.it>
14438 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14439 inside inset but undo_par was.
14441 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14443 * Thesaurus.C: always include <config.h> in sources.
14447 * box.h: do not include <config.h> in header files
14449 * text.C (paintLastRow): remove unused variable
14451 * text.C (transformChar):
14453 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14455 * Painter.C (text):
14456 * font.C (width): rewrite to use uppercase() instead of
14459 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14461 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14463 * lyxfind.C: clean up of find failure position change
14465 2001-12-20 Juergen Vigna <jug@sad.it>
14467 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14469 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14470 (TeXRow): added to LaTeX a single tabular row.
14471 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14472 (Latex): simplified and finally good LT-h/f support.
14473 (various_functions): just small adaptions for LT-h/f support.
14475 * tabular_funcs.[hC]: added and moved here all not classfunctions
14478 2001-12-19 Juergen Vigna <jug@sad.it>
14480 * tabular.[Ch]: better support for longtabular options (not finished
14483 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14485 * text.C (paintLastRow): use the label font instead of the font of
14486 the last character to compute the size of *_BOX. This makes more
14487 sense and avoids a crash with empty paragraphs.
14488 Use Painter::rectangle to draw EMPTY_BOX.
14490 2001-12-19 Juergen Vigna <jug@sad.it>
14492 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14493 the paragraphs if the replaced paragraph is not the first one!
14494 Tried to delete not used paragraphs but does not work yet so for
14495 now it's inside #ifdef's and by default off!
14497 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14499 * MenuBackend.C: include "lyx_main.h" instead of declaring
14500 lastfiles (actually was declared as LastFiles* instead of a
14503 2001-12-17 Juergen Vigna <jug@sad.it>
14505 * tabular.C (AppendColumn): applied John's fix
14507 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14511 * BufferView_pimpl.h:
14512 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14515 * box.h: new start of class for above
14517 * lyxfunc.C: ignore space-only minibuffer dispatches.
14518 Show the command name when it doesn't exist
14520 * minibuffer.C: don't add empty lines to the history
14522 * minibuffer.C: add a space on dropdown completion
14524 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14526 * text.C: fix line above/below drawing in insets
14528 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14530 * lyxlength.C (LyXLength): Initialize private variables.
14532 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14534 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14535 when inserting error insets.
14537 2001-12-13 Juergen Vigna <jug@sad.it>
14539 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14540 actually sometimes the before-paragraph.
14541 (setUndo): don't clear the redostack if we're not actually undoing!
14543 2001-12-06 Juergen Vigna <jug@sad.it>
14545 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14546 and fixed redoing of main paragraph, so we can use it now ;)
14548 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14550 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14552 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14555 2001-12-13 André Pönitz <poenitz@gmx.net>
14558 * undo_func.C: minor cleanup
14560 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14562 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14563 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14564 font in urw-fonts package which is marked as -urw-fontspecific and
14565 does not work (incidentally, changing the encoding in the
14566 fonts.dir of this package to -adobe-fontspecific fixes the
14569 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14570 is a crash when undoing first paragraph (Juergen, please take a
14571 look). THis does not mean the undo fix is wrong, just that it
14574 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14575 the (Paragraph*) version when needed instead of duplicating the
14578 * text.C (workWidth): use Inset::parOwner to find out where the
14579 inset has been inserted. This is a huge performance gain for large
14580 documents with lots of insets. If Inset::parOwner is not set, fall
14581 back on the brute force method
14583 * paragraph_pimpl.C (insertInset):
14584 * paragraph.C (Paragraph):
14585 (cutIntoMinibuffer): set parOwner of insets when
14586 inserting/removing them
14588 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14590 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14596 * mathed/formulabase.C:
14597 * mathed/math_cursor.[Ch]:
14598 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14601 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14603 * lyxlength.[Ch] (operator!=): new function
14605 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14607 * text.C (workWidth): use Inset::parOwner to find out where the
14608 inset has been inserted. This is a huge performance gain for large
14609 documents with lots of insets. If Inset::parOwner is not set, fall
14610 back on the brute force method
14612 * paragraph_pimpl.C (insertInset):
14613 * paragraph.C (Paragraph):
14614 (cutIntoMinibuffer): set parOwner of insets when
14615 inserting/removing them
14617 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14619 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14621 * tabular-old.C (getTokenValue):
14622 * tabular.C (getTokenValue):
14623 (write_attribute): new versions for LyXLength
14624 (everywhere): adjust the use of widths
14626 * tabular.h: change the type of widths from string to LyXLength
14628 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14630 * paragraph.C: fixed missing line number count when exporting
14631 Environments to LaTeX file
14633 * buffer.C: added informational message for checking line numbers.
14635 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14637 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14638 paragraph, do the 'double space' part, but not the 'empty
14641 * text.C (workWidth): small optimization
14642 (getLengthMarkerHeight): use minimal size for negative lengths.
14644 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14646 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14648 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14650 2001-12-11 André Pönitz <poenitz@gmx.net>
14653 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14655 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14657 * text2.C: keep selection on a setFont()
14659 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14661 * lyx_cb.C: another bv->text misuse, from insert label
14663 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14666 * kbsequence.C: re-instate nmodifier mask
14668 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14670 * lyx_main.h: make lyxGUI private.
14672 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14674 * lyxfind.C: place the cursor correctly on failed search
14676 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14678 * text.C (getLengthMarkerHeight): for small heights, the arrows
14679 are not always on top/bottom of the text
14680 (drawLengthMarker): smaller arrows; take the left margin in
14681 account; draw also vfills.
14683 (paintLastRow): remove special code for vfill and standard spaces,
14684 since everything is handled in drawLengthMarker now.
14686 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14688 * buffer.C (insertErtContents): try to handle font and language
14689 interaction a bit better.g
14691 * ColorHandler.C (updateColor): change the hash to cover the whole
14692 LColor enum, ws cleanup
14693 (getGCLinepars): ditto
14694 (getGCLinepars): only lookup in the linecache once.
14696 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14698 * iterators.C (operator++): Make the iterator more robust
14700 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14702 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14704 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14707 * text.C: better added space drawing
14709 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14712 * BufferView2.C: fix layout combo update on inset unlock
14714 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14716 * Makefile.am: don't compile unused files
14718 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14722 * LyXAction.C: remove old LFUN_LAYOUTNO
14724 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14726 * paragraph_pimpl.h:
14727 * paragraph_pimpl.C: isTextAt() doesn't need font param
14729 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14732 * lyxlex.C: little cleanup
14734 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14736 * BufferView_pimpl.C: fix insertAscii for insets
14738 2001-12-05 Juergen Vigna <jug@sad.it>
14740 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14741 set the right font on the "multi" paragraph paste!
14743 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14749 * lyxlength.C: remove out-commented code.
14751 * BufferView_pimpl:
14765 * vc-backend.C: change "while(" to "while ("
14767 * lyxlength.[Ch]: add zero function to check if length is zero or
14769 * lyxgluelength.C: use it
14771 2001-12-05 Allan Rae <rae@lyx.org>
14773 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14774 Works for 2.95.3, from what I understand of Garst's reports this should
14775 work for other g++ versions. We're screwed if the abs(int) definition
14776 changed between bugfix releases of gcc.
14778 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14780 * text.C: fix chapter label offset !
14782 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14785 * text.C: fix hfill at end of line, clean up
14787 2001-12-04 Juergen Vigna <jug@sad.it>
14789 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14790 that we force an update of the inset and it's owners if neccessary.
14792 2001-12-03 Juergen Vigna <jug@sad.it>
14794 * text.C (rowLast): simplified code
14796 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14798 * lyxfunc.C: fix show options on timeout
14800 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14802 * screen.C (topCursorVisible): scroll half a page when the cursor
14803 reached top of bottom of screen
14805 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14807 * minibuffer.C: deactivate on loss of focus
14809 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14811 * vspace.[Ch] (operator!=): add operator.
14813 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14815 * BufferView_pimpl.C: refuse to open an inset when
14816 there's a selection.
14818 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14820 * BufferView_pimpl.C: allow to click on RHS of full row insets
14822 2001-11-30 Juergen Vigna <jug@sad.it>
14824 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14825 insets for undo reasons.
14827 2001-11-28 André Pönitz <poenitz@gmx.net>
14829 * vspace.[Ch]: cosmetical changes
14831 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14841 * kbsequence.C: part re-write of old kb code
14844 * WorkArea.C: remove Lgb_bug_find_hack
14846 2001-11-30 José Matos <jamatos@fep.up.pt>
14848 * buffer.C (makeDocBookFile): add a comment to point a hack.
14849 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14850 Fixed a double write of labels.
14852 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14855 * LaTeX.h Fixed bug in LaTeX class where it would not
14856 re-run latex if no depfiles were changed, but the .dvi was removed.
14858 2001-11-28 André Pönitz <poenitz@gmx.net>
14860 * all the files from the change on 2001/11/26:
14861 use lyx::layout_type instead of LyXTextClass::size_type
14862 use lyx::textclass_type instead of LyXTextClassList::size_type
14864 2001-11-29 Juergen Vigna <jug@sad.it>
14866 * text.C: added support for paragraph::isFreeSpacing()
14868 * buffer.C: same as above
14870 * paragraph.h: inserted isFreeSpacing() function to enable
14871 FreeSpacing inside InsetERT.
14873 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14874 of the paragraph's in the cut/copy buffer to 0!
14876 * text2.C (removeRow): remove the assert as it can!
14878 * lyxtext.h: added helper function firstRow returning firstrow and
14879 made firstrow private again.
14881 * BufferView2.C (lockInset): don't relock if we're already locked!
14883 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14884 the only paragraph.
14885 (removeRow): added Assert::(firstrow)
14887 * debug.C: forgot to add INSETTEXT here.
14889 2001-11-28 Juergen Vigna <jug@sad.it>
14891 * sp_spell.C (initialize): changed error text to more general
14892 spellchecker command use (not only ispell!)
14894 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14896 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14898 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14900 * vspace.C: initialise lyxgluelength on failure
14902 2001-11-28 Allan Rae <rae@lyx.org>
14904 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14905 declaration & definition that looks like a function declaration.
14907 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14909 * BufferView2.C (copy):
14910 (copyEnvironment): do not clear the selection when doing a copy.
14912 * text.C (paintFirstRow): compilation fix
14914 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14916 * tabular.C (Latex): correct line count when writing latex.
14918 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14920 * paragraph_pimpl.h:
14921 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14924 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14928 * LColor.C: change vfillline->added_space
14930 * text.C: add markers and text for added space
14932 * vspace.C: fix comment
14934 2001-11-28 André Pönitz <poenitz@gmx.net>
14936 * paragraph.C: whitespace changes
14937 * all the other files from the change on 2001/11/26:
14938 change *::pos_type into lyx::pos_type
14940 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14942 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14943 language of the document when inserting error insets.
14945 2001-11-26 André Pönitz <poenitz@gmx.net>
14947 * BufferView_pimpl.[Ch]:
14955 * paragraph_pimpl.[Ch]:
14958 * text2.C: reduce header dependencies, introduce type for positions
14960 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14962 * <various>: change to use Alert.h
14964 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14966 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14967 when encountering an unknown token.
14968 (readLyXformat2): Show an error message if there were unknown tokens.
14970 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14973 * BufferView_pimpl.C:
14977 * text2.C: use par->isInset()
14979 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14981 * paragraph_pimpl.h:
14982 * paragraph_pimpl.C: cleanup
14984 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14986 * text2.C (removeRow):
14987 * text.C (setHeightOfRow): remove useless (and costly) call to
14990 2001-11-20 Allan Rae <rae@lyx.org>
14992 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14993 Now need Inset*::checkInsertChar() to return true for appropriate
14994 cases so that the characters in the minibuffer will actually be
14997 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14999 * text.C: change the order of the includes.
15000 (workWidth): initialize it at once.
15001 (workWidth): make maxw unsigned
15002 (setHeightOfRow): remove unused variable (inset)
15003 (selectSelectedWord): remove unused variable (inset)
15004 (paintRowText): fix drawing of hfill characters, and clean up a bit.
15006 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15008 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15009 server is not running.
15011 (closeConnection): add debug info when server is disabled.
15013 * ColorHandler.C (getGCForeground): send debug message to GUI
15016 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15018 * kbmap.C (bind): modify because return conventions of
15019 kb_sequence::parse have changed.
15021 * kbsequence.C (parse): only ignore spaces and not any stupid
15022 control character. This avoids tests like s[i] <= ' ', which are
15023 guaranteed to fail with 8bit characters and signed chars.
15024 Change return code to string::npos when there have been no error
15025 (0 was a bad idea when error is at first character)
15027 2001-11-14 José Matos <jamatos@fep.up.pt>
15030 * buffer.C (simpleDocBookOnePar): removed unused argument.
15032 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15034 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15035 insets which are part of a word. Paragraph::isLetter takes care of
15036 that now. Use Paragraph::isInset to identify insets.
15037 (selectSelectedWord): do not test for hyphenation break.
15039 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15040 that protected spaces are considered as spaces.
15042 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15045 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15048 * lyxserver.C: fix it. and small cleanup.
15050 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15052 * BufferView_pimpl.C: use inline helpers
15055 * LaTeXFeatures.C: fix typos
15058 * Spacing.C: move spacing_string into class
15060 * ToolbarDefaults.C: move stuff into namespace anon
15062 * layout.h: update enum
15064 * lyxfunc.C: use better debug
15066 * minibuffer.h: fix typo
15070 * WorkArea.C: add and use Debug::WORKAREA
15074 * text2.C: code re-organisation, inline helpers
15076 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15078 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15079 std::vector.empty().
15081 2001-11-09 Allan Rae <rae@lyx.org>
15083 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15084 '\n's after tables. Tabular and ERT inset work now makes this no
15087 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15090 * minibuffer.C: fix crash, improve drop-down completion
15092 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15095 * lyxserver.C: invalidate fd's when doing endPipe()
15097 2001-11-08 José Matos <jamatos@fep.up.pt>
15099 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15100 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15103 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15105 2001-11-07 José Matos <jamatos@fep.up.pt>
15108 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15111 * buffer.C (sgmlOpenTag):
15112 * buffer.C (sgmlCloseTag): removed debug info.
15114 * buffer.h (sgmlOpenTag):
15115 * buffer.h (sgmlCloseTag): made public.
15117 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15119 * buffer.C (saveParamsAsDefaults):
15120 * lyx_cb.C (MenuLayoutSave): remove
15122 * LyXAction.C (init):
15124 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15126 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15128 * buffer.C (setPaperStuff): removed from here...
15130 * bufferparams.C (setPaperStuff): ... and moved there.
15132 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15136 * XFormsView.C: add support for drop-down completion
15138 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15140 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15143 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15145 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15148 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15150 * lyx_main.C: change ref to known bugs
15152 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15154 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15155 to work around older babel problems.
15157 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15159 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15161 2001-10-24 Juergen Vigna <jug@sad.it>
15163 * tabular-old.C (ReadOld): below variable changes reflected.
15165 * tabular.[Ch]: added ltType struct for longtable header/footer
15166 defines and changed all instances where they are used. Added
15167 future support for double top/bottom rows.
15169 2001-10-24 José Matos <jamatos@fep.up.pt>
15171 * buffer.h (docbookHandleCaption):
15172 * buffer.C (docbookHandleCaption): removed unused function.
15173 (makeDocBookFile): moved docbook supported version to v4.1.
15175 2001-10-24 José Matos <jamatos@fep.up.pt>
15178 * tabular.C (docbookRow): new function to export docbook code of a row.
15179 (DocBook): now honors the longtable flags.
15181 2001-10-23 José Matos <jamatos@fep.up.pt>
15184 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15185 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15187 * buffer.C (makeLinuxDocFile):
15188 (makeDocBookFile): reworked the preamble, more clean, and with
15189 support for lyx defined entities. Changed the document declaration
15190 to be more XML friendly.
15192 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15193 if we need to output XML that should be done with a filter.
15195 2001-10-22 Juergen Vigna <jug@sad.it>
15197 * sp_pspell.h (class PSpell): add alive function needed in the
15198 controller to see if the spellchecker could be started.
15200 2001-10-22 Juergen Vigna <jug@sad.it>
15202 * buffer.C (insertStringAsLines): modify the font for inserting
15203 chars in certain conditions by calling checkInsertChar(font).
15205 2001-10-19 Juergen Vigna <jug@sad.it>
15207 * text.C (workWidth): use getRow instead of wrong algorithm.
15208 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15210 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15215 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15217 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15219 * text.C (workWidth): do not search for the exact row when
15220 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15221 optimization for big documents.
15223 2001-10-18 Juergen Vigna <jug@sad.it>
15225 * text.C (workWidth): new function with added Inset * parameter.
15227 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15229 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15231 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15232 change return type of getColumnNearX.
15235 * text.C (changeRegionCase): use uppercase/lowercase instead of
15238 (rightMargin): simplify code by factoring out the uses of
15243 (appendParagraph): use Paragraph::size_type
15245 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15247 * vspace.C (asLatexString): add a missing break
15249 2001-10-15 Herbert Voss <voss@perce.de>
15251 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15253 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15255 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15258 2001-10-10 André Pönitz <poenitz@gmx.net>
15260 * lyxfunc.C: removed greek_kb_flag.
15262 2001-10-10 Herbert Voss <voss@perce.de>
15264 * lyx_main.C: delete global string help_lyxdir.
15266 2001-10-09 Herbert Voss <voss@perce.de>
15268 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15270 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15272 * lyx_main.C: added global string help_lyxdir.
15274 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15276 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15278 * lyxrc.C (set_font_norm_type): support iso8859-4
15280 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15282 * LaTeX.C (deplog): add another regex for MikTeX
15284 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15286 * lyxrc.C (set_font_norm_type): support iso8859-3
15288 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15290 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15292 * LaTeXFeatures.C: remove special case of french and index
15294 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15295 before \begin{document}). This solves several incompatibilities.
15297 2001-10-03 Garst Reese <reese@isn.net>
15299 * lyx_cb.C: change CheckTex error msg.
15301 2001-10-03 José Matos <jamatos@fep.up.pt>
15303 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15305 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15307 * .cvsignore: update
15309 * lyx_main.C (commandLineVersionInfo): use new style version info.
15311 * buffer.C (writeFile):
15313 (makeLinuxDocFile):
15314 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15316 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15318 * version.h: update to use stuff in version.C
15320 * version.C.in: new file. Contains version information determined
15321 at compile time. This is a merging of version.h and
15324 2001-10-03 Juergen Vigna <jug@sad.it>
15326 * BufferView_pimpl.C (update): don't change "dirty" status in
15329 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15331 * WorkArea.C (c-tor): re-position version string slightly.
15333 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15335 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15336 revert to previous code.
15338 WorkArea.[Ch]: (show, destroySplash): methods removed.
15340 WorkArea.C: rework code so that it's an amalgam of the codes before and
15341 after the splash screen was moved to WorkArea.
15343 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15346 * vspace.C (inPixels):
15349 * buffer.C (insertStringAsLines):
15350 (asciiParagraph): fix types to be large enough
15352 * lyxlex_pimpl.h: change member status from short to int
15354 * layout.h: fix type of endlabeltype
15357 * kbsequence.C (parse): change return type to string::size_type
15359 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15362 * Bullet.C (bulletSize):
15363 (bulletEntry): do not use short ints as parameters
15365 * BufferView2.C (insertLyXFile): change a char to an int.
15367 * WorkArea.C (WorkArea): remove unneeded floats in computation
15369 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15371 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15373 * paragraph.C (asString): Do not ignore newline/hfill chars when
15374 copying to the clipboard.
15376 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15378 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15379 after a multi-line inset.
15381 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15383 * paragraph.C (validate): Set NeedLyXFootnoteCode
15385 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15387 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15388 and decrease-error to decrease.
15390 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15392 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15393 it more readable (should be equivalent)
15395 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15397 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15399 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15401 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15402 of a cursor (row, etc.) after a character has been deleted
15403 (deleteEmptyParagraphMechanism): call the method above on _all_
15404 cursors held by the LyXText when a double space has been
15407 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15409 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15411 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15413 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15414 background. Use greyOut() and the new show() methods to toggle between
15415 the foreground and background. Add code to remove the splash after
15416 its initial showing.
15418 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15419 (create_forms): no longer call Dialogs::showSplash.
15421 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15423 * .cvsignore: add version_info.h
15425 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15427 * version_info.h.in: new file
15429 * Makefile.am: add version_info.h.in
15431 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15432 version_info.h instead of VERSION_INFO
15434 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15436 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15437 The ERT inset now returns string().
15439 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15441 * lyxtext.h, text.C (selectNextWord): renamed as
15442 selectNextWordToSpellcheck.
15444 * text.C (selectNextWordToSpellcheck): Modified to not select
15445 words inside an ERT inset.
15447 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15449 * lyx_cb.C (MenuLayoutSave): change a bit the question
15451 * sp_base.h: include <sys/types.h>
15453 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15455 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15457 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15459 * several files: fix typos in user-visible strings
15461 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15463 * text2.C (pasteSelection): do not set the selection, since it
15464 will be cleared later. Actually, the intent was to fix the way the
15465 selection was set, but I figured rmoving the code was just as good.
15467 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15469 * FontLoader.C (available): Check if font is available without
15472 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15474 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15476 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15478 * lyxrc.[Ch]: added display_graphics variable and associated code.
15480 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15482 * bufferparams.C (hasClassDefaults): new method. Returns true if
15483 the buffer parameters correspond to known class defaults
15485 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15487 * XFormsView.C (show): set minimum size to the main window.
15489 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15491 * text2.C (copySelection):
15493 * lyxfind.C (LyXReplace):
15494 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15495 LyXText::selectionAsString.
15497 * paragraph.C (asString): add "label" argument to the second form
15499 * text2.C (selectionAsString): add "label" argument and pass it to
15500 Paragraph::asString.
15502 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15504 * lyx_main.C (commandLineHelp): remove version information
15506 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15508 * lyx_main.C: add -version commandline option
15510 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15512 * paragraph.h: make the optional constructor arg required instead.
15513 some modifications to other files because of this.
15515 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15517 * lyxserver.C (C_LyXComm_callback): make it static
15519 * lyx_main.C (error_handler): make it static
15521 * lyx_gui.C (LyX_XErrHandler): make it static
15523 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15525 * WorkArea.C: make the extern "C" methods static.
15527 * Makefile.am (lyx_LDADD): simplify
15529 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15531 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15532 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15534 * LyXAction.C (init):
15535 * lyxfunc.C (dispatch): associated code removal.
15537 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15539 * lyxfont.h (isSymbolFont): shut off warning
15541 * text.C (setHeightOfRow):
15542 (getVisibleRow): fix crash with empty paragraphs which have a
15545 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15547 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15550 2001-09-04 José Matos <jamatos@fep.up.pt>
15553 * tabular.C (docbook): rename docBook method to docbook.
15555 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15557 * Makefile.am: add dependencies to main.o.
15559 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15561 * FontLoader.C (available): Return false if !lyxrc.use_gui
15563 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15565 * FontInfo.C (query):
15566 * converter.C (view):
15567 * importer.C (Import):
15568 * exporter.C (Export): Can not -> cannot.
15570 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15572 * BufferView_pimpl.C: allow to create index inset even if
15575 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15577 * buffer.C (getLists): replace boost::tie code with an explicit pair
15578 as boost::tie can break some compilers.
15580 * iterators.h: Added a std:: declaration to the return type of
15583 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15585 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15588 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15590 * iterators.[Ch]: New files. Provide paragraph iterators.
15592 * buffer.C (changeLanguage): Use paragraph iterators.
15593 (isMultiLingual): ditto
15595 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15597 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15599 * FontLoader.C: Support for cmr font.
15601 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15603 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15604 (available): New method.
15606 * FontInfo.C (getFontname): Use scalable fonts even when
15607 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15610 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15612 * converter.C (Formats::view): reverted! Incorrect fix.
15614 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15616 * converter.C (Formats::view): only output the -paper option
15617 if the dvi viewer is xdvi, thereby fixing bug #233429.
15619 2001-08-23 Herbert Voss <voss@perce>
15621 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15623 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15625 * Spacing.h (Spacing): Set space to Default on in the default
15628 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15630 * vc-backend.h (RCS::versionString): add RCS to version
15631 (CVS::versionString): add CVS to version
15633 * vc-backend.C (scanMaster): do not add CVS to version.
15634 (scanMaster): do not add RCS to version
15636 * lyxvc.C (versionString): new method
15638 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15640 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15642 * Spacing.C (set): initialize fval
15644 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15646 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15649 2001-08-16 Juergen Vigna <jug@sad.it>
15651 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15653 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15655 * BufferView_pimpl.C:
15658 * text2.C: setParagraph takes linespacing now
15660 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15662 * LyxAction.C: add internal LFUN_CITATION_INSERT
15664 * LyXView.C: actually apply fix
15666 * bufferlist.C: fix open non-existent file
15668 * lyxfind.C: fix indentation
15670 * lyxfunc.C: remove unneeded assert, fix typo
15672 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15674 * MenuBackend.C: use "Floatname List"
15676 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15678 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15679 when converting LaTeX layout to insetERT.
15680 Generate a non-collapsed float when reading old float
15682 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15684 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15687 2001-08-13 Juergen Vigna <jug@sad.it>
15689 * text.C (fill): return 0 instead of 20 as this seems to be the more
15692 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15694 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15697 2001-08-13 Juergen Vigna <jug@sad.it>
15699 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15701 (SearchBackward): comment out the unlocking of the inset_owner this
15702 should not be needed!
15704 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15706 * Many files: Remove inherit_language, and add latex_language
15708 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15709 collapsible insets.
15711 2001-08-10 Juergen Vigna <jug@sad.it>
15713 * text.C (prepareToPrint): fixed hfill-width in draw!
15715 * BufferView2.C (selectLastWord): save the selection cursor as this
15716 now is cleared in the function LyXText::clearSelection!
15718 2001-08-08 Juergen Vigna <jug@sad.it>
15720 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15721 BACKSPACE type functions.
15723 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15724 is only cutted from the document but not put in the cut-buffer, where
15725 still the old stuff should be.
15727 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15729 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15731 * tabular.C (SetWidthOfCell): fixed special case where the width
15733 (LeftLine): handle '|' in align_special.
15735 (LeftAlreadyDrawed): ditto
15736 (SetWidthOfCell): ditto
15738 2001-08-07 Juergen Vigna <jug@sad.it>
15740 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15742 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15744 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15745 * lyxlex.[hC]: ditto
15747 2001-08-06 Juergen Vigna <jug@sad.it>
15749 * text.C (getVisibleRow): fix up row clearing a bit.
15751 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15753 * minibuffer.C: make sure the X server sees the changes in the input.
15755 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15757 * paragraph.C (getFont): split into...
15758 (getLabelFont): this
15759 (getLayoutFont): and this
15760 * paragraph_pimpl.C (realizeFont): calling this
15762 * text2.C (getFont): split into...
15763 (getLayoutFont): this
15764 (getLabelFont): and this
15765 (realizeFont): all three calling this
15767 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15770 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15772 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15774 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15776 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15777 layouts from the Quote inset insertion.
15779 2001-08-03 Juergen Vigna <jug@sad.it>
15781 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15783 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15784 only if status not is already CHANGED_IN_DRAW (second level).
15786 * text.C (draw): don't set the need_break_row when inside an
15789 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15791 * buffer.C (parseSingleLyXformat2Token): handle more latex
15794 * bufferview_funcs.[hC]: change function names to
15795 begin with small char, adjust other files.
15797 2001-08-02 André Pönitz <poenitz@gmx.net>
15800 BufferView_pimpl.C: remove broken special code for math-greek
15802 2001-08-02 Juergen Vigna <jug@sad.it>
15804 * BufferView_pimpl.C (update): redone this function so that we
15805 update the text again if there was a CHANGE_IN_DRAW.
15807 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15808 (drawFromTo): added a new internal bool which is used by draw() and
15810 (general): some cursor drawing problems fixed.
15812 2001-08-01 Juergen Vigna <jug@sad.it>
15814 * lyxfind.C (LyXFind): fixed
15815 (SearchForward): ditto
15816 (SearchBackward): ditto
15818 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15819 spurius drawing of the cursor in the main area.
15821 * text2.C (status): small fix which could lead to a segfault!
15822 (clearSelection): remove unneeded BufferView param.
15824 2001-08-01 André Pönitz <poenitz@gmx.net>
15826 * lyxfunc.C: small change due to changed mathed interface
15828 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15830 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15832 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15834 * lyxfunc.c: fail gracefully if file doesn't exist
15839 * BufferView_pimpl.C: IsDirWriteable() proto changed
15841 * LyXView.C: fix updateWindowTitle() to store the last title
15843 2001-07-31 Juergen Vigna <jug@sad.it>
15845 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15846 the font (wrong since using of Paragraph::highestFontInRange).
15848 * paragraph.C (highestFontInRange): added a default_size parameter.
15850 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15851 (setHeightOfRow): reformat
15853 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15855 * converter.[hC] + affected files: move to (inital-char)lowercase
15858 * ParagraphParameters.C (ParagraphParameters): remove commented code
15860 * PainterBase.[Ch]: remove commented code
15862 * LaTeXFeatures.h: add "bool floats" for float.sty
15864 * LaTeXFeatures.C (LaTeXFeatures): init floats
15865 (require): handle float
15866 (getPackages): do it with floats
15868 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15870 * BufferView_pimpl.C (Dispatch): improve handling of
15871 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15873 * commandtags.h: #include lyxfont.h here temporarily to avoid
15876 * bufferlist.h: include LString.h here.
15878 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15880 * text2.C (getStringToIndex): new method.
15882 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15884 * *: Reduced header file dependencies all over.
15886 2001-07-30 Baruch Even <baruch@lyx.org>
15888 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15890 2001-07-29 Baruch Even <baruch@lyx.org>
15892 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15894 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15896 * ParameterStruct.h (endif): add a default constructor to make
15897 sure that all variables is initialized.
15899 * ParagraphParameters.C (ParagraphParameters): adjust
15901 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15903 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15904 index; also, check that there is something to index, and that it
15905 does not span over several paragraphs.
15906 (doubleClick): use WHOLE_WORD_STRICT for double click.
15908 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15910 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15913 2001-07-26 Baruch Even <baruch@lyx.org>
15915 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15916 an InsetFig figure, backwards compatible reading of old figure code.
15918 2001-07-27 Juergen Vigna <jug@sad.it>
15920 * text2.C: font.realize function adaption.
15922 * text.C (draw): add a warnings lyxerr text if needed.
15924 * layout.C: font.realize function adaption.
15926 * language.C: add inherit_language and implement it's handlings
15928 * bufferview_funcs.C (StyleReset): remove language parameter from
15929 font creation (should be language_inherit now).
15931 * bufferparams.C (writeFile): handle ignore_language.
15933 * paragraph.C (getFontSettings): the language has to be resolved
15934 otherwise we have problems in LyXFont!
15936 * lyxfont.C (lyxWriteChanges): added document_language parameter
15937 (update): removed unneeded language parameter
15939 * paragraph.C (validate): fixed wrong output of color-package when
15940 using interface colors for certain fonts in certain environments,
15941 which should not seen as that on the final output.
15943 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15945 * BufferView_pimpl.C:
15950 * LyXAction.C: add thesaurus support
15953 * lyxfind.C: add "once" parameter, for thesaurus, to not
15954 move to the next match
15956 2001-07-26 Juergen Vigna <jug@sad.it>
15958 * lyxfont.C (realize): honor ignore_language too!
15961 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15963 * text.C (draw): one place more for ignore_language to not draw
15966 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15968 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15970 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15972 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15973 the minipage conversion problem.
15975 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15977 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15980 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15982 * BufferView.h: don't forward declare WorkArea
15984 * BufferView.C: don't include WorkArea.h
15986 2001-07-25 André Pönitz <poenitz@gmx.net>
15990 * lyxfunc.C: new LFUN 'math-space'
15992 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15994 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15996 * text2.C (toggleInset): call open/close
15998 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16000 * lyxfunc.C (dispatch): add debug for the disabled case
16002 * font.C (buttonText): make similar to rectText
16004 * buffer.C (readInset): comment out parsing of insetlist and
16007 * PainterBase.C (rectText): small correction
16009 * BufferView_pimpl.C: comment out insettheorem and insetlist
16010 * LyXAction.C: ditto
16011 * commandtags.h: ditto
16013 2001-07-24 Juergen Vigna <jug@sad.it>
16015 * text.C (draw): honor the ignore_language.
16017 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16019 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16021 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16024 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16026 * lyxtext.h: remove unused (and unimplemented) methods
16028 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16030 * text.C (getVisibleRow): honor background color
16033 * Painter.h: remove default color argument for fillRectangle
16035 * text.C (backgroundColor): new method
16037 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16039 * text.C (getVisibleRow): adjust
16041 * font.[Ch] (rectText): new method, metrics
16042 (buttonText): new method, metrics
16044 * PainterBase.[hC]: make rectText and buttonText always draw and take
16047 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16049 * ToolbarDefaults.C (read):
16050 * MenuBackend.C (read): allow escaping in all strings
16052 * BufferView_pimpl.C (insertAndEditInset): new method.
16053 (Dispatch): use insertAndEditInset whenever appropriate.
16055 * BufferView_pimpl.C (insertNote): removed
16057 * BufferView_pimpl.C (smartQuote): new method, moved from
16058 BufferView; if an insetquote cannot be inserted, insert a '"'
16061 * BufferView2.C: remove insertCorrectQuote();
16063 * lyxfunc.C (getStatus): Add support for all remaingin
16064 inset-insert lfuns.
16066 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16068 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16069 command (necessary to pass " as parameter of self-insert.
16071 * text.C (selectWordWhenUnderCursor):
16072 (selectWord): add word_location parameter
16073 (selectWordWhenUnderCursor): same + remove special code for word
16075 (selectNextWord): use kind() to guess type of insetspecialchar,
16078 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16079 (insertErtContents): create ert insets as collapsed.
16080 (readInset): better compatibility code for Info inset.
16082 2001-07-20 Juergen Vigna <jug@sad.it>
16084 * lyxfunc.C (dispatch): use always LyXFind now!
16086 * text2.C (init): add a reinit flag so that the LyXText can be
16087 reinited instead of deleted and reallocated (used in InsetText).
16089 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16095 2001-07-18 Juergen Vigna <jug@sad.it>
16097 * text.C (selectNextWord): handle insets inside inset by calling
16098 always the bv->text functions so that we can go up the_locking_inset!
16100 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16101 in strange locations when inside an inset!
16103 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16104 handling to include insets.
16106 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16108 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16110 * LyXAction.C (init):
16112 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16113 LIGATURE_BREAK, since the name is so stupid.
16115 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16117 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16120 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16122 * sp_form.[Ch]: remove.
16124 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16126 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16129 * src/buffer.C (readInset): ditto.
16131 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16133 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16134 menuSeparator(), endOfSentenceDot(), ldots() and
16135 hyphenationPoint(), which are therefore removed.
16136 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16138 * LyXAction.C (init):
16139 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16141 * paragraph.C (getWord): removed.
16143 * BufferView_pimpl.C (Dispatch): use last word or selection for
16144 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16146 * lyx_main.C (queryUserLyXDir): do not ask before creating
16147 user_dir, except if it has been named explicitely.
16149 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16151 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16152 a document of zero size.
16154 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16156 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16157 approriately in the c-tor and in require().
16158 (getPackages): output the appropriate LaTeX for natbib support.
16160 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16161 variables "use_natbib" and "use_numerical_citations" when reading the
16163 (readInset): read the various natbib cite commands.
16164 (validate): white-space change.
16166 * bufferparams.[Ch]: new variables "bool use_natbib" and
16167 "bool use_numerical_citations".
16168 (writeFile): output them in the LyX file.
16170 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16172 * lyxfunc.C (getStatus): add support for all the inset insertion
16175 * text2.C (insertInset):
16176 * paragraph.C (insetAllowed):
16177 * BufferView_pimpl.C (insertInset): update to take in account the
16178 renaming of insertInsetAllowed
16180 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16182 * text2.C (getInset): new method. returns inset at cursor position.
16184 * BufferView_pimpl.C (Dispatch): changes because of this.
16186 * LyXAction.C (init): rename open-stuff to inset-toggle.
16188 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16190 * text2.C (toggleInset): renamed from openStuff; use
16193 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16195 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16197 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16199 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16201 * buffer.C (readLyXformat2): Add filename to the error dialog
16203 2001-07-18 Juergen Vigna <jug@sad.it>
16205 * tabular.C (GetCellNumber): put an assert here instead of the check!
16207 2001-07-17 Juergen Vigna <jug@sad.it>
16209 * BufferView_pimpl.C (toggleSelection): adapted too.
16211 * text.C (selectNextWord): adapted for use with insets.
16212 (selectSelectedWord): ditto
16214 2001-07-17 Juergen Vigna <jug@sad.it>
16216 * sp_spell.C (PSpell): fix initialitation order.
16218 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16220 * paragraph.C: spacing
16222 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16224 * sp_spell.C: repair language selection for pspell
16226 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16228 * lyxfunc.h: change more methods to begin with lower char.
16230 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16232 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16233 for unknown layouts.
16235 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16237 * buffer.C (readLyXformat2): Generate an error dialog if there are
16240 2001-07-16 Juergen Vigna <jug@sad.it>
16242 * sp_spell.C: always compile ISpell part.
16244 * lyxrc.C: added use_pspell entry and it's handling.
16246 2001-07-13 Juergen Vigna <jug@sad.it>
16248 * sp_spell.C: removed double includes.
16250 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16252 Consistent use of Lsstream.h:
16253 * Lsstream.h: added using std::stringstream for consistencies sake.
16255 * buffer.C: removed using std::stringstream
16257 * lyxfont.C (stateText):
16258 * paragraph.C (asString):
16259 * text.C (selectNextWord, selectSelectedWord):
16260 * text2.C (setCounter):
16261 * vspace.C (asString, asLatexString):
16262 std::ostringstream -> ostringstream.
16264 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16266 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16267 * commandtags.h: add LFUN_HELP_ABOUTLYX
16268 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16270 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16272 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16274 * lyx_gui_misc.C: remove spellchecker
16275 * lyxfunc.C: showSpellchecker
16277 * sp_ispell.h: added
16278 * sp_pspell.h: added
16279 * sp_spell.C: added
16280 * sp_form.[Ch]: removed
16281 * spellchecker.[Ch]: removed
16283 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16285 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16287 (simpleTeXSpecialChars): Simply print the input character without
16288 any special translation if pass_thru is set.
16290 * layout.h: Added bool pass_thru to layout class for being able to
16291 implement pass through of a paragraph for Literate Programming.
16293 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16294 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16295 * layout.C (Read): add "passthru" to list of layout tags and add
16296 code to set the pass_thru boolean when it is read.
16298 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16300 * trans_decl.h: remove allowed from KmodInfo
16302 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16303 remove allowed code
16306 * paragraph_pimpl.C (erase): use boost::prior
16308 * Painter.C (text): use data() instead of c_str() when length is
16310 * WorkArea.C (putClipboard): ditto
16311 * font.h (width): ditto
16313 * BufferView2.C: use it-> instead of (*it). for iterators
16315 * paragraph_pimpl.C: ditto
16316 * paragraph.C: ditto
16317 * minibuffer.C: ditto
16318 * language.C: ditto
16320 * encoding.C: ditto
16321 * counters.C: ditto
16322 * converter.C: ditto
16324 * Variables.C: ditto
16325 * TextCache.C: ditto
16326 * MenuBackend.C: ditto
16327 * LyXAction.C: ditto
16329 * FloatList.C: ditto
16330 * DepTable.C: ditto
16331 * ColorHandler.C (LyXColorHandler): ditto
16333 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16335 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16337 * text2.C (openStuff): reintroduce this method (which had been
16338 nuked in NEW_INSETS frenzy).
16340 * lyxfunc.C (Dispatch): when an action has not been handled, use
16341 its name in the error message, not its number.
16343 * paragraph.C (inInset): change method name to begin with lowercase.
16346 * text2.C: updates because of this.
16348 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16350 * ToolbarDefaults.C (add): add spaces in error message
16352 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16354 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16355 (readLyXformat2): rename return_par to first_par, use lyxlex's
16356 pushToken and remove the manual push handling.
16357 (parseSingleLyXformat2Token): add another ert comp. variable:
16358 in_tabular, rename return_par to first_par. handle newlines better
16360 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16362 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16364 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16366 * text2.C (getParFromID): removed
16368 * buffer.C (getParFromID): new method moved form lyxtext.
16369 * BufferView2.C (insertErrors): adjust
16370 (setCursorFromRow): adjust
16371 * BufferView_pimpl.C (restorePosition): adjust
16372 * lyxfunc.C (Dispatch): adjust
16373 * undo_funcs.C (textUndo): adjust
16375 (textHandleUndo): adjust
16376 (textHandleUndo): adjust
16378 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16380 * buffer.C: up' the LYX_FORMAT
16382 * lyxfont.h: turn NO_LATEX on as default
16384 * buffer.C (insertErtContents): new methods of tex style compability.
16385 (parseSingleLyXformat2Token): use it several places.
16386 * tabular.C (OldFormatRead): and here
16388 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16390 * text2.C: remove some commented code.
16393 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16394 * trans.C: changes because of the above.
16396 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16398 * text2.C (setCounter): Fix counters bug with bibliography layout.
16400 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16402 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16403 own member functions
16404 (simpleTeXSpecialChars): ditto
16406 2001-07-06 Juergen Vigna <jug@sad.it>
16408 * a lot of files: changed the access to LyXText::status and the
16409 call of undo-functions.
16411 * undo.[Ch]: added a inset_id to the undo informations.
16413 * undo_funcs.[Ch]: added and moved here all undo functions.
16415 * lyxtext.h: give the status enum a weight, made status_ a private
16416 variable and made accessor functions for it, removed the whole bunch
16417 of undo-functions as they are now in their own file, make some
16418 functions publically available. Added function ownerParagraph with
16421 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16422 made InInset() a const function, added getParFromID() function.
16424 * buffer.[Ch]: added const version for inset_iterator functions,
16425 added getInsetFromID() function.
16427 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16428 changed undo functions for new version.
16430 2001-07-05 Juergen Vigna <jug@sad.it>
16432 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16433 unknow mechanism does not call the proper constructor but only this
16434 one also if I request the other!?
16436 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16438 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16440 * text2.C (LyXText): use initialization lists.
16442 * lyxtext.h (Selection): initialize set_ and mark_
16443 (init): remove method
16445 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16447 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16449 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16451 * screen.[Ch]: change method names to begin with lowercase
16453 * BufferView_pimpl.C (updateScrollbar): simplify further and
16454 hopefully make it a bit faster.
16456 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16458 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16459 calling directly xforms functions.
16461 * Painter.C (Painter):
16462 * lyx_cb.C (MenuWrite):
16463 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16466 * lyx_gui.C: remove bogus guiruntime extern declaration.
16468 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16470 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16472 (redoDrawingOfParagraph): ditto
16473 (redoParagraphs): ditto
16474 (cutSelection): don't create a object for CutAndPaste use the
16475 static method directly
16476 (pasteSelection): ditto
16478 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16481 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16483 * modifications to some other files because of this.
16485 * Makefile.am (lyx_SOURCES): add XFormsView
16487 * XFormsView.[Ch]: new files
16489 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16490 the main window. Move the gui dependent stuff to XFormsView
16492 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16494 * tabular.C (GetCellInset): update cur_cell also in the row/col
16495 version of this function.
16497 * lyxfunc.C: no need to include figure_form.h here.
16503 * lyxvc.C: no need to include forms.h here.
16505 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16507 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16509 * lyxfunc.C (Dispatch):
16511 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16512 constructor argument.
16514 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16516 * paragraph.C (Paragraph): dont't clear, and just set layout.
16517 (makeSameLayout): use params's copy contructor.
16519 * ParagraphParameters.[Ch] (makeSame): delete method
16521 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16523 * Variables.[Ch]: fix indentation, rename set to isSet
16525 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16527 * lyxfunc.C (Dispatch): fix typo
16529 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16531 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16534 * bufferlist.C: include assert.h for emergencyWrite().
16536 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16538 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16539 give up at last (bug #425202) !
16541 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16547 * spellchecker.C: strip spellchecker options and bring up
16548 preferences tab instead
16550 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16552 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16553 the istringstream constructor
16555 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16557 * paragraph.C (getLayout): fix return value
16559 * paragraph.h: do not declare getLayout as inline.
16561 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16563 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16565 * lyxcursor.h (operator<): new func
16566 (operator>): new func
16567 (operator>=): new func
16568 (operator<=): new func
16570 * text.C (changeCase): use selection.start and selection.end
16571 (changeRegionCase): require from to be <= to. Require par to be a
16574 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16576 2001-06-27 Juergen Vigna <jug@sad.it>
16578 * text.C (cursorLeftOneWord): changed to return the cursor and added
16579 overlay with BufferView * parameter which calls this one.
16581 (selectWord): use new getWord function.
16582 (changeCase): renamed from changeWordCase as and extended to work
16583 also on selections.
16585 * lyxtext.h: added enum word_location
16587 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16588 changeCase as this operates now also on selections.
16590 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16592 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16594 * many files: send debug output to Debug::INFO instead of
16597 * converter.C (View):
16599 (Move): send debug output to Debug::FILES instead of console.
16601 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16603 * lyxfunc.C (getStatus): use func_status
16605 * func_status.h: new header, describing the results of
16606 LyXFunc::getStatus;
16608 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16611 2001-06-25 The LyX Project <jug@sad.it>
16613 * buffer.C (sgmlOpenTag):
16615 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16617 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16619 * text2.C: remove some dead code
16621 * tabular.C (GetCellInset): store the last cell checked (gotten)
16623 * tabular.h: add the helper for the speedup
16625 * lyxtext.h: remove some dead code
16627 2001-06-26 The LyX Project <Asger>
16629 * paragraph.C: Change export to LaTeX of alignment to
16630 \begin{center} and family for better roundtrip work with reLyX.
16632 * Tune the math drawing a bit.
16634 2001-06-25 The LyX Project <Asger>
16636 * LColor.C (LColor): New color for math background. New color
16639 2001-06-25 The LyX Project <jug@sad.it>
16641 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16643 * lyxfunc.C (Open):
16644 * bufferlist.C (newFile): do not restrict to files ending with
16647 * BufferView_pimpl.C (MenuInsertLyXFile):
16649 2001-06-24 The LyX Project <jug@sad.it>
16651 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16654 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16656 * lyxtext.h: rename most methods to begin with a small char.
16657 Lots of changes because of this.
16659 * paragraph.C (Paragraph): do not call fitToSize
16660 (erase): call Pimpl::erase
16661 (insertChar): call Pimpl::insertChar
16662 (insertInset): call Pipl::insertInset
16663 (breakParagraph): do not call fitToSize
16664 (breakParagraphConservative): do not call fitToSize
16665 (fitToSize): remove method
16667 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16669 2001-06-24 The LyX Project <Asger>
16671 * Fix Qt compilation^2
16673 2001-06-24 The LyX Project <jug@sad.it>
16675 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16676 depthHook(getDepth()-1).
16679 * ParagraphParameters.h:
16680 * ParameterStruct.h: change type of depth to unsigned int ==
16681 depth_type. Many adaptations to other files before of that.
16683 2001-06-24 The LyX Project <Asger>
16685 * Fix Qt compilation.
16687 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16689 * paragraph.h: renamed several methods to begin with small letter.
16690 several changes to many parts of the code because of this.
16692 2001-06-23 The LyX Project <jug@sad.it>
16694 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16695 rewritten to discard all double spaces when KeepEmpty is off
16696 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16697 to only handle newlines but not fiddle with spaces and friends.
16699 * lyxfunc.C (MenuNew): when doing 'new from template', use
16700 template_path as default directory
16702 2001-06-23 The LyX Project <Asger>
16704 * Clean-up of header file includes all over
16705 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16707 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16709 * paragraph.h: renamed from lyxparagraph.h
16711 2001-06-23 Asger <lyx@violet.home.sad.it>
16713 * Buffer.h: Removed Buffer::resize
16714 * BufferList.h: Removed BufferList::resize
16715 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16716 the document lazily when we change the width, or the font settings.
16718 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16720 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16722 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16724 * buffer.h: remove out of date comment
16726 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16729 * screen.C: fix "theoretical" GC leak
16731 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16733 * LaTeX.C (scanAuxFile):
16734 (deplog): remove trailing \r when reading stream (useful under
16737 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16739 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16740 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16741 and BufferView::theLockingInset(Inset*), so should use them and not
16742 access bv_->text->the_locking_inset directly.
16744 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16746 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16749 * tex-defs.h: remove old unused file
16751 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16753 * BufferView_pimpl.C: fix typo, remove minibuffer message
16754 when buffer has loaded
16756 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16758 * lyxfunc.C (Dispatch): use stringstream
16759 (MenuNew): use stringstream
16760 (Open): use stringstream
16762 * importer.C (Import): use stringstream
16764 * bufferview_funcs.C (CurrentState): use stringstream
16766 * LaTeX.C (run): use stringstream
16768 * BufferView_pimpl.C (savePosition): use stringstream
16769 (restorePosition): use stringstream
16770 (MenuInsertLyXFile): use stringstream
16772 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16785 * vspace.C: removed // -*- C++ -*- as first line.
16788 * version.h: added // -*- C++ -*- as first line.
16790 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16792 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16794 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16797 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16799 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16802 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16804 * gettext.C: include LString.h even when --disable-nls is on.
16806 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16808 * converter.h (Get): changed argument type from int to
16809 FormatList::size_type to avoid unnecessary conversion.
16811 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16814 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16816 * gettext.h: include LString.h even when --disable-nls is on.
16818 2001-06-07 Juergen Vigna <jug@sad.it>
16820 * text.C (BreakAgain): subst spaces with tabs.
16822 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16823 (resizeInsetsLyXText): set force on resizeLyXText.
16825 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16827 * gettext.h (gettext_init):
16828 (locale_init): use a real definition instead of a macro
16830 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16832 * Bufferview_pimpl.C:
16834 * LColor.C: further lcolor tidies
16836 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16838 * BufferView_pimpl.C (updateScrollbar): simplify.
16840 * BufferView2.C: don't include insets/insetinfo.h, change
16841 prototype for insertInset and call the Pimpl version. let
16842 updateInset call Pimpl version.
16844 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16845 gotoInset to BufferView::Pimpl
16847 2001-06-01 Juergen Vigna <jug@sad.it>
16849 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16850 inside a LockingInset (is the update needed at all?).
16852 2001-05-31 Juergen Vigna <jug@sad.it>
16854 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16855 here not the old one otherwise how should we compare it afterwards
16858 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16863 * FontInfo.C: bring C functions into global namespace when
16866 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16868 * LString.h: make sure config.h has been loaded before LString.h.
16870 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16871 (one for each char read by EatLine!).
16873 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16876 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16878 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16879 to the same as the par we break from
16881 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16883 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16885 * MenuBackend.C (expand): also create menu entries for wide
16886 versions of the floats.
16888 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16890 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16892 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16893 frontends/Makefile.am
16899 * tabular.C (getTokenValue): add std::
16901 * tabular-old.C (getTokenValue): add std::
16902 (getTokenValue): ditto
16903 (getTokenValue): ditto
16905 * screen.C (ToggleSelection): adjust
16907 * lyxtext.h: put selection cursors inside a Selection struct.
16909 * lyxfunc.C (moveCursorUpdate): adjust
16911 * lyxfont.C (latexWriteStartChanges): add std::
16913 * lyxfind.C: adjust
16915 * font.h: delete with(char const *, LyXFont const &)
16917 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16919 * FontInfo.C (getFontname): add std::
16921 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16922 (workAreaButtonPress): adjust
16923 (tripleClick): adjust
16925 (moveCursorUpdate): adjust
16928 * BufferView2.C (gotoInset): adjust
16930 2001-05-30 Juergen Vigna <jug@sad.it>
16932 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16933 to check pspell I add this as default as I now have new pspell
16934 libraries and they seem to use this.
16936 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16938 * text2.C (CutSelection): make the cursor valid before the call to
16941 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16943 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16944 relied on 0 terminated strings and other horrors. Bug found due to
16945 the new assert in lyxstring!
16947 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16950 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16952 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16955 * lyxfunc.C (processKeySym): change method of getting to the
16958 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16959 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16960 * BufferView_pimpl.[Ch]: here as private methods.
16962 2001-05-28 Juergen Vigna <jug@sad.it>
16964 * text.C (SetHeightOfRow): added the update() call again as it is
16965 needed to initialize inset dimensions!
16967 2001-05-16 Juergen Vigna <jug@sad.it>
16969 * text2.C (SetCharFont): Add new function with BufferView * and
16970 bool toggleall parameters for setting insets internal fonts.
16971 (SetFont): Freeze the undo as we may change fonts in Insets and
16972 all this change should be inside only one Undo!
16974 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16975 setting font's in insets as for them we have the SetFont function!
16977 2001-05-15 Juergen Vigna <jug@sad.it>
16979 * text2.C (ClearSelection): to be sure we REALLY don't have any
16982 * tabular.C (TeXCellPreamble): fixed the left border problem for
16985 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16987 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16990 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16992 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16993 LFUN_BREAKPARAGRAPH.
16995 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16996 help test to "internal only", similar for LFUN_INSERT_URL
16998 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16999 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17000 auto_region_delete and deadkeys.
17002 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
17005 * LColor.C: remove some dead entries, tidy a little
17007 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17009 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17011 (Dispatch): implement LFUN_ESCAPE
17013 * commandtags.h: add LFUN_ESCAPE
17015 * LyXAction.C (init): add entry for LFUN_ESCAPE
17017 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17018 Remove commented code.
17019 (insertNote): moved here
17020 (open_new_inset): moved here
17022 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17025 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17027 * kbmap.C (findbinding): clean it up and make it work correctly.
17029 * lyx_main.C (init): do not pass argc and argv as parameters
17031 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17033 * buffer.C: fix path for OS/2 & Win32
17037 * lyx_main.C: Added os:: class.
17039 * os2_defines.h: update
17041 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17043 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17044 better by trying again with reduced state.
17046 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17048 * lyxrc.C (read): print error about invalid key sequence only when
17049 debugging (because not all latinX keysyms are known to some X
17052 * kbsequence.C (getiso): add a few std:: qualifiers
17053 (getiso): comment out extra return statement.
17055 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17057 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17059 (Dispatch): enhance the accent inset a bit. (not perfect)
17061 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17063 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17065 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17067 * bufferlist.C (emergencyWrite): fix assert() call
17069 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17071 * text.C (InsertChar): Added trivial patch to only send the "you
17072 can not do multiple spaces this way" message once during a
17075 2001-05-08 Baruch Even <baruch@lyx.org>
17077 * Makefile.am: Changed order of libraries to get LyX to link properly
17078 with the gnome frontend.
17080 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17082 * LaTeXFeatures.h: add a std:: qualifier
17084 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17086 * paragraph.C (String): use stringstream
17088 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17090 * paragraph.C (writeFile): remove footflag arg
17092 * buffer.C (makeLaTeXFile): use stringstream
17093 (latexParagraphs): remove footnot gurba
17095 * LaTeXFeatures.C (getPackages): use stringstream
17096 (getMacros): likewise
17097 (getTClassPreamble): likewise
17098 (getFloatDefinitions): new method
17100 * paragraph.C (writeFile): reindent
17103 * WorkArea.h: revert the xpos + etc changes.
17105 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17107 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17109 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17110 (pasteSelection): likewise
17111 * text2.C (CreateUndo): likewise
17113 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17115 * minibuffer.C (peek_event): temporarily reduce the functionality
17116 of the minibuffer (to allow args on lfuns)
17118 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17119 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17121 * buffer.C (readInset): add compability reading of old float
17122 lists, add reading of new style float list.
17123 (readInset): avoid reevaluation of inscmd.getCmdName()
17124 (getLists): reindent
17126 * MenuBackend.C (MenuItem): implement parsing of
17127 md_floatlistinsert and md_floatinsert.
17128 (expand::LastFiles): move initalizaton of iterators out of loop,
17129 avoid reevaluation.
17130 (expand::Documents): introduce typdedef vector<string> Strings,
17132 (expand::ExportFormats): introduce typedef vector<Format const *>
17133 Formats, and use it.
17134 (expand): implement FloatListInsert and FloatInsert.
17136 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17137 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17138 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17140 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17142 (Dispatch::LFUN_FLOAT_LIST): implement
17144 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17146 * LaTeX.C (run): Fix problem with --export code.
17148 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17150 * BufferView.[Ch] (workarea): removed.
17151 (getClipboard) new method; wrapper for workarea()->getClipboard()
17153 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17156 * WorkArea.h (width, height, xpos, ypos): These methods all
17157 returned the dimensions of the work_area sub-area of WorkArea,
17158 resulting in a position error if the WorkArea were resized. Now
17159 return the dimensions of the entire WorkArea.
17161 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17163 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17165 * LaTeX.C (deplog): correct the syntax of regex reg1
17167 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17169 * undo.C: remove !NEW_INSETS cruft
17171 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17173 * text2.C: remove !NEW_INSETS cruft
17175 * text.C: remove !NEW_INSETS cruft
17177 * tabular.C: remove !NEW_INSETS cruft
17179 * spellchecker.C: remove !NEW_INSETS cruft
17181 * lyxtext.h: remove !NEW_INSETS cruft
17183 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17185 * lyxfunc.C: remove !NEW_INSETS cruft
17187 * lyxfind.C: remove !NEW_INSETS cruft
17189 * lyx_cb.C: remove !NEW_INSETS cruft
17191 * figureForm.C: remove !NEW_INSETS cruft
17193 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17195 * buffer.[Ch]: remove !NEW_INSETS cruft
17197 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17199 * CutAndPaste.C: remove !NEW_INSETS cruft
17201 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17203 * BufferView2.C: remove !NEW_INSETS cruft
17205 * BufferView.h: remove !NEW_INSETS cruft
17207 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17209 * Lsstream.h: include LString.h before the sstream headers to
17210 fix problem with gcc 2.95.3 and lyxstring
17212 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17214 * lyx_main.C: add using directives when needed for C functions
17215 declared in std:: namespace.
17217 2001-04-27 Juergen Vigna <jug@sad.it>
17219 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17220 (SetHeightOfRow): comment out the update call should not be needed!
17222 2001-04-13 Juergen Vigna <jug@sad.it>
17224 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17225 (LyXTabular): tried to minimize operator= operations (and realized
17226 hopfully Lars wish).
17228 2001-04-27 Juergen Vigna <jug@sad.it>
17230 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17232 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17234 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17236 * buffer.C (readInset): hack to make listof algorithm work
17238 * BufferView_pimpl.C: hack to make listof algorithm work
17240 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17242 * LyXAction.C: removed all !NEW_INSETS cruft
17243 (init): moved lfun_item in method
17245 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17247 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17249 * BufferView2.C (theLockingInset): white space.
17251 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17253 * minibuffer.C: include <iostream>
17255 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17257 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17259 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17261 * text.[Ch] (TransposeChars): new method
17263 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17265 * call message directly through LyXView instead of through LyXFunc
17266 * BufferView2.C: adjust
17267 * BufferView_pimpl.C: adjust
17268 * FontLoader.C: adjust
17270 * bufferview_funcs.C: adjust
17271 * converter.C: adjust
17272 * figureForm.C: adjust
17273 * importer.C: adjust
17275 * lyx_gui_misc.C: adjust
17276 * lyxfunc.C: adjust
17279 + more files in subdirs
17281 * lyxparagraph.h (size): move up int file
17284 * adjust all uses of Assert to lyx::Assert.
17286 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17287 lyxfunctional in namespace lyx
17288 * layout.C (hasLayout): ditto
17291 (delete_layout): ditto
17292 (NumberOfClass): ditto
17293 * converter.C (GetFormat): ditto
17298 * bufferlist.C (getFileNames): ditto
17299 (emergencyWriteAll): ditto
17302 * MenuBackend.C (hasSubmenu): ditto
17305 * BufferView_pimpl.C (getInsetByCode): ditto
17307 2001-04-18 Juergen Vigna <jug@sad.it>
17309 * vspace.C (asLatexString): fixed the 100% problem.
17311 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17313 * lyxfunc.C (Dispatch):
17315 * minibuffer.h: add a few std:: qualifiers
17317 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17319 * minibuffer.[Ch]: reimplement so that commands is initiated and
17320 run from lyxfunc, simplified som handling, and made the completion
17321 and history code for complete. wip.
17323 * lyxfunc.C (processKeySym): call message
17324 (miniDispatch): new temporary method
17325 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17326 (LFUN_MESSAGE): implement
17327 (LFUN_MESSAGE_PUSH): implement
17328 (LFUN_MESSAGE_POP): implement
17329 (initMiniBuffer): the initial/defualt minibuffer message.
17331 * lyxfont.[Ch]: inline some more getters
17333 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17335 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17337 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17338 (AutoSave): use LFUN_MESSAGE
17339 (Reconfigure): ditto
17341 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17343 * figureForm.C: use LFUN_MESSAGE
17345 * converter.C (runLaTeX): use LFUN_MESSAGE
17347 * bufferview_funcs.C: use LFUN_MESSAGE
17349 (changeDepth): ditto
17351 * bufferparams.h: use boost::
17353 * bufferlist.h: inherit privately from noncopyable
17355 * bufferlist.C (loadLyXFile): remove some commented code.
17357 * buffer.C (runChktex): use LFUN_MESSAGE
17359 * ShareContainer.h: inherit privately from noncopyable
17361 * ParagraphParameters.[hC] (depth): inline it.
17363 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17365 (message): new method
17366 (messagePush): ditto
17367 (messagePop): ditto
17368 (show): init minibuffer
17369 (showState): direct call
17371 * LaTeX.[Ch]: inherit privately from noncopyable
17372 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17373 instead of WriteStatus.
17375 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17377 * BufferView_pimpl.C (buffer): don't init minibuffer
17378 (workAreaButtonPress): use LFUN_MESSAGE
17379 (workAreaButtonRelease): ditto
17380 (savePosition): ditto
17381 (restorePosition): ditto
17382 (MenuInsertLyXFile): ditto
17383 (workAreaExpose): don't init minibuffer
17384 (update): remove commented code, simplify
17386 * BufferView2.C (openStuff): use LFUN_MESSAGE
17387 (toggleFloat): ditto
17390 (copyEnvironment): ditto
17391 (pasteEnvironment): ditto
17396 (updateInset): remove some commented code
17398 * lastfiles.h: inherit privately from noncopyable
17401 * lyx_main.h: ditto
17403 * lyxlex_pimpl.h: ditto
17405 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17406 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17407 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17409 * LyXAction.h: inherit privately from noncopyable, add methods
17410 func_begin, func_end, returning iterators to the func map.
17412 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17413 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17414 (func_begin): new method
17415 (func_end): new method
17417 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17419 (copySelection): ditto
17420 (pasteSelection): ditto
17422 * BufferView.C: whitespace change
17423 * BufferView.h: inherit privately from noncopyable
17425 2001-04-16 Allan Rae <rae@lyx.org>
17427 * tabular-old.C (l_getline):
17428 * spellchecker.C (sc_check_word):
17429 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17430 an unrecognised preprocessor directive. So ensure they're wrapped.
17432 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17434 * src/exporter.C (Export): Give an error message when path to file
17437 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17439 * LaTeX.C (deplog): Always check that foundfile exists.
17441 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17444 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17446 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17448 * tabular.[Ch] (getLabelList): implement new method
17450 * minibuffer.h: comment ouf setTiimer
17452 * minibuffer.C (ExecutingCB): constify res
17453 (peek_event): constify s
17454 (Set): constify ntext
17455 (Init): constify nicename
17457 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17459 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17460 (savePosition): use two params to Minibuffer::Set
17461 (restorePosition): ditto
17463 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17465 * lyx_main.C: include language.h
17467 * Makefile.am (lyx_main.o): add language.h
17469 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17475 * CutAndPaste.C: include gettext.h
17477 * lyxfont.h: remove old hack with ON and OFF.
17480 * lyxfont.h: do not include language.h...
17485 * bufferview_funcs.C:
17491 * paragraph.C: ... but do it here instead
17493 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17495 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17497 * tabular.C: small reformat
17499 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17502 (BreakParagraph): ditto
17503 (SetOnlyLayout): ditto
17506 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17509 * lastfiles.C: removed most using decl, add std:: where needed
17511 * buffer.C: ws changes
17513 * MenuBackend.C (class compare_format): put into anon namespace
17514 (expand): constify label, names, action, action2
17517 * text.C (SingleWidth): constify font
17518 (IsBoundary): constify rtl2
17519 (GetVisibleRow): constify ww
17521 * LaTeX.C (deplog): constify logfile
17523 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17525 (workAreaExpose): constify widthChange, heightChange
17527 * lyxrow.C (par): moved
17530 * lyxrow.h: as inlines here
17532 * lyxfont.h (shape): moved from lyxfont.C
17533 (emph): moved from lyxfont.C
17535 * lyxfont.C (LyXFont): use initialization list for all
17537 (shape): move to lyxfont.h as inline
17538 (emph): move to lyxfont.h as inline
17541 2001-04-04 Juergen Vigna <jug@sad.it>
17543 * vspace.C: had to include stdio.h for use of sscanf
17545 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17548 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17549 independent of xforms.
17551 2001-04-02 Juergen Vigna <jug@sad.it>
17553 * spellchecker.C: fixed namespace placing!
17555 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17557 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17558 the LyXParagraph * is 0.
17560 2001-03-29 Juergen Vigna <jug@sad.it>
17562 * vspace.C: added support for %, c%, p%, l%.
17563 (stringFromUnit): added helper function.
17564 (asLatexString): changed to give right results for the %-values.
17566 * buffer.C: convert the widthp in a width%.
17568 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17570 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17573 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17574 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17576 * lyx_cb.[Ch]: see above.
17578 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17582 * lyx.[Ch]: replaced by figure_form.[Ch].
17586 * lyxfunc.C: changed headers associated with above changes.
17588 2001-03-27 Juergen Vigna <jug@sad.it>
17590 * BufferView_pimpl.C: set the temporary cursor right!
17592 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17594 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17596 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17598 * LString.h: removed "using std::getline"!
17600 * BufferView_pimpl.C (Dispatch): changes due to changes in
17601 InsetInclude::Params.
17603 * buffer.C (tag_name): removed redundant break statements as they were
17604 producing lots of warnings with my compiler.
17606 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17608 * LString.h: add "using std::getline" when using the real <string>.
17610 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17612 * buffer.C: removed bitset usage.
17613 PAR_TAG moved to an anonymous name space.
17614 (tag_name): new funtion, also in the anonymous namespace.
17615 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17616 (makeDocBookFile): clean code. Completed transition from string arrays
17618 (SimpleDocBookOnePar): code clean.
17620 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17622 * tabular.C: add some comments.
17624 2001-03-22 Juergen Vigna <jug@sad.it>
17626 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17627 compatibility read a bit and fixed bug with minipage in different
17630 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17632 * buffer.C (pop_tag): removed.
17633 (push_tag): removed.
17634 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17635 array replaced with vector. Added support for CDATA sections.
17636 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17638 (makeDocBookFile): XML conformant declaration of CDATA section,
17639 fixed bug related to <emphasis> in the first paragraph char.
17640 (sgmlOpenTag): exclude empty tags.
17641 (sgmlCloseTag): ditto.
17643 * buffer.h (pop_tag): removed.
17644 (push_tag): removed.
17646 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17648 * language.h (Languages): added size_type and size().
17650 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17652 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17653 response on compability reading of minipages. One probliem is that
17654 the old usage of minipages was flertydig
17656 * several files here and in subdirs: don't use static at file
17657 scope use anon namespaces instead.
17659 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17661 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17662 LaTeX output. This is necessary for Literate document
17665 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17667 * buffer.C: insert hfill when needed.
17669 * tabular.C (l_getline): use string::erase, small whitespace change.
17671 * BufferView_pimpl.C: try the anon namespace.
17672 * WorkArea.C: ditto
17674 2001-03-16 Juergen Vigna <jug@sad.it>
17676 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17677 otherwise it won't open options-dialogs.
17679 * buffer.C: honor pextraWidth(p) on converting minipages.
17681 * tabular.C (l_getline): changed the functions to strip trailing \r.
17683 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17685 * BufferView_pimpl.C:
17686 * minibuffer..C: added "using SigC::slot" declaration.
17688 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17690 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17696 * paragraph.C: ditto
17698 * lyxtext.h: NO_PEXTRA
17700 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17702 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17703 * ParameterStruct.h: ditto
17704 * ParagraphParameters.h: ditto
17705 * lyxparagraph.h: ditto
17707 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17709 * buffer.C: add compability for minipage alignment.
17710 (latexParagraphs): remove unwanted pextra check.
17712 * several files: remove CXX_WORKING_NAMESPACES
17714 * buffer.C (pop_tag): tie is in namespace boost
17716 * BufferView.h: noncopyable is in namespace boost
17718 * lyx_main.h: ditto
17721 * lastfiles.h: ditto
17722 * bufferlist.h: ditto
17723 * ShareContainer.h: ditto
17725 * LyXAction.h: ditto
17728 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17730 * Merging changes from BRANCH_MVC back into HEAD.
17732 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17734 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17736 * BufferView_pimpl.C: change from intl.C
17740 * Makefile.am: move combox.*
17746 * intl.C: remove dialog (covered by prefs)
17748 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17750 * lyxfunc.C (Dispatch): removed redundant break statement.
17752 2001-03-14 Juergen Vigna <jug@sad.it>
17754 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17756 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17758 * buffer.C: add hack to fix compability reading of minipages.
17760 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17762 * buffer.C (getLists): Cleanup.
17764 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17766 * lyxfont.C (update): don't honor toggleall on font size.
17768 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17772 * Makefile.am: moved to frontends/xforms/
17776 * BufferView_pimpl.C: changes for moved mathpanel
17778 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17780 * gettext.h: fix gettext_init() in --disable-nls
17782 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17784 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17786 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17789 * lyx.h: strip external form
17791 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17793 * BufferView_pimpl.C: add comment, destroySplash()
17795 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17797 * BufferView_pimpl.C:
17801 * lyxfunc.C: use re-worked insetinclude
17803 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17805 * buffer.C: add using std::stringstream.
17807 * lyx_cb.C: readd using std::ios.
17809 * buffer.C: add using std::map.
17811 * BufferView_pimpl.C: add using std::vector.
17813 * ShareContainer.h: add std:: to swap.
17815 * buffer.h: add some typedefs
17816 * buffer.C (getLists): use them
17817 (getLists): renamed from getTocList.
17818 add a counter for the different float types and use it in the
17820 (getLists): use the same counter for the NEW_INSETS and the "non"
17823 * lyx_cb.h: remove unused items, includes, using etc.
17825 * ShareContainer.h: remove some commented code, add more comments
17826 and "documentation".
17828 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17830 * buffer.C (getTocList): make the list also when NEW_INSETS is
17833 * buffer.h: remove TocType
17835 * buffer.C (getTocList): change to return a map<string,
17836 vector<TocItem> >, implement for dynamic number of list.
17838 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17839 * text2.C (PasteSelection): adjust
17840 * CutAndPaste.C (pasteSelection): adjust
17842 * FloatList.C (FloatList): update from the new_insets branch.
17843 * Floating.[Ch]: ditto
17844 * LaTeXFeatures.C: ditto
17846 * lyxlex_pimpl.C: ditto
17848 * paragraph.C (Last): remove when NEW_INSETS is defined.
17850 * other file: changes because of the above.
17852 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17854 * lyxparagraph.h: rename next to next_, previous to previous_,
17855 make them private for NEW_INSETS. Rename Next() to next(),
17856 Previous() to previous().
17858 * other files: changes because of the above.
17860 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17863 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17866 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17868 * main.C (main): pass lyx_localedir to gettext_init().
17870 * gettext.h: remove locale_init and gettext_init macros
17872 * gettext.C (locale_init): new function
17873 (gettext_init): new function
17875 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17878 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17880 * Moved credits to frontends:
17881 * credits.[Ch]: removed
17882 * credits_form.[Ch]: removed
17883 * lyx_gui_misc.C: remove credits stuff
17886 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17888 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17890 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17891 unneeded destructor.
17893 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17894 a standalone pointer again.
17896 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17898 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17904 * ToolbarDefaults.C:
17913 * BufferView_pimpl.C: use new file dialog in GUII
17916 * lyx_cb.C: remove LayoutsCB to Toolbar
17918 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17920 * ShareContainer.h (get): add std:: qualifier
17922 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17924 * ShareContainer.h: define a proper ShareContainer::value_type
17925 type (and use typename to please compaq cxx)
17927 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17929 * lyxparagraph.h: move serveral local vars to
17930 ParameterStruct/ParagraphParameters., use ShareContainer in
17931 FontTable., make vars in FontTable private and add getter and
17934 * paragraph.C: changes because of the above.
17936 * lyxfont.h: remove copy constructor and copy assignment. (the
17937 default ones is ok), move number inside FontBits. move inlines to
17940 * lyxfont.C: add number to initializaton of statics, move several
17941 inlines here. constify several local vars. some whitespace
17942 cleanup. Dont hide outerscope variables.
17944 * Spacing.h: add two new constructors to match the set methods.
17946 * ShareContainer.h: new file, will perhaps be moved to support
17948 * ParameterStruct.h: new file
17950 * ParagraphParameters.h: new file
17952 * ParagraphParameters.C: new file
17954 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17955 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17957 * BufferView_pimpl.C: ParagraphParameter changes.
17958 * buffer.C: Likewise.
17959 * bufferview_funcs.C: Likewise.
17960 * text.C: Likewise.
17961 * text2.C: Likewise.
17963 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17965 * lyxfind.C (LyXReplace): do not redefine default argument in
17967 (IsStringInText): ditto
17968 (SearchForward): ditto
17969 (SearchBackward): ditto
17971 2001-03-06 Juergen Vigna <jug@sad.it>
17973 * lyxfind.C (IsStringInText): put parentes around expressions.
17975 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17977 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17979 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17981 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17983 * stl_string_fwd.h: add comment
17985 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17988 * tabular.C: remove unused DocBook methods
17994 killed DO_USE_DEFAULT_LANGUAGE
17996 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17998 * lyx_gui.C: do not include language.h.
18000 * bufferview_funcs.C (ToggleAndShow): do not provide optional
18001 arguments in function implementation.
18003 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18005 * BufferView_pimpl.C: add <ctime>
18007 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18009 * BufferView_pimpl.C: add using std::find_if
18011 2001-02-27 José Matos <jamatos@fep.up.pt>
18013 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18016 2001-02-11 José Matos <jamatos@fep.up.pt>
18018 * buffer.C (makeDocBookFile): command styles now have a parameter as
18019 "title" by default.
18021 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18023 * layout_forms.[Ch]: removed
18024 * lyx_cb.[Ch]: out character
18025 * lyx_gui.C: out character
18026 * lyx_gui_misc.C: out character
18027 * bufferview_funcs.C: : out character,
18028 added toggleall as parameter in ToggleAndShow
18030 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18032 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18034 * text2.C (SetCurrentFont): Disable number property at boundary.
18036 2001-02-26 Juergen Vigna <jug@sad.it>
18038 * lyxfunc.C (getStatus): added a string argument override function so
18039 that this is correctly called from LyXFunc::Dispatch if it contains a
18040 do_not_use_argument which is used!
18041 (Dispatch): added check for "custom" export and call appropriate func.
18043 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18045 * lyxrc.C: Add language_command_local, language_use_babel and
18046 language_global_options.
18048 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18050 * buffer.C (makeLaTeXFile): Use language_use_babel and
18051 language_global_options.
18053 2001-02-23 Juergen Vigna <jug@sad.it>
18055 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18056 which works with LyXText and putted it inside BufferView. Here now we
18057 only call for that part the BufferView::Dispatch() function.
18059 * BufferView.C (Dispatch): added.
18061 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18062 functions which needs to use a LyXText over from LyXFunc.
18063 (MenuInsertLyXFile): added
18064 (getInsetByCode): added
18065 (moveCursorUpdate): added
18066 (static TEXT): added
18068 2001-02-22 Juergen Vigna <jug@sad.it>
18070 * BufferView_pimpl.C (update): call a status update to see if LyXText
18073 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18075 * vc-backend.C (revert): implement for CVS
18076 (getLog): implement for CVS
18078 2001-02-20 Juergen Vigna <jug@sad.it>
18080 * text2.C (ClearSelection): added BufferView param for inset_owner call
18082 * lyxfunc.C (TEXT): added this function and use it instead of
18083 directly owner->view()-text of getLyXText().
18085 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18087 * src/layout_forms.C: out preamble
18088 * src/layout_forms.h: out preamble
18089 * src/lyx_cb.C: out preamble
18090 * src/lyx_cb.h: out preamble
18091 * src/lyx_gui.C: out preamble
18092 * src/lyx_gui_misc.C: out preamble
18093 * src/lyxfunc.C: connect with guii preamble
18095 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18097 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18099 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18101 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18102 whether to run bibtex.
18104 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18106 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18108 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18110 * Makefile.am (lyx_SOURCES): removed bibforms.h
18112 * vspace.h: doxygen
18114 * text.C (GetVisibleRow): make several local vars const
18116 * tabular.C: small cleanup.
18118 * lyxserver.C (callback): use compare instead of strncmp
18120 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18121 inlines to after class or to paragraph.C
18123 * lyxfont.h: remove friend operator!=
18125 * converter.h: move friend bool operator< to non friend and after
18128 * combox.h: small cleanup
18130 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18131 to inlines after class def.
18133 * buffer.C (pop_tag): use string operations instead of strcmp
18135 * bmtable.c: doxygen, small cleanup
18137 * LaTeX.h: remove friend operator==
18139 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18151 * BufferView_pimpl.C:
18152 * BufferView.[Ch]: remove cruft
18154 2001-02-14 Juergen Vigna <jug@sad.it>
18156 * lyxfunc.C: removed #if 0 unused code
18158 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18160 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18162 * text2.C (SetSelection): added a BufferView * parameter
18164 2001-02-13 Juergen Vigna <jug@sad.it>
18166 * lyxfunc.C (Dispatch): fixed protected blank problem.
18167 * BufferView2.C (protectedBlank): added LyxText * parameter.
18169 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18170 (AppendColumn): same as above for column_info.
18172 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18173 (moveCursorUpdate): use a LyXText param for support of InsetText.
18175 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18176 (tripleClick): ditto
18178 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18180 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18182 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18184 * text2.C (SetSelection): set correct update status if inset_owner
18185 (ToggleFree): ditto
18187 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18189 * tabular.C: remove some commented code.
18191 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18193 * BufferView_pimpl.C: call hideSplash()
18195 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18198 * bibforms.h: remove
18201 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18202 add LFUN_CHILD_CREATE
18204 * counters.h: fix tiny typo
18209 * lyx.C: move splash to frontends/xforms/
18211 * lyx_gui_misc.C: move Include and Bibform to frontends
18213 * lyxvc.h: clarify comment
18215 * vspace.C: tiny housekeeping
18217 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18219 * text.C (PrepareToPrint): RTL Fix.
18221 * paragraph.C (GetUChar): New method.
18222 (String): Use GetUChar.
18224 * buffer.C (asciiParagraph): Use GetUChar.
18226 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18228 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18230 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18233 * buffer.C: rename to getLogName(), handle
18234 build log / latex log nicely
18236 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18239 * MenuBackend.h: remove support for reference menuitem type.
18241 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18243 * BufferView_pimpl.C: housekeeping
18244 * BufferView_pimpl.h:
18249 * minibuffer.h: move Timeout GUI-I
18251 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18253 * lyxrc.C (read): Update converters data-structures.
18255 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18257 * LaTeX.h (operator!=): add operator != for Aux_Info
18259 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18261 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18263 * LaTeXLog.C: deleted, useful code moved to Buffer
18266 * buffer.C: new function getLatexLogName()
18272 * lyxfunc.C: use frontends for LaTeX and VC logs
18274 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18276 * LaTeX.h: yet another std:: that Allan forgot.
18278 * Variables.C (set): renamed from isset(), because this clashes
18279 with some HP-UX macros (grr).
18281 2001-02-06 Allan Rae <rae@lyx.org>
18283 * LaTeX.h: Another bug fix. Missing std:: this time.
18285 2001-02-04 Allan Rae <rae@lyx.org>
18287 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18288 floats problem. I've left it commented out because it's not quite
18289 correct. It should also test that the current object is a table or
18290 figure inset. But I haven't gotten around to figuring out how to do
18291 that. I *think* it'll be something like: "table" == inset.type()
18293 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18296 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18298 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18299 all the citation/databases/styles in the auxilary file.
18300 (run): Rerun latex if there was a babel language error.
18302 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18304 * text.C (Backspace): Preserve the font when changing newline char
18306 (BreakParagraph): If the cursor is before a space, delete the space.
18308 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18310 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18312 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18313 new argument (code).
18314 (ChangeCitationsIfUnique): New method.
18316 * paragraph.C (GetPositionOfInset): Handle bibkey.
18318 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18320 * BufferView_pimpl.h: change type of Position::par_pos to
18321 LyXParagraph::size_type.
18323 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18325 * BufferView_pimpl.C (savePosition, restorePosition): Write
18326 messages to minibuffer.
18328 2001-01-28 José Matos <jamatos@fep.up.pt>
18330 * buffer.C (makeDocBookFile): adds support for document language.
18331 A silly restriction on the name of LatexCommand types where removed.
18332 Added support for CDATA sections, allows to chars unescaped, used
18333 among others in code, to avoid escape < and >.
18335 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18337 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18338 saved positions instrad of a stack. Furthermore, a position is
18339 stored using paragraph id/paragraph position.
18341 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18342 Remove LFUN_REF_BACK.
18344 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18346 * converter.C (dvipdfm_options): New method.
18348 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18350 * vspace.C (isValidLength): Fix for empty input string.
18352 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18354 * LyXAction.C (init): change description of LFUN_FIGURE to
18357 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18359 * LaTeX.C: add using directive
18361 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18363 * MenuBackend.C (expand): Fix the sorting of the formats.
18365 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18367 * lyx_main.C: tiny error message fix
18369 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18371 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18372 calling fl_initialize(). This fixes the problem with ',' as
18373 decimal separator in text files.
18375 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18377 * trans.C (process): Fix the keymap bug.
18379 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18381 * LaTeX.C (scanAuxFiles): New method. Provides support for
18382 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18383 (scanLogFile) Scan for "run BibTeX" messages.
18385 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18386 OT1 font encoding. Also, load the aecompl package if the ae
18389 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18391 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18393 * texrow.C (increasePos): turn two error messages into debug
18396 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18398 * LaTeX.C (scanAux): Handle the \@input macro.
18399 (runBibTeX): Use scanAux().
18401 * language.C (latex_options_): New field.
18403 * LaTeXFeatures.C (getMacros): Add language macros.
18405 * buffer.C (makeLaTeXFile): Small fix.
18407 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18409 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18411 * text2.C: add a using directive.
18413 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18418 * lyxfunc.C: kill LyXBell.
18420 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18422 * text.C (IsBoundary): Remove the error message
18424 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18426 * lyxrc.C (setDefaults): Correct initialization value for
18429 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18431 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18434 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18435 and GotoNextNote().
18437 * src/LyXAction.C: Added reference-next.
18439 * text.C (InsertChar): Use contains instead of strchr.
18441 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18443 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18445 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18446 alignment commands (when needed).
18448 * text.C (InsertChar): Add ':' to number separator chars.