1 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * BufferView_pimpl.C (setBuffer): when one wants to set the layout
4 combox, it is necessary to search for the topmost paragraph in the
5 cursor stack (bug 1926)
7 2005-09-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9 * text2.C (cursorEnd, cursorRight): do not set boundary to true at
10 end of paragraph. (bug 2010)
12 2005-09-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
14 * text.C (leftMargin): check for inInset == 0
16 2005-08-10 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
18 * text.C (leftMargin): test for insetbase's new neverIndent()
19 bool instead of listing each and every inset that does not
22 2005-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
24 * buffer_funcs.C (setCounter): put the code to compute enum label
25 here (where it belongs).
27 * counters.C (enumLabel): move code to buffer_funcs.C.
29 2005-09-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
31 * outputparams.[Ch]: store local_font instead of local_language
32 * paragraph.C (simpleTeXOnePar): adapt to the change above
34 2005-09-08 Martin Vermeer <martin.vermeer@hut.fi>
37 * counters.[Ch]: clean up special code for Hebrew.
39 2005-09-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
41 * lyxfunc.C (lookupChange): fix code when cursor depth is greater
44 2005-09-08 Angus Leeming <leeming@lyx.org>
47 * lyxrc.C: correct grammar describing invocation of the
50 2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
52 * text.C (read): remove unused variable.
53 (readParToken): remove static Change variable (never good in
54 recursive settings...); add it as a parameter instead.
56 * paragraph_pimpl.C (acceptChange): make debug info conditional.
58 * metricsinfo.C (PainterInfo): add new member erased_.
60 * rowpainter.C (RowPainter): add erased_ member, initialized from
62 (paintInset): pass erased_ to Inset::draw.
64 * lyxfunc.C (lookupChange): new function. Tells whether change
65 tracking is disabled at a given postion.
66 (getStatus): disable some actions when in deleted text with change
69 2005-08-03 John Levon <levon@movementarian.org>
71 * tabular.C (appendColumn, setMultiColumn): adapt to change to
74 * paragraph_pimpl.C (markErased): add bool argument and handle it.
75 Also make sure to mark insets recursively.
76 (rejectChange, erase): be recursive
78 * paragraph.C (markErased): add bool argument.
79 2005-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
81 * lyxfind.C (findNextChange): tiny cleanup.
83 * BufferView_pimpl.C (trackChanges): avoid crash when stopping
84 change tracking with the cursor in an inset; make sure the first
85 change is not skipped.
87 2005-09-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
89 * CutAndPaste.[Ch]: new methods dirtyTabularStack and
90 tabularStackDirty to work around bug 1919 (tabular needs
91 to know whether its own cell paste buffer or the one of
93 * CutAndPaste.C: mark tabular_stack_ clean after copy.
95 2005-08-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
97 * text2.C (cursorEnd): check for empty text (fixes bug 1998)
99 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
101 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
102 use old deleteion algorithm when changetracking is on.
104 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
106 * messages.C (get): add debug output.
108 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
110 * text.C (cursorX): fix bug 1965: cursor movement at
111 line end broken in RtL.
112 (drawSelection): fix bug 1970: drawing of single-line
113 selection broken for RtL.
115 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 * dociterator.h (clear, push_back, pop_back): change from
122 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
123 and changed to just return the value of the item depth; take a
124 ParIterator as argument; take the itemdepth at outer nesting level
125 in account if necessary; cleanup and comment the code.
126 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
127 and changed to just return true if reset is needed; take a
128 ParIterator as argument; cleanup and comment the code.
129 (setCounter): adapt to above changes.
131 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
133 * text3.C (dispatch): make debug message optional
135 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
137 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
140 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
142 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
144 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
146 * text.C (insertChar):
147 * text2.C (deleteEmptyParagraphMechanism): take care whether
148 a blank has been deleted (in change tracking mode) (bug 1254).
150 2005-07-20 John Levon <levon@movementarian.org>
152 * text2.C (insertStringAsLines): remove old dubious code,
155 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
157 * MenuBackend.C (expandToc): use Floating::listName() as title of
160 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
162 * toc.[Ch]: Do not use translatable strings (bug 1870).
164 2005-07-20 John Levon <levon@movementarian.org>
166 * tabular.C: fix 1748 - setting multicolumn adds
167 left line to the first cell
169 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
172 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
175 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
177 * messages.C: supress some lyxerr messages
179 2005-07-18 Juergen Vigna <jug@lyx.org>
181 * text.C (drawSelection): honor boundary when asking for cursorX.
183 2005-07-17 José Matos <jamatos@fc.up.pt>
185 * tabular.C (recalculateMulticolumns): fix handling of one column
188 2005-07-17 Juergen Vigna <jug@lyx.org>
190 * text.C (Delete, backspace): fixed so that paragraph with the
191 same layout can be merged by Delete/Backspace.
193 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
195 * text.C (readParToken): fix spelling.
197 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
199 * text2.C: fix counter update for DEPM problem reported by
202 2005-07-17 Juergen Vigna <jug@lyx.org>
204 * BufferView_pimpl.C (setBuffer): save/restore the
205 cursor/selection when switching buffers
208 * buffer.C (saveCursor): add saveDocumentIterators to save the
209 cursor when switching buffer.
211 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
214 * buffer.C: clarify message
216 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
218 * dociterator.C (DocIterator): fix initialization order
220 2005-07-17 Juergen Vigna <jug@lyx.org>
222 * text2.C (cursorHome):
223 * text.C (drawSelection, cursorX):
224 * dociterator.C (textRow): add boundary to getRow() call
226 * paragraph.C (getRow): implementation of below
228 * paragraph.h: add parameter boundary for getRow() function
230 2005-07-17 José Matos <jamatos@fc.up.pt>
234 * tex-strings.[Ch]: new file format, remove support for a4.sty,
235 a4wide.sty and a4widemargins.
237 2005-07-17 Juergen Vigna <jug@lyx.org>
239 * text2.C (cursorLeft): fix one of error
241 2005-07-17 Juergen Vigna <jug@lyx.org>
243 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
245 more fixes for boundary handling
247 * text3.C (dispatch): don't reset cursor if boundary has changed
250 2005-07-16 Juergen Vigna <jug@lyx.org>
252 * text2.C (getColumnNearX): hopefully got it right now,
253 check if we are on column 0 for special case.
255 2005-07-16 Juergen Vigna <jug@lyx.org>
257 * text2.C (getColumnNearX): handle special case Newline Inset
259 * text.C (singleWidth): Just remove bogus check
261 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
263 * funcrequest.C (split): avoid reading uninitialized char c
265 2005-07-16 José Matos <jamatos@fc.up.pt>
271 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
272 single papersize variable.
274 2005-07-16 Juergen Vigna <jug@lyx.org>
276 * text3.C (dispatch): honor boundary when checking if a cursor
277 movement has been done
279 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
280 (setCursor, setCursorIntern): fix cursor movement with boundary
282 2005-07-16 Juergen Vigna <jug@lyx.org>
284 * text.C (currentState): output the actual Boundary
286 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
288 * factory.C (createInset): fix bad logic for tabular creation
290 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
292 * lyx_main.C (init): change some reLyX reference to tex2lyx
294 2005-07-16 Juergen Vigna <jug@lyx.org>
296 * dociterator.C (DocIterator): initialize boundary
298 2005-07-16 Juergen Vigna <jug@lyx.org>
300 * text2.C (getColumnNearX): Consider rows without trailing blank.
302 2005-07-16 André Pönitz <poenitz@gmx.net>
304 * lyxfont.h: Change order of declarations to give the compiler
305 a better chance to inline things
307 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
308 questions on unsaved docs for better scritability
310 2005-07-16 André Pönitz <poenitz@gmx.net>
312 * paragraph.h (getChar): remove asserts as the same kind of security
313 can be achieved by using a suitable standard library implementation
314 and the function was in the critical path (25.9% in profiler)
316 2005-07-16 Juergen Vigna <jug@lyx.org>
318 * cursor.C (bruteFind2):
319 * bufferview_funcs.C (coordOffset):
320 * text.C (cursorX,cursorY): Handle cursor position after last char
321 in row before a inset which uses a whole row.
323 2005-07-15 José Matos <jamatos@lyx.org>
325 * output_plaintext.[Ch] (writeFileAscii): control reference title
327 (asciiParagraph): noparbreak was already deal and was incorrectly
330 2005-07-15 Juergen Vigna <jug@lyx.org>
332 * lyxfunc.C (dispatch): save and restore the cursor after a
335 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
337 * text.C (backspace): bug 806 for empty keepempty paragraphs we
338 change the layout to default before letting DEPM do its thing.
340 * paragraph_funcs.C (breakParagraph): dont reset the layout on
343 * text.C (setCursorFromCoordinates): add a debug statement
345 * text2.C (getColumnNearX): bug 1825 make sure that we don't
346 return a pos that is not on the row
348 * output_latex.C (TeXDeeper): get rid of potential dereferencing
349 of past the end iterator
351 2005-07-14 André Pönitz <poenitz@gmx.net>
353 * undo.C (recordUndoFullBuffer): implement undo for
356 2005-07-14 André Pönitz <poenitz@gmx.net>
358 * cursor.C (setSelection): open insets when selection is set there
359 to avoid crashs with cold coord cache
361 2005-07-14 André Pönitz <poenitz@gmx.net>
363 * trans_mgr.C (insert): move cursor to the right after inserting
366 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
368 * BufferView_pimpl.C (update): dampen some of the debug blabbering
369 * factory.C (readInset): ditto
370 * text.C, text2.C: ditto
372 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
374 * buffer.C: format incremented to 242. There is no file format per
375 se, but the "frenchb" language has been removed from lib/language
376 and has to be translated to "french" by lyx2lyx.
378 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
380 * cursor_slice.h, dociterator.h: add some documentation
381 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
383 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
385 * text.C (leftMargin): do not add identation to display() style
386 insets, because they are always centered (bug 1293).
388 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
390 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
391 formatted_time methods in support/lyxtime.
393 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
395 * toc.[Ch]: new method getGuiName, which is used by the frontends
396 to set the toc combo (fixes bug 1870). Make TOC string translatable.
398 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
400 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
401 StableDocIterator const &)
402 * undo.C (recordUndo): use the above instead of cell.size() comparison
403 (fixes bug 1808; instructed by Andr�.
405 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
408 * dociterator.h: Fix the assert when copying rows/cols in math
410 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
412 * BufferView_pimpl.C:
414 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
416 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
417 (findInset): new functions, refactored from goto Inset that return
418 the position of a certain inset without setting the buffer's cursor
420 (gotoInset): rewrite to call findInset and then set the cursor
423 2005-06-16 Angus Leeming <leeming@lyx.org>
425 * lyxrc.C (output, read): wrap all input and output of paths with
426 calls to os::internal_path and os::external_path, respectively.
427 (output): wrap bind_file inside quotes.
429 * format.C (view): enable the viewer to use the '$$s' placeholder.
431 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
433 * LColor.[Ch] (getFromLaTeXName): new
435 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
437 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
439 2005-06-14 Angus Leeming <leeming@lyx.org>
441 * lyx_main.C (init): ensure that the LyX binary dir is the first
442 element in the PATH on non-POSIX builds.
444 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
446 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
448 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
450 * rowpainter.C (paintInset, paintHebrewComposeChar)
451 (paintArabicComposeChar, paintChars): add a LyXFont argument.
452 (paintChars): use getFontSpan to reduce calls to getFont to a
453 minimum; use Paragraph::lookupChange instead of isXXXText.
454 (paintForeignMark): rename LyXFont argument.
455 (paintFromPos): pass a LyXFont object to the various paintXXX
458 * FontIterator.C (FontIterator, operator++): use
459 Paragraph::getFontSpan
461 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
462 version that returns the font span as a pair.
464 2005-06-09 Angus Leeming <leeming@lyx.org>
466 * converter.C (convert): Don't forget "outfile = real_outfile" as
467 the final step in a conversion where the input and output file names
468 are the same. Otherwise, future conversion steps won't work...
470 2005-06-09 Angus Leeming <leeming@lyx.org>
472 * lyxsocket.C: remove stub code as it isn't needed by
473 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
475 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
477 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
478 effectively disabled -x
480 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
482 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
483 when it actually makes sense.
485 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
487 * BufferView_pimpl.C: revert to showCursor in connection with
488 Lars's front-end stack
490 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
492 * text.C (redoParagraph): move cursor right after a bibitem
495 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
497 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
499 * buffer_funcs.C (bufferErrors): fix computation of the end of an
502 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
504 * BufferView.[Ch] (update):
505 * BufferView_pimpl.[Ch] (update, metrics):
506 * dimension.h (operator==):
507 * lyxfunc.C (dispatch):
508 * metricsinfo.h (ViewMetricsInfo):
509 * rowpainter.C (paintText):
511 * text.C (redoParagraph):
512 * text3.C (dispatch): Make LyX only repaint current paragraph in
513 case of character insert --> speedup. Also fix cursor draw
516 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
518 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
519 avoid a crash (bug 1891)
521 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
525 * text2.C (getStringToIndex): constify cur argument.
527 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
528 argument has been given
529 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
530 try to invoke LFUN_INSET_APPLY).
532 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
533 if no inset was created by doInsertInset
534 (doInsertInset): return true if an inset has been inserted.
536 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
538 * vspace.C (asGUIName): new method. A version of the space
539 suitable for showing on screen.
541 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
544 * lyxrc.C: rename "ASCII" to "Plain Text"
546 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
548 * buffer_funcs.C (expandLabel): take a Buffer as argument;
549 translate the labelstring.
550 (setCounter): translate labelstring as needed.
552 * output_docbook.C (makeCommand): fix expandLabel invokation
554 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
556 * BufferView.C: fix dialog title
558 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
560 * lyx_main.C (priv_exec): fix logic error with help from Angus
561 * lyx_main.C (parse_execute): set is_gui = false and remove now
562 obsolete comment about a segfault
564 2005-05-18 Angus Leeming <leeming@lyx.org>
566 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
568 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
570 * tabular.[hC]: added setCellInset to fix tabular paste.
572 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
574 * buffer.C (save): check if destination is writable before trying
577 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
579 * BufferView_pimpl.C (update): fix processEvents -caused update
582 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
584 * buffer_funcs.C (setCounter): fix test for numbering of
587 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
588 depth correctly; use optional argument when it exists
590 * lyxtextclass.C: remove unused MaxCounterTags enum
591 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
592 (max_toclevel, min_toclevel): new methods.
594 * MenuBackend.C (expandToc2): fix case where depth is smaller than
595 the smallest depth in toc.
597 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
598 layouts that should not appear in a table of contents.
600 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
602 * cursor.h (undispatched, noUpdate): add comments from Andr�
603 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
607 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
609 2005-05-07 André Pönitz <poenitz@gmx.net>
611 * cursor.[Ch] (leaveInset): new function
613 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
615 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
617 2005-05-04 Angus Leeming <leeming@lyx.org>
619 * lyxfunc.C (getStatus): disable the spell checker dialog if
620 none of USE_[AIP]SPELL are defined.
622 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
624 * tabular.C (setWidthOfCell): remove obsolete comment
626 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
628 * paragraph.C (bibitem):
629 * buffer_funcs.C (setCounter):
630 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
632 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
634 * text3.C (getStatus): immediately return after setOnOff
636 * rowpainter.C: fix drawing of appendix start
638 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
640 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
641 SwitchBetweenClasses and remove the unused return value.
642 Handle character styles, too
644 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
646 * factory.C (createInset): handle undefined character styles
648 2005-05-02 Angus Leeming <leeming@lyx.org>
650 * buffer.C: protect the #include of utime.h with a preprocessor
653 2005-05-02 Angus Leeming <leeming@lyx.org>
655 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
656 function so that auto-saving works, albeit in a blocking manner.
658 * Makefile.am: make compilation of the client sub directory, of
659 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
660 on conditionals set at configure time.
662 * SpellBase.[Ch]: no longer an abstract base class. Instead,
663 it can be compiled in its own right but has no-op functionality.
665 * aspell.C, pspell.C: remove preprocessor guards. The files should
666 be compiled only if the necessary functionality exists.
668 * lyxserver.C, lyxsocket.C: disable on Windows.
670 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
672 * text.C (leftMargin): Fix the parindent use bug (1764)
675 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
677 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
680 2005-04-25 Angus Leeming <leeming@lyx.org>
688 include <config.h> in .C files, not .h ones.
690 protect headers inside preprocessor guards.
692 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
694 * FuncStatus.h (StatusCodes): document
696 2005-04-21 André Pönitz <poenitz@gmx.net>
698 * FuncStatus.h (enabled, onoff): document
700 2005-04-19 Angus Leeming <leeming@lyx.org>
702 * BufferView_pimpl.C (cursorToggle): no longer test whether
703 any child processes have been reaped before calling
704 handleCompletedProcesses().
706 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
708 * text3.C (dispatch): fix, finally fix, the language problem in
709 new lyxtexts, without disabling on-the-fly font changes (Helge's
712 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
714 * text3.C (dispatch): set cursor on double/triple click events
717 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
719 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
720 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
722 * rowpainter.C (paintFirst): simplify the code a little bit. In
723 particular, remove the test for secnumdepth.
724 * text.C (setHeightOfRow): only allocate space for chapter number
725 when updateCounters provided an actual label, instead of looking
726 at secnumdepth directly.
728 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
730 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
731 paragraphs when secnumdepth is large enough or, for environments,
732 when they are not the first in a sequence.
734 2005-04-17 Angus Leeming <leeming@lyx.org>
736 * buffer.C (makeLaTeXFile): replace code to manipulate a path
737 containing space and '~' characters with a call to latex_path().
739 2005-04-17 Angus Leeming <leeming@lyx.org>
741 * converter.C (convert): protect all args of convertDefault.sh
744 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
746 * text3.C (dispatch): change the layout to "Caption" after inserting
749 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
751 * text3.C (dispatch): fix language problem in newly created
752 textinsets (and main text) in non-english docs
754 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
756 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
757 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
758 * text3.C (getStatus): disable LFUN_INSET_MODIFY
760 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
765 * rowpainter.C (getFont): Fix metrics bug introduced by inset
768 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
770 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
771 output of \item arguments without trailing text.
773 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
775 * FontIterator.C (operator*): avoid a copy of the font.
777 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
779 * rowpainter.C (getFont): fix language bug from previous fix
781 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
783 * rowpainter.C (RowPainter, getFont): fix font inside inset
786 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
788 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
789 preventing inserted font, deco, delim insets jumping to start of
792 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
794 * lyxfunc.C (dispatch): translate message before sending it to the
797 2005-03-29 Angus Leeming <leeming@lyx.org>
799 * lyx_main.C (priv_exec): call os::internal_path on each file passed
800 to LyX on the command line.
802 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
804 * vc-backend.C: use QuoteName to protect file names wherever
807 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
810 * BranchList.h: fix bugs 1844,1845: document settings don't
813 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
815 * lyxrc.C (setDefaults, read, output, getDescription): add support
816 for tex_allows_spaces.
818 * exporter.C (Export): allows files in directory containing spaces
819 if tex_allows_spaces is true.
821 * buffer.C (makeLaTeXFile): if the document path contains spaces,
822 output it in double quotes.
824 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
826 * rowpainter.C: use default text height for drawing change tracker
829 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
831 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
833 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
835 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
836 directory is missing.
838 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
840 * text2.C: fixed the fix, extended to other case.
842 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
844 * text2.C: fix for cursor up/down stuck in math [bug 1792]
846 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
848 * text2.C (cursorUp): get rid of a crash
849 * text.C (x2pos): add an assert
851 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
853 * lyxfunc.C (getStatus): fix warning when assertions are disabled
857 * dociterator.C: include <boost/current_function.hpp>, which is
858 needed when assertions are disabled.
860 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
862 * text2.C: fix for stuck cursor when traversing two
863 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
865 2005-02-25 Andreas Vox <avox@arcor.de>
867 * output_docbook.C (makeParagraph): suppress trailing newline
868 after a run of paragraphs
870 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
872 * paragraph.C: fix for confused change tracker when pasting
873 text that begins with a lineseparator. [bug 1827]
874 (setChange(0, Change::INSERTED);)
876 * paragraph_funcs.C: fix for lost changes on triple-paste
877 in change tracking mode [bug 1827] (par.setChange()).
879 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
881 * text2.C (updateCounters, setCounter, expandLabel): move to
884 * buffer_funcs.C (updateCounters): turn into a free standing
885 function and add a buffer parameter. Remove dead code for tracking
887 (setCounter): change into a free-standing function which gets a
888 dociterator as argument. Use this iterator to fix captions in a
889 simple way. When no float is found above the caption, use the
890 labelstring of the caption layout as default.
892 * text.C (breakParagraph, backspace):
893 * text2.C (init, setLayout, changeDepth):
894 * text3.C (dispatch):
895 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
898 * dociterator.C (forwardPar): make it much faster by calling
899 forwardPos() only when really necessary.
901 * output_docbook.C (makeCommand): adapt to expandLabel move.
903 * cursor.C: remove unused variable
905 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
907 * paragraph_funcs.C: fix crash when pasting insets in change
908 tracking mode [bug 1277] (honour change type in moveItem).
910 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
912 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
914 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
916 * BufferView.C (setCursor): change to use a DocIterator.
917 (gotoLabel): use BufferView::setCursor (other part of bug 781).
918 (putSelectionAt): adapt to BufferView::setCursor change.
920 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
921 moved here from LyXText and rewritten to use proper cursor
922 methods. Fixes bug 1787, 616 and 835.
924 * BufferView_pimpl.C (restorePosition): set the cursor correctly
925 when inside an inset (part of bug 781).
926 (dispatch): adapt to change of BufferView::setCursor.
927 (getStatus, dispatch): handle LFUN_GOTOERROR,
928 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
930 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
931 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
932 * text3.C (gotoNextInset, gotoInset): removed.
934 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
936 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
938 2005-02-15 Angus Leeming <leeming@lyx.org>
940 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
941 can be used meaningfully in a comparison.
943 2005-02-13 André Pönitz <poenitz@gmx.net>
945 * bufferview_funcs.C (coordOffset): improve cursor drawing
947 2005-02-13 André Pönitz <poenitz@gmx.net>
949 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
950 * Cursor.C (dispatch): use fixIfBroken
951 * lyxfunc.C (getStatus): use fixIfBroken
953 2005-02-15 Angus Leeming <leeming@lyx.org>
955 * lyx_main.C (error_handler):
957 * lyxrc.C (setDefaults):
959 #include "environment.h".
961 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
963 2005-02-15 Angus Leeming <leeming@lyx.org>
965 * lyxserver.C (startPipe): squash MSVC warning "local variable
966 'fd' used without having been initialized".
968 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
970 * BufferView_pimpl.C: revert accidental commit.
972 2005-02-14 André Pönitz <poenitz@gmx.net>
974 * dociterator.[Ch]: new member forwardPosNoDescent(),
975 which doesn't enter nested insets.
976 * text2.C (setFont): use forwardPosNoDescent() instead
977 of ForwardPos() (fixes crash on font change).
979 2005-02-13 Angus Leeming <leeming@lyx.org>
981 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
982 only if lyxrc.path_prefix is not empty.
984 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
986 * bufferparams.C (readGraphicsDriver): prevent crash
988 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
990 * text2.C (setCounter): check for inInset() == 0
992 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
994 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
995 but use update() to get correct screen display; use convert
996 instead of istringstream.
997 (getStatus): handle LFUN_GOTO_PARAGRAPH
999 * lyxfunc.C (dispatch, getStatus): do not handle
1000 LFUN_GOTO_PARAGRAPH here.
1002 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1004 * text3.C (dispatch): size() -> depth()
1006 * text2.C: remove some debug output
1008 * paragraph.C: ws changes only
1010 * lyxfunc.C (getStatus): size() -> depth()
1012 * dociterator.h (clear, push_back, pop_back, internalData,
1013 operator[], resize, empty): new functions
1014 Make StableDocIterator and operator== be friends. Don't inherit
1015 from std::vector use a privat class variable slices_ instead.
1018 * dociterator.C: update because of not inheriting from std::vector
1019 anymore. Call explictly to slices_ instead. Use depth() instead of
1020 size() and top() instead of back()
1022 * cursor.C: chagne size() -> depth and back() -> top(). Also
1023 remove some direct operator[](i) calls in favour of foo[i]
1024 (getFont): remove some dead code
1026 * bufferview_funcs.C (coordOffset): size() -> depth()
1028 * buffer.C: ws changes only
1030 * CutAndPaste.C (eraseSelection): back() -> top()
1032 * BufferView_pimpl.C (selectionRequested): back() -> top()
1034 * BufferView.C (setCursor): size() -> depth()
1036 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1038 * text3.C (cursorPrevious): return true if depm changed something
1040 (dispatch): rename sl to oldTopSlice, remove moving use the new
1041 NoUpdate func attrib instead. Make sure that needsUpdate is set
1042 for function that have NoUpdate, but where depm might have changed
1045 * text2.C (cursorLeft): make us return true if depm changed
1047 (cursorRight): ditto
1048 (cursorUpParagraph): ditto
1049 (curosrDownParagraph): ditto
1050 (cursorUp, cursorDown): ditto, make sure to read comments in code
1051 (deleteEmptyParagraphMechanism): remove an assert, also return
1052 true if just a single char was deleted.
1054 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1055 cursor that we modify, to avoid modifying an active cursor before
1056 we call setCursor. This allows depm to run. Also return true if
1057 depm deleted something.
1059 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1060 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1061 cursorDownParagraph, cursorPrevious and cursorNext, return true if
1062 something was changed in the buffer because of them (ie. depm run)
1064 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1065 debug messages. Make update by default be false. Make sure that
1066 the result of update is retained throught several calls down to
1069 * LyXAction.h: add a new func_attrib: NoUpdate
1071 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1072 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1073 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1075 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1077 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1079 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1080 bv_->owner(), bv_->buffer() by direct references to the private
1082 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1083 (getStatus): isSavedPosition() is in BufferView::Pimpl.
1084 (fitCursor): center() is in BufferView::Pimpl.
1085 (getStatus, trackChanges, dispatch): no need for a temporary buf
1087 (fitCursor, workAreaDispatch): use workarea().workheight()
1089 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1091 * CutAndPaste.C (pasteSelectionHelper): fix a crash
1093 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1095 * buffer.C: format up to 241.
1096 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1097 break if pasting into ERT
1098 * lyxfunc.C (getStatus): suppress mathpanel and
1099 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1101 2005-02-01 Angus Leeming <leeming@lyx.org>
1103 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1105 2005-02-01 Angus Leeming <leeming@lyx.org>
1107 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1108 calling fs::is_directory().
1110 2005-01-31 Angus Leeming <leeming@lyx.org>
1112 * lyx_main.C (priv_exec): specify explicitly the relative location
1113 of the top level build directory when run in-place.
1115 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1117 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1118 LyXText containing the cursor, not the top-level one.
1120 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1122 (insertStringAsLines): rename par to pit; use temporary variable
1123 par to hold a Paragraph; do not store par.layout() in a variable,
1124 since the pointer may die when breaking paragraphs; pass pars to
1125 breakParagraph() instead of Buffer::paragraphs().
1127 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1129 * lyxlex_pimpl.h: #include <fstream>.
1131 * BufferView.[Ch] (getLyXText): add a const version.
1133 * BufferView_pimpl.C: add debug aids.
1138 * paragraph_funcs.h: add commentary explaining what the class does.
1141 * coordcache.[Ch]: add lots of commentary.
1142 (startUpdating, doneUpdating): debug aids.
1143 (arrays, insets, parPos, getParPos): accessors to private data.
1145 * cursor_slice.[Ch] (text): add a const version.
1146 * dociterator.[Ch] (text, innerText): add const versions.
1148 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1151 * paragraph.C (getRow, pos2ros): add asserts.
1153 * paragraph.h: add commentary. Lots of.
1155 * paragraph.[Ch] (metrucs, draw): removed.
1158 * rowpainter.[Ch]: const-correct changes.
1160 * text.C: various obvious clean-ups. Removal of ancient cruft.
1163 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1165 * vc-backend.C (find_file): rewrite to use boost.filesystem
1168 * main.C (main): set default name check for boost.filesystem to
1171 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1174 (actOnUpdatedPrefs): ditto
1176 * lyx_main.C (init): rewrite to use boost.filesystem
1177 (queryUserLyXDir): ditto
1179 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1180 (getContentsOfAsciiFile): ditto
1182 * lastfiles.C (readFile): rewrite to use boost.filesystem
1184 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1186 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1187 (loadLyXFile): ditto
1189 * buffer.C (Buffer): adjust for destroydir
1190 (getLogName): rewrite to use boost.filesystem
1191 (setFileName): ditto
1192 (save): use fs::copy_file (from fs_extras)
1194 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1196 * LaTeX.C (run): rewrite to use boost.filesystem
1197 (scanAuxFiles): ditto
1198 (handleFoundFile): ditto
1200 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1202 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1204 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1206 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1208 * lyxlayout.[Ch]: change some vars from float to double
1210 * buffer.C (readFile): make a local var const
1212 * Several files: use convert<> instead of atoi,strToXXX and friends
1214 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1216 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1217 holds the contents of packages.lst. New functions getAvailable
1218 and isAvailable to parse and check that list, resp.
1222 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1224 * bufferparams.[Ch]: new param output_changes.
1226 * Buffer.C: increase file format to 240.
1227 Use output_changes and isVailable.
1231 * paragraph_pimpl.C: Use output_changes and isVailable.
1233 2005-01-23 Angus Leeming <leeming@lyx.org>
1235 * output_latex.C: #include "insetbibitem.h", rather than
1236 forward declare function bibitemWidest.
1238 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1240 * lyx_main.C (init): make it compile on the Mac.
1242 2005-01-20 Angus Leeming <leeming@lyx.org>
1244 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1245 (setLyXMisc): (char string literal) != (char string literal) is
1246 performing a comparison on the addresses. Convert one operand
1247 explicitly to string to guarantee expected behaviour.
1250 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1253 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1255 * output_plaintext.C: remove unneeded #include gzstream.h.
1257 2005-01-20 Angus Leeming <leeming@lyx.org>
1259 * SpellBase.h: rename some of the elements of the Result enum.
1266 * pspell.C (check): ditto
1268 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1270 * buffer.C: add #include <fstream>.
1272 * lyx_main.C (init): Compile fix.
1274 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1276 2005-01-20 Angus Leeming <leeming@lyx.org>
1278 * mover.h: change commentary to reflect the changed meaning of
1279 the $$s placeholder.
1281 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1283 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1285 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1287 2005-01-20 Angus Leeming <leeming@lyx.org>
1289 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1290 printing diagnostic data by not dereferecing an iterator past the
1293 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1295 * buffer.C (readHeader): use "&&" rather than "and".
1297 * lyxserver.h (inPipeName, outPipeName): make these const.
1299 2005-01-19 Angus Leeming <leeming@lyx.org>
1301 * lyx_main.C (error_handler, init): protect SIGHUP with
1302 #ifdef SIGHUP guards.
1304 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1306 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1308 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1310 * text.C (setHeightOfRow): add a margin at the top and bottom of
1311 the document (bug 1761)
1313 2005-01-17 Angus Leeming <leeming@lyx.org>
1315 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1316 with "python ". Workaround for a brain-dead Windows.
1318 2005-01-16 Angus Leeming <leeming@lyx.org>
1320 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1321 for MacOSX and Windows to use prependEnvPath.
1322 Strip out the hard-coded block to add elements to the PATH for
1323 MacOSX and replace it with a call to prependEnvPath using the
1324 contents of LyXRC::path_prefix.
1325 (queryUserLyXDir): strip out the code to run reconfigure, instead
1326 returning a boolean indicating the necessity to do so.
1327 (reconfigureUserLyXDir): contains the code to reconfigure the
1328 user support directory. Is now called after the various LyXRC data
1329 files have been read.
1331 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1333 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1335 * converter.[Ch] (convert): take a new parameter try_default. Use
1336 a default converter (imagemagick) if try_default is true.
1338 2005-01-13 Angus Leeming <leeming@lyx.org>
1340 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1341 os::cygwin_path_fix.
1342 (write): output LyXRC::cygwin_path_fix as necessary.
1344 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1347 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1349 2005-01-12 Angus Leeming <leeming@lyx.org>
1351 * lyx_main.C (init): set the PATH variable to include the
1352 directory containing the LyX binary when running on Mac or Windows.
1354 2005-01-12 Angus Leeming <leeming@lyx.org>
1356 * lyx_main.C (init): remove cruft that purports to set the locale
1357 dir. It doesn't and is not needed anyway.
1359 2005-01-10 Angus Leeming <leeming@lyx.org>
1361 * Makefile.am: remove the lyx_main.C special casing.
1363 * BufferView_pimpl.C:
1369 * messages.C: use support/package.h to provide the paths to the
1370 various directories used by LyX.
1372 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1374 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1375 layout if pasting into an empty paragraph)
1377 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1379 * tex-accent.C: add <string>
1381 2005-01-06 José Matos <jamatos@lyx.org>
1383 * ParagraphParameters.C (write): put every parameter in its own line.
1384 * paragraph.C (write): reduce number of consecutive empty lines exported.
1385 * buffer.C (LYX_FORMAT): increase file format to 239.
1387 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1389 * everywhere: change support/tostr.h -> support/convert.h
1391 * tabular.C: make all write_attributes templates, tostr -> convert
1393 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1394 (emptyTag): and -> &&, and fix type for ret from getChar
1395 (getFirstWord): fix type for ret from getChar
1396 (onlyText): and -> &&
1397 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1400 * toc.C (goTo, action):
1401 * text3.C (dispatch):
1402 * text.C (currentState):
1403 * tex-accent.C (DoAccent):
1406 * lyxfunc.C (menuNew):
1407 * lyxfinc.C (replace):
1408 * counters.C (laberItem):
1409 * bufferview_funcs.C (font2string):
1410 * bufferparams.C (writeFile):
1411 * buffer.C (readFile):
1413 * MenuBackend.C: tostr -> convert
1415 * LaTeX.C (runMessage): fix format
1416 (scanAuxFiles): tostr -> convert
1418 * BufferView_pimpl.C (savePosition): fix format
1419 (restorePosition): ditto
1422 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1424 * Spacing.[Ch]: New method getValueAsString().
1428 * ParagraphParameters.C:
1431 * text3.C: store/read spacing value as string.
1433 * rowpainter.C: change float value (spacing_val) to double.
1435 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1436 broken custom document spacing).
1438 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1440 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1441 namespace, also more use of temp references and const
1443 * cursor.[Ch] (getStatus): move to lyxfunc.C
1445 * bufferparams.C: reformat slightly
1447 * bufferview_funcs.C (font2string): constify arg
1453 * buffer_funcs.C: (many funcs): constify arg on function
1454 definitions, also make more local vars const, also add ASSERTS on
1457 * buffer.C (LYX_FORMAT): put const in correct place
1458 (many funcs): constify arg on function definitions, also make
1459 more local vars const
1461 * aspell_local.h: remove "struct" from typdef setup
1463 * aspell.C (check): make word_ok const
1464 (nextMiss): simplify slightly
1467 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1469 * lyxrc.[Ch]: store all float values as strings.
1470 use int (not float) for lyxrc.dpi.
1472 2005-01-04 Angus Leeming <leeming@lyx.org>
1474 * lyx_cb.C (Reconfigure):
1475 * lyx_main.C (queryUserLyXDir):
1476 to run the <system_lyxdir>/configure correctly on Windows, prefix
1477 the path to the script with "sh " when generating the string that
1478 is passed to system().
1480 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1482 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1484 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1486 * lyxlength.C (asLatexString): get rid of setprecision
1488 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1490 * text2.C (setLayout): remove unused variable endpit.
1491 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1493 * paragraph.C (onlyText): remove unused variable style.
1495 * cursor.C (bruteFind): remove unused variables beg and end.
1497 * Makefile.am (dist_noinset_DATA): not needed anymore
1499 * cheaders/*: remove.
1501 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1503 * text3.C: fix LFUN_MATH_MODE.
1505 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1507 * buffer_funcs.C (countWords): new function. Counts words between
1510 * BufferView_pimpl.C (getStatus, dispatch): handle
1513 * LyXAction.C (init):
1514 * lfuns.h: add LFUN_WORDS_COUNT.
1516 2004-12-19 Angus Leeming <leeming@lyx.org>
1518 * buffer.C (save): s/slashify_path/internal_path/.
1520 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1522 * lyxfind.C (findChange): do not search for end of pars, because
1523 the change tracker cannot handle this (fixes bug 1719).
1525 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1527 * paragraph.[Ch] (autoBreakRows): remove
1529 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1531 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1532 avoid using the paragraph one
1534 * text2.C (LyXText, insertStringAsLines): adjust
1536 2004-12-16 Angus Leeming <leeming@lyx.org>
1540 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1542 2004-12-14 Angus Leeming <leeming@lyx.org>
1544 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1546 * bufferlist.C (emergencyWrite):
1547 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1550 2004-12-14 Angus Leeming <leeming@lyx.org>
1552 * main.C: (main): no longer pass pointers to os::init.
1554 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1556 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1557 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1559 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1562 * text3.C: remove selection_possible global flag
1564 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1566 * text2.C (getSelectionSpan): remove
1567 (changeDepth, changeDepthAllowed): adjust
1569 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1571 * Makefile.am (BOOST_LIBS): use boost variables
1573 2004-12-03 José Matos <jamatos@lyx.org>
1575 * buffer.C: format up to 238.
1577 2004-12-03 José Matos <jamatos@lyx.org>
1579 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1581 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1583 * cursor.C (goUpDown): remove call to idxUpDown2
1585 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1587 * tabular.[Ch]: use size_t-like types for cell, row and column
1590 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1592 * lyxfunc.C (getStatus): do not lose previous information when
1593 calling BufferView::getStatus; do not set a default "Command
1594 disabled" message at the beginning, but just before returning.
1596 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1598 * cursor.h (getStatus): add better comment from src/cursor.C
1600 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1602 * text3.C (getStatus): return false when the lfun is not handled
1604 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1606 * broken_headers.h: remove
1608 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1610 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1612 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1613 offset_ref accessors
1615 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1616 top_y_, merge fitcursor with update
1617 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1619 (metrics): introduce
1620 (workAreaDispatch): adapt to new coord scheme
1621 (redoCurrentBuffer): remove
1623 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1625 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1628 * coordcache.[Ch]: add paragraph cache and helpers
1630 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1633 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1634 (targetX, setTargetX): introduce
1636 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1637 baseline -> ascent, as the rest of lyx
1639 * lyxtext.h: remove redoParagraphs, updateParPositions,
1640 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1641 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1642 have ascent/descent (ascent is ascent of first par)
1644 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1647 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1649 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1651 * pariterator.C: fix infinite loop introduced in par->pit renaming
1653 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1654 in insets and LyXText, draw two off-screen paragraphs using
1655 NullPainter, and adapt to new coord scheme
1659 * text3.C: adapt lfun handlers to the new coord scheme, which
1660 means: there's only guaranteed coord information for onscreen pars
1661 plus one above and one below. This implies that one can do search
1662 from y coordinates in the range [-1,workHeight]
1664 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1666 * rename a lot of InsetOld to InsetBase
1668 2004-11-25 Angus Leeming <leeming@lyx.org>
1670 * BufferView_pimpl.C:
1672 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1674 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1676 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1677 call BufferView::getStatus if LCursor::getStatus did nothing
1678 (setStatusMessage, getStatusMessage): removed.
1680 * FuncStatus.C (message): new methods. Used to provide an error
1681 message indicating why a command is disabled.
1682 (clear, |=, FuncStatus): update for message.
1684 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1686 * lyxfunc.C (dispatch): always call sendDispatchMessage
1688 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1691 * BufferView_pimpl.C:
1696 * cursor_slice.[Ch]:
1699 * paragraph_funcs.C:
1705 * undo.C: par->pit renaming
1707 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1709 * tabular.C (cellstruct): use initialization, store a shared_ptr
1710 to insettext instead of the insettext directly, adjust to fit.
1711 (operator=): new function
1712 (swap): new function
1713 (rowstruct): use initialization
1714 (columnstruct): use initialization
1715 (ltType): use initialization
1718 * lyxlength.h (swap): new function
1720 * LColor.[Ch] (operator=): use the common semantics
1722 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1724 * lyxfind.C (findNextChange): update the bufferview after setting
1727 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1729 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1730 number of InsetOptArgs has already been inserted.
1732 * output_latex.C (latexOptArgInsets): new method. This outputs all
1733 the optarg insets, up to the limit defined in the layout file.
1734 (optArgInset): removed
1735 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1737 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1739 * paragraph.C (isLetter): remove special spellchecker-related
1740 code; return true also for digits
1741 (isWord, isKomma): remove
1743 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1744 * lyxfind.C (MatchString()): use isLetter instead of isWord
1746 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1748 * pariterator.h (operatir=): comment out un-implemented member
1751 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1754 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1756 * lyxfont.h: include LColor.h to satisfy concept checks.
1758 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1760 * pariterator.h: add typdefs for value_type, difference_type,
1761 pointer and reference to satisfy concept checks. Also add default
1762 constructor for same reason.
1764 * pariterator.C (operator++): add post-increment operator to
1765 satisfy concept checks.
1767 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1770 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1772 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1773 checks. Also rename base_type to BaseType to follow naming
1776 * FloatList.h: include Floating.h to satisfy concept checks.
1778 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1780 * lyxfunc.C (getStatus): when the origin of the request is menu or
1781 toolbar, and the LyXView does not have focus, do as if there was
1782 no buffer (bug 1720)
1784 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1785 FuncRequest to individual entries of LFUN_SEQUENCE
1787 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1789 * output_latex.C (TeXOnePar): override runparams.moving_arg
1790 according to the needprotect value of the current paragraph (bug
1793 * paragraph.C (simpleTeXOnePar): no need to override
1794 runparams.moving_args here
1796 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1798 * vspace.C: fix off-by-one-error, related to fix #1682
1800 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1802 * lengthcommon.C: a more general fix for bug 1682
1804 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1806 * text.C (backspace): fix crash
1808 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1810 * format.[Ch] (getFormatFromFile): new method
1811 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1813 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1815 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1817 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1819 * lyxfunc.C (dispatch): remove the verbose argument
1820 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1823 * kbmap.C (defkey): set the origin of func to KEYBOARD
1825 * MenuBackend.C (MenuItem):
1826 * ToolbarBackend.C (add): set the origin of func to UI
1828 * funcrequest.[Ch]: add origin member, which indicates which part
1829 of LyX requests an action
1831 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1833 * converter.C (move): don't lie in the error message
1834 * converter.h (isReachable, move): document
1836 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1838 * buffer.C: remove unused using lyx::support::atoi
1839 * paragraph_funcs.C: ditto
1841 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1843 * bufferlist.C (exists): use bind and equal_to instead of
1846 * lyxtextclasslist.C (NumberOfClass): ditto
1848 * cursor.C (insert): use for_each instead of explicit for loop
1850 * bufferlist.C (getFileNames): use std::transform and
1851 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1853 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1856 * buffer.C (changeLanguage): use for_each instead of explicit for
1858 (hasParWithID): implement using getParFromID
1860 * LaTeXFeatures.C: ws change only
1862 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1865 * BufferView_pimpl.C (trackChanges): use for_each instead of
1868 2004-11-04 André Pönitz <poenitz@gmx.net>
1871 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1873 * dociterator.C (asDocIterator): use hard assert again.
1875 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1877 * lyxlength.C (asLatexString): rewrite so that it does not use
1880 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1882 * text3.C (specialChar, dispatch): make sure cursor moves to the
1883 right after inserting an inset
1885 2004-11-02 José Matos <jamatos@lyx.org>
1887 * output_docbook.C (docbook):
1888 * paragraph.C (getID):
1889 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1890 garantee that the output is always legal.
1892 * tabular.C (docbook):
1893 * outputprams.[Ch]: remove mixed contents.
1895 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1897 * text2.C (setCounter): prevent endless loop
1899 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1901 * exporter.C (copyFile): use the mover instead of support::copy()
1902 * exporter.C (Export): pass format and latex name to copyFile()
1903 * exporter.h (addExternalFile): document
1904 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1906 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1908 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1910 2004-10-30 José Matos <jamatos@lyx.org>
1912 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1913 text and no inset or font change. This allows to use CDATA
1914 sections just for the whole paragraph.
1916 2004-10-30 José Matos <jamatos@lyx.org>
1918 * paragraph.C (getFirstWord): remove unused variable.
1920 2004-10-30 José Matos <jamatos@lyx.org>
1922 * paragraph.C (getFirstWord): the content should always be escaped
1924 (simpleDocBookOnePar):
1925 * output_docbook.C (makeEnvironment): replace reference to CDATA
1928 2004-10-30 José Matos <jamatos@lyx.org>
1930 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1932 2004-10-30 José Matos <jamatos@lyx.org>
1934 * output_docbook.C (makeParagraphs):
1935 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1936 standard paragraph has only a given type of content drop the wrapper.
1938 2004-10-29 José Matos <jamatos@lyx.org>
1940 * output_docbook.C (makeEnvironment):
1942 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1944 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1946 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1947 (cleanID): sanitize any id.
1949 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1951 * buffer.C, lyxlex_pimpl.C:
1952 * lyxlex_pimpl.C (setFile):
1953 s/getExtFromContents/getFormatFromContents/
1955 2004-10-28 José Matos <jamatos@lyx.org>
1957 * output_docbook.C (makeEnvironment): move id to broadest possible
1960 * sgml.C (openTag): apply substitution of <> for all attributes.
1962 2004-10-28 José Matos <jamatos@lyx.org>
1964 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1965 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1966 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1968 * sgml.[Ch]: new version for open and closeTag for paragraph and
1969 for strings. Now they handle the ids of paragraphs.
1971 2004-10-26 Angus Leeming <leeming@lyx.org>
1973 * Makefile.am: add mover.[Ch].
1975 * converter.C (convert, move): use the new Movers to move external
1976 files to the temp directory.
1978 * lyx_main.C (init): ensure that the global system_movers data
1981 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1984 * mover.[Ch]: new files, defining a Mover as a utility to move an
1985 external file between directories and, if necessary, manipulate this
1986 file using a helper script.
1988 2004-10-25 José Matos <jamatos@lyx.org>
1990 * output_docbook.C (makeCommand): merge two if's that tested the
1993 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1995 * sgml.C (escapeString): fix warning in a better way
1997 2004-10-25 José Matos <jamatos@lyx.org>
1999 * sgml.C (escapeString): import the require boosts header file for
2000 tie, and avoid a signed unsigned comparison.
2002 2004-10-25 José Matos <jamatos@lyx.org>
2004 * sgml.h: add #include <string>
2006 2004-10-25 José Matos <jamatos@lyx.org>
2008 * sgml.[Ch] (escapeString): new function to escape all the string.
2010 2004-10-24 José Matos <jamatos@lyx.org>
2012 * paragraph.[Ch] (getFirstWord): new function to get the first
2013 word. Useful for description.
2014 (simpleDocBookOnePar): remove depth argument, add another that
2015 says where to start the paragraph.
2017 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2018 use the new functions to fix cleanly the support for descriptions.
2020 2004-10-24 José Matos <jamatos@lyx.org>
2022 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2023 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2024 * output_linuxdoc.C (linuxdocParagraphs):
2025 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2026 add buffer as argument.
2028 2004-10-24 José Matos <jamatos@lyx.org>
2030 * output_docbook.C (makeEnvironment, searchEnvironment): place
2031 CDATA inside paragraphs and fix scope for listitems.
2033 2004-10-24 José Matos <jamatos@lyx.org>
2035 * output_docbook.C: remove using statement for stack.
2037 2004-10-23 José Matos <jamatos@lyx.org>
2039 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2040 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2041 docbook. The new scheme is recursive and makes use of iterators, the
2042 same as latex export works.
2043 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2044 directly with the paragraph contents. This code was moved up to
2045 output_docbook.C (docbookParagraphs).
2046 * sgml.C (openTag, closeTag): removed unneeded newlines.
2047 (closeEnvTags) removed.
2049 2004-10-23 André Pönitz <poenitz@gmx.net>
2051 * undo.C (textUndoOrRedo):
2052 * dociterator.C (asDocIterator): work around crash
2054 * cursor.C (getStatus): replace ASSERT by more verbose error message
2055 and manual correction of the problem. Should increase stability
2056 while providing more sensible information.
2058 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2060 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2062 * bufferlist.C (previous, next): new methods
2065 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2067 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
2069 * buffer.C (makeDocBookFile): add dsssl stylesheet control
2070 entities to preamble.
2072 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2074 * messages.C (Pimpl): strip off translation context information
2076 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2078 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2079 the cursor is correct (bug 1694)
2081 2004-10-13 José Matos <jamatos@lyx.org>
2083 * output_docbook.C (docbookParagraphs): fix closing tags in the
2084 end of the document.
2086 2004-10-09 José Matos <jamatos@lyx.org>
2088 * buffer.C: format up to 237.
2089 * bufferparams.C (write): use tostr to convert booleans to strings.
2091 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
2093 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2095 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2097 * LaTeX.C: implement use of babel language in xindy.
2099 2004-10-05 José Matos <jamatos@lyx.org>
2101 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2102 Add new translators to help reading and writing the lyx file.
2104 2004-10-05 José Matos <jamatos@lyx.org>
2106 * ParagraphParameters.C (read):
2107 * text.C (readParToken): replace nexToken by more appropriate lex
2110 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2112 * LaTeX.C (runMakeIndex):
2113 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2114 (usually 'makeindex') configurable.
2116 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2117 with a variable rather than with a number.
2119 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2121 * output_latex.C (TeXOnePar): make sure font setting is the first
2122 thing that gets output (and the last at the end). Should fix bug
2125 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2127 * pch.h: use proper signal include
2129 * LaTeX.h: Use preferred calling of Boost.Signal
2132 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2134 * pch.h: dont include <boost/function/function0.hpp>
2136 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2138 * paragraph_pimpl.h: remove usage of ShareContainer
2140 * paragraph_pimpl.C: remove initialization of ShareContainer.
2142 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2146 * BufferView.C (putSelectionAt): change the semantics when
2147 backwards == true: now, this just swaps cursor and anchor wrt the
2150 * BufferView.h (putSelectionAt): add some documentation
2152 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2153 make sure backwardChar is done at least once (to avoid getting
2155 (findNextChange): use putSelectionAt in the forward direction
2156 (operator()): use Paragraph::isWord
2158 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2160 * Spacing.C (set): c_str fix
2162 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2164 * lyx_cb.C (Reconfigure): quote the name of configure script in
2165 case it contains spaces
2167 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2171 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2172 (BOOST_LIBS): use top_buildir when looking for the file
2174 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2176 * pch.h: do not use include boost/format.hpp, multiple symbols
2177 will result (gcc bug)
2180 2004-08-23 José Matos <jamatos@lyx.org>
2182 * bufferparams.C (readToken): fix reading of the author field.
2184 2004-08-20 José Matos <jamatos@lyx.org>
2186 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2188 2004-08-20 José Matos <jamatos@lyx.org>
2190 * lyxlex.[Ch] (findToken): remove function.
2192 * ParagraphParameters.C (findToken):
2193 * bufferparams.C (findToken): replace call for previous function
2194 with local copy. This local function has one more argument, the
2195 read string argument.
2197 2004-08-16 José Matos <jamatos@lyx.org>
2199 * ParagraphParameters.C (write):
2200 * Spacing.C (writeFile):
2201 * bufferparams.C (writeLaTeX):
2202 * lyx_cb.C (Reconfigure):
2203 * paragraph.C (write):
2204 * tabular.C (write): remove unnecessary space at end of line.
2207 2004-08-16 José Matos <jamatos@lyx.org>
2209 * text.C (readParagraph): remove debug message.
2211 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2213 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2216 * output_plaintext.C (asciiParagraph): set depth correctly
2218 * outputparams.h: add member depth
2220 * paragraph_funcs.C (ownerPar): remove.
2222 * text2.C (setCounter): remove first_pit; comment out some
2223 non-working code that uses ownerPar
2225 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2228 2004-08-16 José Matos <jamatos@lyx.org>
2230 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2231 For the same level of importance use the same chanel to report problems.
2232 (read): add code to deal with \begin_body and \end_body.
2235 2004-08-15 José Matos <jamatos@lyx.org>
2237 * lyxlex.C (getString): fix comment, buffer::readBody is now
2238 buffer:readDocument.
2240 * tex-strings.C (string_papersize): Default -> default,
2241 Custom -> custom, for consistency with other options.
2243 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2247 * Makefile.am: support pch
2249 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2251 * text.C (readParToken): remove the static LyXFont variable and
2252 pass it as a parameter instead. This fixes a nasty bug where an
2253 inset will be inserted with a bad font in some situations
2254 (readParagraph): adapt
2256 * text2.C (setCounter): reduce number of calls to pars_[pit]
2258 * text.C (singleWidth): add an assert, fix a test
2260 * rowpainter.C (paintText): reduce number of calls to singleWidth
2262 * paragraph.C (isHfill):
2263 (isNewline): ws only
2265 2004-08-14 André Pönitz <poenitz@gmx.net>
2270 * lyxtext.h (several functions): use a Paragraph & argument
2273 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2275 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2277 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2279 * text.C (singleWidth): remove useless test
2281 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2283 * tabular.h: remove bogus comments
2285 * tabular.C (getDescentOfRow):
2286 (isPartOfMultiColumn): add assertions
2288 * lyxlength.C (inPixels): remove #warning
2290 2004-08-14 André Pönitz <poenitz@gmx.net>
2292 * paragraph.h: inline getChar()
2294 * BufferView.h: remove unused declarations
2296 2004-08-14 José Matos <jamatos@lyx.org>
2298 * Buffer.[Ch] (readDocument): new name for old readBody.
2299 * Buffer.C: new file format, new keywords: \begin_document,
2300 \begin_header, \begin_body, \end_body.
2302 * bufferparams.C (readToken): replace all calls to lex.nextToken
2303 by lex.next(). Do the same to eatLine except where really needed.
2305 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2306 line when writing to the lyx file.
2308 * output_plaintext.C (asciiParagraph): fix Bibliography style
2311 * text.C (read): fix end of file handling.
2313 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2315 * MenuBackend.C (Menu::operator[]): new method to access
2316 individual menu items
2317 (Menu::hasFunc): new method. search for an item that corresponds
2319 (MenuBackend::specialMenu): new method
2320 (MenuBackend::expand): if a special menu has been set, skip
2321 entries whose func() appears in this menu
2323 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2325 * text3.C: use Debug::DEBUG a bit more
2327 * text.C (leftMargin): try to simplify a tiny bit change var x to
2328 l_margin. Dont output the wide margins always.
2329 (rightMargin): no margin in inner texts
2331 * rowpainter.h (nestMargin): new func
2332 (changebarMargin): new func
2333 (rightMargin): new func
2335 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2339 * factory.C (createInset): modify setDrawFrame
2341 * cursor.C: use Debug::DEBUG a bit more
2343 2004-08-14 André Pönitz <poenitz@gmx.net>
2346 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2347 cache for all insets in (at least partially) visible (top-level)
2350 * BufferView_pimpl.C: reset external coord cache before every update.
2351 This means the coord cache only contains valid entries.
2353 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2356 * BufferView_pimpl.C (getInsetByCode): move function out of class
2357 and change in to a template in anon namespace. Also fix to do what
2360 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2363 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2365 (breakParagraph): rename par to par_offset and use a local
2366 reference. Add code to keep the language over a rebreak.
2367 (breakParagraphConservative): rename par to par_offset, use a
2369 (mergeParagraph): ditto
2371 (isFirstInSequence): ditto
2372 (outerFont): rename pit to par_offset
2374 * paragraph.C: ws change
2375 * paragraph.h: ditto
2379 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2381 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2384 * paragraph.C (simpleTeXOnePar): when we have a \item with
2385 optional argument, enclose the argument with curly brackets (in
2386 case it contains a closing square bracket)
2390 * text3.C (checkInsetHit): constify
2392 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2394 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2395 documents (bug 1629)
2397 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2399 Fix toggling of collapsable insets with the mouse (bug 1558)
2401 * lyxfunc.C (dispatch): adapt to LCursor changes
2403 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2404 make sure that dispatch is not invoked twice
2406 * cursor.C (needsUpdate): new method
2407 (dispatch): return void
2408 (result): new method, to access the DispatchResult of the cursor.
2410 2004-08-13 José Matos <jamatos@lyx.org>
2412 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2414 2004-08-13 André Pönitz <poenitz@gmx.net>
2416 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2418 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2421 2004-08-12 André Pönitz <poenitz@gmx.net>
2423 * text3.C: take out the 'cursor right' form insertInset and only
2424 do it in those places when it is really needed. Fixes crash on
2427 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2429 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2431 * BufferView_pimpl.C (setBuffer): initialize the current font of
2432 the underlying LyXText
2434 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2436 * kbsequence.C (print): use UI native formatting for menu
2439 * text.C (insertChar): call Paragraph::insertChar with a font
2442 * paragraph.C (insertInset, insertChar): the version that takes a
2443 LyXFont argument is now a wrapper around the other one (the
2444 opposite used to be true).
2446 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2447 argument. Font setting is done in Paragraph now.
2449 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2451 * outputparams.h: add new members intitle and lang.
2453 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2454 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2456 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2458 * text3.C (dispatch): remove special handling of button 4 and 5,
2459 it is now taken care of in the frontend code.
2461 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2463 * Spacing.h: add <string> (STLPort compile fix)
2465 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2467 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2469 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2471 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2474 * converter.C (showMessage): inherit from unary_function, make
2477 * buffer.C (writeFile): initialize retval
2479 * InsetList.h: rename private variable list to list_
2480 * InsetList.[Ch]: adjust accordingly.
2482 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2484 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2485 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2486 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2487 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2488 * ParagraphParameters.C, LaTeXFeatures.C: replace
2489 "support/std_sstream.h" with <sstream>
2491 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2493 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2494 * lyxsocket.C (LyXServerSocket): ditto
2495 (serverCallback): ditto
2497 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2499 * LaTeXFeatures.C: check release date when loading jurabib.
2501 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2503 * lyxserver.C (startPipe): call register_socket_callback
2504 (endPipe): call unregister_socket_callback
2506 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2508 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2509 (LyXServerSocket): register the callback
2510 (LyXServerSocket): unregister the callback
2511 (fd): delete function
2512 (serverCallback): improve error checking and setup the callbacks.
2513 (dataCallback): change arg to fd.
2514 (writeln): new func (copied fro the client socket) used for server
2516 (LyXDataSocket): simplify
2517 (~LyXDataSocket): close ann unregiser callback
2518 (server): delete function
2519 (fd): delete function
2520 (readln): small changes, improve some std::string usage
2521 (writeln): constify a bit
2523 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2525 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2528 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2530 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2531 after it has been populated
2533 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2535 * text2.C (insertInset): move cursor when inserting inset.
2537 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2539 * kbmap.C (findbindings): a couple of new methods. returns a
2540 container of kb_sequence objects. The real work is done by the
2541 private recursive version
2542 (printbindings): uses findbindings to print out a bracketed list
2543 of bindings (renamed from findbinding).
2545 * MenuBackend.C (binding): use kb_keymap::findbindings
2547 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2549 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2551 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2553 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2555 * paragraph.C (isWord): return true on insets that report
2558 * text.C (getWord): use Paragraph::isWord to decide what is in a
2559 word and what is not; fix bug 1609.
2561 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2563 * tex-strings.C: add "none" to string_paperpackages[], fixes
2564 off-by-one-error in the paperpackage selection.
2567 * tex-strings.[Ch]: char const * string[n]
2568 -> char const * const string[]
2570 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2572 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2573 command, return early.
2575 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2577 * debug.h: add DEBUG to enum and fix size of ANY.
2579 * debug.C: add support for Debug::DEBUG
2580 (showTags): cast errorTags.level to unsigned int
2582 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2583 (redoCurrentBuffer): ditto
2584 (updateScrollbar): ditto
2585 * cursor.C (dispatch): ditto
2586 * text2.C (setLayout): ditto
2588 (updateCounters): ditto
2590 (deleteEmptyParagraphMechanism): ditto
2592 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2594 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2595 annotations to cleanup the Makefile slightly.
2597 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2599 * lyxrc.C: do not set user_email to a default value but use empty
2600 instead. The entry used to be translated, which does not work
2601 since at the point where lyxrc is constructed there is no
2602 translation service available
2604 * messages.C (getLocaleDir): remove and use directly
2605 lyx_localedir() instead
2607 2004-06-02 Angus Leeming <leeming@lyx.org>
2609 Fix crash caused by dereferencing null pointer 'exportdata' in
2610 OutputParams by creating a new ExportData variable on the heap,
2611 storing it in a boost::shared_ptr.
2612 The crash was triggered when generating an Instant Preview
2613 of an external inset.
2615 * Makefile.am: add outputparams.C
2617 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2618 (c-tor): allocate memory to it.
2620 * exporter.C (c-tor): associated changes.
2622 2004-06-01 Angus Leeming <leeming@lyx.org>
2624 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2625 contains data before calling isInset(0). (Bug 1513.)
2627 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2629 * exporter.C (checkOverwrite): new method
2630 * exporter.C (copyFile): new method
2631 * exporter.C (Export): copy referenced files to the document dir
2632 * exporter.[Ch]: new class ExportedFile
2633 * exporter.[Ch]: new class ExportData. Contains currently the
2634 names of referenced external files
2635 * outputparams.h: add exportdata member.
2637 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2639 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2642 2004-05-19 Angus Leeming <leeming@lyx.org>
2647 * lyxfunc.C: small changes due to the introduction of namespace
2648 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2650 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2652 * text3.C (dispatch): supress update when only moving the cursor
2653 * cursor.C (selHandle): remove commented code
2655 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2657 * paragraph.C (startTeXParParams): correct column count
2658 * CutAndPaste.C (pasteSelection): remove const_cast
2659 * output_docbook.C (docbookParagraphs): remove const_cast
2660 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2661 const_cast and return ParagraphList::const_iterator
2662 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2663 * output_plaintext.C (writeFileAscii): remove const_cast
2664 * paragraph.[Ch] (simpleTeXOnePar): make const
2665 * paragraph_funcs.C (outerPar): use const iterators
2666 * paragraph_pimpl.C (validate): use const iterators
2667 * text.C (setHeightOfRow): use const iterators
2669 2004-05-17 Angus Leeming <leeming@lyx.org>
2672 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2674 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2675 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2676 if the citation engine has changed.
2678 2004-05-14 José Matos <jamatos@lyx.org>
2680 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2681 if the textclass does not provide it. Have it different for sgml and
2683 support the language of document.
2684 * output_docbook.C (docbookParagraphs):
2685 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2686 first anchor as the id of the paragraph, remove special case code.
2687 * sgml.C (escapeChar): escape only < & >.
2689 2004-05-14 Angus Leeming <leeming@lyx.org>
2691 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2692 dependencies on src/frontends/controllers/biblio.h. Define a
2693 CiteEngine_enum wrapper class to enable the enum to be forward
2696 2004-05-12 Angus Leeming <leeming@lyx.org>
2698 * buffer.C: up LYX_FORMAT to 234.
2699 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2700 use_numerical_citations with a single biblio::CiteEngine cite_engine
2702 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2704 2004-05-13 José Matos <jamatos@lyx.org>
2707 * converter.C (Converter, readFlags): add xml member.
2708 * outputparams.h: add XML flavor.
2709 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2711 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2713 * lyxfunc.C (dispatch):
2714 (getStatus): fix handling of LFUN_SEQUENCE
2716 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2718 * debug.C (showLevel): do not forget the end-of-line marker
2720 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2722 * kbmap.C (read): do not stop parsing a bind file when an error
2725 2004-04-29 Angus Leeming <leeming@lyx.org>
2730 * text2.C: wrap a bunch of #warning statements
2731 inside #ifdef WITH_WARNINGS blocks.
2733 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2735 * buffer.C: increment format to 233.
2737 2004-04-28 Angus Leeming <leeming@lyx.org>
2739 * BufferView_pimpl.C:
2742 s/updateToolbar()/updateToolbars()/
2743 s/Toolbar.h/Toolbars.h/
2745 2004-04-28 Angus Leeming <leeming@lyx.org>
2747 * BufferView.[Ch] (c-tor):
2748 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2749 No longer passes these data to the WorkArea generator.
2751 2004-04-28 Angus Leeming <leeming@lyx.org>
2753 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2755 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2757 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2759 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2761 * output_latex.C (TeXEnvironment): make sure that there is a line
2762 break before \end{foo} for the last paragraph of a document
2763 (TeXOnePar): if the paragraph is at the end of the document (or
2764 inset) and the language has to be reset, then make sure that the
2765 line break is _before_ the language command, not after (fixes bug
2766 1225); also make sure that the language reset command is the first
2767 thing after the paragraph (to ensure proper nesting of
2768 environments and thus fix bug 1404)
2770 2004-04-21 John Levon <levon@movementarian.org>
2773 * ToolbarBackend.C: make "name" be a programmatic name
2774 and a gui_name field.
2776 * lyxfunc.C: display the minibuffer on M-x
2778 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2780 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2783 2004-04-19 Angus Leeming <leeming@lyx.org>
2785 * BufferView_pimpl.C (setBuffer): changed preview interface.
2787 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2790 2004-04-19 John Levon <levon@movementarian.org>
2792 * BufferView_pimpl.C:
2793 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2795 2004-04-05 Angus Leeming <leeming@lyx.org>
2797 * text.C (redoParagraphs): add call to updateCounters(), thereby
2798 fixing the missing "Figure #:" label from the caption of a
2801 2004-04-13 Angus Leeming <leeming@lyx.org>
2803 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2804 cursor is clicked out of an inset.
2806 2004-04-13 Angus Leeming <leeming@lyx.org>
2808 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2809 than an InsetOld one.
2811 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2813 * format.[Ch]: add editor to Format
2814 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2815 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2817 2004-04-08 André Pönitz <poenitz@gmx.net>
2819 * metricsinfo.h: remove PainterInfo::width member
2821 2004-04-08 Angus Leeming <leeming@lyx.org>
2823 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2824 "\providecommand" rather than "\newcommand", thereby preventing
2825 clashes with packages that define "\boldsymbol" themselves.
2828 2004-04-08 Angus Leeming <leeming@lyx.org>
2830 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2831 thereby squashing an unnecessary warning.
2833 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2835 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2838 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2840 * BufferView.C (setCursor): call redoParagraph (some insets could
2842 (putSelectionAt): remove the 'double update' trick
2844 * BufferView_pimpl.C (fitCursor): call refreshPar
2845 (workAreaDispatch): remove an uneeded update call
2846 (dispatch): remove some manual update calls
2848 * cursor.[Ch]: remove cached_y_, updatePos
2849 (selHandle): set noUpdate when appropriate
2851 * lyxfunc.C (dispatch): track if we need an update
2853 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2855 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2856 (paintSelection): cheap optimization, do not call cursorX when not
2858 (paintPars): change signature
2861 (paintTextInset): adjust
2865 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2867 * lengthcommon.C: compilation fix: remove explicit array size from
2868 unit_name[] and friends
2870 2004-04-05 Angus Leeming <leeming@lyx.org>
2872 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2874 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2875 present only for the preferences dialog.
2876 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2878 2004-04-05 Angus Leeming <leeming@lyx.org>
2880 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2881 to enable the frontends to export changes to lyxrc correctly.
2883 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2885 2004-04-07 André Pönitz <poenitz@gmx.net>
2887 * cursor.[Ch] (selClear, adjust): remove math
2889 * cursor_slice.C: more agressive assert
2892 * BufferView_pimpl.C: rework mouse event dispatch
2899 2004-04-05 André Pönitz <poenitz@gmx.net>
2901 * cursor.[Ch] (valign, halign...): remove unneeded functions
2903 2004-04-05 Angus Leeming <leeming@lyx.org>
2905 * lyxlength.[Ch] (unit_name et al.): const-correct.
2907 2004-04-05 Angus Leeming <leeming@lyx.org>
2909 * BufferView_pimpl.C:
2918 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2920 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2922 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2924 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2926 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2927 * BufferView_pimpl.[Ch] (getStatus)
2928 * BufferView.[Ch] (getStatus): add
2929 * lyxfunc.C (getStatus): move lfuns handled in
2930 BufferView::dispatch to te function above
2931 * Cursor.C (setSelection): set selection() = true
2933 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2935 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2937 2004-03-31 Angus Leeming <leeming@lyx.org>
2939 * lyxfunc.C (dispatch): Fall through to the generic
2940 Dialogs::show("preamble").
2942 2004-03-31 Angus Leeming <leeming@lyx.org>
2944 * lyxfunc.C (dispatch): Fall through to the generic
2945 Dialogs::show("spellchecker").
2947 2004-03-31 Angus Leeming <leeming@lyx.org>
2949 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2952 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2957 * insetiterator.[Ch]:
2962 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2964 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2966 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2967 insets where we are putting the cursor.
2969 2004-03-31 Angus Leeming <leeming@lyx.org>
2972 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2974 * lyxrc.[Ch] (read, write): overloaded member functions taking
2975 a std::[io]stream arguments.
2977 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2979 2004-03-31 Angus Leeming <leeming@lyx.org>
2981 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2982 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2984 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2985 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2987 2004-03-31 Angus Leeming <leeming@lyx.org>
2989 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2990 the LFUN_ALL_INSETS_TOGGLE code.
2992 2004-03-30 Angus Leeming <leeming@lyx.org>
2994 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2995 has died. Fall through to the generic Dialogs::show("document").
2997 2004-03-30 Angus Leeming <leeming@lyx.org>
3000 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3001 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3003 * lyxfunc.C (getStatus, dispatch): define the actions for these
3004 lfuns. Little more than a cut and pste job from ControlDocument.C
3006 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3008 2004-03-30 Angus Leeming <leeming@lyx.org>
3011 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3012 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3014 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3015 open/closed state of ollapsable insets. Usage:
3017 all-inset-toggle <state> <name>, where
3018 <state> == "open" || "closed" || "toggle" and
3019 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3021 * lyxtext.h, text2.C (toggleInset): removed.
3023 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3024 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3025 now passes LFUN_INSET_TOGGLE to the found inset.
3027 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3028 is now invoked as "all-insets-toggle toggle branch".
3030 2004-03-30 Angus Leeming <leeming@lyx.org>
3034 * pariterator.[Ch]: added/corrected header blurb.
3036 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
3038 * dociterator.[Ch]: add an inset_ member
3039 (backwardPos): implemented
3040 (backwardPos, forwardPos): use inset_ when the stack is empty.
3041 (doc_iterator_begin, doc_iterator_end): implemented
3042 * pariterator.[Ch]: adjust, add begin, end
3043 * insetiterator.[Ch]: adjust, add begin, end
3047 * BufferView_pimpl.C:
3048 * CutAndPaste.C: adjust
3050 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3052 * buffer.C: increment file format to 232.
3053 * LaTeXFeatures.C: add bibtopic package.
3054 * bufferparams.[Ch]: param \use_bibtopic.
3056 * lyxrc.[Ch]: add lyxrc bibtex_command
3057 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3059 * buffer.C: increment file format to 231.
3061 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3063 * dociterator.C: implement forwardPar
3064 * iterators.[Ch]: remove, replaced by
3065 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3067 * BufferView_pimpl.C:
3070 * bufferview_funcs.C:
3076 * Makefile.am: adjust
3078 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
3080 * CutAndPaste.C (pasteSelection): fix 2 crashes
3081 (eraseSelection): fix a crash
3082 * paragraph_funcs.C: remove a warning
3084 2004-03-28 Angus Leeming <leeming@lyx.org>
3087 * LyXAction.C (init): new LFUN_PRINT.
3089 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3091 2004-03-27 Angus Leeming <leeming@lyx.org>
3094 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3096 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3098 2004-03-27 Angus Leeming <leeming@lyx.org>
3100 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3101 insetlist always contains non-null pointers to insets.
3103 2004-03-26 Angus Leeming <leeming@lyx.org>
3105 * src/BufferView_pimpl.C:
3106 * src/CutAndPaste.C:
3109 * src/output_plaintext.C:
3110 * src/outputparams.h:
3111 * src/paragraph_funcs.C:
3115 * src/frontends/controllers/ControlErrorList.C:
3116 * src/frontends/gtk/FileDialogPrivate.C:
3117 * src/frontends/gtk/GPainter.C:
3118 * src/frontends/gtk/GToolbar.C:
3119 * src/frontends/qt2/QRef.C:
3120 * src/mathed/math_scriptinset.C: squash compiler warnings.
3122 2004-03-26 Angus Leeming <leeming@lyx.org>
3124 * ispell.C (LaunchIspell::start):
3125 * lyx_cb.C (AutoSaveBuffer::start):
3126 invoke run(DontWait) rather than runNonBlocking().
3128 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3130 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3132 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3134 * kbsequence.C (print): adjust
3136 * kbmap.C (printKeySym): rename and change signature
3137 (printKey): use LyXKeySym::print()
3139 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3141 * undo.C: add using std::advance to compile for stlport
3143 2004-03-24 Angus Leeming <leeming@lyx.org>
3145 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3146 it leads to a crash when no buffer is present.
3148 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3149 Martin Vermeer <martin.vermeer@hut.fi>
3151 * lyxfunc.C (dispatch):
3152 * bufferparams.C (readToken): use the new LColor::setColor
3154 * LColor.[Ch] (setColor): new version that takes two strings as
3155 argument and creates a new color entry if necessary
3157 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3159 * buffer.C (makeLaTeXFile): if the main latex file that is
3160 processed is usually a subdocument of some master, then pretend
3161 for a while that it is actually the master
3163 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3165 * buffer.C (getLabelList):
3166 (getBibkeyList): use getMasterBuffer()
3167 (getMasterBuffer): new method. Returns the main document in the
3168 case where one is using included documents.
3170 2004-03-25 André Pönitz <poenitz@gmx.net>
3174 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3176 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3178 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3179 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3181 * ParameterStruct.h: merge with ParagraphParameters
3183 * lyxtext.h: remove LyXText::parOffset() and getPar()
3185 * text3.C: Remove all 'manual' update calls. We do now one per user
3186 interaction which is completely sufficient.
3190 * BufferView_pimpl.C:
3191 * FontIterator.[Ch]:
3193 * ParagraphParameters.[Ch]:
3198 * cursor_slice.[Ch]:
3205 * output_docbook.[Ch]:
3206 * output_latex.[Ch]:
3207 * output_linuxdoc.[Ch]:
3208 * output_plaintext.[Ch]:
3210 * paragraph_funcs.[Ch]:
3211 * paragraph_pimpl.[Ch]:
3219 * frontends/controllers/ControlDocument.C:
3220 * frontends/controllers/ControlErrorList.C:
3221 * frontends/controllers/ControlSpellchecker.C:
3224 * insets/insetbase.h:
3225 * insets/insetbibitem.C:
3226 * insets/insetbox.C:
3227 * insets/insetbranch.C:
3228 * insets/insetcaption.C:
3229 * insets/insetcharstyle.C:
3230 * insets/insetcharstyle.h:
3231 * insets/insetcollapsable.C:
3232 * insets/insetcollapsable.h:
3233 * insets/insetert.C:
3234 * insets/insetfloat.C:
3235 * insets/insetfoot.C:
3236 * insets/insetmarginal.C:
3237 * insets/insetnote.C:
3238 * insets/insetoptarg.C:
3239 * insets/insettabular.C:
3240 * insets/insettext.C:
3241 * insets/insettext.h:
3242 * insets/insetwrap.C:
3243 * mathed/math_mboxinset.C:
3244 * mathed/math_nestinset.C:
3245 * mathed/math_scriptinset.C:
3246 * mathed/math_scriptinset.h:
3249 2004-03-24 Angus Leeming <leeming@lyx.org>
3251 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3252 deal with any child processes that have finished but are waiting to
3253 communicate this fact to the rest of LyX.
3255 2004-03-24 Angus Leeming <leeming@lyx.org>
3257 64-bit compile fixes.
3259 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3260 (c-tor): pass lyx::pos_types rather than ints.
3262 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3265 * text.C (Delete): compile fix.
3266 (getPar): ensure that function declaration is the same as that in
3269 2004-03-23 Angus Leeming <leeming@lyx.org>
3271 * ispell.C (LaunchIspell):
3272 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3273 a boost::shred_ptr rather than a std::auto_ptr.
3275 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3277 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3278 handle LFUN_FILE_INSERT_*
3280 * lyxrc.C (setDefaults, getDescription, output, read):
3281 * lyxrc.h: remove ps_command
3283 2004-03-22 Angus Leeming <leeming@lyx.org>
3285 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3286 Ensure that error_handler is processed once only and that all data
3287 is saved before attempting to output any warning messages.
3289 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3291 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3293 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3295 2004-03-19 André Pönitz <poenitz@gmx.net>
3297 * cursor.[Ch] (reset): take main text inset as argument
3299 * BufferView: adjust
3300 * BufferView_pimpl.C: adjust
3302 * paragraph.[Ch]: fix completely broken operator=()
3304 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3306 * LColor.C (getFromLyXName): make sure that the color name is used
3309 2004-03-17 Angus Leeming <leeming@lyx.org>
3312 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3314 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3315 dialog and to kill a forked process.
3317 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3319 * text2.C (setCursorFromCoordinates): fix font problem
3321 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3323 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3324 bogus "rebuild cursor" code
3326 2004-03-11 André Pönitz <poenitz@gmx.net>
3328 * buffer.[Ch]: use InsetText instead of LyXText as container for
3331 * dociterator.[Ch]: drop the BufferView * member which is not needed
3332 anymore after the change to buffer.C
3334 * paragraph_funcs.C:
3338 * BufferView_pimpl.[Ch]:
3340 * cursor_slice.[Ch]: adjust
3342 * text3.C: fix bug in mathDispatch
3344 2004-03-08 André Pönitz <poenitz@gmx.net>
3346 * undo.[Ch]: use 'StableDocumentIterator' as base for
3349 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3352 * bufferparams.[Ch]: add jurabib support and param.
3354 * LaTeX.C: add FIXME/comment.
3356 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3358 * buffer.C: increment file format to 230.
3360 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3362 * cursor.C (dispatch): avoid infinite loops
3364 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3366 * rowpainter.C (paintSelection): fix x coordinates
3368 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3370 * text.C (rowBreakPoint): fix breaking before displayed insets
3372 2004-03-01 André Pönitz <poenitz@gmx.net>
3374 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3376 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3380 * BufferView_pimpl.C:
3388 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3394 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3395 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3397 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3399 * Bidi.[Ch] (computeTables): const correctness
3400 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3401 fill_hfill, fill_label_hfill and x from Row
3402 * lyxtext.h: prepareToPrint returns a RowMetrics
3403 * rowPainter.C: adjust
3404 * text.C (prepareToPrint): use width, not textWidth. adjust
3405 (redoParagraphInternal, cursorX): adjust
3406 * text2.C (getColumnNearX): adjust
3407 (init): put a default value to the top LyXText::width
3409 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3411 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3413 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3415 * lyxtext.h: add FontIterator class
3417 * text.C (FontIterator, operator*, operator->, operator++): add
3418 (rowBreakPoint, setRowWidth): adjust (fixing a
3421 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3423 * BufferView_pimpl.C (workAreaDispatch): allow also
3424 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3426 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3428 * text.C (rowBreakPoint): fix a bug showing with very large insets
3430 2004-02-25 André Pönitz <poenitz@gmx.net>
3433 * cursor.[Ch]: move some mathed specific code to mathed
3435 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3437 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3438 use_tempdir in preferences
3439 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3441 * lyx_main.C: ensure that tempdir is valid
3442 * lyxlex.h: correct typo
3443 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3444 * paragraph.[Ch] (isMultiLingual): make const
3445 * cursor.[Ch] (openable): make const
3447 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3449 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3451 2004-02-20 André Pönitz <poenitz@gmx.net>
3453 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3455 * cursor.[Ch]: prepare for localized getStatus()
3461 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3463 2004-02-20 André Pönitz <poenitz@gmx.net>
3465 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3467 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3469 * text2.C (setCursorFromCoordinates): switch to absolute coords
3471 (cursorDown): adjust
3472 * text3.C (dispatch): adjust
3474 2004-02-16 André Pönitz <poenitz@gmx.net>
3476 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3479 * cursor_slice.[Ch]: remove unneeded acessor function
3481 * lyxtext.h: rename rtl() to isRTL()
3489 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3491 * rowpainter.C (paintSelection): coord fix
3493 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3495 * Spacing.C: compile fix
3497 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3499 * cursor.C (dispatch): restore current_ before returning
3501 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3503 * text2.C (cursorUp, cursorDown): fix coords
3506 2004-02-12 André Pönitz <poenitz@gmx.net>
3511 * text3.C: add LCursor & parameter to most cursor movement functions
3512 remove usage of LyXText::cursorRow() and cursorPar()
3514 * cursor.[Ch]: add textRow() needed members
3517 * BufferView_pimpl.C:
3520 * BufferView_pimpl.C: adjust
3522 2004-02-11 André Pönitz <poenitz@gmx.net>
3526 * BufferView_pimpl.C: shift undo/redo handling
3528 * cursor.[Ch]: fix mathed crash
3531 * lyxtext.h: move selectionAsText to LCursor
3539 * rowpainter.C: fix excessive drawing
3541 2004-02-06 André Pönitz <poenitz@gmx.net>
3544 * BufferView_pimpl.[Ch]:
3545 * text3.C: move some text specific LFUN handling
3547 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3549 * text3.C (checkInsetHit): adjust coords
3550 * text2.C (getColumnNearX): adjust coords
3551 (edit): adjust coords
3552 * text.C (getRowNearY): add two asserts
3554 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3557 * format.C: add using std::distance to compile on gcc 2.95/stlport
3559 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3561 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3563 2004-02-04 André Pönitz <poenitz@gmx.net>
3565 * BufferView.[Ch] (insertInset):
3566 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3571 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3573 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3574 on the default clause of the switch
3575 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3576 wasn't catched by LCursor::dispatch
3578 2004-02-03 André Pönitz <poenitz@gmx.net>
3581 * cursor.[Ch]: some additional asserts
3583 * undo.[Ch]: remove LyXText dependency in interface
3587 * lyxtext.h (firstPar, lastPar): remove dead functions
3592 * paragraph.[Ch]: adjust
3594 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3596 * lyxfind.C (find): fix argument order in call to ::find
3598 2004-02-02 André Pönitz <poenitz@gmx.net>
3600 * cursor.[Ch]: remove direct access to anchor
3602 * text.C: remove findText() hack
3604 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3606 * iterators.[Ch] (lockPath): remove in favour of...
3607 * BufferView.[Ch] (setCursor): this addition
3608 * BufferView.C (putSelectionAt): adjust
3609 * undo.C (performUndoOrRedo): adjust
3610 * lyxfunc.C (dispatch): adjust
3612 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3614 * iterators.C (lockPath): add a missing slice
3615 * undo.C (performUndoOrRedo): remove redundant positioning code
3617 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3619 * vc-backend.C (scanMaster): ";" -> ';'
3621 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3623 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3624 std::binary_function
3626 * lyxtextclass.C (compare_name): rename to...
3627 (LayoutNamesEqual): ...this
3629 * lyxlex_pimpl.C (compare_tags): inherit from
3630 std::binary_function, put back into anon namespace
3632 * lyxfind.C (MatchString): inherig from std::binary_function
3633 (findChange): use empty() istead of !size()
3635 * format.C (FormatNamesEqual): new functor
3642 * converter.C (compare_Converter): rename to...
3643 (ConverterEqual): ...this, and fixup a bit.
3644 (getConverter): use it, and make function const
3645 (getNumber): use it, and make function const
3649 * bufferlist.C: add using boost::bind
3651 * MenuBackend.C (MenuNamesEqual): new functor
3652 (hasMenu): use it, and make function const
3653 (hasSubmenu): use nested bind to get rid of compare_memfun.
3655 2004-01-30 André Pönitz <poenitz@gmx.net>
3657 * BufferView_pimpl.C:
3660 * cursor_slice.[Ch]:
3663 * paragraph_funcs.C:
3664 * paragraph_funcs.h:
3668 * text3.C: move some of the edit(x,y) handling to the insets
3669 some coordinate changes.
3671 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3673 * text.C: add using statements for std::advance and std::distance
3675 * paragraph.C: add using statement for std::distance
3677 * lyxfind.C: add using statement for std::advance
3679 * cursor.C (region): remove std:: from swap
3680 (openable): use nucleus in stead of operator->
3682 * BufferView.C: add using statements for std::distance and std::swap
3684 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3686 * iterators.C: Remove the pimple, move the needed structures to
3687 the header file. Create accessor for the positions stack.
3688 (asPosIterator): remove function
3690 * PosIterator.C (PosIterator): move constructors to top of file
3691 (PosIterator): reimplement the constructor taking a ParIterator in
3693 (setFrom): new function
3694 (operator!=): inline it
3696 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3698 * lyxfind.C (replaceAll): use std::advance
3700 * iterators.h: inherit from std::iterator.
3702 * PosIterator.C (advance, distance): remove
3703 * PosIterator.h: interit from std::iterator.
3705 2004-01-26 André Pönitz <poenitz@gmx.net>
3708 * BufferView_pimpl.[Ch]:
3712 * bufferview_funcs.C:
3722 * output_linuxdoc.C:
3723 * output_plaintext.C:
3725 * paragraph_funcs.[Ch]:
3726 * paragraph_pimpl.[Ch]:
3732 * text3.C: more IU: dumps most of the rest of the mathcursor
3733 implementation into cursor.[Ch]; "globalize" a bit of it.
3735 2004-01-25 Angus Leeming <leeming@lyx.org>
3737 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3739 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3741 * LaTeXFeatures.h: add nice_ and nice() const
3742 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3744 2004-01-20 André Pönitz <poenitz@gmx.net>
3747 * BufferView_pimpl.C:
3749 * bufferview_funcs.C:
3751 * cursor_slice.[Ch]:
3762 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3763 LCursor and mathcursor parts to LCursor and InsetBase.
3765 2004-01-15 André Pönitz <poenitz@gmx.net>
3767 * cursor_slice.[Ch]: add a few covienience functions
3769 * funcrequest.[Ch]: remove BufferView * member
3771 * BufferView_pimpl.C:
3778 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3780 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3782 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3783 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3785 2004-01-13 André Pönitz <poenitz@gmx.net>
3788 * lyxtext.h: hide cursor and selection anchor behind accessor function
3791 * BufferView_pimpl.[Ch]:
3793 * bufferview_funcs.C:
3803 * cursor_slice.[Ch]: some integer type changes for inset unification
3805 * lyxcursor.[hC]: remove, it's CursorSlice now.
3808 * BufferView_pimpl.[Ch]:
3809 * bufferview_funcs.C:
3815 * textcursor.[Ch]: adjust
3817 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3819 * text2.C (undoSpan): add and use
3820 * text.C (breakParagraph): use undoSpan (fix bug 578)
3823 2004-01-08 Angus Leeming <leeming@lyx.org>
3825 * BufferView_pimpl.C (MenuInsertLyXFile):
3826 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3827 * lyxfunc.C (menuNew, open, doImport):
3828 FileFilterList change to the FileDialog open and save functions.
3830 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3832 * ShareContainer.h: make isEqual and isUnique adaptable
3834 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3836 2004-01-07 Angus Leeming <leeming@lyx.org>
3839 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3841 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3843 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3844 functions replacing find, replace and replaceAll.
3846 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3847 LFUN_WORDFIND(FORWARD|BACKWARD).
3849 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3851 * text.C (breakParagraph): remove an outdated #warning
3853 2004-01-07 André Pönitz <poenitz@gmx.net>
3855 * lyxfind.C: somewhat clearer logic
3857 * text.C: prevent crash in cursorX on unitialized row cache
3859 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3861 * lyxcursor.[Ch] (operator>): add
3862 * textcursor.C (selStart, selEnd): use std::min and std::max
3864 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3866 * Chktex.C: include boost/format.hpp
3868 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3870 * InsetList.C: replace functor MathcIt with adaptable functor
3872 (insetIterator): modify accordingly
3874 * BranchList.h: move the BranchNamesEqual functor here from...
3875 * BranchList.C: ... to here
3877 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3879 (add): replace a finding loop with std::find_if.
3881 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3883 * output_docbook.C: moving LatexParam functionality into
3886 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3888 * buffer.C: increment format to 229.
3890 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3893 * lyx_sty.[Ch]: remove minipageindent_def
3899 * text3.C: remove LFUN_INSET_MINIPAGE
3901 2003-12-28 Angus Leeming <leeming@lyx.org>
3903 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3905 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3907 * text2.C (setParagraph): fix off-by-one crash
3909 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3911 * output_docbook.C: header stuff for AGU
3913 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3915 * text2.C (redoCursor): remove
3918 * BufferView_pimpl.C: remove calls to redoCursor and
3919 setCursor(cursor.par(), cursor.pos()) all around
3921 2003-12-15 Angus Leeming <leeming@lyx.org>
3923 * buffer.C: up the format to 228.
3925 2003-12-15 André Pönitz <poenitz@gmx.net>
3927 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3932 * BufferView_pimpl.C:
3941 2003-12-15 Angus Leeming <leeming@lyx.org>
3943 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3944 than getFromGUIName to manipulate the color.
3946 2003-12-14 Angus Leeming <leeming@lyx.org>
3948 * BranchList.[Ch]: minimize the API.
3949 (Branch::getBranch, getColor): now return a 'const &'.
3950 (Branch::setSelected) now returns a bool set to true if the
3951 selection status changes.
3952 (BranchList::clear, size, getColor, setColor, setSelected,
3953 allBranches, allSelected, separator): removed.
3954 (BranchList::find): new functions, returning the Branch with
3956 (BranchList::add, remove): return a bool indicating that
3957 the operation was successful.
3959 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3960 new InsetBranch::isBranchSlected member function.
3962 * LColor.[Ch]: mimimize the API.
3963 (fill): renamed as addColor and made private.
3964 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3965 versions of these functions taking a string arg have been removed.
3967 * bufferparams.C (readToken):
3968 * lyxfunc.C (dispatch):
3969 * lyxrc.C (read): changes due to the altered BranchList and
3972 * factory.C (createInset, readInset): changes due to altered
3975 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3978 * lyxfunc.C: remove insetminipage. "minipage-insert"
3979 now produces a frameless minipage box inset.
3981 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3983 * textcursor.[Ch] (selStart,selEnd): add new methods
3984 remove selection::start, end, use LyXCursor::operator<
3985 * lyxcursor.[Ch] (operator<): add
3986 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3987 * BufferView.[Ch] (unsetXSel): add
3988 * text2.C (clearSelection): use unsetXSel,adjust
3991 * rowpainter.C: adjust
3992 * bufferview_funcs.C (put_selection_at): adjust
3994 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3996 * BufferView_pimpl.C: small coord. correction
3998 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
4000 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4001 dragging over the splash screen.
4003 2003-12-11 Angus Leeming <leeming@lyx.org>
4005 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4006 as it is now handled in LyXText::dispatch.
4008 * text3.C (doInsertInset): remove a level of nesting.
4010 2003-12-11 Angus Leeming <leeming@lyx.org>
4012 * factory.C (createInset): changes due to the changed interface to
4013 InsetCommandMailer::string2params.
4015 2003-12-10 Angus Leeming <leeming@lyx.org>
4017 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4018 'dialog-show-new-inset <inset name>'
4020 2003-12-10 Angus Leeming <leeming@lyx.org>
4022 * buffer.C: up the format to 227.
4024 * factory.C: the box inset is now identified simply by 'Box'.
4026 2003-12-10 Angus Leeming <leeming@lyx.org>
4028 * buffer.C: up the format to 226.
4030 * factory.C: the note inset is now identified simply by 'Note'.
4032 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
4034 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4035 when a pit is enough. Standarize a couple of loops.
4037 2003-12-05 Angus Leeming <leeming@lyx.org>
4039 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4040 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4041 data to the re-worked "log" dialog.
4043 2003-12-03 André Pönitz <poenitz@gmx.net>
4049 * paragraph_funcs.C:
4051 * text2.C: use Inset::getText instead of Inset::getParagraph
4053 2003-12-03 André Pönitz <poenitz@gmx.net>
4057 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4058 InsetText::read() as LyXText::read()
4060 2003-12-02 Angus Leeming <leeming@lyx.org>
4062 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4063 type. Add a comment in the implementation that the function uses
4064 the stream's bad() function rather than fail() as the std::streams
4067 2003-12-02 André Pönitz <poenitz@gmx.net>
4069 * lyxlex.[Ch]: make interface more similar to std::stream
4071 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4073 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
4075 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4077 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
4079 * vspace.[Ch]: remove VSpace::NONE
4081 2003-12-01 André Pönitz <poenitz@gmx.net>
4084 * lyxtext.h: move ParagraphList member to LyXText
4085 rename LyXText::ownerParagraphs to LyXText::paragraph
4088 * bufferview_funcs.C:
4098 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4100 * undo.C: fix cursor positioning
4102 2003-12-01 John Levon <levon@movementarian.org>
4104 * BufferView_pimpl.C: fix a crash on exit with
4107 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4109 * BranchList.C: fix setSelected() method.
4111 2003-11-28 André Pönitz <poenitz@gmx.net>
4113 * ParagraphParameters.[Ch]:
4114 * ParameterStruct.h: remove space above/below from Paragraph to
4117 * BufferView_pimpl.C:
4123 * paragraph_funcs.C:
4129 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4131 * factory.C: Syntax change for CharStyles
4133 2003-11-28 André Pönitz <poenitz@gmx.net>
4138 * buffer.[Ch]: move LyXText member
4140 2003-11-28 André Pönitz <poenitz@gmx.net>
4142 * BufferView.[Ch]: make LyXText * text a private member
4144 * BufferView_pimpl.C:
4155 * output_plaintext.C: cleanup
4157 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4160 * lyxtextclass.[Ch]: parametrize SGML document header
4162 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4165 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4168 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4170 * text2.C (setFont): rework using PosIterator (no more recursive)
4171 (setCharFont): no more needed
4172 (setLayout): no more selection cursors fiddling (done by redoCursor)
4173 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4174 destroy remaining ones)
4176 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4178 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4180 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4183 * text3.C: adjust + re-allow multi par depth changes
4184 * textcursor.C: simplify a bit
4186 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4192 * src/output_docbook.C:
4193 * src/output_latex.C:
4198 * src/text2.C: Introducing a number of tags parametrizing various
4199 XML formats that we may want to support
4201 2003-11-25 André Pönitz <poenitz@gmx.net>
4203 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4205 * lyxtext.h (leftMargin/rightMargin): simplify interface
4212 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4214 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4215 master file to any child files. Fixes bug 546.
4217 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4219 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4221 2003-11-24 André Pönitz <poenitz@gmx.net>
4223 * rowpainter.C: simplification
4225 * text2.C (updateCounters): remove call to redoParagraph on
4226 changed labels as this is far too expensive.
4228 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4230 * converter.C (convert): fix a crash: this function gets
4231 called with buffer == 0 from importer code.
4233 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4235 * text3.C (cursorPrevious): make sure that we do not compare
4236 iterators form different containers.
4239 * rowpainter.C (paintSelection): make sure that we do not compare
4240 iterators from different containers.
4242 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4243 iterators from different ParagraphList containers.
4246 * text2.C (LyXText): change order of initialization slightly
4247 (operator=): new function. copy all variables except cache_par_
4248 (moveUp): make sure that we do not compare iterators from
4249 different ParagraphList constainers.
4252 * text.C (firstPar): new function
4253 (lastPar): new function
4254 (endPar): new function
4256 * lyxtext.h: move things around and group public functions, public
4257 variables, private functions, private variables
4259 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4261 * factory.C: change call to InsetERT constructor to avoid
4262 additional invocation of method status
4263 * text2.C (toggleInset): remove redundant update() call
4264 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4265 instead of a Bufferview pointer
4267 2003-11-21 André Pönitz <poenitz@gmx.net>
4269 * rowpainter.C: simplification
4271 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4273 * text3.C (dispatch): make possible to extend a word/row selection
4276 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4278 * lyxtext.h: x0_,y0_ -> xo_,yo_
4279 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4280 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4281 * rowpainter.C (paintRows): paint full paragraphs
4283 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4285 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4288 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4290 * lyxtext.h: add x0_, y0_
4291 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4292 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4294 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4296 * text2.C (setCursorIntern): move the x_target update here *
4297 * text3.C: change some bv() to true/false in calls to
4298 cursorUp/Down/Right/Left
4299 * cursor.C: use helper function.
4301 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4303 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4304 * paragraph_funcs.[Ch]: correct comment
4305 * rowpainter.C: do not paint selections away from bv->cursor()
4306 Fix a long standing selection painting bug.
4307 * text3.C: generalize mouse-selection code to LyXTexts other that
4309 * textcursor.C: do not use y coords if we can use par offsets
4311 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4313 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4314 cursor position after e.g. inset insert)
4316 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4318 * lyxfind.C (replace): adjust to locking removal + some
4321 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4323 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4326 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4329 * output_docbook.C: XML sanitation: new layout
4330 parameters InnerTag and CommandDepth
4332 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4334 * BufferView_pimpl.C:
4336 * text3.C: Fix the insertion and modification of button-style
4339 2003-11-13 André Pönitz <poenitz@gmx.net>
4341 * InsetList.[Ch]: remove deleteLyXText
4343 * paragraph.[Ch]: cache beginOfBody position
4348 * text3.C: remove superfluous update() calls
4352 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4354 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4355 * BufferView.C (fitLockedInsetCursor): remove
4356 * cursor.[Ch] (getDim): add
4357 * text.C (getRowNearY): add faster version
4358 * text3.C: remove some update calls
4360 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4372 * text3.C: The Character Style /XML short element patch.
4374 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4377 * factory.C: Small step to solving 'unable to insert some insets'
4380 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4382 * cursor.[Ch] (updatePos): new function for updating the y
4383 position of the tip inset
4384 * bufferview_funcs.C (put_selection_at):
4385 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4387 2003-11-11 André Pönitz <poenitz@gmx.net>
4389 * text.C: remove big comment on invalid Paragraph pointers as it is
4392 2003-11-11 André Pönitz <poenitz@gmx.net>
4394 * text_funcs.[Ch]: merge with ...
4402 * Makefile.am: remove text_funcs.[Ch]
4404 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4406 * cursor.C (getPos): return absolute cached y coord
4408 * BufferView_pimpl.C (fitCursor): new simplistic code
4409 (workAreaDispatch): add a fitCursor call
4411 2003-11-10 André Pönitz <poenitz@gmx.net>
4414 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4416 2003-11-10 André Pönitz <poenitz@gmx.net>
4418 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4419 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4420 indicate that the cursor needs to leave an inset
4422 * lyxtext.h: remove inset locking
4424 * cursor.[Ch]: re-implement functionality provided by inset locking
4427 * BufferView_pimpl.[Ch]:
4429 * bufferview_funcs.[Ch]:
4441 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4443 * PosIterator.[Ch]: replace the stack with a vector, add inset
4445 * iterators.[C]: adjust
4447 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4449 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4451 * paragraph_funcs.C (readParToken): put the correct id in the
4452 error item, not the id of the top paragraph
4454 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4456 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4457 * bufferview_funcs.C (put_selection_at): use the above
4459 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4461 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4463 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4465 * output_linuxdoc.h:
4466 * output_plaintext.h:
4468 * output_docbook.h: add #include statements
4470 2003-11-05 José Matos <jamatos@lyx.org>
4472 * output_docbook.[Ch]:
4473 * output_latex.[Ch]:
4474 * output_linuxdoc.[Ch]:
4475 * output_plaintext.[Ch]: New files for output formats.
4476 * output.[Ch]: New file for helper functions.
4479 * paragraph_funcs.[Ch]: output functions moved to new files.
4481 * outputparams.h: rename of latexrunparams.h
4489 * paragraph_funcs.[Ch]:
4490 * paragraph_pimpl.[Ch]:
4491 * tabular.[Ch]: rename ascii to plaintext
4492 and LatexRunParams to OutputParams.
4494 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4496 * iterators.[Ch] (text): require bv argument
4497 * undo.C (recordUndo):
4498 * lyxfunc.C (dispatch):
4499 * bufferview_funcs.C (put_selection_at): adjust
4501 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4503 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4505 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4507 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4510 2003-11-04 André Pönitz <poenitz@gmx.net>
4512 * cursor.[Ch]: restructure
4515 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4517 * iterators.[Ch] (asCursor): remove
4519 * lfuns.h: remove LFUN_INSET_EDIT
4525 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4527 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4529 * lyxfind.[Ch]: complete overhaul
4530 * BufferView_pimpl.C:
4532 * paragraph.[Ch] (insert): add
4534 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4538 * text.C: remove dead spellcheck code
4540 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4542 * dispatchresult.h: add a val setter
4544 * cursor.C (dispatch): use a tempvar for data_[i]
4546 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4548 * PosIterator.[Ch]: compile fix
4550 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4552 * text.C (cursorPar): deactivate the cursor cache
4554 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4556 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4558 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4560 * text3.C (dispatch): adjust for new DisptchResult semantics.
4562 * lyxfunc.C (dispatch): handle update when return from
4563 Cursor::dispatch, adjust for new DispatchResult semantics.
4565 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4566 DispatchResult(true) mean to not update. Add class functions for
4567 setting dispatched and update, as well as reading.
4569 * cursor.C (dispatch): don't handle update here
4571 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4573 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4574 * trans_mgr.C: adjust
4576 * paragraph_funcs.C (readParToken): exception safety
4578 * lyxvc.h: store the vcs pointer in a scoped_ptr
4581 * lyxsocket.C (serverCallback): exception safety
4583 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4585 * ispell.C (clone): make it return a auto_ptr
4587 * factory.C (createInset): exception safety
4588 (readInset): exception safety
4590 * bufferlist.C (newBuffer): exception safety
4592 * Thesaurus.C (Thesaurus): use initialization for aik_
4594 * MenuBackend.C (expandToc): exception safety.
4596 2003-11-03 André Pönitz <poenitz@gmx.net>
4600 * bufferview_funcs.C: remove getInsetFromId()
4603 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4609 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4611 * PosIterator.C (distance, advance): new
4612 * bufferview_funcs.[Ch] (put_selection_at): new
4613 * iterators.[Ch] (lockPath): new
4615 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4617 * iterators.[Ch] (asPosIterator): added
4618 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4619 * PosIterator.[Ch]: added
4621 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4625 * cursor.C (dispatch):
4626 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4628 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4629 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4630 contructor, add a class function dispatched. Remove operator>=
4632 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4634 * debug.C: only use the default constructor for debugstream
4637 * main.C (main): include debug.h and setup the lyxerr streambuf
4640 2003-10-31 José Matos <jamatos@lyx.org>
4642 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4644 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4645 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4646 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4647 * paragraph_pimpl.C (simpleTeXSpecialC):
4648 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4649 add LatexRunParams argument.
4651 * exporter.C (Export): change call accordingly.
4653 * latexrunparams.h: add new member to take care of the other backends.
4654 2003-10-30 José Matos <jamatos@lyx.org>
4656 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4657 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4658 factorise code for paragraph output.
4660 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4663 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4665 * text3.C (dispatch):
4666 * lyxfunc.C (dispatch):
4667 * cursor.C (dispatch):
4668 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4670 * dispatchresult.h: make the dispatch_result_t ctor explicit
4672 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4675 * buffer.C: small refactoring of docbook stuff
4677 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4679 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4682 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4684 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4685 operator dispatch_result_t, and operators for == != and >=
4687 * cursor.C (dispatch): adjust for operator dispatch_result_t
4688 removal. comment out call to update
4690 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4692 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4700 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4703 * dispatchresult.h: new file, DispatchResult broken out of
4706 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4708 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4710 * text.C (rowBreakPoint): put a hack inside #if 0
4712 2003-10-28 André Pönitz <poenitz@gmx.net>
4716 * paragraph_funcs.C:
4719 * text2.C: general cleanup (lots of small stuff)
4721 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4723 * text2.C (cursorEnd): simple fix to the "end key goes to one
4724 before the end on last row" bug
4726 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4728 * text.C (backspace): fix the "zombie characters"
4730 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4732 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4734 2003-10-27 André Pönitz <poenitz@gmx.net>
4736 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4738 * factory.C: handle new InsetPagebreak, InsetLine
4740 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4741 and move handling into new InsetPagebreak, InsetLine
4743 * BufferView_pimpl.C:
4745 * ParagraphParameters.C:
4746 * ParameterStruct.h:
4751 * paragraph_funcs.C:
4752 * paragraph_pimpl.C:
4758 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4761 * lyxrow_funcs.[Ch]:
4767 * text3.C: remove lastPos uses in favour of Row::endpos
4769 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4771 * undo.C (performUndoOrRedo): fix two crashes by setting a
4772 cursor by hand and reordering some calls. Use bv->lockInset instead
4773 of inset->edit because the latter loses cursor information
4775 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4777 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4779 (rowBreakPoint): fix width. change point to point + 1.
4780 Add a missing check.
4782 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4785 * lyxfunc.C: fix (at least partly) the problems
4786 with the Nav menu and headers inside branch insets
4789 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4791 * paragraph.C (getChar): add strong asserts
4793 * lyxrow_funcs.C (lastPos): remove hideous hack
4795 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4796 (fill): adjust to that (avoid an infinite loop)
4798 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4800 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4802 2003-10-23 André Pönitz <poenitz@gmx.net>
4804 * RowList_fwd.h: change list<> to vector<> to gain speed
4805 after suggestion from Alfredo
4807 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4809 * lyxtext.h: move the bidi stuff from here...
4812 * Bidi.[Ch]: ... to here
4814 2003-10-23 André Pönitz <poenitz@gmx.net>
4817 * text.C (isLastRow, isFirstRow): new functions
4819 * paragraph.h: new width cache member
4821 * rowpainter.C: replace RowList::iterator with Row & where possible
4823 * lyxfunc.C: replace several view()->text with a single call
4825 * toc.C: fix 'unused' warning
4827 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4829 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4830 when woring with stream::pos_type
4831 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4833 2003-10-22 André Pönitz <poenitz@gmx.net>
4836 * text.C: use Row & instead of RowList::iterator
4838 * lyxrow.h: rename end() to endpos()
4844 2003-10-22 Angus Leeming <leeming@lyx.org>
4846 * buffer.[Ch] (fully_loaded): new member function, returning true
4847 only when the file has been loaded fully.
4848 Used to prevent the premature generation of previews and by the
4849 citation inset to prevent computation of the natbib-style label.
4851 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4852 templates are all set up.
4854 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4856 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4858 * text.C: fixed an "oops" in the "is a bit silly"
4861 2003-10-21 André Pönitz <poenitz@gmx.net>
4863 * FuncStatus.[Ch]: small stuff, whitespace
4865 * lyxfont.[Ch]: operator<<() for debug reasons
4869 * lyxtext.h: whitespace, spelling
4871 * paragraph.C: naming of variables
4874 * text2.C: small stuff
4877 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4879 * text.C: (1) finish off the inset display() work;
4880 (2) fix the "is a bit silly" bug (accessing char
4883 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4885 * text.C: re-introduce display() for insets, fixing the
4886 various bugs (stretch of line above, math inset
4889 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4891 * text.C (rightMargin): remove spurious semicolon
4893 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4896 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4898 * text3.C: fix one crash due to wrong cursor def
4900 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4902 * vc-backend.C (scanMaster): make the regex static
4904 * LaTeX.C (scanAuxFile): make the regexs static
4906 * text3.C (doInsertInset, dispatch, dispatch):
4907 * text2.C (cursorUp, cursorDown):
4908 * text.C (selectNextWordToSpellcheck):
4909 * BufferView_pimpl.C (dispatch):
4910 * lyxfunc.C (dispatch): localDispatch -> dispatch
4912 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4914 * lyxsocket.C: include <cerrno>
4916 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4918 * lyxfunc.C (dispatch): remove textcache stuff
4920 * bufferlist.C (release): remove textcache stuff
4923 * TextCache.C: delete file
4924 * TextCache.h: delete file
4926 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4928 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4929 delete of the bv_->text.
4930 (resizeCurrentBuffer): remove texcache stuff
4931 (workAreaResize): ditto
4933 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4935 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4938 2003-10-16 André Pönitz <poenitz@gmx.net>
4945 * text3.C: speed up by storing y positions per paragraph plus per-row
4946 offset instead of having a 'full' y position in the row.
4948 2003-10-15 André Pönitz <poenitz@gmx.net>
4952 * undo.[Ch]: make undo aware of inner insets
4954 2003-10-14 Angus Leeming <leeming@lyx.org>
4956 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4957 static member functions LyX::ref() and LyX::cref.
4958 (lastfiles): new accessor functions for the new lastfiles_ member var.
4959 (addLyXView, views_): add a new LyXView to the list of views_.
4960 (updateInset): loop over all LyXViews to call their own updateInset
4961 member function, returning a pointer to the Buffer owning the inset.
4963 * BufferView_pimpl.C (loadLyXFile):
4964 * MenuBackend.C (expandLastfiles):
4965 * bufferlist.C (MenuWrite, QuitLyX):
4966 lastfiles is no longer a global variable.
4967 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4969 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4970 static function. Access through LyX::cref().emergencyCleanup().
4972 2003-10-14 André Pönitz <poenitz@gmx.net>
4974 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4976 * undo.[Ch]: restoring part of 'undo in insets'
4979 * undo_funcs.[Ch]: merge with undo.[Ch]
4981 * tabular.C: small cleansing stuff
4983 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4985 * paragraph_funcs.C (readParToken): report unknown insets as error
4986 boxes. Use the outer paragraph as location (also for unknown
4989 * factory.C (readInset): do not abort on reading an unknown inset.
4990 Eat it and return 0.
4992 2003-10-13 Angus Leeming <leeming@lyx.org>
4994 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4996 * lyxrc.C: displayTranslator is now a function,
4997 declared in GraphicsTypes.h.
4999 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5001 * format.C: new placeholder $$a to pass the socket address.
5003 * bufferlist.[Ch]: new function getBufferFromTmp.
5005 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5006 files in the temporary dir.
5008 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5010 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5012 * Makefile.am: add lyxsocket.[Ch].
5014 * lyx_main.C (error_handler): handle SIGPIPE.
5016 2003-10-13 André Pönitz <poenitz@gmx.net>
5018 * BufferView_pimpl.C:
5023 * undo_funcs.[Ch]: use paroffset_type instead of
5024 ParagraphList::iterators to prevent multiple conversion
5025 (and get a more robust interface)
5027 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5029 * lyxfunc.C (dispatch): RESULT -> dispatch_result
5031 * text3.C (dispatch): ditto
5033 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5035 * LaTeX.C (handleFoundFile): move the static to smaller scope,
5036 move the onlyfile, use onlyfile instead of foundfile in a couple
5039 * DepTable.C (update): flush the error stream a bit more
5041 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5043 * lyxserver.C (callback): adjust
5045 * lyxfunc.C (getStatus): add a missing brace in commented code
5046 (ensureBufferClean): reindent
5047 (dispatch): delete version taking a string
5049 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5051 * LaTeX.C (deplog): move found file handlig from here...
5052 (handleFoundFile): .. to new function here.
5053 (deplog): make sure to discover several files mentioned on the
5056 2003-10-10 André Pönitz <poenitz@gmx.net>
5063 * text3.C: fix some of the tabular crashes
5065 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5067 * MenuBackend.C (binding): put debug message into Debug::KBMAP
5069 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5071 2003-10-09 André Pönitz <poenitz@gmx.net>
5073 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5076 * BufferView_pimpl.C:
5077 * bufferview_funcs.C:
5088 * undo_funcs.C: adjust
5090 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5092 * text2.C (incrementItemDepth): new function, use a backtracking
5093 algorithm to discover the correct item depth.
5094 (resetEnumCounterIfNeeded): new function, use a backtracking
5095 algorithm to discover if counter reset is needed.
5096 (setCounter): use them. Simplify a bit. Add different labels for
5097 different item depths for itemize.
5099 * paragraph.C (Paragraph): remove initialization of enumdepth
5102 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5103 enumerate and itemize. Change the type of itemdepth to signed char.
5105 2003-10-08 André Pönitz <poenitz@gmx.net>
5107 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5112 * tabular.[Ch]: fix crash after 'row-insert'
5114 2003-10-08 Angus Leeming <leeming@lyx.org>
5116 Fix doxygen warnings.
5118 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5119 Remove CutAndPaste:: prefix from header file declaration.
5121 * LColor.h (fill): remove LColor:: prefix from declaration.
5123 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5124 use lyx::depth_type rather than Paragraph::depth_type so that
5125 header file and .C file match.
5127 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5129 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5130 * aspell.C: \file aspell_local.C -> \file aspell.C
5131 * gettext.C: \file gettext.C -> \file src/gettext.C
5132 * gettext.h: \file gettext.h -> \file src/gettext.h
5133 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5134 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5135 * text.C: \file text.C -> \file src/text.C
5137 * toc.C: move comment so that doxygen is not confused.
5139 2003-10-07 Angus Leeming <leeming@lyx.org>
5141 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5143 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5146 * aspell_local.h: add forgotten std::string's.
5148 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5155 * text3.C: The Box patch. Fancybox support, minipage, parbox
5157 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5163 * ParagraphParameters.h:
5173 * lyxtextclasslist.h:
5176 * paragraph_pimpl.C:
5177 * textcursor.h: add <string> and other small fixes to make Lars'
5178 std::string patch compile with STLport.
5180 2003-10-06 Angus Leeming <leeming@lyx.org>
5182 * LColor.h: Add missing #include <string>.
5184 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5186 * All most all file in all subdirs: Make <string> be the prefered
5187 way of getting to std::string, add using declarations.
5189 2003-10-06 André Pönitz <poenitz@gmx.net>
5191 * metricsinfo.C: initialize LyXFont before changing attribute.
5192 (fixes the 'math in \emph is upright' bug)
5194 2003-10-06 André Pönitz <poenitz@gmx.net>
5196 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5198 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5201 * paragraph_pimpl.C: Small fixes to build using STLport
5203 2003-10-02 André Pönitz <poenitz@gmx.net>
5206 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5208 2003-10-01 André Pönitz <poenitz@gmx.net>
5210 * factory.C: assert early
5212 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5214 * lyx_main.C: remove the global debug object
5216 * debug.h: adjust for new debugstream
5218 * debug.C: adjust for new debugstream and keep the global debug
5221 2003-09-22 Angus Leeming <leeming@lyx.org>
5223 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5224 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5225 an incomplete class LyXFont.
5227 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5229 * factory.C: bug fix in branches
5231 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5233 * lyxfunc.C (processKeySym): adjust
5235 (dispatch): change arg name from ev to func, adjust
5236 (sendDispatchMessage): ditto
5238 * lyx_main.C (defaultKeyBindings): adjust keybindings
5239 (deadKeyBindings): ditto
5241 * kbsequence.C (addkey): return a FuncRequest
5243 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5245 * kbmap.C (bind): take a FuncRequest as arg, adjust
5248 (defkey): change to take a FuncRequest as arg, adjust
5249 (findbinding): take a FuncRequest as arg, adjust.
5251 * funcrequest.h (operator=): added
5253 * funcrequest.C (FuncRequest): default kb_action changed from
5254 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5256 * buffer.C (dispatch): simplify
5257 (dispatch): adjust to take a FuncRequest as arg, adjust
5259 * boost.C (assertion_failed): change assertion message slightly
5261 * ToolbarBackend.C (read): simplify
5263 * MenuBackend.C (binding): adjust call to findbinding, add a
5264 message if no binding is found.
5266 (expandToc): correct by adding a empty FuncRequest
5268 * LyXAction.C: include <boost/assert.hpp>
5269 (isPseudoAction): delete function
5270 (LookupFunc): change name to...
5271 (lookupFunc): this. change return type to FuncRequest.
5272 (getActionName): take kb_action as arg, simplify
5273 (funcHasFlag): add an assert, simplify.
5275 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5277 * toc.C (action): return a FuncRequest, simplify
5279 * lyxfunc.C (processKeySym): adjust
5280 (getStatus): delete version that takes an int.
5282 (dispatch): delete version that takes action as int
5284 (sendDispatchMessage): simplify and adjust
5286 * funcrequest.C (getArg): take unsigned int as arg
5288 * ToolbarBackend.C (read): adjust
5289 (add): delete version that takes func as a string.
5290 (getIton): take a FuncRequest as arg
5292 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5295 * MenuBackend.C (MenuItem): add a new construct that only takes a
5296 Kind, simplify the constructor use for submenus.
5298 (expandLastfiles): adjust
5299 (expandDocuments): adjust
5300 (expandFormats): adjust
5301 (expandFloatListInsert): adjust
5302 (expandFloatInsert): adjust
5303 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5305 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5306 Remove class variables lyx_pseudo_map and lyx_arg_map
5308 * LyXAction.C (searchActionArg): delete function
5309 (getPseudoAction): delete function
5310 (retrieveActionArg): delete function
5311 (LookupFunc): make it return kb_action, simplify.
5312 (getActionName): simplify
5314 * factory.C (createInset): fix new bug
5316 2003-09-19 Angus Leeming <leeming@lyx.org>
5318 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5319 masterFilename_ parameter in the include inset.
5321 * factory.C (createInset): changes due to the changes to InsetInclude.
5323 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5325 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5327 2003-09-18 Angus Leeming <leeming@lyx.org>
5330 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5331 Inset::fillWithBibKeys.
5332 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5334 2003-09-18 Angus Leeming <leeming@lyx.org>
5336 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5338 (ctor): pass and store a 'Buffer const &'
5339 (buffer): new member function.
5341 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5342 '*this' to the LaTeXFeatures ctor.
5344 2003-09-18 Angus Leeming <leeming@lyx.org>
5350 * text.C: rename EnumLColor as LColor_color.
5352 2003-09-18 Angus Leeming <leeming@lyx.org>
5354 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5355 remove #include "insets/insetbase.h" from cursor.h.
5357 2003-09-18 Angus Leeming <leeming@lyx.org>
5359 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5360 InsetOld_code to remove #include "inset.h".
5362 * iterators.C: add #include "insets/inset.h"
5364 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5366 * BufferView.C: remove more locking stuff that apparently doesn't
5367 do anything sensible.
5369 2003-09-16 André Pönitz <poenitz@gmx.net>
5372 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5375 2003-09-16 Angus Leeming <leeming@lyx.org>
5377 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5379 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5382 * paragraph.h: remove #include "lyxfont.h". Forward declare
5385 2003-09-16 Angus Leeming <leeming@lyx.org>
5387 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5388 of support/textutils.h.
5389 (isWord): move the contents of support/textutils.h's IsWordChar here.
5395 * text2.C: add #include "paragraph.h".
5398 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5400 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5406 * LaTeX.C: use namespace alias for lyx::support::os
5408 2003-09-16 Angus Leeming <leeming@lyx.org>
5411 * bufferview_funcs.C:
5414 * paragraph_pimpl.C:
5416 * text.C: add #include "LColor.h".
5418 2003-09-16 Angus Leeming <leeming@lyx.org>
5420 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5421 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5423 Store the FontBits::color variable as an int rather than as an
5424 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5427 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5428 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5429 string calls together.
5431 * lyxrc.C: add #include "LColor.h".
5433 2003-09-15 Angus Leeming <leeming@lyx.org>
5435 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5438 2003-09-15 Angus Leeming <leeming@lyx.org>
5440 * LColor.h: add an EnumLColor wrapper for LColor::color.
5442 * lyxfont.[Ch] (color, setColor, realColor):
5443 * lyxtext.h, text.C (backgroundColor):
5444 pass EnumLColor args to/from the functions, rather than LColor::color
5448 * lyxtext.h: forward declare EnumLColor.
5450 * lyx_main.C: add #include "LColor.h".
5452 2003-09-15 Angus Leeming <leeming@lyx.org>
5454 * .cvsignore: add lyx-gtk.
5456 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5461 * ParagraphParameters.C
5465 * bufferview_funcs.C
5475 * vc-backend.C: remove usage of STRCONV
5477 2003-09-15 Angus Leeming <leeming@lyx.org>
5479 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5480 explicitly define the color passed to the painter.
5482 2003-09-15 Angus Leeming <leeming@lyx.org>
5484 * bufferparams.C (BufferParams): reorder member initializers to avoid
5487 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5489 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5490 * text.C (updateRowPositions): remove an unusual nop
5492 2003-09-12 André Pönitz <poenitz@gmx.net>
5494 * BufferView_pimpl.C:
5503 * Counters.[Ch]: finish the 'automatic counters' job
5505 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5507 * aspell.C: include <boost/assert.cpp> (compile fix)
5509 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5511 * boost.C (assertion_failed): use lyx::support::abort instead of
5514 2003-09-10 Angus Leeming <leeming@lyx.org>
5516 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5517 with their _fwd progeny.
5519 2003-09-09 Angus Leeming <leeming@lyx.org>
5521 134 files throughtout the source tree: replace 'using namespace abc;'
5522 directives with the appropriate 'using abc::xyz;' declarations.
5524 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5526 * boost.C (emergencyCleanup): moved here from LAssert.c
5527 (assertion_failed): new function, called by BOOST_ASSERT
5529 * several files: change Assert to BOOST_ASSERT
5531 2003-09-09 Angus Leeming <leeming@lyx.org>
5533 * buffer.[Ch]: Add an Impl class and move Buffer's member
5534 variables into it. As a result move several header files out of
5537 Add header files to lots of .C files all over the tree as a result.
5539 2003-09-09 Angus Leeming <leeming@lyx.org>
5541 * buffer.[Ch]: make Buffer's member variables private. Add
5544 Lots of changes all over the tree as a result.
5546 2003-09-08 Angus Leeming <leeming@lyx.org>
5548 * graph.C: #include <config.h>.
5550 2003-09-08 Angus Leeming <leeming@lyx.org>
5554 * BufferView_pimpl.C:
5583 * toc.C: remove redundant using directives.
5585 2003-09-07 Angus Leeming <leeming@lyx.org>
5587 * LaTeXFeatures.h: remove #include "support/types.h".
5588 * ToolbarBackend.h: remove #include <algorithm>.
5589 * changes.h: remove #include <ctime>.
5590 * debug.h: remove #include <iosfwd>.
5591 * graph.h: remove #include "support/std_string.h".
5592 * lyx_main.h: remove #include <csignal>.
5593 * lyxlex_pimpl.h: remove #include <fstream>.
5594 * sgml.h: remove #include <algorithm>, <utility>.
5595 * toc.h: remove #include "support/std_ostream.h".
5596 Add #include <iosfwd>.
5598 2003-09-07 Angus Leeming <leeming@lyx.org>
5600 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5602 * converter.h: forward declare LatexRunParams.
5603 * encoding.h: remove #include "lyxrc.h".
5604 * lyxtext.h: remove #include "LColor.h".
5605 * lyxtextclass.h: remove #include "support/types.h".
5606 * trans.h: remove #include "tex-accent.h".
5607 * trans_mgr.h: remove #include "tex-accent.h".
5608 * insets/inset.h: remove #include "support/types.h", <vector>.
5609 * insets/insetcollapsable.h: remove #include "LColor.h".
5610 * insets/insetinclude.h: remove #include "dimension.h".
5611 * insets/insetlatexaccent.h: remove #include "dimension.h".
5612 * insets/insetoptarg.h:: remove #include "insettext.h".
5613 * insets/insettext.h: remove #include "dimension.h",
5614 <boost/shared_ptr.hpp>
5616 * insets/renderers.h: add #include "dimension.h".
5617 * insets/updatableinset.h: add #include "support/types.h".
5619 * many .C files: Associated changes.
5621 2003-09-06 Angus Leeming <leeming@lyx.org>
5623 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5624 one, inside testInvariant.
5626 * PrinterParams.C: new file.
5627 * PrinterParams.[Ch]: move the function bodies out of line.
5629 2003-09-06 Angus Leeming <leeming@lyx.org>
5631 * ParagraphParameters.h: forward declare ParameterStruct rather than
5632 including its header file.
5633 (depth): moved out-of-line.
5635 2003-09-06 Angus Leeming <leeming@lyx.org>
5637 * BufferView_pimpl.h:
5640 * lyxfunc.h: forward declare LyXKeySym rather than
5641 #include "frontends/LyXKeySym.h".
5643 * BufferView_pimpl.C:
5646 * lyxfunc.C: associated changes.
5648 2003-09-06 Angus Leeming <leeming@lyx.org>
5650 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5651 As a result, can remove the #include "insets/inset.h" from BufferView.h
5653 2003-09-06 Angus Leeming <leeming@lyx.org>
5655 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5656 As a result, can remove the #include "insets/inset.h" from BufferView.h
5658 2003-09-06 Angus Leeming <leeming@lyx.org>
5664 * bufferview_funcs.C:
5665 * BufferView_pimpl.C:
5670 * ParagraphParameters.C:
5675 * frontends/controllers/ControlDocument.C:
5676 * insets/insetcaption.C: rearrange the #includes into some sort of
5679 * buffer.h: remove #includes ErrorList.h, undo.h
5681 2003-09-06 Angus Leeming <leeming@lyx.org>
5683 * support/types.h: add a 'depth_type' typedef, used to store the
5684 nesting depth of a paragraph.
5687 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5688 defining explicitly.
5691 * paragraph_funcs.h:
5692 * ParagraphParameters.h:
5693 * sgml.h: use lyx::depth_type rather than Paragraph or
5694 ParameterStruct's depth_type.
5697 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5700 * BufferView_pimpl.C:
5702 * ParagraphParameters.C:
5705 * bufferview_funcs.C:
5712 * frontends/LyXView.C:
5713 * frontends/controllers/ControlDocument.C:
5714 * frontends/controllers/ControlErrorList.C:
5715 * insets/insetbibitem.C:
5716 * insets/insetbranch.C:
5717 * insets/insetcaption.C:
5718 * insets/insetcollapsable.C:
5719 * insets/insetenv.C:
5720 * insets/insetert.C:
5721 * insets/insetfloat.C:
5722 * insets/insetfoot.C:
5723 * insets/insetfootlike.C:
5724 * insets/insetnewline.C:
5725 * insets/insetquotes.C:
5726 * insets/insettabular.C:
5727 * insets/insettext.C:
5728 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5730 * frontends/controllers/ControlChanges.C: #include "changes.h".
5732 2003-09-06 Angus Leeming <leeming@lyx.org>
5734 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5735 than #including paragraph.h.
5738 * RowList.h: deleted. Superfluous.
5748 * insets/insettext.h: use ParagraphList_fwd.h rather than
5751 * paragraph.h: don't forward declare ParagraphList.
5754 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5755 rather than ParagraphList.h. paragraph.h is still needed for the
5756 Paragraph::depth_type parameters.
5758 * textcursor.h: enable it to compile stand-alone in light of the
5761 * bufferview_funcs.C:
5773 * frontends/controllers/ControlParagraph.C:
5774 * frontends/controllers/ControlTabular.C:
5775 * insets/insetmarginal.C:
5776 * insets/insetminipage.C:
5777 * insets/insetnote.C:
5778 * insets/insetoptarg.C: add header files needed to compile again.
5780 2003-09-06 Angus Leeming <leeming@lyx.org>
5782 * RowList_fwd.h: new file, forward-declaring Row rather than
5783 #including lyxrow.h.
5788 * insets/insettext.h: use it instead of RowList.h
5790 * bufferview_funcs.C:
5797 * text3.C: #include "RowList.h".
5799 2003-09-05 Angus Leeming <leeming@lyx.org>
5801 * factory.C (createInset):
5802 * vspace.C (c-tor): replace sscanf call with an istringstream.
5803 * ispell.C: re-add missing HP/UX headers.
5804 * lyxserver.C: re-add missing os2 headers.
5806 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5815 * text3.C: re-add missing system headers, needed for 2.95.2.
5817 2003-09-05 Angus Leeming <leeming@lyx.org>
5819 Changes most place everywhere due to the removal of using directives
5820 from support/std_sstream.h.
5822 2003-09-05 Angus Leeming <leeming@lyx.org>
5824 Replace LString.h with support/std_string.h,
5825 Lsstream.h with support/std_sstream.h,
5826 support/LIstream.h with support/std_istream.h,
5827 support/LOstream.h with support/std_ostream.h.
5829 Changes resulting throughout the tree.
5831 2003-09-05 Angus Leeming <leeming@lyx.org>
5833 * sgml.h: ensure that the header file can be compiled stand-alone.
5834 * *.C: strip out redundant #includes. (320 in total.)
5836 2003-09-04 Angus Leeming <leeming@lyx.org>
5838 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5839 here (from getPackages).
5841 * debug.[Ch]: add a new EXTERNAL tag.
5843 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5845 * text2.C (cursorEnd): simplify
5847 (getColumnNearX): adjust
5849 * text.C (computeBidiTables): adjust
5852 * rowpainter.C (paintChars): adjust
5853 (paintSelection): adjust
5854 (paintChangeBar): adjust
5857 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5859 (numberOfSeparators): adjust
5861 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5867 * text3.C: Restricts the mouse click functionality
5868 of insets like bibtex, include, toc and floatlist to the visible
5869 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5870 up the dialogs. Cursor has to be in front of the inset (i.e.
5871 start of row) for this to function.
5873 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5875 * bufferview_funcs.C (currentState): output row information
5877 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5879 * bufferview_funcs.C (currentState): output paragraph position
5881 2003-09-04 Angus Leeming <leeming@lyx.org>
5883 * FloatList.h: move out #include "Floating.h".
5884 * LaTeX.h: move out #include "DepTable.h".
5885 * LyXAction.h: move out #include "funcrequest.h".
5886 * buffer.h: move out #include "author.h", "iterators.h".
5887 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5888 * lyx_main.h: move out #include "errorlist.h".
5889 * lyxfunc.h: move out #include "FuncStatus.h".
5890 * lyxtext: move out #include "lyxcursor.h".
5891 * paragraph_pimpl.h: move out #include "counters.h".
5893 2003-09-03 Angus Leeming <leeming@lyx.org>
5895 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5896 preamble_snippets list, enabling us to add snippets to the preamble
5897 only if the snippet was not there already.
5899 2003-09-04 Angus Leeming <leeming@lyx.org>
5901 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5903 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5905 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5908 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5910 * BranchList.C: point fix, earlier forgotten
5912 2003-09-02 Angus Leeming <leeming@lyx.org>
5914 * box.C (contains): renamed from 'contained' after a fantastic
5917 2003-09-02 John Levon <levon@movementarian.org>
5923 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5925 2003-09-02 John Levon <levon@movementarian.org>
5927 * text2.C: simplification of cursorEnd(), including partial
5930 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5932 * buffer.C (readFile): add a space
5934 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5936 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5938 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5940 * buffer.C (readFile): new function, take a filename and a
5941 ParagraphList::iterator
5943 (readFile): adjust, make it private. don't use setStream, make
5944 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5945 always contain the filename.
5947 * BufferView.C (insertLyXFile): simplify and make it work for
5950 2003-08-30 John Levon <levon@movementarian.org>
5952 * Makefile.am: fix dist (from Kayvan)
5954 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5956 * most files: change to use const Buffer refs
5958 2003-08-27 André Pönitz <poenitz@gmx.net>
5960 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5961 on top of ownerPar().
5963 2003-08-27 John Levon <levon@movementarian.org>
5965 * funcrequest.C: properly initialise POD members
5967 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5969 * lyxtext.h (top_y): move top_y from here
5974 * BufferView_pimpl.[Ch]: to here
5975 * frontends/screen.C:
5976 * insets/insettabular.C:
5977 * insets/insettext.C: adjust
5978 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5980 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5983 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5985 2003-08-26 André Pönitz <poenitz@gmx.net>
5987 * paragraph_func.[Ch] (outerPar): new function
5990 * paragraph_funcs.C:
5991 * paragraph_funcs.h:
5992 * paragraph_pimpl.C:
5993 * text2.C: remove Inset::par_owner
5995 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
6000 * text2.C: eliminates the needFullRow/display() stuff
6001 altogether, putting the logic in metrics/draw in the insets.
6003 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
6005 * text2.C (redoParagraphInternal, redoParagraphs):
6006 * text.C (redoParagraph): add a call to updateRowPositions at the
6007 end of each 'metrics-like' call. Remove all others.
6008 (getRow): remove the 'y-computing' version.
6009 (getRowNearY): do not compute nor return the real y. Solve the
6010 'y < 0' problem and simplify.
6012 2003-08-22 Angus Leeming <leeming@lyx.org>
6014 * *.[Ch]: clean-up of licence and author blurbs.
6015 Also move config.h out of a few .h files and into a few .C files.
6017 2003-08-22 André Pönitz <poenitz@gmx.net>
6019 * lyxrow.[Ch]: add x_ and *fill_ members
6024 * text2.C: adjust/remove prepareToPrint() calls
6026 2003-08-22 André Pönitz <poenitz@gmx.net>
6028 * lyxrow.[Ch]: add end_ member
6030 * lyxrow_funcs.C: use LyXRow::end_
6032 * lyxtext.h (singleWidth): add LyXFont parameter
6035 * text2.C: adjust LyXText::singleWidth() calls
6037 * text.C (redoParagraph): simplify row breaking logic
6040 2003-08-19 André Pönitz <poenitz@gmx.net>
6042 * funcrequest.C: initialize button_ member
6045 * rowpainter.[Ch]: interface consolidation
6047 2003-08-18 André Pönitz <poenitz@gmx.net>
6050 * BufferView_pimpl.C:
6052 * paragraph_funcs.C:
6054 * text3.C: remove LyXScreen::draw() and fitCursor calls
6056 * BranchList.h: remove spurious semicolons
6058 * MenuBackend.C: fix branchlist related crash
6060 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
6068 * bufferparams.[Ch]:
6072 * text3.C: implements the 'branch inset'
6073 idea. This allows the output of various versions of a document
6074 from a single source version, selectively outputing or suppressing
6075 output of parts of the text.
6076 This implementation contains a 'branch list editor' in a separate
6077 tab of the document settings dialog. Branches are user definable
6078 and have a "display colour" to distinguish them on-screen.
6080 ColorHandler was somewhat cleaned up.
6081 (1) make possible a dynamically growing LColor list by allowing
6082 the graphic context cache to grow along (vector);
6083 (2) eliminate an IMHO unnecessary step in colour allocation.
6085 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
6087 * BufferView_pimpl.C: compile fix
6089 2003-08-15 André Pönitz <poenitz@gmx.net>
6091 * rowpainter.C: remove extra metrics calls
6093 * lyxtext.h: merge the two constructors into a single one,
6094 pass reference to owner's par list
6096 * BufferView_pimpl.C:
6100 2003-08-15 André Pönitz <poenitz@gmx.net>
6102 * lyxrow_funcs.[Ch]:
6105 * paragraph_funcs.C:
6110 * text_funcs.C: split LyXText::rowlist_ into individual
6111 Paragraph::rows_ chunks
6114 * BufferView_pimpl.[Ch]:
6117 * text3.C: remove toggleSelection()
6119 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6121 * bufferlist.C: beautify two alerts (shorter text of buttons)
6122 * buffer.C: Remove redundant ' ' from message
6124 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6125 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6126 rename VALIGN_CENTER to VALIGN_MIDDLE
6128 2003-08-11 André Pönitz <poenitz@gmx.net>
6130 * lyxtext.h (getPar):
6131 * text.C: new function
6133 2003-08-11 André Pönitz <poenitz@gmx.net>
6136 * tracer.[Ch]: remove unneeded files
6138 * InsetList.[Ch]: remove resizeInsetsLyXText()
6143 * text3.C: merge insertParagraphs() and appendParagraph()
6144 remove breakAgain(), update()
6146 * BufferView_pimpl.[Ch]:
6147 * bufferview_funcs.[Ch]:
6151 * tabular.C: adjust after text & InsetList changes.
6153 2003-08-08 André Pönitz <poenitz@gmx.net>
6155 * text.C (insertChar, backspace): replace rowlist fiddling
6156 with rebreak of full par
6159 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6160 checkParagraph, updateInset): removed
6162 2003-08-07 André Pönitz <poenitz@gmx.net>
6165 * text3.C: merge some LFUN handlers, remove dead code
6167 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6169 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6171 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6173 * text2.C (DEPM): fix part of bug 1255 and 1256
6175 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6177 * BufferView_pimpl.C (workAreaDispatch): change to use
6178 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6179 that are no mouse related.
6181 2003-08-05 André Pönitz <poenitz@gmx.net>
6184 * BufferView_pimpl.[Ch]:
6185 * bufferview_funcs.C:
6187 * text3.C: rip out "deep update"
6189 * textcursor.[Ch] (last_sel_cursor): remove unused member
6191 2003-08-04 André Pönitz <poenitz@gmx.net>
6194 * BufferView_pimpl.[Ch]:
6195 * ParagraphParameters.C:
6196 * bufferview_funcs.C:
6202 * text3.C: replace "complicated" BufferView::update(...) calls with
6205 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6207 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6209 * Makefile.am (lyx_SOURCES): add paper.h
6211 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6213 * Makefile.am: move things around so that both lyx-qt and
6214 lyx-xforms can be built (according to --with-frontend). Then lyx
6215 is a symbolic link to lyx-[firstfrontend]
6217 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6219 * Always use std::endl with lyxerr
6221 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6223 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6225 2003-08-01 André Pönitz <poenitz@gmx.net>
6228 * BufferView_pimpl.[Ch]:
6230 * text3.C: merge BufferView::repaint() and BufferView::update()
6232 2003-08-01 José Matos <jamatos@lyx.org>
6234 * buffer.[Ch]: file_format is no longer a buffer data element.
6236 2003-08-01 André Pönitz <poenitz@gmx.net>
6241 * text2.C: make redoParagraph more independent of current cursor
6243 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6245 * text2.C: remove unneeded members
6247 2003-07-30 André Pönitz <poenitz@gmx.net>
6249 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6251 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6252 create a single function...
6254 * paragraph_funcs.C (moveItem): ... here.
6257 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6259 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6261 * LColor.[Ch]: Add comment and greyedout logical colors.
6263 2003-07-30 André Pönitz <poenitz@gmx.net>
6265 * tabular.C: don't use Assert too heavily. This crashes where it
6268 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6270 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6271 is disabled (bug 1232)
6273 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6275 * factory.C: limited 'arg' scope
6277 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6279 * factory.C: fixed Note submenu issues
6281 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6283 * factory.C: submenu for Note/Comment/Greyedout
6285 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6288 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6290 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6293 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6294 greyedout. Patch provided by Jürgen Spitzmüller.
6296 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6298 * kbmap.C (read): fix error message when reading bind files
6300 2003-07-29 Angus Leeming <leeming@lyx.org>
6302 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6303 certainly does not do what it purports to do. I am doing it, and
6304 us, a favour by killing it.
6306 2003-07-28 José Matos <jamatos@lyx.org>
6308 * buffer.C (readBody, do_writeFile):
6309 * paragraph.C(readParagraph): \end_document replaces \the_end.
6311 2003-07-29 André Pönitz <poenitz@gmx.net>
6314 * BufferView_pimpl.[Ch]:
6318 * textcursor.[Ch]: remove toggleToggle & Co
6320 2003-07-28 José Matos <jamatos@fep.up.pt>
6322 * buffer.C (readParagraph):
6323 * params_func (readParToken, readParagraph):
6324 * paragraph.C (write): \layout -> \begin_layout.
6326 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6328 * lyxlex_pimpl.C (setFile): clean up slightly.
6330 * bufferparams.h: add compressed var
6332 * buffer_funcs.C (readFile): adjust for LyXLex change
6333 (newFile): ditto + simplify
6335 * buffer.C (writeFile): handle writing of compressed files
6337 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6338 Check if the file is compressed and set a bufferparm if so.
6340 * Makefile.am (lyx_LDADD): remove explicit -lz
6342 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6344 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6345 makeDocBookFile): put the real LyX version in the first line of
6349 * version.C.in: remove lyx_docversion
6351 * tabular.C (write_attribute): add a template-based version to
6352 write enums properly
6354 2003-07-28 André Pönitz <poenitz@gmx.net>
6359 * text3.C: use doubles again for x-coordinates. They are needed.
6361 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6363 * messages.C (getLocaleDir): use lyx_localedir()
6365 * lyxlex_pimpl.C (setFile): compress stuff
6367 * buffer.C (writeFile): add some compression stuff
6368 (do_writeFile): new func, dont call expliti close... will this
6371 * Makefile.am (lyx_LDADD): add -lz
6373 2003-07-28 José Matos <jamatos@fep.up.pt>
6375 * buffer.C: increment file format.
6376 * paragraph_funcs (readParagraph, readParToken):
6377 * paragraph.C (readParagraph): add \end_layout.
6379 2003-07-27 Angus Leeming <leeming@lyx.org>
6381 * Makefile.am: remove special casing for configure-time setting of
6382 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6384 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6385 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6387 2003-07-26 André Pönitz <poenitz@gmx.net>
6389 * paragraph_func.[Ch]:
6390 * paragraph.C (realizeFont): inline it whereever it is used
6395 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6398 2003-07-26 André Pönitz <poenitz@gmx.net>
6402 * text2.C: get rid of LyXText::need_break_row
6404 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6406 * toc.[Ch]: put namespace toc inside namespace lyx
6408 * MenuBackend.C (expandToc2): adjust for lyx::toc
6411 * lyxfunc.C (dispatch): adjust for lyx::find
6413 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6414 lyx::find instead. Reorganize a bit.
6415 (LyXReplace): rename to replace
6416 (LyXFind): rename to find
6418 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6421 2003-07-26 André Pönitz <poenitz@gmx.net>
6423 * text.C (setHeightOfRow): restrict scope of temporary variable
6425 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6426 code (never has been used?)
6428 2003-07-27 Asger Alstrup <alstrup@local>
6430 * text.C (fill): Optimise algorithm to exploit that we can reuse
6431 the LyXFont for many characters.
6432 (setHeightOfRow): Same thing.
6433 (rowBreakPoint): Same thing.
6435 2003-07-26 Asger Alstrup <alstrup@local>
6437 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6439 * text.C (singleWidth): Spurious font copying in hot-spot
6440 singleWidth avoided. Reorder tests for arabic for efficiency.
6442 * text.C (fill): handle empty paragraphs better.
6444 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6447 * encoding.h: add includes
6449 * lyxrc.C: remove reading of bind files
6451 * lyx_main.C (init): setup bindings and menus only if we have a
6454 * kbmap.C (read): new method. Do the actual reading of bind
6457 * converter.C (dvipdfm_options):
6460 (output): adapt PAPER_* enums.
6462 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6464 * bufferparams.h: remove paper-related enums from there
6466 * paper.h: New file. A trivial header file to hold paper-related
6467 enums. It should later expand to contain many paper-related
6470 * lyxrc.C: declare extern displayTranslator
6472 2003-07-27 José Matos <jamatos@fep.up.pt>
6474 * tabular.[Ch] (linuxdoc): add support for tables and figures
6477 2003-07-27 José Matos <jamatos@fep.up.pt>
6479 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6480 consistency in both functions.
6481 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6483 2003-07-26 Asger Alstrup <alstrup@local>
6485 * rowpainter.C (paintRows): Change algorithm to work directly on
6486 the insets rather than asking every character in the document
6487 whether its an inset.
6489 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6491 * buffer.C (openFileWrite): factorize some code
6493 2003-07-26 Angus Leeming <leeming@lyx.org>
6496 * lyx_main.[Ch]: replace occurances of system_tempdir with
6499 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6501 * rename Inset to InsetOld
6503 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6505 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6506 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6507 which I think is a bit clearer. EDIT is gone, since it was
6508 premature optimisation, and broken for mathed anyway.
6509 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6510 with cursor positioning in insets as well (math insets still do not
6511 work, but that's a different story anyway.) It mysteriously
6512 crashes sometimes with undo in the first paragraph, but I'm fairly
6513 confident that this is a compiler bug.
6515 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6517 * paragraph.C (Paragraph): adjust for new clone return type
6519 (copyIntoMinibuffer): ditto
6521 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6523 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6524 by not having a special case, and always doing a full rebreak of
6525 the document after undo.
6527 2003-07-23 Angus Leeming <leeming@lyx.org>
6529 * factory.C (createInset): InsetExternal::setParams now takes a
6532 2003-07-23 Angus Leeming <leeming@lyx.org>
6534 * factory.C (createInset): changed interface to the external and
6535 graphics mailers' string2params functions.
6537 2003-07-23 Angus Leeming <leeming@lyx.org>
6539 * factory.C (createInset): pass a
6540 Buffer const * parameter to InsetExternalMailer's string2params.
6542 2003-07-22 John Levon <levon@movementarian.org>
6544 * Thesaurus.h: include the right aiksaurus header
6546 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6548 * MenuBackend.C (expand): check menu shortcuts unconditionally
6550 2003-07-21 Angus Leeming <leeming@lyx.org>
6552 * factory.C (createInset): pass a
6553 buffer_path parameter to InsetGraphicsMailer's string2params.
6555 2003-07-21 Angus Leeming <leeming@lyx.org>
6557 * BufferView_pimpl.C (buffer):
6560 * lyxfunc.C (dispatch):
6561 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6562 rather than the grfx shortcut.
6564 2003-07-21 André Pönitz <poenitz@gmx.net>
6566 * rowpainter.C: remove unused variables
6569 * tabular_funcs.h: move to tabular.C
6570 * Makefile.am: adjust
6572 * tabular.[Ch]: basic optical cleaning
6574 * author.h: pass references, not values
6576 2003-07-18 André Pönitz <poenitz@gmx.net>
6584 * text3.C: two-phase drawing for InsetText and InsetTabular
6585 some float -> int changes.
6587 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6589 * lyx_main.C: fix the fix
6591 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6593 * lyx_main.C: fix a crash in batch mode if no files specified
6596 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6598 * format.[Ch] (papersize): moved to BufferParams
6599 * converter.[Ch] (dvips_options): moved to BufferParams
6600 (dvipdfm_options): moved to anon namespace
6601 * bufferparams.[Ch]: added above functions.
6603 2003-07-17 André Pönitz <poenitz@gmx.net>
6607 * text2.C: don't call inset->update() anymore
6609 * metricsinfo.[Ch]: add convenience constructor
6611 2003-07-16 André Pönitz <poenitz@gmx.net>
6616 * text2.C: replace the LyXCursor::irow_ member with
6617 on-demand computation of the value
6619 2003-07-16 John Levon <levon@movementarian.org>
6621 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6623 2003-07-15 André Pönitz <poenitz@gmx.net>
6626 * text2.C: remove no more needed refresh_row
6628 2003-07-15 André Pönitz <poenitz@gmx.net>
6633 * text3.C: refresh_status tristate -> need_update bool
6635 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6637 * lyxtext.h (init): remove reinit argument (act as if always true)
6638 * text2.C: adjust to that
6640 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6642 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6643 * text3.C: use it to delete selections in some cases
6644 (bugs 441, 673, 702, 954).
6646 2003-07-14 André Pönitz <poenitz@gmx.net>
6648 * rowpainter.[Ch]: reduce interface
6650 2003-07-14 André Pönitz <poenitz@gmx.net>
6652 * BufferView_pimpl.C:
6653 * text2.C: adjust after removing unused BufferView * argument
6655 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6657 * text2.C (init): fix a crash fired on resize
6659 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6661 * buffer.[Ch]: added new closing signal
6662 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6663 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6664 BufferView::Pimpl via the closing the signal
6666 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6668 * buffer.[Ch]: take out all bv-related from buffer
6670 * BufferView_pimpl.[Ch]: connect to new signals
6671 * CutAndPaste.C: removed useless asserts
6672 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6675 * lyxfunc.C: moved view-related funciontality from vc here
6676 * paragraph.C: removed outdated comments
6679 2003-07-10 André Pönitz <poenitz@gmx.net>
6681 * BufferView_pimpl.C:
6685 * text2.C: remove InsetText::InnerCache, clean up consequences
6687 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6689 * ispell.C: fix two typos in error messages
6691 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6693 * Extend Note inset to other forms of annotation like Comment
6694 and Greyedout. Right button click gives dialog.
6696 Files modified or added (+):
6700 * ControlNote.[Ch] +
6702 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6703 frontends/controllers
6707 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6709 * aspell.C: add missing namespace lyx::support
6711 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6713 * BufferView.[Ch] (newFile): Add
6714 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6715 * LaTeX.[Ch] (message): added this signal and use it
6716 * buffer.[Ch] (busy, message): added these signals and use them
6717 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6721 * importer.C: use buffer signals instead of direct bv calling
6722 * lyx_cb.[Ch] (ShowMessage): removed
6725 * paragraph_funcs.C:
6726 * text2.C: use buffer signals
6728 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6730 * introduce namespace lyx::graphics
6732 2003-07-02 André Pönitz <poenitz@gmx.net>
6734 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6736 2003-07-01 André Pönitz <poenitz@gmx.net>
6743 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6744 text*.C to text_func.C
6746 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6748 * introduce namespace lyx::support
6750 2003-06-30 André Pönitz <poenitz@gmx.net>
6755 * text.C: re-enable --with-included-string
6757 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6759 * textcursor.C: add <config.h>
6761 * text.C (getWord): remove const from word_location arg
6763 * lyxvc.C (getLogFile): fix const type order
6765 * lyxtext.h: remove const from word_location arg, add arg name
6767 * lyxlayout.h: currect type on labeltype.
6769 * importer.C: correct \file
6771 * converter.C (intToFormat): use std:: on ret val, ws changes
6773 * bufferlist.h: correct \file
6775 * buffer.C (makeLinuxDocFile): fix const type order
6776 (makeDocBookFile): ditto
6777 (fillWithBibKeys): use std:: on stdlib args.
6779 * CutAndPaste.C: fix authors.
6780 (availableSelections): use std:: on return vector
6782 2003-06-27 André Pönitz <poenitz@gmx.net>
6784 * BufferView_pimpl.C:
6785 * bufferview_funcs.C:
6793 * text3.C: remove LyXCursor::row_ member
6796 * text.C: rename fullRebreak() to partialRebreak() and implement
6797 a fullRebreak() that really bereks fully
6799 * textcursor.h: new struct for cursor-related data
6801 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6803 * lyx_main.C (LyX): get full path of document loaded on the
6806 2003-06-26 André Pönitz <poenitz@gmx.net>
6808 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6809 remove unused/broken operator>,<,>=.
6811 * text.C: remove only use of broken operator<= in an Assert().
6813 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6815 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6816 moved errorlist_.clear to showErrorList
6818 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6820 * converter.C (scanLog, runLaTeX):
6821 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6822 move the bv->showErrorList call to the callers
6823 * lyxfunc.C: i.e. here...
6825 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6826 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6827 namespace, the second to...
6828 * buffer_funcs (BufferFormat, parseErrors): added
6829 * errorlist.C (ErrorList(TeXErrors const &)): removed
6831 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6833 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6835 2003-06-24 "Garst R. Reese" <reese@isn.net>
6839 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6841 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6843 * version.C.in: change docversion to 1.4
6845 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6847 * buffer.C: fix a bug just introduced
6849 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6851 * buffer.[Ch]: added the parseError signal and use it, removed
6853 * BufferView.[Ch] (addError): moved to ...
6854 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6855 to the Buffer::parseError signal to catch (guess what) parse errors
6856 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6858 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6860 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6861 ability to create a buffer and to return an existing one from
6862 the list. Moved these functions to...
6863 * buffer_funcs.[Ch]: added
6864 * BufferView.[Ch] (loadLyXFile): added
6865 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6866 job removed from bufferlist::loadLyXFile.
6867 * buffer.C (setReadOnly): make it work without view
6868 (i.e added an if (users))
6870 2003-06-19 Angus Leeming <leeming@lyx.org>
6873 * LyXAction.C (init):
6874 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6875 with LFUN_DIALOG_SHOW <name> <data>.
6877 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6879 * CutAndPaste.C (availableSelections): small compilation fix for
6880 ancient (gcc 2.9x) compilers
6882 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6884 * text3.C (cursorNext): add tmp var
6886 * text2.C (updateCounters): for function calling out of for clause
6887 (replaceSelectionWithString): ditto
6888 (insertStringAsParagraphs): ditto
6889 (getColumnNearX): add tmp var
6890 (setCursorFromCoordinates): add tmp var
6891 (cursorDownParagraph): add tmp var
6892 (deleteEmptyParagraphMechanism): add tmp var
6894 * text.C (insertChar): add tmp var
6896 * rowpainter.C (paintDepthBar): add tmp var
6898 * CutAndPaste.C (availableSelections): potentially check all
6899 paragraphs in a cut to fill the shown strings.
6901 2003-06-18 André Pönitz <poenitz@gmx.net>
6903 * kbmap.[Ch]: use vector<> instead of list<>
6905 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6907 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6908 pasteSelection with index
6910 * text2.C (pasteSelection): modify, call pasteSelection with index
6912 * paragraph.C (asString): reimplement version with no interval to
6913 call the one with interval.
6915 * lyxtext.h: add index arg to pasteSelection
6917 * MenuBackend.C (MenuItem): handle PasteRecent
6918 (Menu::read::Menutags): add md_pasterecent
6920 (expandPasteRecent): new function
6923 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6925 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6927 (availableSelections): new function
6929 2003-06-17 Angus Leeming <leeming@lyx.org>
6931 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6933 2003-06-17 Angus Leeming <leeming@lyx.org>
6936 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6938 * lyxfunc.C (dispatch): invoke it.
6940 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6942 * iterators.C (operator++, ParPosition): reintroduce some
6943 const_cast for the benefit of older compilers.
6945 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6947 * text3.C (dispatch): do not modify clipboard when doing
6948 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6949 LFUN_DELETE_SKIP on a selection selection
6951 2003-06-16 André Pönitz <poenitz@gmx.net>
6957 * tabular.[Ch]: IU of clone() and getLabelList();
6959 2003-06-13 André Pönitz <poenitz@gmx.net>
6961 * tabular.h: compactification
6963 2003-06-12 André Pönitz <poenitz@gmx.net>
6967 * tabular_funcs.h: some renaming plus whitespace
6969 2003-06-12 André Pönitz <poenitz@gmx.net>
6972 * BufferView_pimpl.C:
6978 * toc.C: Return a Paragraph & for ParIterator::operator*()
6980 2003-06-11 John Levon <levon@movementarian.org>
6984 * ToolbarBackend.C: add "Toolbars" section and
6987 2003-06-10 Angus Leeming <leeming@lyx.org>
6990 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6992 * lyxfunc.C (dispatch): invoke it.
6994 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6996 * main.C: protect <ios> with HAVE_IOS
6997 (main): protect sync_with_stdio with HAVE_IOS
6999 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
7001 * text2.C (cutSelection): adjust
7002 (pasteSelection): adjust
7004 * messages.C: handle get of empty string
7006 * main.C (main): use sync_with_stdio(false)
7008 * lyxfunc.C (dispatch): adjust
7010 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7011 (WriteAs): remove unneeded BufferView arg.
7013 * bufferparams.h: use correct types on papersize, papersize2 and
7016 * bufferparams.C (readToken): adjust for type
7017 (writeLaTeX): add missing cases to switch.
7019 * bufferlist.C (quitWriteBuffer): adjust
7022 * buffer.C (asciiParagraph): remove some commented code.
7024 * CutAndPaste.C: remove current_view extern variable.
7025 (cutSelection): add BufferParams arg.
7026 (eraseSelection): add BufferParams arg.
7027 (pasteSelection): add Buffer const & arg
7029 2003-06-07 John Levon <levon@movementarian.org>
7032 * paragraph_funcs.C:
7033 * paragraph_pimpl.C:
7037 * paragraph.C: allow InsetERT to freely space lines,
7038 and some consolidation of code
7040 2003-06-06 José Matos <jamatos@fep.up.pt>
7042 * buffer.C (makeDocBookFile): fix bug #821
7044 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
7046 * BufferView_pimpl.C (dispatch): use Dialogs::visible
7048 2003-06-04 Angus Leeming <leeming@lyx.org>
7050 * buffer.C: bump format to 224.
7052 2003-06-05 André Pönitz <poenitz@gmx.net>
7054 * text2.C (redoParagraphs): remove two const_cast<>
7056 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
7058 * ParagraphList.h: remove last remnants of NO_STD_LIST
7060 2003-06-03 Angus Leeming <leeming@lyx.org>
7062 * factory.C (createInset): small change to the way InsetExternal's params
7065 2003-06-04 André Pönitz <poenitz@gmx.net>
7067 * buffer.h: use Undo directly instead of shared_ptr<Undo>
7069 * paragraph_pimpl.h:
7070 * paragraph.[Ch]: some Inset -> UpdatableInset changes
7072 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7074 * undo_funcs.C: make some simple cases of undo work again
7076 2003-06-03 John Levon <levon@movementarian.org>
7078 * ispell.C: HPUX doesn't have sys/select.h
7081 2003-06-03 John Levon <levon@movementarian.org>
7083 * CutAndPaste.C: update tabular and include inset
7088 * paragraph.C: remove owningBuffer(), don't pass Buffer
7091 * factory.C: insetGraphicsParams changed
7093 2003-06-02 John Levon <levon@movementarian.org>
7099 * text3.C: remove insetparent
7101 2003-06-02 John Levon <levon@movementarian.org>
7104 * buffer.C: fix inset_iterator.end(), move out of line
7107 2003-06-01 John Levon <levon@movementarian.org>
7109 * text3.C: use a proper cut/paste when doing inset
7110 insert (from Jürgen Spitzmüller)
7112 2003-06-01 John Levon <levon@movementarian.org>
7114 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7116 2003-05-30 André Pönitz <poenitz@gmx.net>
7118 * rowpainter.C: unify second drawing phase
7120 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7122 * trans_mgr.C: remove one case of current_view
7124 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7126 * paragraph_funcs.h: remove paragraph.h include
7128 * paragraph.h: delete NO_STD_LIST stuff
7130 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7132 * buffer.h: remove paragraph.h include
7134 * ParagraphList.C: delete file
7136 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7138 * toc.C (getTocList): adjust
7140 * paragraph_pimpl.C (validate): adjust
7142 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7144 * paragraph.C (Paragraph): adjust
7145 (getPositionOfInset): use const_iterator, adjust
7146 (bibitem): use const_iterator, adjust
7147 (setInsetOwner): adjust
7149 * iterators.C (operator++): adjust
7151 * InsetList.[Ch]: Replace selfmade iterator with standard
7152 vector::iterator also introduce const_iterator. Remove getPos,
7153 getInset and setInset from InsetTable. Adjust accordingly.
7155 * BufferView.C (lockInset): adjust
7156 (ChangeInsets): adjust
7158 * tabular.[Ch]: delete commented same_id functions
7160 2003-05-28 John Levon <levon@movementarian.org>
7162 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7164 2003-05-28 André Pönitz <poenitz@gmx.net>
7166 * metricsinfo.[Ch]: remove 'fullredraw' member
7168 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7170 * lyxtextclass.C (operator): remove caching.
7172 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7176 * text2.C (cursorBottom): adjust
7177 (setCounter): use ParagraphList::find, adjust
7179 * text.C (workWidth): use ParagraphList::find, adjust
7181 * lyxcursor.C (LyXCursor): adjust
7183 * buffer.C (inset_iterator): adjust
7185 * ParagraphList.h: make iterator(value_type) private, make
7186 ParagraphList a friend of iterator.
7188 * ParagraphList.C (find): new function
7190 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7192 2003-05-27 André Pönitz <poenitz@gmx.net>
7194 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7196 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7198 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7200 2003-05-26 John Levon <levon@movementarian.org>
7202 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7204 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7206 * remove same_id from function signatures, adjust.
7208 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7210 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7212 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7214 * paragraph.C (Paragraph): get rid of same_ids parameter
7216 * ParagraphList.C (insert): adjust
7219 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7221 * paragraph_funcs.C (breakParagraph): adjust
7222 (breakParagraphConservative): adjust
7224 * buffer.C (readParagraph): adjust
7226 * ParagraphList.C (insert): take a reference instead of a pointer
7229 * paragraph.[Ch] (id): new function
7231 * bufferlist.C (newFile): adjust
7233 * ParagraphList.C (ParagraphList): adjust
7235 (push_back): take a reference instead of a pointer.
7237 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7239 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7242 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7243 set else use old code.
7245 * ParagraphList.C: remove all NO_NEXT code and only compile this
7246 code of NO_STD_LIST is set.
7248 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7250 * BufferView_pimpl.C:
7260 * graphics/GraphicsConverter.C:
7261 * graphics/PreviewLoader.C: header adjustment
7263 2003-05-23 Angus Leeming <leeming@lyx.org>
7265 * LaTeXFeatures.[Ch] (useBabel): new method.
7266 * bufferparams.C (writeLaTeX): use it.
7268 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7270 * ParagraphList.h (set): remove unused function.
7272 2003-05-23 André Pönitz <poenitz@gmx.net>
7275 * BufferView_pimpl.C:
7279 * undo_funcs.C: setUndo reworked
7281 * iterators.[Ch]: add access to topmost ParagraphList
7283 * lyxtext.[Ch] (workWidth): add a const
7285 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7287 * texrow.[Ch] (increasePos): remove function
7288 * exporter.C (export): removed unused var and outdated comment
7290 2003-05-23 Angus Leeming <leeming@lyx.org>
7292 * latexrunparams.h: rename fragile as moving_arg.
7293 * paragraph.C (simpleTeXOnePar): ditto.
7294 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7296 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7298 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7300 (textUndoOrRedo): comment out a currently unused var.
7302 * paragraph.h (NO_NEXT): enable NO_NEXT
7304 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7306 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7308 * exporter.C (Export): adjust for removeAutoInsets removal.
7310 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7312 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7314 * BufferView.[Ch] (removeAutoInsets): delete function
7316 2003-05-22 Angus Leeming <leeming@lyx.org>
7318 * latexrunparams.h: add a free_spacing variable.
7320 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7321 to pass moving_arg, as the data is stored in runparams.fragile.
7323 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7324 to Inset::latexOptional or to simpleTeXOnePar.
7326 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7327 free_spacing arg to Inset::latexOptional.
7329 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7332 2003-05-22 Angus Leeming <leeming@lyx.org>
7334 * latexrunparams.h: add fragile and use_babel variables.
7336 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7337 * buffer.C (makeLaTeXFile): store this returned value in
7338 runparams.use_babel, thus passing it to the inset::latex methods.
7340 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7341 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7343 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7344 longer has a fragile arg, as it is stored in runparams.fragile.
7346 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7347 moving_arg parameter as the data is stored in runparams.fragile.
7349 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7350 a fragile parameter as the data is stored in runparams.fragile.
7352 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7354 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7356 2003-05-22 Angus Leeming <leeming@lyx.org>
7358 * latexrunparams.h: add a 'bool nice' which defaults to false.
7360 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7361 now encapsulated within runparams.
7363 * bufferlist.C (updateIncludedTeXfiles):
7364 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7366 2003-05-22 Angus Leeming <leeming@lyx.org>
7368 * latexrunparams.h: new file containing struct LatexRunParams.
7369 * Makefile.am: add new file.
7371 * LaTeX.[Ch] (c-tor, run):
7372 * buffer.[Ch] (makeLaTeXFile):
7373 * bufferlist.[Ch] (updateIncludedTeXfiles):
7374 * converter.C (convert, scanLog):
7375 * converter.[Ch] (runLaTeX):
7376 * exporter.C (Export):
7377 * paragraph.[Ch] (simpleTeXOnePar):
7378 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7379 * paragraph_funcs.[Ch] (latexParagraphs):
7380 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7381 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7382 pass around a LatexRunParams parameter.
7384 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7386 * paragraph.[Ch]: remove unused constructor
7388 * ParagraphList.C (erase): new function, taking two iterators
7390 2003-05-22 André Pönitz <poenitz@gmx.net>
7392 * undo_funcs.C: remove duplicated code
7394 * iterator.[Ch]: operator=
7396 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7398 * tabular.C (SetMultiColumn): ws changes
7400 * rowpainter.C (paintFirst): get rid of a ->previous
7402 * lyx_cb.C (getPossibleLabel): parlist simplification
7404 * BufferView.C (ChangeInsets): simplify slightly.
7406 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7408 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7409 * lfuns.h: new LFUN_SPACE
7410 * lyxfunc.C: protected space has a new lfun
7411 * paragraph_funcs.C: read new space insets
7413 * factory.C: handle new space insets
7415 2003-05-22 André Pönitz <poenitz@gmx.net>
7418 * BufferView_pimpl.C:
7421 * undo_funcs.C: return a ParIterator from getParFromID.
7423 * iterators.[Ch]: add two const's
7425 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7427 * toc.C (getTocList): adjust
7429 * iterators.[Ch]: rework for parlist
7431 * buffer.C (par_iterator_begin): adjust
7432 (par_iterator_end): adjust
7434 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7436 * BufferView.C (removeAutoInsets): adjust
7437 (ChangeInsets): adjust
7439 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7441 * text.C (top_y): fix bug 1110
7443 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7445 * errorlist.[Ch]: added
7448 * BufferView_pimpl.C:
7449 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7452 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7454 * Makefile.am: ensure that lyx is relinked upon changes to the
7455 various "convenience" libs.
7457 2003-05-20 Angus Leeming <leeming@lyx.org>
7459 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7460 files are compiled in alphabetical order again.
7462 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7464 2003-05-19 Angus Leeming <leeming@lyx.org>
7466 * gettext.[Ch]: remove "char const * _(char const *)".
7468 2003-05-19 André Pönitz <poenitz@gmx.net>
7470 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7479 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7481 2003-05-19 André Pönitz <poenitz@gmx.net>
7485 * lyxtextclass.[Ch]:
7487 * paragraph_funcs.[Ch]:
7489 * text3.C: more insetenv work
7491 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7493 * ParagraphParameters.C (params2string): small bug fixed
7495 2003-05-16 André Pönitz <poenitz@gmx.net>
7498 * bufferview_funcs.C: patch from Kornel Benko to prevent
7499 crash when _(...) is called twice in a statement
7501 2003-05-16 André Pönitz <poenitz@gmx.net>
7508 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7510 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7512 * lyx_main.C (init): remove spurious static_cast
7514 2003-05-14 André Pönitz <poenitz@gmx.net>
7516 * BufferView.C: fix format string
7518 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7520 * BufferView.[Ch] (insertErrors): removed
7521 * BufferView.[Ch] (showErrorList): added
7522 * buffer.C (runChkTeX):
7523 * converter.C (scanLog): call showErrorList instead of inserterrors
7525 2003-05-13 André Pönitz <poenitz@gmx.net>
7527 * BufferView_pimpl.C:
7529 * bufferview_func.C:
7536 * tabular_funcs.h: tostr() from its own header
7538 * ParagraphParameters.C:
7543 * text3.C: STRCONV()
7545 2003-05-12 André Pönitz <poenitz@gmx.net>
7548 * BufferView_pimpl.C:
7552 * ParagraphParameters.C:
7556 * bufferview_funcs.C:
7569 * paragraph_funcs.C:
7573 * text3.C: boost::format -> bformat all over the place
7576 2003-05-09 André Pönitz <poenitz@gmx.net>
7578 * LColor.[Ch]: Pimpl the #include <map> away
7580 2003-05-09 John Levon <levon@movementarian.org>
7582 * bufferlist.C: never remove emergency saves
7584 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7586 * Makefile.am: better lib building
7588 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7590 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7592 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7593 (simpleTeXSpecialChars): adjust
7594 (simpleTeXSpecialChars): adjust
7595 * paragraph.C (simpleTeXOnePar): adjust
7596 * buffer.C (makeLaTeXFile): adjust
7598 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7600 * text2.C (changeDepth): parlist cleanup
7601 (getColumnNearX): ditto
7603 * rowpainter.C (getLabelFont): parlist cleanup
7605 * bufferlist.C (newFile): parlist cleanup
7607 * CutAndPaste.C (eraseSelection): parlist cleanup
7609 * BufferView_pimpl.C (trackChanges): parlist cleanup
7612 * BufferView.C (lockInset): parlist cleanup.
7613 (ChangeInsets): ditto
7615 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7617 * CutAndPaste.h: Update file header.
7619 * CutAndPaste.C: Update file header.
7620 Store the parts cut out of the Document in a limited_stack.
7621 (copySelection): adjust
7622 (pasteSelection): new function, takes the index in the limited stack.
7623 (nrOfParagraphs): adjust
7624 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7625 simplify error inset insertion.
7626 (checkPastePossible): adjust
7628 2003-05-06 John Levon <levon@movementarian.org>
7630 * text2.C: don't cast wrap inset to float
7632 2003-05-05 André Pönitz <poenitz@gmx.net>
7635 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7637 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7638 few naked Paragraph *.
7640 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7642 * bufferparams.C: Output warning if a document with missing
7643 TeX document class is loaded
7644 * exporter.C: Disable TeX exports if the document class is missing
7647 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7648 isTeXClassAvailable()
7650 2003-05-03 John Levon <levon@movementarian.org>
7653 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7654 explicit cursor show/hide
7656 * BufferView_pimpl.h:
7657 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7658 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7660 * lyxfunc.C: hide cursor before dispatching.
7665 * text3.C: remove explicit cursor hides
7667 2003-05-02 André Pönitz <poenitz@gmx.net>
7669 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7672 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7675 * text2.C: tiny whitespace
7677 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7679 * undo_funcs.C: almost only ws changes.
7681 * ParagraphList.C (splice): just return if pl is empty.
7683 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7685 * ParagraphList.C (splice): new function.
7687 * CutAndPaste.C (pasteSelection): use it
7689 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7691 * CutAndPaste.C (pasteSelection): remove the last next and
7692 previous from this file.
7694 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7696 * CutAndPaste.C (pasteSelection): more clean up, user proper
7697 ParagraphList functions for pasteing.
7699 * ParagraphList.C (insert): new function, three arg insert
7701 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7703 * ParagraphList.C (insert): new function, three arg insert
7705 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7708 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7710 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7712 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7714 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7716 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7718 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7719 (copySelection): clean up a bit.
7720 (pasteSelection): use make_pair
7722 * ParagraphList.C (ParagraphList): implement copy constructor
7723 (operator=): implement, base on copy constructor.
7726 * paragraph.C (erase): return a bool
7728 * paragraph_pimpl.C (erasePos): remove function, move contents...
7729 (erase): ... here. Return a bool.
7730 (erase): call erase instead of erasePos.
7732 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7734 * ParagraphList.h: define PitPosPair
7735 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7736 ParagraphList, fix a bug on pasting multiple pars
7737 * text2.C: change interface to C&P
7739 2003-04-30 André Pönitz <poenitz@gmx.net>
7741 * undo_func.C: revert part of yesterday's patch 2
7743 2003-04-30 John Levon <levon@movementarian.org>
7745 * LColor.C: s/tabular/table/
7747 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7749 * text3.C (dispatch): do not convert iterator -> pointer
7750 * undo_funcs.C (setCursorParUndo): ditto
7751 * text_funcs.C (transposeChars): ditto
7753 * text2.C (setLayout): ws changes only
7755 * text.C (breakParagraph): do not convert iterator -> pointer
7757 (acceptChange): ditto
7758 (rejectChange): ditto
7763 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7766 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7768 * text3.C (gotoInset): YABG (yet another bad getChar)
7770 2003-04-29 André Pönitz <poenitz@gmx.net>
7772 * paragraph.h: make operator= private unimplemented as long as
7775 * ParagraphList.C: whitespace
7778 * paragraph_pimpl.[Ch]:
7779 * paragraph_funcs.C:
7781 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7784 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7786 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7788 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7789 * paragraph.[Ch] (erase):
7790 * paragraph_pimpl.[Ch] (erase): change return type and value
7791 * text2.C (cutSelection): some rework
7793 2003-04-28 John Levon <levon@movementarian.org>
7795 * bufferlist.C: changes for unsaved changes dialog
7797 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7799 * bufferlist.C (newFile): set language (messages_) for new
7802 * buffer.C (readFile): ws changes only.
7804 2003-04-28 André Pönitz <poenitz@gmx.net>
7809 * BufferView_pimpl.C:
7810 * BufferView.C: getParFromID related ParagraphList::iterator changes
7812 2003-04-28 André Pönitz <poenitz@gmx.net>
7814 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7817 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7819 * messages.C: remove one more localedir class variable.
7821 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7823 * messages.C (getLocaleDir): singleton generation function
7825 (Messages): add a default constructor.
7827 * main.C (main): do not setup localedir here, do not call
7830 * gettext.C (_): use it.
7831 (gettext_init): delete funciton
7833 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7835 * gettext.C (getLyXMessages): new singleton generating function.
7837 * buffer.C (updateDocLang): adjust
7839 * Makefile.am (messages.o): add target
7840 (main.o): remove target
7842 2003-04-27 John Levon <levon@movementarian.org>
7847 * lyxvc.C: specify cancel button in Alert::prompt
7849 2003-04-26 John Levon <levon@movementarian.org>
7854 * LyXAction.C: add LFUN_INSET_SETTINGS
7856 * lyxfunc.C: don't enable tabular-feature when there's
7857 just any locking inset
7859 2003-04-26 John Levon <levon@movementarian.org>
7861 * bufferlist.C: re-add Cancel to buffer close question
7863 * lyxfunc.C: fix import UI a bit
7865 2003-04-25 John Levon <levon@movementarian.org>
7867 * gettext.C: remove the broken asserts for now
7869 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7871 * messages.C: make case where setlocale cannot comply work better.
7873 * buffer.C (updateDocLang): new function
7874 (changeLanguage): use it
7877 * text2.C (setCounter): use B_ a bit.
7879 * lyxlayout.C (Read): be sure to trim the label strings.
7881 * messages.C (Messages): fix typo in comment
7883 * buffer.C (readFile): set message_ after file is loaded.
7884 (makeDocBookFile): remove double return
7885 (changeLanguage): reset message_ upon language change.
7886 (B_): new func, use this to get translated buffer strings.
7888 * main.C: add myself and Jean Marc as authors.
7890 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7892 * messages.[hC]: pimplify Messages, and three different pimpls to be
7893 used in different circumstances.
7895 * gettext.[Ch]: change for use with new message code.
7897 2003-04-24 André Pönitz <poenitz@gmx.net>
7899 * factory.C: support for eqref
7901 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7903 * messages.[Ch]: add missing char
7905 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7907 * messages.[Ch]: New files
7909 2003-04-18 John Levon <levon@movementarian.org>
7913 * BufferView_pimpl.C:
7917 * text2.C: remove layout-copy/paste (bug 778)
7919 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7921 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7923 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7925 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7926 if they succeed. Act accordingly.
7928 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7930 * text2.C (setCharFont): adjust
7931 (setCounter): adjust
7932 (insertStringAsLines): adjust
7934 * text.C (leftMargin): adjust
7935 (setHeightOfRow): adjust
7937 * rowpainter.C (paintFirst): adjust
7940 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7942 (isFirstInSequence): ditto
7943 (getEndLabel): ditto
7946 * paragraph.C (getParLanguage): comment out some hard stuff.
7948 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7950 (simpleDocBookOnePar): ditto
7951 (makeDocBookFile): use ParagraphList::iterator
7953 * CutAndPaste.C (pasteSelection): adjust
7955 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7957 * text2.C (getFont): adjust
7958 (getLayoutFont): adjust
7959 (getLabelFont): adjust
7961 * paragraph_funcs.C (TeXOnePar): adjust
7963 * buffer.C (simpleLinuxDocOnePar): adjust
7964 (simpleDocBookOnePar): adjust
7966 * CutAndPaste.C (pasteSelection): adjust
7968 * BufferView.C (getEncoding): adjust
7970 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7972 2003-04-16 John Levon <levon@movementarian.org>
7974 * lyxfind.C: use parlist stuff for search/changes
7976 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7978 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7980 * text2.C (deleteEmptyParagraphMechanism): adjust
7982 * text2.[Ch] (ownerParagraph): delete func (both of them
7984 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7986 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7988 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7990 * ParagraphList.C: prepare for NO_NEXT
7992 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7994 * text2.C (getFont): adjust
7995 (getLayoutFont): adjust
7996 (getLabelFont): adjust
7998 * paragraph.C (getFont): adjust
7999 (getLabelFont): adjust
8000 (getLayoutFont): adjust
8002 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8004 2003-04-15 John Levon <levon@movementarian.org>
8008 * lyx_main.C: handle Include in .ui files
8010 2003-04-15 John Levon <levon@movementarian.org>
8012 * MenuBackend.C: make the doc files length shorter
8015 * ToolbarBackend.C: handle toolbar placement flags,
8018 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8020 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8023 * paragraph_funcs.C (TeXOnePar): adjust
8025 * paragraph.C (getLabelFont): add outerfont arg, adjust
8026 (getLayoutFont): ditto
8027 (simpleTeXOnePar): adjust
8029 * paragraph_pimpl.C (realizeFont): delete func
8031 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
8033 * text2.C (beforeFullRowInset): added a bad getchar check, removed
8034 row argument, constify cur argument.
8036 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8038 * text2.C (getFont): adjust
8039 (getLayoutFont): adjust
8040 (getLabelFont): adjust
8042 * paragraph_funcs.C (TeXOnePar): adjust
8043 (outerFont): new func...
8044 (realizeFont): ...moved out from here, changed this to facilitate
8047 * paragraph.C (getFont): take outerfont as arg, adjust
8048 (simpleTeXOnePar): add outerfont arg, adjust
8050 * buffer.C (simpleLinuxDocOnePar): adjust
8051 (simpleDocBookOnePar): adjust
8053 * CutAndPaste.C (pasteSelection): adjust
8055 * BufferView.C (getEncoding): adjust
8057 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8059 * text2.C (setCharFont): adjust
8060 (setCounter): adjust
8062 * text.C (leftMargin): adjust
8063 (setHeightOfRow): adjust
8065 * rowpainter.C (paintFirst): adjust
8068 * paragraph_pimpl.C (realizeFont): adjust
8070 * paragraph.C (isFirstInSequence): move from here...
8071 * paragraph_funcs.C (isFirstInSequence): ...to here
8073 * paragraph.C (outerHook): move from here...
8074 * paragraph_funcs.C (outerHook): ...to here
8076 * paragraph.C (depthHook): move from here...
8077 * paragraph_funcs.C (depthHook): ...to here
8079 * paragraph.C (getEndLabel): move from here...
8080 * paragraph_funcs.C (getEndLabel): ...to here
8082 * text2.C (realizeFont): move from here...
8083 * paragraph_funcs.C (realizeFont): ...to here
8085 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8087 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8089 2003-04-14 Angus Leeming <leeming@lyx.org>
8091 * LColor.[Ch]: scrap LColor mathcursor.
8093 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8095 * lyxlex.[Ch] (text): delete function
8096 * trans.C (Load): adjust
8097 * paragraph_funcs.C (readParToken): adjust
8099 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8101 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8102 vector<char> instead of a char[].
8104 * lyxlex_pimpl.C (getString): adjust
8106 (lex): use getString
8110 * lyxlex.C (text): use pimpl_->getString()
8114 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8116 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8117 (makeFontEntriesLayoutSpecific): temp var for par.size()
8118 (setLayout): temp var for ownerParagraphs().end()
8119 (fullRebreak): temp var for rows().end()
8120 (selectionAsString): temp var for boost::next(startpit), realize
8121 that the while really is a regular for loop.
8122 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8123 setCursor in one place.
8124 (setParagraph): temp vr for ownerParagraphs().end()
8125 (updateCounters): make the while loop a for loop
8126 (cutSelection): temp var for ownerParagraphs().end()
8127 (updateInset): make the do {} while() a regular for loop
8128 (getCursorX): use temp vars
8129 (setCurrentFont): use temp vars
8130 (getColumnNearX): use temp vars
8132 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8134 * text.C (transformChar): use temp var for getChar
8135 (computeBidiTables): use temp var for row->par()
8136 (fill): move temp vars for row->par() and pit->layout() earlier in
8138 (labelFill): use temp var for row->par()
8139 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8140 asc and desc, realize that pit never changes and that firstpit is
8141 just a duplicate and not needed. Exchange rit->par() with pit in a
8143 (breakAgain): use a temp var for boost::next(rit)
8144 (breakAgainOneRow): ditto
8145 (breakParagraph): use a temp var for rows().begin()
8146 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8147 (cursorRightOneWord): use temp var for cursor.par() and
8148 cursor.pos(), remove usage of tmpcursor.
8149 (cursorLeftOneWord): use temp var for cursor.par() and
8150 cursor.pos() only set cur at end of function.
8152 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8154 * text.C, text2.C: exchange all usage of Paragraph::next with
8155 boost::next(ParagraphList::iterator)
8157 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8159 * text2.C (cursorTop): simplify implementation
8160 (cursorBottom): ditto
8161 (setParagraph): use ParagraphList::iterator
8162 (setCurrentFont): adjust
8163 (getColumnNearX): adjust
8164 (cursorRight): adjust
8165 (cursorLeft): remove usage of Paragraph::previous
8166 (cursorUpParagraph): ditto
8167 (deleteEmptyParagraphMechanism): slight cleanup
8169 * text.C (isBoundary): take a Paragraph const & instead of a
8171 (addressBreakPoint): ditto
8172 (leftMargin): remove usage of Paragraph::previous.
8173 (setHeightOfRow): ditto
8174 (cursorLeftOneWord): ditto
8175 (selectNextWordToSpellcheck): ditto
8178 (breakParagraph): remove one usage of Paragraph::next
8179 (redoParagraph): ditto
8180 (acceptChange): ditto
8181 (insertChar): adjust
8182 (rowBreakPoint): adjust
8184 * bufferview_funcs.C (toggleAndShow): adjust
8186 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8188 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8189 methods to access it.
8191 * text.C: Added updateRowPositions to compute all row positions.
8192 Make top_y and getRowNearY() to use the cached y position
8194 2003-04-11 John Levon <levon@movementarian.org>
8196 * text.C (rowBreakPoint): reintroduce the labelEnd
8197 checks, code copied from the row fill stuff. Deep voodoo.
8199 * text.C (fill): add a comment and debugging for the
8202 2003-04-11 John Levon <levon@movementarian.org>
8204 * text.C: make sure fullrow insets get wrapped to the next line,
8205 even when they're in a manual label
8207 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8209 * text2.C (insertParagraph): make it take ParagraphList::iterator
8211 (setLayout): make it return ParagraphList::iterator
8212 (redoParagraphs): ditto
8214 (checkParagraph): ditto
8216 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8218 * text2.C: adjust several funcs.
8219 (realizeFont): take a ParagraphList::iterator as arg.
8220 (getLayoutFont): ditto
8221 (getLabelFont): ditto
8222 (setCharFont): ditto
8224 * text.C: adjust several funcs.
8226 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8228 * text.C (selectNextWordToSpellcheck): don't accidentally
8231 2003-04-10 John Levon <levon@movementarian.org>
8233 * ToolbarBackend.C (getIcon): special handling for
8236 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8238 * text2.C (cursorRight): a getChar assert fixed
8240 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8242 * text2.C (getFont): change to take a ParagraphList::iterator
8243 instead of Paragraph*
8244 Adjust several functions.
8246 * text.C (transformChar): change to take a ParagraphList::iterator
8247 instead of Paragraph*
8248 (singleWidth): ditto
8249 Adjust several functions.
8251 * rowpainter.C: adjust several functions
8252 * rowpainter.h:store a ParagraphList::iterator and not a
8256 2003-04-09 John Levon <levon@movementarian.org>
8261 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8262 and the "help" bits as well
8264 2003-04-09 John Levon <levon@movementarian.org>
8267 * ToolbarBackend.C: allow multiple toolbars
8269 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8271 * undo_funcs.C (setCursorParUndo): adjust
8273 * text_funcs.C (transposeChars): adjust
8275 * text3.C (gotoNextInset): adjust
8278 * text2.C (setLayout): adjust
8279 (changeDepth): adjust
8281 (redoParagraphs): adjust
8282 (selectionAsString): adjust
8283 (setParagraph): adjust
8284 (insertInset): adjust
8285 (cutSelection): adjust
8286 (copySelection): adjust
8287 (pasteSelection): adjust
8288 (insertStringAsLines): adjust
8289 (updateInset): adjust
8290 (setCursor): change to take a ParagraphList::iterator parameter
8291 (setCursorIntern): change to take a ParagraphList::iterator parameter
8292 (setCurrentFont): adjust
8293 (cursorLeft): adjust
8294 (cursorRight): adjust
8295 (deleteEmptyParagraphMechanism): adjust
8297 * text.C (breakParagraph): adjust
8298 (insertChar): adjust
8299 (acceptChange): adjust
8300 (rejectChange): adjust
8301 (selectNextWordToSpellcheck): adjust
8302 (changeCase): adjust
8306 * lyxfind.C (SearchForward): adjust
8307 (SearchBackward): adjust
8308 (nextChange): adjust
8310 * lyxcursor.C (par): adjust
8312 * lyxcursor.h: store a ParagraphList::iterator instead of a
8315 * lyx_cb.C (getPossibleLabel): adjust
8317 * bufferview_funcs.C (toggleAndShow): adjust
8319 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8322 * BufferView.C (removeAutoInsets): adjust
8323 (lockedInsetStoreUndo): adjust
8325 2003-04-09 John Levon <levon@movementarian.org>
8327 * ToolbarBackend.C: try icon without argument
8328 if with argument fails
8330 2003-04-08 John Levon <levon@movementarian.org>
8333 * ToolbarBackend.C: add getIcon(), handle tooltip,
8334 and change from "Icon" to "Item".
8336 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8338 * BufferView.C (lockInset): another bad getchar crunched
8340 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8342 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8345 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8347 * lyxfind.C (searchForward, searchBackwards): bug 782
8349 2003-04-07 John Levon <levon@movementarian.org>
8351 * paragraph.C: remove dead comment
8353 * text.C: remove troublesome depth-fiddling code
8354 in leftMargin() and rightMargin() (bug 1017)
8356 * text.C: fix breaking of rows in nested lists
8359 * text2.C (updateCounters): fix up depth values
8362 2003-04-07 John Levon <levon@movementarian.org>
8364 * BufferView_pimpl.C: clear message when doc finishes resizing,
8365 and after a mouse event
8367 * lyxfunc.C: clear message after exiting inset
8369 2003-04-07 John Levon <levon@movementarian.org>
8371 * bufferview_funcs.C: show math status not outside
8372 status in the statusbar
8374 2003-04-07 John Levon <levon@movementarian.org>
8376 * lyxfunc.C: note status changed after a depth change
8378 2003-04-04 Angus Leeming <leeming@lyx.org>
8380 * LaTeX.h: move AuxInfo operator==, != out of line.
8381 Remove LaTeX virtual destructor; nothing derives from it.
8382 Move operator()() out of public area and rename it startscript().
8383 Change protected for private.
8385 2003-04-04 Angus Leeming <leeming@lyx.org>
8388 * text2.C: remove unneeded #includes.
8390 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8392 * text2.C (dEPM): fix the heigth of the next row
8394 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8396 * text.C: squashed an invalid getChar requester + some ws changes
8398 2003-04-03 John Levon <levon@movementarian.org>
8400 * bufferview_funcs.h:
8401 * bufferview_funcs.C:
8404 * text2.C: make getStatus work for the env depth lfuns
8406 2003-04-03 John Levon <levon@movementarian.org>
8408 * bufferview_funcs.h:
8409 * bufferview_funcs.C:
8412 * text2.C: parlistize decDepth(), by merging it with incDepth()
8414 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8416 * lyxrow.h: store a ParagraphList::iterator instead of a
8417 Paragraph* and adjust other class functions to suit.
8419 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8422 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8424 * text2.C (setCursor): do not anchor to cursor row for the time being
8426 2003-04-02 John Levon <levon@movementarian.org>
8433 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8435 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8437 * paragraph.h: make ParagraphList and ParagraphList::iterator
8438 friends of Paragraph.
8440 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8442 * ParagraphList.C: Use the private next_ and previous_ from
8445 2003-04-01 John Levon <levon@movementarian.org>
8449 * Makefile.am: rename, remove defaults gunk
8452 * MenuBackend.C: remove defaults gunk
8455 * Languages.C: remove defaults gunk
8458 * lyx_main.C: error out if files couldn't be found.
8460 2003-04-02 John Levon <levon@movementarian.org>
8462 * text2.C: make incDepth() use parlist
8464 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8466 * undo_funcs.C (firstUndoParagraph): adjust
8468 * text3.C (gotoInset): adjust
8469 (dispatch): adjust, and rewrite loop.
8471 * text2.C (init): adjust, and rewrite loop.
8472 (redoParagraphs): adjust
8473 (updateInset): adjust, and rewrite loop.
8474 (deleteEmptyParagraphMechanism): adjust
8476 * tabular.C (LyXTabular): adjust
8477 (SetMultiColumn): adjust
8480 * lyxtext.[Ch] (ownerParagraph): delete function
8481 (ownerParagraphs): new function returns a ParagraphList.
8483 * BufferView.C (removeAutoInsets): adjust
8484 (insertErrors): adjust
8485 (setCursorFromRow): adjust
8487 2003-04-01 Angus Leeming <leeming@lyx.org>
8489 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8492 2003-04-02 John Levon <levon@movementarian.org>
8498 * text_funcs.C: make transposeChars a free function
8500 * lyxrow_funcs.C: remove wrong comment
8502 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8505 * rowpainter.C: adjust
8510 * lyxrow_funcs. [Ch]: new files
8512 * lyxrow.[Ch]: remove next and previous pointers
8513 (next,previous): remove accessor functions
8514 (isParEnd): move to lyxrow_funcs
8515 (lastPos): move to lyxrow_funcs
8516 (nextRowIsAllInset): move to lyxrow_funcs
8517 (lastPrintablePos): move to lyxrow_funcs
8518 (numberOfSeparators): move to lyxrow_funcs
8519 (numberOfHfills): move to lyxrow_funcs
8520 (numberOfLabelHfills): move to lyxrow_funcs
8521 (hfillExpansion): move to lyxrow_funcs
8525 * bufferview_funcs.C (toggleAndShow): adjust
8527 * RowList.h: Remove class RowList from file leave just a
8530 * RowList.C: delete file
8532 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8535 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8537 * text3.C (cursorPrevious): adjust
8538 (cursorNext): adjust
8541 * text2.C (redoHeightOfParagraph): adjust
8542 (redoDrawingOfParagraph): adjust
8545 * text.C (breakParagraph): adjust
8546 (insertChar): adjust
8549 * rowpainter.C (RowPainter): adjust
8550 (leftMargin): simplify and adjust
8551 (most rowpainter functions): adjust.
8553 * rowpainter.h: store the row as RowList::iterator not as Row*
8555 * lyxcursor.C (row): taka RowList::iterator as arg
8558 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8561 2003-04-01 Angus Leeming <leeming@lyx.org>
8563 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8564 stuff like bool Bool.
8566 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8568 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8571 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8573 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8576 * lyxtext.h (rows): drop one version and leve a const variant that
8577 returns a RowList::iterator.
8579 2003-03-31 Angus Leeming <leeming@lyx.org>
8581 * text.C (fill): ensure that the signature is the same as that in the
8584 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8586 * text2.C (redoParagraphs): adjust
8587 (updateCounters): adjust
8588 (checkParagraph): adjust
8589 (getColumnNearX): adjust and reformat a bit.
8591 * text.C (top_y): adjust
8593 (leftMargin): adjust
8594 (prepareToPrint): adjust
8596 (getRowNearY): adjust
8598 * lyxtext.h: make rowlist_ mutable.
8600 * RowList.h: add const_iterator
8601 * RowList.C: adjust for RowList::const_iterator.
8603 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8606 2003-03-31 John Levon <levon@movementarian.org>
8609 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8611 * lyx_main.C: set default fonts from using lyx_gui funcs
8613 * exporter.C: pdf_mode moved from lyxrc
8616 * lyxfunc.C: changes from above
8618 2003-03-31 John Levon <levon@movementarian.org>
8620 * lyx_main.C: fix to the last fix
8622 2003-03-31 John Levon <levon@movementarian.org>
8624 * bufferlist.C: "Load original" -> "Load Original"
8630 * format.C: more Alert cleanups
8632 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8634 * text2.C (removeParagraph): make it take a RowList::iterator as
8636 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8637 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8639 * text.C (anchor_row): make it take a RowList::iterator as arg,
8641 (computeBidiTables): make it take a const reference to Row instead
8642 of Row pointer, adjust.
8643 (leftMargin): make it take a RowList::iterator as arg, adjust.
8644 (rowBreakPoint): adjust
8645 (breakAgainOneRow): make it take a RowList::iterator as arg,
8647 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8649 * bufferview_funcs.C (toggleAndShow): adjust
8651 2003-03-30 John Levon <levon@movementarian.org>
8655 * boost-inst.C: moved to support
8657 * several files: changes as a result
8659 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8661 * text2.C (LyXText): adjust.
8663 (removeRow): make it take a RowList::iterator as arg, adjust.
8664 (fullRebreak): adjust
8665 (deleteEmptyParagraphMechanism): adjust
8666 (clearPaint): adjust
8669 * text.C (top_y): adjust
8670 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8671 (breakAgain): make it take a RowList::iterator as arg, adjust.
8672 (breakParagraph): adjust
8673 (insertChar): adjust
8676 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8677 need_break_row, and refresh_row.
8679 * text3.C (dispatch): adjust
8681 * text2.C (checkParagraph): adjust
8683 (setCursorFromCoordinates): adjust
8685 * text.C (top_y): adjust
8687 (getRow): make it return a RowList::iterator, adjust
8688 (getRowNearY): make it return a RowList::iterator, adjust
8690 * text2.C (init): adjust
8691 (insertRow): remove function
8692 (insertParagraph): adjust
8693 (redoParagraphs): adjust
8694 (fullRebreak): adjust
8695 (updateCounters): adjust
8697 * text.C (top_y): rewrite to use RowList iterators.
8699 (setHeightOfRow): rewrite to sue RowList iterators.
8700 (appendParagraph): adjust
8701 (breakAgain): adjust
8702 (breakAgainOneRow): adjust
8703 (breakParagraph): adjust
8705 (getRowNearY): adjust, and remove commented code.
8707 * lyxtext.h (firstRow): delete function
8708 (lastRow): delete function
8709 (rows): new function (const and non-const versions.)
8710 (insertRow): delete function
8712 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8714 2003-03-29 John Levon <levon@movementarian.org>
8716 * BufferView_pimpl.C: always update scrollbar top
8717 because pasting text when we're anchored could mean we
8718 miss an update altogether
8720 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8722 * text2.C (init): use rowlist_.end() and not 0.
8723 (insertRow): change to take a RowList::iterator as arg, adjust
8725 (insertParagraph): change to take a RowList::iterator as arg,
8727 (redoParagraphs): remove some debug msgs.
8729 * text.C (appendParagraph): change to take a RowList::iterator
8730 arg, adjust for this.
8731 (breakAgain): add an assert
8732 (breakAgainOneRow): ditto
8734 2003-03-29 John Levon <levon@movementarian.org>
8736 * text2.C: do not clear selection after inc/decDepth
8739 2003-03-29 John Levon <levon@movementarian.org>
8742 * buffer.C: fix broken strerrors according to Lars
8744 2003-03-29 John Levon <levon@movementarian.org>
8746 * converters.C: more Alert cleanups
8748 2003-03-29 John Levon <levon@movementarian.org>
8750 * bufferview_funcs.C: remove pointless Alert
8752 * buffer.C: fix confusing error message when
8753 a template is chmoded 000
8755 2003-03-29 John Levon <levon@movementarian.org>
8759 * BufferView_pimpl.C: Alert fixes
8763 * tabular-old.C: remove unused table compat reading
8765 2003-03-29 John Levon <levon@movementarian.org>
8770 * lyx_cb.C: more Alert cleanups
8772 * lyxfunc.C: don't allow chktex if not latex document
8774 2003-03-29 John Levon <levon@movementarian.org>
8778 * buffer.C: warnings pushed down from support/,
8781 2003-03-29 John Levon <levon@movementarian.org>
8783 * lyxfunc.C: safety check for C-r (revert)
8785 2003-03-29 John Levon <levon@movementarian.org>
8788 * bufferlist.C: several UI fixes using Alert::prompt.
8789 Fix the pointless looping quit code. Fix stupid revert
8794 * lyx_cb.C: use Alert::prompt
8796 * lyx_main.C: remove a silly question
8798 * lyxfunc.C: remove a couple of silly questions,
8801 2003-03-28 John Levon <levon@movementarian.org>
8803 * text2.C: fix bug 974 (End on empty par)
8805 2003-03-28 John Levon <levon@movementarian.org>
8807 * BufferView_pimpl.C:
8809 * lfuns.h: remove do-nothing math greek lfuns
8811 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8813 * lyxgluelength.h (isValidGlueLength): add default arg on
8814 parameter 2. Remove default arg from friend in class.
8816 * lyxlength.h (isValidLength): add default arg on parameter 2.
8817 Remove default arg from friend in class.
8819 * text2.C (LyXText): adjust, initialize refresh_row.
8823 (insertParagraph): adjst
8824 (redoParagraphs): adjust
8825 (fullRebreak): adjust
8826 (updateCounters): adjust
8827 (deleteEmptyParagraphMechanism): first attempt at fixing a
8830 * text.C (top_y): adjust
8831 (setHeightOfRow): adjust
8833 (getRowNearY): adjust
8835 * lyxtext.h: include RowList.h
8836 (~LyXText): not needed anymore, deleted.
8837 (firstRow): modify for RowList
8838 (lastRow): new function
8839 Delete firstrow and lastrow class variables, add a Rowlist
8840 rowlist_ class variable.
8842 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8845 * RowList.C (insert): fix case where it == begin().
8847 2003-03-26 Angus Leeming <leeming@lyx.org>
8849 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8850 the thesaurus dialog.
8852 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8854 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8856 * RowList.[Ch]: new files
8858 * ParagraphList.C (erase): handle the case where it == begin
8861 2003-03-25 John Levon <levon@movementarian.org>
8865 * aspell.C: add new aspell support
8868 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8871 2003-03-25 Angus Leeming <leeming@lyx.org>
8874 * LyXAction.C (init): new LFUN_INSET_INSERT.
8876 * BufferView_pimpl.C (dispatch): split out part of the
8877 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8879 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8882 2003-03-25 Angus Leeming <leeming@lyx.org>
8884 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8886 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8889 * text3.C: remove useless row->height(0)
8891 2003-03-25 John Levon <levon@movementarian.org>
8895 * text3.C: rename the refreshing stuff to better names
8897 2003-03-24 John Levon <levon@movementarian.org>
8899 * BufferView_pimpl.h:
8900 * BufferView_pimpl.C: update layout choice on a mouse
8903 2003-03-23 John Levon <levon@movementarian.org>
8905 * Makefile.am: fix commandtags.h reference
8907 2003-03-22 John Levon <levon@movementarian.org>
8909 * BufferView_pimpl.C:
8914 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8916 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8919 * text.C: take the rtl methods out of line
8921 2003-03-21 André Pönitz <poenitz@gmx.net>
8923 * metricsinfo.[Ch]: new files containing structures to be passed around
8924 during the two-phase-drawing...
8926 2003-03-21 André Pönitz <poenitz@gmx.net>
8928 * lyxtextclass.C: read 'environment' tag.
8930 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8932 * text2.C (removeRow): fix bug 964
8934 2003-03-20 John Levon <levon@movementarian.org>
8938 * text2.C: paint cleanups. Inset::update() dropped font
8941 2003-03-19 John Levon <levon@movementarian.org>
8943 * lyxfunc.C: only fitcursor/markDirty if available()
8945 2003-03-19 John Levon <levon@movementarian.org>
8947 * commandtags.h: rename to ...
8949 * lfuns.h: ... this, and renumber / cleanup
8951 2003-03-19 John Levon <levon@movementarian.org>
8953 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8954 fit the cursor after an lfun
8958 * BufferView_pimpl.h:
8959 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8961 * LyXAction.C: layout-character should have ReadOnly
8963 * ParagraphParameters.C:
8965 * bufferview_funcs.C:
8972 * undo_funcs.C: changes from above
8974 2003-03-18 John Levon <levon@movementarian.org>
8976 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8977 remove it from update()
8979 * lyxfunc.C: update layout choice after an lfun
8981 * text3.C: remove extra updateLayoutChoice()s
8983 2003-03-18 John Levon <levon@movementarian.org>
8985 * text.C: top_y change means full repaint, fix
8986 a drawing bug with cursor movement
8988 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8992 * text2.C: anchor row on setCursor
8994 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8996 * lyxtext.h: remove almost all mutable keywords
8999 * text3.C: remove const keywords accordingly
9001 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9003 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9005 (TeXEnvironment): ditto
9008 2003-03-17 John Levon <levon@movementarian.org>
9010 * text.C (rowBreakPoint): remove attempt to fix displayed
9011 math insets inside a manual label
9013 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
9015 * lyxtext.h: remove BufferView* as first arg from almost all class
9017 * other files: adjust.
9019 2003-03-17 John Levon <levon@movementarian.org>
9023 * text2.C: more paint cleanups
9025 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9028 * rowpainter.C: remove "smart" background painting code
9030 2003-03-16 John Levon <levon@movementarian.org>
9035 * text3.C: add helper functions for setting refresh_row/y
9037 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
9039 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9040 newline inset which *can* get inserted in the pass_thru layouts.
9041 This is primarily for literate documents.
9043 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
9045 * buffer.C: increment LYX_FORMAT to 223
9047 2003-03-14 André Pönitz <poenitz@gmx.net>
9049 * textclass.h: prepare for environment handling, ws changes
9050 * lyxlayout.C: read latexheader and latexfooter tags
9052 2003-03-14 John Levon <levon@movementarian.org>
9054 * text2.C: rewrite ::status() a bit
9056 2003-03-13 John Levon <levon@movementarian.org>
9058 * lyxtext.h: add some docs
9060 2003-03-13 John Levon <levon@movementarian.org>
9065 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9067 2003-03-13 John Levon <levon@movementarian.org>
9069 * text3.C: fix appendix redrawing
9071 2003-03-13 John Levon <levon@movementarian.org>
9073 * text.C (setHeightOfRow):
9075 * rowpainter.C: make appendix mark have the text
9076 "Appendix" so the user knows what it is
9079 * LColor.C: s/appendixline/appendix/ from above
9081 2003-03-13 John Levon <levon@movementarian.org>
9083 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9085 * text.C: fix a getChar(pos) bug properly
9087 2003-03-13 Angus Leeming <leeming@lyx.org>
9090 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9091 Probably only temporary. Let's see how things pan out.
9093 * BufferView.C (unlockInset):
9094 * BufferView_pimpl.C (fitCursor):
9095 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9097 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9098 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9100 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9101 new functions that convert ParagraphParameters to and from a string.
9103 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9104 BufferView::Pimpl's dispatch.
9105 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9107 2003-03-13 André Pönitz <poenitz@gmx.net>
9111 * factory.C: make it aware of InsetEnv
9113 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9115 * text2.C (setCursor): never ask for one past last
9116 (setCursor): add some debugging messages.
9118 * text.C (singleWidth): never ask for one past last
9119 (singleWidth): ditto
9121 (rightMargin): ditto
9122 (rowBreakPoint): ditto
9123 (setHeightOfRow): ditto
9124 (prepareToPrint): ditto
9126 * rowpainter.C (paintBackground): never ask for one past last
9127 (paintText): never ask for one past last
9129 * paragraph_pimpl.C (getChar): make the assert stricter, never
9130 allow the one past last pos to be taken
9132 * paragraph.C (getChar): ws changes only
9134 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9135 (numberOfSeparators): ditto
9136 (numberOfHfills): ditto
9138 2003-03-12 John Levon <levon@movementarian.org>
9144 * paragraph_funcs.C: fix per-buffer authorlists
9146 2003-03-12 John Levon <levon@movementarian.org>
9148 * text.C: fix newline in right address
9150 2003-03-12 Angus Leeming <leeming@lyx.org>
9152 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9153 duplicate those in LyXFunc::dispatch.
9157 * ToolbarDefaults.C:
9158 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9159 Add LFUN_FONTFREE_UPDATE.
9161 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9162 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9164 * bufferview_func.[Ch]: several new functions to facilliate
9165 transfer of data to and from the character dialog.
9167 2003-03-12 John Levon <levon@movementarian.org>
9172 * paragraph_funcs.C:
9173 * paragraph_pimpl.C:
9177 * text3.C: remove META_NEWLINE in favour of an inset
9180 * rowpainter.C: remove paintNewline (done by inset)
9182 2003-03-12 John Levon <levon@movementarian.org>
9184 * paragraph_pimpl.C: complain about bad getChar()s
9185 for a while at least
9187 2003-03-12 John Levon <levon@movementarian.org>
9190 * buffer.C: move paragraph read into a separate function,
9191 a little renaming to reflect that.
9194 * bufferparams.C: remove the author_ids map, not necessary now
9197 * factory.C: moved Buffer::readInset to here
9199 * paragraph_funcs.h:
9200 * paragraph_funcs.C: readParagraph free function moved from
9203 * tabular.C: name change
9205 2003-03-12 John Levon <levon@movementarian.org>
9208 * ParagraphParameters.C: move par params input to
9211 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9212 behave like a normal read from the stream wrt reading
9213 a line vs. a \\token
9215 2003-03-12 John Levon <levon@movementarian.org>
9218 * ParagraphParameters.h:
9219 * ParagraphParameters.C: move output code to a
9222 2003-03-12 John Levon <levon@movementarian.org>
9224 * BufferView.C (insertLyXFile):
9227 * tabular.C: use a parlist iterator for creating the
9230 2003-03-12 John Levon <levon@movementarian.org>
9232 * buffer.C: make current_change static local not
9235 2003-03-12 John Levon <levon@movementarian.org>
9237 * buffer.C: fix insertStringAsLines for change tracking
9239 2003-03-12 John Levon <levon@movementarian.org>
9246 * bufferparams.C: move author list into params. Rename some
9247 functions. Move the header reading into a separate token
9248 loop. Move the header token reading into BufferParams.
9250 2003-03-12 John Levon <levon@movementarian.org>
9252 * changes.C: put debug inside lyxerr.debugging() checks
9254 2003-03-11 André Pönitz <poenitz@gmx.net>
9256 * factory.C: make it aware of InsetHFill
9258 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9260 * buffer.C (latexParagraphs): move function from here...
9261 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9264 2003-03-10 Angus Leeming <leeming@lyx.org>
9266 * LyXAction.C (init): fix bug in poplating array with multiple entries
9267 with the same LFUN (spotted by JMarc).
9269 2003-03-10 John Levon <levon@movementarian.org>
9272 * text2.C: move getColumnNearX() near its
9275 2003-03-10 John Levon <levon@movementarian.org>
9277 * text.C: fix break before a minipage
9279 2003-03-10 John Levon <levon@movementarian.org>
9281 * text.C: fix the last commit
9283 2003-03-09 John Levon <levon@movementarian.org>
9287 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9288 bug 365 (don't break before insets unless needed). Don't
9289 return a value > last under any circumstances.
9291 2003-03-09 Angus Leeming <leeming@lyx.org>
9293 * BufferView_pimpl.C (trackChanges, dispatch): call
9294 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9296 2003-03-09 Angus Leeming <leeming@lyx.org>
9298 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9299 than Dialogs::showAboutlyx().
9301 2003-03-09 Angus Leeming <leeming@lyx.org>
9303 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9304 than Dialogs::showTabularCreate().
9306 2003-03-09 John Levon <levon@movementarian.org>
9310 * text2.C: 3rd arg to nextBreakPoint was always the same.
9313 2003-03-08 John Levon <levon@movementarian.org>
9320 * text2.C: Remove the "main" bit from the "main body"
9323 2003-03-08 John Levon <levon@movementarian.org>
9325 * text.C (leftMargin): The left margin of an empty
9326 manual label paragraph should not include the label width
9329 * text.C (prepareToPrint): don't attempt to measure hfills
9330 for empty manual label paragraphs - the answer should be 0
9332 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9334 * CutAndPaste.C: remove commented code and reindent.
9336 2003-03-08 John Levon <levon@movementarian.org>
9339 * lyxfunc.C: move reloadBuffer()
9342 * BufferView.C: to here
9344 * lyxvc.C: add comment
9347 * vc-backend.C: call bv->reload() to avoid
9348 getStatus() check on MENURELOAD
9350 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9352 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9353 to an old format .dep file.
9355 2003-03-07 Angus Leeming <leeming@lyx.org>
9357 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9358 when the LFUN_MOUSE_RELEASE should have been handled by
9359 inset->localDispatch.
9361 2003-03-07 Angus Leeming <leeming@lyx.org>
9363 * BufferView_pimpl.C (dispatch):
9364 * LyXAction.C (init):
9365 * ToolbarDefaults.C (init):
9367 * lyxfunc.C (getStatus):
9368 remove LFUN_INSET_GRAPHICS.
9370 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9372 2003-03-07 Angus Leeming <leeming@lyx.org>
9375 * LyXAction.C (init):
9376 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9378 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9381 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9383 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9384 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9386 2003-03-07 Angus Leeming <leeming@lyx.org>
9388 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9391 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9393 * ParagraphList.C (front): new function
9396 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9398 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9399 and top_row_offset_. removed var first_y.
9401 * text2.C (LyXText, removeRow):
9403 * BufferView_pimpl.C:
9404 use these methods instead of using first_y
9406 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9408 * text2.C (pasteSelection): adjust for checkPastePossible
9410 * CutAndPaste.C: remove Paragraph * buf and replace with
9411 ParagraphList paragraphs.
9412 (DeleteBuffer): delete
9413 (cutSelection): change the tc type to textclass_type
9414 (copySelection): change the tc type to textclass_type
9415 (copySelection): adjust for ParagraphList
9416 (pasteSelection): change the tc type to textclass_type
9417 (pasteSelection): adjust for Paragraphlist
9418 (nrOfParagraphs): simplify for ParagraphList
9419 (checkPastePossible): simplify for ParagraphList
9420 (checkPastePossible): remove unused arg
9422 * ParagraphList.C (insert): handle the case where there are no
9425 * CutAndPaste.h: make CutAndPaste a namespace.
9427 * text3.C (dispatch): adjust
9429 * text.C (breakParagraph): add a ParagraphList as arg
9431 * paragraph_funcs.C (breakParagraph): change to take a
9432 BufferParams and a ParagraphList as args.
9433 (breakParagraphConservative): ditto
9434 (mergeParagraph): ditto
9435 (TeXDeeper): add a ParagraphList arg
9436 (TeXEnvironment): ditto
9439 * buffer.C (readLyXformat2): adjust
9440 (insertStringAsLines): adjust
9441 (latexParagraphs): adjust
9443 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9444 (cutSelection): adjust
9445 (pasteSelection): adjust
9447 * BufferView_pimpl.C (insertInset): adjust
9449 2003-03-05 Angus Leeming <leeming@lyx.org>
9452 * LyXAction.C (init):
9453 * BufferView_pimpl.C (dispatch):
9454 * lyxfunc.C (getStatus):
9455 remove LFUN_CHILD_INSERT.
9457 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9459 2003-03-05 Angus Leeming <leeming@lyx.org>
9462 * LyXAction.C (init):
9463 * src/factory.C (createInset):
9464 * lyxfunc.C (getStatus):
9465 * text3.C (dispatch):
9466 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9468 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9470 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9472 * ParagraphList.C (insert): handle insert right before end()
9473 (erase): fix cases where it can be first or last paragraph.
9475 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9477 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9478 Paragraph::next and Paragraph::previous
9481 * text.C (breakParagraph): adjust
9483 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9484 BufferParams& as arg.
9485 (breakParagraph): use ParagraphList::insert
9486 (breakParagraphConservative): take a Buffer* instead of a
9487 BufferParams& as arg.
9488 (breakParagraphConservative): use ParagraphList::insert.
9490 * buffer.C (insertStringAsLines): un-const it
9491 (insertStringAsLines): adjust
9493 * ParagraphList.C (insert): new function
9495 * CutAndPaste.C (pasteSelection): adjust
9497 * text.C (backspace): adjust
9499 * tabular.C (SetMultiColumn): adjust
9501 * CutAndPaste.C (cutSelection): adjust
9502 (pasteSelection): adjust
9504 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9505 Buffer const * as arg
9507 * ParagraphList.C (erase): new function
9508 * paragraph_funcs.C (mergeParagraph): use it
9509 (mergeParagraph): make it take a Buffer* instead of a
9510 BufferParams* as arg
9512 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9514 (breakParagraphConservative): ditto
9516 * paragraph.h: remove the breakParagraph friend
9518 * paragraph.C (eraseIntern): new function
9519 (setChange): new function
9521 * paragraph_funcs.C (mergeParagraph): make it take a
9522 ParagraphList::iterator instead of a Paragraph *, adjust
9525 * paragraph.h: move an #endif so that the change tracking stuff
9526 also works in the NO_NEXT case.
9528 2003-03-04 Angus Leeming <leeming@lyx.org>
9531 * LyXAction.C: new LFUN_INSET_MODIFY.
9533 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9534 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9536 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9538 * several files: ws changes only
9540 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9541 (TeXEnvironment): ditto
9544 * buffer.C (makeLaTeXFile): adjust
9545 (latexParagraphs): make it take ParagraphList::iterator as args
9547 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9549 * buffer.C (latexParagraphs): adjust
9551 * paragraph.C (TeXOnePar): move function...
9552 (optArgInset): move function...
9553 (TeXEnvironment): move function...
9554 * paragraph_pimpl.C (TeXDeeper): move function...
9555 * paragraph_funcs.C: ...here
9557 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9559 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9561 * buffer.C (readInset): remove compability code for old Figure and
9564 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9566 * buffer.C: ws changes
9569 * BufferView_pimpl.C: ditto
9572 * bufferlist.h: ditto
9576 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9578 * converter.[Ch]: split into itself +
9581 * Makefile.am: += graph.[Ch] + format.[Ch]
9588 * lyxrc.C: added #include "format.h"
9590 2003-02-27 Angus Leeming <leeming@lyx.org>
9592 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9595 * factory.C (createInset): add "label" to the factory.
9597 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9598 string and do no more.
9600 2003-02-27 Angus Leeming <leeming@lyx.org>
9603 * LyXAction.C (init):
9604 * factory.C (createInset):
9605 * BufferView_pimpl.C (dispatch):
9606 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9608 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9610 * lyxfunc.C (dispatch):
9611 * text3.C (dispatch): pass name to params2string.
9613 2003-02-26 Angus Leeming <leeming@lyx.org>
9615 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9617 Rearrange the ~includes. Strip out the unnecessary ones.
9619 * factory.C (createInset): reformat.
9620 create new insets for the various LFUN_XYZ_APPLY lfuns.
9622 2003-02-26 John Levon <levon@movementarian.org>
9625 * lyxrow.C: add isParStart,isParEnd helpers
9627 * paragraph.h: make isInserted/DeletedText take refs
9629 * paragraph_funcs.h:
9630 * paragraph_funcs.C: remove #if 0'd code
9635 * text.C: use lyxrow helpers above.
9636 Move draw and paint routines to RowPainter.
9637 Make several methods use refs not pointers.
9638 Make backgroundColor() const.
9639 Add markChangeInDraw(), isInInset().
9640 Merge changeRegionCase into changeCase.
9641 Make workWidth() shouldn't-happen code into an Assert.
9644 * rowpainter.C: new class for painting a row.
9647 * vspace.C: make inPixels take a ref
9649 2003-02-26 Angus Leeming <leeming@lyx.org>
9651 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9654 2003-02-25 John Levon <levon@movementarian.org>
9656 * ispell.C: give the forked command a more accurate name
9658 2003-02-22 John Levon <levon@movementarian.org>
9661 * toc.C: make TocItem store an id not a Paragraph *
9664 2003-02-21 Angus Leeming <leeming@lyx.org>
9666 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9667 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9668 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9669 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9670 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9671 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9673 * BufferView_pimpl.C (dispatch):
9674 * LyXAction.C (init):
9675 * factory.C (createInset):
9676 * lyxfunc.C (getStatus, dispatch):
9677 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9679 2003-02-21 Angus Leeming <leeming@lyx.org>
9681 * BufferView_pimpl.C (MenuInsertLyXFile):
9682 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9683 * lyxfunc.C (menuNew, open, doImport):
9684 no longer pass a LyXView & to fileDlg.
9686 2003-02-21 Angus Leeming <leeming@lyx.org>
9688 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9689 * LyXAction.C: change, BIBKEY to BIBITEM.
9690 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9691 Change InsetBibKey to InsetBibitem.
9692 Change BIBKEY_CODE to BIBITEM_CODE.
9693 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9694 * factory.C: replace insetbib.h with insetbibitem.h.
9695 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9696 * paragraph.C: replace insetbib.h with insetbibitem.h.
9697 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9698 Change bibkey() to bibitem().
9699 * text.C: remove insetbib.h.
9700 * text2.C: replace insetbib.h with insetbibitem.h.
9701 change bibkey() to bibitem().
9702 * text3.C: remove insetbib.h.
9703 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9705 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9707 * lyxrc.C (output): enclose user email in quotes (in case there are
9710 2003-02-18 John Levon <levon@movementarian.org>
9712 * buffer.h: add std::
9714 2003-02-17 John Levon <levon@movementarian.org>
9720 * pspell.C: reworking. Especially in ispell, a large
9721 number of clean ups and bug fixes.
9723 * lyxfunc.C: fix revert to behave sensibly
9725 2003-02-17 André Pönitz <poenitz@gmx.net>
9728 * commandtags.h: new LFUN_INSERT_BIBKEY
9738 * paragraph_func.C: remove special bibkey handling
9740 2003-02-17 John Levon <levon@movementarian.org>
9742 * text.C (Delete): fix case where delete at the end of
9743 the very first paragraph would not merge the pars
9745 2003-02-17 John Levon <levon@movementarian.org>
9747 * lyxrow.C: fix lastPrintablePos()
9749 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9751 * bufferparams.C (writeLaTeX): add a std:here
9753 * buffer.C: and remove a using directive there
9755 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9757 * buffer.C (makeLaTeXFile): move the code that generates the
9760 * bufferparams.C (writeLaTeX): ... in this new method
9762 * LaTeXFeatures.C (getEncodingSet): make const
9763 (getLanguages): make const
9765 * MenuBackend.C (binding): returns the binding associated to this
9767 (add): sets the status of each item by calling getStatus. Adds
9769 (read): add support for OptSubMenu
9770 (expand): remove extra separator at the end of expanded menu
9772 2003-02-15 John Levon <levon@movementarian.org>
9775 * BufferView_pimpl.C:
9777 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9778 inset code that had no actual effect. Remove unneeded status
9781 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9783 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9786 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9788 * text.C (drawLengthMarker): also draw an arrow marker for
9789 symbolic lengths (medskip...)
9791 2003-02-14 John Levon <levon@movementarian.org>
9794 * tabular.C: better method names
9796 2003-02-14 John Levon <levon@movementarian.org>
9798 * BufferView_pimpl.C:
9803 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9804 it's a more accurate name. Remove some pointless uses.
9806 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9808 * text2.C (LyXText): change order of initilizers to shut off
9811 2003-02-14 John Levon <levon@movementarian.org>
9813 * buffer.C: use ParIterator for getParFromID()
9817 * paragraph_pimpl.h:
9818 * paragraph_pimpl.C: remove unused getParFromID()
9820 2003-02-14 John Levon <levon@movementarian.org>
9822 * buffer.C: remove some very old #if 0'd parse code
9824 2003-02-13 John Levon <levon@movementarian.org>
9828 * text2.C: move hfillExpansion(), numberOfSeparators(),
9829 rowLast(), rowLastPrintable(), numberofHfills(),
9830 numberOfLabelHfills() ...
9833 * lyxrow.C: ... to member functions here.
9838 * text.C: remove LyXText::beginningOfMainBody(), and call
9839 p->beginningOfMainBody() directly. Move the check for
9840 LABEL_MANUAL into the latter.
9847 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9853 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9854 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9856 2003-02-13 John Levon <levon@movementarian.org>
9858 * CutAndPaste.C: remove debug
9860 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9862 * paragraph.C (asString): remove two unused variables
9864 * lyxtextclass.C (readTitleType):
9866 (LyXTextClass): handle new members titletype_ and titlename_
9868 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9870 2003-02-09 John Levon <levon@movementarian.org>
9873 * buffer.C: replace hand-coded list with a map for the dep clean
9875 2003-02-08 John Levon <levon@movementarian.org>
9877 * LaTeX.C: consolidate code into showRunMessage() helper
9879 2003-02-08 John Levon <levon@movementarian.org>
9884 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9885 and pass the size in explicitly
9887 * BufferView_pimpl.h:
9888 * BufferView_pimpl.C:
9890 * BufferView.C: add getCurrentChange()
9892 * BufferView_pimpl.h:
9893 * BufferView_pimpl.C: handle change lfuns
9895 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9896 for changes. Mark pasted paragraphs as new.
9898 * support/lyxtime.h:
9899 * support/lyxtime.C:
9900 * DepTable.C: abstract time_t as lyx::time_type
9903 * LColor.C: add colours for new text, deleted text, changebars
9905 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9906 package use "usenames" option.
9910 * LyXAction.C: add change lfuns
9914 * author.C: author handling
9917 * buffer.C: add a per-buffer author list, with first entry as
9918 current author. Handle new .lyx tokens for change tracking. Output
9919 author list to .lyx file. Output dvipost stuff to .tex preamble.
9920 Bump lyx format to 222.
9923 * bufferlist.C: add setCurrentAuthor() to reset current author details
9927 * bufferparams.C: add param for tracking
9929 * bufferview_funcs.C: output change info in minibuffer
9933 * changes.C: add change-tracking structure
9936 * debug.C: add CHANGES debug flag
9939 * lyxfind.C: add code for finding the next change piece
9942 * lyxrc.C: add user_name and user_email
9945 * lyxrow.C: add a metric for the top of the text line
9948 * text.C: implement accept/rejectChange()
9951 * text.C: paint changebars. Paint new/deleted text in the chosen
9952 colours. Strike through deleted text.
9956 * paragraph_pimpl.h:
9957 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9958 in the current change to the insert functions. Rework erase to
9959 mark text as deleted, adding an eraseIntern() and a range-based
9960 erase(). Implement per-paragraph change lookup and
9963 * paragraph_funcs.C: Fixup paste for change tracking.
9965 * tabular.C: mark added row/columns as new.
9967 * text.C: fix rowLast() to never return -1. Don't allow
9968 spellchecking of deleted text. Track transpose changes. Don't
9969 allow paragraph break or merge where appropriate.
9971 * text2.C: leave cursor at end of selection after a cut.
9973 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9975 * text.C (getLengthMarkerHeight):
9976 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9977 visible on screen too.
9979 2003-02-07 John Levon <levon@movementarian.org>
9981 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9983 2003-02-05 Angus Leeming <leeming@lyx.org>
9985 * lyxserver.C (read_ready): revert my patch of 11 September last year
9986 as it sends PC cpu through the roof. Presumably this means that
9987 the lyxserver will no longer run on an Alpha...
9989 2003-01-30 Angus Leeming <leeming@lyx.org>
9991 * factory.C (createInset): create an InsetCommandParam of type "index"
9992 and use it to 'do the right thing'.
9994 * text2.C (getStringToIndex): ensure that cursor position is always
9995 reset to the reset_cursor position.
9997 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9999 * lyxfunc.C (getStatus): "buffer-export custom" should never be
10002 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
10006 * lyxfunc.C: Output messages with identical spelling, punctuation,
10009 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10011 * MenuBackend.C (expandFormats): List only viewable export formats
10014 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10017 * lyxfunc.C (getStatus): Make sure that formats other than
10018 "fax" can also be disabled
10020 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10022 * text3.C (dispatch): put the lfuns that insert insets in 3
10023 groups, and call doInsertInset with appropriate arguments.
10024 (doInsertInset): new function, that creates an inset and inserts
10025 it according to some boolean parameters.
10027 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
10029 * buffer.C (readFile): remember to pass on 'par' when calling
10030 readFile recursively.
10032 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10034 * MenuBackend.C (expandFormats): add "..." to import formats.
10036 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
10038 * paragraph.C (asString): Remove XForms RTL hacks.
10040 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
10041 * buffer.C: fix typo
10043 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10045 * Makefile.am (LIBS): delete var
10046 (lyx_LDADD): add @LIBS@ here instead.
10048 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
10050 * Clarify the meaning of "wheel mouse jump"
10052 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10054 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10057 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10059 * importer.C (Loaders): do not preallocate 3 elements in the
10060 vector, since one ends up with 6 elements otherwise
10062 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10064 * DepTable.C (write): write the file name as last element of the
10065 .dep file (because it may contain spaces)
10066 (read): read info in the right order
10068 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10070 * paragraph_pimpl.C (simpleTeXBlanks):
10071 (simpleTeXSpecialChars):
10072 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10074 * tabular.C (latex): add some missing case statements. Reindent.
10076 * MenuBackend.C (expandToc): remove unused variable.
10078 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
10087 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10090 2003-01-05 John Levon <levon@movementarian.org>
10093 * BufferView.C: add getEncoding()
10096 * kbsequence.C: do not store last keypress
10099 * lyxfunc.C: store last keypress here instead. Pass encoding
10102 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10104 * lyx_main.C (init): remove annoying error message when following
10105 symbolic links (bug #780)
10107 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10109 * text.C (insertChar):
10110 * lyxrc.C (getDescription): remove extra spaces
10112 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10114 * lyxrc.C (getDescription): remove extra spaces
10116 2002-12-20 John Levon <levon@movementarian.org>
10118 * text3.C: hack fix for page up/down across tall rows
10120 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10122 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10125 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10127 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10128 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10129 thesaurus is not compiled in
10131 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10133 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10135 2002-12-16 Angus Leeming <leeming@lyx.org>
10138 * lyx_main.C (init): remove override_x_deadkeys stuff.
10140 2002-12-12 John Levon <levon@movementarian.org>
10142 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10143 insert. Only remove shift modifier under strict
10146 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10148 * MenuBackend.C (expandToc): fix crash.
10150 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10152 * MenuBackend.C (expandToc): gettext on float names.
10154 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10156 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10157 implement bool empty() [bug 490]
10159 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10161 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10163 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10165 * several files: ws changes
10167 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10169 * text2.C (setCounter): clean up a bit, use boost.format.
10170 (updateCounters): initialize par upon declaration.
10172 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10173 if the layout exists. We do not just store the layout any more.
10174 (SwitchLayoutsBetweenClasses): use boost.format
10176 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10178 * converter.C (convert): if from and to files are the same, use a
10179 temporary files as intermediary
10181 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10184 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10186 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10188 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10190 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10192 * tabular.C (asciiPrintCell): use string(size, char) instead of
10195 * sgml.C (openTag): fix order of arguments to string constructor
10198 * lyxfunc.C (dispatch): use boost.format
10200 * lots of files: change "c" -> 'c'
10202 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10204 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10206 2002-11-25 Angus Leeming <leeming@lyx.org>
10208 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10210 * lyx_main.C (init): compile fix.
10212 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10214 * lyx_cb.C (start): boost.formatify
10215 do not include <iostream>
10217 * lengthcommon.C: ws only
10219 * boost-inst.C,BoostFormat.h: add more explict instantations
10221 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10223 * lots of files: handle USE_BOOST_FORMAT
10225 2002-11-21 John Levon <levon@movementarian.org>
10227 * pspell.C: fix compile
10229 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10231 * lyxfunc.C (dispatch): use boost::format
10235 * lyxfont.C (stateText): use boost::format
10237 * lyx_main.C (LyX): use boost::format
10239 (queryUserLyXDir): ditto
10240 (readRcFile): ditto
10242 (typedef boost::function): use the recommened syntax.
10244 * importer.C (Import): use boost::format
10246 * debug.C (showLevel): use boost::format
10248 * converter.C (view): use boost::format
10253 * bufferview_funcs.C (currentState): use boost::format
10255 * bufferlist.C (emergencyWrite): use boost::format
10257 * buffer.C (readLyXformat2): use boost::format
10258 (parseSingleLyXformat2Token): ditto
10260 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10262 * LaTeX.C (run): use boost::format
10264 * Chktex.C (scanLogFile): use boost::format
10266 * BufferView_pimpl.C (savePosition): use boost::format
10267 (restorePosition): ditto
10268 (MenuInsertLyXFile): ditto
10270 * BoostFormat.h: help file for explicit instation.
10272 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10274 * tabular.C (latex): Support for block alignment in fixed width
10277 2002-11-17 John Levon <levon@movementarian.org>
10279 * BufferView_pimpl.C:
10281 * lyxfunc.C: split filedialog into open/save
10283 2002-11-08 Juergen Vigna <jug@sad.it>
10285 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10286 by my last patch (hopefully).
10288 2002-11-08 John Levon <levon@movementarian.org>
10297 * toc.C: ParConstIterator, and use it (from Lars)
10299 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10301 * lyxtextclass.[Ch]: revise and add doxygen comments
10303 2002-11-07 John Levon <levon@movementarian.org>
10305 * text.C: fix progress value for spellchecker
10307 * toc.C: fix navigate menu for insetwrap inside minipage
10309 * paragraph_funcs.C: added FIXME for suspect code
10311 2002-11-07 John Levon <levon@movementarian.org>
10313 * BufferView_pimpl.C: fix redrawing of insets
10316 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10318 * text2.C (updateCounters): fix bug 668
10320 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10322 * text3.C (dispatch): Do not make the buffer dirty when moving the
10325 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10327 * vc-backend.C: STRCONV
10328 (scanMaster): ditto
10330 * text2.C (setCounter): STRCONV
10332 * paragraph.C (asString): STRCONV
10334 * lyxlength.C (asString): STRCONV
10335 (asLatexString): ditto
10337 * lyxgluelength.C (asString): STRCONV
10338 (asLatexString): ditto
10340 * lyxfunc.C (dispatch): STRCONV
10343 * lyxfont.C (stateText): STRCONV
10345 * importer.C (Import): STRCONV
10347 * counters.C (labelItem): STRCONV
10348 (numberLabel): ditto
10349 (numberLabel): remove unused ostringstream o
10354 * bufferview_funcs.C (currentState): STRCONV
10356 * buffer.C (readFile): STRCONV
10357 (asciiParagraph): ditto
10358 (makeLaTeXFile): ditto
10360 * Spacing.C (writeEnvirBegin): STRCONV
10362 * LaTeXFeatures.C (getLanguages): STRCONV
10363 (getPackages): ditto
10365 (getBabelOptions): ditto
10366 (getTClassPreamble): ditto
10367 (getLyXSGMLEntities): ditto
10368 (getIncludedFiles): ditto
10372 (scanAuxFile): ditto
10375 * LString.h: add the STRCONV macros
10377 * BufferView_pimpl.C (savePosition): STRCONV
10378 (restorePosition): ditto
10379 (MenuInsertLyXFile): ditto
10381 * vc-backend.C (scanMaster): change from submatch[...] to
10384 * funcrequest.C: include config.h
10386 * factory.C: include config.h
10388 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10390 * box.C: include config.h
10392 * LaTeX.C (scanAuxFile): change from submatch[...] to
10396 2002-10-25 Angus Leeming <leeming@lyx.org>
10398 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10400 * ispell.[Ch] (setError): new method.
10401 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10402 Use setError() insetead of goto END.
10404 * lyx_cb.C (AutoSave): move out child process into new class
10407 2002-10-30 John Levon <levon@movementarian.org>
10409 * text3.C: make start appendix undoable
10411 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10413 * lyxlength.C (inPixels): Fix returned value.
10415 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10418 2002-10-24 Angus Leeming <leeming@lyx.org>
10420 * lyxgluelength.h: no need to forward declare BufferParams
10421 or BufferView, so don't.
10423 2002-10-21 John Levon <levon@movementarian.org>
10425 * BufferView.C: menuUndo ->undo, redo
10427 * BufferView.h: document, remove dead, make some methods private
10429 * paragraph_funcs.h:
10430 * paragraph_funcs.C:
10431 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10436 * sgml.C: move sgml open/close tag into sgml.C
10438 * bufferview_funcs.h: unused prototype
10441 * lyxfunc.C: remove unused
10444 * text.C: remove unused
10446 2002-10-21 John Levon <levon@movementarian.org>
10450 * BufferView_pimpl.h:
10451 * BufferView_pimpl.C: fix mouse wheel handling based on
10452 patch from Darren Freeman
10454 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10456 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10458 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10460 * lyxlength.C (inPixels): Fix hanfling of negative length.
10461 Fix LyXLength::MU case.
10463 2002-10-16 John Levon <levon@movementarian.org>
10465 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10467 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10469 * converter.C (view): add support for $$i (file name) and $$p
10470 (file path) for the viewer command. If $$i is not specified, then
10471 it is appended to the command (for compatibility with old syntax)
10473 2002-10-14 Juergen Vigna <jug@sad.it>
10475 * undo_funcs.C (textHandleUndo): alter the order in which the
10476 new undopar is added to the LyXText, as we have to set first
10477 the right prev/next and then add it as otherwise the rebuild of
10478 LyXText is not correct. Also reset the cursor to the right paragraph,
10479 with this IMO we could remove the hack in "redoParagraphs()".
10481 2002-10-09 Angus Leeming <leeming@lyx.org>
10483 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10484 to turn off an optimisation if a new inset is to be inserted.
10486 2002-10-11 André Pönitz <poenitz@gmx.net>
10488 * lyxtext.h: make some functions public to allow access
10489 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10491 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10493 * text3.C (dispatch): when changing layout, avoid an infinite loop
10496 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10498 * lyxrc.C (read): treat a viewer or converter command of "none" as
10501 * MenuBackend.C (expandFormats): for an update, also allow the
10502 formats that are not viewable
10504 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10505 script if it is newer than the lyxrc.defaults in user directory
10507 2002-10-07 André Pönitz <poenitz@gmx.net>
10509 * text.C: Vitaly Lipatov's small i18n fix
10511 2002-09-25 Angus Leeming <leeming@lyx.org>
10513 * ispell.h: doxygen fix.
10515 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10517 * buffer.h (readFile): Add a new argument to the method, to allow
10518 reading of old-format templates.
10520 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10522 * toc.C (getTocList): Get TOC from InsetWrap.
10524 2002-09-16 John Levon <levon@movementarian.org>
10526 * lyxfunc.C: check tabular for cut/copy too
10528 2002-09-12 John Levon <levon@movementarian.org>
10530 * LyXAction.C: tidy
10533 * factory.C: add header
10535 * paragraph_funcs.h:
10536 * paragraph_funcs.C: cleanup
10538 2002-09-11 John Levon <levon@movementarian.org>
10540 * PrinterParams.h: odd/even default to true
10542 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10544 * PrinterParams.h: update printer parameters for new xforms dialog
10546 2002-09-11 Angus Leeming <leeming@lyx.org>
10548 * lyxserver.C (read_ready): re-write to make it more transparent
10549 and to make it work in coherent fashion under Tru64 Unix.
10551 2002-09-11 André Pönitz <poenitz@gmx.net>
10555 * text3.C: implement LFUN_WORDSEL
10557 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10559 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10560 make floatlist_ a boost::shared_ptr<FloatList>
10562 * lyxtextclass.C: include FloatList.h
10563 (LyXTextClass): initialize floatlist_
10564 (TextClassTags): add TC_NOFLOAT
10565 (Read): match "nofloat" to TC_NOFLOAT and use it.
10566 (readFloat): modify call to floatlist_
10570 * FloatList.[Ch] (FloatList): remove commented out float
10572 (erase): new function
10574 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10576 * MenuBackend.C (expandToc): fix crash when there is no document
10579 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10581 * many files: Add insetwrap.
10583 2002-09-09 John Levon <levon@movementarian.org>
10585 * text2.C: remove confusing and awkward depth wraparound
10587 2002-09-09 John Levon <levon@movementarian.org>
10589 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10592 * buffer.C: remove getIncludeonlyList()
10595 * lyxfunc.C: remove headers
10597 2002-09-09 Juergen Vigna <jug@sad.it>
10599 * text.C (getColumnNearX): fix form Michael this is most
10600 probably a cut&paste bug.
10602 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10604 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10606 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10607 references, ws changes.
10609 * text2.C (init): update counters after init
10610 (insertParagraph): no need to set counter on idividual paragraphs.
10611 (setCounter): access the counters object in the textclass object
10612 on in the buffer object.
10613 (updateCounters): ditto
10615 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10616 shared_ptr<Counters> to avoid loading counters.h in all
10618 (LyXTextClass): initialize ctrs_
10619 (TextClassTags): add TC_COUNTER, and ...
10620 (Read): use it here.
10621 (CounterTags): new tags
10622 (readCounter): new function
10623 (counters): new funtion
10624 (defaultLayoutName): return a const reference
10626 * counters.C (Counters): remove contructor
10627 (newCounter): remove a couple of unneeded statements.
10628 (newCounter): simplify a bit.
10629 (numberLabel): some small formatting changes.
10631 * buffer.[Ch]: remove all traces of counters, move the Counters
10632 object to the LyXTextClass.
10634 2002-09-06 Alain Castera <castera@in2p3.fr>
10636 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10637 package to set the horizontal alignment on fixed width columns.
10640 * lyx_sty.h: added tabularnewline macro def.
10642 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10644 2002-09-06 John Levon <levon@movementarian.org>
10646 * LyXAction.C: tooltips for sub/superscript
10648 * MenuBackend.C: a bit more verbose
10650 * lyxfunc.C: tiny clean
10652 * undo_funcs.C: document undo_frozen
10654 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10656 * counters.C (Counters): add missing algorithm counter.
10658 * text2.C (setCounter): lookup the counter with layouts latexname
10659 instead of by section number.
10660 (setCounter): use a hackish way to lookup the correct enum
10662 a float name->type change
10663 reset enum couners with counter name directly instead of depth value.
10665 * counters.C (Counters): remove the push_backs, change to use the
10666 float type not the float name.
10667 (labelItem): remove unused string, float name->type change
10669 * counters.h: don't include vector, loose the enums and sects vectors
10671 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10673 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10674 (Read): add float->TC_FLOAT to textclassTags
10675 (Read): and handle it in the switch
10676 (readFloat): new function
10678 * FloatList.C (FloatList): comment out the hardcoded float
10681 * lyxlayout.h: ws change.
10683 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10685 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10687 2002-09-03 Angus Leeming <leeming@lyx.org>
10689 * BufferView_pimpl.h: qualified name is not allowed in member
10690 declaration: WorkArea & Pimpl::workarea() const;
10692 * factory.C: added using std::endl directive.
10694 * text3.C: added using std::find and std::vector directives.
10696 2002-08-29 André Pönitz <poenitz@gmx.net>
10699 * text2.C: remove unused member number_of_rows
10702 * BufferView2.C: remove file, move contents to...
10703 * BufferView.C: ... here
10705 * BufferView_pimpl.C:
10706 * factory.C: move more inset creation to factory
10708 * vspace.C: avoid direct usage of LyXText, ws changes
10711 don't provide direct access to WorkArea, use two simple
10712 acessors haveSelction() and workHeight() instead
10715 2002-08-29 John Levon <levon@movementarian.org>
10717 * BufferView_pimpl.C (dispatch): do not continue when
10720 2002-08-28 André Pönitz <poenitz@gmx.net>
10722 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10725 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10727 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10729 * buffer.C: increment LYX_FORMAT to 221
10731 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10732 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10734 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10736 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10738 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10740 * factory.C (createInset): use LyXTextClass::floats
10742 * MenuBackend.C (expandFloatListInsert):
10743 (expandFloatInsert):
10746 * text2.C (setCounter):
10748 * LaTeXFeatures.C (useFloat):
10749 (getFloatDefinitions):
10751 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10753 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10754 floatlist_, with accessor floats().
10756 * FloatList.h: remove global FloatList
10758 2002-08-26 André Pönitz <poenitz@gmx.net>
10760 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10764 * BufferView_pimpl.C:
10765 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10767 2002-08-25 John Levon <levon@movementarian.org>
10769 * LyXAction.C: fix margin note description
10771 2002-08-24 John Levon <levon@movementarian.org>
10775 * bufferview_funcs.C:
10777 * undo_funcs.C: cleanups
10779 * lyxfunc.C: disable CUT/COPY when no selection
10781 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10783 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10784 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10786 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10787 Add backward compatibility to "mono", "gray" and "no".
10789 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10791 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10792 (and file_format >= 200).
10794 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10796 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10798 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10800 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10802 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10804 * BufferView_pimpl.C:
10811 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10812 inset and code to make it work with the paragraph code. The inset
10813 can be anywhere in the paragraph, but will only do the expected
10814 thing in LaTeX if the layout file contains the parameter line
10816 (or more generally, a nonzero value) for that layout.
10818 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10820 * paragraph.h: remove the declaration of undefined counters class
10823 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10825 * text2.C (setCounter): fixed enumeration mis-count as reported by
10826 Dr. Richard Hawkins.
10828 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10830 * paragraph_funcs.h: remove some unneeded includes
10832 * text.C (backspace): pasteParagraph now in global scipe
10834 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10835 (pasteSelection): ditto
10837 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10838 * paragraph_funcs.C (pasteParagraph): ... here
10840 2002-08-20 André Pönitz <poenitz@gmx.net>
10842 * commandtags.h: new LFUNs for swapping/copying table row/colums
10845 * lyxfunc.C: support for new lfuns
10847 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10850 * buffer.[Ch]: remove NO_COMPABILITY stuff
10852 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10854 * boost.C (throw_exception): new file, with helper function for
10855 boost compiled without exceptions.
10860 * ParameterStruct.h:
10861 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10863 * bufferlist.C (emergencyWriteAll): use boost bind
10865 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10867 * text.C: include paragraph_funcs.h
10868 (breakParagraph): breakParagraph is now in global scope
10870 * paragraph_funcs.[Ch]: new files
10872 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10875 * buffer.C: include paragraph_funcs.h
10876 (insertStringAsLines): breakParagraph is now in global scope
10878 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10881 * CutAndPaste.C: include paragraph_funcs.h
10882 (cutSelection): breakParagraphConservative is now in global scope
10883 (pasteSelection): ditto
10885 * buffer.h: declare oprator== and operator!= for
10886 Buffer::inset_iterator
10888 * bufferlist.C (emergencyWrite): don't use fmt(...)
10890 * text3.C: add using std::endl
10892 * BufferView.C (moveCursorUpdate): remove default arg
10894 2002-08-20 André Pönitz <poenitz@gmx.net>
10896 * buffer.[Ch]: move inline functions to .C
10899 * BufferView_pimpl.C:
10901 * buffer.[Ch]: use improved inset_iterator
10904 * paragraph.[Ch]: write one paragraph at a time
10906 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10908 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10909 style if style is not specified.
10911 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10913 * text2.C (setCounter): when searching for right label for a
10914 caption, make sure to recurse to parent insets (so that a caption
10915 in a minipage in a figure float works) (bug #568)
10917 2002-08-20 André Pönitz <poenitz@gmx.net>
10919 * text3.C: new file for LyXText::dispatch() and helpers
10921 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10923 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10925 2002-08-19 André Pönitz <poenitz@gmx.net>
10928 * text.C: new LyXText::dispatch()
10930 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10932 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10934 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10936 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10939 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10941 * Makefile.am: use $(variables) instead of @substitutions@
10943 2002-08-15 André Pönitz <poenitz@gmx.net>
10946 * BufferView_pimpl.C: streamlining mathed <-> outer world
10950 * LyXAction.C: remove unused LFUN_MATH
10952 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10954 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10956 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10958 * paragraph.C (Paragraph): reformat a bit
10959 (cutIntoMinibuffer): use builtin InsetList function instad of
10963 * buffer.C: include boost/bind.hpp, add using std::for_each
10964 (writeFileAscii): use ParagraphList iterators
10965 (validate): use for_each for validate traversal of paragraphs
10966 (getBibkeyList): use ParagraphList iterators
10967 (resizeInsets): use for_each to resizeInsetsLyXText for all
10969 (getParFromID): use ParagraphList iterators
10971 * BufferView2.C (lockInset): use paragraph list and iterators
10973 2002-08-14 John Levon <levon@movementarian.org>
10975 * lyxserver.C: remove spurious xforms include
10977 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10979 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10981 2002-08-13 André Pönitz <poenitz@gmx.net>
10984 * lyxfunc.C: further cleaning
10986 2002-08-13 André Pönitz <poenitz@gmx.net>
10988 * funcrequest.h: new constructor
10990 * funcrequest.C: move stuff here from .h
10993 * BufferView_pimpl.C:
10996 * lyxfunc.C: subsequent changes
10998 * lyxfunc.h: new view() member function
11000 * lyxfunc.C: subsequent changes
11002 2002-08-13 Angus Leeming <leeming@lyx.org>
11005 * BufferView_pimpl.C:
11013 changes due to the changed LyXView interface that now returns references
11014 to member variables not pointers.
11016 2002-08-13 Angus Leeming <leeming@lyx.org>
11018 * WordLangTuple (word, lang_code): return references to strings,
11023 * lyxtext.h: forward-declare WordLangTuple.
11028 * text.C: #include "WordLangTuple.h".
11031 * text.C: (selectNextWordToSpellcheck): constify return type.
11033 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
11039 * paragraph_pimpl.h:
11042 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11043 suggested by Angus.
11044 Made updateCounter always count from start of buffer, and removed
11045 second argument (par).
11046 Reverted floats number display to '#'. Perhaps I'll try again when the
11047 code base is sanitized a bit.
11049 2002-08-12 Angus Leeming <leeming@lyx.org>
11051 * buffer.[Ch] (getLabelList): constify.
11053 2002-08-07 André Pönitz <poenitz@gmx.net>
11055 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11057 * funcrequest.h: extension to keep mouse (x,y) position
11059 2002-08-12 Juergen Vigna <jug@sad.it>
11061 * BufferView2.C (insertErrors): forbid undo when inserting error
11064 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11066 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
11068 * ParagraphList.[Ch]: new files
11070 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11072 * BufferView2.C (lockInset): ParagraphList changes
11075 * bufferlist.C: ditto
11079 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11081 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11082 unused class variable counter_,
11084 * paragraph.[Ch] (getFirstCounter): delete unused function
11086 * counters.C: include LAssert.h
11087 (reset): add a new function with no arg, change other version to
11088 not have def. arg and to not allow empty arg.
11090 * text2.C (setCounter): remove empty arg from call to Counters::reset
11092 2002-08-11 John Levon <levon@movementarian.org>
11094 * Makefile.am: add WordLangTuple.h
11096 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11098 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11099 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11101 * insets/insettext.C: InsetList changes
11103 * graphics/GraphicsSupport.C (operator()): InsetList changes
11105 * toc.C (getTocList): InsetList changes
11107 * paragraph_pimpl.[Ch]: InsetList changes
11109 * paragraph.[Ch]: InsetList changes
11111 * buffer.C (inset_iterator): InsetList changes
11112 (setParagraph): ditto
11113 * buffer.h (inset_iterator): ditto
11114 * iterators.C (operator++): ditto
11115 * iterators.h: ditto
11117 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11119 * InsetList.[Ch]: new files, most InsetList handling moved out of
11122 * BufferView2.C (removeAutoInsets): InsetList changes
11124 (ChangeInsets): ditto
11126 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11128 * paragraph_pimpl.h (empty): new function
11130 * paragraph.[Ch] (empty): new function
11132 * other files: use the new Paragraph::empty function
11134 2002-08-09 John Levon <levon@movementarian.org>
11136 * lyxtext.h: remove unused refresh_height
11138 2002-08-09 John Levon <levon@movementarian.org>
11145 * paragraph.C: move sgml char escaping out of paragraph
11148 * paragraph.C: remove id setter
11152 * paragraph_pimpl.C: remove dead tex_code_break_column
11154 * bufferview_funcs.C: small cleanup
11156 * lyxfunc.C: remove dead proto
11158 * lyxtext.h: make some stuff private. Remove some dead stuff.
11160 * lyxgluelength.C: make as[LyX]String() readable
11162 2002-08-08 John Levon <levon@movementarian.org>
11167 * ToolbarDefaults.C:
11170 * toc.C: lyxaction cleanup
11172 2002-08-08 John Levon <levon@movementarian.org>
11174 * BufferView2.C: small cleanup
11177 * lyxfind.C: move unnecessary header into the .C
11179 2002-08-08 John Levon <levon@movementarian.org>
11181 * funcrequest.h: just tedious nonsense
11184 * lyx_main.C: cleanups
11187 * vspace.C: remove dead header lyx_main.h
11189 2002-08-07 Angus Leeming <leeming@lyx.org>
11192 * paragraph_pimpl.h:
11193 Forward declare class Counters in paragraph.h by moving the ctrs member
11194 variable into Paragraph::Pimpl.
11195 (counters): new method, returning a reference to pimpl_->ctrs.
11197 * text2.C: ensuing changes.
11199 2002-08-07 John Levon <levon@movementarian.org>
11201 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11203 * BufferView_pimpl.C: announce X selection on double/triple
11206 * lyx_main.C: use correct bool in batch dispatch
11208 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11210 2002-08-07 André Pönitz <poenitz@gmx.net>
11212 * funcrequest.h: new class to wrap a kb_action and its argument
11215 * BufferView_pimpl[Ch]:
11219 * lyxrc.C: subsequent changes
11222 2002-08-07 John Levon <levon@movementarian.org>
11224 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11225 document options change.
11227 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11232 * makefile.am: move counters functionality over from
11233 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11235 2002-08-06 John Levon <levon@movementarian.org>
11237 * WordLangTuple.h: new file for word + language code tuple
11248 * BufferView2.C: use WordLangTuple
11251 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11253 2002-08-06 John Levon <levon@movementarian.org>
11255 * lyx_main.C: fix cmdline batch handling
11257 2002-08-06 André Pönitz <poenitz@gmx.net>
11259 * lyxrc.C: set default for show_banner to true
11261 2002-08-06 John Levon <levon@movementarian.org>
11263 * pspell.C: fix a crash, and allow new aspell to work
11265 2002-08-06 John Levon <levon@movementarian.org>
11268 * kbmap.C: small cleanup
11271 * vspace.C: add const
11273 2002-08-05 John Levon <levon@movementarian.org>
11275 * LyXAction.C: back to tabular-insert
11277 2002-08-04 John Levon <levon@movementarian.org>
11280 * BufferView.C: cosmetic change
11282 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11292 * BufferView2.C: purge all "Lyx" not "LyX" strings
11295 * lyxcursor.C: attempt to add some documentation
11300 * ToolbarDefaults.C:
11301 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11302 merge with LFUN_TABULAR_INSERT
11309 * pspell.C: split up i/pspell implementations into separate
11310 files, many cleanups
11312 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11314 * text2.C: some cleanup
11316 * lyxfunc.C: don't check for isp_command == "none" any more, it
11317 didn't make any sense
11319 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11324 * makefile.am: move counters functionality over
11325 from text2.C/paragraph.[Ch] to counters.[Ch], and
11327 2002-08-02 John Levon <levon@movementarian.org>
11329 * buffer.C: s/lyxconvert/lyx2lyx/
11331 2002-08-02 Angus Leeming <leeming@lyx.org>
11333 * lyxlex.C: revert John's change as it breaks reading of the user
11336 2002-08-02 Angus Leeming <leeming@lyx.org>
11338 * importer.C (Import):
11339 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11340 changes due to LyXView::view() now returning a boost::shared_ptr.
11342 2002-08-02 John Levon <levon@movementarian.org>
11344 * lyxlex.C: small cleanup
11346 2002-08-02 John Levon <levon@movementarian.org>
11348 * text2.C (status): small cleanup, no logic change
11350 2002-08-01 John Levon <levon@movementarian.org>
11353 * buffer.C (writeFile): don't output alerts, caller
11357 * lyx_cb.C: from above
11359 * lyxfunc.C: allow to open non-existent files
11361 2002-07-31 John Levon <levon@movementarian.org>
11363 * lyxserver.C: don't let incidental errors get
11366 2002-07-30 John Levon <levon@movementarian.org>
11368 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11370 2002-07-30 John Levon <levon@movementarian.org>
11373 * lyxserver.C: remove I/O callback too
11375 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11377 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11380 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11382 * many files: strip,frontStrip -> trim,ltrim,rtrim
11384 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11386 * PrinterParams.h: remove extern containsOnly, and include
11387 support/lstrings.h instead.
11389 * LaTeX.C (scanAuxFile): modify because of strip changes
11391 * buffer.C (makeLaTeXFile): ditto
11392 * bufferparams.C (writeFile): ditt
11393 * lyxfont.C (stateText): ditto
11394 * lyxserver.C (read_ready): ditto
11395 * vc-backend.C (scanMaster): ditto
11397 * BufferView_pimpl.h: ws changes
11399 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11401 2002-07-26 André Pönitz <poenitz@gmx.net>
11403 * kb_sequence.C: remove unnedred usings
11405 2002-07-26 Juergen Vigna <jug@sad.it>
11407 * lyxfind.C (LyXReplace): we have to check better if the returned
11408 text is not of theLockingInset()->getLockingInset().
11410 2002-07-25 Juergen Vigna <jug@sad.it>
11412 * lyxfind.C (LyXReplace): don't replace if we don't get the
11415 * undo_funcs.C (createUndo): remove debugging code.
11417 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11419 * buffer.C (parseSingleLyXformat2Token): Use default placement
11420 when reading old floats.
11422 * FloatList.C (FloatList): Change the default placement of figure
11423 and tables to "tbp".
11425 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11427 * MenuBackend.C: using std::max
11429 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11431 * MenuBackend.C (expandToc):
11432 (expandToc2): code moved from xforms menu frontend. It is now
11433 generic and TOCs are transparent to menu frontends.
11435 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11437 * toc.C (getTocList): protect against buf=0
11439 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11440 Menu as first parameter. Now, this calls itself recursively to
11441 expand a whole tree (this will be useful for TOC handling)
11442 (expandFloatInsert): remove 'wide' version of floats
11444 * MenuBackend.h (submenuname): returns the name of the submenu.
11445 (submenu): returns the submenu itself, provided it has been
11446 created by MenuBackend::expand
11448 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11450 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11451 insets which have noFontChange == true. (bug #172)
11453 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11455 * BufferView_pimpl.C: add connection objects and use them...
11458 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11460 * MenuBackend.C (expandLastfiles):
11463 (expandFloatListInsert):
11464 (expandFloatInsert):
11465 (expand): split expand in parts
11467 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11469 * lyx_gui.C: use lyx_gui::exit()
11471 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11473 * LyXAction.C: show the failing pseudo action
11475 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11477 * buffer.C (readFile): Run the lyxconvert script in order to read
11480 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11484 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11486 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11490 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11492 2002-07-22 Herbert Voss <voss@lyx.org>
11495 * lyxlength.[Ch]: add support for the vertical lengths
11497 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11499 * toc.[Ch]: std:: fixes
11501 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11503 * lyxrc.C: do not include lyx_main.h
11505 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11511 * BufferView2.C: include "lyxlex.h"
11514 * bufferparams.h: do not #include "lyxlex.h"
11516 * lyxtextclasslist.C (Add): remove method
11517 (classlist): renamed to classlist_
11519 * paragraph_pimpl.C:
11523 * bufferview_funcs.C:
11528 * toc.C (getTocList): use BufferParams::getLyXTextClass
11530 * toc.C (getTocList): use InsetFloat::addToToc
11532 * toc.[Ch]: new files, containing helper functions to handle table
11535 * lyxfunc.C (dispatch): no need to remove spaces around command
11537 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11538 first command of the sequence; it is not very clever, but I do not
11539 have a better idea, actually
11541 * LyXAction.C (LookupFunc): make sure to remove space at the
11542 beginning and end of the command
11544 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11546 * MenuBackend.C (getMenubar): new method: return the menubar of
11548 (read): treat differently reading of menu and menubar (in
11549 particular, the menubar has no name now)
11550 (Menu::menubar): remove
11552 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11555 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11557 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11558 a bibitem inset in a RTL paragraph.
11560 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11562 * paragraph_pimpl.C: constify
11564 * BufferView_pimpl.C:
11566 * lyxfunc.C: fix dispatch in a nicer way
11568 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11570 * lyxfunc.C (dispatch):
11571 * BufferView_pimpl.C:
11572 * BufferView_pimpl.h:
11574 * BufferView.h: rename Dispatch() to dispatch()
11576 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11578 * lyxlayout.C (Read): honor DependsOn tag
11580 * lyxlayout.[Ch] (depends_on): new method
11582 * version.C.in: update lyx_docversion
11584 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11586 * paragraph.C (validate): remove from here...
11587 * paragraph_pimpl.C (validate): ... and move here
11588 (isTextAt): make it const
11590 * buffer.C (getLists): ws cleanup
11592 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11594 * language.C (read): Use iso8859-1 encoding in latex_lang
11595 (this prevents LyX from crashing when using iso10646-1 encoding).
11597 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11599 * text2.C (toggleInset): if cursor is inside an inset, close the
11600 inset and leave cursor _after_ it
11602 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11604 * lyxfunc.C: move minibuffer completion handling out of here
11606 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11608 * BufferView_pimpl.C:
11609 * LaTeX.C: fix dispatch calls
11611 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11613 * text.C (drawChars): Fix Arabic text rendering.
11615 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11619 * lyxfunc.C: remove message-push/pop
11623 * lyxfunc.C: rationalise some code by removing verboseDispatch
11624 in favour of a bool argument to dispatch()
11626 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11628 * lyx_main.C (init): make sure to read symlinks as absolute paths
11630 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11633 * lyxfunc.C: no need for commandshortcut to be a member
11635 2002-07-15 André Pönitz <poenitz@gmx.net>
11637 * converter.C: add support for $$s (scripts from lib/scripts dir)
11638 * lyx_main.C: white space
11640 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11644 * lyxrc.C: remove second exit confirmation
11646 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11651 * BufferView_pimpl.h:
11652 * BufferView_pimpl.C:
11653 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11655 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11657 * MenuBackend.C (expand): add numeric shortcuts to document menu
11659 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11661 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11663 * lyxfont.C (setLyXFamily):
11670 * buffer.C (asciiParagraph): use ascii_lowercase
11672 2002-07-15 Mike Fabian <mfabian@suse.de>
11674 * lyxlex_pimpl.C (search_kw):
11675 * lyxlex.C (getLongString):
11676 * converter.h (operator<):
11677 * converter.C (operator<):
11678 * buffer.C (parseSingleLyXformat2Token):
11680 * ToolbarDefaults.C (read):
11681 * MenuBackend.C (checkShortcuts):
11683 * LColor.C (getFromGUIName):
11684 (getFromLyXName): use the compare_ascii_no_case instead of
11685 compare_no_case, because in turkish, 'i' is not the lowercase
11686 version of 'I', and thus turkish locale breaks parsing of tags.
11688 2002-07-16 Angus Leeming <leeming@lyx.org>
11690 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11691 now takes a Buffer const & argument.
11693 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11695 * BufferView.C (resize): check there's a buffer to resize
11697 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11699 * lyxfunc.C: remove dead code
11702 * lyxserver.C: use lyx_guii::set_read_callback
11704 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11706 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11707 an inset in a RTL paragraph.
11709 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11711 * lyxfunc.C: repaint after a font size update
11713 2002-07-15 André Pönitz <poenitz@gmx.net>
11715 * lyxlength.C: inBP should be able to return negative values
11717 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11719 * lyxfunc.C: use lyx_gui::update_fonts()
11721 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11723 * lyxfunc.C: use lyx_gui::update_color()
11725 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11731 * lyxrc.C: remove file->new asks for name option, and let
11732 buffer-new take an argument
11734 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11736 * BufferView_pimpl.C: remove unneeded extra repaint()
11738 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11740 * LyXAction.C: allow command-sequence with NoBuffer
11742 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11744 2002-07-10 Angus Leeming <leeming@lyx.org>
11746 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11748 2002-07-09 Angus Leeming <leeming@lyx.org>
11750 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11752 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11754 * lengthcommon.h: whitespace
11756 * lyxfunc.C: update scrollbar after goto paragraph
11758 * lyxtext.h: factor out page break drawing, and fix it so
11759 page break/added space paints as selected nicely
11761 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11763 * BufferView_pimpl.C: add FIXMEs, clean up a little
11765 2002-07-09 André Pönitz <poenitz@gmx.net>
11767 * lyxfont.[Ch]: support for wasy symbols
11769 2002-07-08 André Pönitz <poenitz@gmx.net>
11771 * BufferView_pimpl.C: apply John's patch for #93.
11773 2002-07-05 Angus Leeming <leeming@lyx.org>
11775 * BufferView_pimpl.C (buffer): generate previews if desired.
11777 * LColor.h: add "preview" to the color enum.
11779 * LColor.C (LColor): add a corresponding entry to the items array.
11781 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11784 2002-07-05 Angus Leeming <leeming@lyx.org>
11786 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11787 The body of the code is now in the method that is passed an ostream &
11788 rather than a file name.
11789 Pass an additional only_preamble parameter, useful for the forthcoming
11792 2002-07-03 André Pönitz <poenitz@gmx.net>
11794 * lyxfunc.C: simplify getStatus() a bit for math stuff
11796 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11798 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11800 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11802 * text.C (changeRegionCase): do not change case of all the
11803 document when region ends at paragraph end (bug #461)
11805 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11807 * paragraph.C (startTeXParParams):
11808 (endTeXParParams): add \protect when necessary
11810 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11812 * BufferView_pimpl.C (workAreaExpose): remove warning
11814 2002-06-27 Angus Leeming <leeming@lyx.org>
11816 * Makefile.am: add lyxlayout_ptr_fwd.h.
11818 2002-06-26 André Pönitz <poenitz@gmx.net>
11820 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11822 2002-06-25 Angus Leeming <leeming@lyx.org>
11824 * lyxfunc.C (dispatch): Comment out the call to
11825 grfx::GCache::changeDisplay. The method no longer exists now that the
11826 pixmap generation part of the graphics loader has been moved into
11829 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11831 * text2.C: layout as layout
11833 * text.C: layout as layout
11835 * tabular.C (OldFormatRead): layout as layout
11837 * paragraph_pimpl.C (TeXDeeper): layout as layout
11838 (realizeFont): layout as layout
11840 * paragraph.C (writeFile): layout as layout
11841 (validate): layout as layout
11842 (getFont): layout as layout
11843 (getLabelFont): layout as layout
11844 (getLayoutFont): layout as layout
11845 (breakParagraph): layout as layout
11846 (stripLeadingSpaces): layout as layout
11847 (getEndLabel): layout as layout
11848 (getMaxDepthAfter): layout as layout
11849 (applyLayout): layout as layout
11850 (TeXOnePar): layout as layout
11851 (simpleTeXOnePar): layout as layout
11852 (TeXEnvironment): layout as layout
11853 (layout): layout as layout
11854 (layout): layout as layout
11856 * lyxtextclass.C (compare_name): new functor to work with
11857 shared_ptr, layout as layout
11858 (Read): layout as layout
11859 (hasLayout): layout as layout
11860 (operator): layout as layout
11861 (delete_layout): layout as layout
11862 (defaultLayout): layout as layout
11864 * lyxlayout_ptr_fwd.h: new file
11866 * lyxlayout.C (Read): layout as layout
11868 * lyx_cb.C (MenuInsertLabel): layout as layout
11870 * bufferlist.C (newFile): layout as layout
11872 * buffer.C (readLyXformat2): layout as layout
11873 (parseSingleLyXformat2Token): layout as layout
11874 (insertStringAsLines): layout as layout
11875 (asciiParagraph): layout as layout
11876 (latexParagraphs): layout as layout
11877 (makeLinuxDocFile): layout as layout
11878 (simpleLinuxDocOnePar): layout as layout
11879 (makeDocBookFile): layout as layout
11880 (simpleDocBookOnePar): layout as layout
11881 (getLists): layout as layout
11883 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11885 * CutAndPaste.C (cutSelection): layout as layout
11886 (pasteSelection): layout as layout
11887 (SwitchLayoutsBetweenClasses): layout as layout
11889 * BufferView_pimpl.C (Dispatch): layout as layout
11890 (smartQuote): layout as layout
11892 * BufferView2.C (unlockInset): layout as layout
11894 2002-06-24 André Pönitz <poenitz@gmx.net>
11896 * lyxfunc.C: fix #487
11898 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11902 * lyxfunc.C: remove display_shortcuts, show_banner
11904 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11906 * Buffer_pimpl.C: oops, update on resize
11908 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11915 * BufferView.C: use repaint()
11917 * BufferView_pimpl.h:
11918 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11919 as it's a clearer description. Remove superfluous
11922 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11924 * text.C: fix bug 488. Not ideal, but getting
11925 getWord() to work properly for the insets that
11926 matter is more difficult ...
11928 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11930 * BufferView_pimpl.C:
11933 * lyxfunc.C: remove the six million index lyxfuncs to just
11934 one, and DTRT (bug 458)
11936 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11940 * BufferView_pimpl.h:
11941 * BufferView_pimpl.C: clean up resize() stuff,
11942 and unnecessary updateScreen()s
11944 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11948 * BufferView_pimpl.h:
11949 * BufferView_pimpl.C:
11952 * minibuffer.C: remove focus management of workarea,
11953 not needed. Use screen's greyOut()
11955 2002-06-17 Herbert Voss <voss@lyx.org>
11957 * converter.C: (convert) do not post a message, when converting
11958 fails, let the calling function decide what to do in this case
11960 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11962 * lyxfunc.C: tidy up a little
11964 2002-06-16 <alstrup@diku.dk>
11966 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11967 Got rid of FORMS_H_LOCATION include. Now we are
11970 2002-06-15 LyX Development team <lyx@rilke>
11972 * buffer.[Ch] (sgmlOpenTag):
11973 (sgmlCloseTag): Added support for avoiding pernicious mixed
11974 content. Return number of lines written.
11976 (makeLinuxDocFile):
11977 (makeDocBookFile): Fixed calls to sgml*Tag.
11978 Simple white space clean.
11980 (simpleDocBookOnePar): Simple white space clean.
11982 * tabular.[Ch] (docBook): Renamed to docbook and got another
11983 argument to related with the pernicious mixed content.
11985 (docbookRow): Fixed calls for docbook inset method.
11987 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11989 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11990 so it's X11 independent.
11994 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11996 2002-06-15 Lyx Development team <lyx@electronia>
11998 * intl.h: Renamed getTrans to getTransManager.
12000 2002-06-14 Angus Leeming <leeming@lyx.org>
12002 * Makefile.am: nuke forgotten stl_string_fwd.h.
12004 2002-06-12 Angus Leeming <leeming@lyx.org>
12006 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12008 2002-06-13 Angus Leeming <leeming@lyx.org>
12011 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12013 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
12015 * kbmap.C (getiso): add support for cyrillic and greek
12017 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12021 * BufferView_pimpl.h:
12022 * BufferView_pimpl.C: move bogus scrolling logic
12025 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12028 * BufferView_pimpl.C: view->resize() change
12030 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12032 * BufferView_pimpl.C: topCursorVisible
12035 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12039 * lyx_gui.C: move to frontends/
12043 * lyx_main.C: changes from above
12045 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12052 * lyx_main.C: minor tidy
12054 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12056 * BufferView_pimpl.h:
12057 * BufferView_pimpl.C:
12059 * BufferView.C: make painter() const,
12062 * BufferView2.C: use screen() accessor
12065 * lyx_main.C: some minor cleanup
12067 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12069 * BufferView_pimpl.h:
12070 * BufferView_pimpl.C: remove enter/leaveView,
12073 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
12078 * BufferView_pimpl.h:
12079 * BufferView_pimpl.C: only construct screen once,
12082 * lyxrc.C: remove pointless comment
12084 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12087 * BufferView.C: remove active() and belowMouse()
12089 * BufferView_pimpl.h:
12090 * BufferView_pimpl.C: use workarea() not workarea_,
12091 and make it use a scoped_ptr instead
12093 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
12095 * lyx_gui.C: add debug message on BadWindow
12097 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12099 * sp_spell.C: fdopen is not part of the C++ standard.
12101 * paragraph.C (InsetIterator): use >= instead of ==
12103 2002-06-07 Angus Leeming <leeming@lyx.org>
12105 Fixes needed to compile with Compaq cxx 6.5.
12106 * BufferView_pimpl.C:
12113 * lyxtextclasslist.C:
12118 all c-library variables have been moved into namespace std. Wrap
12119 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12124 Add a using std::abs declaration.
12126 * kbmap.h (modifier_pair):
12127 * paragraph.h (InsetTable, InsetList):
12128 * lyxfont.h (FontBits):
12129 type definition made public.
12131 * bufferlist.C (emergencyWriteAll): the compiler complains that
12132 there is more than one possible lyx::class_fun template to choose from.
12133 I re-named the void specialisation as lyx::void_class_fun.
12135 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12137 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12138 the compiler is is unable to find tostr in write_attribute.
12140 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12142 * buffer.C (sgmlError): hide #warning
12144 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12146 * xtl/*: get rid of xtl, which is not in use anyway
12148 * LyXAction.C (init):
12149 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12150 were unimplemented xtl experimentation
12152 2002-06-04 André Pönitz <poenitz@gmx.net>
12154 * lyxfunc.C: disable array operation on simple formulae
12156 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12158 * converter.C: constify a bit
12160 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12162 * lyx_gui.C: check xforms version correctly
12164 2002-04-30 Herbert Voss <voss@lyx.org>
12166 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12169 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12171 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12172 attempt to register it with a VCS)
12174 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12176 * lyx_main.C (init): honor variables LYX_DIR_13x and
12179 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12183 * lyx_main.C: fix a crash on bad command line,
12184 and give a useful exit status on error
12186 * lyxfunc.C (doImport): allow -i lyx to work
12188 2002-03-30 André Pönitz <poenitz@gmx.net>
12190 * lyxfunc.C: mathed font changes
12192 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12207 * trans_mgr.h: srcdocs, and some minor cleanups
12209 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12211 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12212 call getFont all the time)
12214 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12216 * switch from SigC signals to boost::signals
12218 2002-05-29 André Pönitz <poenitz@gmx.net>
12220 * paragraph_pimpl.C (getChar): don't call size() too often...
12222 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12224 * paragraph_pimpl.C (insertChar): do not try to update tables when
12225 appending (pos == size())
12227 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12228 in order to reduce drastically the number of comparisons needed to
12229 parse a large document
12231 2002-05-29 André Pönitz <poenitz@gmx.net>
12237 * textclasslist.[Ch]:
12238 * sp_ispell.h: whitespace change
12240 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12242 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12243 lyxaction directly now.
12245 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12249 * lyxvc.C: remove unused headers
12251 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12258 * undo_funcs.C: some cleanups. Use shared_ptr
12259 and a template for the undo stacks.
12261 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12263 * BufferView_pimpl.h:
12264 * BufferView_pimpl.C:
12271 * text2.C: use key_state/mouse_state
12273 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12275 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12278 * chset.C: change include order
12279 (loadFile): use boost regex and get rid of LRegex and LSubstring
12281 * Makefile.am (BOOST_LIBS): new variable
12282 (lyx_LDADD): use it
12284 * LaTeX.C: change include order.
12285 (scanAuxFile): use boost regex and get rid of LRegex and
12289 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12294 * FontInfo.C: moved to frontends/xforms/
12297 * FontLoader.C: moved into frontends for GUIIzation
12302 * lyxfunc.C: changes from above
12304 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12306 * LColor.C: remove spurious X include
12308 * BufferView_pimpl.C:
12313 * text2.C: move font metrics to frontends/
12315 2002-05-24 Juergen Vigna <jug@sad.it>
12317 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12318 setting the undo_cursor.
12320 * ParagraphParameters.h: include local includes first.
12322 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12324 * BufferView_pimpl.C:
12325 * BufferView_pimpl.h:
12329 * screen.C: move WorkArea into frontends/
12335 * BufferView2.C: move LyXScreen into frontends/
12339 * lyx_gui.C: move lyxlookup into frontends/xforms/
12341 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12344 * BufferView_pimpl.C:
12354 * bufferview_funcs.C:
12367 * vc-backend.C: move LyX/XFormsView into frontends/
12369 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12381 * text2.C: move Painter to frontends/
12383 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12385 * buffer.C: comment out some some code that depend upon lyx_format
12388 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12389 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12391 * buffer.h (NO_COMPABILITY): turn off compability
12393 * ColorHandler.C: include scoped_array.hpp
12395 * font.C: Use more specific smart_ptr header.
12398 * ShareContainer.h: ditto
12399 * lyx_main.h: ditto
12401 * FontInfo.h: ditto
12402 * BufferView_pimpl.h: ditto
12403 * ColorHandler.h: ditto
12405 * kbmap.C (defkey): change call to shared_ptr::reset
12407 2002-05-21 Juergen Vigna <jug@sad.it>
12409 * buffer.C (insertErtContents): fix to insert ert asis if it is
12410 non empty. Skip it completely if it contains only whitespaces.
12412 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12414 * BufferView_pimpl.C:
12415 * BufferView2.C: clear selection on paste (bug 393)
12417 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12419 * DepTable.C: include ctime
12421 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12423 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12425 2002-05-14 Juergen Vigna <jug@sad.it>
12427 * text.C (breakParagraph): fixed function to honor the keepempty
12428 layout in the right maner and also to permit the right breaking
12429 algorithm on empty or non empyt keepempty paragraphs.
12431 * paragraph.C (breakParagraph): we have to check also if the par
12432 is really empty (!size()) for isempty otherwise we do the wrong
12435 2002-05-10 Juergen Vigna <jug@sad.it>
12437 * buffer.[Ch] : The following are only changes to the ert
12438 compatibility read reading old LaTeX layout and font stuff and
12439 convert it to ERTInsets.
12441 * buffer.h: added isErtInset().
12443 * buffer.C (struct ErtComp): add a fromlayout bool to check
12444 if we're inside a LaTeX layout.
12445 (isErtInset): new helper function.
12446 (insertErtContents): look for other ert insets before this one
12447 and insert the contents there, so that we don't have subsequent
12448 ERT insets with nothing between them. This way we create only one
12449 inset with multiple paragraphs. Also check if we don't insert only
12450 spaces ' ' as they are ignored anyway afterwards in the .tex file
12451 so if we have only spaces we will ignore this latex part in the
12453 (parseSingleLyXformat2Token \\layout): better compatibility when
12454 reading layout-latex stuff.
12455 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12457 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12458 stuff after reading the inset only get the information back from
12461 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12463 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12465 * LaTeXFeatures.C (getBabelOptions): New method.
12467 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12469 * BufferView_pimpl.C (Dispatch): work around missing argument for
12472 2002-05-08 Juergen Vigna <jug@sad.it>
12474 * text.C (leftMargin): handle paragraph leftindent.
12476 * paragraph.C (writeFile): write the new \\leftindent tag.
12477 (validate): handle leftindent code.
12478 (TeXEnvironment): handle paragraphleftindent code again.
12480 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12482 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12483 for paragrap_extra indent code and new token \\leftindent.
12484 (latexParagraphs): handle the leftindent as environment.
12486 * ParameterStruct.h: added leftindent support.
12488 * ParagraphParameters.C (leftIndent): added support functions for
12489 the paragraph left indent.
12491 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12494 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12496 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12499 * text.C (computeBidiTables): No bidi in insetERT.
12501 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12504 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12506 * version.C.in: pre 5
12508 2002-05-02 José Matos <jamatos@fep.up.pt>
12509 * buffer.C (makeDocBookFile): white space changes, add newline to
12511 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12513 * tabular.C (docBook): fix typo.
12515 2002-05-03 Juergen Vigna <jug@sad.it>
12517 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12518 change in LyXText as we can not be sure it was not freed.
12519 (drawOneRow): remove unused code.
12521 * text.C (drawInset): redo the calculation of the need_break_row as
12522 it could have a row which was already freed.
12523 (draw): look at the return value of drawInset and return false if
12524 it also returned false.
12525 (paintRowText): look at the return value of draw and return false if
12526 it also returned false.
12528 * lyxtext.h: added bool return type to drawInset() and draw() so that
12529 if we have a change in the row so that the rowbreak has to be redone
12530 we abort drawing as it will be called again.
12532 2002-05-02 Juergen Vigna <jug@sad.it>
12534 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12535 a change in the maintext also if we're inside an inset.
12536 (Dispatch): set the cursor again after a break line and after the
12537 screen has been updated as it could be we're in a different row.
12539 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12540 to set the cursor behind the pargraph with > size().
12541 (setCursor): check also for the same paragraph when checking where
12542 to put the cursor if we have a NFR inset.
12544 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12545 parts of layout read further up as it still was in the wrong
12548 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12550 * screen.C (drawFromTo): change sine fullRebreak always return
12553 * buffer.C (parseSingleLyXformat2Token): reindent some
12555 * BufferView_pimpl.C (update): change since fullRebreak always
12557 (Dispatch): git rid of the last hardcoded "Standard"s.
12559 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12561 * text2.[Ch] (fullRebreak): make it return void now that we always
12564 2002-04-30 Juergen Vigna <jug@sad.it>
12566 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12567 ert compatibility check for "latex" layout.
12569 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12571 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12572 minipages: use col% instead of p%, and also use the current font.
12573 (makeLaTeXFile): Fix use babel condition.
12574 (parseSingleLyXformat2Token): Correct font when reading old floats.
12576 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12578 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12579 inserting list of floats.
12581 2002-04-25 Herbert Voss <voss@lyx.org>
12583 * MenuBackend.C (expand): don't add the graphics extensions to the
12586 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12588 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12589 non-existing layout, do not complain if it was the default layout
12590 of the original class (bug #342)
12592 2002-04-24 Juergen Vigna <jug@sad.it>
12594 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12595 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12597 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12599 * buffer.C (getBibkeyList): If using \bibliography, return the
12600 option field with the reference itself. Enables us to provide natbib
12601 support when using \bibliography.
12603 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12605 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12607 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12608 natbib is provided by the LaTeX class.
12610 2002-04-23 Juergen Vigna <jug@sad.it>
12612 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12615 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12617 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12619 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12621 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12622 ensuremath around textordmasculine, textordfeminine and
12625 2002-04-19 Juergen Vigna <jug@sad.it>
12627 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12628 reinitializing the buffer otherwise row-dimensions may be wrong.
12629 (update): reset also the selection cursors if they do exits otherwise
12630 their x/y positions may be wrong.
12632 * text2.C (cursorDown): don't enter the inset if we came from a row
12633 above and are one row over the inset.
12635 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12636 really leaving an inset.
12638 2002-04-18 Juergen Vigna <jug@sad.it>
12640 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12641 of the selected paragraph does not have the selected layout also if
12644 * text2.C (setLayout): fixed bug which did not change last selected
12647 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12648 changed the read and substituted \\end_float with \\end_inset!
12650 * BufferView_pimpl.C (cursorPrevious):
12651 (cursorNext): fixed to make it work with rows heigher than the work
12652 area without moving the cursor only the draw of the row.
12653 (workAreaMotionNotify): fix jumping over high rows.
12655 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12657 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12660 2002-04-16 Juergen Vigna <jug@sad.it>
12662 * text2.C (setCursor): set also the irow().
12663 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12665 (cursorDown): support for locking an inset if the x_fix value goes
12666 inside it. That way I can transverse insets too with cursor up/down.
12668 * lyxrow.h: added irow helper function same as other (i) functions.
12670 * BufferView_pimpl.C (cursorPrevious):
12671 (cursorNext): fixed for insets!
12673 2002-04-15 Juergen Vigna <jug@sad.it>
12675 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12676 position otherwise it is wrong in some cases.
12678 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12679 inside the inset before the call.
12681 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12683 * buffer.[Ch] (getBibkeyList): make it const.
12685 2002-04-12 Juergen Vigna <jug@sad.it>
12687 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12689 * text2.C (getCursorX): new helper function
12690 (setCursor): compute also ix_
12691 (setCursorFromCoordinates): set also ix.
12693 * lyxcursor.h: added ix_ and helper functions.
12695 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12697 * buffer.C (insertStringAsLines): dont break paragraph if the this
12698 paragraph is inside an inset which does not permit it!
12700 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12701 also with no chars on this paragraph.
12702 (paintRowText): only paint stuff if it's inside the workarea!
12704 * paragraph.C (breakParagraph): honor keepempty flag and break the
12705 paragraph always below not above.
12707 * BufferView2.C (unlockInset): update the paragraph layout on inset
12708 unlock as we changed paragraph in such a case.
12710 * lyxfind.C (LyXFind): clear the former selection if not found!
12712 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12713 again called in insertChar().
12715 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12716 an inset which uses the whole row!
12717 (rightMargin): ditto.
12718 (insertChar): force a rebreak if we inserted an inset!
12720 2002-03-28 Herbert Voss <voss@lyx.org>
12722 * lyxlength.[Ch]: add inBP() to get the right PS-point
12723 units (BigPoint). With inPixels we have rounding errors
12725 2002-04-11 Juergen Vigna <jug@sad.it>
12727 * text2.C (setCursorFromCoordinates): set iy to the right value.
12728 (setCursor): add check if row->previous exists!
12730 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12731 an old float_type as this was the case in the old code!
12733 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12735 * BufferView2.C (showLockedInsetCursor): use iy
12736 (fitLockedInsetCursor): ditto
12738 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12739 locked insets as there we have the right value now.
12741 * lyxcursor.C: added iy_ variable and iy functions to set to the
12742 baseline of cursor-y of the locked inset.
12744 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12745 (setCursor): fixed for insets which need a full row.
12747 * text.C (rowLastPrintable): don't ignore the last space when before
12748 an inset which needs a full row.
12749 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12750 as last character of a row when before a inset which needs a full row.
12752 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12754 * version.C.in: update date
12756 * text2.C (fullRebreak): try to always return true and see what
12759 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12761 * MenuBackend.C (expand): use Floating::listName
12763 * FloatList.C (FloatList): add listName argument to the built-in
12766 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12767 text associated with the float.
12769 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12771 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12773 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12775 * ShareContainer.h: add a couple of missing typenames.
12777 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12779 * lyxrc.C (getDescription): use _() correctly rather than N_().
12781 2002-03-28 Herbert Voss <voss@lyx.org>
12783 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12784 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12786 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12788 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12789 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12791 2002-03-29 Juergen Vigna <jug@sad.it>
12793 * lyxfunc.C (dispatch): add a missing fitCursor call.
12795 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12796 it was scrolled by a cursor move, so return the bool status.
12798 * BufferView.C (fitCursor): return the bool flag also to the outside
12799 world as this is needed.
12801 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12803 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12804 call the edit() as it is not needed (and wrong) IMO.
12805 (workAreaButtonPress): set the screen_first variable before evt.
12806 unlock the inset as this may change screen_first and then we have
12807 a wrong y position for the click!
12809 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12811 * MenuBackend.C (expand): another translation that I missed
12813 2002-03-28 Juergen Vigna <jug@sad.it>
12815 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12817 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12819 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12821 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12823 * MenuBackend.C (expand): fix export/view/update when there is no
12826 2002-03-27 Herbert Voss <voss@lyx.org>
12828 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12831 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12833 * bufferview_funcs.C (currentState): only show paragraph number
12834 for is DEVEL_VERSION is set.
12836 * lyxfunc.C (dispatch): put warning in INFO channel
12838 * MenuBackend.C (expand): translate the name of floats
12840 * FloatList.C (FloatList): mark the float names for translation
12842 * converter.C (convert): use LibScriptSearch
12844 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12846 * MenuBackend.C (defaults): fix default menu (we might as well get
12849 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12851 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12854 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12856 * lyxvc.C: reorder includes.
12858 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12860 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12863 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12865 * CutAndPaste.C: change layouts earlier on paste
12866 to avoid crashing when calling getFont()
12868 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12870 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12873 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12875 * WorkArea.C: remove 'Pending' debug message.
12877 * most files: ws cleanup
12879 * buffer.[Ch]: ws changes
12881 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12883 2002-03-21 Juergen Vigna <jug@sad.it>
12885 * tabular.C (SetMultiColumn): collapse also the contents of the
12886 cells and set the last border right. Added a Buffer const * param.
12888 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12890 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12893 2002-03-19 Juergen Vigna <jug@sad.it>
12895 * text2.C (clearSelection): reset also xsel_cache.
12897 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12898 where it needs to be called (John tells us to do so too :)
12899 (selectionLost): reset sel_cache.
12901 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12903 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12905 * text2.C (setCursorIntern): put debuging code in INSETS channel
12907 2002-03-19 André Pönitz <poenitz@gmx.net>
12909 * lyxfunc.C: tiny whitespace change
12911 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12913 * ToolbarDefaults.C (init):
12914 * LyXAction.C (init):
12916 * BufferView_pimpl.C (Dispatch):
12917 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12919 2002-03-19 Allan Rae <rae@lyx.org>
12921 * exporter.C (Export): removeAutoInsets before doing anything else.
12922 While I've just introduced a dependency on BufferView this really is
12923 the best place to clean the buffer otherwise you need to cleanup in
12924 a dozen places before calling export or cleanup in a dozen functions
12927 * converter.C (runLaTeX):
12928 (scanLog): Better handling of removeAutoInsets and screen updates.
12930 * lyxfunc.C (dispatch): small whitespace changes
12932 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12934 * WorkArea.C (C_WorkAreaEvent): return a value.
12935 (event_cb): return 1 if we handled the event, 0 otherwise.
12937 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12939 2002-03-18 Juergen Vigna <jug@sad.it>
12941 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12942 (GetAdditionalWidth): ditto.
12943 (RightLine): ditto.
12946 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12947 inset if we're there actually (probably not used right now but this
12948 is the direction to go for unifying code).
12949 (paste): disable code to clear the selection.
12951 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12952 inside an InsetText and move the check further up as it is in the
12955 * text2.C (pasteSelection): set a selection over the pasted text.
12957 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12959 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12960 and libgraphics to build on Cygwin.
12962 2002-03-15 Juergen Vigna <jug@sad.it>
12964 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12965 inserting an Inset into the paragraph. I know this is not the best
12966 fix but we already use current_view in CutAndPaste so we will remove
12967 all of it's using at the same time.
12969 * buffer.C (sgmlError): deactivated function till it is rewritten in
12970 the right mode, now it can create problems.
12972 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12973 before accessing it.
12975 2002-03-14 Juergen Vigna <jug@sad.it>
12977 * undo_funcs.C (textHandleUndo): do the right thing when updating
12978 the inset after the undo/redo.
12980 * text2.C (setCursor): just some testcode for #44 not ready yet.
12982 * undo_funcs.C (textHandleUndo): set the next() and previous()
12983 pointers of the paragraph to 0 before deleting otherwise we have
12984 problems with the Paragraph::[destructor].
12986 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12987 on a paragraph insertion.
12989 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12991 * buffer.C (asciiParagraph): use += operator for char append to
12994 * paragraph.C (getFontSettings): compare >= not just >
12995 (highestFontInRange): ditto
12998 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13000 * paragraph.C: change several algorithm to be more appripriate for
13001 the problem domain. This is lookip in FontList and in the InsetList.
13003 2002-03-13 André Pönitz <poenitz@gmx.net>
13006 * LyXAction.C: remove unused LFUN_MATH_MACROARG
13008 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
13013 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13015 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13017 * Painter.C (display): anon helper function, adjust code for this
13019 (pixmap): remove function.
13021 * Painter.h: remove private display variable.
13023 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13025 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
13027 * WorkArea.[Ch]: remove figinset_canvas cruft.
13029 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13031 * lyxtextclass.C (operator): add one item cache optimization.
13033 * bufferlist.h: doxy changes
13035 * bufferlist.C: ws changes
13037 * DepTable.[Ch] (ext_exist): place const in the right spot.
13039 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13041 (workAreaExpose): call resizeInsets when the with BufferView changes.
13042 (Dispatch): adjust for protectedBlank removal
13043 (specialChar): call updateInset if the insert went ok.
13045 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13046 specialChar instead.
13048 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13050 * BufferView.h: doxy change
13052 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13054 * lyxtextclass.C (operator[]): remove non-const version
13055 (defaultLayout): remove non-const version
13057 2002-03-12 Juergen Vigna <jug@sad.it>
13059 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13060 did resize the LyXText too.
13062 * buffer.C (readLyXformat2): set layout information on newly allocated
13065 * tabular.C (OldFormatRead): set layout information on the paragraph.
13067 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13069 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13071 2002-03-11 Juergen Vigna <jug@sad.it>
13073 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13075 (resizeCurrentBuffer): force also the insets to resize themselfes.
13076 (moveCursorUpdate): fixed up for InsetText.
13078 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
13081 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13082 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13083 value of Dialogs::tooltipsEnabled().
13084 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13086 2002-03-08 Juergen Vigna <jug@sad.it>
13088 * BufferView_pimpl.C (updateInset): update inset inside inset also
13089 if it isn't inside theLockingInset().
13091 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13093 * buffer.C (asciiParagraph): redo some of the word and line length
13095 (getLists): look for Caption instead of caption.
13097 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13099 * buffer.C (Buffer): initialize niceFile to true
13101 (makeLinuxDocFile):
13102 (makeDocBookFile): make sure niceFile is true on exit
13104 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13106 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13108 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13110 * LyXSendto.C: remove.
13111 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13112 * lyx_gui.C: remove now-redundant comment.
13113 * ColorHandler.h: remove forward declaration of class WorkArea.
13114 * lyxfunc.C: remove #include "WorkArea.h".
13116 2002-03-07 Juergen Vigna <jug@sad.it>
13118 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13119 got moved away with the DEPM and also set the inset_owner always
13120 right which before could have been omitted.
13122 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13124 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13125 wanted layout is not found.
13127 2002-03-07 Juergen Vigna <jug@sad.it>
13129 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13131 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13133 * paragraph.C (breakParagraph): use default layout not layout of
13135 (Paragraph): clear ParagraphParameters.
13137 2002-03-06 Juergen Vigna <jug@sad.it>
13139 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13140 otherwise it would not be a valid lenght. Fixed a special case in
13141 the minipage compatibility read where we end the document with a
13144 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13145 was set as it could be 0 for InsetTexts first entry.
13147 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13149 * paragraph.C (writeFile): if layout is empty write out
13150 defaultLayoutName().
13152 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13153 file without named layout we set layout to defaultLayoutName().
13155 2002-03-06 Juergen Vigna <jug@sad.it>
13157 * CutAndPaste.C (copySelection): set layout for new paragraph.
13159 * text.C (prepareToPrint): leave ERT inset left aligned
13160 (leftMargin): don't indent paragraphs inside ERT insets
13162 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13164 * paragraph.C (breakParagraph): dont call clear do the work manually
13166 * paragraph.[Ch] (clear): remove function
13168 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13170 * paragraph.C (Paragraph): dont call clear, the work has already
13173 * lyxtextclass.C (operator): assert if n is empty
13175 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13176 work manually instead.
13178 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13180 * BufferView_pimpl.C: protect selectionLost against text == 0
13182 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13184 * text.C (breakParagraph): fix a setting layout to '0' problem.
13186 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13188 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13189 final location of file, for the included files, and graphics.
13191 2002-03-05 Juergen Vigna <jug@sad.it>
13193 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13195 2002-03-04 Juergen Vigna <jug@sad.it>
13197 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13199 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13200 last column of multicolumn cells.
13201 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13203 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13205 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13206 file if it doesn't go to a temporary file.
13208 * buffer.C (sgmlOpenTag):
13209 (sgmlCloseTag): remove extra newline insertion.
13211 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13213 * text.C (getRowNearY): comment out debug msg
13215 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13217 * text2.C: first -> first_y
13219 * text.C (getRowNearY): add some attemts at a possible
13220 optimization, not working.
13222 * tabular.[Ch]: add BufferParams to several function so that newly
13223 created paragraph can be initialized to he default layotu for the
13226 * tabular-old.C (ReadOld): add buf->params to call of Init
13228 * screen.C: rename text->first to text->first_y
13230 * paragraph.C (breakParagraph): always set layout in the broken
13233 * lyxtextclass.C (Read): remove lowercase
13236 (delete_layout): ditto
13238 * lyxtext.h: rename first -> first_y
13240 * lyxlayout.C (Read): remove lowercase
13243 (obsoleted_by): ditto
13245 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13247 * buffer.C (insertErtContents): add params are to InsetERT
13248 (parseSingleLyXformat2Token): add code to check if a paragraphs
13249 layout really exist.
13250 (parseSingleLyXformat2Token): add params to several inset
13252 (asciiParagraph): remove lowercase, do the layout comparisons with
13255 * BufferView_pimpl.C (cursorNext): first -> first_y
13256 (resizeCurrentBuffer): first -> first_y
13257 (updateScrollbar): first -> first_y
13258 (scrollCB): first -> first_y
13259 (workAreaMotionNotify): first -> first_y
13260 (workAreaButtonPress): first -> first_y
13261 (checkInsetHit): first -> first_y
13262 (cursorPrevious): first -> first_y
13263 (cursorNext): first -> first_y
13264 (Dispatch): add buffer_->params to severl inset contructors
13266 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13268 * lyxlayout.C (Read): remove some debug info that I forgot.
13270 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13271 clean up the code slightly.
13272 (makeLinuxDocFile): ditto
13273 (makeDocBookFile): ditto
13275 * text2.C: layout as string
13277 * text.C: layout as string
13279 * paragraph_pimpl.C: layout as string
13281 * paragraph.[Ch]: layout as string
13283 * lyxtextclasslist.[Ch]: layout as string
13285 * lyxtextclass.[Ch]: layout as string
13287 * lyxtext.h: layout as string
13289 * lyxlayout.[Ch]: layout as string
13291 * lyx_cb.C: layout as string
13293 * bufferview_funcs.C: layout as string
13295 * bufferparams.C: layout as string
13297 * buffer.C: layout as string
13299 * LyXView.[Ch]: layout as string
13301 * LaTeXFeatures.[Ch]: layout as string
13303 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13305 * BufferView_pimpl.C: change current_layout to string, remove
13310 (workAreaButtonRelease): layout as string
13312 * BufferView2.C (unlockInset): adjust
13314 * vspace.C (asLatexCommand): use an explict temp variable.
13316 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13318 * Makefile.am: use FRONTEND_*
13320 2002-03-01 Juergen Vigna <jug@sad.it>
13322 * tabular.C (SetWidthOfMulticolCell): changed to something better
13323 I hope but still work in progress.
13324 (recalculateMulticolumnsOfColumn): renamed function from
13325 recalculateMulticolCells as it is more appropriate now.
13326 (SetWidthOfCell): calculate multicols better.
13328 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13330 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13332 * lyxfunc.C (processKeySym): print sequence also if it is
13333 `deleted' (complete)
13335 * kbsequence.C (print): print sequence even if it is deleted
13336 (complete would be a better word, actually).
13338 * lyxfunc.C (dispatch): print complete options after a prefix key
13340 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13342 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13344 * text2.C (setCharFont): eliminate setCharFont code duplication.
13346 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13348 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13349 LFUN_TABULAR_FEATURE (bug #177)
13351 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13353 * Makefile.am: remove figure.h
13355 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13357 * Bufferview_pimpl.C:
13369 * text2.C: remove #include "lyx_gui_misc.h".
13371 * LaTeX.C: added #include <cstdio>
13373 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13375 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13376 that the paragraph following this one can have.
13378 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13380 * vspace.C (asLatexCommand): fix bogus gcc warning
13382 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13384 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13386 * text2.C (setLayout): get rid of redundant code
13388 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13390 * text2.C (incDepth): make sure depth cannot be increased beyond
13393 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13395 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13396 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13398 * PainterBase.h (image):
13399 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13400 a LyXImage const *.
13402 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13406 * BufferView_pimpl.C:
13407 * BufferView_pimpl.h:
13427 * sp_spell.C: remove fig inset, and the crap house of
13428 cards that follows it
13430 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13435 * os2_errortable.h:
13436 * nt_defines.h: move .h into support/
13438 * vms_defines.h: remove
13440 * WorkArea.C: add space in debug output
13444 * buffer.C: add WITH_WARNINGS
13448 * bufferlist.C: s/retrive/retrieve/, add docs
13457 * chset.C: add docs
13459 * lyxgui.C: add ID to X error handler
13461 * lyxtestclass.c: fix typo
13463 2002-02-26 Juergen Vigna <jug@sad.it>
13465 * tabular_funcs.C (write_attribute): changed so that some default
13466 attributes are not written at all.
13467 (getTokenValue): set default values before trying to read the
13468 value so we have the return value always set as default if we don't
13469 find the token we search for.
13471 * tabular.C (Write): write bools as bools not as strings!
13473 2002-02-22 Juergen Vigna <jug@sad.it>
13475 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13476 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13478 * text.C (leftMargin): don't add an indent for paragraphs inside
13479 tabular cells (fix #208).
13481 2002-02-21 José Matos <jamatos@fep.up.pt>
13483 * tabular.C (docBook): fixed support for long tables.
13485 2002-02-20 Juergen Vigna <jug@sad.it>
13487 * text2.C (getFont): get the drawing font of the Inset if this
13488 paragraph is inside an inset (only important for InsetERT for now).
13490 * buffer.C (insertErtContents): use new lanugage params in ERT
13493 * CutAndPaste.C: commenting out seemingly uneeded code.
13495 2002-02-19 Allan Rae <rae@lyx.org>
13497 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13498 Iterators might be simple to use but they also get invalidated.
13499 (removeAutoInsets): renamed saved cursor tracking variables and added
13500 some comments to clarify what everything does.
13502 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13509 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13510 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13513 * vc-backend.h: remove #include "support/syscall.h"
13517 * converter.C: rearrange #includes in Lars' approved fashion.
13519 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13520 forward declare class Timeout in the header file.
13522 * XFormsView.C: changes due to the above.
13524 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13525 similar to LyXView.
13527 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13528 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13530 2002-02-18 José Matos <jamatos@fep.up.pt>
13532 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13535 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13537 * a lot of small ws changes
13538 * add a lot of using std::XXX
13539 * use std construcs some places where approp.
13540 * use some exisint stuff from lyxfunctional where approp.
13541 * Make file changes to use partial linking (lets test this now...)
13543 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13547 remove #include "support/syscontr.h" as it's redundant. Always has been.
13555 change Systemcalls::System to Systemcalls::Wait and
13556 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13557 No change of functionality, just reflects the stripped down Systemcalls
13560 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13562 * debug.[Ch]: add a GRAPHICS type to the enum.
13564 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13566 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13568 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13571 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13573 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13574 match the changes below.
13576 * text2.C (toggleInset): if there is not editable inset at cursor
13577 position, try to see if cursor is _inside_ a collapsable inset
13580 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13582 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13583 document menu has a nice checkbox
13585 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13587 * lyxlength.C (asLatexString): change PW to output as percent of
13590 * lengthcommon.C: change '%' to 't%'
13592 * lyxfunc.C (dispatch): a few comments from Martin
13594 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13598 * BufferView_pimpl.h:
13599 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13602 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13604 * vspace.C (inPixels): fix compiler warning
13606 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13608 * lyxfunc.C (getStatus): fix status message for disabled commands.
13610 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13612 * BufferView_pimpl.C: fix crash on close buffer
13613 during selection (#227)
13615 2002-01-27 Herbert Voss <voss@lyx.org>
13617 * buffer.C: link old Figure to new graphic inset
13619 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13621 * FontLoader.C (getFontinfo): Change the latex font names in order
13622 to match the names of type1inst.
13624 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13626 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13628 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13629 (extchanged): ditto
13631 (remove_files_with_extension): ditto
13632 (remove_file): ditto
13635 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13636 document is smaller than the work area height. Do not initialize
13637 static variables to 0.
13639 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13641 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13643 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13644 LFUN_LAYOUT_PARAGRAPHS.
13646 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13647 tabular. It is possible to provide a possible cell, which will
13648 typically be the actcell from the corresponding insettabular
13650 * lyxfunc.C (getStatus): small cleanup; disable
13651 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13654 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13656 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13658 * paragraph.C (startTeXParParams):
13659 (endTeXParParams): new methods. The LaTeX code to
13660 start/end paragraph formatting
13661 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13662 empty (fixes bug #200)
13664 * vspace.C (inPixels): adapt to the change below
13665 (inPixels): [later] more cleanups (remove unused variables)
13667 * lyxlength.C (inPixels): change to use a width and a height as
13670 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13672 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13673 Replaced with \paperwidth
13675 * DepTable.C (insert): add std:: qualifier
13677 2002-01-18 Allan Rae <rae@lyx.org>
13679 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13682 * text.C (drawInset): Turned out I didn't know enough about how
13683 rebreaking worked. This fixes most of the redraw problems. I see
13684 an occasional cursor trail when a line is broken now and the cursor
13685 placement can seem out by a few pixels also after a rebreak.
13687 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13689 * buffer.C (parseSingleLyXformat2Token): update because minipage
13690 width is now a LyXLength
13692 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13694 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13697 2002-01-17 Juergen Vigna <jug@sad.it>
13699 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13701 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13702 is set correctly and the inset is updated correctly.
13704 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13706 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13707 the beginning of the loop.
13709 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13711 * lyxrc.C: improve help for use_scalable_fonts
13713 2002-01-17 Allan Rae <rae@lyx.org>
13715 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13717 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13719 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13720 make sure to set their inset_owner to the right value (bug #171)
13722 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13725 * DepTable.C: Implement mtime checking to reduce time spent doing
13728 2002-01-16 Juergen Vigna <jug@sad.it>
13730 * tabular.C (GetAdditionalHeight): one of error fixed.
13732 * lyxrc.C (output): small fix in writing use_pspell.
13734 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13736 * sp_base.h: #include LString.h
13738 2002-01-16 Allan Rae <rae@lyx.org>
13740 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13741 Can someone check this please?
13743 * text.C (drawInset): It was possible that p.row would be removed by
13744 breakAgainOneRow upsetting a few other settings. There may be another
13745 small tweak possible by setting need_break_row = 0 when p.row has been
13746 removed but I don't know enough about the logic here.
13748 2002-01-15 Allan Rae <rae@lyx.org>
13750 * text.C (insertChar): removed conditional truism.
13752 * BufferView2.C (removeAutoInsets): More tweaks.
13753 cur_par_prev could be a stray pointer. Check for trailing empty line
13754 in case last line was cur_par and only had an error inset on it.
13756 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13758 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13761 * vc-backend.C (most methods):
13762 * exporter.C (Export):
13763 * converter.C (convert):
13765 * LyXSendto.C (SendtoApplyCB):
13766 * lyxfunc.C (dispatch):
13770 * lyx_cb.C (AutoSave):
13772 * BufferView_pimpl.C (MenuInsertLyXFile):
13773 * buffer.C (runChktex): use Buffer::filePath().
13775 * buffer.h: rename filename to filename_; rename filepath to
13776 filepath_ and make it private
13777 (filePath): new method
13779 * buffer.C (writeFile): use fileName()
13782 * lyx_main.C (init): fix starting of LyX when the binary is a
13783 link from so,ewhere else.
13785 * minibuffer.C: include <cctype> for isprint
13787 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13789 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13790 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13791 name clash with InsetCollapsable's width function.
13793 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13795 * lastfiles.C: include <iterator>
13797 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13799 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13802 * buffer.C (makeLaTeXFile): ditto.
13803 Also make loop operation more transparent.
13805 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13807 * ToolbarDefaults.C: remove trailing comma closing namespace.
13809 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13811 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13814 * trans.C (Load): comment out unused variable, allowed.
13816 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13818 * minibuffer.[Ch] (append_char): new method to recieve input from the
13819 drop-down completion browser. If a key was pressed, then recieve this
13820 char and append it to the existing string.
13821 (peek_event): modify the positioning data passed to the completion
13822 browser so that it can be placed above the minibuffer rather than below.
13823 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13825 * LyXAction.C (init): alloe error-next for readonly documents.
13827 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13830 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13832 * bufferlist.C (readFile): create the buffer _after_ checking that
13835 * lyxfunc.C (verboseDispatch): fix handling of arguments
13837 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13839 * lyxrc.C: use string::erase() instead of initializing to "".
13842 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13844 * BufferView_pimpl.h:
13845 * BufferView_pimpl.C:
13848 * text2.C: tell X when we have made a selection for copying
13850 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13852 * BufferView_pimpl.C (MenuInsertLyXFile):
13853 * lyxfunc.C (menuNew):
13855 (doImport): add shortcuts to directory buttons
13857 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13860 * lyxfunc.C (setStatusMessage):
13861 (getStatusMessage): new methods
13862 (getStatus):use setStatusMessage instead of setErrorMessage
13863 (dispatch): when function is disabled, set error message here
13864 [instead of in getStatus previously]
13866 * BufferView_pimpl.C (workAreaButtonRelease): update
13867 toolbar/menubar here too.
13869 2002-01-13 Allan Rae <rae@lyx.org>
13871 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13872 Now seems indestructible. Remaining task is to audit all other
13873 code affected by deleteEmptyParagraphMechanism. One small quirk
13874 left is that an empty document with an error in the preamble can
13875 be made to report an error but no error box appears. I don't know
13877 (removeAutoInsets): Improved comments.
13879 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13882 * Thesaurus.C: update for Aiksaurus 0.14
13884 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13886 * text2.C (firstParagraph): removed member function, all uses
13887 replaces with ownerParagraph
13888 (redoParagraphs): here
13889 (updateInset): here
13890 (toggleAppendix): here
13891 * BufferView2.C (insertErrors): here
13892 (setCursorFromRow): here
13894 2002-01-13 Allan Rae <rae@lyx.org>
13896 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13897 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13898 There is still a way to segfault this although you may have to do this
13899 multiple times: Have an InsetERT with an unknown command in it.
13900 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13901 <down-arrow>, <Enter> again, View->DVI, BANG!
13903 * text2.C (setCursor):
13904 (deleteEmptyParagraphMechanism):
13905 * lyxtext.h (setCursor):
13906 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13907 Making use of the return value may help fix other bugs.
13909 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13911 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13913 * LyXView.C (updateMenubar): call MenuBar::update here
13914 (updateToolbar): but not here
13915 (showState): do not update toolbar/menubar
13917 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13918 should need to care about that.
13920 * lyxfunc.C (verboseDispatch): simplify a bit
13921 (getStatus): have a version which takes a pseudoaction, and
13922 another which requires a (kb_action,string).
13924 * LyXAction.C (retrieveActionArg): make it work also when action
13925 is not a pseudo-action.
13926 (getActionName): simplify a bit
13929 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13931 * lyxfunc.C (verboseDispatch): new families of methods with
13932 several ways to specify a command and a bool to indicate whether
13933 the command name and shortcut should be displayed in minibuffer
13934 (eventually, we could extend that to a finer bitmask like
13935 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13936 (dispatch): the pristine dispatch command which just, well,
13937 dispatchs! Note it still sets its result to minibuffer; I'm not
13940 * lyxfunc.h: remove setHintMessage
13942 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13944 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13946 * BufferView_pimpl.C (specialChar): delete new inset if we have
13947 not been able to insert it.
13949 * kbmap.C: revert to using int instead of kb_action, since all we
13950 are dealing with is pseudo-actions.
13952 * LyXAction.C (searchActionArg): change to return int instead of
13953 kb_action, since the result is a pseudoaction.
13955 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13957 * buffer.C (insertErtContents): Fix (partially) the font bug.
13959 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13961 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13962 as the other one is broken on my machine!
13964 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13967 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13969 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13971 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13972 reflect their actual use. Provide compatibility code for older lyxrc
13975 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13977 change names of popup font variables in line with the changes to lyxrc.C
13979 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13981 * buffer.C (asciiParagraph): avoid outputing a word twice after
13984 * lyxrc.C (getDescription): document that document_path and
13985 template_path can be empty.
13987 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13989 * LaTeXFeatures.C (getMacros):
13990 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13992 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13994 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13996 (getPackages): rename feature "floats" to "float". Use an array to
13997 iterate over 'simple' features (i.e. just a \usepackage). Add
13998 handling of "amsmath" (renamed from "amsstyle").
14000 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
14002 * LaTeXFeatures.C (require): Prevent duplicate entries in the
14005 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
14007 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14008 FuncStaus::FuncStatus & FuncStaus::some_method().
14010 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
14012 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14013 of the func_satus stuff. Edited and massaged in various ways by
14016 * lyxfunc.C (getStatus): use FuncStatus
14018 2002-01-08 Juergen Vigna <jug@sad.it>
14020 * text.C (nextBreakPoint): use function Inset::isChar().
14022 * paragraph.C (TeXOnePar): use function
14023 Inset::forceDefaultParagraphs.
14025 * buffer.C (latexParagraphs): use function
14026 Inset::forceDefaultParagraphs.
14028 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14030 * lyx_gui.C (init): set the style of the menu popups to
14031 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14033 2002-01-07 Juergen Vigna <jug@sad.it>
14035 * text.C (setHeightOfRow): small fix
14036 (prepareToPrint): don't look at alignment if we don't have the place
14039 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14041 * box.C: New file. Move the Box methods and functions out of box.h,
14042 following Lars' suggestion.
14044 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
14046 * box.h: #include "support/LOstream.h", needed for inlined function.
14049 * lyxtextclasslist.C: added some using std declarations.
14051 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
14053 * box.h: make signed dimensions to allow insets wider than
14054 the screen (bug #162)
14056 * BufferView_pimpl.C: add some insetHit debug
14058 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
14060 * vc-backend.C: add FIXME
14062 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14064 * lyxfunc.C (getStatus): enable code for showing math font status
14067 2002-01-07 Juergen Vigna <jug@sad.it>
14069 * text.C (nextBreakPoint): removed debug output not needed anymore.
14071 2002-01-06 Juergen Vigna <jug@sad.it>
14073 * text.C (nextBreakPoint): fixed up this function we had this bug
14074 since ever but now hopefully we break row better.
14075 (insertChar): we have to check if an inset is the next char as it
14076 could now happen that a large inset is causing a break.
14078 2002-01-05 Juergen Vigna <jug@sad.it>
14080 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14081 if it doesn't like to be drawed.
14083 2002-01-04 Juergen Vigna <jug@sad.it>
14085 * BufferView2.C (lockInset): forgot to set a cursor.
14087 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14089 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
14091 * FormMathsPanel.C:
14094 * form_maths_panel.C:
14095 * form_maths_panel.h:
14096 * form_maths_panel.fd: implemented sub- and super- buttons in math
14099 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14100 (or ^ space) to be used as in TeX (req'd by Andr�.
14102 * lyxfunc.C: Allow ^ and _ again to be used both as
14103 super/subscript (mathed) and as themselves (in text).
14105 2002-01-03 Allan Rae <rae@lyx.org>
14107 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14108 "LyX" or the filename of the current buffer if it has one. This is a
14109 modified form of John Levon's patch.
14111 * XFormsView.C (setWindowTitle): also set icon title.
14113 * LyXView.h (setWindowTitle): signature changed.
14114 * XFormsView.h (setWindowTitle): ditto.
14116 2002-01-02 Juergen Vigna <jug@sad.it>
14118 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14120 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14122 * screen.C (topCursorVisible): introduce a temp var for
14123 text->cursor.row(), handle the case where this row is null. (kindo
14126 * text2.C (setCursor): add a couple of asserts.
14128 * paragraph.h (inset_iterator): add -> operator
14130 * paragraph.[Ch] (autoDeleteInsets): remove member function
14132 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14133 cursor pos correctly and handle inset deletion by itself.
14134 (insertErrors): move iterator declaration out of for expression
14136 * lyxtextclass.C: add <algorithm>
14138 * Makefile.am: added the new files to sources, removed layout.C
14140 * layout.C: removed file
14142 * layout.h: remove LYX_DUMMY_LAYOUT
14144 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14148 * lyxtextclass.[Ch]:
14149 * lyxtextclasslist.[Ch]: new files
14151 * include order changes to a lot of files, also changes because of
14154 2001-12-27 Juergen Vigna <jug@sad.it>
14156 * buffer.C (asciiParagraph): more fixes.
14158 * tabular.C (ascii): make ascii export support export of only the
14159 data separated by a column-delimiter.
14160 (ascii): better support for ascii export.
14162 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14164 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14166 * tabular_funcs.C: use a "using std::getline" instead of the
14167 previous fix from Angus (necessary for cxx + lyxstring)
14169 2001-12-24 Juergen Vigna <jug@sad.it>
14171 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14173 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14174 problems. First check a minipage also if we have some ert-contents
14175 (not only on par->size(), second set the right depth of the paragraph
14176 on the relink to the root-paragraph-list!
14178 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14179 which then did not anymore update the main paragraphs on undo/redo!
14181 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14183 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14184 code. Support all font-changing funcs (even those which are not in
14185 menu currently). Support for reporting font settings in
14186 mathed (disabled until Andre provides a function on mathed's side).
14188 * func_status.h (toggle): small helper function to set toggle
14191 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14193 * tabular_funcs.C: getline -> std::getline
14195 2001-12-21 Juergen Vigna <jug@sad.it>
14197 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14198 accessed and could be 0 (I couldn't generate this but it seems
14201 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14203 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14204 * tabular_funcs.h: here and include iosfwd
14206 2001-12-20 Juergen Vigna <jug@sad.it>
14208 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14209 inside inset but undo_par was.
14211 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14213 * Thesaurus.C: always include <config.h> in sources.
14217 * box.h: do not include <config.h> in header files
14219 * text.C (paintLastRow): remove unused variable
14221 * text.C (transformChar):
14223 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14225 * Painter.C (text):
14226 * font.C (width): rewrite to use uppercase() instead of
14229 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14231 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14233 * lyxfind.C: clean up of find failure position change
14235 2001-12-20 Juergen Vigna <jug@sad.it>
14237 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14239 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14240 (TeXRow): added to LaTeX a single tabular row.
14241 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14242 (Latex): simplified and finally good LT-h/f support.
14243 (various_functions): just small adaptions for LT-h/f support.
14245 * tabular_funcs.[hC]: added and moved here all not classfunctions
14248 2001-12-19 Juergen Vigna <jug@sad.it>
14250 * tabular.[Ch]: better support for longtabular options (not finished
14253 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14255 * text.C (paintLastRow): use the label font instead of the font of
14256 the last character to compute the size of *_BOX. This makes more
14257 sense and avoids a crash with empty paragraphs.
14258 Use Painter::rectangle to draw EMPTY_BOX.
14260 2001-12-19 Juergen Vigna <jug@sad.it>
14262 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14263 the paragraphs if the replaced paragraph is not the first one!
14264 Tried to delete not used paragraphs but does not work yet so for
14265 now it's inside #ifdef's and by default off!
14267 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14269 * MenuBackend.C: include "lyx_main.h" instead of declaring
14270 lastfiles (actually was declared as LastFiles* instead of a
14273 2001-12-17 Juergen Vigna <jug@sad.it>
14275 * tabular.C (AppendColumn): applied John's fix
14277 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14281 * BufferView_pimpl.h:
14282 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14285 * box.h: new start of class for above
14287 * lyxfunc.C: ignore space-only minibuffer dispatches.
14288 Show the command name when it doesn't exist
14290 * minibuffer.C: don't add empty lines to the history
14292 * minibuffer.C: add a space on dropdown completion
14294 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14296 * text.C: fix line above/below drawing in insets
14298 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14300 * lyxlength.C (LyXLength): Initialize private variables.
14302 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14304 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14305 when inserting error insets.
14307 2001-12-13 Juergen Vigna <jug@sad.it>
14309 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14310 actually sometimes the before-paragraph.
14311 (setUndo): don't clear the redostack if we're not actually undoing!
14313 2001-12-06 Juergen Vigna <jug@sad.it>
14315 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14316 and fixed redoing of main paragraph, so we can use it now ;)
14318 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14320 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14322 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14325 2001-12-13 André Pönitz <poenitz@gmx.net>
14328 * undo_func.C: minor cleanup
14330 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14332 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14333 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14334 font in urw-fonts package which is marked as -urw-fontspecific and
14335 does not work (incidentally, changing the encoding in the
14336 fonts.dir of this package to -adobe-fontspecific fixes the
14339 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14340 is a crash when undoing first paragraph (Juergen, please take a
14341 look). THis does not mean the undo fix is wrong, just that it
14344 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14345 the (Paragraph*) version when needed instead of duplicating the
14348 * text.C (workWidth): use Inset::parOwner to find out where the
14349 inset has been inserted. This is a huge performance gain for large
14350 documents with lots of insets. If Inset::parOwner is not set, fall
14351 back on the brute force method
14353 * paragraph_pimpl.C (insertInset):
14354 * paragraph.C (Paragraph):
14355 (cutIntoMinibuffer): set parOwner of insets when
14356 inserting/removing them
14358 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14360 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14366 * mathed/formulabase.C:
14367 * mathed/math_cursor.[Ch]:
14368 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14371 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14373 * lyxlength.[Ch] (operator!=): new function
14375 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14377 * text.C (workWidth): use Inset::parOwner to find out where the
14378 inset has been inserted. This is a huge performance gain for large
14379 documents with lots of insets. If Inset::parOwner is not set, fall
14380 back on the brute force method
14382 * paragraph_pimpl.C (insertInset):
14383 * paragraph.C (Paragraph):
14384 (cutIntoMinibuffer): set parOwner of insets when
14385 inserting/removing them
14387 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14389 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14391 * tabular-old.C (getTokenValue):
14392 * tabular.C (getTokenValue):
14393 (write_attribute): new versions for LyXLength
14394 (everywhere): adjust the use of widths
14396 * tabular.h: change the type of widths from string to LyXLength
14398 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14400 * paragraph.C: fixed missing line number count when exporting
14401 Environments to LaTeX file
14403 * buffer.C: added informational message for checking line numbers.
14405 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14407 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14408 paragraph, do the 'double space' part, but not the 'empty
14411 * text.C (workWidth): small optimization
14412 (getLengthMarkerHeight): use minimal size for negative lengths.
14414 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14416 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14418 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14420 2001-12-11 André Pönitz <poenitz@gmx.net>
14423 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14425 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14427 * text2.C: keep selection on a setFont()
14429 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14431 * lyx_cb.C: another bv->text misuse, from insert label
14433 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14436 * kbsequence.C: re-instate nmodifier mask
14438 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14440 * lyx_main.h: make lyxGUI private.
14442 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14444 * lyxfind.C: place the cursor correctly on failed search
14446 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14448 * text.C (getLengthMarkerHeight): for small heights, the arrows
14449 are not always on top/bottom of the text
14450 (drawLengthMarker): smaller arrows; take the left margin in
14451 account; draw also vfills.
14453 (paintLastRow): remove special code for vfill and standard spaces,
14454 since everything is handled in drawLengthMarker now.
14456 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14458 * buffer.C (insertErtContents): try to handle font and language
14459 interaction a bit better.g
14461 * ColorHandler.C (updateColor): change the hash to cover the whole
14462 LColor enum, ws cleanup
14463 (getGCLinepars): ditto
14464 (getGCLinepars): only lookup in the linecache once.
14466 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14468 * iterators.C (operator++): Make the iterator more robust
14470 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14472 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14474 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14477 * text.C: better added space drawing
14479 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14482 * BufferView2.C: fix layout combo update on inset unlock
14484 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14486 * Makefile.am: don't compile unused files
14488 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14492 * LyXAction.C: remove old LFUN_LAYOUTNO
14494 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14496 * paragraph_pimpl.h:
14497 * paragraph_pimpl.C: isTextAt() doesn't need font param
14499 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14502 * lyxlex.C: little cleanup
14504 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14506 * BufferView_pimpl.C: fix insertAscii for insets
14508 2001-12-05 Juergen Vigna <jug@sad.it>
14510 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14511 set the right font on the "multi" paragraph paste!
14513 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14519 * lyxlength.C: remove out-commented code.
14521 * BufferView_pimpl:
14535 * vc-backend.C: change "while(" to "while ("
14537 * lyxlength.[Ch]: add zero function to check if length is zero or
14539 * lyxgluelength.C: use it
14541 2001-12-05 Allan Rae <rae@lyx.org>
14543 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14544 Works for 2.95.3, from what I understand of Garst's reports this should
14545 work for other g++ versions. We're screwed if the abs(int) definition
14546 changed between bugfix releases of gcc.
14548 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14550 * text.C: fix chapter label offset !
14552 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14555 * text.C: fix hfill at end of line, clean up
14557 2001-12-04 Juergen Vigna <jug@sad.it>
14559 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14560 that we force an update of the inset and it's owners if neccessary.
14562 2001-12-03 Juergen Vigna <jug@sad.it>
14564 * text.C (rowLast): simplified code
14566 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14568 * lyxfunc.C: fix show options on timeout
14570 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14572 * screen.C (topCursorVisible): scroll half a page when the cursor
14573 reached top of bottom of screen
14575 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14577 * minibuffer.C: deactivate on loss of focus
14579 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14581 * vspace.[Ch] (operator!=): add operator.
14583 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14585 * BufferView_pimpl.C: refuse to open an inset when
14586 there's a selection.
14588 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14590 * BufferView_pimpl.C: allow to click on RHS of full row insets
14592 2001-11-30 Juergen Vigna <jug@sad.it>
14594 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14595 insets for undo reasons.
14597 2001-11-28 André Pönitz <poenitz@gmx.net>
14599 * vspace.[Ch]: cosmetical changes
14601 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14611 * kbsequence.C: part re-write of old kb code
14614 * WorkArea.C: remove Lgb_bug_find_hack
14616 2001-11-30 José Matos <jamatos@fep.up.pt>
14618 * buffer.C (makeDocBookFile): add a comment to point a hack.
14619 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14620 Fixed a double write of labels.
14622 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14625 * LaTeX.h Fixed bug in LaTeX class where it would not
14626 re-run latex if no depfiles were changed, but the .dvi was removed.
14628 2001-11-28 André Pönitz <poenitz@gmx.net>
14630 * all the files from the change on 2001/11/26:
14631 use lyx::layout_type instead of LyXTextClass::size_type
14632 use lyx::textclass_type instead of LyXTextClassList::size_type
14634 2001-11-29 Juergen Vigna <jug@sad.it>
14636 * text.C: added support for paragraph::isFreeSpacing()
14638 * buffer.C: same as above
14640 * paragraph.h: inserted isFreeSpacing() function to enable
14641 FreeSpacing inside InsetERT.
14643 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14644 of the paragraph's in the cut/copy buffer to 0!
14646 * text2.C (removeRow): remove the assert as it can!
14648 * lyxtext.h: added helper function firstRow returning firstrow and
14649 made firstrow private again.
14651 * BufferView2.C (lockInset): don't relock if we're already locked!
14653 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14654 the only paragraph.
14655 (removeRow): added Assert::(firstrow)
14657 * debug.C: forgot to add INSETTEXT here.
14659 2001-11-28 Juergen Vigna <jug@sad.it>
14661 * sp_spell.C (initialize): changed error text to more general
14662 spellchecker command use (not only ispell!)
14664 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14666 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14668 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14670 * vspace.C: initialise lyxgluelength on failure
14672 2001-11-28 Allan Rae <rae@lyx.org>
14674 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14675 declaration & definition that looks like a function declaration.
14677 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14679 * BufferView2.C (copy):
14680 (copyEnvironment): do not clear the selection when doing a copy.
14682 * text.C (paintFirstRow): compilation fix
14684 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14686 * tabular.C (Latex): correct line count when writing latex.
14688 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14690 * paragraph_pimpl.h:
14691 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14694 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14698 * LColor.C: change vfillline->added_space
14700 * text.C: add markers and text for added space
14702 * vspace.C: fix comment
14704 2001-11-28 André Pönitz <poenitz@gmx.net>
14706 * paragraph.C: whitespace changes
14707 * all the other files from the change on 2001/11/26:
14708 change *::pos_type into lyx::pos_type
14710 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14712 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14713 language of the document when inserting error insets.
14715 2001-11-26 André Pönitz <poenitz@gmx.net>
14717 * BufferView_pimpl.[Ch]:
14725 * paragraph_pimpl.[Ch]:
14728 * text2.C: reduce header dependencies, introduce type for positions
14730 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14732 * <various>: change to use Alert.h
14734 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14736 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14737 when encountering an unknown token.
14738 (readLyXformat2): Show an error message if there were unknown tokens.
14740 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14743 * BufferView_pimpl.C:
14747 * text2.C: use par->isInset()
14749 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14751 * paragraph_pimpl.h:
14752 * paragraph_pimpl.C: cleanup
14754 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14756 * text2.C (removeRow):
14757 * text.C (setHeightOfRow): remove useless (and costly) call to
14760 2001-11-20 Allan Rae <rae@lyx.org>
14762 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14763 Now need Inset*::checkInsertChar() to return true for appropriate
14764 cases so that the characters in the minibuffer will actually be
14767 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14769 * text.C: change the order of the includes.
14770 (workWidth): initialize it at once.
14771 (workWidth): make maxw unsigned
14772 (setHeightOfRow): remove unused variable (inset)
14773 (selectSelectedWord): remove unused variable (inset)
14774 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14776 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14778 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14779 server is not running.
14781 (closeConnection): add debug info when server is disabled.
14783 * ColorHandler.C (getGCForeground): send debug message to GUI
14786 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14788 * kbmap.C (bind): modify because return conventions of
14789 kb_sequence::parse have changed.
14791 * kbsequence.C (parse): only ignore spaces and not any stupid
14792 control character. This avoids tests like s[i] <= ' ', which are
14793 guaranteed to fail with 8bit characters and signed chars.
14794 Change return code to string::npos when there have been no error
14795 (0 was a bad idea when error is at first character)
14797 2001-11-14 José Matos <jamatos@fep.up.pt>
14800 * buffer.C (simpleDocBookOnePar): removed unused argument.
14802 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14804 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14805 insets which are part of a word. Paragraph::isLetter takes care of
14806 that now. Use Paragraph::isInset to identify insets.
14807 (selectSelectedWord): do not test for hyphenation break.
14809 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14810 that protected spaces are considered as spaces.
14812 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14815 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14818 * lyxserver.C: fix it. and small cleanup.
14820 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14822 * BufferView_pimpl.C: use inline helpers
14825 * LaTeXFeatures.C: fix typos
14828 * Spacing.C: move spacing_string into class
14830 * ToolbarDefaults.C: move stuff into namespace anon
14832 * layout.h: update enum
14834 * lyxfunc.C: use better debug
14836 * minibuffer.h: fix typo
14840 * WorkArea.C: add and use Debug::WORKAREA
14844 * text2.C: code re-organisation, inline helpers
14846 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14848 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14849 std::vector.empty().
14851 2001-11-09 Allan Rae <rae@lyx.org>
14853 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14854 '\n's after tables. Tabular and ERT inset work now makes this no
14857 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14860 * minibuffer.C: fix crash, improve drop-down completion
14862 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14865 * lyxserver.C: invalidate fd's when doing endPipe()
14867 2001-11-08 José Matos <jamatos@fep.up.pt>
14869 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14870 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14873 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14875 2001-11-07 José Matos <jamatos@fep.up.pt>
14878 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14881 * buffer.C (sgmlOpenTag):
14882 * buffer.C (sgmlCloseTag): removed debug info.
14884 * buffer.h (sgmlOpenTag):
14885 * buffer.h (sgmlCloseTag): made public.
14887 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14889 * buffer.C (saveParamsAsDefaults):
14890 * lyx_cb.C (MenuLayoutSave): remove
14892 * LyXAction.C (init):
14894 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14896 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14898 * buffer.C (setPaperStuff): removed from here...
14900 * bufferparams.C (setPaperStuff): ... and moved there.
14902 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14906 * XFormsView.C: add support for drop-down completion
14908 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14910 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14913 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14915 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14918 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14920 * lyx_main.C: change ref to known bugs
14922 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14924 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14925 to work around older babel problems.
14927 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14929 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14931 2001-10-24 Juergen Vigna <jug@sad.it>
14933 * tabular-old.C (ReadOld): below variable changes reflected.
14935 * tabular.[Ch]: added ltType struct for longtable header/footer
14936 defines and changed all instances where they are used. Added
14937 future support for double top/bottom rows.
14939 2001-10-24 José Matos <jamatos@fep.up.pt>
14941 * buffer.h (docbookHandleCaption):
14942 * buffer.C (docbookHandleCaption): removed unused function.
14943 (makeDocBookFile): moved docbook supported version to v4.1.
14945 2001-10-24 José Matos <jamatos@fep.up.pt>
14948 * tabular.C (docbookRow): new function to export docbook code of a row.
14949 (DocBook): now honors the longtable flags.
14951 2001-10-23 José Matos <jamatos@fep.up.pt>
14954 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14955 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14957 * buffer.C (makeLinuxDocFile):
14958 (makeDocBookFile): reworked the preamble, more clean, and with
14959 support for lyx defined entities. Changed the document declaration
14960 to be more XML friendly.
14962 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14963 if we need to output XML that should be done with a filter.
14965 2001-10-22 Juergen Vigna <jug@sad.it>
14967 * sp_pspell.h (class PSpell): add alive function needed in the
14968 controller to see if the spellchecker could be started.
14970 2001-10-22 Juergen Vigna <jug@sad.it>
14972 * buffer.C (insertStringAsLines): modify the font for inserting
14973 chars in certain conditions by calling checkInsertChar(font).
14975 2001-10-19 Juergen Vigna <jug@sad.it>
14977 * text.C (workWidth): use getRow instead of wrong algorithm.
14978 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14980 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14985 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14987 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14989 * text.C (workWidth): do not search for the exact row when
14990 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14991 optimization for big documents.
14993 2001-10-18 Juergen Vigna <jug@sad.it>
14995 * text.C (workWidth): new function with added Inset * parameter.
14997 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14999 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15001 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15002 change return type of getColumnNearX.
15005 * text.C (changeRegionCase): use uppercase/lowercase instead of
15008 (rightMargin): simplify code by factoring out the uses of
15013 (appendParagraph): use Paragraph::size_type
15015 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15017 * vspace.C (asLatexString): add a missing break
15019 2001-10-15 Herbert Voss <voss@perce.de>
15021 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15023 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15025 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15028 2001-10-10 André Pönitz <poenitz@gmx.net>
15030 * lyxfunc.C: removed greek_kb_flag.
15032 2001-10-10 Herbert Voss <voss@perce.de>
15034 * lyx_main.C: delete global string help_lyxdir.
15036 2001-10-09 Herbert Voss <voss@perce.de>
15038 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15040 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15042 * lyx_main.C: added global string help_lyxdir.
15044 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15046 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
15048 * lyxrc.C (set_font_norm_type): support iso8859-4
15050 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
15052 * LaTeX.C (deplog): add another regex for MikTeX
15054 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
15056 * lyxrc.C (set_font_norm_type): support iso8859-3
15058 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15060 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15062 * LaTeXFeatures.C: remove special case of french and index
15064 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15065 before \begin{document}). This solves several incompatibilities.
15067 2001-10-03 Garst Reese <reese@isn.net>
15069 * lyx_cb.C: change CheckTex error msg.
15071 2001-10-03 José Matos <jamatos@fep.up.pt>
15073 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15075 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15077 * .cvsignore: update
15079 * lyx_main.C (commandLineVersionInfo): use new style version info.
15081 * buffer.C (writeFile):
15083 (makeLinuxDocFile):
15084 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15086 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15088 * version.h: update to use stuff in version.C
15090 * version.C.in: new file. Contains version information determined
15091 at compile time. This is a merging of version.h and
15094 2001-10-03 Juergen Vigna <jug@sad.it>
15096 * BufferView_pimpl.C (update): don't change "dirty" status in
15099 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15101 * WorkArea.C (c-tor): re-position version string slightly.
15103 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15105 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15106 revert to previous code.
15108 WorkArea.[Ch]: (show, destroySplash): methods removed.
15110 WorkArea.C: rework code so that it's an amalgam of the codes before and
15111 after the splash screen was moved to WorkArea.
15113 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15116 * vspace.C (inPixels):
15119 * buffer.C (insertStringAsLines):
15120 (asciiParagraph): fix types to be large enough
15122 * lyxlex_pimpl.h: change member status from short to int
15124 * layout.h: fix type of endlabeltype
15127 * kbsequence.C (parse): change return type to string::size_type
15129 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15132 * Bullet.C (bulletSize):
15133 (bulletEntry): do not use short ints as parameters
15135 * BufferView2.C (insertLyXFile): change a char to an int.
15137 * WorkArea.C (WorkArea): remove unneeded floats in computation
15139 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15141 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15143 * paragraph.C (asString): Do not ignore newline/hfill chars when
15144 copying to the clipboard.
15146 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15148 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15149 after a multi-line inset.
15151 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15153 * paragraph.C (validate): Set NeedLyXFootnoteCode
15155 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15157 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15158 and decrease-error to decrease.
15160 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15162 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15163 it more readable (should be equivalent)
15165 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15167 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15169 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15171 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15172 of a cursor (row, etc.) after a character has been deleted
15173 (deleteEmptyParagraphMechanism): call the method above on _all_
15174 cursors held by the LyXText when a double space has been
15177 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15179 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15181 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15183 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15184 background. Use greyOut() and the new show() methods to toggle between
15185 the foreground and background. Add code to remove the splash after
15186 its initial showing.
15188 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15189 (create_forms): no longer call Dialogs::showSplash.
15191 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15193 * .cvsignore: add version_info.h
15195 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15197 * version_info.h.in: new file
15199 * Makefile.am: add version_info.h.in
15201 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15202 version_info.h instead of VERSION_INFO
15204 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15206 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15207 The ERT inset now returns string().
15209 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15211 * lyxtext.h, text.C (selectNextWord): renamed as
15212 selectNextWordToSpellcheck.
15214 * text.C (selectNextWordToSpellcheck): Modified to not select
15215 words inside an ERT inset.
15217 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15219 * lyx_cb.C (MenuLayoutSave): change a bit the question
15221 * sp_base.h: include <sys/types.h>
15223 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15225 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15227 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15229 * several files: fix typos in user-visible strings
15231 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15233 * text2.C (pasteSelection): do not set the selection, since it
15234 will be cleared later. Actually, the intent was to fix the way the
15235 selection was set, but I figured rmoving the code was just as good.
15237 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15239 * FontLoader.C (available): Check if font is available without
15242 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15244 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15246 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15248 * lyxrc.[Ch]: added display_graphics variable and associated code.
15250 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15252 * bufferparams.C (hasClassDefaults): new method. Returns true if
15253 the buffer parameters correspond to known class defaults
15255 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15257 * XFormsView.C (show): set minimum size to the main window.
15259 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15261 * text2.C (copySelection):
15263 * lyxfind.C (LyXReplace):
15264 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15265 LyXText::selectionAsString.
15267 * paragraph.C (asString): add "label" argument to the second form
15269 * text2.C (selectionAsString): add "label" argument and pass it to
15270 Paragraph::asString.
15272 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15274 * lyx_main.C (commandLineHelp): remove version information
15276 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15278 * lyx_main.C: add -version commandline option
15280 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15282 * paragraph.h: make the optional constructor arg required instead.
15283 some modifications to other files because of this.
15285 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15287 * lyxserver.C (C_LyXComm_callback): make it static
15289 * lyx_main.C (error_handler): make it static
15291 * lyx_gui.C (LyX_XErrHandler): make it static
15293 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15295 * WorkArea.C: make the extern "C" methods static.
15297 * Makefile.am (lyx_LDADD): simplify
15299 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15301 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15302 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15304 * LyXAction.C (init):
15305 * lyxfunc.C (dispatch): associated code removal.
15307 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15309 * lyxfont.h (isSymbolFont): shut off warning
15311 * text.C (setHeightOfRow):
15312 (getVisibleRow): fix crash with empty paragraphs which have a
15315 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15317 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15320 2001-09-04 José Matos <jamatos@fep.up.pt>
15323 * tabular.C (docbook): rename docBook method to docbook.
15325 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15327 * Makefile.am: add dependencies to main.o.
15329 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15331 * FontLoader.C (available): Return false if !lyxrc.use_gui
15333 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15335 * FontInfo.C (query):
15336 * converter.C (view):
15337 * importer.C (Import):
15338 * exporter.C (Export): Can not -> cannot.
15340 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15342 * BufferView_pimpl.C: allow to create index inset even if
15345 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15347 * buffer.C (getLists): replace boost::tie code with an explicit pair
15348 as boost::tie can break some compilers.
15350 * iterators.h: Added a std:: declaration to the return type of
15353 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15355 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15358 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15360 * iterators.[Ch]: New files. Provide paragraph iterators.
15362 * buffer.C (changeLanguage): Use paragraph iterators.
15363 (isMultiLingual): ditto
15365 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15367 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15369 * FontLoader.C: Support for cmr font.
15371 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15373 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15374 (available): New method.
15376 * FontInfo.C (getFontname): Use scalable fonts even when
15377 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15380 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15382 * converter.C (Formats::view): reverted! Incorrect fix.
15384 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15386 * converter.C (Formats::view): only output the -paper option
15387 if the dvi viewer is xdvi, thereby fixing bug #233429.
15389 2001-08-23 Herbert Voss <voss@perce>
15391 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15393 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15395 * Spacing.h (Spacing): Set space to Default on in the default
15398 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15400 * vc-backend.h (RCS::versionString): add RCS to version
15401 (CVS::versionString): add CVS to version
15403 * vc-backend.C (scanMaster): do not add CVS to version.
15404 (scanMaster): do not add RCS to version
15406 * lyxvc.C (versionString): new method
15408 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15410 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15412 * Spacing.C (set): initialize fval
15414 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15416 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15419 2001-08-16 Juergen Vigna <jug@sad.it>
15421 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15423 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15425 * BufferView_pimpl.C:
15428 * text2.C: setParagraph takes linespacing now
15430 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15432 * LyxAction.C: add internal LFUN_CITATION_INSERT
15434 * LyXView.C: actually apply fix
15436 * bufferlist.C: fix open non-existent file
15438 * lyxfind.C: fix indentation
15440 * lyxfunc.C: remove unneeded assert, fix typo
15442 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15444 * MenuBackend.C: use "Floatname List"
15446 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15448 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15449 when converting LaTeX layout to insetERT.
15450 Generate a non-collapsed float when reading old float
15452 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15454 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15457 2001-08-13 Juergen Vigna <jug@sad.it>
15459 * text.C (fill): return 0 instead of 20 as this seems to be the more
15462 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15464 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15467 2001-08-13 Juergen Vigna <jug@sad.it>
15469 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15471 (SearchBackward): comment out the unlocking of the inset_owner this
15472 should not be needed!
15474 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15476 * Many files: Remove inherit_language, and add latex_language
15478 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15479 collapsible insets.
15481 2001-08-10 Juergen Vigna <jug@sad.it>
15483 * text.C (prepareToPrint): fixed hfill-width in draw!
15485 * BufferView2.C (selectLastWord): save the selection cursor as this
15486 now is cleared in the function LyXText::clearSelection!
15488 2001-08-08 Juergen Vigna <jug@sad.it>
15490 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15491 BACKSPACE type functions.
15493 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15494 is only cutted from the document but not put in the cut-buffer, where
15495 still the old stuff should be.
15497 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15499 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15501 * tabular.C (SetWidthOfCell): fixed special case where the width
15503 (LeftLine): handle '|' in align_special.
15505 (LeftAlreadyDrawed): ditto
15506 (SetWidthOfCell): ditto
15508 2001-08-07 Juergen Vigna <jug@sad.it>
15510 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15512 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15514 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15515 * lyxlex.[hC]: ditto
15517 2001-08-06 Juergen Vigna <jug@sad.it>
15519 * text.C (getVisibleRow): fix up row clearing a bit.
15521 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15523 * minibuffer.C: make sure the X server sees the changes in the input.
15525 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15527 * paragraph.C (getFont): split into...
15528 (getLabelFont): this
15529 (getLayoutFont): and this
15530 * paragraph_pimpl.C (realizeFont): calling this
15532 * text2.C (getFont): split into...
15533 (getLayoutFont): this
15534 (getLabelFont): and this
15535 (realizeFont): all three calling this
15537 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15540 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15542 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15544 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15546 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15547 layouts from the Quote inset insertion.
15549 2001-08-03 Juergen Vigna <jug@sad.it>
15551 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15553 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15554 only if status not is already CHANGED_IN_DRAW (second level).
15556 * text.C (draw): don't set the need_break_row when inside an
15559 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15561 * buffer.C (parseSingleLyXformat2Token): handle more latex
15564 * bufferview_funcs.[hC]: change function names to
15565 begin with small char, adjust other files.
15567 2001-08-02 André Pönitz <poenitz@gmx.net>
15570 BufferView_pimpl.C: remove broken special code for math-greek
15572 2001-08-02 Juergen Vigna <jug@sad.it>
15574 * BufferView_pimpl.C (update): redone this function so that we
15575 update the text again if there was a CHANGE_IN_DRAW.
15577 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15578 (drawFromTo): added a new internal bool which is used by draw() and
15580 (general): some cursor drawing problems fixed.
15582 2001-08-01 Juergen Vigna <jug@sad.it>
15584 * lyxfind.C (LyXFind): fixed
15585 (SearchForward): ditto
15586 (SearchBackward): ditto
15588 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15589 spurius drawing of the cursor in the main area.
15591 * text2.C (status): small fix which could lead to a segfault!
15592 (clearSelection): remove unneeded BufferView param.
15594 2001-08-01 André Pönitz <poenitz@gmx.net>
15596 * lyxfunc.C: small change due to changed mathed interface
15598 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15600 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15602 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15604 * lyxfunc.c: fail gracefully if file doesn't exist
15609 * BufferView_pimpl.C: IsDirWriteable() proto changed
15611 * LyXView.C: fix updateWindowTitle() to store the last title
15613 2001-07-31 Juergen Vigna <jug@sad.it>
15615 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15616 the font (wrong since using of Paragraph::highestFontInRange).
15618 * paragraph.C (highestFontInRange): added a default_size parameter.
15620 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15621 (setHeightOfRow): reformat
15623 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15625 * converter.[hC] + affected files: move to (inital-char)lowercase
15628 * ParagraphParameters.C (ParagraphParameters): remove commented code
15630 * PainterBase.[Ch]: remove commented code
15632 * LaTeXFeatures.h: add "bool floats" for float.sty
15634 * LaTeXFeatures.C (LaTeXFeatures): init floats
15635 (require): handle float
15636 (getPackages): do it with floats
15638 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15640 * BufferView_pimpl.C (Dispatch): improve handling of
15641 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15643 * commandtags.h: #include lyxfont.h here temporarily to avoid
15646 * bufferlist.h: include LString.h here.
15648 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15650 * text2.C (getStringToIndex): new method.
15652 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15654 * *: Reduced header file dependencies all over.
15656 2001-07-30 Baruch Even <baruch@lyx.org>
15658 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15660 2001-07-29 Baruch Even <baruch@lyx.org>
15662 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15664 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15666 * ParameterStruct.h (endif): add a default constructor to make
15667 sure that all variables is initialized.
15669 * ParagraphParameters.C (ParagraphParameters): adjust
15671 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15673 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15674 index; also, check that there is something to index, and that it
15675 does not span over several paragraphs.
15676 (doubleClick): use WHOLE_WORD_STRICT for double click.
15678 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15680 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15683 2001-07-26 Baruch Even <baruch@lyx.org>
15685 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15686 an InsetFig figure, backwards compatible reading of old figure code.
15688 2001-07-27 Juergen Vigna <jug@sad.it>
15690 * text2.C: font.realize function adaption.
15692 * text.C (draw): add a warnings lyxerr text if needed.
15694 * layout.C: font.realize function adaption.
15696 * language.C: add inherit_language and implement it's handlings
15698 * bufferview_funcs.C (StyleReset): remove language parameter from
15699 font creation (should be language_inherit now).
15701 * bufferparams.C (writeFile): handle ignore_language.
15703 * paragraph.C (getFontSettings): the language has to be resolved
15704 otherwise we have problems in LyXFont!
15706 * lyxfont.C (lyxWriteChanges): added document_language parameter
15707 (update): removed unneeded language parameter
15709 * paragraph.C (validate): fixed wrong output of color-package when
15710 using interface colors for certain fonts in certain environments,
15711 which should not seen as that on the final output.
15713 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15715 * BufferView_pimpl.C:
15720 * LyXAction.C: add thesaurus support
15723 * lyxfind.C: add "once" parameter, for thesaurus, to not
15724 move to the next match
15726 2001-07-26 Juergen Vigna <jug@sad.it>
15728 * lyxfont.C (realize): honor ignore_language too!
15731 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15733 * text.C (draw): one place more for ignore_language to not draw
15736 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15738 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15740 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15742 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15743 the minipage conversion problem.
15745 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15747 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15750 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15752 * BufferView.h: don't forward declare WorkArea
15754 * BufferView.C: don't include WorkArea.h
15756 2001-07-25 André Pönitz <poenitz@gmx.net>
15760 * lyxfunc.C: new LFUN 'math-space'
15762 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15764 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15766 * text2.C (toggleInset): call open/close
15768 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15770 * lyxfunc.C (dispatch): add debug for the disabled case
15772 * font.C (buttonText): make similar to rectText
15774 * buffer.C (readInset): comment out parsing of insetlist and
15777 * PainterBase.C (rectText): small correction
15779 * BufferView_pimpl.C: comment out insettheorem and insetlist
15780 * LyXAction.C: ditto
15781 * commandtags.h: ditto
15783 2001-07-24 Juergen Vigna <jug@sad.it>
15785 * text.C (draw): honor the ignore_language.
15787 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15789 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15791 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15794 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15796 * lyxtext.h: remove unused (and unimplemented) methods
15798 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15800 * text.C (getVisibleRow): honor background color
15803 * Painter.h: remove default color argument for fillRectangle
15805 * text.C (backgroundColor): new method
15807 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15809 * text.C (getVisibleRow): adjust
15811 * font.[Ch] (rectText): new method, metrics
15812 (buttonText): new method, metrics
15814 * PainterBase.[hC]: make rectText and buttonText always draw and take
15817 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15819 * ToolbarDefaults.C (read):
15820 * MenuBackend.C (read): allow escaping in all strings
15822 * BufferView_pimpl.C (insertAndEditInset): new method.
15823 (Dispatch): use insertAndEditInset whenever appropriate.
15825 * BufferView_pimpl.C (insertNote): removed
15827 * BufferView_pimpl.C (smartQuote): new method, moved from
15828 BufferView; if an insetquote cannot be inserted, insert a '"'
15831 * BufferView2.C: remove insertCorrectQuote();
15833 * lyxfunc.C (getStatus): Add support for all remaingin
15834 inset-insert lfuns.
15836 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15838 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15839 command (necessary to pass " as parameter of self-insert.
15841 * text.C (selectWordWhenUnderCursor):
15842 (selectWord): add word_location parameter
15843 (selectWordWhenUnderCursor): same + remove special code for word
15845 (selectNextWord): use kind() to guess type of insetspecialchar,
15848 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15849 (insertErtContents): create ert insets as collapsed.
15850 (readInset): better compatibility code for Info inset.
15852 2001-07-20 Juergen Vigna <jug@sad.it>
15854 * lyxfunc.C (dispatch): use always LyXFind now!
15856 * text2.C (init): add a reinit flag so that the LyXText can be
15857 reinited instead of deleted and reallocated (used in InsetText).
15859 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15865 2001-07-18 Juergen Vigna <jug@sad.it>
15867 * text.C (selectNextWord): handle insets inside inset by calling
15868 always the bv->text functions so that we can go up the_locking_inset!
15870 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15871 in strange locations when inside an inset!
15873 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15874 handling to include insets.
15876 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15878 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15880 * LyXAction.C (init):
15882 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15883 LIGATURE_BREAK, since the name is so stupid.
15885 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15887 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15890 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15892 * sp_form.[Ch]: remove.
15894 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15896 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15899 * src/buffer.C (readInset): ditto.
15901 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15903 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15904 menuSeparator(), endOfSentenceDot(), ldots() and
15905 hyphenationPoint(), which are therefore removed.
15906 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15908 * LyXAction.C (init):
15909 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15911 * paragraph.C (getWord): removed.
15913 * BufferView_pimpl.C (Dispatch): use last word or selection for
15914 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15916 * lyx_main.C (queryUserLyXDir): do not ask before creating
15917 user_dir, except if it has been named explicitely.
15919 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15921 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15922 a document of zero size.
15924 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15926 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15927 approriately in the c-tor and in require().
15928 (getPackages): output the appropriate LaTeX for natbib support.
15930 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15931 variables "use_natbib" and "use_numerical_citations" when reading the
15933 (readInset): read the various natbib cite commands.
15934 (validate): white-space change.
15936 * bufferparams.[Ch]: new variables "bool use_natbib" and
15937 "bool use_numerical_citations".
15938 (writeFile): output them in the LyX file.
15940 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15942 * lyxfunc.C (getStatus): add support for all the inset insertion
15945 * text2.C (insertInset):
15946 * paragraph.C (insetAllowed):
15947 * BufferView_pimpl.C (insertInset): update to take in account the
15948 renaming of insertInsetAllowed
15950 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15952 * text2.C (getInset): new method. returns inset at cursor position.
15954 * BufferView_pimpl.C (Dispatch): changes because of this.
15956 * LyXAction.C (init): rename open-stuff to inset-toggle.
15958 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15960 * text2.C (toggleInset): renamed from openStuff; use
15963 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15965 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15967 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15969 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15971 * buffer.C (readLyXformat2): Add filename to the error dialog
15973 2001-07-18 Juergen Vigna <jug@sad.it>
15975 * tabular.C (GetCellNumber): put an assert here instead of the check!
15977 2001-07-17 Juergen Vigna <jug@sad.it>
15979 * BufferView_pimpl.C (toggleSelection): adapted too.
15981 * text.C (selectNextWord): adapted for use with insets.
15982 (selectSelectedWord): ditto
15984 2001-07-17 Juergen Vigna <jug@sad.it>
15986 * sp_spell.C (PSpell): fix initialitation order.
15988 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15990 * paragraph.C: spacing
15992 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15994 * sp_spell.C: repair language selection for pspell
15996 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15998 * lyxfunc.h: change more methods to begin with lower char.
16000 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
16002 * buffer.C (parseSingleLyXformat2Token): Generate error insets
16003 for unknown layouts.
16005 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
16007 * buffer.C (readLyXformat2): Generate an error dialog if there are
16010 2001-07-16 Juergen Vigna <jug@sad.it>
16012 * sp_spell.C: always compile ISpell part.
16014 * lyxrc.C: added use_pspell entry and it's handling.
16016 2001-07-13 Juergen Vigna <jug@sad.it>
16018 * sp_spell.C: removed double includes.
16020 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
16022 Consistent use of Lsstream.h:
16023 * Lsstream.h: added using std::stringstream for consistencies sake.
16025 * buffer.C: removed using std::stringstream
16027 * lyxfont.C (stateText):
16028 * paragraph.C (asString):
16029 * text.C (selectNextWord, selectSelectedWord):
16030 * text2.C (setCounter):
16031 * vspace.C (asString, asLatexString):
16032 std::ostringstream -> ostringstream.
16034 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16036 * LyXAction.C: add LFUN_HELP_ABOUTLYX
16037 * commandtags.h: add LFUN_HELP_ABOUTLYX
16038 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16040 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
16042 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16044 * lyx_gui_misc.C: remove spellchecker
16045 * lyxfunc.C: showSpellchecker
16047 * sp_ispell.h: added
16048 * sp_pspell.h: added
16049 * sp_spell.C: added
16050 * sp_form.[Ch]: removed
16051 * spellchecker.[Ch]: removed
16053 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
16055 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16057 (simpleTeXSpecialChars): Simply print the input character without
16058 any special translation if pass_thru is set.
16060 * layout.h: Added bool pass_thru to layout class for being able to
16061 implement pass through of a paragraph for Literate Programming.
16063 * layout.C: add LT_PASS_THRU to LayoutTags enum.
16064 * layout.C (LyXLayout): set pass_thru to flase in constructor.
16065 * layout.C (Read): add "passthru" to list of layout tags and add
16066 code to set the pass_thru boolean when it is read.
16068 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
16070 * trans_decl.h: remove allowed from KmodInfo
16072 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16073 remove allowed code
16076 * paragraph_pimpl.C (erase): use boost::prior
16078 * Painter.C (text): use data() instead of c_str() when length is
16080 * WorkArea.C (putClipboard): ditto
16081 * font.h (width): ditto
16083 * BufferView2.C: use it-> instead of (*it). for iterators
16085 * paragraph_pimpl.C: ditto
16086 * paragraph.C: ditto
16087 * minibuffer.C: ditto
16088 * language.C: ditto
16090 * encoding.C: ditto
16091 * counters.C: ditto
16092 * converter.C: ditto
16094 * Variables.C: ditto
16095 * TextCache.C: ditto
16096 * MenuBackend.C: ditto
16097 * LyXAction.C: ditto
16099 * FloatList.C: ditto
16100 * DepTable.C: ditto
16101 * ColorHandler.C (LyXColorHandler): ditto
16103 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16105 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16107 * text2.C (openStuff): reintroduce this method (which had been
16108 nuked in NEW_INSETS frenzy).
16110 * lyxfunc.C (Dispatch): when an action has not been handled, use
16111 its name in the error message, not its number.
16113 * paragraph.C (inInset): change method name to begin with lowercase.
16116 * text2.C: updates because of this.
16118 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16120 * ToolbarDefaults.C (add): add spaces in error message
16122 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16124 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16125 (readLyXformat2): rename return_par to first_par, use lyxlex's
16126 pushToken and remove the manual push handling.
16127 (parseSingleLyXformat2Token): add another ert comp. variable:
16128 in_tabular, rename return_par to first_par. handle newlines better
16130 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16132 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16134 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16136 * text2.C (getParFromID): removed
16138 * buffer.C (getParFromID): new method moved form lyxtext.
16139 * BufferView2.C (insertErrors): adjust
16140 (setCursorFromRow): adjust
16141 * BufferView_pimpl.C (restorePosition): adjust
16142 * lyxfunc.C (Dispatch): adjust
16143 * undo_funcs.C (textUndo): adjust
16145 (textHandleUndo): adjust
16146 (textHandleUndo): adjust
16148 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16150 * buffer.C: up' the LYX_FORMAT
16152 * lyxfont.h: turn NO_LATEX on as default
16154 * buffer.C (insertErtContents): new methods of tex style compability.
16155 (parseSingleLyXformat2Token): use it several places.
16156 * tabular.C (OldFormatRead): and here
16158 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16160 * text2.C: remove some commented code.
16163 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16164 * trans.C: changes because of the above.
16166 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16168 * text2.C (setCounter): Fix counters bug with bibliography layout.
16170 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16172 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16173 own member functions
16174 (simpleTeXSpecialChars): ditto
16176 2001-07-06 Juergen Vigna <jug@sad.it>
16178 * a lot of files: changed the access to LyXText::status and the
16179 call of undo-functions.
16181 * undo.[Ch]: added a inset_id to the undo informations.
16183 * undo_funcs.[Ch]: added and moved here all undo functions.
16185 * lyxtext.h: give the status enum a weight, made status_ a private
16186 variable and made accessor functions for it, removed the whole bunch
16187 of undo-functions as they are now in their own file, make some
16188 functions publically available. Added function ownerParagraph with
16191 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16192 made InInset() a const function, added getParFromID() function.
16194 * buffer.[Ch]: added const version for inset_iterator functions,
16195 added getInsetFromID() function.
16197 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16198 changed undo functions for new version.
16200 2001-07-05 Juergen Vigna <jug@sad.it>
16202 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16203 unknow mechanism does not call the proper constructor but only this
16204 one also if I request the other!?
16206 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16208 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16210 * text2.C (LyXText): use initialization lists.
16212 * lyxtext.h (Selection): initialize set_ and mark_
16213 (init): remove method
16215 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16217 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16219 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16221 * screen.[Ch]: change method names to begin with lowercase
16223 * BufferView_pimpl.C (updateScrollbar): simplify further and
16224 hopefully make it a bit faster.
16226 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16228 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16229 calling directly xforms functions.
16231 * Painter.C (Painter):
16232 * lyx_cb.C (MenuWrite):
16233 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16236 * lyx_gui.C: remove bogus guiruntime extern declaration.
16238 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16240 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16242 (redoDrawingOfParagraph): ditto
16243 (redoParagraphs): ditto
16244 (cutSelection): don't create a object for CutAndPaste use the
16245 static method directly
16246 (pasteSelection): ditto
16248 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16251 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16253 * modifications to some other files because of this.
16255 * Makefile.am (lyx_SOURCES): add XFormsView
16257 * XFormsView.[Ch]: new files
16259 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16260 the main window. Move the gui dependent stuff to XFormsView
16262 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16264 * tabular.C (GetCellInset): update cur_cell also in the row/col
16265 version of this function.
16267 * lyxfunc.C: no need to include figure_form.h here.
16273 * lyxvc.C: no need to include forms.h here.
16275 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16277 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16279 * lyxfunc.C (Dispatch):
16281 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16282 constructor argument.
16284 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16286 * paragraph.C (Paragraph): dont't clear, and just set layout.
16287 (makeSameLayout): use params's copy contructor.
16289 * ParagraphParameters.[Ch] (makeSame): delete method
16291 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16293 * Variables.[Ch]: fix indentation, rename set to isSet
16295 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16297 * lyxfunc.C (Dispatch): fix typo
16299 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16301 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16304 * bufferlist.C: include assert.h for emergencyWrite().
16306 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16308 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16309 give up at last (bug #425202) !
16311 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16317 * spellchecker.C: strip spellchecker options and bring up
16318 preferences tab instead
16320 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16322 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16323 the istringstream constructor
16325 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16327 * paragraph.C (getLayout): fix return value
16329 * paragraph.h: do not declare getLayout as inline.
16331 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16333 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16335 * lyxcursor.h (operator<): new func
16336 (operator>): new func
16337 (operator>=): new func
16338 (operator<=): new func
16340 * text.C (changeCase): use selection.start and selection.end
16341 (changeRegionCase): require from to be <= to. Require par to be a
16344 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16346 2001-06-27 Juergen Vigna <jug@sad.it>
16348 * text.C (cursorLeftOneWord): changed to return the cursor and added
16349 overlay with BufferView * parameter which calls this one.
16351 (selectWord): use new getWord function.
16352 (changeCase): renamed from changeWordCase as and extended to work
16353 also on selections.
16355 * lyxtext.h: added enum word_location
16357 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16358 changeCase as this operates now also on selections.
16360 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16362 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16364 * many files: send debug output to Debug::INFO instead of
16367 * converter.C (View):
16369 (Move): send debug output to Debug::FILES instead of console.
16371 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16373 * lyxfunc.C (getStatus): use func_status
16375 * func_status.h: new header, describing the results of
16376 LyXFunc::getStatus;
16378 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16381 2001-06-25 The LyX Project <jug@sad.it>
16383 * buffer.C (sgmlOpenTag):
16385 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16387 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16389 * text2.C: remove some dead code
16391 * tabular.C (GetCellInset): store the last cell checked (gotten)
16393 * tabular.h: add the helper for the speedup
16395 * lyxtext.h: remove some dead code
16397 2001-06-26 The LyX Project <Asger>
16399 * paragraph.C: Change export to LaTeX of alignment to
16400 \begin{center} and family for better roundtrip work with reLyX.
16402 * Tune the math drawing a bit.
16404 2001-06-25 The LyX Project <Asger>
16406 * LColor.C (LColor): New color for math background. New color
16409 2001-06-25 The LyX Project <jug@sad.it>
16411 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16413 * lyxfunc.C (Open):
16414 * bufferlist.C (newFile): do not restrict to files ending with
16417 * BufferView_pimpl.C (MenuInsertLyXFile):
16419 2001-06-24 The LyX Project <jug@sad.it>
16421 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16424 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16426 * lyxtext.h: rename most methods to begin with a small char.
16427 Lots of changes because of this.
16429 * paragraph.C (Paragraph): do not call fitToSize
16430 (erase): call Pimpl::erase
16431 (insertChar): call Pimpl::insertChar
16432 (insertInset): call Pipl::insertInset
16433 (breakParagraph): do not call fitToSize
16434 (breakParagraphConservative): do not call fitToSize
16435 (fitToSize): remove method
16437 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16439 2001-06-24 The LyX Project <Asger>
16441 * Fix Qt compilation^2
16443 2001-06-24 The LyX Project <jug@sad.it>
16445 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16446 depthHook(getDepth()-1).
16449 * ParagraphParameters.h:
16450 * ParameterStruct.h: change type of depth to unsigned int ==
16451 depth_type. Many adaptations to other files before of that.
16453 2001-06-24 The LyX Project <Asger>
16455 * Fix Qt compilation.
16457 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16459 * paragraph.h: renamed several methods to begin with small letter.
16460 several changes to many parts of the code because of this.
16462 2001-06-23 The LyX Project <jug@sad.it>
16464 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16465 rewritten to discard all double spaces when KeepEmpty is off
16466 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16467 to only handle newlines but not fiddle with spaces and friends.
16469 * lyxfunc.C (MenuNew): when doing 'new from template', use
16470 template_path as default directory
16472 2001-06-23 The LyX Project <Asger>
16474 * Clean-up of header file includes all over
16475 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16477 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16479 * paragraph.h: renamed from lyxparagraph.h
16481 2001-06-23 Asger <lyx@violet.home.sad.it>
16483 * Buffer.h: Removed Buffer::resize
16484 * BufferList.h: Removed BufferList::resize
16485 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16486 the document lazily when we change the width, or the font settings.
16488 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16490 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16492 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16494 * buffer.h: remove out of date comment
16496 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16499 * screen.C: fix "theoretical" GC leak
16501 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16503 * LaTeX.C (scanAuxFile):
16504 (deplog): remove trailing \r when reading stream (useful under
16507 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16509 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16510 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16511 and BufferView::theLockingInset(Inset*), so should use them and not
16512 access bv_->text->the_locking_inset directly.
16514 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16516 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16519 * tex-defs.h: remove old unused file
16521 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16523 * BufferView_pimpl.C: fix typo, remove minibuffer message
16524 when buffer has loaded
16526 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16528 * lyxfunc.C (Dispatch): use stringstream
16529 (MenuNew): use stringstream
16530 (Open): use stringstream
16532 * importer.C (Import): use stringstream
16534 * bufferview_funcs.C (CurrentState): use stringstream
16536 * LaTeX.C (run): use stringstream
16538 * BufferView_pimpl.C (savePosition): use stringstream
16539 (restorePosition): use stringstream
16540 (MenuInsertLyXFile): use stringstream
16542 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16555 * vspace.C: removed // -*- C++ -*- as first line.
16558 * version.h: added // -*- C++ -*- as first line.
16560 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16562 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16564 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16567 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16569 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16572 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16574 * gettext.C: include LString.h even when --disable-nls is on.
16576 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16578 * converter.h (Get): changed argument type from int to
16579 FormatList::size_type to avoid unnecessary conversion.
16581 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16584 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16586 * gettext.h: include LString.h even when --disable-nls is on.
16588 2001-06-07 Juergen Vigna <jug@sad.it>
16590 * text.C (BreakAgain): subst spaces with tabs.
16592 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16593 (resizeInsetsLyXText): set force on resizeLyXText.
16595 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16597 * gettext.h (gettext_init):
16598 (locale_init): use a real definition instead of a macro
16600 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16602 * Bufferview_pimpl.C:
16604 * LColor.C: further lcolor tidies
16606 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16608 * BufferView_pimpl.C (updateScrollbar): simplify.
16610 * BufferView2.C: don't include insets/insetinfo.h, change
16611 prototype for insertInset and call the Pimpl version. let
16612 updateInset call Pimpl version.
16614 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16615 gotoInset to BufferView::Pimpl
16617 2001-06-01 Juergen Vigna <jug@sad.it>
16619 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16620 inside a LockingInset (is the update needed at all?).
16622 2001-05-31 Juergen Vigna <jug@sad.it>
16624 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16625 here not the old one otherwise how should we compare it afterwards
16628 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16633 * FontInfo.C: bring C functions into global namespace when
16636 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16638 * LString.h: make sure config.h has been loaded before LString.h.
16640 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16641 (one for each char read by EatLine!).
16643 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16646 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16648 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16649 to the same as the par we break from
16651 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16653 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16655 * MenuBackend.C (expand): also create menu entries for wide
16656 versions of the floats.
16658 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16660 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16662 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16663 frontends/Makefile.am
16669 * tabular.C (getTokenValue): add std::
16671 * tabular-old.C (getTokenValue): add std::
16672 (getTokenValue): ditto
16673 (getTokenValue): ditto
16675 * screen.C (ToggleSelection): adjust
16677 * lyxtext.h: put selection cursors inside a Selection struct.
16679 * lyxfunc.C (moveCursorUpdate): adjust
16681 * lyxfont.C (latexWriteStartChanges): add std::
16683 * lyxfind.C: adjust
16685 * font.h: delete with(char const *, LyXFont const &)
16687 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16689 * FontInfo.C (getFontname): add std::
16691 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16692 (workAreaButtonPress): adjust
16693 (tripleClick): adjust
16695 (moveCursorUpdate): adjust
16698 * BufferView2.C (gotoInset): adjust
16700 2001-05-30 Juergen Vigna <jug@sad.it>
16702 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16703 to check pspell I add this as default as I now have new pspell
16704 libraries and they seem to use this.
16706 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16708 * text2.C (CutSelection): make the cursor valid before the call to
16711 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16713 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16714 relied on 0 terminated strings and other horrors. Bug found due to
16715 the new assert in lyxstring!
16717 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16720 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16722 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16725 * lyxfunc.C (processKeySym): change method of getting to the
16728 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16729 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16730 * BufferView_pimpl.[Ch]: here as private methods.
16732 2001-05-28 Juergen Vigna <jug@sad.it>
16734 * text.C (SetHeightOfRow): added the update() call again as it is
16735 needed to initialize inset dimensions!
16737 2001-05-16 Juergen Vigna <jug@sad.it>
16739 * text2.C (SetCharFont): Add new function with BufferView * and
16740 bool toggleall parameters for setting insets internal fonts.
16741 (SetFont): Freeze the undo as we may change fonts in Insets and
16742 all this change should be inside only one Undo!
16744 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16745 setting font's in insets as for them we have the SetFont function!
16747 2001-05-15 Juergen Vigna <jug@sad.it>
16749 * text2.C (ClearSelection): to be sure we REALLY don't have any
16752 * tabular.C (TeXCellPreamble): fixed the left border problem for
16755 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16757 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16760 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16762 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16763 LFUN_BREAKPARAGRAPH.
16765 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16766 help test to "internal only", similar for LFUN_INSERT_URL
16768 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16769 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16770 auto_region_delete and deadkeys.
16772 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16775 * LColor.C: remove some dead entries, tidy a little
16777 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16779 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16781 (Dispatch): implement LFUN_ESCAPE
16783 * commandtags.h: add LFUN_ESCAPE
16785 * LyXAction.C (init): add entry for LFUN_ESCAPE
16787 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16788 Remove commented code.
16789 (insertNote): moved here
16790 (open_new_inset): moved here
16792 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16795 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16797 * kbmap.C (findbinding): clean it up and make it work correctly.
16799 * lyx_main.C (init): do not pass argc and argv as parameters
16801 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16803 * buffer.C: fix path for OS/2 & Win32
16807 * lyx_main.C: Added os:: class.
16809 * os2_defines.h: update
16811 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16813 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16814 better by trying again with reduced state.
16816 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16818 * lyxrc.C (read): print error about invalid key sequence only when
16819 debugging (because not all latinX keysyms are known to some X
16822 * kbsequence.C (getiso): add a few std:: qualifiers
16823 (getiso): comment out extra return statement.
16825 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16827 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16829 (Dispatch): enhance the accent inset a bit. (not perfect)
16831 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16833 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16835 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16837 * bufferlist.C (emergencyWrite): fix assert() call
16839 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16841 * text.C (InsertChar): Added trivial patch to only send the "you
16842 can not do multiple spaces this way" message once during a
16845 2001-05-08 Baruch Even <baruch@lyx.org>
16847 * Makefile.am: Changed order of libraries to get LyX to link properly
16848 with the gnome frontend.
16850 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16852 * LaTeXFeatures.h: add a std:: qualifier
16854 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16856 * paragraph.C (String): use stringstream
16858 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16860 * paragraph.C (writeFile): remove footflag arg
16862 * buffer.C (makeLaTeXFile): use stringstream
16863 (latexParagraphs): remove footnot gurba
16865 * LaTeXFeatures.C (getPackages): use stringstream
16866 (getMacros): likewise
16867 (getTClassPreamble): likewise
16868 (getFloatDefinitions): new method
16870 * paragraph.C (writeFile): reindent
16873 * WorkArea.h: revert the xpos + etc changes.
16875 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16877 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16879 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16880 (pasteSelection): likewise
16881 * text2.C (CreateUndo): likewise
16883 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16885 * minibuffer.C (peek_event): temporarily reduce the functionality
16886 of the minibuffer (to allow args on lfuns)
16888 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16889 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16891 * buffer.C (readInset): add compability reading of old float
16892 lists, add reading of new style float list.
16893 (readInset): avoid reevaluation of inscmd.getCmdName()
16894 (getLists): reindent
16896 * MenuBackend.C (MenuItem): implement parsing of
16897 md_floatlistinsert and md_floatinsert.
16898 (expand::LastFiles): move initalizaton of iterators out of loop,
16899 avoid reevaluation.
16900 (expand::Documents): introduce typdedef vector<string> Strings,
16902 (expand::ExportFormats): introduce typedef vector<Format const *>
16903 Formats, and use it.
16904 (expand): implement FloatListInsert and FloatInsert.
16906 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16907 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16908 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16910 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16912 (Dispatch::LFUN_FLOAT_LIST): implement
16914 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16916 * LaTeX.C (run): Fix problem with --export code.
16918 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16920 * BufferView.[Ch] (workarea): removed.
16921 (getClipboard) new method; wrapper for workarea()->getClipboard()
16923 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16926 * WorkArea.h (width, height, xpos, ypos): These methods all
16927 returned the dimensions of the work_area sub-area of WorkArea,
16928 resulting in a position error if the WorkArea were resized. Now
16929 return the dimensions of the entire WorkArea.
16931 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16933 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16935 * LaTeX.C (deplog): correct the syntax of regex reg1
16937 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16939 * undo.C: remove !NEW_INSETS cruft
16941 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16943 * text2.C: remove !NEW_INSETS cruft
16945 * text.C: remove !NEW_INSETS cruft
16947 * tabular.C: remove !NEW_INSETS cruft
16949 * spellchecker.C: remove !NEW_INSETS cruft
16951 * lyxtext.h: remove !NEW_INSETS cruft
16953 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16955 * lyxfunc.C: remove !NEW_INSETS cruft
16957 * lyxfind.C: remove !NEW_INSETS cruft
16959 * lyx_cb.C: remove !NEW_INSETS cruft
16961 * figureForm.C: remove !NEW_INSETS cruft
16963 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16965 * buffer.[Ch]: remove !NEW_INSETS cruft
16967 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16969 * CutAndPaste.C: remove !NEW_INSETS cruft
16971 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16973 * BufferView2.C: remove !NEW_INSETS cruft
16975 * BufferView.h: remove !NEW_INSETS cruft
16977 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16979 * Lsstream.h: include LString.h before the sstream headers to
16980 fix problem with gcc 2.95.3 and lyxstring
16982 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16984 * lyx_main.C: add using directives when needed for C functions
16985 declared in std:: namespace.
16987 2001-04-27 Juergen Vigna <jug@sad.it>
16989 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16990 (SetHeightOfRow): comment out the update call should not be needed!
16992 2001-04-13 Juergen Vigna <jug@sad.it>
16994 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16995 (LyXTabular): tried to minimize operator= operations (and realized
16996 hopfully Lars wish).
16998 2001-04-27 Juergen Vigna <jug@sad.it>
17000 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17002 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
17004 * lyxfunc.C (Dispatch): hack to make listof algorithm work
17006 * buffer.C (readInset): hack to make listof algorithm work
17008 * BufferView_pimpl.C: hack to make listof algorithm work
17010 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
17012 * LyXAction.C: removed all !NEW_INSETS cruft
17013 (init): moved lfun_item in method
17015 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17017 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
17019 * BufferView2.C (theLockingInset): white space.
17021 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
17023 * minibuffer.C: include <iostream>
17025 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17027 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17029 * commandtags.h: add LFUN_TRANSPOSE_CHARS
17031 * text.[Ch] (TransposeChars): new method
17033 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
17035 * call message directly through LyXView instead of through LyXFunc
17036 * BufferView2.C: adjust
17037 * BufferView_pimpl.C: adjust
17038 * FontLoader.C: adjust
17040 * bufferview_funcs.C: adjust
17041 * converter.C: adjust
17042 * figureForm.C: adjust
17043 * importer.C: adjust
17045 * lyx_gui_misc.C: adjust
17046 * lyxfunc.C: adjust
17049 + more files in subdirs
17051 * lyxparagraph.h (size): move up int file
17054 * adjust all uses of Assert to lyx::Assert.
17056 * BufferView2.C (ChangeCitationsIfUnique): adjust for
17057 lyxfunctional in namespace lyx
17058 * layout.C (hasLayout): ditto
17061 (delete_layout): ditto
17062 (NumberOfClass): ditto
17063 * converter.C (GetFormat): ditto
17068 * bufferlist.C (getFileNames): ditto
17069 (emergencyWriteAll): ditto
17072 * MenuBackend.C (hasSubmenu): ditto
17075 * BufferView_pimpl.C (getInsetByCode): ditto
17077 2001-04-18 Juergen Vigna <jug@sad.it>
17079 * vspace.C (asLatexString): fixed the 100% problem.
17081 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17083 * lyxfunc.C (Dispatch):
17085 * minibuffer.h: add a few std:: qualifiers
17087 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
17089 * minibuffer.[Ch]: reimplement so that commands is initiated and
17090 run from lyxfunc, simplified som handling, and made the completion
17091 and history code for complete. wip.
17093 * lyxfunc.C (processKeySym): call message
17094 (miniDispatch): new temporary method
17095 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17096 (LFUN_MESSAGE): implement
17097 (LFUN_MESSAGE_PUSH): implement
17098 (LFUN_MESSAGE_POP): implement
17099 (initMiniBuffer): the initial/defualt minibuffer message.
17101 * lyxfont.[Ch]: inline some more getters
17103 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17105 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17107 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17108 (AutoSave): use LFUN_MESSAGE
17109 (Reconfigure): ditto
17111 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17113 * figureForm.C: use LFUN_MESSAGE
17115 * converter.C (runLaTeX): use LFUN_MESSAGE
17117 * bufferview_funcs.C: use LFUN_MESSAGE
17119 (changeDepth): ditto
17121 * bufferparams.h: use boost::
17123 * bufferlist.h: inherit privately from noncopyable
17125 * bufferlist.C (loadLyXFile): remove some commented code.
17127 * buffer.C (runChktex): use LFUN_MESSAGE
17129 * ShareContainer.h: inherit privately from noncopyable
17131 * ParagraphParameters.[hC] (depth): inline it.
17133 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17135 (message): new method
17136 (messagePush): ditto
17137 (messagePop): ditto
17138 (show): init minibuffer
17139 (showState): direct call
17141 * LaTeX.[Ch]: inherit privately from noncopyable
17142 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17143 instead of WriteStatus.
17145 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17147 * BufferView_pimpl.C (buffer): don't init minibuffer
17148 (workAreaButtonPress): use LFUN_MESSAGE
17149 (workAreaButtonRelease): ditto
17150 (savePosition): ditto
17151 (restorePosition): ditto
17152 (MenuInsertLyXFile): ditto
17153 (workAreaExpose): don't init minibuffer
17154 (update): remove commented code, simplify
17156 * BufferView2.C (openStuff): use LFUN_MESSAGE
17157 (toggleFloat): ditto
17160 (copyEnvironment): ditto
17161 (pasteEnvironment): ditto
17166 (updateInset): remove some commented code
17168 * lastfiles.h: inherit privately from noncopyable
17171 * lyx_main.h: ditto
17173 * lyxlex_pimpl.h: ditto
17175 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17176 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17177 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17179 * LyXAction.h: inherit privately from noncopyable, add methods
17180 func_begin, func_end, returning iterators to the func map.
17182 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17183 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17184 (func_begin): new method
17185 (func_end): new method
17187 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17189 (copySelection): ditto
17190 (pasteSelection): ditto
17192 * BufferView.C: whitespace change
17193 * BufferView.h: inherit privately from noncopyable
17195 2001-04-16 Allan Rae <rae@lyx.org>
17197 * tabular-old.C (l_getline):
17198 * spellchecker.C (sc_check_word):
17199 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17200 an unrecognised preprocessor directive. So ensure they're wrapped.
17202 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17204 * src/exporter.C (Export): Give an error message when path to file
17207 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17209 * LaTeX.C (deplog): Always check that foundfile exists.
17211 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17214 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17216 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17218 * tabular.[Ch] (getLabelList): implement new method
17220 * minibuffer.h: comment ouf setTiimer
17222 * minibuffer.C (ExecutingCB): constify res
17223 (peek_event): constify s
17224 (Set): constify ntext
17225 (Init): constify nicename
17227 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17229 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17230 (savePosition): use two params to Minibuffer::Set
17231 (restorePosition): ditto
17233 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17235 * lyx_main.C: include language.h
17237 * Makefile.am (lyx_main.o): add language.h
17239 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17245 * CutAndPaste.C: include gettext.h
17247 * lyxfont.h: remove old hack with ON and OFF.
17250 * lyxfont.h: do not include language.h...
17255 * bufferview_funcs.C:
17261 * paragraph.C: ... but do it here instead
17263 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17265 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17267 * tabular.C: small reformat
17269 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17272 (BreakParagraph): ditto
17273 (SetOnlyLayout): ditto
17276 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17279 * lastfiles.C: removed most using decl, add std:: where needed
17281 * buffer.C: ws changes
17283 * MenuBackend.C (class compare_format): put into anon namespace
17284 (expand): constify label, names, action, action2
17287 * text.C (SingleWidth): constify font
17288 (IsBoundary): constify rtl2
17289 (GetVisibleRow): constify ww
17291 * LaTeX.C (deplog): constify logfile
17293 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17295 (workAreaExpose): constify widthChange, heightChange
17297 * lyxrow.C (par): moved
17300 * lyxrow.h: as inlines here
17302 * lyxfont.h (shape): moved from lyxfont.C
17303 (emph): moved from lyxfont.C
17305 * lyxfont.C (LyXFont): use initialization list for all
17307 (shape): move to lyxfont.h as inline
17308 (emph): move to lyxfont.h as inline
17311 2001-04-04 Juergen Vigna <jug@sad.it>
17313 * vspace.C: had to include stdio.h for use of sscanf
17315 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17318 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17319 independent of xforms.
17321 2001-04-02 Juergen Vigna <jug@sad.it>
17323 * spellchecker.C: fixed namespace placing!
17325 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17327 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17328 the LyXParagraph * is 0.
17330 2001-03-29 Juergen Vigna <jug@sad.it>
17332 * vspace.C: added support for %, c%, p%, l%.
17333 (stringFromUnit): added helper function.
17334 (asLatexString): changed to give right results for the %-values.
17336 * buffer.C: convert the widthp in a width%.
17338 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17340 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17343 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17344 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17346 * lyx_cb.[Ch]: see above.
17348 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17352 * lyx.[Ch]: replaced by figure_form.[Ch].
17356 * lyxfunc.C: changed headers associated with above changes.
17358 2001-03-27 Juergen Vigna <jug@sad.it>
17360 * BufferView_pimpl.C: set the temporary cursor right!
17362 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17364 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17366 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17368 * LString.h: removed "using std::getline"!
17370 * BufferView_pimpl.C (Dispatch): changes due to changes in
17371 InsetInclude::Params.
17373 * buffer.C (tag_name): removed redundant break statements as they were
17374 producing lots of warnings with my compiler.
17376 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17378 * LString.h: add "using std::getline" when using the real <string>.
17380 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17382 * buffer.C: removed bitset usage.
17383 PAR_TAG moved to an anonymous name space.
17384 (tag_name): new funtion, also in the anonymous namespace.
17385 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17386 (makeDocBookFile): clean code. Completed transition from string arrays
17388 (SimpleDocBookOnePar): code clean.
17390 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17392 * tabular.C: add some comments.
17394 2001-03-22 Juergen Vigna <jug@sad.it>
17396 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17397 compatibility read a bit and fixed bug with minipage in different
17400 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17402 * buffer.C (pop_tag): removed.
17403 (push_tag): removed.
17404 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17405 array replaced with vector. Added support for CDATA sections.
17406 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17408 (makeDocBookFile): XML conformant declaration of CDATA section,
17409 fixed bug related to <emphasis> in the first paragraph char.
17410 (sgmlOpenTag): exclude empty tags.
17411 (sgmlCloseTag): ditto.
17413 * buffer.h (pop_tag): removed.
17414 (push_tag): removed.
17416 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17418 * language.h (Languages): added size_type and size().
17420 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17422 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17423 response on compability reading of minipages. One probliem is that
17424 the old usage of minipages was flertydig
17426 * several files here and in subdirs: don't use static at file
17427 scope use anon namespaces instead.
17429 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17431 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17432 LaTeX output. This is necessary for Literate document
17435 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17437 * buffer.C: insert hfill when needed.
17439 * tabular.C (l_getline): use string::erase, small whitespace change.
17441 * BufferView_pimpl.C: try the anon namespace.
17442 * WorkArea.C: ditto
17444 2001-03-16 Juergen Vigna <jug@sad.it>
17446 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17447 otherwise it won't open options-dialogs.
17449 * buffer.C: honor pextraWidth(p) on converting minipages.
17451 * tabular.C (l_getline): changed the functions to strip trailing \r.
17453 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17455 * BufferView_pimpl.C:
17456 * minibuffer..C: added "using SigC::slot" declaration.
17458 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17460 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17466 * paragraph.C: ditto
17468 * lyxtext.h: NO_PEXTRA
17470 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17472 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17473 * ParameterStruct.h: ditto
17474 * ParagraphParameters.h: ditto
17475 * lyxparagraph.h: ditto
17477 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17479 * buffer.C: add compability for minipage alignment.
17480 (latexParagraphs): remove unwanted pextra check.
17482 * several files: remove CXX_WORKING_NAMESPACES
17484 * buffer.C (pop_tag): tie is in namespace boost
17486 * BufferView.h: noncopyable is in namespace boost
17488 * lyx_main.h: ditto
17491 * lastfiles.h: ditto
17492 * bufferlist.h: ditto
17493 * ShareContainer.h: ditto
17495 * LyXAction.h: ditto
17498 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17500 * Merging changes from BRANCH_MVC back into HEAD.
17502 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17504 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17506 * BufferView_pimpl.C: change from intl.C
17510 * Makefile.am: move combox.*
17516 * intl.C: remove dialog (covered by prefs)
17518 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17520 * lyxfunc.C (Dispatch): removed redundant break statement.
17522 2001-03-14 Juergen Vigna <jug@sad.it>
17524 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17526 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17528 * buffer.C: add hack to fix compability reading of minipages.
17530 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17532 * buffer.C (getLists): Cleanup.
17534 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17536 * lyxfont.C (update): don't honor toggleall on font size.
17538 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17542 * Makefile.am: moved to frontends/xforms/
17546 * BufferView_pimpl.C: changes for moved mathpanel
17548 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17550 * gettext.h: fix gettext_init() in --disable-nls
17552 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17554 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17556 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17559 * lyx.h: strip external form
17561 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17563 * BufferView_pimpl.C: add comment, destroySplash()
17565 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17567 * BufferView_pimpl.C:
17571 * lyxfunc.C: use re-worked insetinclude
17573 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17575 * buffer.C: add using std::stringstream.
17577 * lyx_cb.C: readd using std::ios.
17579 * buffer.C: add using std::map.
17581 * BufferView_pimpl.C: add using std::vector.
17583 * ShareContainer.h: add std:: to swap.
17585 * buffer.h: add some typedefs
17586 * buffer.C (getLists): use them
17587 (getLists): renamed from getTocList.
17588 add a counter for the different float types and use it in the
17590 (getLists): use the same counter for the NEW_INSETS and the "non"
17593 * lyx_cb.h: remove unused items, includes, using etc.
17595 * ShareContainer.h: remove some commented code, add more comments
17596 and "documentation".
17598 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17600 * buffer.C (getTocList): make the list also when NEW_INSETS is
17603 * buffer.h: remove TocType
17605 * buffer.C (getTocList): change to return a map<string,
17606 vector<TocItem> >, implement for dynamic number of list.
17608 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17609 * text2.C (PasteSelection): adjust
17610 * CutAndPaste.C (pasteSelection): adjust
17612 * FloatList.C (FloatList): update from the new_insets branch.
17613 * Floating.[Ch]: ditto
17614 * LaTeXFeatures.C: ditto
17616 * lyxlex_pimpl.C: ditto
17618 * paragraph.C (Last): remove when NEW_INSETS is defined.
17620 * other file: changes because of the above.
17622 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17624 * lyxparagraph.h: rename next to next_, previous to previous_,
17625 make them private for NEW_INSETS. Rename Next() to next(),
17626 Previous() to previous().
17628 * other files: changes because of the above.
17630 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17633 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17636 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17638 * main.C (main): pass lyx_localedir to gettext_init().
17640 * gettext.h: remove locale_init and gettext_init macros
17642 * gettext.C (locale_init): new function
17643 (gettext_init): new function
17645 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17648 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17650 * Moved credits to frontends:
17651 * credits.[Ch]: removed
17652 * credits_form.[Ch]: removed
17653 * lyx_gui_misc.C: remove credits stuff
17656 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17658 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17660 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17661 unneeded destructor.
17663 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17664 a standalone pointer again.
17666 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17668 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17674 * ToolbarDefaults.C:
17683 * BufferView_pimpl.C: use new file dialog in GUII
17686 * lyx_cb.C: remove LayoutsCB to Toolbar
17688 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17690 * ShareContainer.h (get): add std:: qualifier
17692 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17694 * ShareContainer.h: define a proper ShareContainer::value_type
17695 type (and use typename to please compaq cxx)
17697 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17699 * lyxparagraph.h: move serveral local vars to
17700 ParameterStruct/ParagraphParameters., use ShareContainer in
17701 FontTable., make vars in FontTable private and add getter and
17704 * paragraph.C: changes because of the above.
17706 * lyxfont.h: remove copy constructor and copy assignment. (the
17707 default ones is ok), move number inside FontBits. move inlines to
17710 * lyxfont.C: add number to initializaton of statics, move several
17711 inlines here. constify several local vars. some whitespace
17712 cleanup. Dont hide outerscope variables.
17714 * Spacing.h: add two new constructors to match the set methods.
17716 * ShareContainer.h: new file, will perhaps be moved to support
17718 * ParameterStruct.h: new file
17720 * ParagraphParameters.h: new file
17722 * ParagraphParameters.C: new file
17724 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17725 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17727 * BufferView_pimpl.C: ParagraphParameter changes.
17728 * buffer.C: Likewise.
17729 * bufferview_funcs.C: Likewise.
17730 * text.C: Likewise.
17731 * text2.C: Likewise.
17733 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17735 * lyxfind.C (LyXReplace): do not redefine default argument in
17737 (IsStringInText): ditto
17738 (SearchForward): ditto
17739 (SearchBackward): ditto
17741 2001-03-06 Juergen Vigna <jug@sad.it>
17743 * lyxfind.C (IsStringInText): put parentes around expressions.
17745 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17747 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17749 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17751 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17753 * stl_string_fwd.h: add comment
17755 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17758 * tabular.C: remove unused DocBook methods
17764 killed DO_USE_DEFAULT_LANGUAGE
17766 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17768 * lyx_gui.C: do not include language.h.
17770 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17771 arguments in function implementation.
17773 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17775 * BufferView_pimpl.C: add <ctime>
17777 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17779 * BufferView_pimpl.C: add using std::find_if
17781 2001-02-27 José Matos <jamatos@fep.up.pt>
17783 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17786 2001-02-11 José Matos <jamatos@fep.up.pt>
17788 * buffer.C (makeDocBookFile): command styles now have a parameter as
17789 "title" by default.
17791 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17793 * layout_forms.[Ch]: removed
17794 * lyx_cb.[Ch]: out character
17795 * lyx_gui.C: out character
17796 * lyx_gui_misc.C: out character
17797 * bufferview_funcs.C: : out character,
17798 added toggleall as parameter in ToggleAndShow
17800 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17802 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17804 * text2.C (SetCurrentFont): Disable number property at boundary.
17806 2001-02-26 Juergen Vigna <jug@sad.it>
17808 * lyxfunc.C (getStatus): added a string argument override function so
17809 that this is correctly called from LyXFunc::Dispatch if it contains a
17810 do_not_use_argument which is used!
17811 (Dispatch): added check for "custom" export and call appropriate func.
17813 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17815 * lyxrc.C: Add language_command_local, language_use_babel and
17816 language_global_options.
17818 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17820 * buffer.C (makeLaTeXFile): Use language_use_babel and
17821 language_global_options.
17823 2001-02-23 Juergen Vigna <jug@sad.it>
17825 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17826 which works with LyXText and putted it inside BufferView. Here now we
17827 only call for that part the BufferView::Dispatch() function.
17829 * BufferView.C (Dispatch): added.
17831 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17832 functions which needs to use a LyXText over from LyXFunc.
17833 (MenuInsertLyXFile): added
17834 (getInsetByCode): added
17835 (moveCursorUpdate): added
17836 (static TEXT): added
17838 2001-02-22 Juergen Vigna <jug@sad.it>
17840 * BufferView_pimpl.C (update): call a status update to see if LyXText
17843 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17845 * vc-backend.C (revert): implement for CVS
17846 (getLog): implement for CVS
17848 2001-02-20 Juergen Vigna <jug@sad.it>
17850 * text2.C (ClearSelection): added BufferView param for inset_owner call
17852 * lyxfunc.C (TEXT): added this function and use it instead of
17853 directly owner->view()-text of getLyXText().
17855 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17857 * src/layout_forms.C: out preamble
17858 * src/layout_forms.h: out preamble
17859 * src/lyx_cb.C: out preamble
17860 * src/lyx_cb.h: out preamble
17861 * src/lyx_gui.C: out preamble
17862 * src/lyx_gui_misc.C: out preamble
17863 * src/lyxfunc.C: connect with guii preamble
17865 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17867 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17869 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17871 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17872 whether to run bibtex.
17874 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17876 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17878 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17880 * Makefile.am (lyx_SOURCES): removed bibforms.h
17882 * vspace.h: doxygen
17884 * text.C (GetVisibleRow): make several local vars const
17886 * tabular.C: small cleanup.
17888 * lyxserver.C (callback): use compare instead of strncmp
17890 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17891 inlines to after class or to paragraph.C
17893 * lyxfont.h: remove friend operator!=
17895 * converter.h: move friend bool operator< to non friend and after
17898 * combox.h: small cleanup
17900 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17901 to inlines after class def.
17903 * buffer.C (pop_tag): use string operations instead of strcmp
17905 * bmtable.c: doxygen, small cleanup
17907 * LaTeX.h: remove friend operator==
17909 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17921 * BufferView_pimpl.C:
17922 * BufferView.[Ch]: remove cruft
17924 2001-02-14 Juergen Vigna <jug@sad.it>
17926 * lyxfunc.C: removed #if 0 unused code
17928 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17930 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17932 * text2.C (SetSelection): added a BufferView * parameter
17934 2001-02-13 Juergen Vigna <jug@sad.it>
17936 * lyxfunc.C (Dispatch): fixed protected blank problem.
17937 * BufferView2.C (protectedBlank): added LyxText * parameter.
17939 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17940 (AppendColumn): same as above for column_info.
17942 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17943 (moveCursorUpdate): use a LyXText param for support of InsetText.
17945 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17946 (tripleClick): ditto
17948 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17950 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17952 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17954 * text2.C (SetSelection): set correct update status if inset_owner
17955 (ToggleFree): ditto
17957 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17959 * tabular.C: remove some commented code.
17961 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17963 * BufferView_pimpl.C: call hideSplash()
17965 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17968 * bibforms.h: remove
17971 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17972 add LFUN_CHILD_CREATE
17974 * counters.h: fix tiny typo
17979 * lyx.C: move splash to frontends/xforms/
17981 * lyx_gui_misc.C: move Include and Bibform to frontends
17983 * lyxvc.h: clarify comment
17985 * vspace.C: tiny housekeeping
17987 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17989 * text.C (PrepareToPrint): RTL Fix.
17991 * paragraph.C (GetUChar): New method.
17992 (String): Use GetUChar.
17994 * buffer.C (asciiParagraph): Use GetUChar.
17996 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17998 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18000 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
18003 * buffer.C: rename to getLogName(), handle
18004 build log / latex log nicely
18006 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18009 * MenuBackend.h: remove support for reference menuitem type.
18011 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
18013 * BufferView_pimpl.C: housekeeping
18014 * BufferView_pimpl.h:
18019 * minibuffer.h: move Timeout GUI-I
18021 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
18023 * lyxrc.C (read): Update converters data-structures.
18025 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
18027 * LaTeX.h (operator!=): add operator != for Aux_Info
18029 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
18031 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18033 * LaTeXLog.C: deleted, useful code moved to Buffer
18036 * buffer.C: new function getLatexLogName()
18042 * lyxfunc.C: use frontends for LaTeX and VC logs
18044 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18046 * LaTeX.h: yet another std:: that Allan forgot.
18048 * Variables.C (set): renamed from isset(), because this clashes
18049 with some HP-UX macros (grr).
18051 2001-02-06 Allan Rae <rae@lyx.org>
18053 * LaTeX.h: Another bug fix. Missing std:: this time.
18055 2001-02-04 Allan Rae <rae@lyx.org>
18057 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18058 floats problem. I've left it commented out because it's not quite
18059 correct. It should also test that the current object is a table or
18060 figure inset. But I haven't gotten around to figuring out how to do
18061 that. I *think* it'll be something like: "table" == inset.type()
18063 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18066 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
18068 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18069 all the citation/databases/styles in the auxilary file.
18070 (run): Rerun latex if there was a babel language error.
18072 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
18074 * text.C (Backspace): Preserve the font when changing newline char
18076 (BreakParagraph): If the cursor is before a space, delete the space.
18078 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18080 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
18082 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18083 new argument (code).
18084 (ChangeCitationsIfUnique): New method.
18086 * paragraph.C (GetPositionOfInset): Handle bibkey.
18088 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18090 * BufferView_pimpl.h: change type of Position::par_pos to
18091 LyXParagraph::size_type.
18093 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
18095 * BufferView_pimpl.C (savePosition, restorePosition): Write
18096 messages to minibuffer.
18098 2001-01-28 José Matos <jamatos@fep.up.pt>
18100 * buffer.C (makeDocBookFile): adds support for document language.
18101 A silly restriction on the name of LatexCommand types where removed.
18102 Added support for CDATA sections, allows to chars unescaped, used
18103 among others in code, to avoid escape < and >.
18105 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18107 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18108 saved positions instrad of a stack. Furthermore, a position is
18109 stored using paragraph id/paragraph position.
18111 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18112 Remove LFUN_REF_BACK.
18114 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18116 * converter.C (dvipdfm_options): New method.
18118 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18120 * vspace.C (isValidLength): Fix for empty input string.
18122 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18124 * LyXAction.C (init): change description of LFUN_FIGURE to
18127 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18129 * LaTeX.C: add using directive
18131 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18133 * MenuBackend.C (expand): Fix the sorting of the formats.
18135 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18137 * lyx_main.C: tiny error message fix
18139 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18141 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18142 calling fl_initialize(). This fixes the problem with ',' as
18143 decimal separator in text files.
18145 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18147 * trans.C (process): Fix the keymap bug.
18149 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18151 * LaTeX.C (scanAuxFiles): New method. Provides support for
18152 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18153 (scanLogFile) Scan for "run BibTeX" messages.
18155 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18156 OT1 font encoding. Also, load the aecompl package if the ae
18159 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18161 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18163 * texrow.C (increasePos): turn two error messages into debug
18166 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18168 * LaTeX.C (scanAux): Handle the \@input macro.
18169 (runBibTeX): Use scanAux().
18171 * language.C (latex_options_): New field.
18173 * LaTeXFeatures.C (getMacros): Add language macros.
18175 * buffer.C (makeLaTeXFile): Small fix.
18177 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18179 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18181 * text2.C: add a using directive.
18183 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18188 * lyxfunc.C: kill LyXBell.
18190 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18192 * text.C (IsBoundary): Remove the error message
18194 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18196 * lyxrc.C (setDefaults): Correct initialization value for
18199 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18201 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18204 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18205 and GotoNextNote().
18207 * src/LyXAction.C: Added reference-next.
18209 * text.C (InsertChar): Use contains instead of strchr.
18211 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18213 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18215 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18216 alignment commands (when needed).
18218 * text.C (InsertChar): Add ':' to number separator chars.