1 2005-10-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * text3.C (getStatus): re-enable disabled code. (bug 2081)
5 * BranchList.h (empty): constify.
7 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10 * MenuBackend.C (expandBranches): take the branch list from the
11 master document (bug 2092).
13 * MenuBackend.C (expandBranches):
14 * bufferparams.C (writeFile): use BranchList type.
16 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
18 * text3.C (dispatch, getStatus):
20 * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
22 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
24 * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
26 2005-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
28 * text.C (insertChar): do not reset boundary (bug 2061)
30 2005-10-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
32 * dociterator.C (updateInsets): new method. Updates the inset_
33 cache of all the slices of the iterator.
35 * text2.C (deleteEmptyParagraphMechanism): compare also containing
36 insets when comparing pit/pos; pass the right cursor to
37 recordUndo; when a paragraph has been deleted, compare `old.top()' to
38 the right cursor slice of `cur'; use updateInsets on cur to make
39 sure that the inset caches are correct; general cleanup.
41 2005-10-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
43 * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
44 dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
45 containg inset. If this does not work, the same command will be
46 sent to other insets down the queue by LCursor::dispatch. (bug 2066)
48 * lyxfunc.C (dispatch): make sure the cursor is correct when doing
51 2005-10-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
53 * lyxtextclass.C (Read): convert layout file if the format is wrong
54 * lyxtextclass.C (layout2layout): new, needed for the above
56 2005-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
58 * messages.C: do not forget to include <cerrno>.
60 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
62 * dociterator.h (StableDocIterator): add access to pos().
63 * undo.C (samePar): new method to check if two
64 iterators are in the same paragraph
65 * undo.C (recordUndo): check for samePar instead of cell identity
66 (which includes pos() and is too strict) (fixes bug 2097)
68 2005-10-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
70 * text.C (setCursorFromCoordinates): return a bool telling whether
73 * text3.C (cursorPrevious): update if needed after
74 setCursorFromCoordinates (when dEPM triggered).
76 * text2.C (cursorDown, cursorUp): make sure to reset the anchor
77 (otherwise the anchor may be completely wrong and make dEPM assert).
79 2005-10-12 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
81 * buffer.C: version upgrade to 245.
82 * bufferparams.C: remove \quotes_times (bug 2090).
83 * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
84 quotation marks as default.
86 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
88 * CutAndPaste.C (nrOfParagraphs): remove (unused)
89 * CutAndPaste.C (cutSelection): Remove debug message
90 * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
91 undo information and only copy if this is a real cut
92 * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
94 * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
96 * CutAndPaste.C (eraseSelection): prevent cursor corruption
97 * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
98 superflous cur.selection() setting
99 * CutAndPaste.[Ch] (grabSelection): take a const cursor
100 * cursor.C (selectionAsString): implement mathed case ((bug 2059)
102 2005-10-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
104 * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
107 2005-10-11 Martin Vermeer <martin.vermeer@hut.fi>
109 * BufferView_pimpl.C: comment layout change
111 2005-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
115 * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
116 by bibliography managers (bug 2071).
118 2005-10-07 Martin Vermeer <martin.vermeer@hut.fi>
120 * BufferView_pimpl.C (update): choose arguments to update call so
121 that single-par update works most times
122 * text3.C (dispatch): carefully tune updating separately for
123 whole-screen and current-paragraph
124 * rowpainter.C (paintText): 1) replace painting by caching for
125 the two extra paragraphs, because we can;
126 2) suppress greying out of areas below/above drawn area in case of
128 * lyxfunc.C (dispatch): remove superfluous update
129 * LyXAction.[Ch]: introduce SingleParUpdate
131 2005-10-05 Angus Leeming <leeming@lyx.org>
133 * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
134 always initialised before use.
136 * text.C (setHeightOfRow): squash warning about comparison
137 of signed and unsigned types.
139 2005-10-03 Martin Vermeer <martin.vermeer@hut.fi>
141 * text.C (cursorX): two fixes involving RtL text drawing
143 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
145 * cursor.C (erase): fix 'clever' UI hack. It was activated for all
146 items, not only large ones (part of bug 2057)
148 2005-10-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
150 * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
151 argument, use "newcommand".
153 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
155 * cursor.C (setSelection): do not open collapsable insets;
156 the insets do by themselves now (autoopen).
158 2005-09-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
160 * buffer.C: format is up to 244.
162 2005-09-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
164 * text.C (redoParagraph): fix calcultation of inset width wrt
165 leftMargin (bug 1957).
167 * text3.C (dispatch): leave inset to the right when hitting ESC
170 2005-09-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
175 * messages.C: include <boost/current_function.hpp>
177 2005-09-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
179 * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
180 when command is internal. (bug 1941)
182 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
184 * text2.C (cursorRight): do not honor boundary when at the end of
185 a paragraph. (bug 2010 again)
187 2005-09-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
189 * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
191 2005-09-19 Martin Vermeer <martin.vermeer@hut.fi>
193 * rowpainter.C (paintText): fix RtL space width display bug (2029)
195 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
197 * text2.C (setCursor): remove the unused 'boundary' parameter for
198 the CursorSlice version; adapt the LCursor version.
201 * paragraph_pimpl.C (markErased):
202 * cursor.C (bruteFind2, bruteFond3): fix warnings.
204 2005-09-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
206 * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
207 as is already done for "chapter".
209 2005-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
211 * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
212 textclass; do not record undo if nothing is changed.
214 2005-09-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
216 * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
218 2005-09-14 Michael Gerz <michael.gerz@teststep.org>
220 * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
222 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
224 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
225 combox, it is necessary to search for the topmost paragraph in the
226 cursor stack (bug 1926)
228 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
230 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
231 end of paragraph. (bug 2010)
233 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
235 * text.C (leftMargin): check for inInset == 0
237 2005-09-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
239 * text.C (leftMargin): test for insetbase's new neverIndent()
240 bool instead of listing each and every inset that does not
241 wish par indendation.
243 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
245 * buffer_funcs.C (setCounter): put the code to compute enum label
246 here (where it belongs).
248 * counters.C (enumLabel): move code to buffer_funcs.C.
250 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
252 * outputparams.[Ch]: store local_font instead of local_language
253 * paragraph.C (simpleTeXOnePar): adapt to the change above
255 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
258 * counters.[Ch]: clean up special code for Hebrew.
260 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
262 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
265 2005-09-08 Angus Leeming <leeming@lyx.org>
268 * lyxrc.C: correct grammar describing invocation of the
271 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
273 * text.C (read): remove unused variable.
274 (readParToken): remove static Change variable (never good in
275 recursive settings...); add it as a parameter instead.
277 * paragraph_pimpl.C (acceptChange): make debug info conditional.
279 * metricsinfo.C (PainterInfo): add new member erased_.
281 * rowpainter.C (RowPainter): add erased_ member, initialized from
283 (paintInset): pass erased_ to Inset::draw.
285 * lyxfunc.C (lookupChange): new function. Tells whether change
286 tracking is disabled at a given postion.
287 (getStatus): disable some actions when in deleted text with change
290 2005-08-03 John Levon <levon@movementarian.org>
292 * tabular.C (appendColumn, setMultiColumn): adapt to change to
295 * paragraph_pimpl.C (markErased): add bool argument and handle it.
296 Also make sure to mark insets recursively.
297 (rejectChange, erase): be recursive
299 * paragraph.C (markErased): add bool argument.
300 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
302 * lyxfind.C (findNextChange): tiny cleanup.
304 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
305 change tracking with the cursor in an inset; make sure the first
306 change is not skipped.
308 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
310 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
311 tabularStackDirty to work around bug 1919 (tabular needs
312 to know whether its own cell paste buffer or the one of
314 * CutAndPaste.C: mark tabular_stack_ clean after copy.
316 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
318 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
320 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
322 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
323 use old deleteion algorithm when changetracking is on.
325 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
327 * messages.C (get): add debug output.
329 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
331 * text.C (cursorX): fix bug 1965: cursor movement at
332 line end broken in RtL.
333 (drawSelection): fix bug 1970: drawing of single-line
334 selection broken for RtL.
336 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
340 * dociterator.h (clear, push_back, pop_back): change from
343 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
344 and changed to just return the value of the item depth; take a
345 ParIterator as argument; take the itemdepth at outer nesting level
346 in account if necessary; cleanup and comment the code.
347 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
348 and changed to just return true if reset is needed; take a
349 ParIterator as argument; cleanup and comment the code.
350 (setCounter): adapt to above changes.
352 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
354 * text3.C (dispatch): make debug message optional
356 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
358 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
361 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
363 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
365 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
367 * text.C (insertChar):
368 * text2.C (deleteEmptyParagraphMechanism): take care whether
369 a blank has been deleted (in change tracking mode) (bug 1254).
371 2005-07-20 John Levon <levon@movementarian.org>
373 * text2.C (insertStringAsLines): remove old dubious code,
376 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
378 * MenuBackend.C (expandToc): use Floating::listName() as title of
381 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
383 * toc.[Ch]: Do not use translatable strings (bug 1870).
385 2005-07-20 John Levon <levon@movementarian.org>
387 * tabular.C: fix 1748 - setting multicolumn adds
388 left line to the first cell
390 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
393 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
396 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
398 * messages.C: supress some lyxerr messages
400 2005-07-18 Juergen Vigna <jug@lyx.org>
402 * text.C (drawSelection): honor boundary when asking for cursorX.
404 2005-07-17 José Matos <jamatos@fc.up.pt>
406 * tabular.C (recalculateMulticolumns): fix handling of one column
409 2005-07-17 Juergen Vigna <jug@lyx.org>
411 * text.C (Delete, backspace): fixed so that paragraph with the
412 same layout can be merged by Delete/Backspace.
414 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
416 * text.C (readParToken): fix spelling.
418 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
420 * text2.C: fix counter update for DEPM problem reported by
423 2005-07-17 Juergen Vigna <jug@lyx.org>
425 * BufferView_pimpl.C (setBuffer): save/restore the
426 cursor/selection when switching buffers
429 * buffer.C (saveCursor): add saveDocumentIterators to save the
430 cursor when switching buffer.
432 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
435 * buffer.C: clarify message
437 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
439 * dociterator.C (DocIterator): fix initialization order
441 2005-07-17 Juergen Vigna <jug@lyx.org>
443 * text2.C (cursorHome):
444 * text.C (drawSelection, cursorX):
445 * dociterator.C (textRow): add boundary to getRow() call
447 * paragraph.C (getRow): implementation of below
449 * paragraph.h: add parameter boundary for getRow() function
451 2005-07-17 José Matos <jamatos@fc.up.pt>
455 * tex-strings.[Ch]: new file format, remove support for a4.sty,
456 a4wide.sty and a4widemargins.
458 2005-07-17 Juergen Vigna <jug@lyx.org>
460 * text2.C (cursorLeft): fix one of error
462 2005-07-17 Juergen Vigna <jug@lyx.org>
464 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
466 more fixes for boundary handling
468 * text3.C (dispatch): don't reset cursor if boundary has changed
471 2005-07-16 Juergen Vigna <jug@lyx.org>
473 * text2.C (getColumnNearX): hopefully got it right now,
474 check if we are on column 0 for special case.
476 2005-07-16 Juergen Vigna <jug@lyx.org>
478 * text2.C (getColumnNearX): handle special case Newline Inset
480 * text.C (singleWidth): Just remove bogus check
482 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
484 * funcrequest.C (split): avoid reading uninitialized char c
486 2005-07-16 José Matos <jamatos@fc.up.pt>
492 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
493 single papersize variable.
495 2005-07-16 Juergen Vigna <jug@lyx.org>
497 * text3.C (dispatch): honor boundary when checking if a cursor
498 movement has been done
500 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
501 (setCursor, setCursorIntern): fix cursor movement with boundary
503 2005-07-16 Juergen Vigna <jug@lyx.org>
505 * text.C (currentState): output the actual Boundary
507 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
509 * factory.C (createInset): fix bad logic for tabular creation
511 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
513 * lyx_main.C (init): change some reLyX reference to tex2lyx
515 2005-07-16 Juergen Vigna <jug@lyx.org>
517 * dociterator.C (DocIterator): initialize boundary
519 2005-07-16 Juergen Vigna <jug@lyx.org>
521 * text2.C (getColumnNearX): Consider rows without trailing blank.
523 2005-07-16 André Pönitz <poenitz@gmx.net>
525 * lyxfont.h: Change order of declarations to give the compiler
526 a better chance to inline things
528 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
529 questions on unsaved docs for better scritability
531 2005-07-16 André Pönitz <poenitz@gmx.net>
533 * paragraph.h (getChar): remove asserts as the same kind of security
534 can be achieved by using a suitable standard library implementation
535 and the function was in the critical path (25.9% in profiler)
537 2005-07-16 Juergen Vigna <jug@lyx.org>
539 * cursor.C (bruteFind2):
540 * bufferview_funcs.C (coordOffset):
541 * text.C (cursorX,cursorY): Handle cursor position after last char
542 in row before a inset which uses a whole row.
544 2005-07-15 José Matos <jamatos@lyx.org>
546 * output_plaintext.[Ch] (writeFileAscii): control reference title
548 (asciiParagraph): noparbreak was already deal and was incorrectly
551 2005-07-15 Juergen Vigna <jug@lyx.org>
553 * lyxfunc.C (dispatch): save and restore the cursor after a
556 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
558 * text.C (backspace): bug 806 for empty keepempty paragraphs we
559 change the layout to default before letting DEPM do its thing.
561 * paragraph_funcs.C (breakParagraph): dont reset the layout on
564 * text.C (setCursorFromCoordinates): add a debug statement
566 * text2.C (getColumnNearX): bug 1825 make sure that we don't
567 return a pos that is not on the row
569 * output_latex.C (TeXDeeper): get rid of potential dereferencing
570 of past the end iterator
572 2005-07-14 André Pönitz <poenitz@gmx.net>
574 * undo.C (recordUndoFullBuffer): implement undo for
577 2005-07-14 André Pönitz <poenitz@gmx.net>
579 * cursor.C (setSelection): open insets when selection is set there
580 to avoid crashs with cold coord cache
582 2005-07-14 André Pönitz <poenitz@gmx.net>
584 * trans_mgr.C (insert): move cursor to the right after inserting
587 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
589 * BufferView_pimpl.C (update): dampen some of the debug blabbering
590 * factory.C (readInset): ditto
591 * text.C, text2.C: ditto
593 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
595 * buffer.C: format incremented to 242. There is no file format per
596 se, but the "frenchb" language has been removed from lib/language
597 and has to be translated to "french" by lyx2lyx.
599 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
601 * cursor_slice.h, dociterator.h: add some documentation
602 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
604 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
606 * text.C (leftMargin): do not add identation to display() style
607 insets, because they are always centered (bug 1293).
609 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
611 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
612 formatted_time methods in support/lyxtime.
614 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
616 * toc.[Ch]: new method getGuiName, which is used by the frontends
617 to set the toc combo (fixes bug 1870). Make TOC string translatable.
619 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
621 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
622 StableDocIterator const &)
623 * undo.C (recordUndo): use the above instead of cell.size() comparison
624 (fixes bug 1808; instructed by Andr�.
626 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
629 * dociterator.h: Fix the assert when copying rows/cols in math
631 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
633 * BufferView_pimpl.C:
635 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
637 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
638 (findInset): new functions, refactored from goto Inset that return
639 the position of a certain inset without setting the buffer's cursor
641 (gotoInset): rewrite to call findInset and then set the cursor
644 2005-06-16 Angus Leeming <leeming@lyx.org>
646 * lyxrc.C (output, read): wrap all input and output of paths with
647 calls to os::internal_path and os::external_path, respectively.
648 (output): wrap bind_file inside quotes.
650 * format.C (view): enable the viewer to use the '$$s' placeholder.
652 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
654 * LColor.[Ch] (getFromLaTeXName): new
656 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
658 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
660 2005-06-14 Angus Leeming <leeming@lyx.org>
662 * lyx_main.C (init): ensure that the LyX binary dir is the first
663 element in the PATH on non-POSIX builds.
665 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
667 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
669 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
671 * rowpainter.C (paintInset, paintHebrewComposeChar)
672 (paintArabicComposeChar, paintChars): add a LyXFont argument.
673 (paintChars): use getFontSpan to reduce calls to getFont to a
674 minimum; use Paragraph::lookupChange instead of isXXXText.
675 (paintForeignMark): rename LyXFont argument.
676 (paintFromPos): pass a LyXFont object to the various paintXXX
679 * FontIterator.C (FontIterator, operator++): use
680 Paragraph::getFontSpan
682 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
683 version that returns the font span as a pair.
685 2005-06-09 Angus Leeming <leeming@lyx.org>
687 * converter.C (convert): Don't forget "outfile = real_outfile" as
688 the final step in a conversion where the input and output file names
689 are the same. Otherwise, future conversion steps won't work...
691 2005-06-09 Angus Leeming <leeming@lyx.org>
693 * lyxsocket.C: remove stub code as it isn't needed by
694 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
696 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
698 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
699 effectively disabled -x
701 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
703 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
704 when it actually makes sense.
706 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
708 * BufferView_pimpl.C: revert to showCursor in connection with
709 Lars's front-end stack
711 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
713 * text.C (redoParagraph): move cursor right after a bibitem
716 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
718 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
720 * buffer_funcs.C (bufferErrors): fix computation of the end of an
723 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
725 * BufferView.[Ch] (update):
726 * BufferView_pimpl.[Ch] (update, metrics):
727 * dimension.h (operator==):
728 * lyxfunc.C (dispatch):
729 * metricsinfo.h (ViewMetricsInfo):
730 * rowpainter.C (paintText):
732 * text.C (redoParagraph):
733 * text3.C (dispatch): Make LyX only repaint current paragraph in
734 case of character insert --> speedup. Also fix cursor draw
737 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
739 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
740 avoid a crash (bug 1891)
742 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
746 * text2.C (getStringToIndex): constify cur argument.
748 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
749 argument has been given
750 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
751 try to invoke LFUN_INSET_APPLY).
753 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
754 if no inset was created by doInsertInset
755 (doInsertInset): return true if an inset has been inserted.
757 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
759 * vspace.C (asGUIName): new method. A version of the space
760 suitable for showing on screen.
762 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
765 * lyxrc.C: rename "ASCII" to "Plain Text"
767 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
769 * buffer_funcs.C (expandLabel): take a Buffer as argument;
770 translate the labelstring.
771 (setCounter): translate labelstring as needed.
773 * output_docbook.C (makeCommand): fix expandLabel invokation
775 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
777 * BufferView.C: fix dialog title
779 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
781 * lyx_main.C (priv_exec): fix logic error with help from Angus
782 * lyx_main.C (parse_execute): set is_gui = false and remove now
783 obsolete comment about a segfault
785 2005-05-18 Angus Leeming <leeming@lyx.org>
787 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
789 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
791 * tabular.[hC]: added setCellInset to fix tabular paste.
793 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
795 * buffer.C (save): check if destination is writable before trying
798 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
800 * BufferView_pimpl.C (update): fix processEvents -caused update
803 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
805 * buffer_funcs.C (setCounter): fix test for numbering of
808 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
809 depth correctly; use optional argument when it exists
811 * lyxtextclass.C: remove unused MaxCounterTags enum
812 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
813 (max_toclevel, min_toclevel): new methods.
815 * MenuBackend.C (expandToc2): fix case where depth is smaller than
816 the smallest depth in toc.
818 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
819 layouts that should not appear in a table of contents.
821 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
823 * cursor.h (undispatched, noUpdate): add comments from Andr�
824 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
828 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
830 2005-05-07 André Pönitz <poenitz@gmx.net>
832 * cursor.[Ch] (leaveInset): new function
834 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
836 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
838 2005-05-04 Angus Leeming <leeming@lyx.org>
840 * lyxfunc.C (getStatus): disable the spell checker dialog if
841 none of USE_[AIP]SPELL are defined.
843 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
845 * tabular.C (setWidthOfCell): remove obsolete comment
847 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
849 * paragraph.C (bibitem):
850 * buffer_funcs.C (setCounter):
851 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
853 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
855 * text3.C (getStatus): immediately return after setOnOff
857 * rowpainter.C: fix drawing of appendix start
859 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
861 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
862 SwitchBetweenClasses and remove the unused return value.
863 Handle character styles, too
865 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
867 * factory.C (createInset): handle undefined character styles
869 2005-05-02 Angus Leeming <leeming@lyx.org>
871 * buffer.C: protect the #include of utime.h with a preprocessor
874 2005-05-02 Angus Leeming <leeming@lyx.org>
876 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
877 function so that auto-saving works, albeit in a blocking manner.
879 * Makefile.am: make compilation of the client sub directory, of
880 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
881 on conditionals set at configure time.
883 * SpellBase.[Ch]: no longer an abstract base class. Instead,
884 it can be compiled in its own right but has no-op functionality.
886 * aspell.C, pspell.C: remove preprocessor guards. The files should
887 be compiled only if the necessary functionality exists.
889 * lyxserver.C, lyxsocket.C: disable on Windows.
891 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
893 * text.C (leftMargin): Fix the parindent use bug (1764)
896 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
898 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
901 2005-04-25 Angus Leeming <leeming@lyx.org>
909 include <config.h> in .C files, not .h ones.
911 protect headers inside preprocessor guards.
913 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
915 * FuncStatus.h (StatusCodes): document
917 2005-04-21 André Pönitz <poenitz@gmx.net>
919 * FuncStatus.h (enabled, onoff): document
921 2005-04-19 Angus Leeming <leeming@lyx.org>
923 * BufferView_pimpl.C (cursorToggle): no longer test whether
924 any child processes have been reaped before calling
925 handleCompletedProcesses().
927 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
929 * text3.C (dispatch): fix, finally fix, the language problem in
930 new lyxtexts, without disabling on-the-fly font changes (Helge's
933 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
935 * text3.C (dispatch): set cursor on double/triple click events
938 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
940 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
941 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
943 * rowpainter.C (paintFirst): simplify the code a little bit. In
944 particular, remove the test for secnumdepth.
945 * text.C (setHeightOfRow): only allocate space for chapter number
946 when updateCounters provided an actual label, instead of looking
947 at secnumdepth directly.
949 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
951 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
952 paragraphs when secnumdepth is large enough or, for environments,
953 when they are not the first in a sequence.
955 2005-04-17 Angus Leeming <leeming@lyx.org>
957 * buffer.C (makeLaTeXFile): replace code to manipulate a path
958 containing space and '~' characters with a call to latex_path().
960 2005-04-17 Angus Leeming <leeming@lyx.org>
962 * converter.C (convert): protect all args of convertDefault.sh
965 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
967 * text3.C (dispatch): change the layout to "Caption" after inserting
970 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
972 * text3.C (dispatch): fix language problem in newly created
973 textinsets (and main text) in non-english docs
975 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
977 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
978 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
979 * text3.C (getStatus): disable LFUN_INSET_MODIFY
981 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
986 * rowpainter.C (getFont): Fix metrics bug introduced by inset
989 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
991 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
992 output of \item arguments without trailing text.
994 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
996 * FontIterator.C (operator*): avoid a copy of the font.
998 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1000 * rowpainter.C (getFont): fix language bug from previous fix
1002 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
1004 * rowpainter.C (RowPainter, getFont): fix font inside inset
1007 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
1009 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1010 preventing inserted font, deco, delim insets jumping to start of
1013 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1015 * lyxfunc.C (dispatch): translate message before sending it to the
1018 2005-03-29 Angus Leeming <leeming@lyx.org>
1020 * lyx_main.C (priv_exec): call os::internal_path on each file passed
1021 to LyX on the command line.
1023 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
1025 * vc-backend.C: use QuoteName to protect file names wherever
1028 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
1031 * BranchList.h: fix bugs 1844,1845: document settings don't
1034 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1036 * lyxrc.C (setDefaults, read, output, getDescription): add support
1037 for tex_allows_spaces.
1039 * exporter.C (Export): allows files in directory containing spaces
1040 if tex_allows_spaces is true.
1042 * buffer.C (makeLaTeXFile): if the document path contains spaces,
1043 output it in double quotes.
1045 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1047 * rowpainter.C: use default text height for drawing change tracker
1050 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1052 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1054 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1056 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1057 directory is missing.
1059 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
1061 * text2.C: fixed the fix, extended to other case.
1063 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
1065 * text2.C: fix for cursor up/down stuck in math [bug 1792]
1067 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
1069 * text2.C (cursorUp): get rid of a crash
1070 * text.C (x2pos): add an assert
1072 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1074 * lyxfunc.C (getStatus): fix warning when assertions are disabled
1078 * dociterator.C: include <boost/current_function.hpp>, which is
1079 needed when assertions are disabled.
1081 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
1083 * text2.C: fix for stuck cursor when traversing two
1084 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1086 2005-02-25 Andreas Vox <avox@arcor.de>
1088 * output_docbook.C (makeParagraph): suppress trailing newline
1089 after a run of paragraphs
1091 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
1093 * paragraph.C: fix for confused change tracker when pasting
1094 text that begins with a lineseparator. [bug 1827]
1095 (setChange(0, Change::INSERTED);)
1097 * paragraph_funcs.C: fix for lost changes on triple-paste
1098 in change tracking mode [bug 1827] (par.setChange()).
1100 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1102 * text2.C (updateCounters, setCounter, expandLabel): move to
1105 * buffer_funcs.C (updateCounters): turn into a free standing
1106 function and add a buffer parameter. Remove dead code for tracking
1108 (setCounter): change into a free-standing function which gets a
1109 dociterator as argument. Use this iterator to fix captions in a
1110 simple way. When no float is found above the caption, use the
1111 labelstring of the caption layout as default.
1113 * text.C (breakParagraph, backspace):
1114 * text2.C (init, setLayout, changeDepth):
1115 * text3.C (dispatch):
1116 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1119 * dociterator.C (forwardPar): make it much faster by calling
1120 forwardPos() only when really necessary.
1122 * output_docbook.C (makeCommand): adapt to expandLabel move.
1124 * cursor.C: remove unused variable
1126 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
1128 * paragraph_funcs.C: fix crash when pasting insets in change
1129 tracking mode [bug 1277] (honour change type in moveItem).
1131 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1133 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1135 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1137 * BufferView.C (setCursor): change to use a DocIterator.
1138 (gotoLabel): use BufferView::setCursor (other part of bug 781).
1139 (putSelectionAt): adapt to BufferView::setCursor change.
1141 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1142 moved here from LyXText and rewritten to use proper cursor
1143 methods. Fixes bug 1787, 616 and 835.
1145 * BufferView_pimpl.C (restorePosition): set the cursor correctly
1146 when inside an inset (part of bug 781).
1147 (dispatch): adapt to change of BufferView::setCursor.
1148 (getStatus, dispatch): handle LFUN_GOTOERROR,
1149 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1151 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1152 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1153 * text3.C (gotoNextInset, gotoInset): removed.
1155 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1157 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1159 2005-02-15 Angus Leeming <leeming@lyx.org>
1161 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1162 can be used meaningfully in a comparison.
1164 2005-02-13 André Pönitz <poenitz@gmx.net>
1166 * bufferview_funcs.C (coordOffset): improve cursor drawing
1168 2005-02-13 André Pönitz <poenitz@gmx.net>
1170 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1171 * Cursor.C (dispatch): use fixIfBroken
1172 * lyxfunc.C (getStatus): use fixIfBroken
1174 2005-02-15 Angus Leeming <leeming@lyx.org>
1176 * lyx_main.C (error_handler):
1178 * lyxrc.C (setDefaults):
1180 #include "environment.h".
1182 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1184 2005-02-15 Angus Leeming <leeming@lyx.org>
1186 * lyxserver.C (startPipe): squash MSVC warning "local variable
1187 'fd' used without having been initialized".
1189 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1191 * BufferView_pimpl.C: revert accidental commit.
1193 2005-02-14 André Pönitz <poenitz@gmx.net>
1195 * dociterator.[Ch]: new member forwardPosNoDescent(),
1196 which doesn't enter nested insets.
1197 * text2.C (setFont): use forwardPosNoDescent() instead
1198 of ForwardPos() (fixes crash on font change).
1200 2005-02-13 Angus Leeming <leeming@lyx.org>
1202 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1203 only if lyxrc.path_prefix is not empty.
1205 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1207 * bufferparams.C (readGraphicsDriver): prevent crash
1209 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1211 * text2.C (setCounter): check for inInset() == 0
1213 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1215 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1216 but use update() to get correct screen display; use convert
1217 instead of istringstream.
1218 (getStatus): handle LFUN_GOTO_PARAGRAPH
1220 * lyxfunc.C (dispatch, getStatus): do not handle
1221 LFUN_GOTO_PARAGRAPH here.
1223 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1225 * text3.C (dispatch): size() -> depth()
1227 * text2.C: remove some debug output
1229 * paragraph.C: ws changes only
1231 * lyxfunc.C (getStatus): size() -> depth()
1233 * dociterator.h (clear, push_back, pop_back, internalData,
1234 operator[], resize, empty): new functions
1235 Make StableDocIterator and operator== be friends. Don't inherit
1236 from std::vector use a privat class variable slices_ instead.
1239 * dociterator.C: update because of not inheriting from std::vector
1240 anymore. Call explictly to slices_ instead. Use depth() instead of
1241 size() and top() instead of back()
1243 * cursor.C: chagne size() -> depth and back() -> top(). Also
1244 remove some direct operator[](i) calls in favour of foo[i]
1245 (getFont): remove some dead code
1247 * bufferview_funcs.C (coordOffset): size() -> depth()
1249 * buffer.C: ws changes only
1251 * CutAndPaste.C (eraseSelection): back() -> top()
1253 * BufferView_pimpl.C (selectionRequested): back() -> top()
1255 * BufferView.C (setCursor): size() -> depth()
1257 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1259 * text3.C (cursorPrevious): return true if depm changed something
1261 (dispatch): rename sl to oldTopSlice, remove moving use the new
1262 NoUpdate func attrib instead. Make sure that needsUpdate is set
1263 for function that have NoUpdate, but where depm might have changed
1266 * text2.C (cursorLeft): make us return true if depm changed
1268 (cursorRight): ditto
1269 (cursorUpParagraph): ditto
1270 (curosrDownParagraph): ditto
1271 (cursorUp, cursorDown): ditto, make sure to read comments in code
1272 (deleteEmptyParagraphMechanism): remove an assert, also return
1273 true if just a single char was deleted.
1275 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1276 cursor that we modify, to avoid modifying an active cursor before
1277 we call setCursor. This allows depm to run. Also return true if
1278 depm deleted something.
1280 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1281 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1282 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1283 something was changed in the buffer because of them (ie. depm run)
1285 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1286 debug messages. Make update by default be false. Make sure that
1287 the result of update is retained throught several calls down to
1290 * LyXAction.h: add a new func_attrib: NoUpdate
1292 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1293 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1294 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1296 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1298 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1300 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1301 bv_->owner(), bv_->buffer() by direct references to the private
1303 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1304 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1305 (fitCursor): center() is in BufferView::Pimpl.
1306 (getStatus, trackChanges, dispatch): no need for a temporary buf
1308 (fitCursor, workAreaDispatch): use workarea().workheight()
1310 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1312 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1314 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1316 * buffer.C: format up to 241.
1317 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1318 break if pasting into ERT
1319 * lyxfunc.C (getStatus): suppress mathpanel and
1320 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1322 2005-02-01 Angus Leeming <leeming@lyx.org>
1324 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1326 2005-02-01 Angus Leeming <leeming@lyx.org>
1328 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1329 calling fs::is_directory().
1331 2005-01-31 Angus Leeming <leeming@lyx.org>
1333 * lyx_main.C (priv_exec): specify explicitly the relative location
1334 of the top level build directory when run in-place.
1336 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1338 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1339 LyXText containing the cursor, not the top-level one.
1341 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1343 (insertStringAsLines): rename par to pit; use temporary variable
1344 par to hold a Paragraph; do not store par.layout() in a variable,
1345 since the pointer may die when breaking paragraphs; pass pars to
1346 breakParagraph() instead of Buffer::paragraphs().
1348 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1350 * lyxlex_pimpl.h: #include <fstream>.
1352 * BufferView.[Ch] (getLyXText): add a const version.
1354 * BufferView_pimpl.C: add debug aids.
1359 * paragraph_funcs.h: add commentary explaining what the class does.
1362 * coordcache.[Ch]: add lots of commentary.
1363 (startUpdating, doneUpdating): debug aids.
1364 (arrays, insets, parPos, getParPos): accessors to private data.
1366 * cursor_slice.[Ch] (text): add a const version.
1367 * dociterator.[Ch] (text, innerText): add const versions.
1369 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1372 * paragraph.C (getRow, pos2ros): add asserts.
1374 * paragraph.h: add commentary. Lots of.
1376 * paragraph.[Ch] (metrucs, draw): removed.
1379 * rowpainter.[Ch]: const-correct changes.
1381 * text.C: various obvious clean-ups. Removal of ancient cruft.
1384 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1386 * vc-backend.C (find_file): rewrite to use boost.filesystem
1389 * main.C (main): set default name check for boost.filesystem to
1392 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1395 (actOnUpdatedPrefs): ditto
1397 * lyx_main.C (init): rewrite to use boost.filesystem
1398 (queryUserLyXDir): ditto
1400 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1401 (getContentsOfAsciiFile): ditto
1403 * lastfiles.C (readFile): rewrite to use boost.filesystem
1405 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1407 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1408 (loadLyXFile): ditto
1410 * buffer.C (Buffer): adjust for destroydir
1411 (getLogName): rewrite to use boost.filesystem
1412 (setFileName): ditto
1413 (save): use fs::copy_file (from fs_extras)
1415 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1417 * LaTeX.C (run): rewrite to use boost.filesystem
1418 (scanAuxFiles): ditto
1419 (handleFoundFile): ditto
1421 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1423 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1425 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1427 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1429 * lyxlayout.[Ch]: change some vars from float to double
1431 * buffer.C (readFile): make a local var const
1433 * Several files: use convert<> instead of atoi,strToXXX and friends
1435 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1437 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1438 holds the contents of packages.lst. New functions getAvailable
1439 and isAvailable to parse and check that list, resp.
1443 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1445 * bufferparams.[Ch]: new param output_changes.
1447 * Buffer.C: increase file format to 240.
1448 Use output_changes and isVailable.
1452 * paragraph_pimpl.C: Use output_changes and isVailable.
1454 2005-01-23 Angus Leeming <leeming@lyx.org>
1456 * output_latex.C: #include "insetbibitem.h", rather than
1457 forward declare function bibitemWidest.
1459 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1461 * lyx_main.C (init): make it compile on the Mac.
1463 2005-01-20 Angus Leeming <leeming@lyx.org>
1465 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1466 (setLyXMisc): (char string literal) != (char string literal) is
1467 performing a comparison on the addresses. Convert one operand
1468 explicitly to string to guarantee expected behaviour.
1471 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1474 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1476 * output_plaintext.C: remove unneeded #include gzstream.h.
1478 2005-01-20 Angus Leeming <leeming@lyx.org>
1480 * SpellBase.h: rename some of the elements of the Result enum.
1487 * pspell.C (check): ditto
1489 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1491 * buffer.C: add #include <fstream>.
1493 * lyx_main.C (init): Compile fix.
1495 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1497 2005-01-20 Angus Leeming <leeming@lyx.org>
1499 * mover.h: change commentary to reflect the changed meaning of
1500 the $$s placeholder.
1502 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1504 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1506 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1508 2005-01-20 Angus Leeming <leeming@lyx.org>
1510 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1511 printing diagnostic data by not dereferecing an iterator past the
1514 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1516 * buffer.C (readHeader): use "&&" rather than "and".
1518 * lyxserver.h (inPipeName, outPipeName): make these const.
1520 2005-01-19 Angus Leeming <leeming@lyx.org>
1522 * lyx_main.C (error_handler, init): protect SIGHUP with
1523 #ifdef SIGHUP guards.
1525 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1527 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1529 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1531 * text.C (setHeightOfRow): add a margin at the top and bottom of
1532 the document (bug 1761)
1534 2005-01-17 Angus Leeming <leeming@lyx.org>
1536 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1537 with "python ". Workaround for a brain-dead Windows.
1539 2005-01-16 Angus Leeming <leeming@lyx.org>
1541 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1542 for MacOSX and Windows to use prependEnvPath.
1543 Strip out the hard-coded block to add elements to the PATH for
1544 MacOSX and replace it with a call to prependEnvPath using the
1545 contents of LyXRC::path_prefix.
1546 (queryUserLyXDir): strip out the code to run reconfigure, instead
1547 returning a boolean indicating the necessity to do so.
1548 (reconfigureUserLyXDir): contains the code to reconfigure the
1549 user support directory. Is now called after the various LyXRC data
1550 files have been read.
1552 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1554 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1556 * converter.[Ch] (convert): take a new parameter try_default. Use
1557 a default converter (imagemagick) if try_default is true.
1559 2005-01-13 Angus Leeming <leeming@lyx.org>
1561 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1562 os::cygwin_path_fix.
1563 (write): output LyXRC::cygwin_path_fix as necessary.
1565 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1568 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1570 2005-01-12 Angus Leeming <leeming@lyx.org>
1572 * lyx_main.C (init): set the PATH variable to include the
1573 directory containing the LyX binary when running on Mac or Windows.
1575 2005-01-12 Angus Leeming <leeming@lyx.org>
1577 * lyx_main.C (init): remove cruft that purports to set the locale
1578 dir. It doesn't and is not needed anyway.
1580 2005-01-10 Angus Leeming <leeming@lyx.org>
1582 * Makefile.am: remove the lyx_main.C special casing.
1584 * BufferView_pimpl.C:
1590 * messages.C: use support/package.h to provide the paths to the
1591 various directories used by LyX.
1593 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1595 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1596 layout if pasting into an empty paragraph)
1598 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1600 * tex-accent.C: add <string>
1602 2005-01-06 José Matos <jamatos@lyx.org>
1604 * ParagraphParameters.C (write): put every parameter in its own line.
1605 * paragraph.C (write): reduce number of consecutive empty lines exported.
1606 * buffer.C (LYX_FORMAT): increase file format to 239.
1608 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1610 * everywhere: change support/tostr.h -> support/convert.h
1612 * tabular.C: make all write_attributes templates, tostr -> convert
1614 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1615 (emptyTag): and -> &&, and fix type for ret from getChar
1616 (getFirstWord): fix type for ret from getChar
1617 (onlyText): and -> &&
1618 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1621 * toc.C (goTo, action):
1622 * text3.C (dispatch):
1623 * text.C (currentState):
1624 * tex-accent.C (DoAccent):
1627 * lyxfunc.C (menuNew):
1628 * lyxfinc.C (replace):
1629 * counters.C (laberItem):
1630 * bufferview_funcs.C (font2string):
1631 * bufferparams.C (writeFile):
1632 * buffer.C (readFile):
1634 * MenuBackend.C: tostr -> convert
1636 * LaTeX.C (runMessage): fix format
1637 (scanAuxFiles): tostr -> convert
1639 * BufferView_pimpl.C (savePosition): fix format
1640 (restorePosition): ditto
1643 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1645 * Spacing.[Ch]: New method getValueAsString().
1649 * ParagraphParameters.C:
1652 * text3.C: store/read spacing value as string.
1654 * rowpainter.C: change float value (spacing_val) to double.
1656 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1657 broken custom document spacing).
1659 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1661 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1662 namespace, also more use of temp references and const
1664 * cursor.[Ch] (getStatus): move to lyxfunc.C
1666 * bufferparams.C: reformat slightly
1668 * bufferview_funcs.C (font2string): constify arg
1674 * buffer_funcs.C: (many funcs): constify arg on function
1675 definitions, also make more local vars const, also add ASSERTS on
1678 * buffer.C (LYX_FORMAT): put const in correct place
1679 (many funcs): constify arg on function definitions, also make
1680 more local vars const
1682 * aspell_local.h: remove "struct" from typdef setup
1684 * aspell.C (check): make word_ok const
1685 (nextMiss): simplify slightly
1688 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1690 * lyxrc.[Ch]: store all float values as strings.
1691 use int (not float) for lyxrc.dpi.
1693 2005-01-04 Angus Leeming <leeming@lyx.org>
1695 * lyx_cb.C (Reconfigure):
1696 * lyx_main.C (queryUserLyXDir):
1697 to run the <system_lyxdir>/configure correctly on Windows, prefix
1698 the path to the script with "sh " when generating the string that
1699 is passed to system().
1701 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1703 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1705 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1707 * lyxlength.C (asLatexString): get rid of setprecision
1709 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1711 * text2.C (setLayout): remove unused variable endpit.
1712 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1714 * paragraph.C (onlyText): remove unused variable style.
1716 * cursor.C (bruteFind): remove unused variables beg and end.
1718 * Makefile.am (dist_noinset_DATA): not needed anymore
1720 * cheaders/*: remove.
1722 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1724 * text3.C: fix LFUN_MATH_MODE.
1726 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1728 * buffer_funcs.C (countWords): new function. Counts words between
1731 * BufferView_pimpl.C (getStatus, dispatch): handle
1734 * LyXAction.C (init):
1735 * lfuns.h: add LFUN_WORDS_COUNT.
1737 2004-12-19 Angus Leeming <leeming@lyx.org>
1739 * buffer.C (save): s/slashify_path/internal_path/.
1741 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1743 * lyxfind.C (findChange): do not search for end of pars, because
1744 the change tracker cannot handle this (fixes bug 1719).
1746 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1748 * paragraph.[Ch] (autoBreakRows): remove
1750 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1752 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1753 avoid using the paragraph one
1755 * text2.C (LyXText, insertStringAsLines): adjust
1757 2004-12-16 Angus Leeming <leeming@lyx.org>
1761 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1763 2004-12-14 Angus Leeming <leeming@lyx.org>
1765 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1767 * bufferlist.C (emergencyWrite):
1768 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1771 2004-12-14 Angus Leeming <leeming@lyx.org>
1773 * main.C: (main): no longer pass pointers to os::init.
1775 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1777 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1778 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1780 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1783 * text3.C: remove selection_possible global flag
1785 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1787 * text2.C (getSelectionSpan): remove
1788 (changeDepth, changeDepthAllowed): adjust
1790 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1792 * Makefile.am (BOOST_LIBS): use boost variables
1794 2004-12-03 José Matos <jamatos@lyx.org>
1796 * buffer.C: format up to 238.
1798 2004-12-03 José Matos <jamatos@lyx.org>
1800 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1802 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1804 * cursor.C (goUpDown): remove call to idxUpDown2
1806 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1808 * tabular.[Ch]: use size_t-like types for cell, row and column
1811 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1813 * lyxfunc.C (getStatus): do not lose previous information when
1814 calling BufferView::getStatus; do not set a default "Command
1815 disabled" message at the beginning, but just before returning.
1817 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1819 * cursor.h (getStatus): add better comment from src/cursor.C
1821 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1823 * text3.C (getStatus): return false when the lfun is not handled
1825 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1827 * broken_headers.h: remove
1829 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1831 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1833 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1834 offset_ref accessors
1836 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1837 top_y_, merge fitcursor with update
1838 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1840 (metrics): introduce
1841 (workAreaDispatch): adapt to new coord scheme
1842 (redoCurrentBuffer): remove
1844 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1846 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1849 * coordcache.[Ch]: add paragraph cache and helpers
1851 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1854 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1855 (targetX, setTargetX): introduce
1857 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1858 baseline -> ascent, as the rest of lyx
1860 * lyxtext.h: remove redoParagraphs, updateParPositions,
1861 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1862 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1863 have ascent/descent (ascent is ascent of first par)
1865 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1868 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1870 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1872 * pariterator.C: fix infinite loop introduced in par->pit renaming
1874 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1875 in insets and LyXText, draw two off-screen paragraphs using
1876 NullPainter, and adapt to new coord scheme
1880 * text3.C: adapt lfun handlers to the new coord scheme, which
1881 means: there's only guaranteed coord information for onscreen pars
1882 plus one above and one below. This implies that one can do search
1883 from y coordinates in the range [-1,workHeight]
1885 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1887 * rename a lot of InsetOld to InsetBase
1889 2004-11-25 Angus Leeming <leeming@lyx.org>
1891 * BufferView_pimpl.C:
1893 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1895 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1897 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1898 call BufferView::getStatus if LCursor::getStatus did nothing
1899 (setStatusMessage, getStatusMessage): removed.
1901 * FuncStatus.C (message): new methods. Used to provide an error
1902 message indicating why a command is disabled.
1903 (clear, |=, FuncStatus): update for message.
1905 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1907 * lyxfunc.C (dispatch): always call sendDispatchMessage
1909 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1912 * BufferView_pimpl.C:
1917 * cursor_slice.[Ch]:
1920 * paragraph_funcs.C:
1926 * undo.C: par->pit renaming
1928 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1930 * tabular.C (cellstruct): use initialization, store a shared_ptr
1931 to insettext instead of the insettext directly, adjust to fit.
1932 (operator=): new function
1933 (swap): new function
1934 (rowstruct): use initialization
1935 (columnstruct): use initialization
1936 (ltType): use initialization
1939 * lyxlength.h (swap): new function
1941 * LColor.[Ch] (operator=): use the common semantics
1943 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1945 * lyxfind.C (findNextChange): update the bufferview after setting
1948 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1950 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1951 number of InsetOptArgs has already been inserted.
1953 * output_latex.C (latexOptArgInsets): new method. This outputs all
1954 the optarg insets, up to the limit defined in the layout file.
1955 (optArgInset): removed
1956 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1958 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1960 * paragraph.C (isLetter): remove special spellchecker-related
1961 code; return true also for digits
1962 (isWord, isKomma): remove
1964 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1965 * lyxfind.C (MatchString()): use isLetter instead of isWord
1967 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1969 * pariterator.h (operatir=): comment out un-implemented member
1972 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1975 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1977 * lyxfont.h: include LColor.h to satisfy concept checks.
1979 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1981 * pariterator.h: add typdefs for value_type, difference_type,
1982 pointer and reference to satisfy concept checks. Also add default
1983 constructor for same reason.
1985 * pariterator.C (operator++): add post-increment operator to
1986 satisfy concept checks.
1988 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1991 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1993 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1994 checks. Also rename base_type to BaseType to follow naming
1997 * FloatList.h: include Floating.h to satisfy concept checks.
1999 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2001 * lyxfunc.C (getStatus): when the origin of the request is menu or
2002 toolbar, and the LyXView does not have focus, do as if there was
2003 no buffer (bug 1720)
2005 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2006 FuncRequest to individual entries of LFUN_SEQUENCE
2008 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2010 * output_latex.C (TeXOnePar): override runparams.moving_arg
2011 according to the needprotect value of the current paragraph (bug
2014 * paragraph.C (simpleTeXOnePar): no need to override
2015 runparams.moving_args here
2017 2004-11-14 John Spray <spray_john@users.sourceforge.net>
2019 * vspace.C: fix off-by-one-error, related to fix #1682
2021 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2023 * lengthcommon.C: a more general fix for bug 1682
2025 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
2027 * text.C (backspace): fix crash
2029 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2031 * format.[Ch] (getFormatFromFile): new method
2032 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2034 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2036 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2038 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2040 * lyxfunc.C (dispatch): remove the verbose argument
2041 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2044 * kbmap.C (defkey): set the origin of func to KEYBOARD
2046 * MenuBackend.C (MenuItem):
2047 * ToolbarBackend.C (add): set the origin of func to UI
2049 * funcrequest.[Ch]: add origin member, which indicates which part
2050 of LyX requests an action
2052 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2054 * converter.C (move): don't lie in the error message
2055 * converter.h (isReachable, move): document
2057 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2059 * buffer.C: remove unused using lyx::support::atoi
2060 * paragraph_funcs.C: ditto
2062 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2064 * bufferlist.C (exists): use bind and equal_to instead of
2067 * lyxtextclasslist.C (NumberOfClass): ditto
2069 * cursor.C (insert): use for_each instead of explicit for loop
2071 * bufferlist.C (getFileNames): use std::transform and
2072 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2074 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2077 * buffer.C (changeLanguage): use for_each instead of explicit for
2079 (hasParWithID): implement using getParFromID
2081 * LaTeXFeatures.C: ws change only
2083 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2086 * BufferView_pimpl.C (trackChanges): use for_each instead of
2089 2004-11-04 André Pönitz <poenitz@gmx.net>
2092 * undo.C (textUndoOrRedo): fix crash when creating undo information.
2094 * dociterator.C (asDocIterator): use hard assert again.
2096 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2098 * lyxlength.C (asLatexString): rewrite so that it does not use
2101 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2103 * text3.C (specialChar, dispatch): make sure cursor moves to the
2104 right after inserting an inset
2106 2004-11-02 José Matos <jamatos@lyx.org>
2108 * output_docbook.C (docbook):
2109 * paragraph.C (getID):
2110 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2111 garantee that the output is always legal.
2113 * tabular.C (docbook):
2114 * outputprams.[Ch]: remove mixed contents.
2116 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2118 * text2.C (setCounter): prevent endless loop
2120 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2122 * exporter.C (copyFile): use the mover instead of support::copy()
2123 * exporter.C (Export): pass format and latex name to copyFile()
2124 * exporter.h (addExternalFile): document
2125 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2127 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2129 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2131 2004-10-30 José Matos <jamatos@lyx.org>
2133 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2134 text and no inset or font change. This allows to use CDATA
2135 sections just for the whole paragraph.
2137 2004-10-30 José Matos <jamatos@lyx.org>
2139 * paragraph.C (getFirstWord): remove unused variable.
2141 2004-10-30 José Matos <jamatos@lyx.org>
2143 * paragraph.C (getFirstWord): the content should always be escaped
2145 (simpleDocBookOnePar):
2146 * output_docbook.C (makeEnvironment): replace reference to CDATA
2149 2004-10-30 José Matos <jamatos@lyx.org>
2151 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2153 2004-10-30 José Matos <jamatos@lyx.org>
2155 * output_docbook.C (makeParagraphs):
2156 * paragraph.[Ch] (emptyTag): for docbook and company, if the
2157 standard paragraph has only a given type of content drop the wrapper.
2159 2004-10-29 José Matos <jamatos@lyx.org>
2161 * output_docbook.C (makeEnvironment):
2163 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2165 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
2167 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2168 (cleanID): sanitize any id.
2170 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2172 * buffer.C, lyxlex_pimpl.C:
2173 * lyxlex_pimpl.C (setFile):
2174 s/getExtFromContents/getFormatFromContents/
2176 2004-10-28 José Matos <jamatos@lyx.org>
2178 * output_docbook.C (makeEnvironment): move id to broadest possible
2181 * sgml.C (openTag): apply substitution of <> for all attributes.
2183 2004-10-28 José Matos <jamatos@lyx.org>
2185 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2186 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2187 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2189 * sgml.[Ch]: new version for open and closeTag for paragraph and
2190 for strings. Now they handle the ids of paragraphs.
2192 2004-10-26 Angus Leeming <leeming@lyx.org>
2194 * Makefile.am: add mover.[Ch].
2196 * converter.C (convert, move): use the new Movers to move external
2197 files to the temp directory.
2199 * lyx_main.C (init): ensure that the global system_movers data
2202 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2205 * mover.[Ch]: new files, defining a Mover as a utility to move an
2206 external file between directories and, if necessary, manipulate this
2207 file using a helper script.
2209 2004-10-25 José Matos <jamatos@lyx.org>
2211 * output_docbook.C (makeCommand): merge two if's that tested the
2214 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2216 * sgml.C (escapeString): fix warning in a better way
2218 2004-10-25 José Matos <jamatos@lyx.org>
2220 * sgml.C (escapeString): import the require boosts header file for
2221 tie, and avoid a signed unsigned comparison.
2223 2004-10-25 José Matos <jamatos@lyx.org>
2225 * sgml.h: add #include <string>
2227 2004-10-25 José Matos <jamatos@lyx.org>
2229 * sgml.[Ch] (escapeString): new function to escape all the string.
2231 2004-10-24 José Matos <jamatos@lyx.org>
2233 * paragraph.[Ch] (getFirstWord): new function to get the first
2234 word. Useful for description.
2235 (simpleDocBookOnePar): remove depth argument, add another that
2236 says where to start the paragraph.
2238 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2239 use the new functions to fix cleanly the support for descriptions.
2241 2004-10-24 José Matos <jamatos@lyx.org>
2243 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2244 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2245 * output_linuxdoc.C (linuxdocParagraphs):
2246 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2247 add buffer as argument.
2249 2004-10-24 José Matos <jamatos@lyx.org>
2251 * output_docbook.C (makeEnvironment, searchEnvironment): place
2252 CDATA inside paragraphs and fix scope for listitems.
2254 2004-10-24 José Matos <jamatos@lyx.org>
2256 * output_docbook.C: remove using statement for stack.
2258 2004-10-23 José Matos <jamatos@lyx.org>
2260 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2261 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2262 docbook. The new scheme is recursive and makes use of iterators, the
2263 same as latex export works.
2264 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2265 directly with the paragraph contents. This code was moved up to
2266 output_docbook.C (docbookParagraphs).
2267 * sgml.C (openTag, closeTag): removed unneeded newlines.
2268 (closeEnvTags) removed.
2270 2004-10-23 André Pönitz <poenitz@gmx.net>
2272 * undo.C (textUndoOrRedo):
2273 * dociterator.C (asDocIterator): work around crash
2275 * cursor.C (getStatus): replace ASSERT by more verbose error message
2276 and manual correction of the problem. Should increase stability
2277 while providing more sensible information.
2279 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2281 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2283 * bufferlist.C (previous, next): new methods
2286 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2288 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2290 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2291 entities to preamble.
2293 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2295 * messages.C (Pimpl): strip off translation context information
2297 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2299 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2300 the cursor is correct (bug 1694)
2302 2004-10-13 José Matos <jamatos@lyx.org>
2304 * output_docbook.C (docbookParagraphs): fix closing tags in the
2305 end of the document.
2307 2004-10-09 José Matos <jamatos@lyx.org>
2309 * buffer.C: format up to 237.
2310 * bufferparams.C (write): use tostr to convert booleans to strings.
2312 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2314 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2316 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2318 * LaTeX.C: implement use of babel language in xindy.
2320 2004-10-05 José Matos <jamatos@lyx.org>
2322 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2323 Add new translators to help reading and writing the lyx file.
2325 2004-10-05 José Matos <jamatos@lyx.org>
2327 * ParagraphParameters.C (read):
2328 * text.C (readParToken): replace nexToken by more appropriate lex
2331 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2333 * LaTeX.C (runMakeIndex):
2334 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2335 (usually 'makeindex') configurable.
2337 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2338 with a variable rather than with a number.
2340 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2342 * output_latex.C (TeXOnePar): make sure font setting is the first
2343 thing that gets output (and the last at the end). Should fix bug
2346 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2348 * pch.h: use proper signal include
2350 * LaTeX.h: Use preferred calling of Boost.Signal
2353 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2355 * pch.h: dont include <boost/function/function0.hpp>
2357 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2359 * paragraph_pimpl.h: remove usage of ShareContainer
2361 * paragraph_pimpl.C: remove initialization of ShareContainer.
2363 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2367 * BufferView.C (putSelectionAt): change the semantics when
2368 backwards == true: now, this just swaps cursor and anchor wrt the
2371 * BufferView.h (putSelectionAt): add some documentation
2373 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2374 make sure backwardChar is done at least once (to avoid getting
2376 (findNextChange): use putSelectionAt in the forward direction
2377 (operator()): use Paragraph::isWord
2379 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2381 * Spacing.C (set): c_str fix
2383 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2385 * lyx_cb.C (Reconfigure): quote the name of configure script in
2386 case it contains spaces
2388 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2392 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2393 (BOOST_LIBS): use top_buildir when looking for the file
2395 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2397 * pch.h: do not use include boost/format.hpp, multiple symbols
2398 will result (gcc bug)
2401 2004-08-23 José Matos <jamatos@lyx.org>
2403 * bufferparams.C (readToken): fix reading of the author field.
2405 2004-08-20 José Matos <jamatos@lyx.org>
2407 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2409 2004-08-20 José Matos <jamatos@lyx.org>
2411 * lyxlex.[Ch] (findToken): remove function.
2413 * ParagraphParameters.C (findToken):
2414 * bufferparams.C (findToken): replace call for previous function
2415 with local copy. This local function has one more argument, the
2416 read string argument.
2418 2004-08-16 José Matos <jamatos@lyx.org>
2420 * ParagraphParameters.C (write):
2421 * Spacing.C (writeFile):
2422 * bufferparams.C (writeLaTeX):
2423 * lyx_cb.C (Reconfigure):
2424 * paragraph.C (write):
2425 * tabular.C (write): remove unnecessary space at end of line.
2428 2004-08-16 José Matos <jamatos@lyx.org>
2430 * text.C (readParagraph): remove debug message.
2432 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2434 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2437 * output_plaintext.C (asciiParagraph): set depth correctly
2439 * outputparams.h: add member depth
2441 * paragraph_funcs.C (ownerPar): remove.
2443 * text2.C (setCounter): remove first_pit; comment out some
2444 non-working code that uses ownerPar
2446 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2449 2004-08-16 José Matos <jamatos@lyx.org>
2451 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2452 For the same level of importance use the same chanel to report problems.
2453 (read): add code to deal with \begin_body and \end_body.
2456 2004-08-15 José Matos <jamatos@lyx.org>
2458 * lyxlex.C (getString): fix comment, buffer::readBody is now
2459 buffer:readDocument.
2461 * tex-strings.C (string_papersize): Default -> default,
2462 Custom -> custom, for consistency with other options.
2464 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2468 * Makefile.am: support pch
2470 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2472 * text.C (readParToken): remove the static LyXFont variable and
2473 pass it as a parameter instead. This fixes a nasty bug where an
2474 inset will be inserted with a bad font in some situations
2475 (readParagraph): adapt
2477 * text2.C (setCounter): reduce number of calls to pars_[pit]
2479 * text.C (singleWidth): add an assert, fix a test
2481 * rowpainter.C (paintText): reduce number of calls to singleWidth
2483 * paragraph.C (isHfill):
2484 (isNewline): ws only
2486 2004-08-14 André Pönitz <poenitz@gmx.net>
2491 * lyxtext.h (several functions): use a Paragraph & argument
2494 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2496 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2498 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2500 * text.C (singleWidth): remove useless test
2502 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2504 * tabular.h: remove bogus comments
2506 * tabular.C (getDescentOfRow):
2507 (isPartOfMultiColumn): add assertions
2509 * lyxlength.C (inPixels): remove #warning
2511 2004-08-14 André Pönitz <poenitz@gmx.net>
2513 * paragraph.h: inline getChar()
2515 * BufferView.h: remove unused declarations
2517 2004-08-14 José Matos <jamatos@lyx.org>
2519 * Buffer.[Ch] (readDocument): new name for old readBody.
2520 * Buffer.C: new file format, new keywords: \begin_document,
2521 \begin_header, \begin_body, \end_body.
2523 * bufferparams.C (readToken): replace all calls to lex.nextToken
2524 by lex.next(). Do the same to eatLine except where really needed.
2526 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2527 line when writing to the lyx file.
2529 * output_plaintext.C (asciiParagraph): fix Bibliography style
2532 * text.C (read): fix end of file handling.
2534 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2536 * MenuBackend.C (Menu::operator[]): new method to access
2537 individual menu items
2538 (Menu::hasFunc): new method. search for an item that corresponds
2540 (MenuBackend::specialMenu): new method
2541 (MenuBackend::expand): if a special menu has been set, skip
2542 entries whose func() appears in this menu
2544 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2546 * text3.C: use Debug::DEBUG a bit more
2548 * text.C (leftMargin): try to simplify a tiny bit change var x to
2549 l_margin. Dont output the wide margins always.
2550 (rightMargin): no margin in inner texts
2552 * rowpainter.h (nestMargin): new func
2553 (changebarMargin): new func
2554 (rightMargin): new func
2556 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2560 * factory.C (createInset): modify setDrawFrame
2562 * cursor.C: use Debug::DEBUG a bit more
2564 2004-08-14 André Pönitz <poenitz@gmx.net>
2567 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2568 cache for all insets in (at least partially) visible (top-level)
2571 * BufferView_pimpl.C: reset external coord cache before every update.
2572 This means the coord cache only contains valid entries.
2574 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2577 * BufferView_pimpl.C (getInsetByCode): move function out of class
2578 and change in to a template in anon namespace. Also fix to do what
2581 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2584 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2586 (breakParagraph): rename par to par_offset and use a local
2587 reference. Add code to keep the language over a rebreak.
2588 (breakParagraphConservative): rename par to par_offset, use a
2590 (mergeParagraph): ditto
2592 (isFirstInSequence): ditto
2593 (outerFont): rename pit to par_offset
2595 * paragraph.C: ws change
2596 * paragraph.h: ditto
2600 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2602 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2605 * paragraph.C (simpleTeXOnePar): when we have a \item with
2606 optional argument, enclose the argument with curly brackets (in
2607 case it contains a closing square bracket)
2611 * text3.C (checkInsetHit): constify
2613 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2615 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2616 documents (bug 1629)
2618 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2620 Fix toggling of collapsable insets with the mouse (bug 1558)
2622 * lyxfunc.C (dispatch): adapt to LCursor changes
2624 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2625 make sure that dispatch is not invoked twice
2627 * cursor.C (needsUpdate): new method
2628 (dispatch): return void
2629 (result): new method, to access the DispatchResult of the cursor.
2631 2004-08-13 José Matos <jamatos@lyx.org>
2633 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2635 2004-08-13 André Pönitz <poenitz@gmx.net>
2637 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2639 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2642 2004-08-12 André Pönitz <poenitz@gmx.net>
2644 * text3.C: take out the 'cursor right' form insertInset and only
2645 do it in those places when it is really needed. Fixes crash on
2648 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2650 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2652 * BufferView_pimpl.C (setBuffer): initialize the current font of
2653 the underlying LyXText
2655 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2657 * kbsequence.C (print): use UI native formatting for menu
2660 * text.C (insertChar): call Paragraph::insertChar with a font
2663 * paragraph.C (insertInset, insertChar): the version that takes a
2664 LyXFont argument is now a wrapper around the other one (the
2665 opposite used to be true).
2667 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2668 argument. Font setting is done in Paragraph now.
2670 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2672 * outputparams.h: add new members intitle and lang.
2674 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2675 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2677 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2679 * text3.C (dispatch): remove special handling of button 4 and 5,
2680 it is now taken care of in the frontend code.
2682 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2684 * Spacing.h: add <string> (STLPort compile fix)
2686 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2688 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2690 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2692 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2695 * converter.C (showMessage): inherit from unary_function, make
2698 * buffer.C (writeFile): initialize retval
2700 * InsetList.h: rename private variable list to list_
2701 * InsetList.[Ch]: adjust accordingly.
2703 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2705 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2706 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2707 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2708 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2709 * ParagraphParameters.C, LaTeXFeatures.C: replace
2710 "support/std_sstream.h" with <sstream>
2712 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2714 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2715 * lyxsocket.C (LyXServerSocket): ditto
2716 (serverCallback): ditto
2718 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2720 * LaTeXFeatures.C: check release date when loading jurabib.
2722 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2724 * lyxserver.C (startPipe): call register_socket_callback
2725 (endPipe): call unregister_socket_callback
2727 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2729 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2730 (LyXServerSocket): register the callback
2731 (LyXServerSocket): unregister the callback
2732 (fd): delete function
2733 (serverCallback): improve error checking and setup the callbacks.
2734 (dataCallback): change arg to fd.
2735 (writeln): new func (copied fro the client socket) used for server
2737 (LyXDataSocket): simplify
2738 (~LyXDataSocket): close ann unregiser callback
2739 (server): delete function
2740 (fd): delete function
2741 (readln): small changes, improve some std::string usage
2742 (writeln): constify a bit
2744 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2746 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2749 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2751 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2752 after it has been populated
2754 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2756 * text2.C (insertInset): move cursor when inserting inset.
2758 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2760 * kbmap.C (findbindings): a couple of new methods. returns a
2761 container of kb_sequence objects. The real work is done by the
2762 private recursive version
2763 (printbindings): uses findbindings to print out a bracketed list
2764 of bindings (renamed from findbinding).
2766 * MenuBackend.C (binding): use kb_keymap::findbindings
2768 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2770 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2772 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2774 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2776 * paragraph.C (isWord): return true on insets that report
2779 * text.C (getWord): use Paragraph::isWord to decide what is in a
2780 word and what is not; fix bug 1609.
2782 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2784 * tex-strings.C: add "none" to string_paperpackages[], fixes
2785 off-by-one-error in the paperpackage selection.
2788 * tex-strings.[Ch]: char const * string[n]
2789 -> char const * const string[]
2791 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2793 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2794 command, return early.
2796 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2798 * debug.h: add DEBUG to enum and fix size of ANY.
2800 * debug.C: add support for Debug::DEBUG
2801 (showTags): cast errorTags.level to unsigned int
2803 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2804 (redoCurrentBuffer): ditto
2805 (updateScrollbar): ditto
2806 * cursor.C (dispatch): ditto
2807 * text2.C (setLayout): ditto
2809 (updateCounters): ditto
2811 (deleteEmptyParagraphMechanism): ditto
2813 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2815 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2816 annotations to cleanup the Makefile slightly.
2818 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2820 * lyxrc.C: do not set user_email to a default value but use empty
2821 instead. The entry used to be translated, which does not work
2822 since at the point where lyxrc is constructed there is no
2823 translation service available
2825 * messages.C (getLocaleDir): remove and use directly
2826 lyx_localedir() instead
2828 2004-06-02 Angus Leeming <leeming@lyx.org>
2830 Fix crash caused by dereferencing null pointer 'exportdata' in
2831 OutputParams by creating a new ExportData variable on the heap,
2832 storing it in a boost::shared_ptr.
2833 The crash was triggered when generating an Instant Preview
2834 of an external inset.
2836 * Makefile.am: add outputparams.C
2838 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2839 (c-tor): allocate memory to it.
2841 * exporter.C (c-tor): associated changes.
2843 2004-06-01 Angus Leeming <leeming@lyx.org>
2845 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2846 contains data before calling isInset(0). (Bug 1513.)
2848 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2850 * exporter.C (checkOverwrite): new method
2851 * exporter.C (copyFile): new method
2852 * exporter.C (Export): copy referenced files to the document dir
2853 * exporter.[Ch]: new class ExportedFile
2854 * exporter.[Ch]: new class ExportData. Contains currently the
2855 names of referenced external files
2856 * outputparams.h: add exportdata member.
2858 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2860 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2863 2004-05-19 Angus Leeming <leeming@lyx.org>
2868 * lyxfunc.C: small changes due to the introduction of namespace
2869 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2871 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2873 * text3.C (dispatch): supress update when only moving the cursor
2874 * cursor.C (selHandle): remove commented code
2876 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2878 * paragraph.C (startTeXParParams): correct column count
2879 * CutAndPaste.C (pasteSelection): remove const_cast
2880 * output_docbook.C (docbookParagraphs): remove const_cast
2881 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2882 const_cast and return ParagraphList::const_iterator
2883 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2884 * output_plaintext.C (writeFileAscii): remove const_cast
2885 * paragraph.[Ch] (simpleTeXOnePar): make const
2886 * paragraph_funcs.C (outerPar): use const iterators
2887 * paragraph_pimpl.C (validate): use const iterators
2888 * text.C (setHeightOfRow): use const iterators
2890 2004-05-17 Angus Leeming <leeming@lyx.org>
2893 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2895 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2896 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2897 if the citation engine has changed.
2899 2004-05-14 José Matos <jamatos@lyx.org>
2901 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2902 if the textclass does not provide it. Have it different for sgml and
2904 support the language of document.
2905 * output_docbook.C (docbookParagraphs):
2906 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2907 first anchor as the id of the paragraph, remove special case code.
2908 * sgml.C (escapeChar): escape only < & >.
2910 2004-05-14 Angus Leeming <leeming@lyx.org>
2912 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2913 dependencies on src/frontends/controllers/biblio.h. Define a
2914 CiteEngine_enum wrapper class to enable the enum to be forward
2917 2004-05-12 Angus Leeming <leeming@lyx.org>
2919 * buffer.C: up LYX_FORMAT to 234.
2920 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2921 use_numerical_citations with a single biblio::CiteEngine cite_engine
2923 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2925 2004-05-13 José Matos <jamatos@lyx.org>
2928 * converter.C (Converter, readFlags): add xml member.
2929 * outputparams.h: add XML flavor.
2930 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2932 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2934 * lyxfunc.C (dispatch):
2935 (getStatus): fix handling of LFUN_SEQUENCE
2937 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2939 * debug.C (showLevel): do not forget the end-of-line marker
2941 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2943 * kbmap.C (read): do not stop parsing a bind file when an error
2946 2004-04-29 Angus Leeming <leeming@lyx.org>
2951 * text2.C: wrap a bunch of #warning statements
2952 inside #ifdef WITH_WARNINGS blocks.
2954 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2956 * buffer.C: increment format to 233.
2958 2004-04-28 Angus Leeming <leeming@lyx.org>
2960 * BufferView_pimpl.C:
2963 s/updateToolbar()/updateToolbars()/
2964 s/Toolbar.h/Toolbars.h/
2966 2004-04-28 Angus Leeming <leeming@lyx.org>
2968 * BufferView.[Ch] (c-tor):
2969 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2970 No longer passes these data to the WorkArea generator.
2972 2004-04-28 Angus Leeming <leeming@lyx.org>
2974 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2976 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2978 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2980 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2982 * output_latex.C (TeXEnvironment): make sure that there is a line
2983 break before \end{foo} for the last paragraph of a document
2984 (TeXOnePar): if the paragraph is at the end of the document (or
2985 inset) and the language has to be reset, then make sure that the
2986 line break is _before_ the language command, not after (fixes bug
2987 1225); also make sure that the language reset command is the first
2988 thing after the paragraph (to ensure proper nesting of
2989 environments and thus fix bug 1404)
2991 2004-04-21 John Levon <levon@movementarian.org>
2994 * ToolbarBackend.C: make "name" be a programmatic name
2995 and a gui_name field.
2997 * lyxfunc.C: display the minibuffer on M-x
2999 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3001 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3004 2004-04-19 Angus Leeming <leeming@lyx.org>
3006 * BufferView_pimpl.C (setBuffer): changed preview interface.
3008 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3011 2004-04-19 John Levon <levon@movementarian.org>
3013 * BufferView_pimpl.C:
3014 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3016 2004-04-05 Angus Leeming <leeming@lyx.org>
3018 * text.C (redoParagraphs): add call to updateCounters(), thereby
3019 fixing the missing "Figure #:" label from the caption of a
3022 2004-04-13 Angus Leeming <leeming@lyx.org>
3024 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3025 cursor is clicked out of an inset.
3027 2004-04-13 Angus Leeming <leeming@lyx.org>
3029 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3030 than an InsetOld one.
3032 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3034 * format.[Ch]: add editor to Format
3035 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3036 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3038 2004-04-08 André Pönitz <poenitz@gmx.net>
3040 * metricsinfo.h: remove PainterInfo::width member
3042 2004-04-08 Angus Leeming <leeming@lyx.org>
3044 * lyx_sty.C (boldsymbol_def): modify so that it outputs
3045 "\providecommand" rather than "\newcommand", thereby preventing
3046 clashes with packages that define "\boldsymbol" themselves.
3049 2004-04-08 Angus Leeming <leeming@lyx.org>
3051 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3052 thereby squashing an unnecessary warning.
3054 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3056 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3059 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
3061 * BufferView.C (setCursor): call redoParagraph (some insets could
3063 (putSelectionAt): remove the 'double update' trick
3065 * BufferView_pimpl.C (fitCursor): call refreshPar
3066 (workAreaDispatch): remove an uneeded update call
3067 (dispatch): remove some manual update calls
3069 * cursor.[Ch]: remove cached_y_, updatePos
3070 (selHandle): set noUpdate when appropriate
3072 * lyxfunc.C (dispatch): track if we need an update
3074 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3076 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3077 (paintSelection): cheap optimization, do not call cursorX when not
3079 (paintPars): change signature
3082 (paintTextInset): adjust
3086 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3088 * lengthcommon.C: compilation fix: remove explicit array size from
3089 unit_name[] and friends
3091 2004-04-05 Angus Leeming <leeming@lyx.org>
3093 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3095 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3096 present only for the preferences dialog.
3097 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3099 2004-04-05 Angus Leeming <leeming@lyx.org>
3101 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3102 to enable the frontends to export changes to lyxrc correctly.
3104 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3106 2004-04-07 André Pönitz <poenitz@gmx.net>
3108 * cursor.[Ch] (selClear, adjust): remove math
3110 * cursor_slice.C: more agressive assert
3113 * BufferView_pimpl.C: rework mouse event dispatch
3120 2004-04-05 André Pönitz <poenitz@gmx.net>
3122 * cursor.[Ch] (valign, halign...): remove unneeded functions
3124 2004-04-05 Angus Leeming <leeming@lyx.org>
3126 * lyxlength.[Ch] (unit_name et al.): const-correct.
3128 2004-04-05 Angus Leeming <leeming@lyx.org>
3130 * BufferView_pimpl.C:
3139 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3141 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3143 * text3.C (getStatus): add LFUN_BEGINNINGBUF
3145 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3147 * lyxfind.C: add a couple of inTexted() tests + other small fixes
3148 * BufferView_pimpl.[Ch] (getStatus)
3149 * BufferView.[Ch] (getStatus): add
3150 * lyxfunc.C (getStatus): move lfuns handled in
3151 BufferView::dispatch to te function above
3152 * Cursor.C (setSelection): set selection() = true
3154 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
3156 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3158 2004-03-31 Angus Leeming <leeming@lyx.org>
3160 * lyxfunc.C (dispatch): Fall through to the generic
3161 Dialogs::show("preamble").
3163 2004-03-31 Angus Leeming <leeming@lyx.org>
3165 * lyxfunc.C (dispatch): Fall through to the generic
3166 Dialogs::show("spellchecker").
3168 2004-03-31 Angus Leeming <leeming@lyx.org>
3170 * lyxfunc.C (getStatus, dispatch): changed invocation of the
3173 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3178 * insetiterator.[Ch]:
3183 * undo.[Ch]: s/DocumentIterator/DocIterator/g
3185 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
3187 * BufferView.C (setCursor, putSelectionAt): call edit to open the
3188 insets where we are putting the cursor.
3190 2004-03-31 Angus Leeming <leeming@lyx.org>
3193 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3195 * lyxrc.[Ch] (read, write): overloaded member functions taking
3196 a std::[io]stream arguments.
3198 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3200 2004-03-31 Angus Leeming <leeming@lyx.org>
3202 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3203 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3205 * lyxtextclass.C (load): if the text class couldn't be loaded, then
3206 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3208 2004-03-31 Angus Leeming <leeming@lyx.org>
3210 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3211 the LFUN_ALL_INSETS_TOGGLE code.
3213 2004-03-30 Angus Leeming <leeming@lyx.org>
3215 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3216 has died. Fall through to the generic Dialogs::show("document").
3218 2004-03-30 Angus Leeming <leeming@lyx.org>
3221 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3222 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3224 * lyxfunc.C (getStatus, dispatch): define the actions for these
3225 lfuns. Little more than a cut and pste job from ControlDocument.C
3227 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3229 2004-03-30 Angus Leeming <leeming@lyx.org>
3232 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3233 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3235 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3236 open/closed state of ollapsable insets. Usage:
3238 all-inset-toggle <state> <name>, where
3239 <state> == "open" || "closed" || "toggle" and
3240 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3242 * lyxtext.h, text2.C (toggleInset): removed.
3244 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3245 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3246 now passes LFUN_INSET_TOGGLE to the found inset.
3248 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3249 is now invoked as "all-insets-toggle toggle branch".
3251 2004-03-30 Angus Leeming <leeming@lyx.org>
3255 * pariterator.[Ch]: added/corrected header blurb.
3257 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3259 * dociterator.[Ch]: add an inset_ member
3260 (backwardPos): implemented
3261 (backwardPos, forwardPos): use inset_ when the stack is empty.
3262 (doc_iterator_begin, doc_iterator_end): implemented
3263 * pariterator.[Ch]: adjust, add begin, end
3264 * insetiterator.[Ch]: adjust, add begin, end
3268 * BufferView_pimpl.C:
3269 * CutAndPaste.C: adjust
3271 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3273 * buffer.C: increment file format to 232.
3274 * LaTeXFeatures.C: add bibtopic package.
3275 * bufferparams.[Ch]: param \use_bibtopic.
3277 * lyxrc.[Ch]: add lyxrc bibtex_command
3278 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3280 * buffer.C: increment file format to 231.
3282 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3284 * dociterator.C: implement forwardPar
3285 * iterators.[Ch]: remove, replaced by
3286 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3288 * BufferView_pimpl.C:
3291 * bufferview_funcs.C:
3297 * Makefile.am: adjust
3299 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3301 * CutAndPaste.C (pasteSelection): fix 2 crashes
3302 (eraseSelection): fix a crash
3303 * paragraph_funcs.C: remove a warning
3305 2004-03-28 Angus Leeming <leeming@lyx.org>
3308 * LyXAction.C (init): new LFUN_PRINT.
3310 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3312 2004-03-27 Angus Leeming <leeming@lyx.org>
3315 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3317 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3319 2004-03-27 Angus Leeming <leeming@lyx.org>
3321 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3322 insetlist always contains non-null pointers to insets.
3324 2004-03-26 Angus Leeming <leeming@lyx.org>
3326 * src/BufferView_pimpl.C:
3327 * src/CutAndPaste.C:
3330 * src/output_plaintext.C:
3331 * src/outputparams.h:
3332 * src/paragraph_funcs.C:
3336 * src/frontends/controllers/ControlErrorList.C:
3337 * src/frontends/gtk/FileDialogPrivate.C:
3338 * src/frontends/gtk/GPainter.C:
3339 * src/frontends/gtk/GToolbar.C:
3340 * src/frontends/qt2/QRef.C:
3341 * src/mathed/math_scriptinset.C: squash compiler warnings.
3343 2004-03-26 Angus Leeming <leeming@lyx.org>
3345 * ispell.C (LaunchIspell::start):
3346 * lyx_cb.C (AutoSaveBuffer::start):
3347 invoke run(DontWait) rather than runNonBlocking().
3349 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3351 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3353 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3355 * kbsequence.C (print): adjust
3357 * kbmap.C (printKeySym): rename and change signature
3358 (printKey): use LyXKeySym::print()
3360 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3362 * undo.C: add using std::advance to compile for stlport
3364 2004-03-24 Angus Leeming <leeming@lyx.org>
3366 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3367 it leads to a crash when no buffer is present.
3369 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3370 Martin Vermeer <martin.vermeer@hut.fi>
3372 * lyxfunc.C (dispatch):
3373 * bufferparams.C (readToken): use the new LColor::setColor
3375 * LColor.[Ch] (setColor): new version that takes two strings as
3376 argument and creates a new color entry if necessary
3378 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3380 * buffer.C (makeLaTeXFile): if the main latex file that is
3381 processed is usually a subdocument of some master, then pretend
3382 for a while that it is actually the master
3384 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3386 * buffer.C (getLabelList):
3387 (getBibkeyList): use getMasterBuffer()
3388 (getMasterBuffer): new method. Returns the main document in the
3389 case where one is using included documents.
3391 2004-03-25 André Pönitz <poenitz@gmx.net>
3395 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3397 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3399 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3400 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3402 * ParameterStruct.h: merge with ParagraphParameters
3404 * lyxtext.h: remove LyXText::parOffset() and getPar()
3406 * text3.C: Remove all 'manual' update calls. We do now one per user
3407 interaction which is completely sufficient.
3411 * BufferView_pimpl.C:
3412 * FontIterator.[Ch]:
3414 * ParagraphParameters.[Ch]:
3419 * cursor_slice.[Ch]:
3426 * output_docbook.[Ch]:
3427 * output_latex.[Ch]:
3428 * output_linuxdoc.[Ch]:
3429 * output_plaintext.[Ch]:
3431 * paragraph_funcs.[Ch]:
3432 * paragraph_pimpl.[Ch]:
3440 * frontends/controllers/ControlDocument.C:
3441 * frontends/controllers/ControlErrorList.C:
3442 * frontends/controllers/ControlSpellchecker.C:
3445 * insets/insetbase.h:
3446 * insets/insetbibitem.C:
3447 * insets/insetbox.C:
3448 * insets/insetbranch.C:
3449 * insets/insetcaption.C:
3450 * insets/insetcharstyle.C:
3451 * insets/insetcharstyle.h:
3452 * insets/insetcollapsable.C:
3453 * insets/insetcollapsable.h:
3454 * insets/insetert.C:
3455 * insets/insetfloat.C:
3456 * insets/insetfoot.C:
3457 * insets/insetmarginal.C:
3458 * insets/insetnote.C:
3459 * insets/insetoptarg.C:
3460 * insets/insettabular.C:
3461 * insets/insettext.C:
3462 * insets/insettext.h:
3463 * insets/insetwrap.C:
3464 * mathed/math_mboxinset.C:
3465 * mathed/math_nestinset.C:
3466 * mathed/math_scriptinset.C:
3467 * mathed/math_scriptinset.h:
3470 2004-03-24 Angus Leeming <leeming@lyx.org>
3472 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3473 deal with any child processes that have finished but are waiting to
3474 communicate this fact to the rest of LyX.
3476 2004-03-24 Angus Leeming <leeming@lyx.org>
3478 64-bit compile fixes.
3480 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3481 (c-tor): pass lyx::pos_types rather than ints.
3483 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3486 * text.C (Delete): compile fix.
3487 (getPar): ensure that function declaration is the same as that in
3490 2004-03-23 Angus Leeming <leeming@lyx.org>
3492 * ispell.C (LaunchIspell):
3493 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3494 a boost::shred_ptr rather than a std::auto_ptr.
3496 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3498 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3499 handle LFUN_FILE_INSERT_*
3501 * lyxrc.C (setDefaults, getDescription, output, read):
3502 * lyxrc.h: remove ps_command
3504 2004-03-22 Angus Leeming <leeming@lyx.org>
3506 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3507 Ensure that error_handler is processed once only and that all data
3508 is saved before attempting to output any warning messages.
3510 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3512 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3514 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3516 2004-03-19 André Pönitz <poenitz@gmx.net>
3518 * cursor.[Ch] (reset): take main text inset as argument
3520 * BufferView: adjust
3521 * BufferView_pimpl.C: adjust
3523 * paragraph.[Ch]: fix completely broken operator=()
3525 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3527 * LColor.C (getFromLyXName): make sure that the color name is used
3530 2004-03-17 Angus Leeming <leeming@lyx.org>
3533 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3535 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3536 dialog and to kill a forked process.
3538 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3540 * text2.C (setCursorFromCoordinates): fix font problem
3542 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3544 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3545 bogus "rebuild cursor" code
3547 2004-03-11 André Pönitz <poenitz@gmx.net>
3549 * buffer.[Ch]: use InsetText instead of LyXText as container for
3552 * dociterator.[Ch]: drop the BufferView * member which is not needed
3553 anymore after the change to buffer.C
3555 * paragraph_funcs.C:
3559 * BufferView_pimpl.[Ch]:
3561 * cursor_slice.[Ch]: adjust
3563 * text3.C: fix bug in mathDispatch
3565 2004-03-08 André Pönitz <poenitz@gmx.net>
3567 * undo.[Ch]: use 'StableDocumentIterator' as base for
3570 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3573 * bufferparams.[Ch]: add jurabib support and param.
3575 * LaTeX.C: add FIXME/comment.
3577 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3579 * buffer.C: increment file format to 230.
3581 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3583 * cursor.C (dispatch): avoid infinite loops
3585 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3587 * rowpainter.C (paintSelection): fix x coordinates
3589 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3591 * text.C (rowBreakPoint): fix breaking before displayed insets
3593 2004-03-01 André Pönitz <poenitz@gmx.net>
3595 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3597 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3601 * BufferView_pimpl.C:
3609 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3615 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3616 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3618 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3620 * Bidi.[Ch] (computeTables): const correctness
3621 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3622 fill_hfill, fill_label_hfill and x from Row
3623 * lyxtext.h: prepareToPrint returns a RowMetrics
3624 * rowPainter.C: adjust
3625 * text.C (prepareToPrint): use width, not textWidth. adjust
3626 (redoParagraphInternal, cursorX): adjust
3627 * text2.C (getColumnNearX): adjust
3628 (init): put a default value to the top LyXText::width
3630 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3632 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3634 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3636 * lyxtext.h: add FontIterator class
3638 * text.C (FontIterator, operator*, operator->, operator++): add
3639 (rowBreakPoint, setRowWidth): adjust (fixing a
3642 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3644 * BufferView_pimpl.C (workAreaDispatch): allow also
3645 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3647 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3649 * text.C (rowBreakPoint): fix a bug showing with very large insets
3651 2004-02-25 André Pönitz <poenitz@gmx.net>
3654 * cursor.[Ch]: move some mathed specific code to mathed
3656 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3658 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3659 use_tempdir in preferences
3660 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3662 * lyx_main.C: ensure that tempdir is valid
3663 * lyxlex.h: correct typo
3664 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3665 * paragraph.[Ch] (isMultiLingual): make const
3666 * cursor.[Ch] (openable): make const
3668 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3670 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3672 2004-02-20 André Pönitz <poenitz@gmx.net>
3674 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3676 * cursor.[Ch]: prepare for localized getStatus()
3682 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3684 2004-02-20 André Pönitz <poenitz@gmx.net>
3686 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3688 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3690 * text2.C (setCursorFromCoordinates): switch to absolute coords
3692 (cursorDown): adjust
3693 * text3.C (dispatch): adjust
3695 2004-02-16 André Pönitz <poenitz@gmx.net>
3697 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3700 * cursor_slice.[Ch]: remove unneeded acessor function
3702 * lyxtext.h: rename rtl() to isRTL()
3710 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3712 * rowpainter.C (paintSelection): coord fix
3714 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3716 * Spacing.C: compile fix
3718 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3720 * cursor.C (dispatch): restore current_ before returning
3722 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3724 * text2.C (cursorUp, cursorDown): fix coords
3727 2004-02-12 André Pönitz <poenitz@gmx.net>
3732 * text3.C: add LCursor & parameter to most cursor movement functions
3733 remove usage of LyXText::cursorRow() and cursorPar()
3735 * cursor.[Ch]: add textRow() needed members
3738 * BufferView_pimpl.C:
3741 * BufferView_pimpl.C: adjust
3743 2004-02-11 André Pönitz <poenitz@gmx.net>
3747 * BufferView_pimpl.C: shift undo/redo handling
3749 * cursor.[Ch]: fix mathed crash
3752 * lyxtext.h: move selectionAsText to LCursor
3760 * rowpainter.C: fix excessive drawing
3762 2004-02-06 André Pönitz <poenitz@gmx.net>
3765 * BufferView_pimpl.[Ch]:
3766 * text3.C: move some text specific LFUN handling
3768 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3770 * text3.C (checkInsetHit): adjust coords
3771 * text2.C (getColumnNearX): adjust coords
3772 (edit): adjust coords
3773 * text.C (getRowNearY): add two asserts
3775 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3778 * format.C: add using std::distance to compile on gcc 2.95/stlport
3780 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3782 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3784 2004-02-04 André Pönitz <poenitz@gmx.net>
3786 * BufferView.[Ch] (insertInset):
3787 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3792 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3794 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3795 on the default clause of the switch
3796 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3797 wasn't catched by LCursor::dispatch
3799 2004-02-03 André Pönitz <poenitz@gmx.net>
3802 * cursor.[Ch]: some additional asserts
3804 * undo.[Ch]: remove LyXText dependency in interface
3808 * lyxtext.h (firstPar, lastPar): remove dead functions
3813 * paragraph.[Ch]: adjust
3815 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3817 * lyxfind.C (find): fix argument order in call to ::find
3819 2004-02-02 André Pönitz <poenitz@gmx.net>
3821 * cursor.[Ch]: remove direct access to anchor
3823 * text.C: remove findText() hack
3825 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3827 * iterators.[Ch] (lockPath): remove in favour of...
3828 * BufferView.[Ch] (setCursor): this addition
3829 * BufferView.C (putSelectionAt): adjust
3830 * undo.C (performUndoOrRedo): adjust
3831 * lyxfunc.C (dispatch): adjust
3833 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3835 * iterators.C (lockPath): add a missing slice
3836 * undo.C (performUndoOrRedo): remove redundant positioning code
3838 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3840 * vc-backend.C (scanMaster): ";" -> ';'
3842 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3844 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3845 std::binary_function
3847 * lyxtextclass.C (compare_name): rename to...
3848 (LayoutNamesEqual): ...this
3850 * lyxlex_pimpl.C (compare_tags): inherit from
3851 std::binary_function, put back into anon namespace
3853 * lyxfind.C (MatchString): inherig from std::binary_function
3854 (findChange): use empty() istead of !size()
3856 * format.C (FormatNamesEqual): new functor
3863 * converter.C (compare_Converter): rename to...
3864 (ConverterEqual): ...this, and fixup a bit.
3865 (getConverter): use it, and make function const
3866 (getNumber): use it, and make function const
3870 * bufferlist.C: add using boost::bind
3872 * MenuBackend.C (MenuNamesEqual): new functor
3873 (hasMenu): use it, and make function const
3874 (hasSubmenu): use nested bind to get rid of compare_memfun.
3876 2004-01-30 André Pönitz <poenitz@gmx.net>
3878 * BufferView_pimpl.C:
3881 * cursor_slice.[Ch]:
3884 * paragraph_funcs.C:
3885 * paragraph_funcs.h:
3889 * text3.C: move some of the edit(x,y) handling to the insets
3890 some coordinate changes.
3892 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3894 * text.C: add using statements for std::advance and std::distance
3896 * paragraph.C: add using statement for std::distance
3898 * lyxfind.C: add using statement for std::advance
3900 * cursor.C (region): remove std:: from swap
3901 (openable): use nucleus in stead of operator->
3903 * BufferView.C: add using statements for std::distance and std::swap
3905 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3907 * iterators.C: Remove the pimple, move the needed structures to
3908 the header file. Create accessor for the positions stack.
3909 (asPosIterator): remove function
3911 * PosIterator.C (PosIterator): move constructors to top of file
3912 (PosIterator): reimplement the constructor taking a ParIterator in
3914 (setFrom): new function
3915 (operator!=): inline it
3917 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3919 * lyxfind.C (replaceAll): use std::advance
3921 * iterators.h: inherit from std::iterator.
3923 * PosIterator.C (advance, distance): remove
3924 * PosIterator.h: interit from std::iterator.
3926 2004-01-26 André Pönitz <poenitz@gmx.net>
3929 * BufferView_pimpl.[Ch]:
3933 * bufferview_funcs.C:
3943 * output_linuxdoc.C:
3944 * output_plaintext.C:
3946 * paragraph_funcs.[Ch]:
3947 * paragraph_pimpl.[Ch]:
3953 * text3.C: more IU: dumps most of the rest of the mathcursor
3954 implementation into cursor.[Ch]; "globalize" a bit of it.
3956 2004-01-25 Angus Leeming <leeming@lyx.org>
3958 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3960 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3962 * LaTeXFeatures.h: add nice_ and nice() const
3963 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3965 2004-01-20 André Pönitz <poenitz@gmx.net>
3968 * BufferView_pimpl.C:
3970 * bufferview_funcs.C:
3972 * cursor_slice.[Ch]:
3983 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3984 LCursor and mathcursor parts to LCursor and InsetBase.
3986 2004-01-15 André Pönitz <poenitz@gmx.net>
3988 * cursor_slice.[Ch]: add a few covienience functions
3990 * funcrequest.[Ch]: remove BufferView * member
3992 * BufferView_pimpl.C:
3999 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4001 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
4003 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4004 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4006 2004-01-13 André Pönitz <poenitz@gmx.net>
4009 * lyxtext.h: hide cursor and selection anchor behind accessor function
4012 * BufferView_pimpl.[Ch]:
4014 * bufferview_funcs.C:
4024 * cursor_slice.[Ch]: some integer type changes for inset unification
4026 * lyxcursor.[hC]: remove, it's CursorSlice now.
4029 * BufferView_pimpl.[Ch]:
4030 * bufferview_funcs.C:
4036 * textcursor.[Ch]: adjust
4038 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
4040 * text2.C (undoSpan): add and use
4041 * text.C (breakParagraph): use undoSpan (fix bug 578)
4044 2004-01-08 Angus Leeming <leeming@lyx.org>
4046 * BufferView_pimpl.C (MenuInsertLyXFile):
4047 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4048 * lyxfunc.C (menuNew, open, doImport):
4049 FileFilterList change to the FileDialog open and save functions.
4051 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4053 * ShareContainer.h: make isEqual and isUnique adaptable
4055 * CutAndPaste.C: make resetOwnerAndChanges adaptable
4057 2004-01-07 Angus Leeming <leeming@lyx.org>
4060 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4062 * BufferView_pimpl.C (dispatch): act on these LFUNs.
4064 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4065 functions replacing find, replace and replaceAll.
4067 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4068 LFUN_WORDFIND(FORWARD|BACKWARD).
4070 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4072 * text.C (breakParagraph): remove an outdated #warning
4074 2004-01-07 André Pönitz <poenitz@gmx.net>
4076 * lyxfind.C: somewhat clearer logic
4078 * text.C: prevent crash in cursorX on unitialized row cache
4080 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4082 * lyxcursor.[Ch] (operator>): add
4083 * textcursor.C (selStart, selEnd): use std::min and std::max
4085 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4087 * Chktex.C: include boost/format.hpp
4089 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4091 * InsetList.C: replace functor MathcIt with adaptable functor
4093 (insetIterator): modify accordingly
4095 * BranchList.h: move the BranchNamesEqual functor here from...
4096 * BranchList.C: ... to here
4098 * BranchList.C: new BranchListEqual fuctor, use it. Remove
4100 (add): replace a finding loop with std::find_if.
4102 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
4104 * output_docbook.C: moving LatexParam functionality into
4107 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4109 * buffer.C: increment format to 229.
4111 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
4114 * lyx_sty.[Ch]: remove minipageindent_def
4120 * text3.C: remove LFUN_INSET_MINIPAGE
4122 2003-12-28 Angus Leeming <leeming@lyx.org>
4124 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4126 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
4128 * text2.C (setParagraph): fix off-by-one crash
4130 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
4132 * output_docbook.C: header stuff for AGU
4134 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
4136 * text2.C (redoCursor): remove
4139 * BufferView_pimpl.C: remove calls to redoCursor and
4140 setCursor(cursor.par(), cursor.pos()) all around
4142 2003-12-15 Angus Leeming <leeming@lyx.org>
4144 * buffer.C: up the format to 228.
4146 2003-12-15 André Pönitz <poenitz@gmx.net>
4148 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4153 * BufferView_pimpl.C:
4162 2003-12-15 Angus Leeming <leeming@lyx.org>
4164 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4165 than getFromGUIName to manipulate the color.
4167 2003-12-14 Angus Leeming <leeming@lyx.org>
4169 * BranchList.[Ch]: minimize the API.
4170 (Branch::getBranch, getColor): now return a 'const &'.
4171 (Branch::setSelected) now returns a bool set to true if the
4172 selection status changes.
4173 (BranchList::clear, size, getColor, setColor, setSelected,
4174 allBranches, allSelected, separator): removed.
4175 (BranchList::find): new functions, returning the Branch with
4177 (BranchList::add, remove): return a bool indicating that
4178 the operation was successful.
4180 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4181 new InsetBranch::isBranchSlected member function.
4183 * LColor.[Ch]: mimimize the API.
4184 (fill): renamed as addColor and made private.
4185 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4186 versions of these functions taking a string arg have been removed.
4188 * bufferparams.C (readToken):
4189 * lyxfunc.C (dispatch):
4190 * lyxrc.C (read): changes due to the altered BranchList and
4193 * factory.C (createInset, readInset): changes due to altered
4196 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4199 * lyxfunc.C: remove insetminipage. "minipage-insert"
4200 now produces a frameless minipage box inset.
4202 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4204 * textcursor.[Ch] (selStart,selEnd): add new methods
4205 remove selection::start, end, use LyXCursor::operator<
4206 * lyxcursor.[Ch] (operator<): add
4207 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4208 * BufferView.[Ch] (unsetXSel): add
4209 * text2.C (clearSelection): use unsetXSel,adjust
4212 * rowpainter.C: adjust
4213 * bufferview_funcs.C (put_selection_at): adjust
4215 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4217 * BufferView_pimpl.C: small coord. correction
4219 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4221 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4222 dragging over the splash screen.
4224 2003-12-11 Angus Leeming <leeming@lyx.org>
4226 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4227 as it is now handled in LyXText::dispatch.
4229 * text3.C (doInsertInset): remove a level of nesting.
4231 2003-12-11 Angus Leeming <leeming@lyx.org>
4233 * factory.C (createInset): changes due to the changed interface to
4234 InsetCommandMailer::string2params.
4236 2003-12-10 Angus Leeming <leeming@lyx.org>
4238 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4239 'dialog-show-new-inset <inset name>'
4241 2003-12-10 Angus Leeming <leeming@lyx.org>
4243 * buffer.C: up the format to 227.
4245 * factory.C: the box inset is now identified simply by 'Box'.
4247 2003-12-10 Angus Leeming <leeming@lyx.org>
4249 * buffer.C: up the format to 226.
4251 * factory.C: the note inset is now identified simply by 'Note'.
4253 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4255 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4256 when a pit is enough. Standarize a couple of loops.
4258 2003-12-05 Angus Leeming <leeming@lyx.org>
4260 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4261 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4262 data to the re-worked "log" dialog.
4264 2003-12-03 André Pönitz <poenitz@gmx.net>
4270 * paragraph_funcs.C:
4272 * text2.C: use Inset::getText instead of Inset::getParagraph
4274 2003-12-03 André Pönitz <poenitz@gmx.net>
4278 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4279 InsetText::read() as LyXText::read()
4281 2003-12-02 Angus Leeming <leeming@lyx.org>
4283 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4284 type. Add a comment in the implementation that the function uses
4285 the stream's bad() function rather than fail() as the std::streams
4288 2003-12-02 André Pönitz <poenitz@gmx.net>
4290 * lyxlex.[Ch]: make interface more similar to std::stream
4292 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4294 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4296 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4298 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4300 * vspace.[Ch]: remove VSpace::NONE
4302 2003-12-01 André Pönitz <poenitz@gmx.net>
4305 * lyxtext.h: move ParagraphList member to LyXText
4306 rename LyXText::ownerParagraphs to LyXText::paragraph
4309 * bufferview_funcs.C:
4319 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4321 * undo.C: fix cursor positioning
4323 2003-12-01 John Levon <levon@movementarian.org>
4325 * BufferView_pimpl.C: fix a crash on exit with
4328 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4330 * BranchList.C: fix setSelected() method.
4332 2003-11-28 André Pönitz <poenitz@gmx.net>
4334 * ParagraphParameters.[Ch]:
4335 * ParameterStruct.h: remove space above/below from Paragraph to
4338 * BufferView_pimpl.C:
4344 * paragraph_funcs.C:
4350 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4352 * factory.C: Syntax change for CharStyles
4354 2003-11-28 André Pönitz <poenitz@gmx.net>
4359 * buffer.[Ch]: move LyXText member
4361 2003-11-28 André Pönitz <poenitz@gmx.net>
4363 * BufferView.[Ch]: make LyXText * text a private member
4365 * BufferView_pimpl.C:
4376 * output_plaintext.C: cleanup
4378 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4381 * lyxtextclass.[Ch]: parametrize SGML document header
4383 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4386 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4389 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4391 * text2.C (setFont): rework using PosIterator (no more recursive)
4392 (setCharFont): no more needed
4393 (setLayout): no more selection cursors fiddling (done by redoCursor)
4394 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4395 destroy remaining ones)
4397 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4399 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4401 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4404 * text3.C: adjust + re-allow multi par depth changes
4405 * textcursor.C: simplify a bit
4407 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4413 * src/output_docbook.C:
4414 * src/output_latex.C:
4419 * src/text2.C: Introducing a number of tags parametrizing various
4420 XML formats that we may want to support
4422 2003-11-25 André Pönitz <poenitz@gmx.net>
4424 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4426 * lyxtext.h (leftMargin/rightMargin): simplify interface
4433 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4435 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4436 master file to any child files. Fixes bug 546.
4438 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4440 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4442 2003-11-24 André Pönitz <poenitz@gmx.net>
4444 * rowpainter.C: simplification
4446 * text2.C (updateCounters): remove call to redoParagraph on
4447 changed labels as this is far too expensive.
4449 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4451 * converter.C (convert): fix a crash: this function gets
4452 called with buffer == 0 from importer code.
4454 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4456 * text3.C (cursorPrevious): make sure that we do not compare
4457 iterators form different containers.
4460 * rowpainter.C (paintSelection): make sure that we do not compare
4461 iterators from different containers.
4463 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4464 iterators from different ParagraphList containers.
4467 * text2.C (LyXText): change order of initialization slightly
4468 (operator=): new function. copy all variables except cache_par_
4469 (moveUp): make sure that we do not compare iterators from
4470 different ParagraphList constainers.
4473 * text.C (firstPar): new function
4474 (lastPar): new function
4475 (endPar): new function
4477 * lyxtext.h: move things around and group public functions, public
4478 variables, private functions, private variables
4480 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4482 * factory.C: change call to InsetERT constructor to avoid
4483 additional invocation of method status
4484 * text2.C (toggleInset): remove redundant update() call
4485 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4486 instead of a Bufferview pointer
4488 2003-11-21 André Pönitz <poenitz@gmx.net>
4490 * rowpainter.C: simplification
4492 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4494 * text3.C (dispatch): make possible to extend a word/row selection
4497 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4499 * lyxtext.h: x0_,y0_ -> xo_,yo_
4500 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4501 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4502 * rowpainter.C (paintRows): paint full paragraphs
4504 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4506 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4509 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4511 * lyxtext.h: add x0_, y0_
4512 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4513 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4515 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4517 * text2.C (setCursorIntern): move the x_target update here *
4518 * text3.C: change some bv() to true/false in calls to
4519 cursorUp/Down/Right/Left
4520 * cursor.C: use helper function.
4522 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4524 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4525 * paragraph_funcs.[Ch]: correct comment
4526 * rowpainter.C: do not paint selections away from bv->cursor()
4527 Fix a long standing selection painting bug.
4528 * text3.C: generalize mouse-selection code to LyXTexts other that
4530 * textcursor.C: do not use y coords if we can use par offsets
4532 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4534 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4535 cursor position after e.g. inset insert)
4537 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4539 * lyxfind.C (replace): adjust to locking removal + some
4542 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4544 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4547 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4550 * output_docbook.C: XML sanitation: new layout
4551 parameters InnerTag and CommandDepth
4553 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4555 * BufferView_pimpl.C:
4557 * text3.C: Fix the insertion and modification of button-style
4560 2003-11-13 André Pönitz <poenitz@gmx.net>
4562 * InsetList.[Ch]: remove deleteLyXText
4564 * paragraph.[Ch]: cache beginOfBody position
4569 * text3.C: remove superfluous update() calls
4573 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4575 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4576 * BufferView.C (fitLockedInsetCursor): remove
4577 * cursor.[Ch] (getDim): add
4578 * text.C (getRowNearY): add faster version
4579 * text3.C: remove some update calls
4581 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4593 * text3.C: The Character Style /XML short element patch.
4595 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4598 * factory.C: Small step to solving 'unable to insert some insets'
4601 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4603 * cursor.[Ch] (updatePos): new function for updating the y
4604 position of the tip inset
4605 * bufferview_funcs.C (put_selection_at):
4606 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4608 2003-11-11 André Pönitz <poenitz@gmx.net>
4610 * text.C: remove big comment on invalid Paragraph pointers as it is
4613 2003-11-11 André Pönitz <poenitz@gmx.net>
4615 * text_funcs.[Ch]: merge with ...
4623 * Makefile.am: remove text_funcs.[Ch]
4625 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4627 * cursor.C (getPos): return absolute cached y coord
4629 * BufferView_pimpl.C (fitCursor): new simplistic code
4630 (workAreaDispatch): add a fitCursor call
4632 2003-11-10 André Pönitz <poenitz@gmx.net>
4635 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4637 2003-11-10 André Pönitz <poenitz@gmx.net>
4639 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4640 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4641 indicate that the cursor needs to leave an inset
4643 * lyxtext.h: remove inset locking
4645 * cursor.[Ch]: re-implement functionality provided by inset locking
4648 * BufferView_pimpl.[Ch]:
4650 * bufferview_funcs.[Ch]:
4662 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4664 * PosIterator.[Ch]: replace the stack with a vector, add inset
4666 * iterators.[C]: adjust
4668 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4670 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4672 * paragraph_funcs.C (readParToken): put the correct id in the
4673 error item, not the id of the top paragraph
4675 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4677 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4678 * bufferview_funcs.C (put_selection_at): use the above
4680 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4682 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4684 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4686 * output_linuxdoc.h:
4687 * output_plaintext.h:
4689 * output_docbook.h: add #include statements
4691 2003-11-05 José Matos <jamatos@lyx.org>
4693 * output_docbook.[Ch]:
4694 * output_latex.[Ch]:
4695 * output_linuxdoc.[Ch]:
4696 * output_plaintext.[Ch]: New files for output formats.
4697 * output.[Ch]: New file for helper functions.
4700 * paragraph_funcs.[Ch]: output functions moved to new files.
4702 * outputparams.h: rename of latexrunparams.h
4710 * paragraph_funcs.[Ch]:
4711 * paragraph_pimpl.[Ch]:
4712 * tabular.[Ch]: rename ascii to plaintext
4713 and LatexRunParams to OutputParams.
4715 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4717 * iterators.[Ch] (text): require bv argument
4718 * undo.C (recordUndo):
4719 * lyxfunc.C (dispatch):
4720 * bufferview_funcs.C (put_selection_at): adjust
4722 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4724 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4726 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4728 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4731 2003-11-04 André Pönitz <poenitz@gmx.net>
4733 * cursor.[Ch]: restructure
4736 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4738 * iterators.[Ch] (asCursor): remove
4740 * lfuns.h: remove LFUN_INSET_EDIT
4746 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4748 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4750 * lyxfind.[Ch]: complete overhaul
4751 * BufferView_pimpl.C:
4753 * paragraph.[Ch] (insert): add
4755 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4759 * text.C: remove dead spellcheck code
4761 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4763 * dispatchresult.h: add a val setter
4765 * cursor.C (dispatch): use a tempvar for data_[i]
4767 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4769 * PosIterator.[Ch]: compile fix
4771 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4773 * text.C (cursorPar): deactivate the cursor cache
4775 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4777 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4779 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4781 * text3.C (dispatch): adjust for new DisptchResult semantics.
4783 * lyxfunc.C (dispatch): handle update when return from
4784 Cursor::dispatch, adjust for new DispatchResult semantics.
4786 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4787 DispatchResult(true) mean to not update. Add class functions for
4788 setting dispatched and update, as well as reading.
4790 * cursor.C (dispatch): don't handle update here
4792 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4795 * trans_mgr.C: adjust
4797 * paragraph_funcs.C (readParToken): exception safety
4799 * lyxvc.h: store the vcs pointer in a scoped_ptr
4802 * lyxsocket.C (serverCallback): exception safety
4804 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4806 * ispell.C (clone): make it return a auto_ptr
4808 * factory.C (createInset): exception safety
4809 (readInset): exception safety
4811 * bufferlist.C (newBuffer): exception safety
4813 * Thesaurus.C (Thesaurus): use initialization for aik_
4815 * MenuBackend.C (expandToc): exception safety.
4817 2003-11-03 André Pönitz <poenitz@gmx.net>
4821 * bufferview_funcs.C: remove getInsetFromId()
4824 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4830 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4832 * PosIterator.C (distance, advance): new
4833 * bufferview_funcs.[Ch] (put_selection_at): new
4834 * iterators.[Ch] (lockPath): new
4836 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4838 * iterators.[Ch] (asPosIterator): added
4839 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4840 * PosIterator.[Ch]: added
4842 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4846 * cursor.C (dispatch):
4847 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4849 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4850 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4851 contructor, add a class function dispatched. Remove operator>=
4853 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4855 * debug.C: only use the default constructor for debugstream
4858 * main.C (main): include debug.h and setup the lyxerr streambuf
4861 2003-10-31 José Matos <jamatos@lyx.org>
4863 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4865 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4866 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4867 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4868 * paragraph_pimpl.C (simpleTeXSpecialC):
4869 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4870 add LatexRunParams argument.
4872 * exporter.C (Export): change call accordingly.
4874 * latexrunparams.h: add new member to take care of the other backends.
4875 2003-10-30 José Matos <jamatos@lyx.org>
4877 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4878 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4879 factorise code for paragraph output.
4881 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4884 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4886 * text3.C (dispatch):
4887 * lyxfunc.C (dispatch):
4888 * cursor.C (dispatch):
4889 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4891 * dispatchresult.h: make the dispatch_result_t ctor explicit
4893 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4896 * buffer.C: small refactoring of docbook stuff
4898 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4900 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4903 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4905 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4906 operator dispatch_result_t, and operators for == != and >=
4908 * cursor.C (dispatch): adjust for operator dispatch_result_t
4909 removal. comment out call to update
4911 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4913 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4921 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4924 * dispatchresult.h: new file, DispatchResult broken out of
4927 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4929 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4931 * text.C (rowBreakPoint): put a hack inside #if 0
4933 2003-10-28 André Pönitz <poenitz@gmx.net>
4937 * paragraph_funcs.C:
4940 * text2.C: general cleanup (lots of small stuff)
4942 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4944 * text2.C (cursorEnd): simple fix to the "end key goes to one
4945 before the end on last row" bug
4947 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4949 * text.C (backspace): fix the "zombie characters"
4951 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4953 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4955 2003-10-27 André Pönitz <poenitz@gmx.net>
4957 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4959 * factory.C: handle new InsetPagebreak, InsetLine
4961 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4962 and move handling into new InsetPagebreak, InsetLine
4964 * BufferView_pimpl.C:
4966 * ParagraphParameters.C:
4967 * ParameterStruct.h:
4972 * paragraph_funcs.C:
4973 * paragraph_pimpl.C:
4979 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4982 * lyxrow_funcs.[Ch]:
4988 * text3.C: remove lastPos uses in favour of Row::endpos
4990 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4992 * undo.C (performUndoOrRedo): fix two crashes by setting a
4993 cursor by hand and reordering some calls. Use bv->lockInset instead
4994 of inset->edit because the latter loses cursor information
4996 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4998 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5000 (rowBreakPoint): fix width. change point to point + 1.
5001 Add a missing check.
5003 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
5006 * lyxfunc.C: fix (at least partly) the problems
5007 with the Nav menu and headers inside branch insets
5010 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
5012 * paragraph.C (getChar): add strong asserts
5014 * lyxrow_funcs.C (lastPos): remove hideous hack
5016 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5017 (fill): adjust to that (avoid an infinite loop)
5019 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5021 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5023 2003-10-23 André Pönitz <poenitz@gmx.net>
5025 * RowList_fwd.h: change list<> to vector<> to gain speed
5026 after suggestion from Alfredo
5028 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
5030 * lyxtext.h: move the bidi stuff from here...
5033 * Bidi.[Ch]: ... to here
5035 2003-10-23 André Pönitz <poenitz@gmx.net>
5038 * text.C (isLastRow, isFirstRow): new functions
5040 * paragraph.h: new width cache member
5042 * rowpainter.C: replace RowList::iterator with Row & where possible
5044 * lyxfunc.C: replace several view()->text with a single call
5046 * toc.C: fix 'unused' warning
5048 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5050 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5051 when woring with stream::pos_type
5052 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5054 2003-10-22 André Pönitz <poenitz@gmx.net>
5057 * text.C: use Row & instead of RowList::iterator
5059 * lyxrow.h: rename end() to endpos()
5065 2003-10-22 Angus Leeming <leeming@lyx.org>
5067 * buffer.[Ch] (fully_loaded): new member function, returning true
5068 only when the file has been loaded fully.
5069 Used to prevent the premature generation of previews and by the
5070 citation inset to prevent computation of the natbib-style label.
5072 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5073 templates are all set up.
5075 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5077 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
5079 * text.C: fixed an "oops" in the "is a bit silly"
5082 2003-10-21 André Pönitz <poenitz@gmx.net>
5084 * FuncStatus.[Ch]: small stuff, whitespace
5086 * lyxfont.[Ch]: operator<<() for debug reasons
5090 * lyxtext.h: whitespace, spelling
5092 * paragraph.C: naming of variables
5095 * text2.C: small stuff
5098 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
5100 * text.C: (1) finish off the inset display() work;
5101 (2) fix the "is a bit silly" bug (accessing char
5104 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
5106 * text.C: re-introduce display() for insets, fixing the
5107 various bugs (stretch of line above, math inset
5110 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5112 * text.C (rightMargin): remove spurious semicolon
5114 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5117 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
5119 * text3.C: fix one crash due to wrong cursor def
5121 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5123 * vc-backend.C (scanMaster): make the regex static
5125 * LaTeX.C (scanAuxFile): make the regexs static
5127 * text3.C (doInsertInset, dispatch, dispatch):
5128 * text2.C (cursorUp, cursorDown):
5129 * text.C (selectNextWordToSpellcheck):
5130 * BufferView_pimpl.C (dispatch):
5131 * lyxfunc.C (dispatch): localDispatch -> dispatch
5133 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5135 * lyxsocket.C: include <cerrno>
5137 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5139 * lyxfunc.C (dispatch): remove textcache stuff
5141 * bufferlist.C (release): remove textcache stuff
5144 * TextCache.C: delete file
5145 * TextCache.h: delete file
5147 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5149 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5150 delete of the bv_->text.
5151 (resizeCurrentBuffer): remove texcache stuff
5152 (workAreaResize): ditto
5154 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5156 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5159 2003-10-16 André Pönitz <poenitz@gmx.net>
5166 * text3.C: speed up by storing y positions per paragraph plus per-row
5167 offset instead of having a 'full' y position in the row.
5169 2003-10-15 André Pönitz <poenitz@gmx.net>
5173 * undo.[Ch]: make undo aware of inner insets
5175 2003-10-14 Angus Leeming <leeming@lyx.org>
5177 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5178 static member functions LyX::ref() and LyX::cref.
5179 (lastfiles): new accessor functions for the new lastfiles_ member var.
5180 (addLyXView, views_): add a new LyXView to the list of views_.
5181 (updateInset): loop over all LyXViews to call their own updateInset
5182 member function, returning a pointer to the Buffer owning the inset.
5184 * BufferView_pimpl.C (loadLyXFile):
5185 * MenuBackend.C (expandLastfiles):
5186 * bufferlist.C (MenuWrite, QuitLyX):
5187 lastfiles is no longer a global variable.
5188 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5190 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5191 static function. Access through LyX::cref().emergencyCleanup().
5193 2003-10-14 André Pönitz <poenitz@gmx.net>
5195 * iterators.[Ch]: new direct access to innermost LyXText and Inset
5197 * undo.[Ch]: restoring part of 'undo in insets'
5200 * undo_funcs.[Ch]: merge with undo.[Ch]
5202 * tabular.C: small cleansing stuff
5204 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
5206 * paragraph_funcs.C (readParToken): report unknown insets as error
5207 boxes. Use the outer paragraph as location (also for unknown
5210 * factory.C (readInset): do not abort on reading an unknown inset.
5211 Eat it and return 0.
5213 2003-10-13 Angus Leeming <leeming@lyx.org>
5215 * lyx_main.C (LyX): remove call to setDisplayTranslator().
5217 * lyxrc.C: displayTranslator is now a function,
5218 declared in GraphicsTypes.h.
5220 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5222 * format.C: new placeholder $$a to pass the socket address.
5224 * bufferlist.[Ch]: new function getBufferFromTmp.
5226 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5227 files in the temporary dir.
5229 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5231 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5233 * Makefile.am: add lyxsocket.[Ch].
5235 * lyx_main.C (error_handler): handle SIGPIPE.
5237 2003-10-13 André Pönitz <poenitz@gmx.net>
5239 * BufferView_pimpl.C:
5244 * undo_funcs.[Ch]: use paroffset_type instead of
5245 ParagraphList::iterators to prevent multiple conversion
5246 (and get a more robust interface)
5248 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5250 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5252 * text3.C (dispatch): ditto
5254 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5256 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5257 move the onlyfile, use onlyfile instead of foundfile in a couple
5260 * DepTable.C (update): flush the error stream a bit more
5262 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5264 * lyxserver.C (callback): adjust
5266 * lyxfunc.C (getStatus): add a missing brace in commented code
5267 (ensureBufferClean): reindent
5268 (dispatch): delete version taking a string
5270 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5272 * LaTeX.C (deplog): move found file handlig from here...
5273 (handleFoundFile): .. to new function here.
5274 (deplog): make sure to discover several files mentioned on the
5277 2003-10-10 André Pönitz <poenitz@gmx.net>
5284 * text3.C: fix some of the tabular crashes
5286 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5288 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5290 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5292 2003-10-09 André Pönitz <poenitz@gmx.net>
5294 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5297 * BufferView_pimpl.C:
5298 * bufferview_funcs.C:
5309 * undo_funcs.C: adjust
5311 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5313 * text2.C (incrementItemDepth): new function, use a backtracking
5314 algorithm to discover the correct item depth.
5315 (resetEnumCounterIfNeeded): new function, use a backtracking
5316 algorithm to discover if counter reset is needed.
5317 (setCounter): use them. Simplify a bit. Add different labels for
5318 different item depths for itemize.
5320 * paragraph.C (Paragraph): remove initialization of enumdepth
5323 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5324 enumerate and itemize. Change the type of itemdepth to signed char.
5326 2003-10-08 André Pönitz <poenitz@gmx.net>
5328 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5333 * tabular.[Ch]: fix crash after 'row-insert'
5335 2003-10-08 Angus Leeming <leeming@lyx.org>
5337 Fix doxygen warnings.
5339 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5340 Remove CutAndPaste:: prefix from header file declaration.
5342 * LColor.h (fill): remove LColor:: prefix from declaration.
5344 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5345 use lyx::depth_type rather than Paragraph::depth_type so that
5346 header file and .C file match.
5348 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5350 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5351 * aspell.C: \file aspell_local.C -> \file aspell.C
5352 * gettext.C: \file gettext.C -> \file src/gettext.C
5353 * gettext.h: \file gettext.h -> \file src/gettext.h
5354 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5355 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5356 * text.C: \file text.C -> \file src/text.C
5358 * toc.C: move comment so that doxygen is not confused.
5360 2003-10-07 Angus Leeming <leeming@lyx.org>
5362 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5364 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5367 * aspell_local.h: add forgotten std::string's.
5369 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5376 * text3.C: The Box patch. Fancybox support, minipage, parbox
5378 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5384 * ParagraphParameters.h:
5394 * lyxtextclasslist.h:
5397 * paragraph_pimpl.C:
5398 * textcursor.h: add <string> and other small fixes to make Lars'
5399 std::string patch compile with STLport.
5401 2003-10-06 Angus Leeming <leeming@lyx.org>
5403 * LColor.h: Add missing #include <string>.
5405 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5407 * All most all file in all subdirs: Make <string> be the prefered
5408 way of getting to std::string, add using declarations.
5410 2003-10-06 André Pönitz <poenitz@gmx.net>
5412 * metricsinfo.C: initialize LyXFont before changing attribute.
5413 (fixes the 'math in \emph is upright' bug)
5415 2003-10-06 André Pönitz <poenitz@gmx.net>
5417 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5419 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5422 * paragraph_pimpl.C: Small fixes to build using STLport
5424 2003-10-02 André Pönitz <poenitz@gmx.net>
5427 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5429 2003-10-01 André Pönitz <poenitz@gmx.net>
5431 * factory.C: assert early
5433 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5435 * lyx_main.C: remove the global debug object
5437 * debug.h: adjust for new debugstream
5439 * debug.C: adjust for new debugstream and keep the global debug
5442 2003-09-22 Angus Leeming <leeming@lyx.org>
5444 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5445 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5446 an incomplete class LyXFont.
5448 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5450 * factory.C: bug fix in branches
5452 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5454 * lyxfunc.C (processKeySym): adjust
5456 (dispatch): change arg name from ev to func, adjust
5457 (sendDispatchMessage): ditto
5459 * lyx_main.C (defaultKeyBindings): adjust keybindings
5460 (deadKeyBindings): ditto
5462 * kbsequence.C (addkey): return a FuncRequest
5464 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5466 * kbmap.C (bind): take a FuncRequest as arg, adjust
5469 (defkey): change to take a FuncRequest as arg, adjust
5470 (findbinding): take a FuncRequest as arg, adjust.
5472 * funcrequest.h (operator=): added
5474 * funcrequest.C (FuncRequest): default kb_action changed from
5475 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5477 * buffer.C (dispatch): simplify
5478 (dispatch): adjust to take a FuncRequest as arg, adjust
5480 * boost.C (assertion_failed): change assertion message slightly
5482 * ToolbarBackend.C (read): simplify
5484 * MenuBackend.C (binding): adjust call to findbinding, add a
5485 message if no binding is found.
5487 (expandToc): correct by adding a empty FuncRequest
5489 * LyXAction.C: include <boost/assert.hpp>
5490 (isPseudoAction): delete function
5491 (LookupFunc): change name to...
5492 (lookupFunc): this. change return type to FuncRequest.
5493 (getActionName): take kb_action as arg, simplify
5494 (funcHasFlag): add an assert, simplify.
5496 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5498 * toc.C (action): return a FuncRequest, simplify
5500 * lyxfunc.C (processKeySym): adjust
5501 (getStatus): delete version that takes an int.
5503 (dispatch): delete version that takes action as int
5505 (sendDispatchMessage): simplify and adjust
5507 * funcrequest.C (getArg): take unsigned int as arg
5509 * ToolbarBackend.C (read): adjust
5510 (add): delete version that takes func as a string.
5511 (getIton): take a FuncRequest as arg
5513 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5516 * MenuBackend.C (MenuItem): add a new construct that only takes a
5517 Kind, simplify the constructor use for submenus.
5519 (expandLastfiles): adjust
5520 (expandDocuments): adjust
5521 (expandFormats): adjust
5522 (expandFloatListInsert): adjust
5523 (expandFloatInsert): adjust
5524 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5526 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5527 Remove class variables lyx_pseudo_map and lyx_arg_map
5529 * LyXAction.C (searchActionArg): delete function
5530 (getPseudoAction): delete function
5531 (retrieveActionArg): delete function
5532 (LookupFunc): make it return kb_action, simplify.
5533 (getActionName): simplify
5535 * factory.C (createInset): fix new bug
5537 2003-09-19 Angus Leeming <leeming@lyx.org>
5539 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5540 masterFilename_ parameter in the include inset.
5542 * factory.C (createInset): changes due to the changes to InsetInclude.
5544 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5546 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5548 2003-09-18 Angus Leeming <leeming@lyx.org>
5551 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5552 Inset::fillWithBibKeys.
5553 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5555 2003-09-18 Angus Leeming <leeming@lyx.org>
5557 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5559 (ctor): pass and store a 'Buffer const &'
5560 (buffer): new member function.
5562 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5563 '*this' to the LaTeXFeatures ctor.
5565 2003-09-18 Angus Leeming <leeming@lyx.org>
5571 * text.C: rename EnumLColor as LColor_color.
5573 2003-09-18 Angus Leeming <leeming@lyx.org>
5575 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5576 remove #include "insets/insetbase.h" from cursor.h.
5578 2003-09-18 Angus Leeming <leeming@lyx.org>
5580 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5581 InsetOld_code to remove #include "inset.h".
5583 * iterators.C: add #include "insets/inset.h"
5585 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5587 * BufferView.C: remove more locking stuff that apparently doesn't
5588 do anything sensible.
5590 2003-09-16 André Pönitz <poenitz@gmx.net>
5593 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5596 2003-09-16 Angus Leeming <leeming@lyx.org>
5598 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5600 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5603 * paragraph.h: remove #include "lyxfont.h". Forward declare
5606 2003-09-16 Angus Leeming <leeming@lyx.org>
5608 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5609 of support/textutils.h.
5610 (isWord): move the contents of support/textutils.h's IsWordChar here.
5616 * text2.C: add #include "paragraph.h".
5619 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5621 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5627 * LaTeX.C: use namespace alias for lyx::support::os
5629 2003-09-16 Angus Leeming <leeming@lyx.org>
5632 * bufferview_funcs.C:
5635 * paragraph_pimpl.C:
5637 * text.C: add #include "LColor.h".
5639 2003-09-16 Angus Leeming <leeming@lyx.org>
5641 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5642 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5644 Store the FontBits::color variable as an int rather than as an
5645 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5648 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5649 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5650 string calls together.
5652 * lyxrc.C: add #include "LColor.h".
5654 2003-09-15 Angus Leeming <leeming@lyx.org>
5656 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5659 2003-09-15 Angus Leeming <leeming@lyx.org>
5661 * LColor.h: add an EnumLColor wrapper for LColor::color.
5663 * lyxfont.[Ch] (color, setColor, realColor):
5664 * lyxtext.h, text.C (backgroundColor):
5665 pass EnumLColor args to/from the functions, rather than LColor::color
5669 * lyxtext.h: forward declare EnumLColor.
5671 * lyx_main.C: add #include "LColor.h".
5673 2003-09-15 Angus Leeming <leeming@lyx.org>
5675 * .cvsignore: add lyx-gtk.
5677 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5682 * ParagraphParameters.C
5686 * bufferview_funcs.C
5696 * vc-backend.C: remove usage of STRCONV
5698 2003-09-15 Angus Leeming <leeming@lyx.org>
5700 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5701 explicitly define the color passed to the painter.
5703 2003-09-15 Angus Leeming <leeming@lyx.org>
5705 * bufferparams.C (BufferParams): reorder member initializers to avoid
5708 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5710 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5711 * text.C (updateRowPositions): remove an unusual nop
5713 2003-09-12 André Pönitz <poenitz@gmx.net>
5715 * BufferView_pimpl.C:
5724 * Counters.[Ch]: finish the 'automatic counters' job
5726 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5728 * aspell.C: include <boost/assert.cpp> (compile fix)
5730 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5732 * boost.C (assertion_failed): use lyx::support::abort instead of
5735 2003-09-10 Angus Leeming <leeming@lyx.org>
5737 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5738 with their _fwd progeny.
5740 2003-09-09 Angus Leeming <leeming@lyx.org>
5742 134 files throughtout the source tree: replace 'using namespace abc;'
5743 directives with the appropriate 'using abc::xyz;' declarations.
5745 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5747 * boost.C (emergencyCleanup): moved here from LAssert.c
5748 (assertion_failed): new function, called by BOOST_ASSERT
5750 * several files: change Assert to BOOST_ASSERT
5752 2003-09-09 Angus Leeming <leeming@lyx.org>
5754 * buffer.[Ch]: Add an Impl class and move Buffer's member
5755 variables into it. As a result move several header files out of
5758 Add header files to lots of .C files all over the tree as a result.
5760 2003-09-09 Angus Leeming <leeming@lyx.org>
5762 * buffer.[Ch]: make Buffer's member variables private. Add
5765 Lots of changes all over the tree as a result.
5767 2003-09-08 Angus Leeming <leeming@lyx.org>
5769 * graph.C: #include <config.h>.
5771 2003-09-08 Angus Leeming <leeming@lyx.org>
5775 * BufferView_pimpl.C:
5804 * toc.C: remove redundant using directives.
5806 2003-09-07 Angus Leeming <leeming@lyx.org>
5808 * LaTeXFeatures.h: remove #include "support/types.h".
5809 * ToolbarBackend.h: remove #include <algorithm>.
5810 * changes.h: remove #include <ctime>.
5811 * debug.h: remove #include <iosfwd>.
5812 * graph.h: remove #include "support/std_string.h".
5813 * lyx_main.h: remove #include <csignal>.
5814 * lyxlex_pimpl.h: remove #include <fstream>.
5815 * sgml.h: remove #include <algorithm>, <utility>.
5816 * toc.h: remove #include "support/std_ostream.h".
5817 Add #include <iosfwd>.
5819 2003-09-07 Angus Leeming <leeming@lyx.org>
5821 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5823 * converter.h: forward declare LatexRunParams.
5824 * encoding.h: remove #include "lyxrc.h".
5825 * lyxtext.h: remove #include "LColor.h".
5826 * lyxtextclass.h: remove #include "support/types.h".
5827 * trans.h: remove #include "tex-accent.h".
5828 * trans_mgr.h: remove #include "tex-accent.h".
5829 * insets/inset.h: remove #include "support/types.h", <vector>.
5830 * insets/insetcollapsable.h: remove #include "LColor.h".
5831 * insets/insetinclude.h: remove #include "dimension.h".
5832 * insets/insetlatexaccent.h: remove #include "dimension.h".
5833 * insets/insetoptarg.h:: remove #include "insettext.h".
5834 * insets/insettext.h: remove #include "dimension.h",
5835 <boost/shared_ptr.hpp>
5837 * insets/renderers.h: add #include "dimension.h".
5838 * insets/updatableinset.h: add #include "support/types.h".
5840 * many .C files: Associated changes.
5842 2003-09-06 Angus Leeming <leeming@lyx.org>
5844 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5845 one, inside testInvariant.
5847 * PrinterParams.C: new file.
5848 * PrinterParams.[Ch]: move the function bodies out of line.
5850 2003-09-06 Angus Leeming <leeming@lyx.org>
5852 * ParagraphParameters.h: forward declare ParameterStruct rather than
5853 including its header file.
5854 (depth): moved out-of-line.
5856 2003-09-06 Angus Leeming <leeming@lyx.org>
5858 * BufferView_pimpl.h:
5861 * lyxfunc.h: forward declare LyXKeySym rather than
5862 #include "frontends/LyXKeySym.h".
5864 * BufferView_pimpl.C:
5867 * lyxfunc.C: associated changes.
5869 2003-09-06 Angus Leeming <leeming@lyx.org>
5871 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5872 As a result, can remove the #include "insets/inset.h" from BufferView.h
5874 2003-09-06 Angus Leeming <leeming@lyx.org>
5876 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5877 As a result, can remove the #include "insets/inset.h" from BufferView.h
5879 2003-09-06 Angus Leeming <leeming@lyx.org>
5885 * bufferview_funcs.C:
5886 * BufferView_pimpl.C:
5891 * ParagraphParameters.C:
5896 * frontends/controllers/ControlDocument.C:
5897 * insets/insetcaption.C: rearrange the #includes into some sort of
5900 * buffer.h: remove #includes ErrorList.h, undo.h
5902 2003-09-06 Angus Leeming <leeming@lyx.org>
5904 * support/types.h: add a 'depth_type' typedef, used to store the
5905 nesting depth of a paragraph.
5908 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5909 defining explicitly.
5912 * paragraph_funcs.h:
5913 * ParagraphParameters.h:
5914 * sgml.h: use lyx::depth_type rather than Paragraph or
5915 ParameterStruct's depth_type.
5918 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5921 * BufferView_pimpl.C:
5923 * ParagraphParameters.C:
5926 * bufferview_funcs.C:
5933 * frontends/LyXView.C:
5934 * frontends/controllers/ControlDocument.C:
5935 * frontends/controllers/ControlErrorList.C:
5936 * insets/insetbibitem.C:
5937 * insets/insetbranch.C:
5938 * insets/insetcaption.C:
5939 * insets/insetcollapsable.C:
5940 * insets/insetenv.C:
5941 * insets/insetert.C:
5942 * insets/insetfloat.C:
5943 * insets/insetfoot.C:
5944 * insets/insetfootlike.C:
5945 * insets/insetnewline.C:
5946 * insets/insetquotes.C:
5947 * insets/insettabular.C:
5948 * insets/insettext.C:
5949 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5951 * frontends/controllers/ControlChanges.C: #include "changes.h".
5953 2003-09-06 Angus Leeming <leeming@lyx.org>
5955 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5956 than #including paragraph.h.
5959 * RowList.h: deleted. Superfluous.
5969 * insets/insettext.h: use ParagraphList_fwd.h rather than
5972 * paragraph.h: don't forward declare ParagraphList.
5975 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5976 rather than ParagraphList.h. paragraph.h is still needed for the
5977 Paragraph::depth_type parameters.
5979 * textcursor.h: enable it to compile stand-alone in light of the
5982 * bufferview_funcs.C:
5994 * frontends/controllers/ControlParagraph.C:
5995 * frontends/controllers/ControlTabular.C:
5996 * insets/insetmarginal.C:
5997 * insets/insetminipage.C:
5998 * insets/insetnote.C:
5999 * insets/insetoptarg.C: add header files needed to compile again.
6001 2003-09-06 Angus Leeming <leeming@lyx.org>
6003 * RowList_fwd.h: new file, forward-declaring Row rather than
6004 #including lyxrow.h.
6009 * insets/insettext.h: use it instead of RowList.h
6011 * bufferview_funcs.C:
6018 * text3.C: #include "RowList.h".
6020 2003-09-05 Angus Leeming <leeming@lyx.org>
6022 * factory.C (createInset):
6023 * vspace.C (c-tor): replace sscanf call with an istringstream.
6024 * ispell.C: re-add missing HP/UX headers.
6025 * lyxserver.C: re-add missing os2 headers.
6027 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
6036 * text3.C: re-add missing system headers, needed for 2.95.2.
6038 2003-09-05 Angus Leeming <leeming@lyx.org>
6040 Changes most place everywhere due to the removal of using directives
6041 from support/std_sstream.h.
6043 2003-09-05 Angus Leeming <leeming@lyx.org>
6045 Replace LString.h with support/std_string.h,
6046 Lsstream.h with support/std_sstream.h,
6047 support/LIstream.h with support/std_istream.h,
6048 support/LOstream.h with support/std_ostream.h.
6050 Changes resulting throughout the tree.
6052 2003-09-05 Angus Leeming <leeming@lyx.org>
6054 * sgml.h: ensure that the header file can be compiled stand-alone.
6055 * *.C: strip out redundant #includes. (320 in total.)
6057 2003-09-04 Angus Leeming <leeming@lyx.org>
6059 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6060 here (from getPackages).
6062 * debug.[Ch]: add a new EXTERNAL tag.
6064 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6066 * text2.C (cursorEnd): simplify
6068 (getColumnNearX): adjust
6070 * text.C (computeBidiTables): adjust
6073 * rowpainter.C (paintChars): adjust
6074 (paintSelection): adjust
6075 (paintChangeBar): adjust
6078 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6080 (numberOfSeparators): adjust
6082 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6088 * text3.C: Restricts the mouse click functionality
6089 of insets like bibtex, include, toc and floatlist to the visible
6090 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6091 up the dialogs. Cursor has to be in front of the inset (i.e.
6092 start of row) for this to function.
6094 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6096 * bufferview_funcs.C (currentState): output row information
6098 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6100 * bufferview_funcs.C (currentState): output paragraph position
6102 2003-09-04 Angus Leeming <leeming@lyx.org>
6104 * FloatList.h: move out #include "Floating.h".
6105 * LaTeX.h: move out #include "DepTable.h".
6106 * LyXAction.h: move out #include "funcrequest.h".
6107 * buffer.h: move out #include "author.h", "iterators.h".
6108 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6109 * lyx_main.h: move out #include "errorlist.h".
6110 * lyxfunc.h: move out #include "FuncStatus.h".
6111 * lyxtext: move out #include "lyxcursor.h".
6112 * paragraph_pimpl.h: move out #include "counters.h".
6114 2003-09-03 Angus Leeming <leeming@lyx.org>
6116 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6117 preamble_snippets list, enabling us to add snippets to the preamble
6118 only if the snippet was not there already.
6120 2003-09-04 Angus Leeming <leeming@lyx.org>
6122 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6124 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6126 * lyxfunc.C (dispatch): if fitCursor did something be sure to
6129 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
6131 * BranchList.C: point fix, earlier forgotten
6133 2003-09-02 Angus Leeming <leeming@lyx.org>
6135 * box.C (contains): renamed from 'contained' after a fantastic
6138 2003-09-02 John Levon <levon@movementarian.org>
6144 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6146 2003-09-02 John Levon <levon@movementarian.org>
6148 * text2.C: simplification of cursorEnd(), including partial
6151 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6153 * buffer.C (readFile): add a space
6155 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
6157 * BufferView_pimpl.C (update): remove bogus fitCursor() call
6159 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6161 * buffer.C (readFile): new function, take a filename and a
6162 ParagraphList::iterator
6164 (readFile): adjust, make it private. don't use setStream, make
6165 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6166 always contain the filename.
6168 * BufferView.C (insertLyXFile): simplify and make it work for
6171 2003-08-30 John Levon <levon@movementarian.org>
6173 * Makefile.am: fix dist (from Kayvan)
6175 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6177 * most files: change to use const Buffer refs
6179 2003-08-27 André Pönitz <poenitz@gmx.net>
6181 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6182 on top of ownerPar().
6184 2003-08-27 John Levon <levon@movementarian.org>
6186 * funcrequest.C: properly initialise POD members
6188 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6190 * lyxtext.h (top_y): move top_y from here
6195 * BufferView_pimpl.[Ch]: to here
6196 * frontends/screen.C:
6197 * insets/insettabular.C:
6198 * insets/insettext.C: adjust
6199 * rowpainter.[Ch] (paintRows): remove LyXText & argument
6201 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
6204 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6206 2003-08-26 André Pönitz <poenitz@gmx.net>
6208 * paragraph_func.[Ch] (outerPar): new function
6211 * paragraph_funcs.C:
6212 * paragraph_funcs.h:
6213 * paragraph_pimpl.C:
6214 * text2.C: remove Inset::par_owner
6216 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6221 * text2.C: eliminates the needFullRow/display() stuff
6222 altogether, putting the logic in metrics/draw in the insets.
6224 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6226 * text2.C (redoParagraphInternal, redoParagraphs):
6227 * text.C (redoParagraph): add a call to updateRowPositions at the
6228 end of each 'metrics-like' call. Remove all others.
6229 (getRow): remove the 'y-computing' version.
6230 (getRowNearY): do not compute nor return the real y. Solve the
6231 'y < 0' problem and simplify.
6233 2003-08-22 Angus Leeming <leeming@lyx.org>
6235 * *.[Ch]: clean-up of licence and author blurbs.
6236 Also move config.h out of a few .h files and into a few .C files.
6238 2003-08-22 André Pönitz <poenitz@gmx.net>
6240 * lyxrow.[Ch]: add x_ and *fill_ members
6245 * text2.C: adjust/remove prepareToPrint() calls
6247 2003-08-22 André Pönitz <poenitz@gmx.net>
6249 * lyxrow.[Ch]: add end_ member
6251 * lyxrow_funcs.C: use LyXRow::end_
6253 * lyxtext.h (singleWidth): add LyXFont parameter
6256 * text2.C: adjust LyXText::singleWidth() calls
6258 * text.C (redoParagraph): simplify row breaking logic
6261 2003-08-19 André Pönitz <poenitz@gmx.net>
6263 * funcrequest.C: initialize button_ member
6266 * rowpainter.[Ch]: interface consolidation
6268 2003-08-18 André Pönitz <poenitz@gmx.net>
6271 * BufferView_pimpl.C:
6273 * paragraph_funcs.C:
6275 * text3.C: remove LyXScreen::draw() and fitCursor calls
6277 * BranchList.h: remove spurious semicolons
6279 * MenuBackend.C: fix branchlist related crash
6281 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6289 * bufferparams.[Ch]:
6293 * text3.C: implements the 'branch inset'
6294 idea. This allows the output of various versions of a document
6295 from a single source version, selectively outputing or suppressing
6296 output of parts of the text.
6297 This implementation contains a 'branch list editor' in a separate
6298 tab of the document settings dialog. Branches are user definable
6299 and have a "display colour" to distinguish them on-screen.
6301 ColorHandler was somewhat cleaned up.
6302 (1) make possible a dynamically growing LColor list by allowing
6303 the graphic context cache to grow along (vector);
6304 (2) eliminate an IMHO unnecessary step in colour allocation.
6306 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6308 * BufferView_pimpl.C: compile fix
6310 2003-08-15 André Pönitz <poenitz@gmx.net>
6312 * rowpainter.C: remove extra metrics calls
6314 * lyxtext.h: merge the two constructors into a single one,
6315 pass reference to owner's par list
6317 * BufferView_pimpl.C:
6321 2003-08-15 André Pönitz <poenitz@gmx.net>
6323 * lyxrow_funcs.[Ch]:
6326 * paragraph_funcs.C:
6331 * text_funcs.C: split LyXText::rowlist_ into individual
6332 Paragraph::rows_ chunks
6335 * BufferView_pimpl.[Ch]:
6338 * text3.C: remove toggleSelection()
6340 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6342 * bufferlist.C: beautify two alerts (shorter text of buttons)
6343 * buffer.C: Remove redundant ' ' from message
6345 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6346 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6347 rename VALIGN_CENTER to VALIGN_MIDDLE
6349 2003-08-11 André Pönitz <poenitz@gmx.net>
6351 * lyxtext.h (getPar):
6352 * text.C: new function
6354 2003-08-11 André Pönitz <poenitz@gmx.net>
6357 * tracer.[Ch]: remove unneeded files
6359 * InsetList.[Ch]: remove resizeInsetsLyXText()
6364 * text3.C: merge insertParagraphs() and appendParagraph()
6365 remove breakAgain(), update()
6367 * BufferView_pimpl.[Ch]:
6368 * bufferview_funcs.[Ch]:
6372 * tabular.C: adjust after text & InsetList changes.
6374 2003-08-08 André Pönitz <poenitz@gmx.net>
6376 * text.C (insertChar, backspace): replace rowlist fiddling
6377 with rebreak of full par
6380 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6381 checkParagraph, updateInset): removed
6383 2003-08-07 André Pönitz <poenitz@gmx.net>
6386 * text3.C: merge some LFUN handlers, remove dead code
6388 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6390 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6392 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6394 * text2.C (DEPM): fix part of bug 1255 and 1256
6396 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6398 * BufferView_pimpl.C (workAreaDispatch): change to use
6399 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6400 that are no mouse related.
6402 2003-08-05 André Pönitz <poenitz@gmx.net>
6405 * BufferView_pimpl.[Ch]:
6406 * bufferview_funcs.C:
6408 * text3.C: rip out "deep update"
6410 * textcursor.[Ch] (last_sel_cursor): remove unused member
6412 2003-08-04 André Pönitz <poenitz@gmx.net>
6415 * BufferView_pimpl.[Ch]:
6416 * ParagraphParameters.C:
6417 * bufferview_funcs.C:
6423 * text3.C: replace "complicated" BufferView::update(...) calls with
6426 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6428 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6430 * Makefile.am (lyx_SOURCES): add paper.h
6432 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6434 * Makefile.am: move things around so that both lyx-qt and
6435 lyx-xforms can be built (according to --with-frontend). Then lyx
6436 is a symbolic link to lyx-[firstfrontend]
6438 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6440 * Always use std::endl with lyxerr
6442 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6444 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6446 2003-08-01 André Pönitz <poenitz@gmx.net>
6449 * BufferView_pimpl.[Ch]:
6451 * text3.C: merge BufferView::repaint() and BufferView::update()
6453 2003-08-01 José Matos <jamatos@lyx.org>
6455 * buffer.[Ch]: file_format is no longer a buffer data element.
6457 2003-08-01 André Pönitz <poenitz@gmx.net>
6462 * text2.C: make redoParagraph more independent of current cursor
6464 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6466 * text2.C: remove unneeded members
6468 2003-07-30 André Pönitz <poenitz@gmx.net>
6470 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6472 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6473 create a single function...
6475 * paragraph_funcs.C (moveItem): ... here.
6478 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6480 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6482 * LColor.[Ch]: Add comment and greyedout logical colors.
6484 2003-07-30 André Pönitz <poenitz@gmx.net>
6486 * tabular.C: don't use Assert too heavily. This crashes where it
6489 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6491 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6492 is disabled (bug 1232)
6494 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6496 * factory.C: limited 'arg' scope
6498 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6500 * factory.C: fixed Note submenu issues
6502 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6504 * factory.C: submenu for Note/Comment/Greyedout
6506 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6509 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6511 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6514 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6515 greyedout. Patch provided by Jürgen Spitzmüller.
6517 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6519 * kbmap.C (read): fix error message when reading bind files
6521 2003-07-29 Angus Leeming <leeming@lyx.org>
6523 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6524 certainly does not do what it purports to do. I am doing it, and
6525 us, a favour by killing it.
6527 2003-07-28 José Matos <jamatos@lyx.org>
6529 * buffer.C (readBody, do_writeFile):
6530 * paragraph.C(readParagraph): \end_document replaces \the_end.
6532 2003-07-29 André Pönitz <poenitz@gmx.net>
6535 * BufferView_pimpl.[Ch]:
6539 * textcursor.[Ch]: remove toggleToggle & Co
6541 2003-07-28 José Matos <jamatos@fep.up.pt>
6543 * buffer.C (readParagraph):
6544 * params_func (readParToken, readParagraph):
6545 * paragraph.C (write): \layout -> \begin_layout.
6547 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6549 * lyxlex_pimpl.C (setFile): clean up slightly.
6551 * bufferparams.h: add compressed var
6553 * buffer_funcs.C (readFile): adjust for LyXLex change
6554 (newFile): ditto + simplify
6556 * buffer.C (writeFile): handle writing of compressed files
6558 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6559 Check if the file is compressed and set a bufferparm if so.
6561 * Makefile.am (lyx_LDADD): remove explicit -lz
6563 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6565 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6566 makeDocBookFile): put the real LyX version in the first line of
6570 * version.C.in: remove lyx_docversion
6572 * tabular.C (write_attribute): add a template-based version to
6573 write enums properly
6575 2003-07-28 André Pönitz <poenitz@gmx.net>
6580 * text3.C: use doubles again for x-coordinates. They are needed.
6582 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6584 * messages.C (getLocaleDir): use lyx_localedir()
6586 * lyxlex_pimpl.C (setFile): compress stuff
6588 * buffer.C (writeFile): add some compression stuff
6589 (do_writeFile): new func, dont call expliti close... will this
6592 * Makefile.am (lyx_LDADD): add -lz
6594 2003-07-28 José Matos <jamatos@fep.up.pt>
6596 * buffer.C: increment file format.
6597 * paragraph_funcs (readParagraph, readParToken):
6598 * paragraph.C (readParagraph): add \end_layout.
6600 2003-07-27 Angus Leeming <leeming@lyx.org>
6602 * Makefile.am: remove special casing for configure-time setting of
6603 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6605 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6606 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6608 2003-07-26 André Pönitz <poenitz@gmx.net>
6610 * paragraph_func.[Ch]:
6611 * paragraph.C (realizeFont): inline it whereever it is used
6616 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6619 2003-07-26 André Pönitz <poenitz@gmx.net>
6623 * text2.C: get rid of LyXText::need_break_row
6625 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6627 * toc.[Ch]: put namespace toc inside namespace lyx
6629 * MenuBackend.C (expandToc2): adjust for lyx::toc
6632 * lyxfunc.C (dispatch): adjust for lyx::find
6634 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6635 lyx::find instead. Reorganize a bit.
6636 (LyXReplace): rename to replace
6637 (LyXFind): rename to find
6639 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6642 2003-07-26 André Pönitz <poenitz@gmx.net>
6644 * text.C (setHeightOfRow): restrict scope of temporary variable
6646 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6647 code (never has been used?)
6649 2003-07-27 Asger Alstrup <alstrup@local>
6651 * text.C (fill): Optimise algorithm to exploit that we can reuse
6652 the LyXFont for many characters.
6653 (setHeightOfRow): Same thing.
6654 (rowBreakPoint): Same thing.
6656 2003-07-26 Asger Alstrup <alstrup@local>
6658 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6660 * text.C (singleWidth): Spurious font copying in hot-spot
6661 singleWidth avoided. Reorder tests for arabic for efficiency.
6663 * text.C (fill): handle empty paragraphs better.
6665 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6668 * encoding.h: add includes
6670 * lyxrc.C: remove reading of bind files
6672 * lyx_main.C (init): setup bindings and menus only if we have a
6675 * kbmap.C (read): new method. Do the actual reading of bind
6678 * converter.C (dvipdfm_options):
6681 (output): adapt PAPER_* enums.
6683 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6685 * bufferparams.h: remove paper-related enums from there
6687 * paper.h: New file. A trivial header file to hold paper-related
6688 enums. It should later expand to contain many paper-related
6691 * lyxrc.C: declare extern displayTranslator
6693 2003-07-27 José Matos <jamatos@fep.up.pt>
6695 * tabular.[Ch] (linuxdoc): add support for tables and figures
6698 2003-07-27 José Matos <jamatos@fep.up.pt>
6700 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6701 consistency in both functions.
6702 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6704 2003-07-26 Asger Alstrup <alstrup@local>
6706 * rowpainter.C (paintRows): Change algorithm to work directly on
6707 the insets rather than asking every character in the document
6708 whether its an inset.
6710 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6712 * buffer.C (openFileWrite): factorize some code
6714 2003-07-26 Angus Leeming <leeming@lyx.org>
6717 * lyx_main.[Ch]: replace occurances of system_tempdir with
6720 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6722 * rename Inset to InsetOld
6724 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6726 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6727 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6728 which I think is a bit clearer. EDIT is gone, since it was
6729 premature optimisation, and broken for mathed anyway.
6730 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6731 with cursor positioning in insets as well (math insets still do not
6732 work, but that's a different story anyway.) It mysteriously
6733 crashes sometimes with undo in the first paragraph, but I'm fairly
6734 confident that this is a compiler bug.
6736 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6738 * paragraph.C (Paragraph): adjust for new clone return type
6740 (copyIntoMinibuffer): ditto
6742 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6744 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6745 by not having a special case, and always doing a full rebreak of
6746 the document after undo.
6748 2003-07-23 Angus Leeming <leeming@lyx.org>
6750 * factory.C (createInset): InsetExternal::setParams now takes a
6753 2003-07-23 Angus Leeming <leeming@lyx.org>
6755 * factory.C (createInset): changed interface to the external and
6756 graphics mailers' string2params functions.
6758 2003-07-23 Angus Leeming <leeming@lyx.org>
6760 * factory.C (createInset): pass a
6761 Buffer const * parameter to InsetExternalMailer's string2params.
6763 2003-07-22 John Levon <levon@movementarian.org>
6765 * Thesaurus.h: include the right aiksaurus header
6767 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6769 * MenuBackend.C (expand): check menu shortcuts unconditionally
6771 2003-07-21 Angus Leeming <leeming@lyx.org>
6773 * factory.C (createInset): pass a
6774 buffer_path parameter to InsetGraphicsMailer's string2params.
6776 2003-07-21 Angus Leeming <leeming@lyx.org>
6778 * BufferView_pimpl.C (buffer):
6781 * lyxfunc.C (dispatch):
6782 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6783 rather than the grfx shortcut.
6785 2003-07-21 André Pönitz <poenitz@gmx.net>
6787 * rowpainter.C: remove unused variables
6790 * tabular_funcs.h: move to tabular.C
6791 * Makefile.am: adjust
6793 * tabular.[Ch]: basic optical cleaning
6795 * author.h: pass references, not values
6797 2003-07-18 André Pönitz <poenitz@gmx.net>
6805 * text3.C: two-phase drawing for InsetText and InsetTabular
6806 some float -> int changes.
6808 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6810 * lyx_main.C: fix the fix
6812 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6814 * lyx_main.C: fix a crash in batch mode if no files specified
6817 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6819 * format.[Ch] (papersize): moved to BufferParams
6820 * converter.[Ch] (dvips_options): moved to BufferParams
6821 (dvipdfm_options): moved to anon namespace
6822 * bufferparams.[Ch]: added above functions.
6824 2003-07-17 André Pönitz <poenitz@gmx.net>
6828 * text2.C: don't call inset->update() anymore
6830 * metricsinfo.[Ch]: add convenience constructor
6832 2003-07-16 André Pönitz <poenitz@gmx.net>
6837 * text2.C: replace the LyXCursor::irow_ member with
6838 on-demand computation of the value
6840 2003-07-16 John Levon <levon@movementarian.org>
6842 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6844 2003-07-15 André Pönitz <poenitz@gmx.net>
6847 * text2.C: remove no more needed refresh_row
6849 2003-07-15 André Pönitz <poenitz@gmx.net>
6854 * text3.C: refresh_status tristate -> need_update bool
6856 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6858 * lyxtext.h (init): remove reinit argument (act as if always true)
6859 * text2.C: adjust to that
6861 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6863 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6864 * text3.C: use it to delete selections in some cases
6865 (bugs 441, 673, 702, 954).
6867 2003-07-14 André Pönitz <poenitz@gmx.net>
6869 * rowpainter.[Ch]: reduce interface
6871 2003-07-14 André Pönitz <poenitz@gmx.net>
6873 * BufferView_pimpl.C:
6874 * text2.C: adjust after removing unused BufferView * argument
6876 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6878 * text2.C (init): fix a crash fired on resize
6880 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6882 * buffer.[Ch]: added new closing signal
6883 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6884 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6885 BufferView::Pimpl via the closing the signal
6887 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6889 * buffer.[Ch]: take out all bv-related from buffer
6891 * BufferView_pimpl.[Ch]: connect to new signals
6892 * CutAndPaste.C: removed useless asserts
6893 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6896 * lyxfunc.C: moved view-related funciontality from vc here
6897 * paragraph.C: removed outdated comments
6900 2003-07-10 André Pönitz <poenitz@gmx.net>
6902 * BufferView_pimpl.C:
6906 * text2.C: remove InsetText::InnerCache, clean up consequences
6908 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6910 * ispell.C: fix two typos in error messages
6912 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6914 * Extend Note inset to other forms of annotation like Comment
6915 and Greyedout. Right button click gives dialog.
6917 Files modified or added (+):
6921 * ControlNote.[Ch] +
6923 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6924 frontends/controllers
6928 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6930 * aspell.C: add missing namespace lyx::support
6932 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6934 * BufferView.[Ch] (newFile): Add
6935 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6936 * LaTeX.[Ch] (message): added this signal and use it
6937 * buffer.[Ch] (busy, message): added these signals and use them
6938 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6942 * importer.C: use buffer signals instead of direct bv calling
6943 * lyx_cb.[Ch] (ShowMessage): removed
6946 * paragraph_funcs.C:
6947 * text2.C: use buffer signals
6949 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6951 * introduce namespace lyx::graphics
6953 2003-07-02 André Pönitz <poenitz@gmx.net>
6955 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6957 2003-07-01 André Pönitz <poenitz@gmx.net>
6964 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6965 text*.C to text_func.C
6967 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6969 * introduce namespace lyx::support
6971 2003-06-30 André Pönitz <poenitz@gmx.net>
6976 * text.C: re-enable --with-included-string
6978 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6980 * textcursor.C: add <config.h>
6982 * text.C (getWord): remove const from word_location arg
6984 * lyxvc.C (getLogFile): fix const type order
6986 * lyxtext.h: remove const from word_location arg, add arg name
6988 * lyxlayout.h: currect type on labeltype.
6990 * importer.C: correct \file
6992 * converter.C (intToFormat): use std:: on ret val, ws changes
6994 * bufferlist.h: correct \file
6996 * buffer.C (makeLinuxDocFile): fix const type order
6997 (makeDocBookFile): ditto
6998 (fillWithBibKeys): use std:: on stdlib args.
7000 * CutAndPaste.C: fix authors.
7001 (availableSelections): use std:: on return vector
7003 2003-06-27 André Pönitz <poenitz@gmx.net>
7005 * BufferView_pimpl.C:
7006 * bufferview_funcs.C:
7014 * text3.C: remove LyXCursor::row_ member
7017 * text.C: rename fullRebreak() to partialRebreak() and implement
7018 a fullRebreak() that really bereks fully
7020 * textcursor.h: new struct for cursor-related data
7022 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
7024 * lyx_main.C (LyX): get full path of document loaded on the
7027 2003-06-26 André Pönitz <poenitz@gmx.net>
7029 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7030 remove unused/broken operator>,<,>=.
7032 * text.C: remove only use of broken operator<= in an Assert().
7034 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7036 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7037 moved errorlist_.clear to showErrorList
7039 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
7041 * converter.C (scanLog, runLaTeX):
7042 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7043 move the bv->showErrorList call to the callers
7044 * lyxfunc.C: i.e. here...
7046 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7047 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7048 namespace, the second to...
7049 * buffer_funcs (BufferFormat, parseErrors): added
7050 * errorlist.C (ErrorList(TeXErrors const &)): removed
7052 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7054 * ToolbarBackend.C (getIcon): complain when icon cannot be found
7056 2003-06-24 "Garst R. Reese" <reese@isn.net>
7060 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7062 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7064 * version.C.in: change docversion to 1.4
7066 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
7068 * buffer.C: fix a bug just introduced
7070 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
7072 * buffer.[Ch]: added the parseError signal and use it, removed
7074 * BufferView.[Ch] (addError): moved to ...
7075 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7076 to the Buffer::parseError signal to catch (guess what) parse errors
7077 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7079 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
7081 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7082 ability to create a buffer and to return an existing one from
7083 the list. Moved these functions to...
7084 * buffer_funcs.[Ch]: added
7085 * BufferView.[Ch] (loadLyXFile): added
7086 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7087 job removed from bufferlist::loadLyXFile.
7088 * buffer.C (setReadOnly): make it work without view
7089 (i.e added an if (users))
7091 2003-06-19 Angus Leeming <leeming@lyx.org>
7094 * LyXAction.C (init):
7095 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7096 with LFUN_DIALOG_SHOW <name> <data>.
7098 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7100 * CutAndPaste.C (availableSelections): small compilation fix for
7101 ancient (gcc 2.9x) compilers
7103 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
7105 * text3.C (cursorNext): add tmp var
7107 * text2.C (updateCounters): for function calling out of for clause
7108 (replaceSelectionWithString): ditto
7109 (insertStringAsParagraphs): ditto
7110 (getColumnNearX): add tmp var
7111 (setCursorFromCoordinates): add tmp var
7112 (cursorDownParagraph): add tmp var
7113 (deleteEmptyParagraphMechanism): add tmp var
7115 * text.C (insertChar): add tmp var
7117 * rowpainter.C (paintDepthBar): add tmp var
7119 * CutAndPaste.C (availableSelections): potentially check all
7120 paragraphs in a cut to fill the shown strings.
7122 2003-06-18 André Pönitz <poenitz@gmx.net>
7124 * kbmap.[Ch]: use vector<> instead of list<>
7126 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
7128 * text3.C (dispatch): handle arg to LFUN_PASTE, call
7129 pasteSelection with index
7131 * text2.C (pasteSelection): modify, call pasteSelection with index
7133 * paragraph.C (asString): reimplement version with no interval to
7134 call the one with interval.
7136 * lyxtext.h: add index arg to pasteSelection
7138 * MenuBackend.C (MenuItem): handle PasteRecent
7139 (Menu::read::Menutags): add md_pasterecent
7141 (expandPasteRecent): new function
7144 * MenuBackend.h: add PasteRecent to MenuItem::Kind
7146 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7148 (availableSelections): new function
7150 2003-06-17 Angus Leeming <leeming@lyx.org>
7152 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7154 2003-06-17 Angus Leeming <leeming@lyx.org>
7157 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7159 * lyxfunc.C (dispatch): invoke it.
7161 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7163 * iterators.C (operator++, ParPosition): reintroduce some
7164 const_cast for the benefit of older compilers.
7166 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7168 * text3.C (dispatch): do not modify clipboard when doing
7169 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7170 LFUN_DELETE_SKIP on a selection selection
7172 2003-06-16 André Pönitz <poenitz@gmx.net>
7178 * tabular.[Ch]: IU of clone() and getLabelList();
7180 2003-06-13 André Pönitz <poenitz@gmx.net>
7182 * tabular.h: compactification
7184 2003-06-12 André Pönitz <poenitz@gmx.net>
7188 * tabular_funcs.h: some renaming plus whitespace
7190 2003-06-12 André Pönitz <poenitz@gmx.net>
7193 * BufferView_pimpl.C:
7199 * toc.C: Return a Paragraph & for ParIterator::operator*()
7201 2003-06-11 John Levon <levon@movementarian.org>
7205 * ToolbarBackend.C: add "Toolbars" section and
7208 2003-06-10 Angus Leeming <leeming@lyx.org>
7211 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7213 * lyxfunc.C (dispatch): invoke it.
7215 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7217 * main.C: protect <ios> with HAVE_IOS
7218 (main): protect sync_with_stdio with HAVE_IOS
7220 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7222 * text2.C (cutSelection): adjust
7223 (pasteSelection): adjust
7225 * messages.C: handle get of empty string
7227 * main.C (main): use sync_with_stdio(false)
7229 * lyxfunc.C (dispatch): adjust
7231 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7232 (WriteAs): remove unneeded BufferView arg.
7234 * bufferparams.h: use correct types on papersize, papersize2 and
7237 * bufferparams.C (readToken): adjust for type
7238 (writeLaTeX): add missing cases to switch.
7240 * bufferlist.C (quitWriteBuffer): adjust
7243 * buffer.C (asciiParagraph): remove some commented code.
7245 * CutAndPaste.C: remove current_view extern variable.
7246 (cutSelection): add BufferParams arg.
7247 (eraseSelection): add BufferParams arg.
7248 (pasteSelection): add Buffer const & arg
7250 2003-06-07 John Levon <levon@movementarian.org>
7253 * paragraph_funcs.C:
7254 * paragraph_pimpl.C:
7258 * paragraph.C: allow InsetERT to freely space lines,
7259 and some consolidation of code
7261 2003-06-06 José Matos <jamatos@fep.up.pt>
7263 * buffer.C (makeDocBookFile): fix bug #821
7265 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7267 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7269 2003-06-04 Angus Leeming <leeming@lyx.org>
7271 * buffer.C: bump format to 224.
7273 2003-06-05 André Pönitz <poenitz@gmx.net>
7275 * text2.C (redoParagraphs): remove two const_cast<>
7277 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7279 * ParagraphList.h: remove last remnants of NO_STD_LIST
7281 2003-06-03 Angus Leeming <leeming@lyx.org>
7283 * factory.C (createInset): small change to the way InsetExternal's params
7286 2003-06-04 André Pönitz <poenitz@gmx.net>
7288 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7290 * paragraph_pimpl.h:
7291 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7293 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7295 * undo_funcs.C: make some simple cases of undo work again
7297 2003-06-03 John Levon <levon@movementarian.org>
7299 * ispell.C: HPUX doesn't have sys/select.h
7302 2003-06-03 John Levon <levon@movementarian.org>
7304 * CutAndPaste.C: update tabular and include inset
7309 * paragraph.C: remove owningBuffer(), don't pass Buffer
7312 * factory.C: insetGraphicsParams changed
7314 2003-06-02 John Levon <levon@movementarian.org>
7320 * text3.C: remove insetparent
7322 2003-06-02 John Levon <levon@movementarian.org>
7325 * buffer.C: fix inset_iterator.end(), move out of line
7328 2003-06-01 John Levon <levon@movementarian.org>
7330 * text3.C: use a proper cut/paste when doing inset
7331 insert (from Jürgen Spitzmüller)
7333 2003-06-01 John Levon <levon@movementarian.org>
7335 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7337 2003-05-30 André Pönitz <poenitz@gmx.net>
7339 * rowpainter.C: unify second drawing phase
7341 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7343 * trans_mgr.C: remove one case of current_view
7345 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7347 * paragraph_funcs.h: remove paragraph.h include
7349 * paragraph.h: delete NO_STD_LIST stuff
7351 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7353 * buffer.h: remove paragraph.h include
7355 * ParagraphList.C: delete file
7357 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7359 * toc.C (getTocList): adjust
7361 * paragraph_pimpl.C (validate): adjust
7363 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7365 * paragraph.C (Paragraph): adjust
7366 (getPositionOfInset): use const_iterator, adjust
7367 (bibitem): use const_iterator, adjust
7368 (setInsetOwner): adjust
7370 * iterators.C (operator++): adjust
7372 * InsetList.[Ch]: Replace selfmade iterator with standard
7373 vector::iterator also introduce const_iterator. Remove getPos,
7374 getInset and setInset from InsetTable. Adjust accordingly.
7376 * BufferView.C (lockInset): adjust
7377 (ChangeInsets): adjust
7379 * tabular.[Ch]: delete commented same_id functions
7381 2003-05-28 John Levon <levon@movementarian.org>
7383 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7385 2003-05-28 André Pönitz <poenitz@gmx.net>
7387 * metricsinfo.[Ch]: remove 'fullredraw' member
7389 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7391 * lyxtextclass.C (operator): remove caching.
7393 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7397 * text2.C (cursorBottom): adjust
7398 (setCounter): use ParagraphList::find, adjust
7400 * text.C (workWidth): use ParagraphList::find, adjust
7402 * lyxcursor.C (LyXCursor): adjust
7404 * buffer.C (inset_iterator): adjust
7406 * ParagraphList.h: make iterator(value_type) private, make
7407 ParagraphList a friend of iterator.
7409 * ParagraphList.C (find): new function
7411 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7413 2003-05-27 André Pönitz <poenitz@gmx.net>
7415 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7417 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7419 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7421 2003-05-26 John Levon <levon@movementarian.org>
7423 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7425 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7427 * remove same_id from function signatures, adjust.
7429 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7431 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7433 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7435 * paragraph.C (Paragraph): get rid of same_ids parameter
7437 * ParagraphList.C (insert): adjust
7440 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7442 * paragraph_funcs.C (breakParagraph): adjust
7443 (breakParagraphConservative): adjust
7445 * buffer.C (readParagraph): adjust
7447 * ParagraphList.C (insert): take a reference instead of a pointer
7450 * paragraph.[Ch] (id): new function
7452 * bufferlist.C (newFile): adjust
7454 * ParagraphList.C (ParagraphList): adjust
7456 (push_back): take a reference instead of a pointer.
7458 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7460 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7463 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7464 set else use old code.
7466 * ParagraphList.C: remove all NO_NEXT code and only compile this
7467 code of NO_STD_LIST is set.
7469 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7471 * BufferView_pimpl.C:
7481 * graphics/GraphicsConverter.C:
7482 * graphics/PreviewLoader.C: header adjustment
7484 2003-05-23 Angus Leeming <leeming@lyx.org>
7486 * LaTeXFeatures.[Ch] (useBabel): new method.
7487 * bufferparams.C (writeLaTeX): use it.
7489 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7491 * ParagraphList.h (set): remove unused function.
7493 2003-05-23 André Pönitz <poenitz@gmx.net>
7496 * BufferView_pimpl.C:
7500 * undo_funcs.C: setUndo reworked
7502 * iterators.[Ch]: add access to topmost ParagraphList
7504 * lyxtext.[Ch] (workWidth): add a const
7506 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7508 * texrow.[Ch] (increasePos): remove function
7509 * exporter.C (export): removed unused var and outdated comment
7511 2003-05-23 Angus Leeming <leeming@lyx.org>
7513 * latexrunparams.h: rename fragile as moving_arg.
7514 * paragraph.C (simpleTeXOnePar): ditto.
7515 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7517 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7519 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7521 (textUndoOrRedo): comment out a currently unused var.
7523 * paragraph.h (NO_NEXT): enable NO_NEXT
7525 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7527 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7529 * exporter.C (Export): adjust for removeAutoInsets removal.
7531 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7533 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7535 * BufferView.[Ch] (removeAutoInsets): delete function
7537 2003-05-22 Angus Leeming <leeming@lyx.org>
7539 * latexrunparams.h: add a free_spacing variable.
7541 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7542 to pass moving_arg, as the data is stored in runparams.fragile.
7544 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7545 to Inset::latexOptional or to simpleTeXOnePar.
7547 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7548 free_spacing arg to Inset::latexOptional.
7550 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7553 2003-05-22 Angus Leeming <leeming@lyx.org>
7555 * latexrunparams.h: add fragile and use_babel variables.
7557 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7558 * buffer.C (makeLaTeXFile): store this returned value in
7559 runparams.use_babel, thus passing it to the inset::latex methods.
7561 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7562 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7564 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7565 longer has a fragile arg, as it is stored in runparams.fragile.
7567 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7568 moving_arg parameter as the data is stored in runparams.fragile.
7570 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7571 a fragile parameter as the data is stored in runparams.fragile.
7573 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7575 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7577 2003-05-22 Angus Leeming <leeming@lyx.org>
7579 * latexrunparams.h: add a 'bool nice' which defaults to false.
7581 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7582 now encapsulated within runparams.
7584 * bufferlist.C (updateIncludedTeXfiles):
7585 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7587 2003-05-22 Angus Leeming <leeming@lyx.org>
7589 * latexrunparams.h: new file containing struct LatexRunParams.
7590 * Makefile.am: add new file.
7592 * LaTeX.[Ch] (c-tor, run):
7593 * buffer.[Ch] (makeLaTeXFile):
7594 * bufferlist.[Ch] (updateIncludedTeXfiles):
7595 * converter.C (convert, scanLog):
7596 * converter.[Ch] (runLaTeX):
7597 * exporter.C (Export):
7598 * paragraph.[Ch] (simpleTeXOnePar):
7599 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7600 * paragraph_funcs.[Ch] (latexParagraphs):
7601 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7602 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7603 pass around a LatexRunParams parameter.
7605 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7607 * paragraph.[Ch]: remove unused constructor
7609 * ParagraphList.C (erase): new function, taking two iterators
7611 2003-05-22 André Pönitz <poenitz@gmx.net>
7613 * undo_funcs.C: remove duplicated code
7615 * iterator.[Ch]: operator=
7617 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7619 * tabular.C (SetMultiColumn): ws changes
7621 * rowpainter.C (paintFirst): get rid of a ->previous
7623 * lyx_cb.C (getPossibleLabel): parlist simplification
7625 * BufferView.C (ChangeInsets): simplify slightly.
7627 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7629 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7630 * lfuns.h: new LFUN_SPACE
7631 * lyxfunc.C: protected space has a new lfun
7632 * paragraph_funcs.C: read new space insets
7634 * factory.C: handle new space insets
7636 2003-05-22 André Pönitz <poenitz@gmx.net>
7639 * BufferView_pimpl.C:
7642 * undo_funcs.C: return a ParIterator from getParFromID.
7644 * iterators.[Ch]: add two const's
7646 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7648 * toc.C (getTocList): adjust
7650 * iterators.[Ch]: rework for parlist
7652 * buffer.C (par_iterator_begin): adjust
7653 (par_iterator_end): adjust
7655 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7657 * BufferView.C (removeAutoInsets): adjust
7658 (ChangeInsets): adjust
7660 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7662 * text.C (top_y): fix bug 1110
7664 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7666 * errorlist.[Ch]: added
7669 * BufferView_pimpl.C:
7670 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7673 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7675 * Makefile.am: ensure that lyx is relinked upon changes to the
7676 various "convenience" libs.
7678 2003-05-20 Angus Leeming <leeming@lyx.org>
7680 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7681 files are compiled in alphabetical order again.
7683 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7685 2003-05-19 Angus Leeming <leeming@lyx.org>
7687 * gettext.[Ch]: remove "char const * _(char const *)".
7689 2003-05-19 André Pönitz <poenitz@gmx.net>
7691 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7700 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7702 2003-05-19 André Pönitz <poenitz@gmx.net>
7706 * lyxtextclass.[Ch]:
7708 * paragraph_funcs.[Ch]:
7710 * text3.C: more insetenv work
7712 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7714 * ParagraphParameters.C (params2string): small bug fixed
7716 2003-05-16 André Pönitz <poenitz@gmx.net>
7719 * bufferview_funcs.C: patch from Kornel Benko to prevent
7720 crash when _(...) is called twice in a statement
7722 2003-05-16 André Pönitz <poenitz@gmx.net>
7729 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7731 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7733 * lyx_main.C (init): remove spurious static_cast
7735 2003-05-14 André Pönitz <poenitz@gmx.net>
7737 * BufferView.C: fix format string
7739 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7741 * BufferView.[Ch] (insertErrors): removed
7742 * BufferView.[Ch] (showErrorList): added
7743 * buffer.C (runChkTeX):
7744 * converter.C (scanLog): call showErrorList instead of inserterrors
7746 2003-05-13 André Pönitz <poenitz@gmx.net>
7748 * BufferView_pimpl.C:
7750 * bufferview_func.C:
7757 * tabular_funcs.h: tostr() from its own header
7759 * ParagraphParameters.C:
7764 * text3.C: STRCONV()
7766 2003-05-12 André Pönitz <poenitz@gmx.net>
7769 * BufferView_pimpl.C:
7773 * ParagraphParameters.C:
7777 * bufferview_funcs.C:
7790 * paragraph_funcs.C:
7794 * text3.C: boost::format -> bformat all over the place
7797 2003-05-09 André Pönitz <poenitz@gmx.net>
7799 * LColor.[Ch]: Pimpl the #include <map> away
7801 2003-05-09 John Levon <levon@movementarian.org>
7803 * bufferlist.C: never remove emergency saves
7805 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7807 * Makefile.am: better lib building
7809 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7811 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7813 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7814 (simpleTeXSpecialChars): adjust
7815 (simpleTeXSpecialChars): adjust
7816 * paragraph.C (simpleTeXOnePar): adjust
7817 * buffer.C (makeLaTeXFile): adjust
7819 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7821 * text2.C (changeDepth): parlist cleanup
7822 (getColumnNearX): ditto
7824 * rowpainter.C (getLabelFont): parlist cleanup
7826 * bufferlist.C (newFile): parlist cleanup
7828 * CutAndPaste.C (eraseSelection): parlist cleanup
7830 * BufferView_pimpl.C (trackChanges): parlist cleanup
7833 * BufferView.C (lockInset): parlist cleanup.
7834 (ChangeInsets): ditto
7836 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7838 * CutAndPaste.h: Update file header.
7840 * CutAndPaste.C: Update file header.
7841 Store the parts cut out of the Document in a limited_stack.
7842 (copySelection): adjust
7843 (pasteSelection): new function, takes the index in the limited stack.
7844 (nrOfParagraphs): adjust
7845 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7846 simplify error inset insertion.
7847 (checkPastePossible): adjust
7849 2003-05-06 John Levon <levon@movementarian.org>
7851 * text2.C: don't cast wrap inset to float
7853 2003-05-05 André Pönitz <poenitz@gmx.net>
7856 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7858 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7859 few naked Paragraph *.
7861 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7863 * bufferparams.C: Output warning if a document with missing
7864 TeX document class is loaded
7865 * exporter.C: Disable TeX exports if the document class is missing
7868 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7869 isTeXClassAvailable()
7871 2003-05-03 John Levon <levon@movementarian.org>
7874 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7875 explicit cursor show/hide
7877 * BufferView_pimpl.h:
7878 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7879 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7881 * lyxfunc.C: hide cursor before dispatching.
7886 * text3.C: remove explicit cursor hides
7888 2003-05-02 André Pönitz <poenitz@gmx.net>
7890 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7893 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7896 * text2.C: tiny whitespace
7898 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7900 * undo_funcs.C: almost only ws changes.
7902 * ParagraphList.C (splice): just return if pl is empty.
7904 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7906 * ParagraphList.C (splice): new function.
7908 * CutAndPaste.C (pasteSelection): use it
7910 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7912 * CutAndPaste.C (pasteSelection): remove the last next and
7913 previous from this file.
7915 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7917 * CutAndPaste.C (pasteSelection): more clean up, user proper
7918 ParagraphList functions for pasteing.
7920 * ParagraphList.C (insert): new function, three arg insert
7922 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7924 * ParagraphList.C (insert): new function, three arg insert
7926 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7929 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7931 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7933 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7935 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7937 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7939 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7940 (copySelection): clean up a bit.
7941 (pasteSelection): use make_pair
7943 * ParagraphList.C (ParagraphList): implement copy constructor
7944 (operator=): implement, base on copy constructor.
7947 * paragraph.C (erase): return a bool
7949 * paragraph_pimpl.C (erasePos): remove function, move contents...
7950 (erase): ... here. Return a bool.
7951 (erase): call erase instead of erasePos.
7953 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7955 * ParagraphList.h: define PitPosPair
7956 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7957 ParagraphList, fix a bug on pasting multiple pars
7958 * text2.C: change interface to C&P
7960 2003-04-30 André Pönitz <poenitz@gmx.net>
7962 * undo_func.C: revert part of yesterday's patch 2
7964 2003-04-30 John Levon <levon@movementarian.org>
7966 * LColor.C: s/tabular/table/
7968 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7970 * text3.C (dispatch): do not convert iterator -> pointer
7971 * undo_funcs.C (setCursorParUndo): ditto
7972 * text_funcs.C (transposeChars): ditto
7974 * text2.C (setLayout): ws changes only
7976 * text.C (breakParagraph): do not convert iterator -> pointer
7978 (acceptChange): ditto
7979 (rejectChange): ditto
7984 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7987 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7989 * text3.C (gotoInset): YABG (yet another bad getChar)
7991 2003-04-29 André Pönitz <poenitz@gmx.net>
7993 * paragraph.h: make operator= private unimplemented as long as
7996 * ParagraphList.C: whitespace
7999 * paragraph_pimpl.[Ch]:
8000 * paragraph_funcs.C:
8002 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
8005 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8007 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
8009 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8010 * paragraph.[Ch] (erase):
8011 * paragraph_pimpl.[Ch] (erase): change return type and value
8012 * text2.C (cutSelection): some rework
8014 2003-04-28 John Levon <levon@movementarian.org>
8016 * bufferlist.C: changes for unsaved changes dialog
8018 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8020 * bufferlist.C (newFile): set language (messages_) for new
8023 * buffer.C (readFile): ws changes only.
8025 2003-04-28 André Pönitz <poenitz@gmx.net>
8030 * BufferView_pimpl.C:
8031 * BufferView.C: getParFromID related ParagraphList::iterator changes
8033 2003-04-28 André Pönitz <poenitz@gmx.net>
8035 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8038 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8040 * messages.C: remove one more localedir class variable.
8042 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8044 * messages.C (getLocaleDir): singleton generation function
8046 (Messages): add a default constructor.
8048 * main.C (main): do not setup localedir here, do not call
8051 * gettext.C (_): use it.
8052 (gettext_init): delete funciton
8054 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8056 * gettext.C (getLyXMessages): new singleton generating function.
8058 * buffer.C (updateDocLang): adjust
8060 * Makefile.am (messages.o): add target
8061 (main.o): remove target
8063 2003-04-27 John Levon <levon@movementarian.org>
8068 * lyxvc.C: specify cancel button in Alert::prompt
8070 2003-04-26 John Levon <levon@movementarian.org>
8075 * LyXAction.C: add LFUN_INSET_SETTINGS
8077 * lyxfunc.C: don't enable tabular-feature when there's
8078 just any locking inset
8080 2003-04-26 John Levon <levon@movementarian.org>
8082 * bufferlist.C: re-add Cancel to buffer close question
8084 * lyxfunc.C: fix import UI a bit
8086 2003-04-25 John Levon <levon@movementarian.org>
8088 * gettext.C: remove the broken asserts for now
8090 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8092 * messages.C: make case where setlocale cannot comply work better.
8094 * buffer.C (updateDocLang): new function
8095 (changeLanguage): use it
8098 * text2.C (setCounter): use B_ a bit.
8100 * lyxlayout.C (Read): be sure to trim the label strings.
8102 * messages.C (Messages): fix typo in comment
8104 * buffer.C (readFile): set message_ after file is loaded.
8105 (makeDocBookFile): remove double return
8106 (changeLanguage): reset message_ upon language change.
8107 (B_): new func, use this to get translated buffer strings.
8109 * main.C: add myself and Jean Marc as authors.
8111 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8113 * messages.[hC]: pimplify Messages, and three different pimpls to be
8114 used in different circumstances.
8116 * gettext.[Ch]: change for use with new message code.
8118 2003-04-24 André Pönitz <poenitz@gmx.net>
8120 * factory.C: support for eqref
8122 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
8124 * messages.[Ch]: add missing char
8126 * Makefile.am (lyx_SOURCES): add messages.[Ch]
8128 * messages.[Ch]: New files
8130 2003-04-18 John Levon <levon@movementarian.org>
8134 * BufferView_pimpl.C:
8138 * text2.C: remove layout-copy/paste (bug 778)
8140 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8142 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8144 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
8146 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8147 if they succeed. Act accordingly.
8149 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8151 * text2.C (setCharFont): adjust
8152 (setCounter): adjust
8153 (insertStringAsLines): adjust
8155 * text.C (leftMargin): adjust
8156 (setHeightOfRow): adjust
8158 * rowpainter.C (paintFirst): adjust
8161 * paragraph_funcs.C (depthHook): ParagraphList::iterators
8163 (isFirstInSequence): ditto
8164 (getEndLabel): ditto
8167 * paragraph.C (getParLanguage): comment out some hard stuff.
8169 * buffer.C (insertStringAsLines): take a ParagraphList as arg
8171 (simpleDocBookOnePar): ditto
8172 (makeDocBookFile): use ParagraphList::iterator
8174 * CutAndPaste.C (pasteSelection): adjust
8176 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8178 * text2.C (getFont): adjust
8179 (getLayoutFont): adjust
8180 (getLabelFont): adjust
8182 * paragraph_funcs.C (TeXOnePar): adjust
8184 * buffer.C (simpleLinuxDocOnePar): adjust
8185 (simpleDocBookOnePar): adjust
8187 * CutAndPaste.C (pasteSelection): adjust
8189 * BufferView.C (getEncoding): adjust
8191 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8193 2003-04-16 John Levon <levon@movementarian.org>
8195 * lyxfind.C: use parlist stuff for search/changes
8197 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8199 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8201 * text2.C (deleteEmptyParagraphMechanism): adjust
8203 * text2.[Ch] (ownerParagraph): delete func (both of them
8205 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8207 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8209 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8211 * ParagraphList.C: prepare for NO_NEXT
8213 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8215 * text2.C (getFont): adjust
8216 (getLayoutFont): adjust
8217 (getLabelFont): adjust
8219 * paragraph.C (getFont): adjust
8220 (getLabelFont): adjust
8221 (getLayoutFont): adjust
8223 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8225 2003-04-15 John Levon <levon@movementarian.org>
8229 * lyx_main.C: handle Include in .ui files
8231 2003-04-15 John Levon <levon@movementarian.org>
8233 * MenuBackend.C: make the doc files length shorter
8236 * ToolbarBackend.C: handle toolbar placement flags,
8239 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8241 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8244 * paragraph_funcs.C (TeXOnePar): adjust
8246 * paragraph.C (getLabelFont): add outerfont arg, adjust
8247 (getLayoutFont): ditto
8248 (simpleTeXOnePar): adjust
8250 * paragraph_pimpl.C (realizeFont): delete func
8252 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8254 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8255 row argument, constify cur argument.
8257 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8259 * text2.C (getFont): adjust
8260 (getLayoutFont): adjust
8261 (getLabelFont): adjust
8263 * paragraph_funcs.C (TeXOnePar): adjust
8264 (outerFont): new func...
8265 (realizeFont): ...moved out from here, changed this to facilitate
8268 * paragraph.C (getFont): take outerfont as arg, adjust
8269 (simpleTeXOnePar): add outerfont arg, adjust
8271 * buffer.C (simpleLinuxDocOnePar): adjust
8272 (simpleDocBookOnePar): adjust
8274 * CutAndPaste.C (pasteSelection): adjust
8276 * BufferView.C (getEncoding): adjust
8278 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8280 * text2.C (setCharFont): adjust
8281 (setCounter): adjust
8283 * text.C (leftMargin): adjust
8284 (setHeightOfRow): adjust
8286 * rowpainter.C (paintFirst): adjust
8289 * paragraph_pimpl.C (realizeFont): adjust
8291 * paragraph.C (isFirstInSequence): move from here...
8292 * paragraph_funcs.C (isFirstInSequence): ...to here
8294 * paragraph.C (outerHook): move from here...
8295 * paragraph_funcs.C (outerHook): ...to here
8297 * paragraph.C (depthHook): move from here...
8298 * paragraph_funcs.C (depthHook): ...to here
8300 * paragraph.C (getEndLabel): move from here...
8301 * paragraph_funcs.C (getEndLabel): ...to here
8303 * text2.C (realizeFont): move from here...
8304 * paragraph_funcs.C (realizeFont): ...to here
8306 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8308 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8310 2003-04-14 Angus Leeming <leeming@lyx.org>
8312 * LColor.[Ch]: scrap LColor mathcursor.
8314 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8316 * lyxlex.[Ch] (text): delete function
8317 * trans.C (Load): adjust
8318 * paragraph_funcs.C (readParToken): adjust
8320 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8322 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8323 vector<char> instead of a char[].
8325 * lyxlex_pimpl.C (getString): adjust
8327 (lex): use getString
8331 * lyxlex.C (text): use pimpl_->getString()
8335 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8337 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8338 (makeFontEntriesLayoutSpecific): temp var for par.size()
8339 (setLayout): temp var for ownerParagraphs().end()
8340 (fullRebreak): temp var for rows().end()
8341 (selectionAsString): temp var for boost::next(startpit), realize
8342 that the while really is a regular for loop.
8343 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8344 setCursor in one place.
8345 (setParagraph): temp vr for ownerParagraphs().end()
8346 (updateCounters): make the while loop a for loop
8347 (cutSelection): temp var for ownerParagraphs().end()
8348 (updateInset): make the do {} while() a regular for loop
8349 (getCursorX): use temp vars
8350 (setCurrentFont): use temp vars
8351 (getColumnNearX): use temp vars
8353 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8355 * text.C (transformChar): use temp var for getChar
8356 (computeBidiTables): use temp var for row->par()
8357 (fill): move temp vars for row->par() and pit->layout() earlier in
8359 (labelFill): use temp var for row->par()
8360 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8361 asc and desc, realize that pit never changes and that firstpit is
8362 just a duplicate and not needed. Exchange rit->par() with pit in a
8364 (breakAgain): use a temp var for boost::next(rit)
8365 (breakAgainOneRow): ditto
8366 (breakParagraph): use a temp var for rows().begin()
8367 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8368 (cursorRightOneWord): use temp var for cursor.par() and
8369 cursor.pos(), remove usage of tmpcursor.
8370 (cursorLeftOneWord): use temp var for cursor.par() and
8371 cursor.pos() only set cur at end of function.
8373 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8375 * text.C, text2.C: exchange all usage of Paragraph::next with
8376 boost::next(ParagraphList::iterator)
8378 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8380 * text2.C (cursorTop): simplify implementation
8381 (cursorBottom): ditto
8382 (setParagraph): use ParagraphList::iterator
8383 (setCurrentFont): adjust
8384 (getColumnNearX): adjust
8385 (cursorRight): adjust
8386 (cursorLeft): remove usage of Paragraph::previous
8387 (cursorUpParagraph): ditto
8388 (deleteEmptyParagraphMechanism): slight cleanup
8390 * text.C (isBoundary): take a Paragraph const & instead of a
8392 (addressBreakPoint): ditto
8393 (leftMargin): remove usage of Paragraph::previous.
8394 (setHeightOfRow): ditto
8395 (cursorLeftOneWord): ditto
8396 (selectNextWordToSpellcheck): ditto
8399 (breakParagraph): remove one usage of Paragraph::next
8400 (redoParagraph): ditto
8401 (acceptChange): ditto
8402 (insertChar): adjust
8403 (rowBreakPoint): adjust
8405 * bufferview_funcs.C (toggleAndShow): adjust
8407 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8409 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8410 methods to access it.
8412 * text.C: Added updateRowPositions to compute all row positions.
8413 Make top_y and getRowNearY() to use the cached y position
8415 2003-04-11 John Levon <levon@movementarian.org>
8417 * text.C (rowBreakPoint): reintroduce the labelEnd
8418 checks, code copied from the row fill stuff. Deep voodoo.
8420 * text.C (fill): add a comment and debugging for the
8423 2003-04-11 John Levon <levon@movementarian.org>
8425 * text.C: make sure fullrow insets get wrapped to the next line,
8426 even when they're in a manual label
8428 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8430 * text2.C (insertParagraph): make it take ParagraphList::iterator
8432 (setLayout): make it return ParagraphList::iterator
8433 (redoParagraphs): ditto
8435 (checkParagraph): ditto
8437 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8439 * text2.C: adjust several funcs.
8440 (realizeFont): take a ParagraphList::iterator as arg.
8441 (getLayoutFont): ditto
8442 (getLabelFont): ditto
8443 (setCharFont): ditto
8445 * text.C: adjust several funcs.
8447 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8449 * text.C (selectNextWordToSpellcheck): don't accidentally
8452 2003-04-10 John Levon <levon@movementarian.org>
8454 * ToolbarBackend.C (getIcon): special handling for
8457 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8459 * text2.C (cursorRight): a getChar assert fixed
8461 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8463 * text2.C (getFont): change to take a ParagraphList::iterator
8464 instead of Paragraph*
8465 Adjust several functions.
8467 * text.C (transformChar): change to take a ParagraphList::iterator
8468 instead of Paragraph*
8469 (singleWidth): ditto
8470 Adjust several functions.
8472 * rowpainter.C: adjust several functions
8473 * rowpainter.h:store a ParagraphList::iterator and not a
8477 2003-04-09 John Levon <levon@movementarian.org>
8482 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8483 and the "help" bits as well
8485 2003-04-09 John Levon <levon@movementarian.org>
8488 * ToolbarBackend.C: allow multiple toolbars
8490 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8492 * undo_funcs.C (setCursorParUndo): adjust
8494 * text_funcs.C (transposeChars): adjust
8496 * text3.C (gotoNextInset): adjust
8499 * text2.C (setLayout): adjust
8500 (changeDepth): adjust
8502 (redoParagraphs): adjust
8503 (selectionAsString): adjust
8504 (setParagraph): adjust
8505 (insertInset): adjust
8506 (cutSelection): adjust
8507 (copySelection): adjust
8508 (pasteSelection): adjust
8509 (insertStringAsLines): adjust
8510 (updateInset): adjust
8511 (setCursor): change to take a ParagraphList::iterator parameter
8512 (setCursorIntern): change to take a ParagraphList::iterator parameter
8513 (setCurrentFont): adjust
8514 (cursorLeft): adjust
8515 (cursorRight): adjust
8516 (deleteEmptyParagraphMechanism): adjust
8518 * text.C (breakParagraph): adjust
8519 (insertChar): adjust
8520 (acceptChange): adjust
8521 (rejectChange): adjust
8522 (selectNextWordToSpellcheck): adjust
8523 (changeCase): adjust
8527 * lyxfind.C (SearchForward): adjust
8528 (SearchBackward): adjust
8529 (nextChange): adjust
8531 * lyxcursor.C (par): adjust
8533 * lyxcursor.h: store a ParagraphList::iterator instead of a
8536 * lyx_cb.C (getPossibleLabel): adjust
8538 * bufferview_funcs.C (toggleAndShow): adjust
8540 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8543 * BufferView.C (removeAutoInsets): adjust
8544 (lockedInsetStoreUndo): adjust
8546 2003-04-09 John Levon <levon@movementarian.org>
8548 * ToolbarBackend.C: try icon without argument
8549 if with argument fails
8551 2003-04-08 John Levon <levon@movementarian.org>
8554 * ToolbarBackend.C: add getIcon(), handle tooltip,
8555 and change from "Icon" to "Item".
8557 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8559 * BufferView.C (lockInset): another bad getchar crunched
8561 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8563 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8566 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8568 * lyxfind.C (searchForward, searchBackwards): bug 782
8570 2003-04-07 John Levon <levon@movementarian.org>
8572 * paragraph.C: remove dead comment
8574 * text.C: remove troublesome depth-fiddling code
8575 in leftMargin() and rightMargin() (bug 1017)
8577 * text.C: fix breaking of rows in nested lists
8580 * text2.C (updateCounters): fix up depth values
8583 2003-04-07 John Levon <levon@movementarian.org>
8585 * BufferView_pimpl.C: clear message when doc finishes resizing,
8586 and after a mouse event
8588 * lyxfunc.C: clear message after exiting inset
8590 2003-04-07 John Levon <levon@movementarian.org>
8592 * bufferview_funcs.C: show math status not outside
8593 status in the statusbar
8595 2003-04-07 John Levon <levon@movementarian.org>
8597 * lyxfunc.C: note status changed after a depth change
8599 2003-04-04 Angus Leeming <leeming@lyx.org>
8601 * LaTeX.h: move AuxInfo operator==, != out of line.
8602 Remove LaTeX virtual destructor; nothing derives from it.
8603 Move operator()() out of public area and rename it startscript().
8604 Change protected for private.
8606 2003-04-04 Angus Leeming <leeming@lyx.org>
8609 * text2.C: remove unneeded #includes.
8611 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8613 * text2.C (dEPM): fix the heigth of the next row
8615 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8617 * text.C: squashed an invalid getChar requester + some ws changes
8619 2003-04-03 John Levon <levon@movementarian.org>
8621 * bufferview_funcs.h:
8622 * bufferview_funcs.C:
8625 * text2.C: make getStatus work for the env depth lfuns
8627 2003-04-03 John Levon <levon@movementarian.org>
8629 * bufferview_funcs.h:
8630 * bufferview_funcs.C:
8633 * text2.C: parlistize decDepth(), by merging it with incDepth()
8635 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8637 * lyxrow.h: store a ParagraphList::iterator instead of a
8638 Paragraph* and adjust other class functions to suit.
8640 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8643 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8645 * text2.C (setCursor): do not anchor to cursor row for the time being
8647 2003-04-02 John Levon <levon@movementarian.org>
8654 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8656 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8658 * paragraph.h: make ParagraphList and ParagraphList::iterator
8659 friends of Paragraph.
8661 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8663 * ParagraphList.C: Use the private next_ and previous_ from
8666 2003-04-01 John Levon <levon@movementarian.org>
8670 * Makefile.am: rename, remove defaults gunk
8673 * MenuBackend.C: remove defaults gunk
8676 * Languages.C: remove defaults gunk
8679 * lyx_main.C: error out if files couldn't be found.
8681 2003-04-02 John Levon <levon@movementarian.org>
8683 * text2.C: make incDepth() use parlist
8685 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8687 * undo_funcs.C (firstUndoParagraph): adjust
8689 * text3.C (gotoInset): adjust
8690 (dispatch): adjust, and rewrite loop.
8692 * text2.C (init): adjust, and rewrite loop.
8693 (redoParagraphs): adjust
8694 (updateInset): adjust, and rewrite loop.
8695 (deleteEmptyParagraphMechanism): adjust
8697 * tabular.C (LyXTabular): adjust
8698 (SetMultiColumn): adjust
8701 * lyxtext.[Ch] (ownerParagraph): delete function
8702 (ownerParagraphs): new function returns a ParagraphList.
8704 * BufferView.C (removeAutoInsets): adjust
8705 (insertErrors): adjust
8706 (setCursorFromRow): adjust
8708 2003-04-01 Angus Leeming <leeming@lyx.org>
8710 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8713 2003-04-02 John Levon <levon@movementarian.org>
8719 * text_funcs.C: make transposeChars a free function
8721 * lyxrow_funcs.C: remove wrong comment
8723 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8726 * rowpainter.C: adjust
8731 * lyxrow_funcs. [Ch]: new files
8733 * lyxrow.[Ch]: remove next and previous pointers
8734 (next,previous): remove accessor functions
8735 (isParEnd): move to lyxrow_funcs
8736 (lastPos): move to lyxrow_funcs
8737 (nextRowIsAllInset): move to lyxrow_funcs
8738 (lastPrintablePos): move to lyxrow_funcs
8739 (numberOfSeparators): move to lyxrow_funcs
8740 (numberOfHfills): move to lyxrow_funcs
8741 (numberOfLabelHfills): move to lyxrow_funcs
8742 (hfillExpansion): move to lyxrow_funcs
8746 * bufferview_funcs.C (toggleAndShow): adjust
8748 * RowList.h: Remove class RowList from file leave just a
8751 * RowList.C: delete file
8753 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8756 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8758 * text3.C (cursorPrevious): adjust
8759 (cursorNext): adjust
8762 * text2.C (redoHeightOfParagraph): adjust
8763 (redoDrawingOfParagraph): adjust
8766 * text.C (breakParagraph): adjust
8767 (insertChar): adjust
8770 * rowpainter.C (RowPainter): adjust
8771 (leftMargin): simplify and adjust
8772 (most rowpainter functions): adjust.
8774 * rowpainter.h: store the row as RowList::iterator not as Row*
8776 * lyxcursor.C (row): taka RowList::iterator as arg
8779 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8782 2003-04-01 Angus Leeming <leeming@lyx.org>
8784 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8785 stuff like bool Bool.
8787 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8789 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8792 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8794 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8797 * lyxtext.h (rows): drop one version and leve a const variant that
8798 returns a RowList::iterator.
8800 2003-03-31 Angus Leeming <leeming@lyx.org>
8802 * text.C (fill): ensure that the signature is the same as that in the
8805 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8807 * text2.C (redoParagraphs): adjust
8808 (updateCounters): adjust
8809 (checkParagraph): adjust
8810 (getColumnNearX): adjust and reformat a bit.
8812 * text.C (top_y): adjust
8814 (leftMargin): adjust
8815 (prepareToPrint): adjust
8817 (getRowNearY): adjust
8819 * lyxtext.h: make rowlist_ mutable.
8821 * RowList.h: add const_iterator
8822 * RowList.C: adjust for RowList::const_iterator.
8824 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8827 2003-03-31 John Levon <levon@movementarian.org>
8830 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8832 * lyx_main.C: set default fonts from using lyx_gui funcs
8834 * exporter.C: pdf_mode moved from lyxrc
8837 * lyxfunc.C: changes from above
8839 2003-03-31 John Levon <levon@movementarian.org>
8841 * lyx_main.C: fix to the last fix
8843 2003-03-31 John Levon <levon@movementarian.org>
8845 * bufferlist.C: "Load original" -> "Load Original"
8851 * format.C: more Alert cleanups
8853 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8855 * text2.C (removeParagraph): make it take a RowList::iterator as
8857 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8858 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8860 * text.C (anchor_row): make it take a RowList::iterator as arg,
8862 (computeBidiTables): make it take a const reference to Row instead
8863 of Row pointer, adjust.
8864 (leftMargin): make it take a RowList::iterator as arg, adjust.
8865 (rowBreakPoint): adjust
8866 (breakAgainOneRow): make it take a RowList::iterator as arg,
8868 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8870 * bufferview_funcs.C (toggleAndShow): adjust
8872 2003-03-30 John Levon <levon@movementarian.org>
8876 * boost-inst.C: moved to support
8878 * several files: changes as a result
8880 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8882 * text2.C (LyXText): adjust.
8884 (removeRow): make it take a RowList::iterator as arg, adjust.
8885 (fullRebreak): adjust
8886 (deleteEmptyParagraphMechanism): adjust
8887 (clearPaint): adjust
8890 * text.C (top_y): adjust
8891 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8892 (breakAgain): make it take a RowList::iterator as arg, adjust.
8893 (breakParagraph): adjust
8894 (insertChar): adjust
8897 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8898 need_break_row, and refresh_row.
8900 * text3.C (dispatch): adjust
8902 * text2.C (checkParagraph): adjust
8904 (setCursorFromCoordinates): adjust
8906 * text.C (top_y): adjust
8908 (getRow): make it return a RowList::iterator, adjust
8909 (getRowNearY): make it return a RowList::iterator, adjust
8911 * text2.C (init): adjust
8912 (insertRow): remove function
8913 (insertParagraph): adjust
8914 (redoParagraphs): adjust
8915 (fullRebreak): adjust
8916 (updateCounters): adjust
8918 * text.C (top_y): rewrite to use RowList iterators.
8920 (setHeightOfRow): rewrite to sue RowList iterators.
8921 (appendParagraph): adjust
8922 (breakAgain): adjust
8923 (breakAgainOneRow): adjust
8924 (breakParagraph): adjust
8926 (getRowNearY): adjust, and remove commented code.
8928 * lyxtext.h (firstRow): delete function
8929 (lastRow): delete function
8930 (rows): new function (const and non-const versions.)
8931 (insertRow): delete function
8933 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8935 2003-03-29 John Levon <levon@movementarian.org>
8937 * BufferView_pimpl.C: always update scrollbar top
8938 because pasting text when we're anchored could mean we
8939 miss an update altogether
8941 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8943 * text2.C (init): use rowlist_.end() and not 0.
8944 (insertRow): change to take a RowList::iterator as arg, adjust
8946 (insertParagraph): change to take a RowList::iterator as arg,
8948 (redoParagraphs): remove some debug msgs.
8950 * text.C (appendParagraph): change to take a RowList::iterator
8951 arg, adjust for this.
8952 (breakAgain): add an assert
8953 (breakAgainOneRow): ditto
8955 2003-03-29 John Levon <levon@movementarian.org>
8957 * text2.C: do not clear selection after inc/decDepth
8960 2003-03-29 John Levon <levon@movementarian.org>
8963 * buffer.C: fix broken strerrors according to Lars
8965 2003-03-29 John Levon <levon@movementarian.org>
8967 * converters.C: more Alert cleanups
8969 2003-03-29 John Levon <levon@movementarian.org>
8971 * bufferview_funcs.C: remove pointless Alert
8973 * buffer.C: fix confusing error message when
8974 a template is chmoded 000
8976 2003-03-29 John Levon <levon@movementarian.org>
8980 * BufferView_pimpl.C: Alert fixes
8984 * tabular-old.C: remove unused table compat reading
8986 2003-03-29 John Levon <levon@movementarian.org>
8991 * lyx_cb.C: more Alert cleanups
8993 * lyxfunc.C: don't allow chktex if not latex document
8995 2003-03-29 John Levon <levon@movementarian.org>
8999 * buffer.C: warnings pushed down from support/,
9002 2003-03-29 John Levon <levon@movementarian.org>
9004 * lyxfunc.C: safety check for C-r (revert)
9006 2003-03-29 John Levon <levon@movementarian.org>
9009 * bufferlist.C: several UI fixes using Alert::prompt.
9010 Fix the pointless looping quit code. Fix stupid revert
9015 * lyx_cb.C: use Alert::prompt
9017 * lyx_main.C: remove a silly question
9019 * lyxfunc.C: remove a couple of silly questions,
9022 2003-03-28 John Levon <levon@movementarian.org>
9024 * text2.C: fix bug 974 (End on empty par)
9026 2003-03-28 John Levon <levon@movementarian.org>
9028 * BufferView_pimpl.C:
9030 * lfuns.h: remove do-nothing math greek lfuns
9032 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9034 * lyxgluelength.h (isValidGlueLength): add default arg on
9035 parameter 2. Remove default arg from friend in class.
9037 * lyxlength.h (isValidLength): add default arg on parameter 2.
9038 Remove default arg from friend in class.
9040 * text2.C (LyXText): adjust, initialize refresh_row.
9044 (insertParagraph): adjst
9045 (redoParagraphs): adjust
9046 (fullRebreak): adjust
9047 (updateCounters): adjust
9048 (deleteEmptyParagraphMechanism): first attempt at fixing a
9051 * text.C (top_y): adjust
9052 (setHeightOfRow): adjust
9054 (getRowNearY): adjust
9056 * lyxtext.h: include RowList.h
9057 (~LyXText): not needed anymore, deleted.
9058 (firstRow): modify for RowList
9059 (lastRow): new function
9060 Delete firstrow and lastrow class variables, add a Rowlist
9061 rowlist_ class variable.
9063 * lyxrow.C (lastPos): use empty() and not !size() to check if a
9066 * RowList.C (insert): fix case where it == begin().
9068 2003-03-26 Angus Leeming <leeming@lyx.org>
9070 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9071 the thesaurus dialog.
9073 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
9075 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9077 * RowList.[Ch]: new files
9079 * ParagraphList.C (erase): handle the case where it == begin
9082 2003-03-25 John Levon <levon@movementarian.org>
9086 * aspell.C: add new aspell support
9089 * lyxrc.C: Make use_pspell be use_spell_lib. Always
9092 2003-03-25 Angus Leeming <leeming@lyx.org>
9095 * LyXAction.C (init): new LFUN_INSET_INSERT.
9097 * BufferView_pimpl.C (dispatch): split out part of the
9098 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9100 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9103 2003-03-25 Angus Leeming <leeming@lyx.org>
9105 * lyxfunc.C (dispatch): changes to the Dialogs interface.
9107 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
9110 * text3.C: remove useless row->height(0)
9112 2003-03-25 John Levon <levon@movementarian.org>
9116 * text3.C: rename the refreshing stuff to better names
9118 2003-03-24 John Levon <levon@movementarian.org>
9120 * BufferView_pimpl.h:
9121 * BufferView_pimpl.C: update layout choice on a mouse
9124 2003-03-23 John Levon <levon@movementarian.org>
9126 * Makefile.am: fix commandtags.h reference
9128 2003-03-22 John Levon <levon@movementarian.org>
9130 * BufferView_pimpl.C:
9135 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9137 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
9140 * text.C: take the rtl methods out of line
9142 2003-03-21 André Pönitz <poenitz@gmx.net>
9144 * metricsinfo.[Ch]: new files containing structures to be passed around
9145 during the two-phase-drawing...
9147 2003-03-21 André Pönitz <poenitz@gmx.net>
9149 * lyxtextclass.C: read 'environment' tag.
9151 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
9153 * text2.C (removeRow): fix bug 964
9155 2003-03-20 John Levon <levon@movementarian.org>
9159 * text2.C: paint cleanups. Inset::update() dropped font
9162 2003-03-19 John Levon <levon@movementarian.org>
9164 * lyxfunc.C: only fitcursor/markDirty if available()
9166 2003-03-19 John Levon <levon@movementarian.org>
9168 * commandtags.h: rename to ...
9170 * lfuns.h: ... this, and renumber / cleanup
9172 2003-03-19 John Levon <levon@movementarian.org>
9174 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9175 fit the cursor after an lfun
9179 * BufferView_pimpl.h:
9180 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9182 * LyXAction.C: layout-character should have ReadOnly
9184 * ParagraphParameters.C:
9186 * bufferview_funcs.C:
9193 * undo_funcs.C: changes from above
9195 2003-03-18 John Levon <levon@movementarian.org>
9197 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9198 remove it from update()
9200 * lyxfunc.C: update layout choice after an lfun
9202 * text3.C: remove extra updateLayoutChoice()s
9204 2003-03-18 John Levon <levon@movementarian.org>
9206 * text.C: top_y change means full repaint, fix
9207 a drawing bug with cursor movement
9209 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9213 * text2.C: anchor row on setCursor
9215 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
9217 * lyxtext.h: remove almost all mutable keywords
9220 * text3.C: remove const keywords accordingly
9222 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9224 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9226 (TeXEnvironment): ditto
9229 2003-03-17 John Levon <levon@movementarian.org>
9231 * text.C (rowBreakPoint): remove attempt to fix displayed
9232 math insets inside a manual label
9234 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9236 * lyxtext.h: remove BufferView* as first arg from almost all class
9238 * other files: adjust.
9240 2003-03-17 John Levon <levon@movementarian.org>
9244 * text2.C: more paint cleanups
9246 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9249 * rowpainter.C: remove "smart" background painting code
9251 2003-03-16 John Levon <levon@movementarian.org>
9256 * text3.C: add helper functions for setting refresh_row/y
9258 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9260 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9261 newline inset which *can* get inserted in the pass_thru layouts.
9262 This is primarily for literate documents.
9264 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9266 * buffer.C: increment LYX_FORMAT to 223
9268 2003-03-14 André Pönitz <poenitz@gmx.net>
9270 * textclass.h: prepare for environment handling, ws changes
9271 * lyxlayout.C: read latexheader and latexfooter tags
9273 2003-03-14 John Levon <levon@movementarian.org>
9275 * text2.C: rewrite ::status() a bit
9277 2003-03-13 John Levon <levon@movementarian.org>
9279 * lyxtext.h: add some docs
9281 2003-03-13 John Levon <levon@movementarian.org>
9286 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9288 2003-03-13 John Levon <levon@movementarian.org>
9290 * text3.C: fix appendix redrawing
9292 2003-03-13 John Levon <levon@movementarian.org>
9294 * text.C (setHeightOfRow):
9296 * rowpainter.C: make appendix mark have the text
9297 "Appendix" so the user knows what it is
9300 * LColor.C: s/appendixline/appendix/ from above
9302 2003-03-13 John Levon <levon@movementarian.org>
9304 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9306 * text.C: fix a getChar(pos) bug properly
9308 2003-03-13 Angus Leeming <leeming@lyx.org>
9311 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9312 Probably only temporary. Let's see how things pan out.
9314 * BufferView.C (unlockInset):
9315 * BufferView_pimpl.C (fitCursor):
9316 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9318 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9319 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9321 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9322 new functions that convert ParagraphParameters to and from a string.
9324 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9325 BufferView::Pimpl's dispatch.
9326 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9328 2003-03-13 André Pönitz <poenitz@gmx.net>
9332 * factory.C: make it aware of InsetEnv
9334 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9336 * text2.C (setCursor): never ask for one past last
9337 (setCursor): add some debugging messages.
9339 * text.C (singleWidth): never ask for one past last
9340 (singleWidth): ditto
9342 (rightMargin): ditto
9343 (rowBreakPoint): ditto
9344 (setHeightOfRow): ditto
9345 (prepareToPrint): ditto
9347 * rowpainter.C (paintBackground): never ask for one past last
9348 (paintText): never ask for one past last
9350 * paragraph_pimpl.C (getChar): make the assert stricter, never
9351 allow the one past last pos to be taken
9353 * paragraph.C (getChar): ws changes only
9355 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9356 (numberOfSeparators): ditto
9357 (numberOfHfills): ditto
9359 2003-03-12 John Levon <levon@movementarian.org>
9365 * paragraph_funcs.C: fix per-buffer authorlists
9367 2003-03-12 John Levon <levon@movementarian.org>
9369 * text.C: fix newline in right address
9371 2003-03-12 Angus Leeming <leeming@lyx.org>
9373 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9374 duplicate those in LyXFunc::dispatch.
9378 * ToolbarDefaults.C:
9379 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9380 Add LFUN_FONTFREE_UPDATE.
9382 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9383 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9385 * bufferview_func.[Ch]: several new functions to facilliate
9386 transfer of data to and from the character dialog.
9388 2003-03-12 John Levon <levon@movementarian.org>
9393 * paragraph_funcs.C:
9394 * paragraph_pimpl.C:
9398 * text3.C: remove META_NEWLINE in favour of an inset
9401 * rowpainter.C: remove paintNewline (done by inset)
9403 2003-03-12 John Levon <levon@movementarian.org>
9405 * paragraph_pimpl.C: complain about bad getChar()s
9406 for a while at least
9408 2003-03-12 John Levon <levon@movementarian.org>
9411 * buffer.C: move paragraph read into a separate function,
9412 a little renaming to reflect that.
9415 * bufferparams.C: remove the author_ids map, not necessary now
9418 * factory.C: moved Buffer::readInset to here
9420 * paragraph_funcs.h:
9421 * paragraph_funcs.C: readParagraph free function moved from
9424 * tabular.C: name change
9426 2003-03-12 John Levon <levon@movementarian.org>
9429 * ParagraphParameters.C: move par params input to
9432 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9433 behave like a normal read from the stream wrt reading
9434 a line vs. a \\token
9436 2003-03-12 John Levon <levon@movementarian.org>
9439 * ParagraphParameters.h:
9440 * ParagraphParameters.C: move output code to a
9443 2003-03-12 John Levon <levon@movementarian.org>
9445 * BufferView.C (insertLyXFile):
9448 * tabular.C: use a parlist iterator for creating the
9451 2003-03-12 John Levon <levon@movementarian.org>
9453 * buffer.C: make current_change static local not
9456 2003-03-12 John Levon <levon@movementarian.org>
9458 * buffer.C: fix insertStringAsLines for change tracking
9460 2003-03-12 John Levon <levon@movementarian.org>
9467 * bufferparams.C: move author list into params. Rename some
9468 functions. Move the header reading into a separate token
9469 loop. Move the header token reading into BufferParams.
9471 2003-03-12 John Levon <levon@movementarian.org>
9473 * changes.C: put debug inside lyxerr.debugging() checks
9475 2003-03-11 André Pönitz <poenitz@gmx.net>
9477 * factory.C: make it aware of InsetHFill
9479 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9481 * buffer.C (latexParagraphs): move function from here...
9482 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9485 2003-03-10 Angus Leeming <leeming@lyx.org>
9487 * LyXAction.C (init): fix bug in poplating array with multiple entries
9488 with the same LFUN (spotted by JMarc).
9490 2003-03-10 John Levon <levon@movementarian.org>
9493 * text2.C: move getColumnNearX() near its
9496 2003-03-10 John Levon <levon@movementarian.org>
9498 * text.C: fix break before a minipage
9500 2003-03-10 John Levon <levon@movementarian.org>
9502 * text.C: fix the last commit
9504 2003-03-09 John Levon <levon@movementarian.org>
9508 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9509 bug 365 (don't break before insets unless needed). Don't
9510 return a value > last under any circumstances.
9512 2003-03-09 Angus Leeming <leeming@lyx.org>
9514 * BufferView_pimpl.C (trackChanges, dispatch): call
9515 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9517 2003-03-09 Angus Leeming <leeming@lyx.org>
9519 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9520 than Dialogs::showAboutlyx().
9522 2003-03-09 Angus Leeming <leeming@lyx.org>
9524 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9525 than Dialogs::showTabularCreate().
9527 2003-03-09 John Levon <levon@movementarian.org>
9531 * text2.C: 3rd arg to nextBreakPoint was always the same.
9534 2003-03-08 John Levon <levon@movementarian.org>
9541 * text2.C: Remove the "main" bit from the "main body"
9544 2003-03-08 John Levon <levon@movementarian.org>
9546 * text.C (leftMargin): The left margin of an empty
9547 manual label paragraph should not include the label width
9550 * text.C (prepareToPrint): don't attempt to measure hfills
9551 for empty manual label paragraphs - the answer should be 0
9553 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9555 * CutAndPaste.C: remove commented code and reindent.
9557 2003-03-08 John Levon <levon@movementarian.org>
9560 * lyxfunc.C: move reloadBuffer()
9563 * BufferView.C: to here
9565 * lyxvc.C: add comment
9568 * vc-backend.C: call bv->reload() to avoid
9569 getStatus() check on MENURELOAD
9571 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9573 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9574 to an old format .dep file.
9576 2003-03-07 Angus Leeming <leeming@lyx.org>
9578 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9579 when the LFUN_MOUSE_RELEASE should have been handled by
9580 inset->localDispatch.
9582 2003-03-07 Angus Leeming <leeming@lyx.org>
9584 * BufferView_pimpl.C (dispatch):
9585 * LyXAction.C (init):
9586 * ToolbarDefaults.C (init):
9588 * lyxfunc.C (getStatus):
9589 remove LFUN_INSET_GRAPHICS.
9591 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9593 2003-03-07 Angus Leeming <leeming@lyx.org>
9596 * LyXAction.C (init):
9597 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9599 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9602 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9604 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9605 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9607 2003-03-07 Angus Leeming <leeming@lyx.org>
9609 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9612 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9614 * ParagraphList.C (front): new function
9617 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9619 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9620 and top_row_offset_. removed var first_y.
9622 * text2.C (LyXText, removeRow):
9624 * BufferView_pimpl.C:
9625 use these methods instead of using first_y
9627 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9629 * text2.C (pasteSelection): adjust for checkPastePossible
9631 * CutAndPaste.C: remove Paragraph * buf and replace with
9632 ParagraphList paragraphs.
9633 (DeleteBuffer): delete
9634 (cutSelection): change the tc type to textclass_type
9635 (copySelection): change the tc type to textclass_type
9636 (copySelection): adjust for ParagraphList
9637 (pasteSelection): change the tc type to textclass_type
9638 (pasteSelection): adjust for Paragraphlist
9639 (nrOfParagraphs): simplify for ParagraphList
9640 (checkPastePossible): simplify for ParagraphList
9641 (checkPastePossible): remove unused arg
9643 * ParagraphList.C (insert): handle the case where there are no
9646 * CutAndPaste.h: make CutAndPaste a namespace.
9648 * text3.C (dispatch): adjust
9650 * text.C (breakParagraph): add a ParagraphList as arg
9652 * paragraph_funcs.C (breakParagraph): change to take a
9653 BufferParams and a ParagraphList as args.
9654 (breakParagraphConservative): ditto
9655 (mergeParagraph): ditto
9656 (TeXDeeper): add a ParagraphList arg
9657 (TeXEnvironment): ditto
9660 * buffer.C (readLyXformat2): adjust
9661 (insertStringAsLines): adjust
9662 (latexParagraphs): adjust
9664 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9665 (cutSelection): adjust
9666 (pasteSelection): adjust
9668 * BufferView_pimpl.C (insertInset): adjust
9670 2003-03-05 Angus Leeming <leeming@lyx.org>
9673 * LyXAction.C (init):
9674 * BufferView_pimpl.C (dispatch):
9675 * lyxfunc.C (getStatus):
9676 remove LFUN_CHILD_INSERT.
9678 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9680 2003-03-05 Angus Leeming <leeming@lyx.org>
9683 * LyXAction.C (init):
9684 * src/factory.C (createInset):
9685 * lyxfunc.C (getStatus):
9686 * text3.C (dispatch):
9687 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9689 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9691 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9693 * ParagraphList.C (insert): handle insert right before end()
9694 (erase): fix cases where it can be first or last paragraph.
9696 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9698 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9699 Paragraph::next and Paragraph::previous
9702 * text.C (breakParagraph): adjust
9704 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9705 BufferParams& as arg.
9706 (breakParagraph): use ParagraphList::insert
9707 (breakParagraphConservative): take a Buffer* instead of a
9708 BufferParams& as arg.
9709 (breakParagraphConservative): use ParagraphList::insert.
9711 * buffer.C (insertStringAsLines): un-const it
9712 (insertStringAsLines): adjust
9714 * ParagraphList.C (insert): new function
9716 * CutAndPaste.C (pasteSelection): adjust
9718 * text.C (backspace): adjust
9720 * tabular.C (SetMultiColumn): adjust
9722 * CutAndPaste.C (cutSelection): adjust
9723 (pasteSelection): adjust
9725 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9726 Buffer const * as arg
9728 * ParagraphList.C (erase): new function
9729 * paragraph_funcs.C (mergeParagraph): use it
9730 (mergeParagraph): make it take a Buffer* instead of a
9731 BufferParams* as arg
9733 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9735 (breakParagraphConservative): ditto
9737 * paragraph.h: remove the breakParagraph friend
9739 * paragraph.C (eraseIntern): new function
9740 (setChange): new function
9742 * paragraph_funcs.C (mergeParagraph): make it take a
9743 ParagraphList::iterator instead of a Paragraph *, adjust
9746 * paragraph.h: move an #endif so that the change tracking stuff
9747 also works in the NO_NEXT case.
9749 2003-03-04 Angus Leeming <leeming@lyx.org>
9752 * LyXAction.C: new LFUN_INSET_MODIFY.
9754 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9755 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9757 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9759 * several files: ws changes only
9761 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9762 (TeXEnvironment): ditto
9765 * buffer.C (makeLaTeXFile): adjust
9766 (latexParagraphs): make it take ParagraphList::iterator as args
9768 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9770 * buffer.C (latexParagraphs): adjust
9772 * paragraph.C (TeXOnePar): move function...
9773 (optArgInset): move function...
9774 (TeXEnvironment): move function...
9775 * paragraph_pimpl.C (TeXDeeper): move function...
9776 * paragraph_funcs.C: ...here
9778 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9780 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9782 * buffer.C (readInset): remove compability code for old Figure and
9785 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9787 * buffer.C: ws changes
9790 * BufferView_pimpl.C: ditto
9793 * bufferlist.h: ditto
9797 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9799 * converter.[Ch]: split into itself +
9802 * Makefile.am: += graph.[Ch] + format.[Ch]
9809 * lyxrc.C: added #include "format.h"
9811 2003-02-27 Angus Leeming <leeming@lyx.org>
9813 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9816 * factory.C (createInset): add "label" to the factory.
9818 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9819 string and do no more.
9821 2003-02-27 Angus Leeming <leeming@lyx.org>
9824 * LyXAction.C (init):
9825 * factory.C (createInset):
9826 * BufferView_pimpl.C (dispatch):
9827 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9829 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9831 * lyxfunc.C (dispatch):
9832 * text3.C (dispatch): pass name to params2string.
9834 2003-02-26 Angus Leeming <leeming@lyx.org>
9836 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9838 Rearrange the ~includes. Strip out the unnecessary ones.
9840 * factory.C (createInset): reformat.
9841 create new insets for the various LFUN_XYZ_APPLY lfuns.
9843 2003-02-26 John Levon <levon@movementarian.org>
9846 * lyxrow.C: add isParStart,isParEnd helpers
9848 * paragraph.h: make isInserted/DeletedText take refs
9850 * paragraph_funcs.h:
9851 * paragraph_funcs.C: remove #if 0'd code
9856 * text.C: use lyxrow helpers above.
9857 Move draw and paint routines to RowPainter.
9858 Make several methods use refs not pointers.
9859 Make backgroundColor() const.
9860 Add markChangeInDraw(), isInInset().
9861 Merge changeRegionCase into changeCase.
9862 Make workWidth() shouldn't-happen code into an Assert.
9865 * rowpainter.C: new class for painting a row.
9868 * vspace.C: make inPixels take a ref
9870 2003-02-26 Angus Leeming <leeming@lyx.org>
9872 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9875 2003-02-25 John Levon <levon@movementarian.org>
9877 * ispell.C: give the forked command a more accurate name
9879 2003-02-22 John Levon <levon@movementarian.org>
9882 * toc.C: make TocItem store an id not a Paragraph *
9885 2003-02-21 Angus Leeming <leeming@lyx.org>
9887 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9888 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9889 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9890 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9891 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9892 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9894 * BufferView_pimpl.C (dispatch):
9895 * LyXAction.C (init):
9896 * factory.C (createInset):
9897 * lyxfunc.C (getStatus, dispatch):
9898 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9900 2003-02-21 Angus Leeming <leeming@lyx.org>
9902 * BufferView_pimpl.C (MenuInsertLyXFile):
9903 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9904 * lyxfunc.C (menuNew, open, doImport):
9905 no longer pass a LyXView & to fileDlg.
9907 2003-02-21 Angus Leeming <leeming@lyx.org>
9909 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9910 * LyXAction.C: change, BIBKEY to BIBITEM.
9911 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9912 Change InsetBibKey to InsetBibitem.
9913 Change BIBKEY_CODE to BIBITEM_CODE.
9914 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9915 * factory.C: replace insetbib.h with insetbibitem.h.
9916 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9917 * paragraph.C: replace insetbib.h with insetbibitem.h.
9918 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9919 Change bibkey() to bibitem().
9920 * text.C: remove insetbib.h.
9921 * text2.C: replace insetbib.h with insetbibitem.h.
9922 change bibkey() to bibitem().
9923 * text3.C: remove insetbib.h.
9924 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9926 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9928 * lyxrc.C (output): enclose user email in quotes (in case there are
9931 2003-02-18 John Levon <levon@movementarian.org>
9933 * buffer.h: add std::
9935 2003-02-17 John Levon <levon@movementarian.org>
9941 * pspell.C: reworking. Especially in ispell, a large
9942 number of clean ups and bug fixes.
9944 * lyxfunc.C: fix revert to behave sensibly
9946 2003-02-17 André Pönitz <poenitz@gmx.net>
9949 * commandtags.h: new LFUN_INSERT_BIBKEY
9959 * paragraph_func.C: remove special bibkey handling
9961 2003-02-17 John Levon <levon@movementarian.org>
9963 * text.C (Delete): fix case where delete at the end of
9964 the very first paragraph would not merge the pars
9966 2003-02-17 John Levon <levon@movementarian.org>
9968 * lyxrow.C: fix lastPrintablePos()
9970 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9972 * bufferparams.C (writeLaTeX): add a std:here
9974 * buffer.C: and remove a using directive there
9976 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9978 * buffer.C (makeLaTeXFile): move the code that generates the
9981 * bufferparams.C (writeLaTeX): ... in this new method
9983 * LaTeXFeatures.C (getEncodingSet): make const
9984 (getLanguages): make const
9986 * MenuBackend.C (binding): returns the binding associated to this
9988 (add): sets the status of each item by calling getStatus. Adds
9990 (read): add support for OptSubMenu
9991 (expand): remove extra separator at the end of expanded menu
9993 2003-02-15 John Levon <levon@movementarian.org>
9996 * BufferView_pimpl.C:
9998 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9999 inset code that had no actual effect. Remove unneeded status
10002 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10004 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10007 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
10009 * text.C (drawLengthMarker): also draw an arrow marker for
10010 symbolic lengths (medskip...)
10012 2003-02-14 John Levon <levon@movementarian.org>
10015 * tabular.C: better method names
10017 2003-02-14 John Levon <levon@movementarian.org>
10019 * BufferView_pimpl.C:
10024 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10025 it's a more accurate name. Remove some pointless uses.
10027 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10029 * text2.C (LyXText): change order of initilizers to shut off
10032 2003-02-14 John Levon <levon@movementarian.org>
10034 * buffer.C: use ParIterator for getParFromID()
10038 * paragraph_pimpl.h:
10039 * paragraph_pimpl.C: remove unused getParFromID()
10041 2003-02-14 John Levon <levon@movementarian.org>
10043 * buffer.C: remove some very old #if 0'd parse code
10045 2003-02-13 John Levon <levon@movementarian.org>
10049 * text2.C: move hfillExpansion(), numberOfSeparators(),
10050 rowLast(), rowLastPrintable(), numberofHfills(),
10051 numberOfLabelHfills() ...
10054 * lyxrow.C: ... to member functions here.
10059 * text.C: remove LyXText::beginningOfMainBody(), and call
10060 p->beginningOfMainBody() directly. Move the check for
10061 LABEL_MANUAL into the latter.
10068 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10074 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10075 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10077 2003-02-13 John Levon <levon@movementarian.org>
10079 * CutAndPaste.C: remove debug
10081 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10083 * paragraph.C (asString): remove two unused variables
10085 * lyxtextclass.C (readTitleType):
10087 (LyXTextClass): handle new members titletype_ and titlename_
10089 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10091 2003-02-09 John Levon <levon@movementarian.org>
10094 * buffer.C: replace hand-coded list with a map for the dep clean
10096 2003-02-08 John Levon <levon@movementarian.org>
10098 * LaTeX.C: consolidate code into showRunMessage() helper
10100 2003-02-08 John Levon <levon@movementarian.org>
10105 * BufferView.C: change setSelectionOverString() to setSelectionRange()
10106 and pass the size in explicitly
10108 * BufferView_pimpl.h:
10109 * BufferView_pimpl.C:
10111 * BufferView.C: add getCurrentChange()
10113 * BufferView_pimpl.h:
10114 * BufferView_pimpl.C: handle change lfuns
10116 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10117 for changes. Mark pasted paragraphs as new.
10119 * support/lyxtime.h:
10120 * support/lyxtime.C:
10121 * DepTable.C: abstract time_t as lyx::time_type
10124 * LColor.C: add colours for new text, deleted text, changebars
10126 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10127 package use "usenames" option.
10131 * LyXAction.C: add change lfuns
10135 * author.C: author handling
10138 * buffer.C: add a per-buffer author list, with first entry as
10139 current author. Handle new .lyx tokens for change tracking. Output
10140 author list to .lyx file. Output dvipost stuff to .tex preamble.
10141 Bump lyx format to 222.
10144 * bufferlist.C: add setCurrentAuthor() to reset current author details
10148 * bufferparams.C: add param for tracking
10150 * bufferview_funcs.C: output change info in minibuffer
10154 * changes.C: add change-tracking structure
10157 * debug.C: add CHANGES debug flag
10160 * lyxfind.C: add code for finding the next change piece
10163 * lyxrc.C: add user_name and user_email
10166 * lyxrow.C: add a metric for the top of the text line
10169 * text.C: implement accept/rejectChange()
10172 * text.C: paint changebars. Paint new/deleted text in the chosen
10173 colours. Strike through deleted text.
10177 * paragraph_pimpl.h:
10178 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10179 in the current change to the insert functions. Rework erase to
10180 mark text as deleted, adding an eraseIntern() and a range-based
10181 erase(). Implement per-paragraph change lookup and
10184 * paragraph_funcs.C: Fixup paste for change tracking.
10186 * tabular.C: mark added row/columns as new.
10188 * text.C: fix rowLast() to never return -1. Don't allow
10189 spellchecking of deleted text. Track transpose changes. Don't
10190 allow paragraph break or merge where appropriate.
10192 * text2.C: leave cursor at end of selection after a cut.
10194 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10196 * text.C (getLengthMarkerHeight):
10197 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10198 visible on screen too.
10200 2003-02-07 John Levon <levon@movementarian.org>
10202 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10204 2003-02-05 Angus Leeming <leeming@lyx.org>
10206 * lyxserver.C (read_ready): revert my patch of 11 September last year
10207 as it sends PC cpu through the roof. Presumably this means that
10208 the lyxserver will no longer run on an Alpha...
10210 2003-01-30 Angus Leeming <leeming@lyx.org>
10212 * factory.C (createInset): create an InsetCommandParam of type "index"
10213 and use it to 'do the right thing'.
10215 * text2.C (getStringToIndex): ensure that cursor position is always
10216 reset to the reset_cursor position.
10218 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10220 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10223 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10227 * lyxfunc.C: Output messages with identical spelling, punctuation,
10230 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10232 * MenuBackend.C (expandFormats): List only viewable export formats
10235 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10238 * lyxfunc.C (getStatus): Make sure that formats other than
10239 "fax" can also be disabled
10241 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10243 * text3.C (dispatch): put the lfuns that insert insets in 3
10244 groups, and call doInsertInset with appropriate arguments.
10245 (doInsertInset): new function, that creates an inset and inserts
10246 it according to some boolean parameters.
10248 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10250 * buffer.C (readFile): remember to pass on 'par' when calling
10251 readFile recursively.
10253 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10255 * MenuBackend.C (expandFormats): add "..." to import formats.
10257 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10259 * paragraph.C (asString): Remove XForms RTL hacks.
10261 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10262 * buffer.C: fix typo
10264 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10266 * Makefile.am (LIBS): delete var
10267 (lyx_LDADD): add @LIBS@ here instead.
10269 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10271 * Clarify the meaning of "wheel mouse jump"
10273 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10275 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10278 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10280 * importer.C (Loaders): do not preallocate 3 elements in the
10281 vector, since one ends up with 6 elements otherwise
10283 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10285 * DepTable.C (write): write the file name as last element of the
10286 .dep file (because it may contain spaces)
10287 (read): read info in the right order
10289 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10291 * paragraph_pimpl.C (simpleTeXBlanks):
10292 (simpleTeXSpecialChars):
10293 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10295 * tabular.C (latex): add some missing case statements. Reindent.
10297 * MenuBackend.C (expandToc): remove unused variable.
10299 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10308 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10311 2003-01-05 John Levon <levon@movementarian.org>
10314 * BufferView.C: add getEncoding()
10317 * kbsequence.C: do not store last keypress
10320 * lyxfunc.C: store last keypress here instead. Pass encoding
10323 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10325 * lyx_main.C (init): remove annoying error message when following
10326 symbolic links (bug #780)
10328 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10330 * text.C (insertChar):
10331 * lyxrc.C (getDescription): remove extra spaces
10333 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10335 * lyxrc.C (getDescription): remove extra spaces
10337 2002-12-20 John Levon <levon@movementarian.org>
10339 * text3.C: hack fix for page up/down across tall rows
10341 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10343 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10346 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10348 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10349 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10350 thesaurus is not compiled in
10352 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10354 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10356 2002-12-16 Angus Leeming <leeming@lyx.org>
10359 * lyx_main.C (init): remove override_x_deadkeys stuff.
10361 2002-12-12 John Levon <levon@movementarian.org>
10363 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10364 insert. Only remove shift modifier under strict
10367 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10369 * MenuBackend.C (expandToc): fix crash.
10371 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10373 * MenuBackend.C (expandToc): gettext on float names.
10375 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10377 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10378 implement bool empty() [bug 490]
10380 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10382 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10384 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10386 * several files: ws changes
10388 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10390 * text2.C (setCounter): clean up a bit, use boost.format.
10391 (updateCounters): initialize par upon declaration.
10393 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10394 if the layout exists. We do not just store the layout any more.
10395 (SwitchLayoutsBetweenClasses): use boost.format
10397 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10399 * converter.C (convert): if from and to files are the same, use a
10400 temporary files as intermediary
10402 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10405 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10407 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10409 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10411 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10413 * tabular.C (asciiPrintCell): use string(size, char) instead of
10416 * sgml.C (openTag): fix order of arguments to string constructor
10419 * lyxfunc.C (dispatch): use boost.format
10421 * lots of files: change "c" -> 'c'
10423 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10425 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10427 2002-11-25 Angus Leeming <leeming@lyx.org>
10429 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10431 * lyx_main.C (init): compile fix.
10433 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10435 * lyx_cb.C (start): boost.formatify
10436 do not include <iostream>
10438 * lengthcommon.C: ws only
10440 * boost-inst.C,BoostFormat.h: add more explict instantations
10442 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10444 * lots of files: handle USE_BOOST_FORMAT
10446 2002-11-21 John Levon <levon@movementarian.org>
10448 * pspell.C: fix compile
10450 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10452 * lyxfunc.C (dispatch): use boost::format
10456 * lyxfont.C (stateText): use boost::format
10458 * lyx_main.C (LyX): use boost::format
10460 (queryUserLyXDir): ditto
10461 (readRcFile): ditto
10463 (typedef boost::function): use the recommened syntax.
10465 * importer.C (Import): use boost::format
10467 * debug.C (showLevel): use boost::format
10469 * converter.C (view): use boost::format
10474 * bufferview_funcs.C (currentState): use boost::format
10476 * bufferlist.C (emergencyWrite): use boost::format
10478 * buffer.C (readLyXformat2): use boost::format
10479 (parseSingleLyXformat2Token): ditto
10481 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10483 * LaTeX.C (run): use boost::format
10485 * Chktex.C (scanLogFile): use boost::format
10487 * BufferView_pimpl.C (savePosition): use boost::format
10488 (restorePosition): ditto
10489 (MenuInsertLyXFile): ditto
10491 * BoostFormat.h: help file for explicit instation.
10493 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10495 * tabular.C (latex): Support for block alignment in fixed width
10498 2002-11-17 John Levon <levon@movementarian.org>
10500 * BufferView_pimpl.C:
10502 * lyxfunc.C: split filedialog into open/save
10504 2002-11-08 Juergen Vigna <jug@sad.it>
10506 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10507 by my last patch (hopefully).
10509 2002-11-08 John Levon <levon@movementarian.org>
10518 * toc.C: ParConstIterator, and use it (from Lars)
10520 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10522 * lyxtextclass.[Ch]: revise and add doxygen comments
10524 2002-11-07 John Levon <levon@movementarian.org>
10526 * text.C: fix progress value for spellchecker
10528 * toc.C: fix navigate menu for insetwrap inside minipage
10530 * paragraph_funcs.C: added FIXME for suspect code
10532 2002-11-07 John Levon <levon@movementarian.org>
10534 * BufferView_pimpl.C: fix redrawing of insets
10537 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10539 * text2.C (updateCounters): fix bug 668
10541 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10543 * text3.C (dispatch): Do not make the buffer dirty when moving the
10546 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10548 * vc-backend.C: STRCONV
10549 (scanMaster): ditto
10551 * text2.C (setCounter): STRCONV
10553 * paragraph.C (asString): STRCONV
10555 * lyxlength.C (asString): STRCONV
10556 (asLatexString): ditto
10558 * lyxgluelength.C (asString): STRCONV
10559 (asLatexString): ditto
10561 * lyxfunc.C (dispatch): STRCONV
10564 * lyxfont.C (stateText): STRCONV
10566 * importer.C (Import): STRCONV
10568 * counters.C (labelItem): STRCONV
10569 (numberLabel): ditto
10570 (numberLabel): remove unused ostringstream o
10575 * bufferview_funcs.C (currentState): STRCONV
10577 * buffer.C (readFile): STRCONV
10578 (asciiParagraph): ditto
10579 (makeLaTeXFile): ditto
10581 * Spacing.C (writeEnvirBegin): STRCONV
10583 * LaTeXFeatures.C (getLanguages): STRCONV
10584 (getPackages): ditto
10586 (getBabelOptions): ditto
10587 (getTClassPreamble): ditto
10588 (getLyXSGMLEntities): ditto
10589 (getIncludedFiles): ditto
10593 (scanAuxFile): ditto
10596 * LString.h: add the STRCONV macros
10598 * BufferView_pimpl.C (savePosition): STRCONV
10599 (restorePosition): ditto
10600 (MenuInsertLyXFile): ditto
10602 * vc-backend.C (scanMaster): change from submatch[...] to
10605 * funcrequest.C: include config.h
10607 * factory.C: include config.h
10609 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10611 * box.C: include config.h
10613 * LaTeX.C (scanAuxFile): change from submatch[...] to
10617 2002-10-25 Angus Leeming <leeming@lyx.org>
10619 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10621 * ispell.[Ch] (setError): new method.
10622 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10623 Use setError() insetead of goto END.
10625 * lyx_cb.C (AutoSave): move out child process into new class
10628 2002-10-30 John Levon <levon@movementarian.org>
10630 * text3.C: make start appendix undoable
10632 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10634 * lyxlength.C (inPixels): Fix returned value.
10636 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10639 2002-10-24 Angus Leeming <leeming@lyx.org>
10641 * lyxgluelength.h: no need to forward declare BufferParams
10642 or BufferView, so don't.
10644 2002-10-21 John Levon <levon@movementarian.org>
10646 * BufferView.C: menuUndo ->undo, redo
10648 * BufferView.h: document, remove dead, make some methods private
10650 * paragraph_funcs.h:
10651 * paragraph_funcs.C:
10652 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10657 * sgml.C: move sgml open/close tag into sgml.C
10659 * bufferview_funcs.h: unused prototype
10662 * lyxfunc.C: remove unused
10665 * text.C: remove unused
10667 2002-10-21 John Levon <levon@movementarian.org>
10671 * BufferView_pimpl.h:
10672 * BufferView_pimpl.C: fix mouse wheel handling based on
10673 patch from Darren Freeman
10675 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10677 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10679 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10681 * lyxlength.C (inPixels): Fix hanfling of negative length.
10682 Fix LyXLength::MU case.
10684 2002-10-16 John Levon <levon@movementarian.org>
10686 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10688 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10690 * converter.C (view): add support for $$i (file name) and $$p
10691 (file path) for the viewer command. If $$i is not specified, then
10692 it is appended to the command (for compatibility with old syntax)
10694 2002-10-14 Juergen Vigna <jug@sad.it>
10696 * undo_funcs.C (textHandleUndo): alter the order in which the
10697 new undopar is added to the LyXText, as we have to set first
10698 the right prev/next and then add it as otherwise the rebuild of
10699 LyXText is not correct. Also reset the cursor to the right paragraph,
10700 with this IMO we could remove the hack in "redoParagraphs()".
10702 2002-10-09 Angus Leeming <leeming@lyx.org>
10704 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10705 to turn off an optimisation if a new inset is to be inserted.
10707 2002-10-11 André Pönitz <poenitz@gmx.net>
10709 * lyxtext.h: make some functions public to allow access
10710 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10712 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10714 * text3.C (dispatch): when changing layout, avoid an infinite loop
10717 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10719 * lyxrc.C (read): treat a viewer or converter command of "none" as
10722 * MenuBackend.C (expandFormats): for an update, also allow the
10723 formats that are not viewable
10725 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10726 script if it is newer than the lyxrc.defaults in user directory
10728 2002-10-07 André Pönitz <poenitz@gmx.net>
10730 * text.C: Vitaly Lipatov's small i18n fix
10732 2002-09-25 Angus Leeming <leeming@lyx.org>
10734 * ispell.h: doxygen fix.
10736 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10738 * buffer.h (readFile): Add a new argument to the method, to allow
10739 reading of old-format templates.
10741 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10743 * toc.C (getTocList): Get TOC from InsetWrap.
10745 2002-09-16 John Levon <levon@movementarian.org>
10747 * lyxfunc.C: check tabular for cut/copy too
10749 2002-09-12 John Levon <levon@movementarian.org>
10751 * LyXAction.C: tidy
10754 * factory.C: add header
10756 * paragraph_funcs.h:
10757 * paragraph_funcs.C: cleanup
10759 2002-09-11 John Levon <levon@movementarian.org>
10761 * PrinterParams.h: odd/even default to true
10763 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10765 * PrinterParams.h: update printer parameters for new xforms dialog
10767 2002-09-11 Angus Leeming <leeming@lyx.org>
10769 * lyxserver.C (read_ready): re-write to make it more transparent
10770 and to make it work in coherent fashion under Tru64 Unix.
10772 2002-09-11 André Pönitz <poenitz@gmx.net>
10776 * text3.C: implement LFUN_WORDSEL
10778 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10780 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10781 make floatlist_ a boost::shared_ptr<FloatList>
10783 * lyxtextclass.C: include FloatList.h
10784 (LyXTextClass): initialize floatlist_
10785 (TextClassTags): add TC_NOFLOAT
10786 (Read): match "nofloat" to TC_NOFLOAT and use it.
10787 (readFloat): modify call to floatlist_
10791 * FloatList.[Ch] (FloatList): remove commented out float
10793 (erase): new function
10795 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10797 * MenuBackend.C (expandToc): fix crash when there is no document
10800 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10802 * many files: Add insetwrap.
10804 2002-09-09 John Levon <levon@movementarian.org>
10806 * text2.C: remove confusing and awkward depth wraparound
10808 2002-09-09 John Levon <levon@movementarian.org>
10810 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10813 * buffer.C: remove getIncludeonlyList()
10816 * lyxfunc.C: remove headers
10818 2002-09-09 Juergen Vigna <jug@sad.it>
10820 * text.C (getColumnNearX): fix form Michael this is most
10821 probably a cut&paste bug.
10823 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10825 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10827 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10828 references, ws changes.
10830 * text2.C (init): update counters after init
10831 (insertParagraph): no need to set counter on idividual paragraphs.
10832 (setCounter): access the counters object in the textclass object
10833 on in the buffer object.
10834 (updateCounters): ditto
10836 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10837 shared_ptr<Counters> to avoid loading counters.h in all
10839 (LyXTextClass): initialize ctrs_
10840 (TextClassTags): add TC_COUNTER, and ...
10841 (Read): use it here.
10842 (CounterTags): new tags
10843 (readCounter): new function
10844 (counters): new funtion
10845 (defaultLayoutName): return a const reference
10847 * counters.C (Counters): remove contructor
10848 (newCounter): remove a couple of unneeded statements.
10849 (newCounter): simplify a bit.
10850 (numberLabel): some small formatting changes.
10852 * buffer.[Ch]: remove all traces of counters, move the Counters
10853 object to the LyXTextClass.
10855 2002-09-06 Alain Castera <castera@in2p3.fr>
10857 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10858 package to set the horizontal alignment on fixed width columns.
10861 * lyx_sty.h: added tabularnewline macro def.
10863 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10865 2002-09-06 John Levon <levon@movementarian.org>
10867 * LyXAction.C: tooltips for sub/superscript
10869 * MenuBackend.C: a bit more verbose
10871 * lyxfunc.C: tiny clean
10873 * undo_funcs.C: document undo_frozen
10875 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10877 * counters.C (Counters): add missing algorithm counter.
10879 * text2.C (setCounter): lookup the counter with layouts latexname
10880 instead of by section number.
10881 (setCounter): use a hackish way to lookup the correct enum
10883 a float name->type change
10884 reset enum couners with counter name directly instead of depth value.
10886 * counters.C (Counters): remove the push_backs, change to use the
10887 float type not the float name.
10888 (labelItem): remove unused string, float name->type change
10890 * counters.h: don't include vector, loose the enums and sects vectors
10892 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10894 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10895 (Read): add float->TC_FLOAT to textclassTags
10896 (Read): and handle it in the switch
10897 (readFloat): new function
10899 * FloatList.C (FloatList): comment out the hardcoded float
10902 * lyxlayout.h: ws change.
10904 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10906 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10908 2002-09-03 Angus Leeming <leeming@lyx.org>
10910 * BufferView_pimpl.h: qualified name is not allowed in member
10911 declaration: WorkArea & Pimpl::workarea() const;
10913 * factory.C: added using std::endl directive.
10915 * text3.C: added using std::find and std::vector directives.
10917 2002-08-29 André Pönitz <poenitz@gmx.net>
10920 * text2.C: remove unused member number_of_rows
10923 * BufferView2.C: remove file, move contents to...
10924 * BufferView.C: ... here
10926 * BufferView_pimpl.C:
10927 * factory.C: move more inset creation to factory
10929 * vspace.C: avoid direct usage of LyXText, ws changes
10932 don't provide direct access to WorkArea, use two simple
10933 acessors haveSelction() and workHeight() instead
10936 2002-08-29 John Levon <levon@movementarian.org>
10938 * BufferView_pimpl.C (dispatch): do not continue when
10941 2002-08-28 André Pönitz <poenitz@gmx.net>
10943 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10946 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10948 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10950 * buffer.C: increment LYX_FORMAT to 221
10952 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10953 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10955 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10957 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10959 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10961 * factory.C (createInset): use LyXTextClass::floats
10963 * MenuBackend.C (expandFloatListInsert):
10964 (expandFloatInsert):
10967 * text2.C (setCounter):
10969 * LaTeXFeatures.C (useFloat):
10970 (getFloatDefinitions):
10972 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10974 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10975 floatlist_, with accessor floats().
10977 * FloatList.h: remove global FloatList
10979 2002-08-26 André Pönitz <poenitz@gmx.net>
10981 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10985 * BufferView_pimpl.C:
10986 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10988 2002-08-25 John Levon <levon@movementarian.org>
10990 * LyXAction.C: fix margin note description
10992 2002-08-24 John Levon <levon@movementarian.org>
10996 * bufferview_funcs.C:
10998 * undo_funcs.C: cleanups
11000 * lyxfunc.C: disable CUT/COPY when no selection
11002 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
11004 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11005 in "enum UNIT"; e.g. PTW for Percent of TextWidth
11007 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11008 Add backward compatibility to "mono", "gray" and "no".
11010 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
11012 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11013 (and file_format >= 200).
11015 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11017 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11019 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11021 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11023 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
11025 * BufferView_pimpl.C:
11032 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11033 inset and code to make it work with the paragraph code. The inset
11034 can be anywhere in the paragraph, but will only do the expected
11035 thing in LaTeX if the layout file contains the parameter line
11037 (or more generally, a nonzero value) for that layout.
11039 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
11041 * paragraph.h: remove the declaration of undefined counters class
11044 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
11046 * text2.C (setCounter): fixed enumeration mis-count as reported by
11047 Dr. Richard Hawkins.
11049 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11051 * paragraph_funcs.h: remove some unneeded includes
11053 * text.C (backspace): pasteParagraph now in global scipe
11055 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11056 (pasteSelection): ditto
11058 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11059 * paragraph_funcs.C (pasteParagraph): ... here
11061 2002-08-20 André Pönitz <poenitz@gmx.net>
11063 * commandtags.h: new LFUNs for swapping/copying table row/colums
11066 * lyxfunc.C: support for new lfuns
11068 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
11071 * buffer.[Ch]: remove NO_COMPABILITY stuff
11073 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
11075 * boost.C (throw_exception): new file, with helper function for
11076 boost compiled without exceptions.
11081 * ParameterStruct.h:
11082 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11084 * bufferlist.C (emergencyWriteAll): use boost bind
11086 * BufferView_pimpl.C (moveCursorUpdate): remove inline
11088 * text.C: include paragraph_funcs.h
11089 (breakParagraph): breakParagraph is now in global scope
11091 * paragraph_funcs.[Ch]: new files
11093 * paragraph.C (breakParagraph,breakParagraphConservative): move to
11096 * buffer.C: include paragraph_funcs.h
11097 (insertStringAsLines): breakParagraph is now in global scope
11099 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11102 * CutAndPaste.C: include paragraph_funcs.h
11103 (cutSelection): breakParagraphConservative is now in global scope
11104 (pasteSelection): ditto
11106 * buffer.h: declare oprator== and operator!= for
11107 Buffer::inset_iterator
11109 * bufferlist.C (emergencyWrite): don't use fmt(...)
11111 * text3.C: add using std::endl
11113 * BufferView.C (moveCursorUpdate): remove default arg
11115 2002-08-20 André Pönitz <poenitz@gmx.net>
11117 * buffer.[Ch]: move inline functions to .C
11120 * BufferView_pimpl.C:
11122 * buffer.[Ch]: use improved inset_iterator
11125 * paragraph.[Ch]: write one paragraph at a time
11127 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
11129 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11130 style if style is not specified.
11132 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11134 * text2.C (setCounter): when searching for right label for a
11135 caption, make sure to recurse to parent insets (so that a caption
11136 in a minipage in a figure float works) (bug #568)
11138 2002-08-20 André Pönitz <poenitz@gmx.net>
11140 * text3.C: new file for LyXText::dispatch() and helpers
11142 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11144 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11146 2002-08-19 André Pönitz <poenitz@gmx.net>
11149 * text.C: new LyXText::dispatch()
11151 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11153 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
11155 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11157 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11160 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11162 * Makefile.am: use $(variables) instead of @substitutions@
11164 2002-08-15 André Pönitz <poenitz@gmx.net>
11167 * BufferView_pimpl.C: streamlining mathed <-> outer world
11171 * LyXAction.C: remove unused LFUN_MATH
11173 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11175 * paragraph.[Ch]: add some NO_NEXT ifdefs.
11177 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
11179 * paragraph.C (Paragraph): reformat a bit
11180 (cutIntoMinibuffer): use builtin InsetList function instad of
11184 * buffer.C: include boost/bind.hpp, add using std::for_each
11185 (writeFileAscii): use ParagraphList iterators
11186 (validate): use for_each for validate traversal of paragraphs
11187 (getBibkeyList): use ParagraphList iterators
11188 (resizeInsets): use for_each to resizeInsetsLyXText for all
11190 (getParFromID): use ParagraphList iterators
11192 * BufferView2.C (lockInset): use paragraph list and iterators
11194 2002-08-14 John Levon <levon@movementarian.org>
11196 * lyxserver.C: remove spurious xforms include
11198 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11200 * lyxfunc.C (getStatus): disable math-extern outside of math mode
11202 2002-08-13 André Pönitz <poenitz@gmx.net>
11205 * lyxfunc.C: further cleaning
11207 2002-08-13 André Pönitz <poenitz@gmx.net>
11209 * funcrequest.h: new constructor
11211 * funcrequest.C: move stuff here from .h
11214 * BufferView_pimpl.C:
11217 * lyxfunc.C: subsequent changes
11219 * lyxfunc.h: new view() member function
11221 * lyxfunc.C: subsequent changes
11223 2002-08-13 Angus Leeming <leeming@lyx.org>
11226 * BufferView_pimpl.C:
11234 changes due to the changed LyXView interface that now returns references
11235 to member variables not pointers.
11237 2002-08-13 Angus Leeming <leeming@lyx.org>
11239 * WordLangTuple (word, lang_code): return references to strings,
11244 * lyxtext.h: forward-declare WordLangTuple.
11249 * text.C: #include "WordLangTuple.h".
11252 * text.C: (selectNextWordToSpellcheck): constify return type.
11254 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11260 * paragraph_pimpl.h:
11263 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11264 suggested by Angus.
11265 Made updateCounter always count from start of buffer, and removed
11266 second argument (par).
11267 Reverted floats number display to '#'. Perhaps I'll try again when the
11268 code base is sanitized a bit.
11270 2002-08-12 Angus Leeming <leeming@lyx.org>
11272 * buffer.[Ch] (getLabelList): constify.
11274 2002-08-07 André Pönitz <poenitz@gmx.net>
11276 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11278 * funcrequest.h: extension to keep mouse (x,y) position
11280 2002-08-12 Juergen Vigna <jug@sad.it>
11282 * BufferView2.C (insertErrors): forbid undo when inserting error
11285 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11287 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11289 * ParagraphList.[Ch]: new files
11291 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11293 * BufferView2.C (lockInset): ParagraphList changes
11296 * bufferlist.C: ditto
11300 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11302 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11303 unused class variable counter_,
11305 * paragraph.[Ch] (getFirstCounter): delete unused function
11307 * counters.C: include LAssert.h
11308 (reset): add a new function with no arg, change other version to
11309 not have def. arg and to not allow empty arg.
11311 * text2.C (setCounter): remove empty arg from call to Counters::reset
11313 2002-08-11 John Levon <levon@movementarian.org>
11315 * Makefile.am: add WordLangTuple.h
11317 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11319 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11320 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11322 * insets/insettext.C: InsetList changes
11324 * graphics/GraphicsSupport.C (operator()): InsetList changes
11326 * toc.C (getTocList): InsetList changes
11328 * paragraph_pimpl.[Ch]: InsetList changes
11330 * paragraph.[Ch]: InsetList changes
11332 * buffer.C (inset_iterator): InsetList changes
11333 (setParagraph): ditto
11334 * buffer.h (inset_iterator): ditto
11335 * iterators.C (operator++): ditto
11336 * iterators.h: ditto
11338 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11340 * InsetList.[Ch]: new files, most InsetList handling moved out of
11343 * BufferView2.C (removeAutoInsets): InsetList changes
11345 (ChangeInsets): ditto
11347 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11349 * paragraph_pimpl.h (empty): new function
11351 * paragraph.[Ch] (empty): new function
11353 * other files: use the new Paragraph::empty function
11355 2002-08-09 John Levon <levon@movementarian.org>
11357 * lyxtext.h: remove unused refresh_height
11359 2002-08-09 John Levon <levon@movementarian.org>
11366 * paragraph.C: move sgml char escaping out of paragraph
11369 * paragraph.C: remove id setter
11373 * paragraph_pimpl.C: remove dead tex_code_break_column
11375 * bufferview_funcs.C: small cleanup
11377 * lyxfunc.C: remove dead proto
11379 * lyxtext.h: make some stuff private. Remove some dead stuff.
11381 * lyxgluelength.C: make as[LyX]String() readable
11383 2002-08-08 John Levon <levon@movementarian.org>
11388 * ToolbarDefaults.C:
11391 * toc.C: lyxaction cleanup
11393 2002-08-08 John Levon <levon@movementarian.org>
11395 * BufferView2.C: small cleanup
11398 * lyxfind.C: move unnecessary header into the .C
11400 2002-08-08 John Levon <levon@movementarian.org>
11402 * funcrequest.h: just tedious nonsense
11405 * lyx_main.C: cleanups
11408 * vspace.C: remove dead header lyx_main.h
11410 2002-08-07 Angus Leeming <leeming@lyx.org>
11413 * paragraph_pimpl.h:
11414 Forward declare class Counters in paragraph.h by moving the ctrs member
11415 variable into Paragraph::Pimpl.
11416 (counters): new method, returning a reference to pimpl_->ctrs.
11418 * text2.C: ensuing changes.
11420 2002-08-07 John Levon <levon@movementarian.org>
11422 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11424 * BufferView_pimpl.C: announce X selection on double/triple
11427 * lyx_main.C: use correct bool in batch dispatch
11429 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11431 2002-08-07 André Pönitz <poenitz@gmx.net>
11433 * funcrequest.h: new class to wrap a kb_action and its argument
11436 * BufferView_pimpl[Ch]:
11440 * lyxrc.C: subsequent changes
11443 2002-08-07 John Levon <levon@movementarian.org>
11445 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11446 document options change.
11448 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11453 * makefile.am: move counters functionality over from
11454 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11456 2002-08-06 John Levon <levon@movementarian.org>
11458 * WordLangTuple.h: new file for word + language code tuple
11469 * BufferView2.C: use WordLangTuple
11472 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11474 2002-08-06 John Levon <levon@movementarian.org>
11476 * lyx_main.C: fix cmdline batch handling
11478 2002-08-06 André Pönitz <poenitz@gmx.net>
11480 * lyxrc.C: set default for show_banner to true
11482 2002-08-06 John Levon <levon@movementarian.org>
11484 * pspell.C: fix a crash, and allow new aspell to work
11486 2002-08-06 John Levon <levon@movementarian.org>
11489 * kbmap.C: small cleanup
11492 * vspace.C: add const
11494 2002-08-05 John Levon <levon@movementarian.org>
11496 * LyXAction.C: back to tabular-insert
11498 2002-08-04 John Levon <levon@movementarian.org>
11501 * BufferView.C: cosmetic change
11503 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11513 * BufferView2.C: purge all "Lyx" not "LyX" strings
11516 * lyxcursor.C: attempt to add some documentation
11521 * ToolbarDefaults.C:
11522 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11523 merge with LFUN_TABULAR_INSERT
11530 * pspell.C: split up i/pspell implementations into separate
11531 files, many cleanups
11533 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11535 * text2.C: some cleanup
11537 * lyxfunc.C: don't check for isp_command == "none" any more, it
11538 didn't make any sense
11540 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11545 * makefile.am: move counters functionality over
11546 from text2.C/paragraph.[Ch] to counters.[Ch], and
11548 2002-08-02 John Levon <levon@movementarian.org>
11550 * buffer.C: s/lyxconvert/lyx2lyx/
11552 2002-08-02 Angus Leeming <leeming@lyx.org>
11554 * lyxlex.C: revert John's change as it breaks reading of the user
11557 2002-08-02 Angus Leeming <leeming@lyx.org>
11559 * importer.C (Import):
11560 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11561 changes due to LyXView::view() now returning a boost::shared_ptr.
11563 2002-08-02 John Levon <levon@movementarian.org>
11565 * lyxlex.C: small cleanup
11567 2002-08-02 John Levon <levon@movementarian.org>
11569 * text2.C (status): small cleanup, no logic change
11571 2002-08-01 John Levon <levon@movementarian.org>
11574 * buffer.C (writeFile): don't output alerts, caller
11578 * lyx_cb.C: from above
11580 * lyxfunc.C: allow to open non-existent files
11582 2002-07-31 John Levon <levon@movementarian.org>
11584 * lyxserver.C: don't let incidental errors get
11587 2002-07-30 John Levon <levon@movementarian.org>
11589 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11591 2002-07-30 John Levon <levon@movementarian.org>
11594 * lyxserver.C: remove I/O callback too
11596 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11598 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11601 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11603 * many files: strip,frontStrip -> trim,ltrim,rtrim
11605 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11607 * PrinterParams.h: remove extern containsOnly, and include
11608 support/lstrings.h instead.
11610 * LaTeX.C (scanAuxFile): modify because of strip changes
11612 * buffer.C (makeLaTeXFile): ditto
11613 * bufferparams.C (writeFile): ditt
11614 * lyxfont.C (stateText): ditto
11615 * lyxserver.C (read_ready): ditto
11616 * vc-backend.C (scanMaster): ditto
11618 * BufferView_pimpl.h: ws changes
11620 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11622 2002-07-26 André Pönitz <poenitz@gmx.net>
11624 * kb_sequence.C: remove unnedred usings
11626 2002-07-26 Juergen Vigna <jug@sad.it>
11628 * lyxfind.C (LyXReplace): we have to check better if the returned
11629 text is not of theLockingInset()->getLockingInset().
11631 2002-07-25 Juergen Vigna <jug@sad.it>
11633 * lyxfind.C (LyXReplace): don't replace if we don't get the
11636 * undo_funcs.C (createUndo): remove debugging code.
11638 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11640 * buffer.C (parseSingleLyXformat2Token): Use default placement
11641 when reading old floats.
11643 * FloatList.C (FloatList): Change the default placement of figure
11644 and tables to "tbp".
11646 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11648 * MenuBackend.C: using std::max
11650 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11652 * MenuBackend.C (expandToc):
11653 (expandToc2): code moved from xforms menu frontend. It is now
11654 generic and TOCs are transparent to menu frontends.
11656 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11658 * toc.C (getTocList): protect against buf=0
11660 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11661 Menu as first parameter. Now, this calls itself recursively to
11662 expand a whole tree (this will be useful for TOC handling)
11663 (expandFloatInsert): remove 'wide' version of floats
11665 * MenuBackend.h (submenuname): returns the name of the submenu.
11666 (submenu): returns the submenu itself, provided it has been
11667 created by MenuBackend::expand
11669 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11671 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11672 insets which have noFontChange == true. (bug #172)
11674 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11676 * BufferView_pimpl.C: add connection objects and use them...
11679 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11681 * MenuBackend.C (expandLastfiles):
11684 (expandFloatListInsert):
11685 (expandFloatInsert):
11686 (expand): split expand in parts
11688 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11690 * lyx_gui.C: use lyx_gui::exit()
11692 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11694 * LyXAction.C: show the failing pseudo action
11696 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11698 * buffer.C (readFile): Run the lyxconvert script in order to read
11701 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11705 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11707 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11711 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11713 2002-07-22 Herbert Voss <voss@lyx.org>
11716 * lyxlength.[Ch]: add support for the vertical lengths
11718 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11720 * toc.[Ch]: std:: fixes
11722 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11724 * lyxrc.C: do not include lyx_main.h
11726 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11732 * BufferView2.C: include "lyxlex.h"
11735 * bufferparams.h: do not #include "lyxlex.h"
11737 * lyxtextclasslist.C (Add): remove method
11738 (classlist): renamed to classlist_
11740 * paragraph_pimpl.C:
11744 * bufferview_funcs.C:
11749 * toc.C (getTocList): use BufferParams::getLyXTextClass
11751 * toc.C (getTocList): use InsetFloat::addToToc
11753 * toc.[Ch]: new files, containing helper functions to handle table
11756 * lyxfunc.C (dispatch): no need to remove spaces around command
11758 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11759 first command of the sequence; it is not very clever, but I do not
11760 have a better idea, actually
11762 * LyXAction.C (LookupFunc): make sure to remove space at the
11763 beginning and end of the command
11765 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11767 * MenuBackend.C (getMenubar): new method: return the menubar of
11769 (read): treat differently reading of menu and menubar (in
11770 particular, the menubar has no name now)
11771 (Menu::menubar): remove
11773 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11776 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11778 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11779 a bibitem inset in a RTL paragraph.
11781 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11783 * paragraph_pimpl.C: constify
11785 * BufferView_pimpl.C:
11787 * lyxfunc.C: fix dispatch in a nicer way
11789 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11791 * lyxfunc.C (dispatch):
11792 * BufferView_pimpl.C:
11793 * BufferView_pimpl.h:
11795 * BufferView.h: rename Dispatch() to dispatch()
11797 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11799 * lyxlayout.C (Read): honor DependsOn tag
11801 * lyxlayout.[Ch] (depends_on): new method
11803 * version.C.in: update lyx_docversion
11805 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11807 * paragraph.C (validate): remove from here...
11808 * paragraph_pimpl.C (validate): ... and move here
11809 (isTextAt): make it const
11811 * buffer.C (getLists): ws cleanup
11813 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11815 * language.C (read): Use iso8859-1 encoding in latex_lang
11816 (this prevents LyX from crashing when using iso10646-1 encoding).
11818 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11820 * text2.C (toggleInset): if cursor is inside an inset, close the
11821 inset and leave cursor _after_ it
11823 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11825 * lyxfunc.C: move minibuffer completion handling out of here
11827 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11829 * BufferView_pimpl.C:
11830 * LaTeX.C: fix dispatch calls
11832 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11834 * text.C (drawChars): Fix Arabic text rendering.
11836 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11840 * lyxfunc.C: remove message-push/pop
11844 * lyxfunc.C: rationalise some code by removing verboseDispatch
11845 in favour of a bool argument to dispatch()
11847 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11849 * lyx_main.C (init): make sure to read symlinks as absolute paths
11851 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11854 * lyxfunc.C: no need for commandshortcut to be a member
11856 2002-07-15 André Pönitz <poenitz@gmx.net>
11858 * converter.C: add support for $$s (scripts from lib/scripts dir)
11859 * lyx_main.C: white space
11861 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11865 * lyxrc.C: remove second exit confirmation
11867 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11872 * BufferView_pimpl.h:
11873 * BufferView_pimpl.C:
11874 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11876 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11878 * MenuBackend.C (expand): add numeric shortcuts to document menu
11880 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11882 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11884 * lyxfont.C (setLyXFamily):
11891 * buffer.C (asciiParagraph): use ascii_lowercase
11893 2002-07-15 Mike Fabian <mfabian@suse.de>
11895 * lyxlex_pimpl.C (search_kw):
11896 * lyxlex.C (getLongString):
11897 * converter.h (operator<):
11898 * converter.C (operator<):
11899 * buffer.C (parseSingleLyXformat2Token):
11901 * ToolbarDefaults.C (read):
11902 * MenuBackend.C (checkShortcuts):
11904 * LColor.C (getFromGUIName):
11905 (getFromLyXName): use the compare_ascii_no_case instead of
11906 compare_no_case, because in turkish, 'i' is not the lowercase
11907 version of 'I', and thus turkish locale breaks parsing of tags.
11909 2002-07-16 Angus Leeming <leeming@lyx.org>
11911 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11912 now takes a Buffer const & argument.
11914 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11916 * BufferView.C (resize): check there's a buffer to resize
11918 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11920 * lyxfunc.C: remove dead code
11923 * lyxserver.C: use lyx_guii::set_read_callback
11925 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11927 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11928 an inset in a RTL paragraph.
11930 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11932 * lyxfunc.C: repaint after a font size update
11934 2002-07-15 André Pönitz <poenitz@gmx.net>
11936 * lyxlength.C: inBP should be able to return negative values
11938 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11940 * lyxfunc.C: use lyx_gui::update_fonts()
11942 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11944 * lyxfunc.C: use lyx_gui::update_color()
11946 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11952 * lyxrc.C: remove file->new asks for name option, and let
11953 buffer-new take an argument
11955 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11957 * BufferView_pimpl.C: remove unneeded extra repaint()
11959 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11961 * LyXAction.C: allow command-sequence with NoBuffer
11963 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11965 2002-07-10 Angus Leeming <leeming@lyx.org>
11967 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11969 2002-07-09 Angus Leeming <leeming@lyx.org>
11971 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11973 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11975 * lengthcommon.h: whitespace
11977 * lyxfunc.C: update scrollbar after goto paragraph
11979 * lyxtext.h: factor out page break drawing, and fix it so
11980 page break/added space paints as selected nicely
11982 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11984 * BufferView_pimpl.C: add FIXMEs, clean up a little
11986 2002-07-09 André Pönitz <poenitz@gmx.net>
11988 * lyxfont.[Ch]: support for wasy symbols
11990 2002-07-08 André Pönitz <poenitz@gmx.net>
11992 * BufferView_pimpl.C: apply John's patch for #93.
11994 2002-07-05 Angus Leeming <leeming@lyx.org>
11996 * BufferView_pimpl.C (buffer): generate previews if desired.
11998 * LColor.h: add "preview" to the color enum.
12000 * LColor.C (LColor): add a corresponding entry to the items array.
12002 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12005 2002-07-05 Angus Leeming <leeming@lyx.org>
12007 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12008 The body of the code is now in the method that is passed an ostream &
12009 rather than a file name.
12010 Pass an additional only_preamble parameter, useful for the forthcoming
12013 2002-07-03 André Pönitz <poenitz@gmx.net>
12015 * lyxfunc.C: simplify getStatus() a bit for math stuff
12017 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12019 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12021 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12023 * text.C (changeRegionCase): do not change case of all the
12024 document when region ends at paragraph end (bug #461)
12026 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12028 * paragraph.C (startTeXParParams):
12029 (endTeXParParams): add \protect when necessary
12031 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12033 * BufferView_pimpl.C (workAreaExpose): remove warning
12035 2002-06-27 Angus Leeming <leeming@lyx.org>
12037 * Makefile.am: add lyxlayout_ptr_fwd.h.
12039 2002-06-26 André Pönitz <poenitz@gmx.net>
12041 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12043 2002-06-25 Angus Leeming <leeming@lyx.org>
12045 * lyxfunc.C (dispatch): Comment out the call to
12046 grfx::GCache::changeDisplay. The method no longer exists now that the
12047 pixmap generation part of the graphics loader has been moved into
12050 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12052 * text2.C: layout as layout
12054 * text.C: layout as layout
12056 * tabular.C (OldFormatRead): layout as layout
12058 * paragraph_pimpl.C (TeXDeeper): layout as layout
12059 (realizeFont): layout as layout
12061 * paragraph.C (writeFile): layout as layout
12062 (validate): layout as layout
12063 (getFont): layout as layout
12064 (getLabelFont): layout as layout
12065 (getLayoutFont): layout as layout
12066 (breakParagraph): layout as layout
12067 (stripLeadingSpaces): layout as layout
12068 (getEndLabel): layout as layout
12069 (getMaxDepthAfter): layout as layout
12070 (applyLayout): layout as layout
12071 (TeXOnePar): layout as layout
12072 (simpleTeXOnePar): layout as layout
12073 (TeXEnvironment): layout as layout
12074 (layout): layout as layout
12075 (layout): layout as layout
12077 * lyxtextclass.C (compare_name): new functor to work with
12078 shared_ptr, layout as layout
12079 (Read): layout as layout
12080 (hasLayout): layout as layout
12081 (operator): layout as layout
12082 (delete_layout): layout as layout
12083 (defaultLayout): layout as layout
12085 * lyxlayout_ptr_fwd.h: new file
12087 * lyxlayout.C (Read): layout as layout
12089 * lyx_cb.C (MenuInsertLabel): layout as layout
12091 * bufferlist.C (newFile): layout as layout
12093 * buffer.C (readLyXformat2): layout as layout
12094 (parseSingleLyXformat2Token): layout as layout
12095 (insertStringAsLines): layout as layout
12096 (asciiParagraph): layout as layout
12097 (latexParagraphs): layout as layout
12098 (makeLinuxDocFile): layout as layout
12099 (simpleLinuxDocOnePar): layout as layout
12100 (makeDocBookFile): layout as layout
12101 (simpleDocBookOnePar): layout as layout
12102 (getLists): layout as layout
12104 * LaTeXFeatures.C (getTClassPreamble): layout as layout
12106 * CutAndPaste.C (cutSelection): layout as layout
12107 (pasteSelection): layout as layout
12108 (SwitchLayoutsBetweenClasses): layout as layout
12110 * BufferView_pimpl.C (Dispatch): layout as layout
12111 (smartQuote): layout as layout
12113 * BufferView2.C (unlockInset): layout as layout
12115 2002-06-24 André Pönitz <poenitz@gmx.net>
12117 * lyxfunc.C: fix #487
12119 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12123 * lyxfunc.C: remove display_shortcuts, show_banner
12125 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12127 * Buffer_pimpl.C: oops, update on resize
12129 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12136 * BufferView.C: use repaint()
12138 * BufferView_pimpl.h:
12139 * BufferView_pimpl.C: s/updateScreen()/repaint()/
12140 as it's a clearer description. Remove superfluous
12143 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
12145 * text.C: fix bug 488. Not ideal, but getting
12146 getWord() to work properly for the insets that
12147 matter is more difficult ...
12149 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12151 * BufferView_pimpl.C:
12154 * lyxfunc.C: remove the six million index lyxfuncs to just
12155 one, and DTRT (bug 458)
12157 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12161 * BufferView_pimpl.h:
12162 * BufferView_pimpl.C: clean up resize() stuff,
12163 and unnecessary updateScreen()s
12165 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
12169 * BufferView_pimpl.h:
12170 * BufferView_pimpl.C:
12173 * minibuffer.C: remove focus management of workarea,
12174 not needed. Use screen's greyOut()
12176 2002-06-17 Herbert Voss <voss@lyx.org>
12178 * converter.C: (convert) do not post a message, when converting
12179 fails, let the calling function decide what to do in this case
12181 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
12183 * lyxfunc.C: tidy up a little
12185 2002-06-16 <alstrup@diku.dk>
12187 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12188 Got rid of FORMS_H_LOCATION include. Now we are
12191 2002-06-15 LyX Development team <lyx@rilke>
12193 * buffer.[Ch] (sgmlOpenTag):
12194 (sgmlCloseTag): Added support for avoiding pernicious mixed
12195 content. Return number of lines written.
12197 (makeLinuxDocFile):
12198 (makeDocBookFile): Fixed calls to sgml*Tag.
12199 Simple white space clean.
12201 (simpleDocBookOnePar): Simple white space clean.
12203 * tabular.[Ch] (docBook): Renamed to docbook and got another
12204 argument to related with the pernicious mixed content.
12206 (docbookRow): Fixed calls for docbook inset method.
12208 2002-06-15 Lyx Development team <larsbj@birdstep.com>
12210 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12211 so it's X11 independent.
12215 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12217 2002-06-15 Lyx Development team <lyx@electronia>
12219 * intl.h: Renamed getTrans to getTransManager.
12221 2002-06-14 Angus Leeming <leeming@lyx.org>
12223 * Makefile.am: nuke forgotten stl_string_fwd.h.
12225 2002-06-12 Angus Leeming <leeming@lyx.org>
12227 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12229 2002-06-13 Angus Leeming <leeming@lyx.org>
12232 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12234 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12236 * kbmap.C (getiso): add support for cyrillic and greek
12238 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12242 * BufferView_pimpl.h:
12243 * BufferView_pimpl.C: move bogus scrolling logic
12246 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12249 * BufferView_pimpl.C: view->resize() change
12251 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12253 * BufferView_pimpl.C: topCursorVisible
12256 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12260 * lyx_gui.C: move to frontends/
12264 * lyx_main.C: changes from above
12266 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12273 * lyx_main.C: minor tidy
12275 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12277 * BufferView_pimpl.h:
12278 * BufferView_pimpl.C:
12280 * BufferView.C: make painter() const,
12283 * BufferView2.C: use screen() accessor
12286 * lyx_main.C: some minor cleanup
12288 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12290 * BufferView_pimpl.h:
12291 * BufferView_pimpl.C: remove enter/leaveView,
12294 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12299 * BufferView_pimpl.h:
12300 * BufferView_pimpl.C: only construct screen once,
12303 * lyxrc.C: remove pointless comment
12305 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12308 * BufferView.C: remove active() and belowMouse()
12310 * BufferView_pimpl.h:
12311 * BufferView_pimpl.C: use workarea() not workarea_,
12312 and make it use a scoped_ptr instead
12314 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12316 * lyx_gui.C: add debug message on BadWindow
12318 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12320 * sp_spell.C: fdopen is not part of the C++ standard.
12322 * paragraph.C (InsetIterator): use >= instead of ==
12324 2002-06-07 Angus Leeming <leeming@lyx.org>
12326 Fixes needed to compile with Compaq cxx 6.5.
12327 * BufferView_pimpl.C:
12334 * lyxtextclasslist.C:
12339 all c-library variables have been moved into namespace std. Wrap
12340 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12345 Add a using std::abs declaration.
12347 * kbmap.h (modifier_pair):
12348 * paragraph.h (InsetTable, InsetList):
12349 * lyxfont.h (FontBits):
12350 type definition made public.
12352 * bufferlist.C (emergencyWriteAll): the compiler complains that
12353 there is more than one possible lyx::class_fun template to choose from.
12354 I re-named the void specialisation as lyx::void_class_fun.
12356 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12358 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12359 the compiler is is unable to find tostr in write_attribute.
12361 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12363 * buffer.C (sgmlError): hide #warning
12365 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12367 * xtl/*: get rid of xtl, which is not in use anyway
12369 * LyXAction.C (init):
12370 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12371 were unimplemented xtl experimentation
12373 2002-06-04 André Pönitz <poenitz@gmx.net>
12375 * lyxfunc.C: disable array operation on simple formulae
12377 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12379 * converter.C: constify a bit
12381 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12383 * lyx_gui.C: check xforms version correctly
12385 2002-04-30 Herbert Voss <voss@lyx.org>
12387 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12390 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12392 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12393 attempt to register it with a VCS)
12395 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12397 * lyx_main.C (init): honor variables LYX_DIR_13x and
12400 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12404 * lyx_main.C: fix a crash on bad command line,
12405 and give a useful exit status on error
12407 * lyxfunc.C (doImport): allow -i lyx to work
12409 2002-03-30 André Pönitz <poenitz@gmx.net>
12411 * lyxfunc.C: mathed font changes
12413 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12428 * trans_mgr.h: srcdocs, and some minor cleanups
12430 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12432 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12433 call getFont all the time)
12435 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12437 * switch from SigC signals to boost::signals
12439 2002-05-29 André Pönitz <poenitz@gmx.net>
12441 * paragraph_pimpl.C (getChar): don't call size() too often...
12443 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12445 * paragraph_pimpl.C (insertChar): do not try to update tables when
12446 appending (pos == size())
12448 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12449 in order to reduce drastically the number of comparisons needed to
12450 parse a large document
12452 2002-05-29 André Pönitz <poenitz@gmx.net>
12458 * textclasslist.[Ch]:
12459 * sp_ispell.h: whitespace change
12461 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12463 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12464 lyxaction directly now.
12466 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12470 * lyxvc.C: remove unused headers
12472 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12479 * undo_funcs.C: some cleanups. Use shared_ptr
12480 and a template for the undo stacks.
12482 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12484 * BufferView_pimpl.h:
12485 * BufferView_pimpl.C:
12492 * text2.C: use key_state/mouse_state
12494 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12496 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12499 * chset.C: change include order
12500 (loadFile): use boost regex and get rid of LRegex and LSubstring
12502 * Makefile.am (BOOST_LIBS): new variable
12503 (lyx_LDADD): use it
12505 * LaTeX.C: change include order.
12506 (scanAuxFile): use boost regex and get rid of LRegex and
12510 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12515 * FontInfo.C: moved to frontends/xforms/
12518 * FontLoader.C: moved into frontends for GUIIzation
12523 * lyxfunc.C: changes from above
12525 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12527 * LColor.C: remove spurious X include
12529 * BufferView_pimpl.C:
12534 * text2.C: move font metrics to frontends/
12536 2002-05-24 Juergen Vigna <jug@sad.it>
12538 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12539 setting the undo_cursor.
12541 * ParagraphParameters.h: include local includes first.
12543 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12545 * BufferView_pimpl.C:
12546 * BufferView_pimpl.h:
12550 * screen.C: move WorkArea into frontends/
12556 * BufferView2.C: move LyXScreen into frontends/
12560 * lyx_gui.C: move lyxlookup into frontends/xforms/
12562 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12565 * BufferView_pimpl.C:
12575 * bufferview_funcs.C:
12588 * vc-backend.C: move LyX/XFormsView into frontends/
12590 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12602 * text2.C: move Painter to frontends/
12604 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12606 * buffer.C: comment out some some code that depend upon lyx_format
12609 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12610 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12612 * buffer.h (NO_COMPABILITY): turn off compability
12614 * ColorHandler.C: include scoped_array.hpp
12616 * font.C: Use more specific smart_ptr header.
12619 * ShareContainer.h: ditto
12620 * lyx_main.h: ditto
12622 * FontInfo.h: ditto
12623 * BufferView_pimpl.h: ditto
12624 * ColorHandler.h: ditto
12626 * kbmap.C (defkey): change call to shared_ptr::reset
12628 2002-05-21 Juergen Vigna <jug@sad.it>
12630 * buffer.C (insertErtContents): fix to insert ert asis if it is
12631 non empty. Skip it completely if it contains only whitespaces.
12633 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12635 * BufferView_pimpl.C:
12636 * BufferView2.C: clear selection on paste (bug 393)
12638 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12640 * DepTable.C: include ctime
12642 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12644 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12646 2002-05-14 Juergen Vigna <jug@sad.it>
12648 * text.C (breakParagraph): fixed function to honor the keepempty
12649 layout in the right maner and also to permit the right breaking
12650 algorithm on empty or non empyt keepempty paragraphs.
12652 * paragraph.C (breakParagraph): we have to check also if the par
12653 is really empty (!size()) for isempty otherwise we do the wrong
12656 2002-05-10 Juergen Vigna <jug@sad.it>
12658 * buffer.[Ch] : The following are only changes to the ert
12659 compatibility read reading old LaTeX layout and font stuff and
12660 convert it to ERTInsets.
12662 * buffer.h: added isErtInset().
12664 * buffer.C (struct ErtComp): add a fromlayout bool to check
12665 if we're inside a LaTeX layout.
12666 (isErtInset): new helper function.
12667 (insertErtContents): look for other ert insets before this one
12668 and insert the contents there, so that we don't have subsequent
12669 ERT insets with nothing between them. This way we create only one
12670 inset with multiple paragraphs. Also check if we don't insert only
12671 spaces ' ' as they are ignored anyway afterwards in the .tex file
12672 so if we have only spaces we will ignore this latex part in the
12674 (parseSingleLyXformat2Token \\layout): better compatibility when
12675 reading layout-latex stuff.
12676 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12678 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12679 stuff after reading the inset only get the information back from
12682 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12684 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12686 * LaTeXFeatures.C (getBabelOptions): New method.
12688 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12690 * BufferView_pimpl.C (Dispatch): work around missing argument for
12693 2002-05-08 Juergen Vigna <jug@sad.it>
12695 * text.C (leftMargin): handle paragraph leftindent.
12697 * paragraph.C (writeFile): write the new \\leftindent tag.
12698 (validate): handle leftindent code.
12699 (TeXEnvironment): handle paragraphleftindent code again.
12701 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12703 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12704 for paragrap_extra indent code and new token \\leftindent.
12705 (latexParagraphs): handle the leftindent as environment.
12707 * ParameterStruct.h: added leftindent support.
12709 * ParagraphParameters.C (leftIndent): added support functions for
12710 the paragraph left indent.
12712 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12715 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12717 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12720 * text.C (computeBidiTables): No bidi in insetERT.
12722 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12725 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12727 * version.C.in: pre 5
12729 2002-05-02 José Matos <jamatos@fep.up.pt>
12730 * buffer.C (makeDocBookFile): white space changes, add newline to
12732 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12734 * tabular.C (docBook): fix typo.
12736 2002-05-03 Juergen Vigna <jug@sad.it>
12738 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12739 change in LyXText as we can not be sure it was not freed.
12740 (drawOneRow): remove unused code.
12742 * text.C (drawInset): redo the calculation of the need_break_row as
12743 it could have a row which was already freed.
12744 (draw): look at the return value of drawInset and return false if
12745 it also returned false.
12746 (paintRowText): look at the return value of draw and return false if
12747 it also returned false.
12749 * lyxtext.h: added bool return type to drawInset() and draw() so that
12750 if we have a change in the row so that the rowbreak has to be redone
12751 we abort drawing as it will be called again.
12753 2002-05-02 Juergen Vigna <jug@sad.it>
12755 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12756 a change in the maintext also if we're inside an inset.
12757 (Dispatch): set the cursor again after a break line and after the
12758 screen has been updated as it could be we're in a different row.
12760 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12761 to set the cursor behind the pargraph with > size().
12762 (setCursor): check also for the same paragraph when checking where
12763 to put the cursor if we have a NFR inset.
12765 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12766 parts of layout read further up as it still was in the wrong
12769 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12771 * screen.C (drawFromTo): change sine fullRebreak always return
12774 * buffer.C (parseSingleLyXformat2Token): reindent some
12776 * BufferView_pimpl.C (update): change since fullRebreak always
12778 (Dispatch): git rid of the last hardcoded "Standard"s.
12780 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * text2.[Ch] (fullRebreak): make it return void now that we always
12785 2002-04-30 Juergen Vigna <jug@sad.it>
12787 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12788 ert compatibility check for "latex" layout.
12790 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12792 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12793 minipages: use col% instead of p%, and also use the current font.
12794 (makeLaTeXFile): Fix use babel condition.
12795 (parseSingleLyXformat2Token): Correct font when reading old floats.
12797 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12799 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12800 inserting list of floats.
12802 2002-04-25 Herbert Voss <voss@lyx.org>
12804 * MenuBackend.C (expand): don't add the graphics extensions to the
12807 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12809 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12810 non-existing layout, do not complain if it was the default layout
12811 of the original class (bug #342)
12813 2002-04-24 Juergen Vigna <jug@sad.it>
12815 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12816 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12818 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12820 * buffer.C (getBibkeyList): If using \bibliography, return the
12821 option field with the reference itself. Enables us to provide natbib
12822 support when using \bibliography.
12824 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12826 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12828 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12829 natbib is provided by the LaTeX class.
12831 2002-04-23 Juergen Vigna <jug@sad.it>
12833 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12836 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12838 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12840 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12842 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12843 ensuremath around textordmasculine, textordfeminine and
12846 2002-04-19 Juergen Vigna <jug@sad.it>
12848 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12849 reinitializing the buffer otherwise row-dimensions may be wrong.
12850 (update): reset also the selection cursors if they do exits otherwise
12851 their x/y positions may be wrong.
12853 * text2.C (cursorDown): don't enter the inset if we came from a row
12854 above and are one row over the inset.
12856 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12857 really leaving an inset.
12859 2002-04-18 Juergen Vigna <jug@sad.it>
12861 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12862 of the selected paragraph does not have the selected layout also if
12865 * text2.C (setLayout): fixed bug which did not change last selected
12868 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12869 changed the read and substituted \\end_float with \\end_inset!
12871 * BufferView_pimpl.C (cursorPrevious):
12872 (cursorNext): fixed to make it work with rows heigher than the work
12873 area without moving the cursor only the draw of the row.
12874 (workAreaMotionNotify): fix jumping over high rows.
12876 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12878 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12881 2002-04-16 Juergen Vigna <jug@sad.it>
12883 * text2.C (setCursor): set also the irow().
12884 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12886 (cursorDown): support for locking an inset if the x_fix value goes
12887 inside it. That way I can transverse insets too with cursor up/down.
12889 * lyxrow.h: added irow helper function same as other (i) functions.
12891 * BufferView_pimpl.C (cursorPrevious):
12892 (cursorNext): fixed for insets!
12894 2002-04-15 Juergen Vigna <jug@sad.it>
12896 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12897 position otherwise it is wrong in some cases.
12899 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12900 inside the inset before the call.
12902 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12904 * buffer.[Ch] (getBibkeyList): make it const.
12906 2002-04-12 Juergen Vigna <jug@sad.it>
12908 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12910 * text2.C (getCursorX): new helper function
12911 (setCursor): compute also ix_
12912 (setCursorFromCoordinates): set also ix.
12914 * lyxcursor.h: added ix_ and helper functions.
12916 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12918 * buffer.C (insertStringAsLines): dont break paragraph if the this
12919 paragraph is inside an inset which does not permit it!
12921 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12922 also with no chars on this paragraph.
12923 (paintRowText): only paint stuff if it's inside the workarea!
12925 * paragraph.C (breakParagraph): honor keepempty flag and break the
12926 paragraph always below not above.
12928 * BufferView2.C (unlockInset): update the paragraph layout on inset
12929 unlock as we changed paragraph in such a case.
12931 * lyxfind.C (LyXFind): clear the former selection if not found!
12933 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12934 again called in insertChar().
12936 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12937 an inset which uses the whole row!
12938 (rightMargin): ditto.
12939 (insertChar): force a rebreak if we inserted an inset!
12941 2002-03-28 Herbert Voss <voss@lyx.org>
12943 * lyxlength.[Ch]: add inBP() to get the right PS-point
12944 units (BigPoint). With inPixels we have rounding errors
12946 2002-04-11 Juergen Vigna <jug@sad.it>
12948 * text2.C (setCursorFromCoordinates): set iy to the right value.
12949 (setCursor): add check if row->previous exists!
12951 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12952 an old float_type as this was the case in the old code!
12954 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12956 * BufferView2.C (showLockedInsetCursor): use iy
12957 (fitLockedInsetCursor): ditto
12959 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12960 locked insets as there we have the right value now.
12962 * lyxcursor.C: added iy_ variable and iy functions to set to the
12963 baseline of cursor-y of the locked inset.
12965 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12966 (setCursor): fixed for insets which need a full row.
12968 * text.C (rowLastPrintable): don't ignore the last space when before
12969 an inset which needs a full row.
12970 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12971 as last character of a row when before a inset which needs a full row.
12973 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12975 * version.C.in: update date
12977 * text2.C (fullRebreak): try to always return true and see what
12980 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12982 * MenuBackend.C (expand): use Floating::listName
12984 * FloatList.C (FloatList): add listName argument to the built-in
12987 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12988 text associated with the float.
12990 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12992 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12994 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12996 * ShareContainer.h: add a couple of missing typenames.
12998 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
13000 * lyxrc.C (getDescription): use _() correctly rather than N_().
13002 2002-03-28 Herbert Voss <voss@lyx.org>
13004 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13005 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13007 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13009 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13010 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13012 2002-03-29 Juergen Vigna <jug@sad.it>
13014 * lyxfunc.C (dispatch): add a missing fitCursor call.
13016 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13017 it was scrolled by a cursor move, so return the bool status.
13019 * BufferView.C (fitCursor): return the bool flag also to the outside
13020 world as this is needed.
13022 * screen.C (toggleToggle): don't subtract the offset if it's positive.
13024 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13025 call the edit() as it is not needed (and wrong) IMO.
13026 (workAreaButtonPress): set the screen_first variable before evt.
13027 unlock the inset as this may change screen_first and then we have
13028 a wrong y position for the click!
13030 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13032 * MenuBackend.C (expand): another translation that I missed
13034 2002-03-28 Juergen Vigna <jug@sad.it>
13036 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13038 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13040 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13042 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13044 * MenuBackend.C (expand): fix export/view/update when there is no
13047 2002-03-27 Herbert Voss <voss@lyx.org>
13049 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13052 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13054 * bufferview_funcs.C (currentState): only show paragraph number
13055 for is DEVEL_VERSION is set.
13057 * lyxfunc.C (dispatch): put warning in INFO channel
13059 * MenuBackend.C (expand): translate the name of floats
13061 * FloatList.C (FloatList): mark the float names for translation
13063 * converter.C (convert): use LibScriptSearch
13065 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13067 * MenuBackend.C (defaults): fix default menu (we might as well get
13070 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13072 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13075 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13077 * lyxvc.C: reorder includes.
13079 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
13081 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13084 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
13086 * CutAndPaste.C: change layouts earlier on paste
13087 to avoid crashing when calling getFont()
13089 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
13091 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13094 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13096 * WorkArea.C: remove 'Pending' debug message.
13098 * most files: ws cleanup
13100 * buffer.[Ch]: ws changes
13102 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13104 2002-03-21 Juergen Vigna <jug@sad.it>
13106 * tabular.C (SetMultiColumn): collapse also the contents of the
13107 cells and set the last border right. Added a Buffer const * param.
13109 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13111 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13114 2002-03-19 Juergen Vigna <jug@sad.it>
13116 * text2.C (clearSelection): reset also xsel_cache.
13118 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13119 where it needs to be called (John tells us to do so too :)
13120 (selectionLost): reset sel_cache.
13122 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13124 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13126 * text2.C (setCursorIntern): put debuging code in INSETS channel
13128 2002-03-19 André Pönitz <poenitz@gmx.net>
13130 * lyxfunc.C: tiny whitespace change
13132 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13134 * ToolbarDefaults.C (init):
13135 * LyXAction.C (init):
13137 * BufferView_pimpl.C (Dispatch):
13138 * lyxfunc.C (dispatch): remove LFUN_DEPTH
13140 2002-03-19 Allan Rae <rae@lyx.org>
13142 * exporter.C (Export): removeAutoInsets before doing anything else.
13143 While I've just introduced a dependency on BufferView this really is
13144 the best place to clean the buffer otherwise you need to cleanup in
13145 a dozen places before calling export or cleanup in a dozen functions
13148 * converter.C (runLaTeX):
13149 (scanLog): Better handling of removeAutoInsets and screen updates.
13151 * lyxfunc.C (dispatch): small whitespace changes
13153 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13155 * WorkArea.C (C_WorkAreaEvent): return a value.
13156 (event_cb): return 1 if we handled the event, 0 otherwise.
13158 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13160 2002-03-18 Juergen Vigna <jug@sad.it>
13162 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13163 (GetAdditionalWidth): ditto.
13164 (RightLine): ditto.
13167 * BufferView2.C (copy): use getLyXText() so that we do it inside an
13168 inset if we're there actually (probably not used right now but this
13169 is the direction to go for unifying code).
13170 (paste): disable code to clear the selection.
13172 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13173 inside an InsetText and move the check further up as it is in the
13176 * text2.C (pasteSelection): set a selection over the pasted text.
13178 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
13180 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13181 and libgraphics to build on Cygwin.
13183 2002-03-15 Juergen Vigna <jug@sad.it>
13185 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13186 inserting an Inset into the paragraph. I know this is not the best
13187 fix but we already use current_view in CutAndPaste so we will remove
13188 all of it's using at the same time.
13190 * buffer.C (sgmlError): deactivated function till it is rewritten in
13191 the right mode, now it can create problems.
13193 * paragraph.C (isLineSeparator): check if getInset returns != 0,
13194 before accessing it.
13196 2002-03-14 Juergen Vigna <jug@sad.it>
13198 * undo_funcs.C (textHandleUndo): do the right thing when updating
13199 the inset after the undo/redo.
13201 * text2.C (setCursor): just some testcode for #44 not ready yet.
13203 * undo_funcs.C (textHandleUndo): set the next() and previous()
13204 pointers of the paragraph to 0 before deleting otherwise we have
13205 problems with the Paragraph::[destructor].
13207 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13208 on a paragraph insertion.
13210 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13212 * buffer.C (asciiParagraph): use += operator for char append to
13215 * paragraph.C (getFontSettings): compare >= not just >
13216 (highestFontInRange): ditto
13219 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13221 * paragraph.C: change several algorithm to be more appripriate for
13222 the problem domain. This is lookip in FontList and in the InsetList.
13224 2002-03-13 André Pönitz <poenitz@gmx.net>
13227 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13229 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13234 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13236 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13238 * Painter.C (display): anon helper function, adjust code for this
13240 (pixmap): remove function.
13242 * Painter.h: remove private display variable.
13244 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13246 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13248 * WorkArea.[Ch]: remove figinset_canvas cruft.
13250 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13252 * lyxtextclass.C (operator): add one item cache optimization.
13254 * bufferlist.h: doxy changes
13256 * bufferlist.C: ws changes
13258 * DepTable.[Ch] (ext_exist): place const in the right spot.
13260 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13262 (workAreaExpose): call resizeInsets when the with BufferView changes.
13263 (Dispatch): adjust for protectedBlank removal
13264 (specialChar): call updateInset if the insert went ok.
13266 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13267 specialChar instead.
13269 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13271 * BufferView.h: doxy change
13273 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13275 * lyxtextclass.C (operator[]): remove non-const version
13276 (defaultLayout): remove non-const version
13278 2002-03-12 Juergen Vigna <jug@sad.it>
13280 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13281 did resize the LyXText too.
13283 * buffer.C (readLyXformat2): set layout information on newly allocated
13286 * tabular.C (OldFormatRead): set layout information on the paragraph.
13288 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13290 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13292 2002-03-11 Juergen Vigna <jug@sad.it>
13294 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13296 (resizeCurrentBuffer): force also the insets to resize themselfes.
13297 (moveCursorUpdate): fixed up for InsetText.
13299 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13302 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13303 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13304 value of Dialogs::tooltipsEnabled().
13305 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13307 2002-03-08 Juergen Vigna <jug@sad.it>
13309 * BufferView_pimpl.C (updateInset): update inset inside inset also
13310 if it isn't inside theLockingInset().
13312 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13314 * buffer.C (asciiParagraph): redo some of the word and line length
13316 (getLists): look for Caption instead of caption.
13318 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13320 * buffer.C (Buffer): initialize niceFile to true
13322 (makeLinuxDocFile):
13323 (makeDocBookFile): make sure niceFile is true on exit
13325 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13327 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13329 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13331 * LyXSendto.C: remove.
13332 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13333 * lyx_gui.C: remove now-redundant comment.
13334 * ColorHandler.h: remove forward declaration of class WorkArea.
13335 * lyxfunc.C: remove #include "WorkArea.h".
13337 2002-03-07 Juergen Vigna <jug@sad.it>
13339 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13340 got moved away with the DEPM and also set the inset_owner always
13341 right which before could have been omitted.
13343 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13345 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13346 wanted layout is not found.
13348 2002-03-07 Juergen Vigna <jug@sad.it>
13350 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13352 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13354 * paragraph.C (breakParagraph): use default layout not layout of
13356 (Paragraph): clear ParagraphParameters.
13358 2002-03-06 Juergen Vigna <jug@sad.it>
13360 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13361 otherwise it would not be a valid lenght. Fixed a special case in
13362 the minipage compatibility read where we end the document with a
13365 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13366 was set as it could be 0 for InsetTexts first entry.
13368 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13370 * paragraph.C (writeFile): if layout is empty write out
13371 defaultLayoutName().
13373 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13374 file without named layout we set layout to defaultLayoutName().
13376 2002-03-06 Juergen Vigna <jug@sad.it>
13378 * CutAndPaste.C (copySelection): set layout for new paragraph.
13380 * text.C (prepareToPrint): leave ERT inset left aligned
13381 (leftMargin): don't indent paragraphs inside ERT insets
13383 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13385 * paragraph.C (breakParagraph): dont call clear do the work manually
13387 * paragraph.[Ch] (clear): remove function
13389 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13391 * paragraph.C (Paragraph): dont call clear, the work has already
13394 * lyxtextclass.C (operator): assert if n is empty
13396 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13397 work manually instead.
13399 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13401 * BufferView_pimpl.C: protect selectionLost against text == 0
13403 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13405 * text.C (breakParagraph): fix a setting layout to '0' problem.
13407 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13409 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13410 final location of file, for the included files, and graphics.
13412 2002-03-05 Juergen Vigna <jug@sad.it>
13414 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13416 2002-03-04 Juergen Vigna <jug@sad.it>
13418 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13420 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13421 last column of multicolumn cells.
13422 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13424 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13426 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13427 file if it doesn't go to a temporary file.
13429 * buffer.C (sgmlOpenTag):
13430 (sgmlCloseTag): remove extra newline insertion.
13432 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13434 * text.C (getRowNearY): comment out debug msg
13436 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13438 * text2.C: first -> first_y
13440 * text.C (getRowNearY): add some attemts at a possible
13441 optimization, not working.
13443 * tabular.[Ch]: add BufferParams to several function so that newly
13444 created paragraph can be initialized to he default layotu for the
13447 * tabular-old.C (ReadOld): add buf->params to call of Init
13449 * screen.C: rename text->first to text->first_y
13451 * paragraph.C (breakParagraph): always set layout in the broken
13454 * lyxtextclass.C (Read): remove lowercase
13457 (delete_layout): ditto
13459 * lyxtext.h: rename first -> first_y
13461 * lyxlayout.C (Read): remove lowercase
13464 (obsoleted_by): ditto
13466 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13468 * buffer.C (insertErtContents): add params are to InsetERT
13469 (parseSingleLyXformat2Token): add code to check if a paragraphs
13470 layout really exist.
13471 (parseSingleLyXformat2Token): add params to several inset
13473 (asciiParagraph): remove lowercase, do the layout comparisons with
13476 * BufferView_pimpl.C (cursorNext): first -> first_y
13477 (resizeCurrentBuffer): first -> first_y
13478 (updateScrollbar): first -> first_y
13479 (scrollCB): first -> first_y
13480 (workAreaMotionNotify): first -> first_y
13481 (workAreaButtonPress): first -> first_y
13482 (checkInsetHit): first -> first_y
13483 (cursorPrevious): first -> first_y
13484 (cursorNext): first -> first_y
13485 (Dispatch): add buffer_->params to severl inset contructors
13487 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13489 * lyxlayout.C (Read): remove some debug info that I forgot.
13491 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13492 clean up the code slightly.
13493 (makeLinuxDocFile): ditto
13494 (makeDocBookFile): ditto
13496 * text2.C: layout as string
13498 * text.C: layout as string
13500 * paragraph_pimpl.C: layout as string
13502 * paragraph.[Ch]: layout as string
13504 * lyxtextclasslist.[Ch]: layout as string
13506 * lyxtextclass.[Ch]: layout as string
13508 * lyxtext.h: layout as string
13510 * lyxlayout.[Ch]: layout as string
13512 * lyx_cb.C: layout as string
13514 * bufferview_funcs.C: layout as string
13516 * bufferparams.C: layout as string
13518 * buffer.C: layout as string
13520 * LyXView.[Ch]: layout as string
13522 * LaTeXFeatures.[Ch]: layout as string
13524 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13526 * BufferView_pimpl.C: change current_layout to string, remove
13531 (workAreaButtonRelease): layout as string
13533 * BufferView2.C (unlockInset): adjust
13535 * vspace.C (asLatexCommand): use an explict temp variable.
13537 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13539 * Makefile.am: use FRONTEND_*
13541 2002-03-01 Juergen Vigna <jug@sad.it>
13543 * tabular.C (SetWidthOfMulticolCell): changed to something better
13544 I hope but still work in progress.
13545 (recalculateMulticolumnsOfColumn): renamed function from
13546 recalculateMulticolCells as it is more appropriate now.
13547 (SetWidthOfCell): calculate multicols better.
13549 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13551 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13553 * lyxfunc.C (processKeySym): print sequence also if it is
13554 `deleted' (complete)
13556 * kbsequence.C (print): print sequence even if it is deleted
13557 (complete would be a better word, actually).
13559 * lyxfunc.C (dispatch): print complete options after a prefix key
13561 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13563 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13565 * text2.C (setCharFont): eliminate setCharFont code duplication.
13567 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13569 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13570 LFUN_TABULAR_FEATURE (bug #177)
13572 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13574 * Makefile.am: remove figure.h
13576 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13578 * Bufferview_pimpl.C:
13590 * text2.C: remove #include "lyx_gui_misc.h".
13592 * LaTeX.C: added #include <cstdio>
13594 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13596 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13597 that the paragraph following this one can have.
13599 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13601 * vspace.C (asLatexCommand): fix bogus gcc warning
13603 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13605 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13607 * text2.C (setLayout): get rid of redundant code
13609 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13611 * text2.C (incDepth): make sure depth cannot be increased beyond
13614 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13616 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13617 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13619 * PainterBase.h (image):
13620 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13621 a LyXImage const *.
13623 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13627 * BufferView_pimpl.C:
13628 * BufferView_pimpl.h:
13648 * sp_spell.C: remove fig inset, and the crap house of
13649 cards that follows it
13651 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13656 * os2_errortable.h:
13657 * nt_defines.h: move .h into support/
13659 * vms_defines.h: remove
13661 * WorkArea.C: add space in debug output
13665 * buffer.C: add WITH_WARNINGS
13669 * bufferlist.C: s/retrive/retrieve/, add docs
13678 * chset.C: add docs
13680 * lyxgui.C: add ID to X error handler
13682 * lyxtestclass.c: fix typo
13684 2002-02-26 Juergen Vigna <jug@sad.it>
13686 * tabular_funcs.C (write_attribute): changed so that some default
13687 attributes are not written at all.
13688 (getTokenValue): set default values before trying to read the
13689 value so we have the return value always set as default if we don't
13690 find the token we search for.
13692 * tabular.C (Write): write bools as bools not as strings!
13694 2002-02-22 Juergen Vigna <jug@sad.it>
13696 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13697 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13699 * text.C (leftMargin): don't add an indent for paragraphs inside
13700 tabular cells (fix #208).
13702 2002-02-21 José Matos <jamatos@fep.up.pt>
13704 * tabular.C (docBook): fixed support for long tables.
13706 2002-02-20 Juergen Vigna <jug@sad.it>
13708 * text2.C (getFont): get the drawing font of the Inset if this
13709 paragraph is inside an inset (only important for InsetERT for now).
13711 * buffer.C (insertErtContents): use new lanugage params in ERT
13714 * CutAndPaste.C: commenting out seemingly uneeded code.
13716 2002-02-19 Allan Rae <rae@lyx.org>
13718 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13719 Iterators might be simple to use but they also get invalidated.
13720 (removeAutoInsets): renamed saved cursor tracking variables and added
13721 some comments to clarify what everything does.
13723 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13730 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13731 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13734 * vc-backend.h: remove #include "support/syscall.h"
13738 * converter.C: rearrange #includes in Lars' approved fashion.
13740 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13741 forward declare class Timeout in the header file.
13743 * XFormsView.C: changes due to the above.
13745 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13746 similar to LyXView.
13748 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13749 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13751 2002-02-18 José Matos <jamatos@fep.up.pt>
13753 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13756 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13758 * a lot of small ws changes
13759 * add a lot of using std::XXX
13760 * use std construcs some places where approp.
13761 * use some exisint stuff from lyxfunctional where approp.
13762 * Make file changes to use partial linking (lets test this now...)
13764 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13768 remove #include "support/syscontr.h" as it's redundant. Always has been.
13776 change Systemcalls::System to Systemcalls::Wait and
13777 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13778 No change of functionality, just reflects the stripped down Systemcalls
13781 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13783 * debug.[Ch]: add a GRAPHICS type to the enum.
13785 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13787 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13789 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13792 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13794 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13795 match the changes below.
13797 * text2.C (toggleInset): if there is not editable inset at cursor
13798 position, try to see if cursor is _inside_ a collapsable inset
13801 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13803 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13804 document menu has a nice checkbox
13806 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13808 * lyxlength.C (asLatexString): change PW to output as percent of
13811 * lengthcommon.C: change '%' to 't%'
13813 * lyxfunc.C (dispatch): a few comments from Martin
13815 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13819 * BufferView_pimpl.h:
13820 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13823 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13825 * vspace.C (inPixels): fix compiler warning
13827 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13829 * lyxfunc.C (getStatus): fix status message for disabled commands.
13831 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13833 * BufferView_pimpl.C: fix crash on close buffer
13834 during selection (#227)
13836 2002-01-27 Herbert Voss <voss@lyx.org>
13838 * buffer.C: link old Figure to new graphic inset
13840 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13842 * FontLoader.C (getFontinfo): Change the latex font names in order
13843 to match the names of type1inst.
13845 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13847 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13849 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13850 (extchanged): ditto
13852 (remove_files_with_extension): ditto
13853 (remove_file): ditto
13856 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13857 document is smaller than the work area height. Do not initialize
13858 static variables to 0.
13860 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13862 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13864 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13865 LFUN_LAYOUT_PARAGRAPHS.
13867 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13868 tabular. It is possible to provide a possible cell, which will
13869 typically be the actcell from the corresponding insettabular
13871 * lyxfunc.C (getStatus): small cleanup; disable
13872 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13875 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13877 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13879 * paragraph.C (startTeXParParams):
13880 (endTeXParParams): new methods. The LaTeX code to
13881 start/end paragraph formatting
13882 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13883 empty (fixes bug #200)
13885 * vspace.C (inPixels): adapt to the change below
13886 (inPixels): [later] more cleanups (remove unused variables)
13888 * lyxlength.C (inPixels): change to use a width and a height as
13891 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13893 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13894 Replaced with \paperwidth
13896 * DepTable.C (insert): add std:: qualifier
13898 2002-01-18 Allan Rae <rae@lyx.org>
13900 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13903 * text.C (drawInset): Turned out I didn't know enough about how
13904 rebreaking worked. This fixes most of the redraw problems. I see
13905 an occasional cursor trail when a line is broken now and the cursor
13906 placement can seem out by a few pixels also after a rebreak.
13908 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13910 * buffer.C (parseSingleLyXformat2Token): update because minipage
13911 width is now a LyXLength
13913 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13915 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13918 2002-01-17 Juergen Vigna <jug@sad.it>
13920 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13922 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13923 is set correctly and the inset is updated correctly.
13925 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13927 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13928 the beginning of the loop.
13930 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13932 * lyxrc.C: improve help for use_scalable_fonts
13934 2002-01-17 Allan Rae <rae@lyx.org>
13936 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13938 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13940 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13941 make sure to set their inset_owner to the right value (bug #171)
13943 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13946 * DepTable.C: Implement mtime checking to reduce time spent doing
13949 2002-01-16 Juergen Vigna <jug@sad.it>
13951 * tabular.C (GetAdditionalHeight): one of error fixed.
13953 * lyxrc.C (output): small fix in writing use_pspell.
13955 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13957 * sp_base.h: #include LString.h
13959 2002-01-16 Allan Rae <rae@lyx.org>
13961 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13962 Can someone check this please?
13964 * text.C (drawInset): It was possible that p.row would be removed by
13965 breakAgainOneRow upsetting a few other settings. There may be another
13966 small tweak possible by setting need_break_row = 0 when p.row has been
13967 removed but I don't know enough about the logic here.
13969 2002-01-15 Allan Rae <rae@lyx.org>
13971 * text.C (insertChar): removed conditional truism.
13973 * BufferView2.C (removeAutoInsets): More tweaks.
13974 cur_par_prev could be a stray pointer. Check for trailing empty line
13975 in case last line was cur_par and only had an error inset on it.
13977 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13979 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13982 * vc-backend.C (most methods):
13983 * exporter.C (Export):
13984 * converter.C (convert):
13986 * LyXSendto.C (SendtoApplyCB):
13987 * lyxfunc.C (dispatch):
13991 * lyx_cb.C (AutoSave):
13993 * BufferView_pimpl.C (MenuInsertLyXFile):
13994 * buffer.C (runChktex): use Buffer::filePath().
13996 * buffer.h: rename filename to filename_; rename filepath to
13997 filepath_ and make it private
13998 (filePath): new method
14000 * buffer.C (writeFile): use fileName()
14003 * lyx_main.C (init): fix starting of LyX when the binary is a
14004 link from so,ewhere else.
14006 * minibuffer.C: include <cctype> for isprint
14008 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14010 * buffer.C (parseSingleLyXformat2Token): changes associated with the
14011 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14012 name clash with InsetCollapsable's width function.
14014 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14016 * lastfiles.C: include <iterator>
14018 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14020 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14023 * buffer.C (makeLaTeXFile): ditto.
14024 Also make loop operation more transparent.
14026 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
14028 * ToolbarDefaults.C: remove trailing comma closing namespace.
14030 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14032 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14035 * trans.C (Load): comment out unused variable, allowed.
14037 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14039 * minibuffer.[Ch] (append_char): new method to recieve input from the
14040 drop-down completion browser. If a key was pressed, then recieve this
14041 char and append it to the existing string.
14042 (peek_event): modify the positioning data passed to the completion
14043 browser so that it can be placed above the minibuffer rather than below.
14044 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14046 * LyXAction.C (init): alloe error-next for readonly documents.
14048 * BufferView2.C (ChangeRefsIfUnique): use standard version of
14051 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14053 * bufferlist.C (readFile): create the buffer _after_ checking that
14056 * lyxfunc.C (verboseDispatch): fix handling of arguments
14058 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14060 * lyxrc.C: use string::erase() instead of initializing to "".
14063 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14065 * BufferView_pimpl.h:
14066 * BufferView_pimpl.C:
14069 * text2.C: tell X when we have made a selection for copying
14071 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14073 * BufferView_pimpl.C (MenuInsertLyXFile):
14074 * lyxfunc.C (menuNew):
14076 (doImport): add shortcuts to directory buttons
14078 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14081 * lyxfunc.C (setStatusMessage):
14082 (getStatusMessage): new methods
14083 (getStatus):use setStatusMessage instead of setErrorMessage
14084 (dispatch): when function is disabled, set error message here
14085 [instead of in getStatus previously]
14087 * BufferView_pimpl.C (workAreaButtonRelease): update
14088 toolbar/menubar here too.
14090 2002-01-13 Allan Rae <rae@lyx.org>
14092 * BufferView2.C (removeAutoInsets): finished off earlier fix.
14093 Now seems indestructible. Remaining task is to audit all other
14094 code affected by deleteEmptyParagraphMechanism. One small quirk
14095 left is that an empty document with an error in the preamble can
14096 be made to report an error but no error box appears. I don't know
14098 (removeAutoInsets): Improved comments.
14100 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
14103 * Thesaurus.C: update for Aiksaurus 0.14
14105 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14107 * text2.C (firstParagraph): removed member function, all uses
14108 replaces with ownerParagraph
14109 (redoParagraphs): here
14110 (updateInset): here
14111 (toggleAppendix): here
14112 * BufferView2.C (insertErrors): here
14113 (setCursorFromRow): here
14115 2002-01-13 Allan Rae <rae@lyx.org>
14117 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14118 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14119 There is still a way to segfault this although you may have to do this
14120 multiple times: Have an InsetERT with an unknown command in it.
14121 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14122 <down-arrow>, <Enter> again, View->DVI, BANG!
14124 * text2.C (setCursor):
14125 (deleteEmptyParagraphMechanism):
14126 * lyxtext.h (setCursor):
14127 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14128 Making use of the return value may help fix other bugs.
14130 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14132 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14134 * LyXView.C (updateMenubar): call MenuBar::update here
14135 (updateToolbar): but not here
14136 (showState): do not update toolbar/menubar
14138 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14139 should need to care about that.
14141 * lyxfunc.C (verboseDispatch): simplify a bit
14142 (getStatus): have a version which takes a pseudoaction, and
14143 another which requires a (kb_action,string).
14145 * LyXAction.C (retrieveActionArg): make it work also when action
14146 is not a pseudo-action.
14147 (getActionName): simplify a bit
14150 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14152 * lyxfunc.C (verboseDispatch): new families of methods with
14153 several ways to specify a command and a bool to indicate whether
14154 the command name and shortcut should be displayed in minibuffer
14155 (eventually, we could extend that to a finer bitmask like
14156 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14157 (dispatch): the pristine dispatch command which just, well,
14158 dispatchs! Note it still sets its result to minibuffer; I'm not
14161 * lyxfunc.h: remove setHintMessage
14163 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14165 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14167 * BufferView_pimpl.C (specialChar): delete new inset if we have
14168 not been able to insert it.
14170 * kbmap.C: revert to using int instead of kb_action, since all we
14171 are dealing with is pseudo-actions.
14173 * LyXAction.C (searchActionArg): change to return int instead of
14174 kb_action, since the result is a pseudoaction.
14176 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
14178 * buffer.C (insertErtContents): Fix (partially) the font bug.
14180 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
14182 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14183 as the other one is broken on my machine!
14185 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
14188 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14190 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
14192 * lyxrc.[Ch]: change names and descriptions of popup font variables to
14193 reflect their actual use. Provide compatibility code for older lyxrc
14196 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14198 change names of popup font variables in line with the changes to lyxrc.C
14200 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14202 * buffer.C (asciiParagraph): avoid outputing a word twice after
14205 * lyxrc.C (getDescription): document that document_path and
14206 template_path can be empty.
14208 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14210 * LaTeXFeatures.C (getMacros):
14211 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14213 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14215 * LaTeXFeatures.C (useFloat): require "float" here instead of in
14217 (getPackages): rename feature "floats" to "float". Use an array to
14218 iterate over 'simple' features (i.e. just a \usepackage). Add
14219 handling of "amsmath" (renamed from "amsstyle").
14221 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14223 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14226 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14228 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14229 FuncStaus::FuncStatus & FuncStaus::some_method().
14231 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14233 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14234 of the func_satus stuff. Edited and massaged in various ways by
14237 * lyxfunc.C (getStatus): use FuncStatus
14239 2002-01-08 Juergen Vigna <jug@sad.it>
14241 * text.C (nextBreakPoint): use function Inset::isChar().
14243 * paragraph.C (TeXOnePar): use function
14244 Inset::forceDefaultParagraphs.
14246 * buffer.C (latexParagraphs): use function
14247 Inset::forceDefaultParagraphs.
14249 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14251 * lyx_gui.C (init): set the style of the menu popups to
14252 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14254 2002-01-07 Juergen Vigna <jug@sad.it>
14256 * text.C (setHeightOfRow): small fix
14257 (prepareToPrint): don't look at alignment if we don't have the place
14260 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14262 * box.C: New file. Move the Box methods and functions out of box.h,
14263 following Lars' suggestion.
14265 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14267 * box.h: #include "support/LOstream.h", needed for inlined function.
14270 * lyxtextclasslist.C: added some using std declarations.
14272 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14274 * box.h: make signed dimensions to allow insets wider than
14275 the screen (bug #162)
14277 * BufferView_pimpl.C: add some insetHit debug
14279 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14281 * vc-backend.C: add FIXME
14283 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14285 * lyxfunc.C (getStatus): enable code for showing math font status
14288 2002-01-07 Juergen Vigna <jug@sad.it>
14290 * text.C (nextBreakPoint): removed debug output not needed anymore.
14292 2002-01-06 Juergen Vigna <jug@sad.it>
14294 * text.C (nextBreakPoint): fixed up this function we had this bug
14295 since ever but now hopefully we break row better.
14296 (insertChar): we have to check if an inset is the next char as it
14297 could now happen that a large inset is causing a break.
14299 2002-01-05 Juergen Vigna <jug@sad.it>
14301 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14302 if it doesn't like to be drawed.
14304 2002-01-04 Juergen Vigna <jug@sad.it>
14306 * BufferView2.C (lockInset): forgot to set a cursor.
14308 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14310 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14312 * FormMathsPanel.C:
14315 * form_maths_panel.C:
14316 * form_maths_panel.h:
14317 * form_maths_panel.fd: implemented sub- and super- buttons in math
14320 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14321 (or ^ space) to be used as in TeX (req'd by Andr�.
14323 * lyxfunc.C: Allow ^ and _ again to be used both as
14324 super/subscript (mathed) and as themselves (in text).
14326 2002-01-03 Allan Rae <rae@lyx.org>
14328 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14329 "LyX" or the filename of the current buffer if it has one. This is a
14330 modified form of John Levon's patch.
14332 * XFormsView.C (setWindowTitle): also set icon title.
14334 * LyXView.h (setWindowTitle): signature changed.
14335 * XFormsView.h (setWindowTitle): ditto.
14337 2002-01-02 Juergen Vigna <jug@sad.it>
14339 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14341 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14343 * screen.C (topCursorVisible): introduce a temp var for
14344 text->cursor.row(), handle the case where this row is null. (kindo
14347 * text2.C (setCursor): add a couple of asserts.
14349 * paragraph.h (inset_iterator): add -> operator
14351 * paragraph.[Ch] (autoDeleteInsets): remove member function
14353 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14354 cursor pos correctly and handle inset deletion by itself.
14355 (insertErrors): move iterator declaration out of for expression
14357 * lyxtextclass.C: add <algorithm>
14359 * Makefile.am: added the new files to sources, removed layout.C
14361 * layout.C: removed file
14363 * layout.h: remove LYX_DUMMY_LAYOUT
14365 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14369 * lyxtextclass.[Ch]:
14370 * lyxtextclasslist.[Ch]: new files
14372 * include order changes to a lot of files, also changes because of
14375 2001-12-27 Juergen Vigna <jug@sad.it>
14377 * buffer.C (asciiParagraph): more fixes.
14379 * tabular.C (ascii): make ascii export support export of only the
14380 data separated by a column-delimiter.
14381 (ascii): better support for ascii export.
14383 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14385 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14387 * tabular_funcs.C: use a "using std::getline" instead of the
14388 previous fix from Angus (necessary for cxx + lyxstring)
14390 2001-12-24 Juergen Vigna <jug@sad.it>
14392 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14394 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14395 problems. First check a minipage also if we have some ert-contents
14396 (not only on par->size(), second set the right depth of the paragraph
14397 on the relink to the root-paragraph-list!
14399 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14400 which then did not anymore update the main paragraphs on undo/redo!
14402 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14404 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14405 code. Support all font-changing funcs (even those which are not in
14406 menu currently). Support for reporting font settings in
14407 mathed (disabled until Andre provides a function on mathed's side).
14409 * func_status.h (toggle): small helper function to set toggle
14412 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14414 * tabular_funcs.C: getline -> std::getline
14416 2001-12-21 Juergen Vigna <jug@sad.it>
14418 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14419 accessed and could be 0 (I couldn't generate this but it seems
14422 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14424 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14425 * tabular_funcs.h: here and include iosfwd
14427 2001-12-20 Juergen Vigna <jug@sad.it>
14429 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14430 inside inset but undo_par was.
14432 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14434 * Thesaurus.C: always include <config.h> in sources.
14438 * box.h: do not include <config.h> in header files
14440 * text.C (paintLastRow): remove unused variable
14442 * text.C (transformChar):
14444 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14446 * Painter.C (text):
14447 * font.C (width): rewrite to use uppercase() instead of
14450 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14452 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14454 * lyxfind.C: clean up of find failure position change
14456 2001-12-20 Juergen Vigna <jug@sad.it>
14458 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14460 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14461 (TeXRow): added to LaTeX a single tabular row.
14462 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14463 (Latex): simplified and finally good LT-h/f support.
14464 (various_functions): just small adaptions for LT-h/f support.
14466 * tabular_funcs.[hC]: added and moved here all not classfunctions
14469 2001-12-19 Juergen Vigna <jug@sad.it>
14471 * tabular.[Ch]: better support for longtabular options (not finished
14474 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14476 * text.C (paintLastRow): use the label font instead of the font of
14477 the last character to compute the size of *_BOX. This makes more
14478 sense and avoids a crash with empty paragraphs.
14479 Use Painter::rectangle to draw EMPTY_BOX.
14481 2001-12-19 Juergen Vigna <jug@sad.it>
14483 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14484 the paragraphs if the replaced paragraph is not the first one!
14485 Tried to delete not used paragraphs but does not work yet so for
14486 now it's inside #ifdef's and by default off!
14488 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14490 * MenuBackend.C: include "lyx_main.h" instead of declaring
14491 lastfiles (actually was declared as LastFiles* instead of a
14494 2001-12-17 Juergen Vigna <jug@sad.it>
14496 * tabular.C (AppendColumn): applied John's fix
14498 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14502 * BufferView_pimpl.h:
14503 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14506 * box.h: new start of class for above
14508 * lyxfunc.C: ignore space-only minibuffer dispatches.
14509 Show the command name when it doesn't exist
14511 * minibuffer.C: don't add empty lines to the history
14513 * minibuffer.C: add a space on dropdown completion
14515 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14517 * text.C: fix line above/below drawing in insets
14519 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14521 * lyxlength.C (LyXLength): Initialize private variables.
14523 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14525 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14526 when inserting error insets.
14528 2001-12-13 Juergen Vigna <jug@sad.it>
14530 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14531 actually sometimes the before-paragraph.
14532 (setUndo): don't clear the redostack if we're not actually undoing!
14534 2001-12-06 Juergen Vigna <jug@sad.it>
14536 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14537 and fixed redoing of main paragraph, so we can use it now ;)
14539 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14541 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14543 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14546 2001-12-13 André Pönitz <poenitz@gmx.net>
14549 * undo_func.C: minor cleanup
14551 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14553 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14554 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14555 font in urw-fonts package which is marked as -urw-fontspecific and
14556 does not work (incidentally, changing the encoding in the
14557 fonts.dir of this package to -adobe-fontspecific fixes the
14560 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14561 is a crash when undoing first paragraph (Juergen, please take a
14562 look). THis does not mean the undo fix is wrong, just that it
14565 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14566 the (Paragraph*) version when needed instead of duplicating the
14569 * text.C (workWidth): use Inset::parOwner to find out where the
14570 inset has been inserted. This is a huge performance gain for large
14571 documents with lots of insets. If Inset::parOwner is not set, fall
14572 back on the brute force method
14574 * paragraph_pimpl.C (insertInset):
14575 * paragraph.C (Paragraph):
14576 (cutIntoMinibuffer): set parOwner of insets when
14577 inserting/removing them
14579 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14581 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14587 * mathed/formulabase.C:
14588 * mathed/math_cursor.[Ch]:
14589 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14592 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14594 * lyxlength.[Ch] (operator!=): new function
14596 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14598 * text.C (workWidth): use Inset::parOwner to find out where the
14599 inset has been inserted. This is a huge performance gain for large
14600 documents with lots of insets. If Inset::parOwner is not set, fall
14601 back on the brute force method
14603 * paragraph_pimpl.C (insertInset):
14604 * paragraph.C (Paragraph):
14605 (cutIntoMinibuffer): set parOwner of insets when
14606 inserting/removing them
14608 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14610 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14612 * tabular-old.C (getTokenValue):
14613 * tabular.C (getTokenValue):
14614 (write_attribute): new versions for LyXLength
14615 (everywhere): adjust the use of widths
14617 * tabular.h: change the type of widths from string to LyXLength
14619 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14621 * paragraph.C: fixed missing line number count when exporting
14622 Environments to LaTeX file
14624 * buffer.C: added informational message for checking line numbers.
14626 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14628 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14629 paragraph, do the 'double space' part, but not the 'empty
14632 * text.C (workWidth): small optimization
14633 (getLengthMarkerHeight): use minimal size for negative lengths.
14635 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14637 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14639 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14641 2001-12-11 André Pönitz <poenitz@gmx.net>
14644 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14646 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14648 * text2.C: keep selection on a setFont()
14650 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14652 * lyx_cb.C: another bv->text misuse, from insert label
14654 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14657 * kbsequence.C: re-instate nmodifier mask
14659 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14661 * lyx_main.h: make lyxGUI private.
14663 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14665 * lyxfind.C: place the cursor correctly on failed search
14667 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14669 * text.C (getLengthMarkerHeight): for small heights, the arrows
14670 are not always on top/bottom of the text
14671 (drawLengthMarker): smaller arrows; take the left margin in
14672 account; draw also vfills.
14674 (paintLastRow): remove special code for vfill and standard spaces,
14675 since everything is handled in drawLengthMarker now.
14677 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14679 * buffer.C (insertErtContents): try to handle font and language
14680 interaction a bit better.g
14682 * ColorHandler.C (updateColor): change the hash to cover the whole
14683 LColor enum, ws cleanup
14684 (getGCLinepars): ditto
14685 (getGCLinepars): only lookup in the linecache once.
14687 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14689 * iterators.C (operator++): Make the iterator more robust
14691 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14693 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14695 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14698 * text.C: better added space drawing
14700 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14703 * BufferView2.C: fix layout combo update on inset unlock
14705 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14707 * Makefile.am: don't compile unused files
14709 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14713 * LyXAction.C: remove old LFUN_LAYOUTNO
14715 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14717 * paragraph_pimpl.h:
14718 * paragraph_pimpl.C: isTextAt() doesn't need font param
14720 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14723 * lyxlex.C: little cleanup
14725 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14727 * BufferView_pimpl.C: fix insertAscii for insets
14729 2001-12-05 Juergen Vigna <jug@sad.it>
14731 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14732 set the right font on the "multi" paragraph paste!
14734 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14740 * lyxlength.C: remove out-commented code.
14742 * BufferView_pimpl:
14756 * vc-backend.C: change "while(" to "while ("
14758 * lyxlength.[Ch]: add zero function to check if length is zero or
14760 * lyxgluelength.C: use it
14762 2001-12-05 Allan Rae <rae@lyx.org>
14764 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14765 Works for 2.95.3, from what I understand of Garst's reports this should
14766 work for other g++ versions. We're screwed if the abs(int) definition
14767 changed between bugfix releases of gcc.
14769 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14771 * text.C: fix chapter label offset !
14773 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14776 * text.C: fix hfill at end of line, clean up
14778 2001-12-04 Juergen Vigna <jug@sad.it>
14780 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14781 that we force an update of the inset and it's owners if neccessary.
14783 2001-12-03 Juergen Vigna <jug@sad.it>
14785 * text.C (rowLast): simplified code
14787 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14789 * lyxfunc.C: fix show options on timeout
14791 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14793 * screen.C (topCursorVisible): scroll half a page when the cursor
14794 reached top of bottom of screen
14796 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14798 * minibuffer.C: deactivate on loss of focus
14800 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14802 * vspace.[Ch] (operator!=): add operator.
14804 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14806 * BufferView_pimpl.C: refuse to open an inset when
14807 there's a selection.
14809 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14811 * BufferView_pimpl.C: allow to click on RHS of full row insets
14813 2001-11-30 Juergen Vigna <jug@sad.it>
14815 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14816 insets for undo reasons.
14818 2001-11-28 André Pönitz <poenitz@gmx.net>
14820 * vspace.[Ch]: cosmetical changes
14822 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14832 * kbsequence.C: part re-write of old kb code
14835 * WorkArea.C: remove Lgb_bug_find_hack
14837 2001-11-30 José Matos <jamatos@fep.up.pt>
14839 * buffer.C (makeDocBookFile): add a comment to point a hack.
14840 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14841 Fixed a double write of labels.
14843 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14846 * LaTeX.h Fixed bug in LaTeX class where it would not
14847 re-run latex if no depfiles were changed, but the .dvi was removed.
14849 2001-11-28 André Pönitz <poenitz@gmx.net>
14851 * all the files from the change on 2001/11/26:
14852 use lyx::layout_type instead of LyXTextClass::size_type
14853 use lyx::textclass_type instead of LyXTextClassList::size_type
14855 2001-11-29 Juergen Vigna <jug@sad.it>
14857 * text.C: added support for paragraph::isFreeSpacing()
14859 * buffer.C: same as above
14861 * paragraph.h: inserted isFreeSpacing() function to enable
14862 FreeSpacing inside InsetERT.
14864 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14865 of the paragraph's in the cut/copy buffer to 0!
14867 * text2.C (removeRow): remove the assert as it can!
14869 * lyxtext.h: added helper function firstRow returning firstrow and
14870 made firstrow private again.
14872 * BufferView2.C (lockInset): don't relock if we're already locked!
14874 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14875 the only paragraph.
14876 (removeRow): added Assert::(firstrow)
14878 * debug.C: forgot to add INSETTEXT here.
14880 2001-11-28 Juergen Vigna <jug@sad.it>
14882 * sp_spell.C (initialize): changed error text to more general
14883 spellchecker command use (not only ispell!)
14885 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14887 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14889 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14891 * vspace.C: initialise lyxgluelength on failure
14893 2001-11-28 Allan Rae <rae@lyx.org>
14895 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14896 declaration & definition that looks like a function declaration.
14898 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14900 * BufferView2.C (copy):
14901 (copyEnvironment): do not clear the selection when doing a copy.
14903 * text.C (paintFirstRow): compilation fix
14905 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14907 * tabular.C (Latex): correct line count when writing latex.
14909 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14911 * paragraph_pimpl.h:
14912 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14915 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14919 * LColor.C: change vfillline->added_space
14921 * text.C: add markers and text for added space
14923 * vspace.C: fix comment
14925 2001-11-28 André Pönitz <poenitz@gmx.net>
14927 * paragraph.C: whitespace changes
14928 * all the other files from the change on 2001/11/26:
14929 change *::pos_type into lyx::pos_type
14931 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14933 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14934 language of the document when inserting error insets.
14936 2001-11-26 André Pönitz <poenitz@gmx.net>
14938 * BufferView_pimpl.[Ch]:
14946 * paragraph_pimpl.[Ch]:
14949 * text2.C: reduce header dependencies, introduce type for positions
14951 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14953 * <various>: change to use Alert.h
14955 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14957 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14958 when encountering an unknown token.
14959 (readLyXformat2): Show an error message if there were unknown tokens.
14961 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14964 * BufferView_pimpl.C:
14968 * text2.C: use par->isInset()
14970 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14972 * paragraph_pimpl.h:
14973 * paragraph_pimpl.C: cleanup
14975 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14977 * text2.C (removeRow):
14978 * text.C (setHeightOfRow): remove useless (and costly) call to
14981 2001-11-20 Allan Rae <rae@lyx.org>
14983 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14984 Now need Inset*::checkInsertChar() to return true for appropriate
14985 cases so that the characters in the minibuffer will actually be
14988 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14990 * text.C: change the order of the includes.
14991 (workWidth): initialize it at once.
14992 (workWidth): make maxw unsigned
14993 (setHeightOfRow): remove unused variable (inset)
14994 (selectSelectedWord): remove unused variable (inset)
14995 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14997 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14999 * lyxserver.C (emergencyCleanup): do not try to close pipes if
15000 server is not running.
15002 (closeConnection): add debug info when server is disabled.
15004 * ColorHandler.C (getGCForeground): send debug message to GUI
15007 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15009 * kbmap.C (bind): modify because return conventions of
15010 kb_sequence::parse have changed.
15012 * kbsequence.C (parse): only ignore spaces and not any stupid
15013 control character. This avoids tests like s[i] <= ' ', which are
15014 guaranteed to fail with 8bit characters and signed chars.
15015 Change return code to string::npos when there have been no error
15016 (0 was a bad idea when error is at first character)
15018 2001-11-14 José Matos <jamatos@fep.up.pt>
15021 * buffer.C (simpleDocBookOnePar): removed unused argument.
15023 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15025 * text.C (selectNextWordToSpellcheck): do not test explicitely for
15026 insets which are part of a word. Paragraph::isLetter takes care of
15027 that now. Use Paragraph::isInset to identify insets.
15028 (selectSelectedWord): do not test for hyphenation break.
15030 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15031 that protected spaces are considered as spaces.
15033 * paragraph.C (isLetter): cleanup the code for ispell extras; use
15036 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
15039 * lyxserver.C: fix it. and small cleanup.
15041 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15043 * BufferView_pimpl.C: use inline helpers
15046 * LaTeXFeatures.C: fix typos
15049 * Spacing.C: move spacing_string into class
15051 * ToolbarDefaults.C: move stuff into namespace anon
15053 * layout.h: update enum
15055 * lyxfunc.C: use better debug
15057 * minibuffer.h: fix typo
15061 * WorkArea.C: add and use Debug::WORKAREA
15065 * text2.C: code re-organisation, inline helpers
15067 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
15069 * Layout.C: replaced a few cases of std::vector.size() == 0 with
15070 std::vector.empty().
15072 2001-11-09 Allan Rae <rae@lyx.org>
15074 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15075 '\n's after tables. Tabular and ERT inset work now makes this no
15078 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
15081 * minibuffer.C: fix crash, improve drop-down completion
15083 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
15086 * lyxserver.C: invalidate fd's when doing endPipe()
15088 2001-11-08 José Matos <jamatos@fep.up.pt>
15090 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15091 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15094 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15096 2001-11-07 José Matos <jamatos@fep.up.pt>
15099 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15102 * buffer.C (sgmlOpenTag):
15103 * buffer.C (sgmlCloseTag): removed debug info.
15105 * buffer.h (sgmlOpenTag):
15106 * buffer.h (sgmlCloseTag): made public.
15108 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15110 * buffer.C (saveParamsAsDefaults):
15111 * lyx_cb.C (MenuLayoutSave): remove
15113 * LyXAction.C (init):
15115 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15117 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15119 * buffer.C (setPaperStuff): removed from here...
15121 * bufferparams.C (setPaperStuff): ... and moved there.
15123 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
15127 * XFormsView.C: add support for drop-down completion
15129 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
15131 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15134 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15136 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15139 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
15141 * lyx_main.C: change ref to known bugs
15143 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
15145 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15146 to work around older babel problems.
15148 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15150 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15152 2001-10-24 Juergen Vigna <jug@sad.it>
15154 * tabular-old.C (ReadOld): below variable changes reflected.
15156 * tabular.[Ch]: added ltType struct for longtable header/footer
15157 defines and changed all instances where they are used. Added
15158 future support for double top/bottom rows.
15160 2001-10-24 José Matos <jamatos@fep.up.pt>
15162 * buffer.h (docbookHandleCaption):
15163 * buffer.C (docbookHandleCaption): removed unused function.
15164 (makeDocBookFile): moved docbook supported version to v4.1.
15166 2001-10-24 José Matos <jamatos@fep.up.pt>
15169 * tabular.C (docbookRow): new function to export docbook code of a row.
15170 (DocBook): now honors the longtable flags.
15172 2001-10-23 José Matos <jamatos@fep.up.pt>
15175 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15176 of the lyx defined sgml entities used in a docbook/linuxdoc document.
15178 * buffer.C (makeLinuxDocFile):
15179 (makeDocBookFile): reworked the preamble, more clean, and with
15180 support for lyx defined entities. Changed the document declaration
15181 to be more XML friendly.
15183 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15184 if we need to output XML that should be done with a filter.
15186 2001-10-22 Juergen Vigna <jug@sad.it>
15188 * sp_pspell.h (class PSpell): add alive function needed in the
15189 controller to see if the spellchecker could be started.
15191 2001-10-22 Juergen Vigna <jug@sad.it>
15193 * buffer.C (insertStringAsLines): modify the font for inserting
15194 chars in certain conditions by calling checkInsertChar(font).
15196 2001-10-19 Juergen Vigna <jug@sad.it>
15198 * text.C (workWidth): use getRow instead of wrong algorithm.
15199 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15201 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
15206 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15208 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15210 * text.C (workWidth): do not search for the exact row when
15211 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15212 optimization for big documents.
15214 2001-10-18 Juergen Vigna <jug@sad.it>
15216 * text.C (workWidth): new function with added Inset * parameter.
15218 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15220 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15222 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15223 change return type of getColumnNearX.
15226 * text.C (changeRegionCase): use uppercase/lowercase instead of
15229 (rightMargin): simplify code by factoring out the uses of
15234 (appendParagraph): use Paragraph::size_type
15236 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15238 * vspace.C (asLatexString): add a missing break
15240 2001-10-15 Herbert Voss <voss@perce.de>
15242 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15244 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15246 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15249 2001-10-10 André Pönitz <poenitz@gmx.net>
15251 * lyxfunc.C: removed greek_kb_flag.
15253 2001-10-10 Herbert Voss <voss@perce.de>
15255 * lyx_main.C: delete global string help_lyxdir.
15257 2001-10-09 Herbert Voss <voss@perce.de>
15259 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15261 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15263 * lyx_main.C: added global string help_lyxdir.
15265 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15267 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15269 * lyxrc.C (set_font_norm_type): support iso8859-4
15271 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15273 * LaTeX.C (deplog): add another regex for MikTeX
15275 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15277 * lyxrc.C (set_font_norm_type): support iso8859-3
15279 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15281 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15283 * LaTeXFeatures.C: remove special case of french and index
15285 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15286 before \begin{document}). This solves several incompatibilities.
15288 2001-10-03 Garst Reese <reese@isn.net>
15290 * lyx_cb.C: change CheckTex error msg.
15292 2001-10-03 José Matos <jamatos@fep.up.pt>
15294 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15296 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15298 * .cvsignore: update
15300 * lyx_main.C (commandLineVersionInfo): use new style version info.
15302 * buffer.C (writeFile):
15304 (makeLinuxDocFile):
15305 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15307 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15309 * version.h: update to use stuff in version.C
15311 * version.C.in: new file. Contains version information determined
15312 at compile time. This is a merging of version.h and
15315 2001-10-03 Juergen Vigna <jug@sad.it>
15317 * BufferView_pimpl.C (update): don't change "dirty" status in
15320 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15322 * WorkArea.C (c-tor): re-position version string slightly.
15324 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15326 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15327 revert to previous code.
15329 WorkArea.[Ch]: (show, destroySplash): methods removed.
15331 WorkArea.C: rework code so that it's an amalgam of the codes before and
15332 after the splash screen was moved to WorkArea.
15334 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15337 * vspace.C (inPixels):
15340 * buffer.C (insertStringAsLines):
15341 (asciiParagraph): fix types to be large enough
15343 * lyxlex_pimpl.h: change member status from short to int
15345 * layout.h: fix type of endlabeltype
15348 * kbsequence.C (parse): change return type to string::size_type
15350 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15353 * Bullet.C (bulletSize):
15354 (bulletEntry): do not use short ints as parameters
15356 * BufferView2.C (insertLyXFile): change a char to an int.
15358 * WorkArea.C (WorkArea): remove unneeded floats in computation
15360 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15362 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15364 * paragraph.C (asString): Do not ignore newline/hfill chars when
15365 copying to the clipboard.
15367 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15369 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15370 after a multi-line inset.
15372 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15374 * paragraph.C (validate): Set NeedLyXFootnoteCode
15376 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15378 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15379 and decrease-error to decrease.
15381 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15383 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15384 it more readable (should be equivalent)
15386 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15388 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15390 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15392 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15393 of a cursor (row, etc.) after a character has been deleted
15394 (deleteEmptyParagraphMechanism): call the method above on _all_
15395 cursors held by the LyXText when a double space has been
15398 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15400 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15402 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15404 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15405 background. Use greyOut() and the new show() methods to toggle between
15406 the foreground and background. Add code to remove the splash after
15407 its initial showing.
15409 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15410 (create_forms): no longer call Dialogs::showSplash.
15412 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15414 * .cvsignore: add version_info.h
15416 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15418 * version_info.h.in: new file
15420 * Makefile.am: add version_info.h.in
15422 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15423 version_info.h instead of VERSION_INFO
15425 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15427 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15428 The ERT inset now returns string().
15430 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15432 * lyxtext.h, text.C (selectNextWord): renamed as
15433 selectNextWordToSpellcheck.
15435 * text.C (selectNextWordToSpellcheck): Modified to not select
15436 words inside an ERT inset.
15438 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15440 * lyx_cb.C (MenuLayoutSave): change a bit the question
15442 * sp_base.h: include <sys/types.h>
15444 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15446 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15448 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15450 * several files: fix typos in user-visible strings
15452 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15454 * text2.C (pasteSelection): do not set the selection, since it
15455 will be cleared later. Actually, the intent was to fix the way the
15456 selection was set, but I figured rmoving the code was just as good.
15458 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15460 * FontLoader.C (available): Check if font is available without
15463 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15465 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15467 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15469 * lyxrc.[Ch]: added display_graphics variable and associated code.
15471 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15473 * bufferparams.C (hasClassDefaults): new method. Returns true if
15474 the buffer parameters correspond to known class defaults
15476 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15478 * XFormsView.C (show): set minimum size to the main window.
15480 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15482 * text2.C (copySelection):
15484 * lyxfind.C (LyXReplace):
15485 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15486 LyXText::selectionAsString.
15488 * paragraph.C (asString): add "label" argument to the second form
15490 * text2.C (selectionAsString): add "label" argument and pass it to
15491 Paragraph::asString.
15493 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15495 * lyx_main.C (commandLineHelp): remove version information
15497 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15499 * lyx_main.C: add -version commandline option
15501 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15503 * paragraph.h: make the optional constructor arg required instead.
15504 some modifications to other files because of this.
15506 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15508 * lyxserver.C (C_LyXComm_callback): make it static
15510 * lyx_main.C (error_handler): make it static
15512 * lyx_gui.C (LyX_XErrHandler): make it static
15514 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15516 * WorkArea.C: make the extern "C" methods static.
15518 * Makefile.am (lyx_LDADD): simplify
15520 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15522 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15523 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15525 * LyXAction.C (init):
15526 * lyxfunc.C (dispatch): associated code removal.
15528 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15530 * lyxfont.h (isSymbolFont): shut off warning
15532 * text.C (setHeightOfRow):
15533 (getVisibleRow): fix crash with empty paragraphs which have a
15536 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15538 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15541 2001-09-04 José Matos <jamatos@fep.up.pt>
15544 * tabular.C (docbook): rename docBook method to docbook.
15546 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15548 * Makefile.am: add dependencies to main.o.
15550 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15552 * FontLoader.C (available): Return false if !lyxrc.use_gui
15554 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15556 * FontInfo.C (query):
15557 * converter.C (view):
15558 * importer.C (Import):
15559 * exporter.C (Export): Can not -> cannot.
15561 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15563 * BufferView_pimpl.C: allow to create index inset even if
15566 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15568 * buffer.C (getLists): replace boost::tie code with an explicit pair
15569 as boost::tie can break some compilers.
15571 * iterators.h: Added a std:: declaration to the return type of
15574 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15576 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15579 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15581 * iterators.[Ch]: New files. Provide paragraph iterators.
15583 * buffer.C (changeLanguage): Use paragraph iterators.
15584 (isMultiLingual): ditto
15586 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15588 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15590 * FontLoader.C: Support for cmr font.
15592 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15594 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15595 (available): New method.
15597 * FontInfo.C (getFontname): Use scalable fonts even when
15598 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15601 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15603 * converter.C (Formats::view): reverted! Incorrect fix.
15605 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15607 * converter.C (Formats::view): only output the -paper option
15608 if the dvi viewer is xdvi, thereby fixing bug #233429.
15610 2001-08-23 Herbert Voss <voss@perce>
15612 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15614 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15616 * Spacing.h (Spacing): Set space to Default on in the default
15619 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15621 * vc-backend.h (RCS::versionString): add RCS to version
15622 (CVS::versionString): add CVS to version
15624 * vc-backend.C (scanMaster): do not add CVS to version.
15625 (scanMaster): do not add RCS to version
15627 * lyxvc.C (versionString): new method
15629 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15631 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15633 * Spacing.C (set): initialize fval
15635 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15637 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15640 2001-08-16 Juergen Vigna <jug@sad.it>
15642 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15644 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15646 * BufferView_pimpl.C:
15649 * text2.C: setParagraph takes linespacing now
15651 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15653 * LyxAction.C: add internal LFUN_CITATION_INSERT
15655 * LyXView.C: actually apply fix
15657 * bufferlist.C: fix open non-existent file
15659 * lyxfind.C: fix indentation
15661 * lyxfunc.C: remove unneeded assert, fix typo
15663 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15665 * MenuBackend.C: use "Floatname List"
15667 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15669 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15670 when converting LaTeX layout to insetERT.
15671 Generate a non-collapsed float when reading old float
15673 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15675 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15678 2001-08-13 Juergen Vigna <jug@sad.it>
15680 * text.C (fill): return 0 instead of 20 as this seems to be the more
15683 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15685 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15688 2001-08-13 Juergen Vigna <jug@sad.it>
15690 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15692 (SearchBackward): comment out the unlocking of the inset_owner this
15693 should not be needed!
15695 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15697 * Many files: Remove inherit_language, and add latex_language
15699 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15700 collapsible insets.
15702 2001-08-10 Juergen Vigna <jug@sad.it>
15704 * text.C (prepareToPrint): fixed hfill-width in draw!
15706 * BufferView2.C (selectLastWord): save the selection cursor as this
15707 now is cleared in the function LyXText::clearSelection!
15709 2001-08-08 Juergen Vigna <jug@sad.it>
15711 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15712 BACKSPACE type functions.
15714 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15715 is only cutted from the document but not put in the cut-buffer, where
15716 still the old stuff should be.
15718 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15720 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15722 * tabular.C (SetWidthOfCell): fixed special case where the width
15724 (LeftLine): handle '|' in align_special.
15726 (LeftAlreadyDrawed): ditto
15727 (SetWidthOfCell): ditto
15729 2001-08-07 Juergen Vigna <jug@sad.it>
15731 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15733 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15735 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15736 * lyxlex.[hC]: ditto
15738 2001-08-06 Juergen Vigna <jug@sad.it>
15740 * text.C (getVisibleRow): fix up row clearing a bit.
15742 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15744 * minibuffer.C: make sure the X server sees the changes in the input.
15746 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15748 * paragraph.C (getFont): split into...
15749 (getLabelFont): this
15750 (getLayoutFont): and this
15751 * paragraph_pimpl.C (realizeFont): calling this
15753 * text2.C (getFont): split into...
15754 (getLayoutFont): this
15755 (getLabelFont): and this
15756 (realizeFont): all three calling this
15758 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15761 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15763 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15765 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15767 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15768 layouts from the Quote inset insertion.
15770 2001-08-03 Juergen Vigna <jug@sad.it>
15772 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15774 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15775 only if status not is already CHANGED_IN_DRAW (second level).
15777 * text.C (draw): don't set the need_break_row when inside an
15780 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15782 * buffer.C (parseSingleLyXformat2Token): handle more latex
15785 * bufferview_funcs.[hC]: change function names to
15786 begin with small char, adjust other files.
15788 2001-08-02 André Pönitz <poenitz@gmx.net>
15791 BufferView_pimpl.C: remove broken special code for math-greek
15793 2001-08-02 Juergen Vigna <jug@sad.it>
15795 * BufferView_pimpl.C (update): redone this function so that we
15796 update the text again if there was a CHANGE_IN_DRAW.
15798 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15799 (drawFromTo): added a new internal bool which is used by draw() and
15801 (general): some cursor drawing problems fixed.
15803 2001-08-01 Juergen Vigna <jug@sad.it>
15805 * lyxfind.C (LyXFind): fixed
15806 (SearchForward): ditto
15807 (SearchBackward): ditto
15809 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15810 spurius drawing of the cursor in the main area.
15812 * text2.C (status): small fix which could lead to a segfault!
15813 (clearSelection): remove unneeded BufferView param.
15815 2001-08-01 André Pönitz <poenitz@gmx.net>
15817 * lyxfunc.C: small change due to changed mathed interface
15819 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15821 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15823 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15825 * lyxfunc.c: fail gracefully if file doesn't exist
15830 * BufferView_pimpl.C: IsDirWriteable() proto changed
15832 * LyXView.C: fix updateWindowTitle() to store the last title
15834 2001-07-31 Juergen Vigna <jug@sad.it>
15836 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15837 the font (wrong since using of Paragraph::highestFontInRange).
15839 * paragraph.C (highestFontInRange): added a default_size parameter.
15841 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15842 (setHeightOfRow): reformat
15844 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15846 * converter.[hC] + affected files: move to (inital-char)lowercase
15849 * ParagraphParameters.C (ParagraphParameters): remove commented code
15851 * PainterBase.[Ch]: remove commented code
15853 * LaTeXFeatures.h: add "bool floats" for float.sty
15855 * LaTeXFeatures.C (LaTeXFeatures): init floats
15856 (require): handle float
15857 (getPackages): do it with floats
15859 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15861 * BufferView_pimpl.C (Dispatch): improve handling of
15862 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15864 * commandtags.h: #include lyxfont.h here temporarily to avoid
15867 * bufferlist.h: include LString.h here.
15869 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15871 * text2.C (getStringToIndex): new method.
15873 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15875 * *: Reduced header file dependencies all over.
15877 2001-07-30 Baruch Even <baruch@lyx.org>
15879 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15881 2001-07-29 Baruch Even <baruch@lyx.org>
15883 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15885 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15887 * ParameterStruct.h (endif): add a default constructor to make
15888 sure that all variables is initialized.
15890 * ParagraphParameters.C (ParagraphParameters): adjust
15892 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15894 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15895 index; also, check that there is something to index, and that it
15896 does not span over several paragraphs.
15897 (doubleClick): use WHOLE_WORD_STRICT for double click.
15899 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15901 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15904 2001-07-26 Baruch Even <baruch@lyx.org>
15906 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15907 an InsetFig figure, backwards compatible reading of old figure code.
15909 2001-07-27 Juergen Vigna <jug@sad.it>
15911 * text2.C: font.realize function adaption.
15913 * text.C (draw): add a warnings lyxerr text if needed.
15915 * layout.C: font.realize function adaption.
15917 * language.C: add inherit_language and implement it's handlings
15919 * bufferview_funcs.C (StyleReset): remove language parameter from
15920 font creation (should be language_inherit now).
15922 * bufferparams.C (writeFile): handle ignore_language.
15924 * paragraph.C (getFontSettings): the language has to be resolved
15925 otherwise we have problems in LyXFont!
15927 * lyxfont.C (lyxWriteChanges): added document_language parameter
15928 (update): removed unneeded language parameter
15930 * paragraph.C (validate): fixed wrong output of color-package when
15931 using interface colors for certain fonts in certain environments,
15932 which should not seen as that on the final output.
15934 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15936 * BufferView_pimpl.C:
15941 * LyXAction.C: add thesaurus support
15944 * lyxfind.C: add "once" parameter, for thesaurus, to not
15945 move to the next match
15947 2001-07-26 Juergen Vigna <jug@sad.it>
15949 * lyxfont.C (realize): honor ignore_language too!
15952 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15954 * text.C (draw): one place more for ignore_language to not draw
15957 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15959 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15961 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15963 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15964 the minipage conversion problem.
15966 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15968 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15971 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15973 * BufferView.h: don't forward declare WorkArea
15975 * BufferView.C: don't include WorkArea.h
15977 2001-07-25 André Pönitz <poenitz@gmx.net>
15981 * lyxfunc.C: new LFUN 'math-space'
15983 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15985 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15987 * text2.C (toggleInset): call open/close
15989 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15991 * lyxfunc.C (dispatch): add debug for the disabled case
15993 * font.C (buttonText): make similar to rectText
15995 * buffer.C (readInset): comment out parsing of insetlist and
15998 * PainterBase.C (rectText): small correction
16000 * BufferView_pimpl.C: comment out insettheorem and insetlist
16001 * LyXAction.C: ditto
16002 * commandtags.h: ditto
16004 2001-07-24 Juergen Vigna <jug@sad.it>
16006 * text.C (draw): honor the ignore_language.
16008 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16010 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16012 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16015 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16017 * lyxtext.h: remove unused (and unimplemented) methods
16019 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16021 * text.C (getVisibleRow): honor background color
16024 * Painter.h: remove default color argument for fillRectangle
16026 * text.C (backgroundColor): new method
16028 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16030 * text.C (getVisibleRow): adjust
16032 * font.[Ch] (rectText): new method, metrics
16033 (buttonText): new method, metrics
16035 * PainterBase.[hC]: make rectText and buttonText always draw and take
16038 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16040 * ToolbarDefaults.C (read):
16041 * MenuBackend.C (read): allow escaping in all strings
16043 * BufferView_pimpl.C (insertAndEditInset): new method.
16044 (Dispatch): use insertAndEditInset whenever appropriate.
16046 * BufferView_pimpl.C (insertNote): removed
16048 * BufferView_pimpl.C (smartQuote): new method, moved from
16049 BufferView; if an insetquote cannot be inserted, insert a '"'
16052 * BufferView2.C: remove insertCorrectQuote();
16054 * lyxfunc.C (getStatus): Add support for all remaingin
16055 inset-insert lfuns.
16057 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16059 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16060 command (necessary to pass " as parameter of self-insert.
16062 * text.C (selectWordWhenUnderCursor):
16063 (selectWord): add word_location parameter
16064 (selectWordWhenUnderCursor): same + remove special code for word
16066 (selectNextWord): use kind() to guess type of insetspecialchar,
16069 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16070 (insertErtContents): create ert insets as collapsed.
16071 (readInset): better compatibility code for Info inset.
16073 2001-07-20 Juergen Vigna <jug@sad.it>
16075 * lyxfunc.C (dispatch): use always LyXFind now!
16077 * text2.C (init): add a reinit flag so that the LyXText can be
16078 reinited instead of deleted and reallocated (used in InsetText).
16080 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16086 2001-07-18 Juergen Vigna <jug@sad.it>
16088 * text.C (selectNextWord): handle insets inside inset by calling
16089 always the bv->text functions so that we can go up the_locking_inset!
16091 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16092 in strange locations when inside an inset!
16094 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16095 handling to include insets.
16097 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16099 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16101 * LyXAction.C (init):
16103 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16104 LIGATURE_BREAK, since the name is so stupid.
16106 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16108 * buffer.C (readInset): enable reading of new InsetNotes as well as old
16111 * FontLoader.C: remove FORMS_H_LOCATION cruft.
16113 * sp_form.[Ch]: remove.
16115 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16117 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16120 * src/buffer.C (readInset): ditto.
16122 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16124 * BufferView_pimpl.C (specialChar): new method. Obsoletes
16125 menuSeparator(), endOfSentenceDot(), ldots() and
16126 hyphenationPoint(), which are therefore removed.
16127 (Dispatch): handle LFUN_HYPHENATION_BREAK.
16129 * LyXAction.C (init):
16130 * commandtags.h: add LFUN_HYPHENATION_BREAK.
16132 * paragraph.C (getWord): removed.
16134 * BufferView_pimpl.C (Dispatch): use last word or selection for
16135 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16137 * lyx_main.C (queryUserLyXDir): do not ask before creating
16138 user_dir, except if it has been named explicitely.
16140 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
16142 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16143 a document of zero size.
16145 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
16147 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16148 approriately in the c-tor and in require().
16149 (getPackages): output the appropriate LaTeX for natbib support.
16151 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16152 variables "use_natbib" and "use_numerical_citations" when reading the
16154 (readInset): read the various natbib cite commands.
16155 (validate): white-space change.
16157 * bufferparams.[Ch]: new variables "bool use_natbib" and
16158 "bool use_numerical_citations".
16159 (writeFile): output them in the LyX file.
16161 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16163 * lyxfunc.C (getStatus): add support for all the inset insertion
16166 * text2.C (insertInset):
16167 * paragraph.C (insetAllowed):
16168 * BufferView_pimpl.C (insertInset): update to take in account the
16169 renaming of insertInsetAllowed
16171 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16173 * text2.C (getInset): new method. returns inset at cursor position.
16175 * BufferView_pimpl.C (Dispatch): changes because of this.
16177 * LyXAction.C (init): rename open-stuff to inset-toggle.
16179 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16181 * text2.C (toggleInset): renamed from openStuff; use
16184 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
16186 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16188 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16190 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
16192 * buffer.C (readLyXformat2): Add filename to the error dialog
16194 2001-07-18 Juergen Vigna <jug@sad.it>
16196 * tabular.C (GetCellNumber): put an assert here instead of the check!
16198 2001-07-17 Juergen Vigna <jug@sad.it>
16200 * BufferView_pimpl.C (toggleSelection): adapted too.
16202 * text.C (selectNextWord): adapted for use with insets.
16203 (selectSelectedWord): ditto
16205 2001-07-17 Juergen Vigna <jug@sad.it>
16207 * sp_spell.C (PSpell): fix initialitation order.
16209 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16211 * paragraph.C: spacing
16213 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
16215 * sp_spell.C: repair language selection for pspell
16217 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16219 * lyxfunc.h: change more methods to begin with lower char.
16221 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16223 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16224 for unknown layouts.
16226 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16228 * buffer.C (readLyXformat2): Generate an error dialog if there are
16231 2001-07-16 Juergen Vigna <jug@sad.it>
16233 * sp_spell.C: always compile ISpell part.
16235 * lyxrc.C: added use_pspell entry and it's handling.
16237 2001-07-13 Juergen Vigna <jug@sad.it>
16239 * sp_spell.C: removed double includes.
16241 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16243 Consistent use of Lsstream.h:
16244 * Lsstream.h: added using std::stringstream for consistencies sake.
16246 * buffer.C: removed using std::stringstream
16248 * lyxfont.C (stateText):
16249 * paragraph.C (asString):
16250 * text.C (selectNextWord, selectSelectedWord):
16251 * text2.C (setCounter):
16252 * vspace.C (asString, asLatexString):
16253 std::ostringstream -> ostringstream.
16255 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16257 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16258 * commandtags.h: add LFUN_HELP_ABOUTLYX
16259 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16261 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16263 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16265 * lyx_gui_misc.C: remove spellchecker
16266 * lyxfunc.C: showSpellchecker
16268 * sp_ispell.h: added
16269 * sp_pspell.h: added
16270 * sp_spell.C: added
16271 * sp_form.[Ch]: removed
16272 * spellchecker.[Ch]: removed
16274 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16276 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16278 (simpleTeXSpecialChars): Simply print the input character without
16279 any special translation if pass_thru is set.
16281 * layout.h: Added bool pass_thru to layout class for being able to
16282 implement pass through of a paragraph for Literate Programming.
16284 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16285 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16286 * layout.C (Read): add "passthru" to list of layout tags and add
16287 code to set the pass_thru boolean when it is read.
16289 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16291 * trans_decl.h: remove allowed from KmodInfo
16293 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16294 remove allowed code
16297 * paragraph_pimpl.C (erase): use boost::prior
16299 * Painter.C (text): use data() instead of c_str() when length is
16301 * WorkArea.C (putClipboard): ditto
16302 * font.h (width): ditto
16304 * BufferView2.C: use it-> instead of (*it). for iterators
16306 * paragraph_pimpl.C: ditto
16307 * paragraph.C: ditto
16308 * minibuffer.C: ditto
16309 * language.C: ditto
16311 * encoding.C: ditto
16312 * counters.C: ditto
16313 * converter.C: ditto
16315 * Variables.C: ditto
16316 * TextCache.C: ditto
16317 * MenuBackend.C: ditto
16318 * LyXAction.C: ditto
16320 * FloatList.C: ditto
16321 * DepTable.C: ditto
16322 * ColorHandler.C (LyXColorHandler): ditto
16324 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16326 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16328 * text2.C (openStuff): reintroduce this method (which had been
16329 nuked in NEW_INSETS frenzy).
16331 * lyxfunc.C (Dispatch): when an action has not been handled, use
16332 its name in the error message, not its number.
16334 * paragraph.C (inInset): change method name to begin with lowercase.
16337 * text2.C: updates because of this.
16339 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16341 * ToolbarDefaults.C (add): add spaces in error message
16343 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16345 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16346 (readLyXformat2): rename return_par to first_par, use lyxlex's
16347 pushToken and remove the manual push handling.
16348 (parseSingleLyXformat2Token): add another ert comp. variable:
16349 in_tabular, rename return_par to first_par. handle newlines better
16351 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16353 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16355 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16357 * text2.C (getParFromID): removed
16359 * buffer.C (getParFromID): new method moved form lyxtext.
16360 * BufferView2.C (insertErrors): adjust
16361 (setCursorFromRow): adjust
16362 * BufferView_pimpl.C (restorePosition): adjust
16363 * lyxfunc.C (Dispatch): adjust
16364 * undo_funcs.C (textUndo): adjust
16366 (textHandleUndo): adjust
16367 (textHandleUndo): adjust
16369 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16371 * buffer.C: up' the LYX_FORMAT
16373 * lyxfont.h: turn NO_LATEX on as default
16375 * buffer.C (insertErtContents): new methods of tex style compability.
16376 (parseSingleLyXformat2Token): use it several places.
16377 * tabular.C (OldFormatRead): and here
16379 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16381 * text2.C: remove some commented code.
16384 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16385 * trans.C: changes because of the above.
16387 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16389 * text2.C (setCounter): Fix counters bug with bibliography layout.
16391 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16393 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16394 own member functions
16395 (simpleTeXSpecialChars): ditto
16397 2001-07-06 Juergen Vigna <jug@sad.it>
16399 * a lot of files: changed the access to LyXText::status and the
16400 call of undo-functions.
16402 * undo.[Ch]: added a inset_id to the undo informations.
16404 * undo_funcs.[Ch]: added and moved here all undo functions.
16406 * lyxtext.h: give the status enum a weight, made status_ a private
16407 variable and made accessor functions for it, removed the whole bunch
16408 of undo-functions as they are now in their own file, make some
16409 functions publically available. Added function ownerParagraph with
16412 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16413 made InInset() a const function, added getParFromID() function.
16415 * buffer.[Ch]: added const version for inset_iterator functions,
16416 added getInsetFromID() function.
16418 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16419 changed undo functions for new version.
16421 2001-07-05 Juergen Vigna <jug@sad.it>
16423 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16424 unknow mechanism does not call the proper constructor but only this
16425 one also if I request the other!?
16427 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16429 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16431 * text2.C (LyXText): use initialization lists.
16433 * lyxtext.h (Selection): initialize set_ and mark_
16434 (init): remove method
16436 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16438 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16440 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16442 * screen.[Ch]: change method names to begin with lowercase
16444 * BufferView_pimpl.C (updateScrollbar): simplify further and
16445 hopefully make it a bit faster.
16447 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16449 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16450 calling directly xforms functions.
16452 * Painter.C (Painter):
16453 * lyx_cb.C (MenuWrite):
16454 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16457 * lyx_gui.C: remove bogus guiruntime extern declaration.
16459 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16461 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16463 (redoDrawingOfParagraph): ditto
16464 (redoParagraphs): ditto
16465 (cutSelection): don't create a object for CutAndPaste use the
16466 static method directly
16467 (pasteSelection): ditto
16469 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16472 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16474 * modifications to some other files because of this.
16476 * Makefile.am (lyx_SOURCES): add XFormsView
16478 * XFormsView.[Ch]: new files
16480 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16481 the main window. Move the gui dependent stuff to XFormsView
16483 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16485 * tabular.C (GetCellInset): update cur_cell also in the row/col
16486 version of this function.
16488 * lyxfunc.C: no need to include figure_form.h here.
16494 * lyxvc.C: no need to include forms.h here.
16496 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16498 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16500 * lyxfunc.C (Dispatch):
16502 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16503 constructor argument.
16505 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16507 * paragraph.C (Paragraph): dont't clear, and just set layout.
16508 (makeSameLayout): use params's copy contructor.
16510 * ParagraphParameters.[Ch] (makeSame): delete method
16512 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16514 * Variables.[Ch]: fix indentation, rename set to isSet
16516 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16518 * lyxfunc.C (Dispatch): fix typo
16520 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16522 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16525 * bufferlist.C: include assert.h for emergencyWrite().
16527 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16529 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16530 give up at last (bug #425202) !
16532 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16538 * spellchecker.C: strip spellchecker options and bring up
16539 preferences tab instead
16541 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16543 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16544 the istringstream constructor
16546 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16548 * paragraph.C (getLayout): fix return value
16550 * paragraph.h: do not declare getLayout as inline.
16552 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16554 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16556 * lyxcursor.h (operator<): new func
16557 (operator>): new func
16558 (operator>=): new func
16559 (operator<=): new func
16561 * text.C (changeCase): use selection.start and selection.end
16562 (changeRegionCase): require from to be <= to. Require par to be a
16565 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16567 2001-06-27 Juergen Vigna <jug@sad.it>
16569 * text.C (cursorLeftOneWord): changed to return the cursor and added
16570 overlay with BufferView * parameter which calls this one.
16572 (selectWord): use new getWord function.
16573 (changeCase): renamed from changeWordCase as and extended to work
16574 also on selections.
16576 * lyxtext.h: added enum word_location
16578 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16579 changeCase as this operates now also on selections.
16581 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16583 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16585 * many files: send debug output to Debug::INFO instead of
16588 * converter.C (View):
16590 (Move): send debug output to Debug::FILES instead of console.
16592 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16594 * lyxfunc.C (getStatus): use func_status
16596 * func_status.h: new header, describing the results of
16597 LyXFunc::getStatus;
16599 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16602 2001-06-25 The LyX Project <jug@sad.it>
16604 * buffer.C (sgmlOpenTag):
16606 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16608 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16610 * text2.C: remove some dead code
16612 * tabular.C (GetCellInset): store the last cell checked (gotten)
16614 * tabular.h: add the helper for the speedup
16616 * lyxtext.h: remove some dead code
16618 2001-06-26 The LyX Project <Asger>
16620 * paragraph.C: Change export to LaTeX of alignment to
16621 \begin{center} and family for better roundtrip work with reLyX.
16623 * Tune the math drawing a bit.
16625 2001-06-25 The LyX Project <Asger>
16627 * LColor.C (LColor): New color for math background. New color
16630 2001-06-25 The LyX Project <jug@sad.it>
16632 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16634 * lyxfunc.C (Open):
16635 * bufferlist.C (newFile): do not restrict to files ending with
16638 * BufferView_pimpl.C (MenuInsertLyXFile):
16640 2001-06-24 The LyX Project <jug@sad.it>
16642 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16645 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16647 * lyxtext.h: rename most methods to begin with a small char.
16648 Lots of changes because of this.
16650 * paragraph.C (Paragraph): do not call fitToSize
16651 (erase): call Pimpl::erase
16652 (insertChar): call Pimpl::insertChar
16653 (insertInset): call Pipl::insertInset
16654 (breakParagraph): do not call fitToSize
16655 (breakParagraphConservative): do not call fitToSize
16656 (fitToSize): remove method
16658 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16660 2001-06-24 The LyX Project <Asger>
16662 * Fix Qt compilation^2
16664 2001-06-24 The LyX Project <jug@sad.it>
16666 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16667 depthHook(getDepth()-1).
16670 * ParagraphParameters.h:
16671 * ParameterStruct.h: change type of depth to unsigned int ==
16672 depth_type. Many adaptations to other files before of that.
16674 2001-06-24 The LyX Project <Asger>
16676 * Fix Qt compilation.
16678 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16680 * paragraph.h: renamed several methods to begin with small letter.
16681 several changes to many parts of the code because of this.
16683 2001-06-23 The LyX Project <jug@sad.it>
16685 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16686 rewritten to discard all double spaces when KeepEmpty is off
16687 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16688 to only handle newlines but not fiddle with spaces and friends.
16690 * lyxfunc.C (MenuNew): when doing 'new from template', use
16691 template_path as default directory
16693 2001-06-23 The LyX Project <Asger>
16695 * Clean-up of header file includes all over
16696 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16698 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16700 * paragraph.h: renamed from lyxparagraph.h
16702 2001-06-23 Asger <lyx@violet.home.sad.it>
16704 * Buffer.h: Removed Buffer::resize
16705 * BufferList.h: Removed BufferList::resize
16706 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16707 the document lazily when we change the width, or the font settings.
16709 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16711 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16713 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16715 * buffer.h: remove out of date comment
16717 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16720 * screen.C: fix "theoretical" GC leak
16722 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16724 * LaTeX.C (scanAuxFile):
16725 (deplog): remove trailing \r when reading stream (useful under
16728 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16730 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16731 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16732 and BufferView::theLockingInset(Inset*), so should use them and not
16733 access bv_->text->the_locking_inset directly.
16735 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16737 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16740 * tex-defs.h: remove old unused file
16742 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16744 * BufferView_pimpl.C: fix typo, remove minibuffer message
16745 when buffer has loaded
16747 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16749 * lyxfunc.C (Dispatch): use stringstream
16750 (MenuNew): use stringstream
16751 (Open): use stringstream
16753 * importer.C (Import): use stringstream
16755 * bufferview_funcs.C (CurrentState): use stringstream
16757 * LaTeX.C (run): use stringstream
16759 * BufferView_pimpl.C (savePosition): use stringstream
16760 (restorePosition): use stringstream
16761 (MenuInsertLyXFile): use stringstream
16763 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16776 * vspace.C: removed // -*- C++ -*- as first line.
16779 * version.h: added // -*- C++ -*- as first line.
16781 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16783 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16785 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16788 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16790 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16793 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16795 * gettext.C: include LString.h even when --disable-nls is on.
16797 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16799 * converter.h (Get): changed argument type from int to
16800 FormatList::size_type to avoid unnecessary conversion.
16802 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16805 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16807 * gettext.h: include LString.h even when --disable-nls is on.
16809 2001-06-07 Juergen Vigna <jug@sad.it>
16811 * text.C (BreakAgain): subst spaces with tabs.
16813 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16814 (resizeInsetsLyXText): set force on resizeLyXText.
16816 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16818 * gettext.h (gettext_init):
16819 (locale_init): use a real definition instead of a macro
16821 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16823 * Bufferview_pimpl.C:
16825 * LColor.C: further lcolor tidies
16827 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16829 * BufferView_pimpl.C (updateScrollbar): simplify.
16831 * BufferView2.C: don't include insets/insetinfo.h, change
16832 prototype for insertInset and call the Pimpl version. let
16833 updateInset call Pimpl version.
16835 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16836 gotoInset to BufferView::Pimpl
16838 2001-06-01 Juergen Vigna <jug@sad.it>
16840 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16841 inside a LockingInset (is the update needed at all?).
16843 2001-05-31 Juergen Vigna <jug@sad.it>
16845 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16846 here not the old one otherwise how should we compare it afterwards
16849 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16854 * FontInfo.C: bring C functions into global namespace when
16857 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16859 * LString.h: make sure config.h has been loaded before LString.h.
16861 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16862 (one for each char read by EatLine!).
16864 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16867 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16869 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16870 to the same as the par we break from
16872 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16874 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16876 * MenuBackend.C (expand): also create menu entries for wide
16877 versions of the floats.
16879 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16881 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16883 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16884 frontends/Makefile.am
16890 * tabular.C (getTokenValue): add std::
16892 * tabular-old.C (getTokenValue): add std::
16893 (getTokenValue): ditto
16894 (getTokenValue): ditto
16896 * screen.C (ToggleSelection): adjust
16898 * lyxtext.h: put selection cursors inside a Selection struct.
16900 * lyxfunc.C (moveCursorUpdate): adjust
16902 * lyxfont.C (latexWriteStartChanges): add std::
16904 * lyxfind.C: adjust
16906 * font.h: delete with(char const *, LyXFont const &)
16908 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16910 * FontInfo.C (getFontname): add std::
16912 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16913 (workAreaButtonPress): adjust
16914 (tripleClick): adjust
16916 (moveCursorUpdate): adjust
16919 * BufferView2.C (gotoInset): adjust
16921 2001-05-30 Juergen Vigna <jug@sad.it>
16923 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16924 to check pspell I add this as default as I now have new pspell
16925 libraries and they seem to use this.
16927 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16929 * text2.C (CutSelection): make the cursor valid before the call to
16932 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16934 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16935 relied on 0 terminated strings and other horrors. Bug found due to
16936 the new assert in lyxstring!
16938 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16941 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16943 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16946 * lyxfunc.C (processKeySym): change method of getting to the
16949 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16950 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16951 * BufferView_pimpl.[Ch]: here as private methods.
16953 2001-05-28 Juergen Vigna <jug@sad.it>
16955 * text.C (SetHeightOfRow): added the update() call again as it is
16956 needed to initialize inset dimensions!
16958 2001-05-16 Juergen Vigna <jug@sad.it>
16960 * text2.C (SetCharFont): Add new function with BufferView * and
16961 bool toggleall parameters for setting insets internal fonts.
16962 (SetFont): Freeze the undo as we may change fonts in Insets and
16963 all this change should be inside only one Undo!
16965 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16966 setting font's in insets as for them we have the SetFont function!
16968 2001-05-15 Juergen Vigna <jug@sad.it>
16970 * text2.C (ClearSelection): to be sure we REALLY don't have any
16973 * tabular.C (TeXCellPreamble): fixed the left border problem for
16976 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16978 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16981 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16983 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16984 LFUN_BREAKPARAGRAPH.
16986 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16987 help test to "internal only", similar for LFUN_INSERT_URL
16989 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16990 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16991 auto_region_delete and deadkeys.
16993 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16996 * LColor.C: remove some dead entries, tidy a little
16998 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
17000 * lyxfunc.C (processKeySym): comment the Escape handling, remove
17002 (Dispatch): implement LFUN_ESCAPE
17004 * commandtags.h: add LFUN_ESCAPE
17006 * LyXAction.C (init): add entry for LFUN_ESCAPE
17008 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17009 Remove commented code.
17010 (insertNote): moved here
17011 (open_new_inset): moved here
17013 * BufferView[2].[Ch]: move insertNote and open_new_inset to
17016 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17018 * kbmap.C (findbinding): clean it up and make it work correctly.
17020 * lyx_main.C (init): do not pass argc and argv as parameters
17022 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
17024 * buffer.C: fix path for OS/2 & Win32
17028 * lyx_main.C: Added os:: class.
17030 * os2_defines.h: update
17032 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17034 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17035 better by trying again with reduced state.
17037 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17039 * lyxrc.C (read): print error about invalid key sequence only when
17040 debugging (because not all latinX keysyms are known to some X
17043 * kbsequence.C (getiso): add a few std:: qualifiers
17044 (getiso): comment out extra return statement.
17046 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
17048 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17050 (Dispatch): enhance the accent inset a bit. (not perfect)
17052 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
17054 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17056 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17058 * bufferlist.C (emergencyWrite): fix assert() call
17060 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
17062 * text.C (InsertChar): Added trivial patch to only send the "you
17063 can not do multiple spaces this way" message once during a
17066 2001-05-08 Baruch Even <baruch@lyx.org>
17068 * Makefile.am: Changed order of libraries to get LyX to link properly
17069 with the gnome frontend.
17071 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17073 * LaTeXFeatures.h: add a std:: qualifier
17075 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
17077 * paragraph.C (String): use stringstream
17079 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
17081 * paragraph.C (writeFile): remove footflag arg
17083 * buffer.C (makeLaTeXFile): use stringstream
17084 (latexParagraphs): remove footnot gurba
17086 * LaTeXFeatures.C (getPackages): use stringstream
17087 (getMacros): likewise
17088 (getTClassPreamble): likewise
17089 (getFloatDefinitions): new method
17091 * paragraph.C (writeFile): reindent
17094 * WorkArea.h: revert the xpos + etc changes.
17096 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17098 * lyxparagraph.[Ch]: add copy constructor, remove Clone
17100 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17101 (pasteSelection): likewise
17102 * text2.C (CreateUndo): likewise
17104 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17106 * minibuffer.C (peek_event): temporarily reduce the functionality
17107 of the minibuffer (to allow args on lfuns)
17109 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17110 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17112 * buffer.C (readInset): add compability reading of old float
17113 lists, add reading of new style float list.
17114 (readInset): avoid reevaluation of inscmd.getCmdName()
17115 (getLists): reindent
17117 * MenuBackend.C (MenuItem): implement parsing of
17118 md_floatlistinsert and md_floatinsert.
17119 (expand::LastFiles): move initalizaton of iterators out of loop,
17120 avoid reevaluation.
17121 (expand::Documents): introduce typdedef vector<string> Strings,
17123 (expand::ExportFormats): introduce typedef vector<Format const *>
17124 Formats, and use it.
17125 (expand): implement FloatListInsert and FloatInsert.
17127 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17128 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17129 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17131 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17133 (Dispatch::LFUN_FLOAT_LIST): implement
17135 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
17137 * LaTeX.C (run): Fix problem with --export code.
17139 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17141 * BufferView.[Ch] (workarea): removed.
17142 (getClipboard) new method; wrapper for workarea()->getClipboard()
17144 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17147 * WorkArea.h (width, height, xpos, ypos): These methods all
17148 returned the dimensions of the work_area sub-area of WorkArea,
17149 resulting in a position error if the WorkArea were resized. Now
17150 return the dimensions of the entire WorkArea.
17152 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17154 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17156 * LaTeX.C (deplog): correct the syntax of regex reg1
17158 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
17160 * undo.C: remove !NEW_INSETS cruft
17162 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
17164 * text2.C: remove !NEW_INSETS cruft
17166 * text.C: remove !NEW_INSETS cruft
17168 * tabular.C: remove !NEW_INSETS cruft
17170 * spellchecker.C: remove !NEW_INSETS cruft
17172 * lyxtext.h: remove !NEW_INSETS cruft
17174 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17176 * lyxfunc.C: remove !NEW_INSETS cruft
17178 * lyxfind.C: remove !NEW_INSETS cruft
17180 * lyx_cb.C: remove !NEW_INSETS cruft
17182 * figureForm.C: remove !NEW_INSETS cruft
17184 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17186 * buffer.[Ch]: remove !NEW_INSETS cruft
17188 * ToolbarDefaults.C: remove !NEW_INSETS cruft
17190 * CutAndPaste.C: remove !NEW_INSETS cruft
17192 * BufferView_pimpl.C: remove !NEW_INSETS cruft
17194 * BufferView2.C: remove !NEW_INSETS cruft
17196 * BufferView.h: remove !NEW_INSETS cruft
17198 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17200 * Lsstream.h: include LString.h before the sstream headers to
17201 fix problem with gcc 2.95.3 and lyxstring
17203 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17205 * lyx_main.C: add using directives when needed for C functions
17206 declared in std:: namespace.
17208 2001-04-27 Juergen Vigna <jug@sad.it>
17210 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17211 (SetHeightOfRow): comment out the update call should not be needed!
17213 2001-04-13 Juergen Vigna <jug@sad.it>
17215 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17216 (LyXTabular): tried to minimize operator= operations (and realized
17217 hopfully Lars wish).
17219 2001-04-27 Juergen Vigna <jug@sad.it>
17221 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17223 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17225 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17227 * buffer.C (readInset): hack to make listof algorithm work
17229 * BufferView_pimpl.C: hack to make listof algorithm work
17231 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17233 * LyXAction.C: removed all !NEW_INSETS cruft
17234 (init): moved lfun_item in method
17236 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17238 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17240 * BufferView2.C (theLockingInset): white space.
17242 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17244 * minibuffer.C: include <iostream>
17246 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17248 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17250 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17252 * text.[Ch] (TransposeChars): new method
17254 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17256 * call message directly through LyXView instead of through LyXFunc
17257 * BufferView2.C: adjust
17258 * BufferView_pimpl.C: adjust
17259 * FontLoader.C: adjust
17261 * bufferview_funcs.C: adjust
17262 * converter.C: adjust
17263 * figureForm.C: adjust
17264 * importer.C: adjust
17266 * lyx_gui_misc.C: adjust
17267 * lyxfunc.C: adjust
17270 + more files in subdirs
17272 * lyxparagraph.h (size): move up int file
17275 * adjust all uses of Assert to lyx::Assert.
17277 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17278 lyxfunctional in namespace lyx
17279 * layout.C (hasLayout): ditto
17282 (delete_layout): ditto
17283 (NumberOfClass): ditto
17284 * converter.C (GetFormat): ditto
17289 * bufferlist.C (getFileNames): ditto
17290 (emergencyWriteAll): ditto
17293 * MenuBackend.C (hasSubmenu): ditto
17296 * BufferView_pimpl.C (getInsetByCode): ditto
17298 2001-04-18 Juergen Vigna <jug@sad.it>
17300 * vspace.C (asLatexString): fixed the 100% problem.
17302 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17304 * lyxfunc.C (Dispatch):
17306 * minibuffer.h: add a few std:: qualifiers
17308 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17310 * minibuffer.[Ch]: reimplement so that commands is initiated and
17311 run from lyxfunc, simplified som handling, and made the completion
17312 and history code for complete. wip.
17314 * lyxfunc.C (processKeySym): call message
17315 (miniDispatch): new temporary method
17316 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17317 (LFUN_MESSAGE): implement
17318 (LFUN_MESSAGE_PUSH): implement
17319 (LFUN_MESSAGE_POP): implement
17320 (initMiniBuffer): the initial/defualt minibuffer message.
17322 * lyxfont.[Ch]: inline some more getters
17324 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17326 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17328 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17329 (AutoSave): use LFUN_MESSAGE
17330 (Reconfigure): ditto
17332 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17334 * figureForm.C: use LFUN_MESSAGE
17336 * converter.C (runLaTeX): use LFUN_MESSAGE
17338 * bufferview_funcs.C: use LFUN_MESSAGE
17340 (changeDepth): ditto
17342 * bufferparams.h: use boost::
17344 * bufferlist.h: inherit privately from noncopyable
17346 * bufferlist.C (loadLyXFile): remove some commented code.
17348 * buffer.C (runChktex): use LFUN_MESSAGE
17350 * ShareContainer.h: inherit privately from noncopyable
17352 * ParagraphParameters.[hC] (depth): inline it.
17354 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17356 (message): new method
17357 (messagePush): ditto
17358 (messagePop): ditto
17359 (show): init minibuffer
17360 (showState): direct call
17362 * LaTeX.[Ch]: inherit privately from noncopyable
17363 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17364 instead of WriteStatus.
17366 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17368 * BufferView_pimpl.C (buffer): don't init minibuffer
17369 (workAreaButtonPress): use LFUN_MESSAGE
17370 (workAreaButtonRelease): ditto
17371 (savePosition): ditto
17372 (restorePosition): ditto
17373 (MenuInsertLyXFile): ditto
17374 (workAreaExpose): don't init minibuffer
17375 (update): remove commented code, simplify
17377 * BufferView2.C (openStuff): use LFUN_MESSAGE
17378 (toggleFloat): ditto
17381 (copyEnvironment): ditto
17382 (pasteEnvironment): ditto
17387 (updateInset): remove some commented code
17389 * lastfiles.h: inherit privately from noncopyable
17392 * lyx_main.h: ditto
17394 * lyxlex_pimpl.h: ditto
17396 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17397 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17398 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17400 * LyXAction.h: inherit privately from noncopyable, add methods
17401 func_begin, func_end, returning iterators to the func map.
17403 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17404 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17405 (func_begin): new method
17406 (func_end): new method
17408 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17410 (copySelection): ditto
17411 (pasteSelection): ditto
17413 * BufferView.C: whitespace change
17414 * BufferView.h: inherit privately from noncopyable
17416 2001-04-16 Allan Rae <rae@lyx.org>
17418 * tabular-old.C (l_getline):
17419 * spellchecker.C (sc_check_word):
17420 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17421 an unrecognised preprocessor directive. So ensure they're wrapped.
17423 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17425 * src/exporter.C (Export): Give an error message when path to file
17428 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17430 * LaTeX.C (deplog): Always check that foundfile exists.
17432 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17435 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17437 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17439 * tabular.[Ch] (getLabelList): implement new method
17441 * minibuffer.h: comment ouf setTiimer
17443 * minibuffer.C (ExecutingCB): constify res
17444 (peek_event): constify s
17445 (Set): constify ntext
17446 (Init): constify nicename
17448 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17450 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17451 (savePosition): use two params to Minibuffer::Set
17452 (restorePosition): ditto
17454 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17456 * lyx_main.C: include language.h
17458 * Makefile.am (lyx_main.o): add language.h
17460 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17466 * CutAndPaste.C: include gettext.h
17468 * lyxfont.h: remove old hack with ON and OFF.
17471 * lyxfont.h: do not include language.h...
17476 * bufferview_funcs.C:
17482 * paragraph.C: ... but do it here instead
17484 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17486 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17488 * tabular.C: small reformat
17490 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17493 (BreakParagraph): ditto
17494 (SetOnlyLayout): ditto
17497 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17500 * lastfiles.C: removed most using decl, add std:: where needed
17502 * buffer.C: ws changes
17504 * MenuBackend.C (class compare_format): put into anon namespace
17505 (expand): constify label, names, action, action2
17508 * text.C (SingleWidth): constify font
17509 (IsBoundary): constify rtl2
17510 (GetVisibleRow): constify ww
17512 * LaTeX.C (deplog): constify logfile
17514 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17516 (workAreaExpose): constify widthChange, heightChange
17518 * lyxrow.C (par): moved
17521 * lyxrow.h: as inlines here
17523 * lyxfont.h (shape): moved from lyxfont.C
17524 (emph): moved from lyxfont.C
17526 * lyxfont.C (LyXFont): use initialization list for all
17528 (shape): move to lyxfont.h as inline
17529 (emph): move to lyxfont.h as inline
17532 2001-04-04 Juergen Vigna <jug@sad.it>
17534 * vspace.C: had to include stdio.h for use of sscanf
17536 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17539 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17540 independent of xforms.
17542 2001-04-02 Juergen Vigna <jug@sad.it>
17544 * spellchecker.C: fixed namespace placing!
17546 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17548 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17549 the LyXParagraph * is 0.
17551 2001-03-29 Juergen Vigna <jug@sad.it>
17553 * vspace.C: added support for %, c%, p%, l%.
17554 (stringFromUnit): added helper function.
17555 (asLatexString): changed to give right results for the %-values.
17557 * buffer.C: convert the widthp in a width%.
17559 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17561 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17564 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17565 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17567 * lyx_cb.[Ch]: see above.
17569 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17573 * lyx.[Ch]: replaced by figure_form.[Ch].
17577 * lyxfunc.C: changed headers associated with above changes.
17579 2001-03-27 Juergen Vigna <jug@sad.it>
17581 * BufferView_pimpl.C: set the temporary cursor right!
17583 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17585 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17587 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17589 * LString.h: removed "using std::getline"!
17591 * BufferView_pimpl.C (Dispatch): changes due to changes in
17592 InsetInclude::Params.
17594 * buffer.C (tag_name): removed redundant break statements as they were
17595 producing lots of warnings with my compiler.
17597 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17599 * LString.h: add "using std::getline" when using the real <string>.
17601 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17603 * buffer.C: removed bitset usage.
17604 PAR_TAG moved to an anonymous name space.
17605 (tag_name): new funtion, also in the anonymous namespace.
17606 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17607 (makeDocBookFile): clean code. Completed transition from string arrays
17609 (SimpleDocBookOnePar): code clean.
17611 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17613 * tabular.C: add some comments.
17615 2001-03-22 Juergen Vigna <jug@sad.it>
17617 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17618 compatibility read a bit and fixed bug with minipage in different
17621 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17623 * buffer.C (pop_tag): removed.
17624 (push_tag): removed.
17625 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17626 array replaced with vector. Added support for CDATA sections.
17627 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17629 (makeDocBookFile): XML conformant declaration of CDATA section,
17630 fixed bug related to <emphasis> in the first paragraph char.
17631 (sgmlOpenTag): exclude empty tags.
17632 (sgmlCloseTag): ditto.
17634 * buffer.h (pop_tag): removed.
17635 (push_tag): removed.
17637 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17639 * language.h (Languages): added size_type and size().
17641 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17643 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17644 response on compability reading of minipages. One probliem is that
17645 the old usage of minipages was flertydig
17647 * several files here and in subdirs: don't use static at file
17648 scope use anon namespaces instead.
17650 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17652 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17653 LaTeX output. This is necessary for Literate document
17656 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17658 * buffer.C: insert hfill when needed.
17660 * tabular.C (l_getline): use string::erase, small whitespace change.
17662 * BufferView_pimpl.C: try the anon namespace.
17663 * WorkArea.C: ditto
17665 2001-03-16 Juergen Vigna <jug@sad.it>
17667 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17668 otherwise it won't open options-dialogs.
17670 * buffer.C: honor pextraWidth(p) on converting minipages.
17672 * tabular.C (l_getline): changed the functions to strip trailing \r.
17674 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17676 * BufferView_pimpl.C:
17677 * minibuffer..C: added "using SigC::slot" declaration.
17679 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17681 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17687 * paragraph.C: ditto
17689 * lyxtext.h: NO_PEXTRA
17691 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17693 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17694 * ParameterStruct.h: ditto
17695 * ParagraphParameters.h: ditto
17696 * lyxparagraph.h: ditto
17698 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17700 * buffer.C: add compability for minipage alignment.
17701 (latexParagraphs): remove unwanted pextra check.
17703 * several files: remove CXX_WORKING_NAMESPACES
17705 * buffer.C (pop_tag): tie is in namespace boost
17707 * BufferView.h: noncopyable is in namespace boost
17709 * lyx_main.h: ditto
17712 * lastfiles.h: ditto
17713 * bufferlist.h: ditto
17714 * ShareContainer.h: ditto
17716 * LyXAction.h: ditto
17719 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17721 * Merging changes from BRANCH_MVC back into HEAD.
17723 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17725 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17727 * BufferView_pimpl.C: change from intl.C
17731 * Makefile.am: move combox.*
17737 * intl.C: remove dialog (covered by prefs)
17739 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17741 * lyxfunc.C (Dispatch): removed redundant break statement.
17743 2001-03-14 Juergen Vigna <jug@sad.it>
17745 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17747 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17749 * buffer.C: add hack to fix compability reading of minipages.
17751 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17753 * buffer.C (getLists): Cleanup.
17755 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17757 * lyxfont.C (update): don't honor toggleall on font size.
17759 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17763 * Makefile.am: moved to frontends/xforms/
17767 * BufferView_pimpl.C: changes for moved mathpanel
17769 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17771 * gettext.h: fix gettext_init() in --disable-nls
17773 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17775 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17777 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17780 * lyx.h: strip external form
17782 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17784 * BufferView_pimpl.C: add comment, destroySplash()
17786 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17788 * BufferView_pimpl.C:
17792 * lyxfunc.C: use re-worked insetinclude
17794 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17796 * buffer.C: add using std::stringstream.
17798 * lyx_cb.C: readd using std::ios.
17800 * buffer.C: add using std::map.
17802 * BufferView_pimpl.C: add using std::vector.
17804 * ShareContainer.h: add std:: to swap.
17806 * buffer.h: add some typedefs
17807 * buffer.C (getLists): use them
17808 (getLists): renamed from getTocList.
17809 add a counter for the different float types and use it in the
17811 (getLists): use the same counter for the NEW_INSETS and the "non"
17814 * lyx_cb.h: remove unused items, includes, using etc.
17816 * ShareContainer.h: remove some commented code, add more comments
17817 and "documentation".
17819 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17821 * buffer.C (getTocList): make the list also when NEW_INSETS is
17824 * buffer.h: remove TocType
17826 * buffer.C (getTocList): change to return a map<string,
17827 vector<TocItem> >, implement for dynamic number of list.
17829 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17830 * text2.C (PasteSelection): adjust
17831 * CutAndPaste.C (pasteSelection): adjust
17833 * FloatList.C (FloatList): update from the new_insets branch.
17834 * Floating.[Ch]: ditto
17835 * LaTeXFeatures.C: ditto
17837 * lyxlex_pimpl.C: ditto
17839 * paragraph.C (Last): remove when NEW_INSETS is defined.
17841 * other file: changes because of the above.
17843 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17845 * lyxparagraph.h: rename next to next_, previous to previous_,
17846 make them private for NEW_INSETS. Rename Next() to next(),
17847 Previous() to previous().
17849 * other files: changes because of the above.
17851 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17854 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17857 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17859 * main.C (main): pass lyx_localedir to gettext_init().
17861 * gettext.h: remove locale_init and gettext_init macros
17863 * gettext.C (locale_init): new function
17864 (gettext_init): new function
17866 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17869 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17871 * Moved credits to frontends:
17872 * credits.[Ch]: removed
17873 * credits_form.[Ch]: removed
17874 * lyx_gui_misc.C: remove credits stuff
17877 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17879 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17881 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17882 unneeded destructor.
17884 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17885 a standalone pointer again.
17887 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17889 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17895 * ToolbarDefaults.C:
17904 * BufferView_pimpl.C: use new file dialog in GUII
17907 * lyx_cb.C: remove LayoutsCB to Toolbar
17909 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17911 * ShareContainer.h (get): add std:: qualifier
17913 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17915 * ShareContainer.h: define a proper ShareContainer::value_type
17916 type (and use typename to please compaq cxx)
17918 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17920 * lyxparagraph.h: move serveral local vars to
17921 ParameterStruct/ParagraphParameters., use ShareContainer in
17922 FontTable., make vars in FontTable private and add getter and
17925 * paragraph.C: changes because of the above.
17927 * lyxfont.h: remove copy constructor and copy assignment. (the
17928 default ones is ok), move number inside FontBits. move inlines to
17931 * lyxfont.C: add number to initializaton of statics, move several
17932 inlines here. constify several local vars. some whitespace
17933 cleanup. Dont hide outerscope variables.
17935 * Spacing.h: add two new constructors to match the set methods.
17937 * ShareContainer.h: new file, will perhaps be moved to support
17939 * ParameterStruct.h: new file
17941 * ParagraphParameters.h: new file
17943 * ParagraphParameters.C: new file
17945 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17946 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17948 * BufferView_pimpl.C: ParagraphParameter changes.
17949 * buffer.C: Likewise.
17950 * bufferview_funcs.C: Likewise.
17951 * text.C: Likewise.
17952 * text2.C: Likewise.
17954 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17956 * lyxfind.C (LyXReplace): do not redefine default argument in
17958 (IsStringInText): ditto
17959 (SearchForward): ditto
17960 (SearchBackward): ditto
17962 2001-03-06 Juergen Vigna <jug@sad.it>
17964 * lyxfind.C (IsStringInText): put parentes around expressions.
17966 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17968 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17970 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17972 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17974 * stl_string_fwd.h: add comment
17976 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17979 * tabular.C: remove unused DocBook methods
17985 killed DO_USE_DEFAULT_LANGUAGE
17987 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17989 * lyx_gui.C: do not include language.h.
17991 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17992 arguments in function implementation.
17994 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17996 * BufferView_pimpl.C: add <ctime>
17998 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18000 * BufferView_pimpl.C: add using std::find_if
18002 2001-02-27 José Matos <jamatos@fep.up.pt>
18004 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18007 2001-02-11 José Matos <jamatos@fep.up.pt>
18009 * buffer.C (makeDocBookFile): command styles now have a parameter as
18010 "title" by default.
18012 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
18014 * layout_forms.[Ch]: removed
18015 * lyx_cb.[Ch]: out character
18016 * lyx_gui.C: out character
18017 * lyx_gui_misc.C: out character
18018 * bufferview_funcs.C: : out character,
18019 added toggleall as parameter in ToggleAndShow
18021 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
18023 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18025 * text2.C (SetCurrentFont): Disable number property at boundary.
18027 2001-02-26 Juergen Vigna <jug@sad.it>
18029 * lyxfunc.C (getStatus): added a string argument override function so
18030 that this is correctly called from LyXFunc::Dispatch if it contains a
18031 do_not_use_argument which is used!
18032 (Dispatch): added check for "custom" export and call appropriate func.
18034 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
18036 * lyxrc.C: Add language_command_local, language_use_babel and
18037 language_global_options.
18039 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18041 * buffer.C (makeLaTeXFile): Use language_use_babel and
18042 language_global_options.
18044 2001-02-23 Juergen Vigna <jug@sad.it>
18046 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18047 which works with LyXText and putted it inside BufferView. Here now we
18048 only call for that part the BufferView::Dispatch() function.
18050 * BufferView.C (Dispatch): added.
18052 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18053 functions which needs to use a LyXText over from LyXFunc.
18054 (MenuInsertLyXFile): added
18055 (getInsetByCode): added
18056 (moveCursorUpdate): added
18057 (static TEXT): added
18059 2001-02-22 Juergen Vigna <jug@sad.it>
18061 * BufferView_pimpl.C (update): call a status update to see if LyXText
18064 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
18066 * vc-backend.C (revert): implement for CVS
18067 (getLog): implement for CVS
18069 2001-02-20 Juergen Vigna <jug@sad.it>
18071 * text2.C (ClearSelection): added BufferView param for inset_owner call
18073 * lyxfunc.C (TEXT): added this function and use it instead of
18074 directly owner->view()-text of getLyXText().
18076 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
18078 * src/layout_forms.C: out preamble
18079 * src/layout_forms.h: out preamble
18080 * src/lyx_cb.C: out preamble
18081 * src/lyx_cb.h: out preamble
18082 * src/lyx_gui.C: out preamble
18083 * src/lyx_gui_misc.C: out preamble
18084 * src/lyxfunc.C: connect with guii preamble
18086 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
18088 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18090 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
18092 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18093 whether to run bibtex.
18095 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
18097 * Makefile.am (lyx_SOURCES): Remove BackStack.h
18099 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
18101 * Makefile.am (lyx_SOURCES): removed bibforms.h
18103 * vspace.h: doxygen
18105 * text.C (GetVisibleRow): make several local vars const
18107 * tabular.C: small cleanup.
18109 * lyxserver.C (callback): use compare instead of strncmp
18111 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18112 inlines to after class or to paragraph.C
18114 * lyxfont.h: remove friend operator!=
18116 * converter.h: move friend bool operator< to non friend and after
18119 * combox.h: small cleanup
18121 * buffer.h: doxygen, remove unused constructor, move inclas inlies
18122 to inlines after class def.
18124 * buffer.C (pop_tag): use string operations instead of strcmp
18126 * bmtable.c: doxygen, small cleanup
18128 * LaTeX.h: remove friend operator==
18130 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
18142 * BufferView_pimpl.C:
18143 * BufferView.[Ch]: remove cruft
18145 2001-02-14 Juergen Vigna <jug@sad.it>
18147 * lyxfunc.C: removed #if 0 unused code
18149 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18151 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18153 * text2.C (SetSelection): added a BufferView * parameter
18155 2001-02-13 Juergen Vigna <jug@sad.it>
18157 * lyxfunc.C (Dispatch): fixed protected blank problem.
18158 * BufferView2.C (protectedBlank): added LyxText * parameter.
18160 * tabular.C (AppendRow): forgot to set row_info of newly added row.
18161 (AppendColumn): same as above for column_info.
18163 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18164 (moveCursorUpdate): use a LyXText param for support of InsetText.
18166 * BufferView_pimpl.C (doubleClick): added support for InsetText.
18167 (tripleClick): ditto
18169 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18171 * BufferView_pimpl.C (update): added LyXText param to honor insets.
18173 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18175 * text2.C (SetSelection): set correct update status if inset_owner
18176 (ToggleFree): ditto
18178 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
18180 * tabular.C: remove some commented code.
18182 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
18184 * BufferView_pimpl.C: call hideSplash()
18186 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18189 * bibforms.h: remove
18192 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18193 add LFUN_CHILD_CREATE
18195 * counters.h: fix tiny typo
18200 * lyx.C: move splash to frontends/xforms/
18202 * lyx_gui_misc.C: move Include and Bibform to frontends
18204 * lyxvc.h: clarify comment
18206 * vspace.C: tiny housekeeping
18208 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
18210 * text.C (PrepareToPrint): RTL Fix.
18212 * paragraph.C (GetUChar): New method.
18213 (String): Use GetUChar.
18215 * buffer.C (asciiParagraph): Use GetUChar.
18217 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
18219 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18221 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18224 * buffer.C: rename to getLogName(), handle
18225 build log / latex log nicely
18227 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18230 * MenuBackend.h: remove support for reference menuitem type.
18232 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18234 * BufferView_pimpl.C: housekeeping
18235 * BufferView_pimpl.h:
18240 * minibuffer.h: move Timeout GUI-I
18242 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18244 * lyxrc.C (read): Update converters data-structures.
18246 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18248 * LaTeX.h (operator!=): add operator != for Aux_Info
18250 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18252 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18254 * LaTeXLog.C: deleted, useful code moved to Buffer
18257 * buffer.C: new function getLatexLogName()
18263 * lyxfunc.C: use frontends for LaTeX and VC logs
18265 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18267 * LaTeX.h: yet another std:: that Allan forgot.
18269 * Variables.C (set): renamed from isset(), because this clashes
18270 with some HP-UX macros (grr).
18272 2001-02-06 Allan Rae <rae@lyx.org>
18274 * LaTeX.h: Another bug fix. Missing std:: this time.
18276 2001-02-04 Allan Rae <rae@lyx.org>
18278 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18279 floats problem. I've left it commented out because it's not quite
18280 correct. It should also test that the current object is a table or
18281 figure inset. But I haven't gotten around to figuring out how to do
18282 that. I *think* it'll be something like: "table" == inset.type()
18284 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18287 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18289 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18290 all the citation/databases/styles in the auxilary file.
18291 (run): Rerun latex if there was a babel language error.
18293 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18295 * text.C (Backspace): Preserve the font when changing newline char
18297 (BreakParagraph): If the cursor is before a space, delete the space.
18299 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18301 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18303 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18304 new argument (code).
18305 (ChangeCitationsIfUnique): New method.
18307 * paragraph.C (GetPositionOfInset): Handle bibkey.
18309 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18311 * BufferView_pimpl.h: change type of Position::par_pos to
18312 LyXParagraph::size_type.
18314 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18316 * BufferView_pimpl.C (savePosition, restorePosition): Write
18317 messages to minibuffer.
18319 2001-01-28 José Matos <jamatos@fep.up.pt>
18321 * buffer.C (makeDocBookFile): adds support for document language.
18322 A silly restriction on the name of LatexCommand types where removed.
18323 Added support for CDATA sections, allows to chars unescaped, used
18324 among others in code, to avoid escape < and >.
18326 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18328 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18329 saved positions instrad of a stack. Furthermore, a position is
18330 stored using paragraph id/paragraph position.
18332 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18333 Remove LFUN_REF_BACK.
18335 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18337 * converter.C (dvipdfm_options): New method.
18339 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18341 * vspace.C (isValidLength): Fix for empty input string.
18343 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18345 * LyXAction.C (init): change description of LFUN_FIGURE to
18348 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18350 * LaTeX.C: add using directive
18352 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18354 * MenuBackend.C (expand): Fix the sorting of the formats.
18356 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18358 * lyx_main.C: tiny error message fix
18360 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18362 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18363 calling fl_initialize(). This fixes the problem with ',' as
18364 decimal separator in text files.
18366 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18368 * trans.C (process): Fix the keymap bug.
18370 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18372 * LaTeX.C (scanAuxFiles): New method. Provides support for
18373 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18374 (scanLogFile) Scan for "run BibTeX" messages.
18376 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18377 OT1 font encoding. Also, load the aecompl package if the ae
18380 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18382 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18384 * texrow.C (increasePos): turn two error messages into debug
18387 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18389 * LaTeX.C (scanAux): Handle the \@input macro.
18390 (runBibTeX): Use scanAux().
18392 * language.C (latex_options_): New field.
18394 * LaTeXFeatures.C (getMacros): Add language macros.
18396 * buffer.C (makeLaTeXFile): Small fix.
18398 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18400 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18402 * text2.C: add a using directive.
18404 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18409 * lyxfunc.C: kill LyXBell.
18411 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18413 * text.C (IsBoundary): Remove the error message
18415 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18417 * lyxrc.C (setDefaults): Correct initialization value for
18420 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18422 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18425 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18426 and GotoNextNote().
18428 * src/LyXAction.C: Added reference-next.
18430 * text.C (InsertChar): Use contains instead of strchr.
18432 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18434 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18436 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18437 alignment commands (when needed).
18439 * text.C (InsertChar): Add ':' to number separator chars.