2 2005-05-07 André Pönitz <poenitz@gmx.net>
4 * cursor.C (setSelection): open insets when selection is set there
5 to avoid crashs with cold coord cache
7 2005-05-07 André Pönitz <poenitz@gmx.net>
9 * trans_mgr.C (insert): move cursor to the right after inserting
12 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14 * BufferView_pimpl.C (update): dampen some of the debug blabbering
15 * factory.C (readInset): ditto
16 * text.C, text2.C: ditto
18 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
20 * buffer.C: format incremented to 242. There is no file format per
21 se, but the "frenchb" language has been removed from lib/language
22 and has to be translated to "french" by lyx2lyx.
24 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
26 * cursor_slice.h, dociterator.h: add some documentation
27 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
29 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
31 * text.C (leftMargin): do not add identation to display() style
32 insets, because they are always centered (bug 1293).
34 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
36 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
37 formatted_time methods in support/lyxtime.
39 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
41 * toc.[Ch]: new method getGuiName, which is used by the frontends
42 to set the toc combo (fixes bug 1870). Make TOC string translatable.
44 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
46 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
47 StableDocIterator const &)
48 * undo.C (recordUndo): use the above instead of cell.size() comparison
49 (fixes bug 1808; instructed by André).
51 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
54 * dociterator.h: Fix the assert when copying rows/cols in math
56 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
60 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
62 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
63 (findInset): new functions, refactored from goto Inset that return
64 the position of a certain inset without setting the buffer's cursor
66 (gotoInset): rewrite to call findInset and then set the cursor
69 2005-06-16 Angus Leeming <leeming@lyx.org>
71 * lyxrc.C (output, read): wrap all input and output of paths with
72 calls to os::internal_path and os::external_path, respectively.
73 (output): wrap bind_file inside quotes.
75 * format.C (view): enable the viewer to use the '$$s' placeholder.
77 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
79 * LColor.[Ch] (getFromLaTeXName): new
81 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
83 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
85 2005-06-14 Angus Leeming <leeming@lyx.org>
87 * lyx_main.C (init): ensure that the LyX binary dir is the first
88 element in the PATH on non-POSIX builds.
90 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
92 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
94 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
96 * rowpainter.C (paintInset, paintHebrewComposeChar)
97 (paintArabicComposeChar, paintChars): add a LyXFont argument.
98 (paintChars): use getFontSpan to reduce calls to getFont to a
99 minimum; use Paragraph::lookupChange instead of isXXXText.
100 (paintForeignMark): rename LyXFont argument.
101 (paintFromPos): pass a LyXFont object to the various paintXXX
104 * FontIterator.C (FontIterator, operator++): use
105 Paragraph::getFontSpan
107 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
108 version that returns the font span as a pair.
110 2005-06-09 Angus Leeming <leeming@lyx.org>
112 * converter.C (convert): Don't forget "outfile = real_outfile" as
113 the final step in a conversion where the input and output file names
114 are the same. Otherwise, future conversion steps won't work...
116 2005-06-09 Angus Leeming <leeming@lyx.org>
118 * lyxsocket.C: remove stub code as it isn't needed by
119 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
121 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
123 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
124 effectively disabled -x
126 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
128 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
129 when it actually makes sense.
131 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
133 * BufferView_pimpl.C: revert to showCursor in connection with
134 Lars's front-end stack
136 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
138 * text.C (redoParagraph): move cursor right after a bibitem
141 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
143 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
145 * buffer_funcs.C (bufferErrors): fix computation of the end of an
148 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
150 * BufferView.[Ch] (update):
151 * BufferView_pimpl.[Ch] (update, metrics):
152 * dimension.h (operator==):
153 * lyxfunc.C (dispatch):
154 * metricsinfo.h (ViewMetricsInfo):
155 * rowpainter.C (paintText):
157 * text.C (redoParagraph):
158 * text3.C (dispatch): Make LyX only repaint current paragraph in
159 case of character insert --> speedup. Also fix cursor draw
162 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
164 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
165 avoid a crash (bug 1891)
167 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
171 * text2.C (getStringToIndex): constify cur argument.
173 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
174 argument has been given
175 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
176 try to invoke LFUN_INSET_APPLY).
178 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
179 if no inset was created by doInsertInset
180 (doInsertInset): return true if an inset has been inserted.
182 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
184 * vspace.C (asGUIName): new method. A version of the space
185 suitable for showing on screen.
187 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
190 * lyxrc.C: rename "ASCII" to "Plain Text"
192 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
194 * buffer_funcs.C (expandLabel): take a Buffer as argument;
195 translate the labelstring.
196 (setCounter): translate labelstring as needed.
198 * output_docbook.C (makeCommand): fix expandLabel invokation
200 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
202 * BufferView.C: fix dialog title
204 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
206 * lyx_main.C (priv_exec): fix logic error with help from Angus
207 * lyx_main.C (parse_execute): set is_gui = false and remove now
208 obsolete comment about a segfault
210 2005-05-18 Angus Leeming <leeming@lyx.org>
212 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
214 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
216 * tabular.[hC]: added setCellInset to fix tabular paste.
218 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
220 * buffer.C (save): check if destination is writable before trying
223 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
225 * BufferView_pimpl.C (update): fix processEvents -caused update
228 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
230 * buffer_funcs.C (setCounter): fix test for numbering of
233 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
234 depth correctly; use optional argument when it exists
236 * lyxtextclass.C: remove unused MaxCounterTags enum
237 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
238 (max_toclevel, min_toclevel): new methods.
240 * MenuBackend.C (expandToc2): fix case where depth is smaller than
241 the smallest depth in toc.
243 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
244 layouts that should not appear in a table of contents.
246 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
248 * cursor.h (undispatched, noUpdate): add comments from André
250 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
254 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
256 2005-05-07 André Pönitz <poenitz@gmx.net>
258 * cursor.[Ch] (leaveInset): new function
260 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
262 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
264 2005-05-04 Angus Leeming <leeming@lyx.org>
266 * lyxfunc.C (getStatus): disable the spell checker dialog if
267 none of USE_[AIP]SPELL are defined.
269 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
271 * tabular.C (setWidthOfCell): remove obsolete comment
273 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
275 * paragraph.C (bibitem):
276 * buffer_funcs.C (setCounter):
277 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
279 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
281 * text3.C (getStatus): immediately return after setOnOff
283 * rowpainter.C: fix drawing of appendix start
285 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
287 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
288 SwitchBetweenClasses and remove the unused return value.
289 Handle character styles, too
291 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
293 * factory.C (createInset): handle undefined character styles
295 2005-05-02 Angus Leeming <leeming@lyx.org>
297 * buffer.C: protect the #include of utime.h with a preprocessor
300 2005-05-02 Angus Leeming <leeming@lyx.org>
302 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
303 function so that auto-saving works, albeit in a blocking manner.
305 * Makefile.am: make compilation of the client sub directory, of
306 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
307 on conditionals set at configure time.
309 * SpellBase.[Ch]: no longer an abstract base class. Instead,
310 it can be compiled in its own right but has no-op functionality.
312 * aspell.C, pspell.C: remove preprocessor guards. The files should
313 be compiled only if the necessary functionality exists.
315 * lyxserver.C, lyxsocket.C: disable on Windows.
317 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
319 * text.C (leftMargin): Fix the parindent use bug (1764)
322 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
324 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
327 2005-04-25 Angus Leeming <leeming@lyx.org>
335 include <config.h> in .C files, not .h ones.
337 protect headers inside preprocessor guards.
339 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
341 * FuncStatus.h (StatusCodes): document
343 2005-04-21 André Pönitz <poenitz@gmx.net>
345 * FuncStatus.h (enabled, onoff): document
347 2005-04-19 Angus Leeming <leeming@lyx.org>
349 * BufferView_pimpl.C (cursorToggle): no longer test whether
350 any child processes have been reaped before calling
351 handleCompletedProcesses().
353 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
355 * text3.C (dispatch): fix, finally fix, the language problem in
356 new lyxtexts, without disabling on-the-fly font changes (Helge's
359 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
361 * text3.C (dispatch): set cursor on double/triple click events
364 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
366 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
367 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
369 * rowpainter.C (paintFirst): simplify the code a little bit. In
370 particular, remove the test for secnumdepth.
371 * text.C (setHeightOfRow): only allocate space for chapter number
372 when updateCounters provided an actual label, instead of looking
373 at secnumdepth directly.
375 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
377 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
378 paragraphs when secnumdepth is large enough or, for environments,
379 when they are not the first in a sequence.
381 2005-04-17 Angus Leeming <leeming@lyx.org>
383 * buffer.C (makeLaTeXFile): replace code to manipulate a path
384 containing space and '~' characters with a call to latex_path().
386 2005-04-17 Angus Leeming <leeming@lyx.org>
388 * converter.C (convert): protect all args of convertDefault.sh
391 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
393 * text3.C (dispatch): change the layout to "Caption" after inserting
396 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
398 * text3.C (dispatch): fix language problem in newly created
399 textinsets (and main text) in non-english docs
401 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
403 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
404 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
405 * text3.C (getStatus): disable LFUN_INSET_MODIFY
407 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
412 * rowpainter.C (getFont): Fix metrics bug introduced by inset
415 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
417 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
418 output of \item arguments without trailing text.
420 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
422 * FontIterator.C (operator*): avoid a copy of the font.
424 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
426 * rowpainter.C (getFont): fix language bug from previous fix
428 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
430 * rowpainter.C (RowPainter, getFont): fix font inside inset
433 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
435 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
436 preventing inserted font, deco, delim insets jumping to start of
439 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
441 * lyxfunc.C (dispatch): translate message before sending it to the
444 2005-03-29 Angus Leeming <leeming@lyx.org>
446 * lyx_main.C (priv_exec): call os::internal_path on each file passed
447 to LyX on the command line.
449 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
451 * vc-backend.C: use QuoteName to protect file names wherever
454 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
457 * BranchList.h: fix bugs 1844,1845: document settings don't
460 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
462 * lyxrc.C (setDefaults, read, output, getDescription): add support
463 for tex_allows_spaces.
465 * exporter.C (Export): allows files in directory containing spaces
466 if tex_allows_spaces is true.
468 * buffer.C (makeLaTeXFile): if the document path contains spaces,
469 output it in double quotes.
471 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
473 * rowpainter.C: use default text height for drawing change tracker
476 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
478 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
480 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
482 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
483 directory is missing.
485 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
487 * text2.C: fixed the fix, extended to other case.
489 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
491 * text2.C: fix for cursor up/down stuck in math [bug 1792]
493 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
495 * text2.C (cursorUp): get rid of a crash
496 * text.C (x2pos): add an assert
498 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
500 * lyxfunc.C (getStatus): fix warning when assertions are disabled
504 * dociterator.C: include <boost/current_function.hpp>, which is
505 needed when assertions are disabled.
507 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
509 * text2.C: fix for stuck cursor when traversing two
510 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
512 2005-02-25 Andreas Vox <avox@arcor.de>
514 * output_docbook.C (makeParagraph): suppress trailing newline
515 after a run of paragraphs
517 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
519 * paragraph.C: fix for confused change tracker when pasting
520 text that begins with a lineseparator. [bug 1827]
521 (setChange(0, Change::INSERTED);)
523 * paragraph_funcs.C: fix for lost changes on triple-paste
524 in change tracking mode [bug 1827] (par.setChange()).
526 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
528 * text2.C (updateCounters, setCounter, expandLabel): move to
531 * buffer_funcs.C (updateCounters): turn into a free standing
532 function and add a buffer parameter. Remove dead code for tracking
534 (setCounter): change into a free-standing function which gets a
535 dociterator as argument. Use this iterator to fix captions in a
536 simple way. When no float is found above the caption, use the
537 labelstring of the caption layout as default.
539 * text.C (breakParagraph, backspace):
540 * text2.C (init, setLayout, changeDepth):
541 * text3.C (dispatch):
542 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
545 * dociterator.C (forwardPar): make it much faster by calling
546 forwardPos() only when really necessary.
548 * output_docbook.C (makeCommand): adapt to expandLabel move.
550 * cursor.C: remove unused variable
552 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
554 * paragraph_funcs.C: fix crash when pasting insets in change
555 tracking mode [bug 1277] (honour change type in moveItem).
557 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
559 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
561 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
563 * BufferView.C (setCursor): change to use a DocIterator.
564 (gotoLabel): use BufferView::setCursor (other part of bug 781).
565 (putSelectionAt): adapt to BufferView::setCursor change.
567 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
568 moved here from LyXText and rewritten to use proper cursor
569 methods. Fixes bug 1787, 616 and 835.
571 * BufferView_pimpl.C (restorePosition): set the cursor correctly
572 when inside an inset (part of bug 781).
573 (dispatch): adapt to change of BufferView::setCursor.
574 (getStatus, dispatch): handle LFUN_GOTOERROR,
575 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
577 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
578 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
579 * text3.C (gotoNextInset, gotoInset): removed.
581 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
583 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
585 2005-02-15 Angus Leeming <leeming@lyx.org>
587 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
588 can be used meaningfully in a comparison.
590 2005-02-13 André Pönitz <poenitz@gmx.net>
592 * bufferview_funcs.C (coordOffset): improve cursor drawing
594 2005-02-13 André Pönitz <poenitz@gmx.net>
596 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
597 * Cursor.C (dispatch): use fixIfBroken
598 * lyxfunc.C (getStatus): use fixIfBroken
600 2005-02-15 Angus Leeming <leeming@lyx.org>
602 * lyx_main.C (error_handler):
604 * lyxrc.C (setDefaults):
606 #include "environment.h".
608 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
610 2005-02-15 Angus Leeming <leeming@lyx.org>
612 * lyxserver.C (startPipe): squash MSVC warning "local variable
613 'fd' used without having been initialized".
615 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
617 * BufferView_pimpl.C: revert accidental commit.
619 2005-02-14 André Pönitz <poenitz@gmx.net>
621 * dociterator.[Ch]: new member forwardPosNoDescent(),
622 which doesn't enter nested insets.
623 * text2.C (setFont): use forwardPosNoDescent() instead
624 of ForwardPos() (fixes crash on font change).
626 2005-02-13 Angus Leeming <leeming@lyx.org>
628 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
629 only if lyxrc.path_prefix is not empty.
631 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
633 * bufferparams.C (readGraphicsDriver): prevent crash
635 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
637 * text2.C (setCounter): check for inInset() == 0
639 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
642 but use update() to get correct screen display; use convert
643 instead of istringstream.
644 (getStatus): handle LFUN_GOTO_PARAGRAPH
646 * lyxfunc.C (dispatch, getStatus): do not handle
647 LFUN_GOTO_PARAGRAPH here.
649 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
651 * text3.C (dispatch): size() -> depth()
653 * text2.C: remove some debug output
655 * paragraph.C: ws changes only
657 * lyxfunc.C (getStatus): size() -> depth()
659 * dociterator.h (clear, push_back, pop_back, internalData,
660 operator[], resize, empty): new functions
661 Make StableDocIterator and operator== be friends. Don't inherit
662 from std::vector use a privat class variable slices_ instead.
665 * dociterator.C: update because of not inheriting from std::vector
666 anymore. Call explictly to slices_ instead. Use depth() instead of
667 size() and top() instead of back()
669 * cursor.C: chagne size() -> depth and back() -> top(). Also
670 remove some direct operator[](i) calls in favour of foo[i]
671 (getFont): remove some dead code
673 * bufferview_funcs.C (coordOffset): size() -> depth()
675 * buffer.C: ws changes only
677 * CutAndPaste.C (eraseSelection): back() -> top()
679 * BufferView_pimpl.C (selectionRequested): back() -> top()
681 * BufferView.C (setCursor): size() -> depth()
683 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
685 * text3.C (cursorPrevious): return true if depm changed something
687 (dispatch): rename sl to oldTopSlice, remove moving use the new
688 NoUpdate func attrib instead. Make sure that needsUpdate is set
689 for function that have NoUpdate, but where depm might have changed
692 * text2.C (cursorLeft): make us return true if depm changed
695 (cursorUpParagraph): ditto
696 (curosrDownParagraph): ditto
697 (cursorUp, cursorDown): ditto, make sure to read comments in code
698 (deleteEmptyParagraphMechanism): remove an assert, also return
699 true if just a single char was deleted.
701 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
702 cursor that we modify, to avoid modifying an active cursor before
703 we call setCursor. This allows depm to run. Also return true if
704 depm deleted something.
706 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
707 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
708 cursorDownParagraph, cursorPrevious and cursorNext, return true if
709 something was changed in the buffer because of them (ie. depm run)
711 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
712 debug messages. Make update by default be false. Make sure that
713 the result of update is retained throught several calls down to
716 * LyXAction.h: add a new func_attrib: NoUpdate
718 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
719 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
720 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
722 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
724 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
726 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
727 bv_->owner(), bv_->buffer() by direct references to the private
729 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
730 (getStatus): isSavedPosition() is in BufferView::Pimpl.
731 (fitCursor): center() is in BufferView::Pimpl.
732 (getStatus, trackChanges, dispatch): no need for a temporary buf
734 (fitCursor, workAreaDispatch): use workarea().workheight()
736 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
738 * CutAndPaste.C (pasteSelectionHelper): fix a crash
740 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
742 * buffer.C: format up to 241.
743 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
744 break if pasting into ERT
745 * lyxfunc.C (getStatus): suppress mathpanel and
746 LFUN_DIALOG_SHOW_NEW_INSET in ERT
748 2005-02-01 Angus Leeming <leeming@lyx.org>
750 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
752 2005-02-01 Angus Leeming <leeming@lyx.org>
754 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
755 calling fs::is_directory().
757 2005-01-31 Angus Leeming <leeming@lyx.org>
759 * lyx_main.C (priv_exec): specify explicitly the relative location
760 of the top level build directory when run in-place.
762 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
764 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
765 LyXText containing the cursor, not the top-level one.
767 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
769 (insertStringAsLines): rename par to pit; use temporary variable
770 par to hold a Paragraph; do not store par.layout() in a variable,
771 since the pointer may die when breaking paragraphs; pass pars to
772 breakParagraph() instead of Buffer::paragraphs().
774 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
776 * lyxlex_pimpl.h: #include <fstream>.
778 * BufferView.[Ch] (getLyXText): add a const version.
780 * BufferView_pimpl.C: add debug aids.
785 * paragraph_funcs.h: add commentary explaining what the class does.
788 * coordcache.[Ch]: add lots of commentary.
789 (startUpdating, doneUpdating): debug aids.
790 (arrays, insets, parPos, getParPos): accessors to private data.
792 * cursor_slice.[Ch] (text): add a const version.
793 * dociterator.[Ch] (text, innerText): add const versions.
795 * lyxtext.h (breakParagraph): change the keep_layout arg to a
798 * paragraph.C (getRow, pos2ros): add asserts.
800 * paragraph.h: add commentary. Lots of.
802 * paragraph.[Ch] (metrucs, draw): removed.
805 * rowpainter.[Ch]: const-correct changes.
807 * text.C: various obvious clean-ups. Removal of ancient cruft.
810 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
812 * vc-backend.C (find_file): rewrite to use boost.filesystem
815 * main.C (main): set default name check for boost.filesystem to
818 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
821 (actOnUpdatedPrefs): ditto
823 * lyx_main.C (init): rewrite to use boost.filesystem
824 (queryUserLyXDir): ditto
826 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
827 (getContentsOfAsciiFile): ditto
829 * lastfiles.C (readFile): rewrite to use boost.filesystem
831 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
833 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
836 * buffer.C (Buffer): adjust for destroydir
837 (getLogName): rewrite to use boost.filesystem
839 (save): use fs::copy_file (from fs_extras)
841 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
843 * LaTeX.C (run): rewrite to use boost.filesystem
844 (scanAuxFiles): ditto
845 (handleFoundFile): ditto
847 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
849 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
851 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
853 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
855 * lyxlayout.[Ch]: change some vars from float to double
857 * buffer.C (readFile): make a local var const
859 * Several files: use convert<> instead of atoi,strToXXX and friends
861 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
863 * LaTeXFeatures.[Ch]: Add a static list packages_ that
864 holds the contents of packages.lst. New functions getAvailable
865 and isAvailable to parse and check that list, resp.
869 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
871 * bufferparams.[Ch]: new param output_changes.
873 * Buffer.C: increase file format to 240.
874 Use output_changes and isVailable.
878 * paragraph_pimpl.C: Use output_changes and isVailable.
880 2005-01-23 Angus Leeming <leeming@lyx.org>
882 * output_latex.C: #include "insetbibitem.h", rather than
883 forward declare function bibitemWidest.
885 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
887 * lyx_main.C (init): make it compile on the Mac.
889 2005-01-20 Angus Leeming <leeming@lyx.org>
891 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
892 (setLyXMisc): (char string literal) != (char string literal) is
893 performing a comparison on the addresses. Convert one operand
894 explicitly to string to guarantee expected behaviour.
897 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
900 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
902 * output_plaintext.C: remove unneeded #include gzstream.h.
904 2005-01-20 Angus Leeming <leeming@lyx.org>
906 * SpellBase.h: rename some of the elements of the Result enum.
913 * pspell.C (check): ditto
915 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
917 * buffer.C: add #include <fstream>.
919 * lyx_main.C (init): Compile fix.
921 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
923 2005-01-20 Angus Leeming <leeming@lyx.org>
925 * mover.h: change commentary to reflect the changed meaning of
928 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
930 * output_linuxdoc.C (linuxdocParagraphs): silence warning
932 * lyxfind.C (MatchString::operator()): remove bogus semicolon
934 2005-01-20 Angus Leeming <leeming@lyx.org>
936 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
937 printing diagnostic data by not dereferecing an iterator past the
940 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
942 * buffer.C (readHeader): use "&&" rather than "and".
944 * lyxserver.h (inPipeName, outPipeName): make these const.
946 2005-01-19 Angus Leeming <leeming@lyx.org>
948 * lyx_main.C (error_handler, init): protect SIGHUP with
949 #ifdef SIGHUP guards.
951 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
953 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
955 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
957 * text.C (setHeightOfRow): add a margin at the top and bottom of
958 the document (bug 1761)
960 2005-01-17 Angus Leeming <leeming@lyx.org>
962 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
963 with "python ". Workaround for a brain-dead Windows.
965 2005-01-16 Angus Leeming <leeming@lyx.org>
967 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
968 for MacOSX and Windows to use prependEnvPath.
969 Strip out the hard-coded block to add elements to the PATH for
970 MacOSX and replace it with a call to prependEnvPath using the
971 contents of LyXRC::path_prefix.
972 (queryUserLyXDir): strip out the code to run reconfigure, instead
973 returning a boolean indicating the necessity to do so.
974 (reconfigureUserLyXDir): contains the code to reconfigure the
975 user support directory. Is now called after the various LyXRC data
976 files have been read.
978 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
980 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
982 * converter.[Ch] (convert): take a new parameter try_default. Use
983 a default converter (imagemagick) if try_default is true.
985 2005-01-13 Angus Leeming <leeming@lyx.org>
987 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
989 (write): output LyXRC::cygwin_path_fix as necessary.
991 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
994 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
996 2005-01-12 Angus Leeming <leeming@lyx.org>
998 * lyx_main.C (init): set the PATH variable to include the
999 directory containing the LyX binary when running on Mac or Windows.
1001 2005-01-12 Angus Leeming <leeming@lyx.org>
1003 * lyx_main.C (init): remove cruft that purports to set the locale
1004 dir. It doesn't and is not needed anyway.
1006 2005-01-10 Angus Leeming <leeming@lyx.org>
1008 * Makefile.am: remove the lyx_main.C special casing.
1010 * BufferView_pimpl.C:
1016 * messages.C: use support/package.h to provide the paths to the
1017 various directories used by LyX.
1019 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1021 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1022 layout if pasting into an empty paragraph)
1024 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1026 * tex-accent.C: add <string>
1028 2005-01-06 José Matos <jamatos@lyx.org>
1030 * ParagraphParameters.C (write): put every parameter in its own line.
1031 * paragraph.C (write): reduce number of consecutive empty lines exported.
1032 * buffer.C (LYX_FORMAT): increase file format to 239.
1034 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1036 * everywhere: change support/tostr.h -> support/convert.h
1038 * tabular.C: make all write_attributes templates, tostr -> convert
1040 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1041 (emptyTag): and -> &&, and fix type for ret from getChar
1042 (getFirstWord): fix type for ret from getChar
1043 (onlyText): and -> &&
1044 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1047 * toc.C (goTo, action):
1048 * text3.C (dispatch):
1049 * text.C (currentState):
1050 * tex-accent.C (DoAccent):
1053 * lyxfunc.C (menuNew):
1054 * lyxfinc.C (replace):
1055 * counters.C (laberItem):
1056 * bufferview_funcs.C (font2string):
1057 * bufferparams.C (writeFile):
1058 * buffer.C (readFile):
1060 * MenuBackend.C: tostr -> convert
1062 * LaTeX.C (runMessage): fix format
1063 (scanAuxFiles): tostr -> convert
1065 * BufferView_pimpl.C (savePosition): fix format
1066 (restorePosition): ditto
1069 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1071 * Spacing.[Ch]: New method getValueAsString().
1075 * ParagraphParameters.C:
1078 * text3.C: store/read spacing value as string.
1080 * rowpainter.C: change float value (spacing_val) to double.
1082 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1083 broken custom document spacing).
1085 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1087 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1088 namespace, also more use of temp references and const
1090 * cursor.[Ch] (getStatus): move to lyxfunc.C
1092 * bufferparams.C: reformat slightly
1094 * bufferview_funcs.C (font2string): constify arg
1100 * buffer_funcs.C: (many funcs): constify arg on function
1101 definitions, also make more local vars const, also add ASSERTS on
1104 * buffer.C (LYX_FORMAT): put const in correct place
1105 (many funcs): constify arg on function definitions, also make
1106 more local vars const
1108 * aspell_local.h: remove "struct" from typdef setup
1110 * aspell.C (check): make word_ok const
1111 (nextMiss): simplify slightly
1114 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1116 * lyxrc.[Ch]: store all float values as strings.
1117 use int (not float) for lyxrc.dpi.
1119 2005-01-04 Angus Leeming <leeming@lyx.org>
1121 * lyx_cb.C (Reconfigure):
1122 * lyx_main.C (queryUserLyXDir):
1123 to run the <system_lyxdir>/configure correctly on Windows, prefix
1124 the path to the script with "sh " when generating the string that
1125 is passed to system().
1127 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1129 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1131 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1133 * lyxlength.C (asLatexString): get rid of setprecision
1135 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1137 * text2.C (setLayout): remove unused variable endpit.
1138 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1140 * paragraph.C (onlyText): remove unused variable style.
1142 * cursor.C (bruteFind): remove unused variables beg and end.
1144 * Makefile.am (dist_noinset_DATA): not needed anymore
1146 * cheaders/*: remove.
1148 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1150 * text3.C: fix LFUN_MATH_MODE.
1152 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1154 * buffer_funcs.C (countWords): new function. Counts words between
1157 * BufferView_pimpl.C (getStatus, dispatch): handle
1160 * LyXAction.C (init):
1161 * lfuns.h: add LFUN_WORDS_COUNT.
1163 2004-12-19 Angus Leeming <leeming@lyx.org>
1165 * buffer.C (save): s/slashify_path/internal_path/.
1167 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1169 * lyxfind.C (findChange): do not search for end of pars, because
1170 the change tracker cannot handle this (fixes bug 1719).
1172 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1174 * paragraph.[Ch] (autoBreakRows): remove
1176 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1178 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1179 avoid using the paragraph one
1181 * text2.C (LyXText, insertStringAsLines): adjust
1183 2004-12-16 Angus Leeming <leeming@lyx.org>
1187 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1189 2004-12-14 Angus Leeming <leeming@lyx.org>
1191 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1193 * bufferlist.C (emergencyWrite):
1194 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1197 2004-12-14 Angus Leeming <leeming@lyx.org>
1199 * main.C: (main): no longer pass pointers to os::init.
1201 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1203 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1204 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1206 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1209 * text3.C: remove selection_possible global flag
1211 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1213 * text2.C (getSelectionSpan): remove
1214 (changeDepth, changeDepthAllowed): adjust
1216 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1218 * Makefile.am (BOOST_LIBS): use boost variables
1220 2004-12-03 José Matos <jamatos@lyx.org>
1222 * buffer.C: format up to 238.
1224 2004-12-03 José Matos <jamatos@lyx.org>
1226 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1228 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1230 * cursor.C (goUpDown): remove call to idxUpDown2
1232 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1234 * tabular.[Ch]: use size_t-like types for cell, row and column
1237 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1239 * lyxfunc.C (getStatus): do not lose previous information when
1240 calling BufferView::getStatus; do not set a default "Command
1241 disabled" message at the beginning, but just before returning.
1243 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1245 * cursor.h (getStatus): add better comment from src/cursor.C
1247 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1249 * text3.C (getStatus): return false when the lfun is not handled
1251 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1253 * broken_headers.h: remove
1255 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1257 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1259 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1260 offset_ref accessors
1262 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1263 top_y_, merge fitcursor with update
1264 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1266 (metrics): introduce
1267 (workAreaDispatch): adapt to new coord scheme
1268 (redoCurrentBuffer): remove
1270 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1272 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1275 * coordcache.[Ch]: add paragraph cache and helpers
1277 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1280 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1281 (targetX, setTargetX): introduce
1283 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1284 baseline -> ascent, as the rest of lyx
1286 * lyxtext.h: remove redoParagraphs, updateParPositions,
1287 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1288 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1289 have ascent/descent (ascent is ascent of first par)
1291 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1294 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1296 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1298 * pariterator.C: fix infinite loop introduced in par->pit renaming
1300 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1301 in insets and LyXText, draw two off-screen paragraphs using
1302 NullPainter, and adapt to new coord scheme
1306 * text3.C: adapt lfun handlers to the new coord scheme, which
1307 means: there's only guaranteed coord information for onscreen pars
1308 plus one above and one below. This implies that one can do search
1309 from y coordinates in the range [-1,workHeight]
1311 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1313 * rename a lot of InsetOld to InsetBase
1315 2004-11-25 Angus Leeming <leeming@lyx.org>
1317 * BufferView_pimpl.C:
1319 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1321 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1323 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1324 call BufferView::getStatus if LCursor::getStatus did nothing
1325 (setStatusMessage, getStatusMessage): removed.
1327 * FuncStatus.C (message): new methods. Used to provide an error
1328 message indicating why a command is disabled.
1329 (clear, |=, FuncStatus): update for message.
1331 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1333 * lyxfunc.C (dispatch): always call sendDispatchMessage
1335 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1338 * BufferView_pimpl.C:
1343 * cursor_slice.[Ch]:
1346 * paragraph_funcs.C:
1352 * undo.C: par->pit renaming
1354 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1356 * tabular.C (cellstruct): use initialization, store a shared_ptr
1357 to insettext instead of the insettext directly, adjust to fit.
1358 (operator=): new function
1359 (swap): new function
1360 (rowstruct): use initialization
1361 (columnstruct): use initialization
1362 (ltType): use initialization
1365 * lyxlength.h (swap): new function
1367 * LColor.[Ch] (operator=): use the common semantics
1369 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1371 * lyxfind.C (findNextChange): update the bufferview after setting
1374 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1376 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1377 number of InsetOptArgs has already been inserted.
1379 * output_latex.C (latexOptArgInsets): new method. This outputs all
1380 the optarg insets, up to the limit defined in the layout file.
1381 (optArgInset): removed
1382 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1384 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1386 * paragraph.C (isLetter): remove special spellchecker-related
1387 code; return true also for digits
1388 (isWord, isKomma): remove
1390 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1391 * lyxfind.C (MatchString()): use isLetter instead of isWord
1393 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1395 * pariterator.h (operatir=): comment out un-implemented member
1398 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1401 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1403 * lyxfont.h: include LColor.h to satisfy concept checks.
1405 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1407 * pariterator.h: add typdefs for value_type, difference_type,
1408 pointer and reference to satisfy concept checks. Also add default
1409 constructor for same reason.
1411 * pariterator.C (operator++): add post-increment operator to
1412 satisfy concept checks.
1414 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1417 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1419 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1420 checks. Also rename base_type to BaseType to follow naming
1423 * FloatList.h: include Floating.h to satisfy concept checks.
1425 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1427 * lyxfunc.C (getStatus): when the origin of the request is menu or
1428 toolbar, and the LyXView does not have focus, do as if there was
1429 no buffer (bug 1720)
1431 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1432 FuncRequest to individual entries of LFUN_SEQUENCE
1434 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1436 * output_latex.C (TeXOnePar): override runparams.moving_arg
1437 according to the needprotect value of the current paragraph (bug
1440 * paragraph.C (simpleTeXOnePar): no need to override
1441 runparams.moving_args here
1443 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1445 * vspace.C: fix off-by-one-error, related to fix #1682
1447 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1449 * lengthcommon.C: a more general fix for bug 1682
1451 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1453 * text.C (backspace): fix crash
1455 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1457 * format.[Ch] (getFormatFromFile): new method
1458 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1460 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1462 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1464 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1466 * lyxfunc.C (dispatch): remove the verbose argument
1467 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1470 * kbmap.C (defkey): set the origin of func to KEYBOARD
1472 * MenuBackend.C (MenuItem):
1473 * ToolbarBackend.C (add): set the origin of func to UI
1475 * funcrequest.[Ch]: add origin member, which indicates which part
1476 of LyX requests an action
1478 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1480 * converter.C (move): don't lie in the error message
1481 * converter.h (isReachable, move): document
1483 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1485 * buffer.C: remove unused using lyx::support::atoi
1486 * paragraph_funcs.C: ditto
1488 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1490 * bufferlist.C (exists): use bind and equal_to instead of
1493 * lyxtextclasslist.C (NumberOfClass): ditto
1495 * cursor.C (insert): use for_each instead of explicit for loop
1497 * bufferlist.C (getFileNames): use std::transform and
1498 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1500 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1503 * buffer.C (changeLanguage): use for_each instead of explicit for
1505 (hasParWithID): implement using getParFromID
1507 * LaTeXFeatures.C: ws change only
1509 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1512 * BufferView_pimpl.C (trackChanges): use for_each instead of
1515 2004-11-04 André Pönitz <poenitz@gmx.net>
1518 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1520 * dociterator.C (asDocIterator): use hard assert again.
1522 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1524 * lyxlength.C (asLatexString): rewrite so that it does not use
1527 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1529 * text3.C (specialChar, dispatch): make sure cursor moves to the
1530 right after inserting an inset
1532 2004-11-02 José Matos <jamatos@lyx.org>
1534 * output_docbook.C (docbook):
1535 * paragraph.C (getID):
1536 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1537 garantee that the output is always legal.
1539 * tabular.C (docbook):
1540 * outputprams.[Ch]: remove mixed contents.
1542 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1544 * text2.C (setCounter): prevent endless loop
1546 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1548 * exporter.C (copyFile): use the mover instead of support::copy()
1549 * exporter.C (Export): pass format and latex name to copyFile()
1550 * exporter.h (addExternalFile): document
1551 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1553 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1555 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1557 2004-10-30 José Matos <jamatos@lyx.org>
1559 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1560 text and no inset or font change. This allows to use CDATA
1561 sections just for the whole paragraph.
1563 2004-10-30 José Matos <jamatos@lyx.org>
1565 * paragraph.C (getFirstWord): remove unused variable.
1567 2004-10-30 José Matos <jamatos@lyx.org>
1569 * paragraph.C (getFirstWord): the content should always be escaped
1571 (simpleDocBookOnePar):
1572 * output_docbook.C (makeEnvironment): replace reference to CDATA
1575 2004-10-30 José Matos <jamatos@lyx.org>
1577 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1579 2004-10-30 José Matos <jamatos@lyx.org>
1581 * output_docbook.C (makeParagraphs):
1582 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1583 standard paragraph has only a given type of content drop the wrapper.
1585 2004-10-29 José Matos <jamatos@lyx.org>
1587 * output_docbook.C (makeEnvironment):
1589 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1591 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1593 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1594 (cleanID): sanitize any id.
1596 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1598 * buffer.C, lyxlex_pimpl.C:
1599 * lyxlex_pimpl.C (setFile):
1600 s/getExtFromContents/getFormatFromContents/
1602 2004-10-28 José Matos <jamatos@lyx.org>
1604 * output_docbook.C (makeEnvironment): move id to broadest possible
1607 * sgml.C (openTag): apply substitution of <> for all attributes.
1609 2004-10-28 José Matos <jamatos@lyx.org>
1611 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1612 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1613 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1615 * sgml.[Ch]: new version for open and closeTag for paragraph and
1616 for strings. Now they handle the ids of paragraphs.
1618 2004-10-26 Angus Leeming <leeming@lyx.org>
1620 * Makefile.am: add mover.[Ch].
1622 * converter.C (convert, move): use the new Movers to move external
1623 files to the temp directory.
1625 * lyx_main.C (init): ensure that the global system_movers data
1628 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1631 * mover.[Ch]: new files, defining a Mover as a utility to move an
1632 external file between directories and, if necessary, manipulate this
1633 file using a helper script.
1635 2004-10-25 José Matos <jamatos@lyx.org>
1637 * output_docbook.C (makeCommand): merge two if's that tested the
1640 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1642 * sgml.C (escapeString): fix warning in a better way
1644 2004-10-25 José Matos <jamatos@lyx.org>
1646 * sgml.C (escapeString): import the require boosts header file for
1647 tie, and avoid a signed unsigned comparison.
1649 2004-10-25 José Matos <jamatos@lyx.org>
1651 * sgml.h: add #include <string>
1653 2004-10-25 José Matos <jamatos@lyx.org>
1655 * sgml.[Ch] (escapeString): new function to escape all the string.
1657 2004-10-24 José Matos <jamatos@lyx.org>
1659 * paragraph.[Ch] (getFirstWord): new function to get the first
1660 word. Useful for description.
1661 (simpleDocBookOnePar): remove depth argument, add another that
1662 says where to start the paragraph.
1664 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1665 use the new functions to fix cleanly the support for descriptions.
1667 2004-10-24 José Matos <jamatos@lyx.org>
1669 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1670 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1671 * output_linuxdoc.C (linuxdocParagraphs):
1672 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1673 add buffer as argument.
1675 2004-10-24 José Matos <jamatos@lyx.org>
1677 * output_docbook.C (makeEnvironment, searchEnvironment): place
1678 CDATA inside paragraphs and fix scope for listitems.
1680 2004-10-24 José Matos <jamatos@lyx.org>
1682 * output_docbook.C: remove using statement for stack.
1684 2004-10-23 José Matos <jamatos@lyx.org>
1686 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1687 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1688 docbook. The new scheme is recursive and makes use of iterators, the
1689 same as latex export works.
1690 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1691 directly with the paragraph contents. This code was moved up to
1692 output_docbook.C (docbookParagraphs).
1693 * sgml.C (openTag, closeTag): removed unneeded newlines.
1694 (closeEnvTags) removed.
1696 2004-10-23 André Pönitz <poenitz@gmx.net>
1698 * undo.C (textUndoOrRedo):
1699 * dociterator.C (asDocIterator): work around crash
1701 * cursor.C (getStatus): replace ASSERT by more verbose error message
1702 and manual correction of the problem. Should increase stability
1703 while providing more sensible information.
1705 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1707 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1709 * bufferlist.C (previous, next): new methods
1712 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1714 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1716 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1717 entities to preamble.
1719 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1721 * messages.C (Pimpl): strip off translation context information
1723 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1725 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1726 the cursor is correct (bug 1694)
1728 2004-10-13 José Matos <jamatos@lyx.org>
1730 * output_docbook.C (docbookParagraphs): fix closing tags in the
1731 end of the document.
1733 2004-10-09 José Matos <jamatos@lyx.org>
1735 * buffer.C: format up to 237.
1736 * bufferparams.C (write): use tostr to convert booleans to strings.
1738 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1740 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1742 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1744 * LaTeX.C: implement use of babel language in xindy.
1746 2004-10-05 José Matos <jamatos@lyx.org>
1748 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1749 Add new translators to help reading and writing the lyx file.
1751 2004-10-05 José Matos <jamatos@lyx.org>
1753 * ParagraphParameters.C (read):
1754 * text.C (readParToken): replace nexToken by more appropriate lex
1757 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1759 * LaTeX.C (runMakeIndex):
1760 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1761 (usually 'makeindex') configurable.
1763 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1764 with a variable rather than with a number.
1766 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1768 * output_latex.C (TeXOnePar): make sure font setting is the first
1769 thing that gets output (and the last at the end). Should fix bug
1772 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1774 * pch.h: use proper signal include
1776 * LaTeX.h: Use preferred calling of Boost.Signal
1779 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1781 * pch.h: dont include <boost/function/function0.hpp>
1783 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1785 * paragraph_pimpl.h: remove usage of ShareContainer
1787 * paragraph_pimpl.C: remove initialization of ShareContainer.
1789 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1793 * BufferView.C (putSelectionAt): change the semantics when
1794 backwards == true: now, this just swaps cursor and anchor wrt the
1797 * BufferView.h (putSelectionAt): add some documentation
1799 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1800 make sure backwardChar is done at least once (to avoid getting
1802 (findNextChange): use putSelectionAt in the forward direction
1803 (operator()): use Paragraph::isWord
1805 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1807 * Spacing.C (set): c_str fix
1809 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1811 * lyx_cb.C (Reconfigure): quote the name of configure script in
1812 case it contains spaces
1814 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1818 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1819 (BOOST_LIBS): use top_buildir when looking for the file
1821 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1823 * pch.h: do not use include boost/format.hpp, multiple symbols
1824 will result (gcc bug)
1827 2004-08-23 José Matos <jamatos@lyx.org>
1829 * bufferparams.C (readToken): fix reading of the author field.
1831 2004-08-20 José Matos <jamatos@lyx.org>
1833 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1835 2004-08-20 José Matos <jamatos@lyx.org>
1837 * lyxlex.[Ch] (findToken): remove function.
1839 * ParagraphParameters.C (findToken):
1840 * bufferparams.C (findToken): replace call for previous function
1841 with local copy. This local function has one more argument, the
1842 read string argument.
1844 2004-08-16 José Matos <jamatos@lyx.org>
1846 * ParagraphParameters.C (write):
1847 * Spacing.C (writeFile):
1848 * bufferparams.C (writeLaTeX):
1849 * lyx_cb.C (Reconfigure):
1850 * paragraph.C (write):
1851 * tabular.C (write): remove unnecessary space at end of line.
1854 2004-08-16 José Matos <jamatos@lyx.org>
1856 * text.C (readParagraph): remove debug message.
1858 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1860 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1863 * output_plaintext.C (asciiParagraph): set depth correctly
1865 * outputparams.h: add member depth
1867 * paragraph_funcs.C (ownerPar): remove.
1869 * text2.C (setCounter): remove first_pit; comment out some
1870 non-working code that uses ownerPar
1872 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1875 2004-08-16 José Matos <jamatos@lyx.org>
1877 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1878 For the same level of importance use the same chanel to report problems.
1879 (read): add code to deal with \begin_body and \end_body.
1882 2004-08-15 José Matos <jamatos@lyx.org>
1884 * lyxlex.C (getString): fix comment, buffer::readBody is now
1885 buffer:readDocument.
1887 * tex-strings.C (string_papersize): Default -> default,
1888 Custom -> custom, for consistency with other options.
1890 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1894 * Makefile.am: support pch
1896 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1898 * text.C (readParToken): remove the static LyXFont variable and
1899 pass it as a parameter instead. This fixes a nasty bug where an
1900 inset will be inserted with a bad font in some situations
1901 (readParagraph): adapt
1903 * text2.C (setCounter): reduce number of calls to pars_[pit]
1905 * text.C (singleWidth): add an assert, fix a test
1907 * rowpainter.C (paintText): reduce number of calls to singleWidth
1909 * paragraph.C (isHfill):
1910 (isNewline): ws only
1912 2004-08-14 André Pönitz <poenitz@gmx.net>
1917 * lyxtext.h (several functions): use a Paragraph & argument
1920 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1922 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1924 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1926 * text.C (singleWidth): remove useless test
1928 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1930 * tabular.h: remove bogus comments
1932 * tabular.C (getDescentOfRow):
1933 (isPartOfMultiColumn): add assertions
1935 * lyxlength.C (inPixels): remove #warning
1937 2004-08-14 André Pönitz <poenitz@gmx.net>
1939 * paragraph.h: inline getChar()
1941 * BufferView.h: remove unused declarations
1943 2004-08-14 José Matos <jamatos@lyx.org>
1945 * Buffer.[Ch] (readDocument): new name for old readBody.
1946 * Buffer.C: new file format, new keywords: \begin_document,
1947 \begin_header, \begin_body, \end_body.
1949 * bufferparams.C (readToken): replace all calls to lex.nextToken
1950 by lex.next(). Do the same to eatLine except where really needed.
1952 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1953 line when writing to the lyx file.
1955 * output_plaintext.C (asciiParagraph): fix Bibliography style
1958 * text.C (read): fix end of file handling.
1960 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1962 * MenuBackend.C (Menu::operator[]): new method to access
1963 individual menu items
1964 (Menu::hasFunc): new method. search for an item that corresponds
1966 (MenuBackend::specialMenu): new method
1967 (MenuBackend::expand): if a special menu has been set, skip
1968 entries whose func() appears in this menu
1970 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1972 * text3.C: use Debug::DEBUG a bit more
1974 * text.C (leftMargin): try to simplify a tiny bit change var x to
1975 l_margin. Dont output the wide margins always.
1976 (rightMargin): no margin in inner texts
1978 * rowpainter.h (nestMargin): new func
1979 (changebarMargin): new func
1980 (rightMargin): new func
1982 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1986 * factory.C (createInset): modify setDrawFrame
1988 * cursor.C: use Debug::DEBUG a bit more
1990 2004-08-14 André Pönitz <poenitz@gmx.net>
1993 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1994 cache for all insets in (at least partially) visible (top-level)
1997 * BufferView_pimpl.C: reset external coord cache before every update.
1998 This means the coord cache only contains valid entries.
2000 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2003 * BufferView_pimpl.C (getInsetByCode): move function out of class
2004 and change in to a template in anon namespace. Also fix to do what
2007 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2010 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2012 (breakParagraph): rename par to par_offset and use a local
2013 reference. Add code to keep the language over a rebreak.
2014 (breakParagraphConservative): rename par to par_offset, use a
2016 (mergeParagraph): ditto
2018 (isFirstInSequence): ditto
2019 (outerFont): rename pit to par_offset
2021 * paragraph.C: ws change
2022 * paragraph.h: ditto
2026 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2028 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2031 * paragraph.C (simpleTeXOnePar): when we have a \item with
2032 optional argument, enclose the argument with curly brackets (in
2033 case it contains a closing square bracket)
2037 * text3.C (checkInsetHit): constify
2039 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2041 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2042 documents (bug 1629)
2044 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2046 Fix toggling of collapsable insets with the mouse (bug 1558)
2048 * lyxfunc.C (dispatch): adapt to LCursor changes
2050 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2051 make sure that dispatch is not invoked twice
2053 * cursor.C (needsUpdate): new method
2054 (dispatch): return void
2055 (result): new method, to access the DispatchResult of the cursor.
2057 2004-08-13 José Matos <jamatos@lyx.org>
2059 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2061 2004-08-13 André Pönitz <poenitz@gmx.net>
2063 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2065 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2068 2004-08-12 André Pönitz <poenitz@gmx.net>
2070 * text3.C: take out the 'cursor right' form insertInset and only
2071 do it in those places when it is really needed. Fixes crash on
2074 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2076 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2078 * BufferView_pimpl.C (setBuffer): initialize the current font of
2079 the underlying LyXText
2081 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2083 * kbsequence.C (print): use UI native formatting for menu
2086 * text.C (insertChar): call Paragraph::insertChar with a font
2089 * paragraph.C (insertInset, insertChar): the version that takes a
2090 LyXFont argument is now a wrapper around the other one (the
2091 opposite used to be true).
2093 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2094 argument. Font setting is done in Paragraph now.
2096 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2098 * outputparams.h: add new members intitle and lang.
2100 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2101 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2103 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2105 * text3.C (dispatch): remove special handling of button 4 and 5,
2106 it is now taken care of in the frontend code.
2108 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2110 * Spacing.h: add <string> (STLPort compile fix)
2112 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2114 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2116 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2118 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2121 * converter.C (showMessage): inherit from unary_function, make
2124 * buffer.C (writeFile): initialize retval
2126 * InsetList.h: rename private variable list to list_
2127 * InsetList.[Ch]: adjust accordingly.
2129 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2131 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2132 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2133 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2134 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2135 * ParagraphParameters.C, LaTeXFeatures.C: replace
2136 "support/std_sstream.h" with <sstream>
2138 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2140 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2141 * lyxsocket.C (LyXServerSocket): ditto
2142 (serverCallback): ditto
2144 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2146 * LaTeXFeatures.C: check release date when loading jurabib.
2148 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2150 * lyxserver.C (startPipe): call register_socket_callback
2151 (endPipe): call unregister_socket_callback
2153 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2155 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2156 (LyXServerSocket): register the callback
2157 (LyXServerSocket): unregister the callback
2158 (fd): delete function
2159 (serverCallback): improve error checking and setup the callbacks.
2160 (dataCallback): change arg to fd.
2161 (writeln): new func (copied fro the client socket) used for server
2163 (LyXDataSocket): simplify
2164 (~LyXDataSocket): close ann unregiser callback
2165 (server): delete function
2166 (fd): delete function
2167 (readln): small changes, improve some std::string usage
2168 (writeln): constify a bit
2170 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2172 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2175 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2177 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2178 after it has been populated
2180 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2182 * text2.C (insertInset): move cursor when inserting inset.
2184 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2186 * kbmap.C (findbindings): a couple of new methods. returns a
2187 container of kb_sequence objects. The real work is done by the
2188 private recursive version
2189 (printbindings): uses findbindings to print out a bracketed list
2190 of bindings (renamed from findbinding).
2192 * MenuBackend.C (binding): use kb_keymap::findbindings
2194 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2196 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2198 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2200 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2202 * paragraph.C (isWord): return true on insets that report
2205 * text.C (getWord): use Paragraph::isWord to decide what is in a
2206 word and what is not; fix bug 1609.
2208 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2210 * tex-strings.C: add "none" to string_paperpackages[], fixes
2211 off-by-one-error in the paperpackage selection.
2214 * tex-strings.[Ch]: char const * string[n]
2215 -> char const * const string[]
2217 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2219 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2220 command, return early.
2222 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2224 * debug.h: add DEBUG to enum and fix size of ANY.
2226 * debug.C: add support for Debug::DEBUG
2227 (showTags): cast errorTags.level to unsigned int
2229 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2230 (redoCurrentBuffer): ditto
2231 (updateScrollbar): ditto
2232 * cursor.C (dispatch): ditto
2233 * text2.C (setLayout): ditto
2235 (updateCounters): ditto
2237 (deleteEmptyParagraphMechanism): ditto
2239 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2241 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2242 annotations to cleanup the Makefile slightly.
2244 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2246 * lyxrc.C: do not set user_email to a default value but use empty
2247 instead. The entry used to be translated, which does not work
2248 since at the point where lyxrc is constructed there is no
2249 translation service available
2251 * messages.C (getLocaleDir): remove and use directly
2252 lyx_localedir() instead
2254 2004-06-02 Angus Leeming <leeming@lyx.org>
2256 Fix crash caused by dereferencing null pointer 'exportdata' in
2257 OutputParams by creating a new ExportData variable on the heap,
2258 storing it in a boost::shared_ptr.
2259 The crash was triggered when generating an Instant Preview
2260 of an external inset.
2262 * Makefile.am: add outputparams.C
2264 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2265 (c-tor): allocate memory to it.
2267 * exporter.C (c-tor): associated changes.
2269 2004-06-01 Angus Leeming <leeming@lyx.org>
2271 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2272 contains data before calling isInset(0). (Bug 1513.)
2274 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2276 * exporter.C (checkOverwrite): new method
2277 * exporter.C (copyFile): new method
2278 * exporter.C (Export): copy referenced files to the document dir
2279 * exporter.[Ch]: new class ExportedFile
2280 * exporter.[Ch]: new class ExportData. Contains currently the
2281 names of referenced external files
2282 * outputparams.h: add exportdata member.
2284 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2286 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2289 2004-05-19 Angus Leeming <leeming@lyx.org>
2294 * lyxfunc.C: small changes due to the introduction of namespace
2295 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2297 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2299 * text3.C (dispatch): supress update when only moving the cursor
2300 * cursor.C (selHandle): remove commented code
2302 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2304 * paragraph.C (startTeXParParams): correct column count
2305 * CutAndPaste.C (pasteSelection): remove const_cast
2306 * output_docbook.C (docbookParagraphs): remove const_cast
2307 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2308 const_cast and return ParagraphList::const_iterator
2309 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2310 * output_plaintext.C (writeFileAscii): remove const_cast
2311 * paragraph.[Ch] (simpleTeXOnePar): make const
2312 * paragraph_funcs.C (outerPar): use const iterators
2313 * paragraph_pimpl.C (validate): use const iterators
2314 * text.C (setHeightOfRow): use const iterators
2316 2004-05-17 Angus Leeming <leeming@lyx.org>
2319 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2321 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2322 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2323 if the citation engine has changed.
2325 2004-05-14 José Matos <jamatos@lyx.org>
2327 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2328 if the textclass does not provide it. Have it different for sgml and
2330 support the language of document.
2331 * output_docbook.C (docbookParagraphs):
2332 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2333 first anchor as the id of the paragraph, remove special case code.
2334 * sgml.C (escapeChar): escape only < & >.
2336 2004-05-14 Angus Leeming <leeming@lyx.org>
2338 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2339 dependencies on src/frontends/controllers/biblio.h. Define a
2340 CiteEngine_enum wrapper class to enable the enum to be forward
2343 2004-05-12 Angus Leeming <leeming@lyx.org>
2345 * buffer.C: up LYX_FORMAT to 234.
2346 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2347 use_numerical_citations with a single biblio::CiteEngine cite_engine
2349 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2351 2004-05-13 José Matos <jamatos@lyx.org>
2354 * converter.C (Converter, readFlags): add xml member.
2355 * outputparams.h: add XML flavor.
2356 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2358 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2360 * lyxfunc.C (dispatch):
2361 (getStatus): fix handling of LFUN_SEQUENCE
2363 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2365 * debug.C (showLevel): do not forget the end-of-line marker
2367 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2369 * kbmap.C (read): do not stop parsing a bind file when an error
2372 2004-04-29 Angus Leeming <leeming@lyx.org>
2377 * text2.C: wrap a bunch of #warning statements
2378 inside #ifdef WITH_WARNINGS blocks.
2380 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2382 * buffer.C: increment format to 233.
2384 2004-04-28 Angus Leeming <leeming@lyx.org>
2386 * BufferView_pimpl.C:
2389 s/updateToolbar()/updateToolbars()/
2390 s/Toolbar.h/Toolbars.h/
2392 2004-04-28 Angus Leeming <leeming@lyx.org>
2394 * BufferView.[Ch] (c-tor):
2395 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2396 No longer passes these data to the WorkArea generator.
2398 2004-04-28 Angus Leeming <leeming@lyx.org>
2400 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2402 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2404 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2406 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2408 * output_latex.C (TeXEnvironment): make sure that there is a line
2409 break before \end{foo} for the last paragraph of a document
2410 (TeXOnePar): if the paragraph is at the end of the document (or
2411 inset) and the language has to be reset, then make sure that the
2412 line break is _before_ the language command, not after (fixes bug
2413 1225); also make sure that the language reset command is the first
2414 thing after the paragraph (to ensure proper nesting of
2415 environments and thus fix bug 1404)
2417 2004-04-21 John Levon <levon@movementarian.org>
2420 * ToolbarBackend.C: make "name" be a programmatic name
2421 and a gui_name field.
2423 * lyxfunc.C: display the minibuffer on M-x
2425 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2427 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2430 2004-04-19 Angus Leeming <leeming@lyx.org>
2432 * BufferView_pimpl.C (setBuffer): changed preview interface.
2434 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2437 2004-04-19 John Levon <levon@movementarian.org>
2439 * BufferView_pimpl.C:
2440 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2442 2004-04-05 Angus Leeming <leeming@lyx.org>
2444 * text.C (redoParagraphs): add call to updateCounters(), thereby
2445 fixing the missing "Figure #:" label from the caption of a
2448 2004-04-13 Angus Leeming <leeming@lyx.org>
2450 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2451 cursor is clicked out of an inset.
2453 2004-04-13 Angus Leeming <leeming@lyx.org>
2455 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2456 than an InsetOld one.
2458 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2460 * format.[Ch]: add editor to Format
2461 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2462 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2464 2004-04-08 André Pönitz <poenitz@gmx.net>
2466 * metricsinfo.h: remove PainterInfo::width member
2468 2004-04-08 Angus Leeming <leeming@lyx.org>
2470 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2471 "\providecommand" rather than "\newcommand", thereby preventing
2472 clashes with packages that define "\boldsymbol" themselves.
2475 2004-04-08 Angus Leeming <leeming@lyx.org>
2477 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2478 thereby squashing an unnecessary warning.
2480 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2482 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2485 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2487 * BufferView.C (setCursor): call redoParagraph (some insets could
2489 (putSelectionAt): remove the 'double update' trick
2491 * BufferView_pimpl.C (fitCursor): call refreshPar
2492 (workAreaDispatch): remove an uneeded update call
2493 (dispatch): remove some manual update calls
2495 * cursor.[Ch]: remove cached_y_, updatePos
2496 (selHandle): set noUpdate when appropriate
2498 * lyxfunc.C (dispatch): track if we need an update
2500 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2502 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2503 (paintSelection): cheap optimization, do not call cursorX when not
2505 (paintPars): change signature
2508 (paintTextInset): adjust
2512 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2514 * lengthcommon.C: compilation fix: remove explicit array size from
2515 unit_name[] and friends
2517 2004-04-05 Angus Leeming <leeming@lyx.org>
2519 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2521 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2522 present only for the preferences dialog.
2523 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2525 2004-04-05 Angus Leeming <leeming@lyx.org>
2527 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2528 to enable the frontends to export changes to lyxrc correctly.
2530 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2532 2004-04-07 André Pönitz <poenitz@gmx.net>
2534 * cursor.[Ch] (selClear, adjust): remove math
2536 * cursor_slice.C: more agressive assert
2539 * BufferView_pimpl.C: rework mouse event dispatch
2546 2004-04-05 André Pönitz <poenitz@gmx.net>
2548 * cursor.[Ch] (valign, halign...): remove unneeded functions
2550 2004-04-05 Angus Leeming <leeming@lyx.org>
2552 * lyxlength.[Ch] (unit_name et al.): const-correct.
2554 2004-04-05 Angus Leeming <leeming@lyx.org>
2556 * BufferView_pimpl.C:
2565 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2567 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2569 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2571 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2573 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2574 * BufferView_pimpl.[Ch] (getStatus)
2575 * BufferView.[Ch] (getStatus): add
2576 * lyxfunc.C (getStatus): move lfuns handled in
2577 BufferView::dispatch to te function above
2578 * Cursor.C (setSelection): set selection() = true
2580 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2582 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2584 2004-03-31 Angus Leeming <leeming@lyx.org>
2586 * lyxfunc.C (dispatch): Fall through to the generic
2587 Dialogs::show("preamble").
2589 2004-03-31 Angus Leeming <leeming@lyx.org>
2591 * lyxfunc.C (dispatch): Fall through to the generic
2592 Dialogs::show("spellchecker").
2594 2004-03-31 Angus Leeming <leeming@lyx.org>
2596 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2599 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2604 * insetiterator.[Ch]:
2609 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2611 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2613 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2614 insets where we are putting the cursor.
2616 2004-03-31 Angus Leeming <leeming@lyx.org>
2619 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2621 * lyxrc.[Ch] (read, write): overloaded member functions taking
2622 a std::[io]stream arguments.
2624 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2626 2004-03-31 Angus Leeming <leeming@lyx.org>
2628 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2629 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2631 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2632 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2634 2004-03-31 Angus Leeming <leeming@lyx.org>
2636 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2637 the LFUN_ALL_INSETS_TOGGLE code.
2639 2004-03-30 Angus Leeming <leeming@lyx.org>
2641 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2642 has died. Fall through to the generic Dialogs::show("document").
2644 2004-03-30 Angus Leeming <leeming@lyx.org>
2647 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2648 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2650 * lyxfunc.C (getStatus, dispatch): define the actions for these
2651 lfuns. Little more than a cut and pste job from ControlDocument.C
2653 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2655 2004-03-30 Angus Leeming <leeming@lyx.org>
2658 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2659 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2661 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2662 open/closed state of ollapsable insets. Usage:
2664 all-inset-toggle <state> <name>, where
2665 <state> == "open" || "closed" || "toggle" and
2666 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2668 * lyxtext.h, text2.C (toggleInset): removed.
2670 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2671 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2672 now passes LFUN_INSET_TOGGLE to the found inset.
2674 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2675 is now invoked as "all-insets-toggle toggle branch".
2677 2004-03-30 Angus Leeming <leeming@lyx.org>
2681 * pariterator.[Ch]: added/corrected header blurb.
2683 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2685 * dociterator.[Ch]: add an inset_ member
2686 (backwardPos): implemented
2687 (backwardPos, forwardPos): use inset_ when the stack is empty.
2688 (doc_iterator_begin, doc_iterator_end): implemented
2689 * pariterator.[Ch]: adjust, add begin, end
2690 * insetiterator.[Ch]: adjust, add begin, end
2694 * BufferView_pimpl.C:
2695 * CutAndPaste.C: adjust
2697 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2699 * buffer.C: increment file format to 232.
2700 * LaTeXFeatures.C: add bibtopic package.
2701 * bufferparams.[Ch]: param \use_bibtopic.
2703 * lyxrc.[Ch]: add lyxrc bibtex_command
2704 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2706 * buffer.C: increment file format to 231.
2708 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2710 * dociterator.C: implement forwardPar
2711 * iterators.[Ch]: remove, replaced by
2712 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2714 * BufferView_pimpl.C:
2717 * bufferview_funcs.C:
2723 * Makefile.am: adjust
2725 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2727 * CutAndPaste.C (pasteSelection): fix 2 crashes
2728 (eraseSelection): fix a crash
2729 * paragraph_funcs.C: remove a warning
2731 2004-03-28 Angus Leeming <leeming@lyx.org>
2734 * LyXAction.C (init): new LFUN_PRINT.
2736 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2738 2004-03-27 Angus Leeming <leeming@lyx.org>
2741 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2743 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2745 2004-03-27 Angus Leeming <leeming@lyx.org>
2747 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2748 insetlist always contains non-null pointers to insets.
2750 2004-03-26 Angus Leeming <leeming@lyx.org>
2752 * src/BufferView_pimpl.C:
2753 * src/CutAndPaste.C:
2756 * src/output_plaintext.C:
2757 * src/outputparams.h:
2758 * src/paragraph_funcs.C:
2762 * src/frontends/controllers/ControlErrorList.C:
2763 * src/frontends/gtk/FileDialogPrivate.C:
2764 * src/frontends/gtk/GPainter.C:
2765 * src/frontends/gtk/GToolbar.C:
2766 * src/frontends/qt2/QRef.C:
2767 * src/mathed/math_scriptinset.C: squash compiler warnings.
2769 2004-03-26 Angus Leeming <leeming@lyx.org>
2771 * ispell.C (LaunchIspell::start):
2772 * lyx_cb.C (AutoSaveBuffer::start):
2773 invoke run(DontWait) rather than runNonBlocking().
2775 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2777 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2779 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2781 * kbsequence.C (print): adjust
2783 * kbmap.C (printKeySym): rename and change signature
2784 (printKey): use LyXKeySym::print()
2786 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2788 * undo.C: add using std::advance to compile for stlport
2790 2004-03-24 Angus Leeming <leeming@lyx.org>
2792 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2793 it leads to a crash when no buffer is present.
2795 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2796 Martin Vermeer <martin.vermeer@hut.fi>
2798 * lyxfunc.C (dispatch):
2799 * bufferparams.C (readToken): use the new LColor::setColor
2801 * LColor.[Ch] (setColor): new version that takes two strings as
2802 argument and creates a new color entry if necessary
2804 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2806 * buffer.C (makeLaTeXFile): if the main latex file that is
2807 processed is usually a subdocument of some master, then pretend
2808 for a while that it is actually the master
2810 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2812 * buffer.C (getLabelList):
2813 (getBibkeyList): use getMasterBuffer()
2814 (getMasterBuffer): new method. Returns the main document in the
2815 case where one is using included documents.
2817 2004-03-25 André Pönitz <poenitz@gmx.net>
2821 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2823 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2825 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2826 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2828 * ParameterStruct.h: merge with ParagraphParameters
2830 * lyxtext.h: remove LyXText::parOffset() and getPar()
2832 * text3.C: Remove all 'manual' update calls. We do now one per user
2833 interaction which is completely sufficient.
2837 * BufferView_pimpl.C:
2838 * FontIterator.[Ch]:
2840 * ParagraphParameters.[Ch]:
2845 * cursor_slice.[Ch]:
2852 * output_docbook.[Ch]:
2853 * output_latex.[Ch]:
2854 * output_linuxdoc.[Ch]:
2855 * output_plaintext.[Ch]:
2857 * paragraph_funcs.[Ch]:
2858 * paragraph_pimpl.[Ch]:
2866 * frontends/controllers/ControlDocument.C:
2867 * frontends/controllers/ControlErrorList.C:
2868 * frontends/controllers/ControlSpellchecker.C:
2871 * insets/insetbase.h:
2872 * insets/insetbibitem.C:
2873 * insets/insetbox.C:
2874 * insets/insetbranch.C:
2875 * insets/insetcaption.C:
2876 * insets/insetcharstyle.C:
2877 * insets/insetcharstyle.h:
2878 * insets/insetcollapsable.C:
2879 * insets/insetcollapsable.h:
2880 * insets/insetert.C:
2881 * insets/insetfloat.C:
2882 * insets/insetfoot.C:
2883 * insets/insetmarginal.C:
2884 * insets/insetnote.C:
2885 * insets/insetoptarg.C:
2886 * insets/insettabular.C:
2887 * insets/insettext.C:
2888 * insets/insettext.h:
2889 * insets/insetwrap.C:
2890 * mathed/math_mboxinset.C:
2891 * mathed/math_nestinset.C:
2892 * mathed/math_scriptinset.C:
2893 * mathed/math_scriptinset.h:
2896 2004-03-24 Angus Leeming <leeming@lyx.org>
2898 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2899 deal with any child processes that have finished but are waiting to
2900 communicate this fact to the rest of LyX.
2902 2004-03-24 Angus Leeming <leeming@lyx.org>
2904 64-bit compile fixes.
2906 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2907 (c-tor): pass lyx::pos_types rather than ints.
2909 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2912 * text.C (Delete): compile fix.
2913 (getPar): ensure that function declaration is the same as that in
2916 2004-03-23 Angus Leeming <leeming@lyx.org>
2918 * ispell.C (LaunchIspell):
2919 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2920 a boost::shred_ptr rather than a std::auto_ptr.
2922 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2924 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2925 handle LFUN_FILE_INSERT_*
2927 * lyxrc.C (setDefaults, getDescription, output, read):
2928 * lyxrc.h: remove ps_command
2930 2004-03-22 Angus Leeming <leeming@lyx.org>
2932 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2933 Ensure that error_handler is processed once only and that all data
2934 is saved before attempting to output any warning messages.
2936 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2938 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2940 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2942 2004-03-19 André Pönitz <poenitz@gmx.net>
2944 * cursor.[Ch] (reset): take main text inset as argument
2946 * BufferView: adjust
2947 * BufferView_pimpl.C: adjust
2949 * paragraph.[Ch]: fix completely broken operator=()
2951 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2953 * LColor.C (getFromLyXName): make sure that the color name is used
2956 2004-03-17 Angus Leeming <leeming@lyx.org>
2959 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2961 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2962 dialog and to kill a forked process.
2964 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2966 * text2.C (setCursorFromCoordinates): fix font problem
2968 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2970 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2971 bogus "rebuild cursor" code
2973 2004-03-11 André Pönitz <poenitz@gmx.net>
2975 * buffer.[Ch]: use InsetText instead of LyXText as container for
2978 * dociterator.[Ch]: drop the BufferView * member which is not needed
2979 anymore after the change to buffer.C
2981 * paragraph_funcs.C:
2985 * BufferView_pimpl.[Ch]:
2987 * cursor_slice.[Ch]: adjust
2989 * text3.C: fix bug in mathDispatch
2991 2004-03-08 André Pönitz <poenitz@gmx.net>
2993 * undo.[Ch]: use 'StableDocumentIterator' as base for
2996 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2999 * bufferparams.[Ch]: add jurabib support and param.
3001 * LaTeX.C: add FIXME/comment.
3003 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3005 * buffer.C: increment file format to 230.
3007 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3009 * cursor.C (dispatch): avoid infinite loops
3011 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3013 * rowpainter.C (paintSelection): fix x coordinates
3015 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3017 * text.C (rowBreakPoint): fix breaking before displayed insets
3019 2004-03-01 André Pönitz <poenitz@gmx.net>
3021 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3023 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3027 * BufferView_pimpl.C:
3035 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3041 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3042 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3044 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3046 * Bidi.[Ch] (computeTables): const correctness
3047 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3048 fill_hfill, fill_label_hfill and x from Row
3049 * lyxtext.h: prepareToPrint returns a RowMetrics
3050 * rowPainter.C: adjust
3051 * text.C (prepareToPrint): use width, not textWidth. adjust
3052 (redoParagraphInternal, cursorX): adjust
3053 * text2.C (getColumnNearX): adjust
3054 (init): put a default value to the top LyXText::width
3056 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3058 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3060 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3062 * lyxtext.h: add FontIterator class
3064 * text.C (FontIterator, operator*, operator->, operator++): add
3065 (rowBreakPoint, setRowWidth): adjust (fixing a
3068 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3070 * BufferView_pimpl.C (workAreaDispatch): allow also
3071 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3073 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3075 * text.C (rowBreakPoint): fix a bug showing with very large insets
3077 2004-02-25 André Pönitz <poenitz@gmx.net>
3080 * cursor.[Ch]: move some mathed specific code to mathed
3082 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3084 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3085 use_tempdir in preferences
3086 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3088 * lyx_main.C: ensure that tempdir is valid
3089 * lyxlex.h: correct typo
3090 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3091 * paragraph.[Ch] (isMultiLingual): make const
3092 * cursor.[Ch] (openable): make const
3094 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3096 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3098 2004-02-20 André Pönitz <poenitz@gmx.net>
3100 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3102 * cursor.[Ch]: prepare for localized getStatus()
3108 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3110 2004-02-20 André Pönitz <poenitz@gmx.net>
3112 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3114 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3116 * text2.C (setCursorFromCoordinates): switch to absolute coords
3118 (cursorDown): adjust
3119 * text3.C (dispatch): adjust
3121 2004-02-16 André Pönitz <poenitz@gmx.net>
3123 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3126 * cursor_slice.[Ch]: remove unneeded acessor function
3128 * lyxtext.h: rename rtl() to isRTL()
3136 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3138 * rowpainter.C (paintSelection): coord fix
3140 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3142 * Spacing.C: compile fix
3144 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3146 * cursor.C (dispatch): restore current_ before returning
3148 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3150 * text2.C (cursorUp, cursorDown): fix coords
3153 2004-02-12 André Pönitz <poenitz@gmx.net>
3158 * text3.C: add LCursor & parameter to most cursor movement functions
3159 remove usage of LyXText::cursorRow() and cursorPar()
3161 * cursor.[Ch]: add textRow() needed members
3164 * BufferView_pimpl.C:
3167 * BufferView_pimpl.C: adjust
3169 2004-02-11 André Pönitz <poenitz@gmx.net>
3173 * BufferView_pimpl.C: shift undo/redo handling
3175 * cursor.[Ch]: fix mathed crash
3178 * lyxtext.h: move selectionAsText to LCursor
3186 * rowpainter.C: fix excessive drawing
3188 2004-02-06 André Pönitz <poenitz@gmx.net>
3191 * BufferView_pimpl.[Ch]:
3192 * text3.C: move some text specific LFUN handling
3194 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3196 * text3.C (checkInsetHit): adjust coords
3197 * text2.C (getColumnNearX): adjust coords
3198 (edit): adjust coords
3199 * text.C (getRowNearY): add two asserts
3201 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3204 * format.C: add using std::distance to compile on gcc 2.95/stlport
3206 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3208 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3210 2004-02-04 André Pönitz <poenitz@gmx.net>
3212 * BufferView.[Ch] (insertInset):
3213 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3218 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3220 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3221 on the default clause of the switch
3222 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3223 wasn't catched by LCursor::dispatch
3225 2004-02-03 André Pönitz <poenitz@gmx.net>
3228 * cursor.[Ch]: some additional asserts
3230 * undo.[Ch]: remove LyXText dependency in interface
3234 * lyxtext.h (firstPar, lastPar): remove dead functions
3239 * paragraph.[Ch]: adjust
3241 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3243 * lyxfind.C (find): fix argument order in call to ::find
3245 2004-02-02 André Pönitz <poenitz@gmx.net>
3247 * cursor.[Ch]: remove direct access to anchor
3249 * text.C: remove findText() hack
3251 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3253 * iterators.[Ch] (lockPath): remove in favour of...
3254 * BufferView.[Ch] (setCursor): this addition
3255 * BufferView.C (putSelectionAt): adjust
3256 * undo.C (performUndoOrRedo): adjust
3257 * lyxfunc.C (dispatch): adjust
3259 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3261 * iterators.C (lockPath): add a missing slice
3262 * undo.C (performUndoOrRedo): remove redundant positioning code
3264 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3266 * vc-backend.C (scanMaster): ";" -> ';'
3268 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3270 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3271 std::binary_function
3273 * lyxtextclass.C (compare_name): rename to...
3274 (LayoutNamesEqual): ...this
3276 * lyxlex_pimpl.C (compare_tags): inherit from
3277 std::binary_function, put back into anon namespace
3279 * lyxfind.C (MatchString): inherig from std::binary_function
3280 (findChange): use empty() istead of !size()
3282 * format.C (FormatNamesEqual): new functor
3289 * converter.C (compare_Converter): rename to...
3290 (ConverterEqual): ...this, and fixup a bit.
3291 (getConverter): use it, and make function const
3292 (getNumber): use it, and make function const
3296 * bufferlist.C: add using boost::bind
3298 * MenuBackend.C (MenuNamesEqual): new functor
3299 (hasMenu): use it, and make function const
3300 (hasSubmenu): use nested bind to get rid of compare_memfun.
3302 2004-01-30 André Pönitz <poenitz@gmx.net>
3304 * BufferView_pimpl.C:
3307 * cursor_slice.[Ch]:
3310 * paragraph_funcs.C:
3311 * paragraph_funcs.h:
3315 * text3.C: move some of the edit(x,y) handling to the insets
3316 some coordinate changes.
3318 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3320 * text.C: add using statements for std::advance and std::distance
3322 * paragraph.C: add using statement for std::distance
3324 * lyxfind.C: add using statement for std::advance
3326 * cursor.C (region): remove std:: from swap
3327 (openable): use nucleus in stead of operator->
3329 * BufferView.C: add using statements for std::distance and std::swap
3331 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3333 * iterators.C: Remove the pimple, move the needed structures to
3334 the header file. Create accessor for the positions stack.
3335 (asPosIterator): remove function
3337 * PosIterator.C (PosIterator): move constructors to top of file
3338 (PosIterator): reimplement the constructor taking a ParIterator in
3340 (setFrom): new function
3341 (operator!=): inline it
3343 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3345 * lyxfind.C (replaceAll): use std::advance
3347 * iterators.h: inherit from std::iterator.
3349 * PosIterator.C (advance, distance): remove
3350 * PosIterator.h: interit from std::iterator.
3352 2004-01-26 André Pönitz <poenitz@gmx.net>
3355 * BufferView_pimpl.[Ch]:
3359 * bufferview_funcs.C:
3369 * output_linuxdoc.C:
3370 * output_plaintext.C:
3372 * paragraph_funcs.[Ch]:
3373 * paragraph_pimpl.[Ch]:
3379 * text3.C: more IU: dumps most of the rest of the mathcursor
3380 implementation into cursor.[Ch]; "globalize" a bit of it.
3382 2004-01-25 Angus Leeming <leeming@lyx.org>
3384 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3386 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3388 * LaTeXFeatures.h: add nice_ and nice() const
3389 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3391 2004-01-20 André Pönitz <poenitz@gmx.net>
3394 * BufferView_pimpl.C:
3396 * bufferview_funcs.C:
3398 * cursor_slice.[Ch]:
3409 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3410 LCursor and mathcursor parts to LCursor and InsetBase.
3412 2004-01-15 André Pönitz <poenitz@gmx.net>
3414 * cursor_slice.[Ch]: add a few covienience functions
3416 * funcrequest.[Ch]: remove BufferView * member
3418 * BufferView_pimpl.C:
3425 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3427 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3429 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3430 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3432 2004-01-13 André Pönitz <poenitz@gmx.net>
3435 * lyxtext.h: hide cursor and selection anchor behind accessor function
3438 * BufferView_pimpl.[Ch]:
3440 * bufferview_funcs.C:
3450 * cursor_slice.[Ch]: some integer type changes for inset unification
3452 * lyxcursor.[hC]: remove, it's CursorSlice now.
3455 * BufferView_pimpl.[Ch]:
3456 * bufferview_funcs.C:
3462 * textcursor.[Ch]: adjust
3464 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3466 * text2.C (undoSpan): add and use
3467 * text.C (breakParagraph): use undoSpan (fix bug 578)
3470 2004-01-08 Angus Leeming <leeming@lyx.org>
3472 * BufferView_pimpl.C (MenuInsertLyXFile):
3473 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3474 * lyxfunc.C (menuNew, open, doImport):
3475 FileFilterList change to the FileDialog open and save functions.
3477 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3479 * ShareContainer.h: make isEqual and isUnique adaptable
3481 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3483 2004-01-07 Angus Leeming <leeming@lyx.org>
3486 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3488 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3490 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3491 functions replacing find, replace and replaceAll.
3493 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3494 LFUN_WORDFIND(FORWARD|BACKWARD).
3496 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3498 * text.C (breakParagraph): remove an outdated #warning
3500 2004-01-07 André Pönitz <poenitz@gmx.net>
3502 * lyxfind.C: somewhat clearer logic
3504 * text.C: prevent crash in cursorX on unitialized row cache
3506 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3508 * lyxcursor.[Ch] (operator>): add
3509 * textcursor.C (selStart, selEnd): use std::min and std::max
3511 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3513 * Chktex.C: include boost/format.hpp
3515 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3517 * InsetList.C: replace functor MathcIt with adaptable functor
3519 (insetIterator): modify accordingly
3521 * BranchList.h: move the BranchNamesEqual functor here from...
3522 * BranchList.C: ... to here
3524 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3526 (add): replace a finding loop with std::find_if.
3528 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3530 * output_docbook.C: moving LatexParam functionality into
3533 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3535 * buffer.C: increment format to 229.
3537 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3540 * lyx_sty.[Ch]: remove minipageindent_def
3546 * text3.C: remove LFUN_INSET_MINIPAGE
3548 2003-12-28 Angus Leeming <leeming@lyx.org>
3550 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3552 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3554 * text2.C (setParagraph): fix off-by-one crash
3556 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3558 * output_docbook.C: header stuff for AGU
3560 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3562 * text2.C (redoCursor): remove
3565 * BufferView_pimpl.C: remove calls to redoCursor and
3566 setCursor(cursor.par(), cursor.pos()) all around
3568 2003-12-15 Angus Leeming <leeming@lyx.org>
3570 * buffer.C: up the format to 228.
3572 2003-12-15 André Pönitz <poenitz@gmx.net>
3574 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3579 * BufferView_pimpl.C:
3588 2003-12-15 Angus Leeming <leeming@lyx.org>
3590 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3591 than getFromGUIName to manipulate the color.
3593 2003-12-14 Angus Leeming <leeming@lyx.org>
3595 * BranchList.[Ch]: minimize the API.
3596 (Branch::getBranch, getColor): now return a 'const &'.
3597 (Branch::setSelected) now returns a bool set to true if the
3598 selection status changes.
3599 (BranchList::clear, size, getColor, setColor, setSelected,
3600 allBranches, allSelected, separator): removed.
3601 (BranchList::find): new functions, returning the Branch with
3603 (BranchList::add, remove): return a bool indicating that
3604 the operation was successful.
3606 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3607 new InsetBranch::isBranchSlected member function.
3609 * LColor.[Ch]: mimimize the API.
3610 (fill): renamed as addColor and made private.
3611 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3612 versions of these functions taking a string arg have been removed.
3614 * bufferparams.C (readToken):
3615 * lyxfunc.C (dispatch):
3616 * lyxrc.C (read): changes due to the altered BranchList and
3619 * factory.C (createInset, readInset): changes due to altered
3622 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3625 * lyxfunc.C: remove insetminipage. "minipage-insert"
3626 now produces a frameless minipage box inset.
3628 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3630 * textcursor.[Ch] (selStart,selEnd): add new methods
3631 remove selection::start, end, use LyXCursor::operator<
3632 * lyxcursor.[Ch] (operator<): add
3633 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3634 * BufferView.[Ch] (unsetXSel): add
3635 * text2.C (clearSelection): use unsetXSel,adjust
3638 * rowpainter.C: adjust
3639 * bufferview_funcs.C (put_selection_at): adjust
3641 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3643 * BufferView_pimpl.C: small coord. correction
3645 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3647 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3648 dragging over the splash screen.
3650 2003-12-11 Angus Leeming <leeming@lyx.org>
3652 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3653 as it is now handled in LyXText::dispatch.
3655 * text3.C (doInsertInset): remove a level of nesting.
3657 2003-12-11 Angus Leeming <leeming@lyx.org>
3659 * factory.C (createInset): changes due to the changed interface to
3660 InsetCommandMailer::string2params.
3662 2003-12-10 Angus Leeming <leeming@lyx.org>
3664 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3665 'dialog-show-new-inset <inset name>'
3667 2003-12-10 Angus Leeming <leeming@lyx.org>
3669 * buffer.C: up the format to 227.
3671 * factory.C: the box inset is now identified simply by 'Box'.
3673 2003-12-10 Angus Leeming <leeming@lyx.org>
3675 * buffer.C: up the format to 226.
3677 * factory.C: the note inset is now identified simply by 'Note'.
3679 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3681 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3682 when a pit is enough. Standarize a couple of loops.
3684 2003-12-05 Angus Leeming <leeming@lyx.org>
3686 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3687 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3688 data to the re-worked "log" dialog.
3690 2003-12-03 André Pönitz <poenitz@gmx.net>
3696 * paragraph_funcs.C:
3698 * text2.C: use Inset::getText instead of Inset::getParagraph
3700 2003-12-03 André Pönitz <poenitz@gmx.net>
3704 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3705 InsetText::read() as LyXText::read()
3707 2003-12-02 Angus Leeming <leeming@lyx.org>
3709 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3710 type. Add a comment in the implementation that the function uses
3711 the stream's bad() function rather than fail() as the std::streams
3714 2003-12-02 André Pönitz <poenitz@gmx.net>
3716 * lyxlex.[Ch]: make interface more similar to std::stream
3718 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3720 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3722 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3724 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3726 * vspace.[Ch]: remove VSpace::NONE
3728 2003-12-01 André Pönitz <poenitz@gmx.net>
3731 * lyxtext.h: move ParagraphList member to LyXText
3732 rename LyXText::ownerParagraphs to LyXText::paragraph
3735 * bufferview_funcs.C:
3745 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3747 * undo.C: fix cursor positioning
3749 2003-12-01 John Levon <levon@movementarian.org>
3751 * BufferView_pimpl.C: fix a crash on exit with
3754 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3756 * BranchList.C: fix setSelected() method.
3758 2003-11-28 André Pönitz <poenitz@gmx.net>
3760 * ParagraphParameters.[Ch]:
3761 * ParameterStruct.h: remove space above/below from Paragraph to
3764 * BufferView_pimpl.C:
3770 * paragraph_funcs.C:
3776 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3778 * factory.C: Syntax change for CharStyles
3780 2003-11-28 André Pönitz <poenitz@gmx.net>
3785 * buffer.[Ch]: move LyXText member
3787 2003-11-28 André Pönitz <poenitz@gmx.net>
3789 * BufferView.[Ch]: make LyXText * text a private member
3791 * BufferView_pimpl.C:
3802 * output_plaintext.C: cleanup
3804 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3807 * lyxtextclass.[Ch]: parametrize SGML document header
3809 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3812 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3815 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3817 * text2.C (setFont): rework using PosIterator (no more recursive)
3818 (setCharFont): no more needed
3819 (setLayout): no more selection cursors fiddling (done by redoCursor)
3820 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3821 destroy remaining ones)
3823 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3825 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3827 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3830 * text3.C: adjust + re-allow multi par depth changes
3831 * textcursor.C: simplify a bit
3833 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3839 * src/output_docbook.C:
3840 * src/output_latex.C:
3845 * src/text2.C: Introducing a number of tags parametrizing various
3846 XML formats that we may want to support
3848 2003-11-25 André Pönitz <poenitz@gmx.net>
3850 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3852 * lyxtext.h (leftMargin/rightMargin): simplify interface
3859 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3861 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3862 master file to any child files. Fixes bug 546.
3864 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3866 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3868 2003-11-24 André Pönitz <poenitz@gmx.net>
3870 * rowpainter.C: simplification
3872 * text2.C (updateCounters): remove call to redoParagraph on
3873 changed labels as this is far too expensive.
3875 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3877 * converter.C (convert): fix a crash: this function gets
3878 called with buffer == 0 from importer code.
3880 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3882 * text3.C (cursorPrevious): make sure that we do not compare
3883 iterators form different containers.
3886 * rowpainter.C (paintSelection): make sure that we do not compare
3887 iterators from different containers.
3889 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3890 iterators from different ParagraphList containers.
3893 * text2.C (LyXText): change order of initialization slightly
3894 (operator=): new function. copy all variables except cache_par_
3895 (moveUp): make sure that we do not compare iterators from
3896 different ParagraphList constainers.
3899 * text.C (firstPar): new function
3900 (lastPar): new function
3901 (endPar): new function
3903 * lyxtext.h: move things around and group public functions, public
3904 variables, private functions, private variables
3906 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3908 * factory.C: change call to InsetERT constructor to avoid
3909 additional invocation of method status
3910 * text2.C (toggleInset): remove redundant update() call
3911 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3912 instead of a Bufferview pointer
3914 2003-11-21 André Pönitz <poenitz@gmx.net>
3916 * rowpainter.C: simplification
3918 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3920 * text3.C (dispatch): make possible to extend a word/row selection
3923 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3925 * lyxtext.h: x0_,y0_ -> xo_,yo_
3926 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3927 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3928 * rowpainter.C (paintRows): paint full paragraphs
3930 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3932 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3935 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3937 * lyxtext.h: add x0_, y0_
3938 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3939 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3941 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3943 * text2.C (setCursorIntern): move the x_target update here *
3944 * text3.C: change some bv() to true/false in calls to
3945 cursorUp/Down/Right/Left
3946 * cursor.C: use helper function.
3948 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3950 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3951 * paragraph_funcs.[Ch]: correct comment
3952 * rowpainter.C: do not paint selections away from bv->cursor()
3953 Fix a long standing selection painting bug.
3954 * text3.C: generalize mouse-selection code to LyXTexts other that
3956 * textcursor.C: do not use y coords if we can use par offsets
3958 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3960 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3961 cursor position after e.g. inset insert)
3963 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3965 * lyxfind.C (replace): adjust to locking removal + some
3968 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3970 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3973 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3976 * output_docbook.C: XML sanitation: new layout
3977 parameters InnerTag and CommandDepth
3979 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3981 * BufferView_pimpl.C:
3983 * text3.C: Fix the insertion and modification of button-style
3986 2003-11-13 André Pönitz <poenitz@gmx.net>
3988 * InsetList.[Ch]: remove deleteLyXText
3990 * paragraph.[Ch]: cache beginOfBody position
3995 * text3.C: remove superfluous update() calls
3999 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4001 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4002 * BufferView.C (fitLockedInsetCursor): remove
4003 * cursor.[Ch] (getDim): add
4004 * text.C (getRowNearY): add faster version
4005 * text3.C: remove some update calls
4007 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4019 * text3.C: The Character Style /XML short element patch.
4021 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4024 * factory.C: Small step to solving 'unable to insert some insets'
4027 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4029 * cursor.[Ch] (updatePos): new function for updating the y
4030 position of the tip inset
4031 * bufferview_funcs.C (put_selection_at):
4032 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4034 2003-11-11 André Pönitz <poenitz@gmx.net>
4036 * text.C: remove big comment on invalid Paragraph pointers as it is
4039 2003-11-11 André Pönitz <poenitz@gmx.net>
4041 * text_funcs.[Ch]: merge with ...
4049 * Makefile.am: remove text_funcs.[Ch]
4051 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4053 * cursor.C (getPos): return absolute cached y coord
4055 * BufferView_pimpl.C (fitCursor): new simplistic code
4056 (workAreaDispatch): add a fitCursor call
4058 2003-11-10 André Pönitz <poenitz@gmx.net>
4061 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4063 2003-11-10 André Pönitz <poenitz@gmx.net>
4065 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4066 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4067 indicate that the cursor needs to leave an inset
4069 * lyxtext.h: remove inset locking
4071 * cursor.[Ch]: re-implement functionality provided by inset locking
4074 * BufferView_pimpl.[Ch]:
4076 * bufferview_funcs.[Ch]:
4088 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4090 * PosIterator.[Ch]: replace the stack with a vector, add inset
4092 * iterators.[C]: adjust
4094 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4096 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4098 * paragraph_funcs.C (readParToken): put the correct id in the
4099 error item, not the id of the top paragraph
4101 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4103 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4104 * bufferview_funcs.C (put_selection_at): use the above
4106 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4108 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4110 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4112 * output_linuxdoc.h:
4113 * output_plaintext.h:
4115 * output_docbook.h: add #include statements
4117 2003-11-05 José Matos <jamatos@lyx.org>
4119 * output_docbook.[Ch]:
4120 * output_latex.[Ch]:
4121 * output_linuxdoc.[Ch]:
4122 * output_plaintext.[Ch]: New files for output formats.
4123 * output.[Ch]: New file for helper functions.
4126 * paragraph_funcs.[Ch]: output functions moved to new files.
4128 * outputparams.h: rename of latexrunparams.h
4136 * paragraph_funcs.[Ch]:
4137 * paragraph_pimpl.[Ch]:
4138 * tabular.[Ch]: rename ascii to plaintext
4139 and LatexRunParams to OutputParams.
4141 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4143 * iterators.[Ch] (text): require bv argument
4144 * undo.C (recordUndo):
4145 * lyxfunc.C (dispatch):
4146 * bufferview_funcs.C (put_selection_at): adjust
4148 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4150 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4152 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4154 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4157 2003-11-04 André Pönitz <poenitz@gmx.net>
4159 * cursor.[Ch]: restructure
4162 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4164 * iterators.[Ch] (asCursor): remove
4166 * lfuns.h: remove LFUN_INSET_EDIT
4172 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4174 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4176 * lyxfind.[Ch]: complete overhaul
4177 * BufferView_pimpl.C:
4179 * paragraph.[Ch] (insert): add
4181 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4185 * text.C: remove dead spellcheck code
4187 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4189 * dispatchresult.h: add a val setter
4191 * cursor.C (dispatch): use a tempvar for data_[i]
4193 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4195 * PosIterator.[Ch]: compile fix
4197 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4199 * text.C (cursorPar): deactivate the cursor cache
4201 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4203 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4205 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4207 * text3.C (dispatch): adjust for new DisptchResult semantics.
4209 * lyxfunc.C (dispatch): handle update when return from
4210 Cursor::dispatch, adjust for new DispatchResult semantics.
4212 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4213 DispatchResult(true) mean to not update. Add class functions for
4214 setting dispatched and update, as well as reading.
4216 * cursor.C (dispatch): don't handle update here
4218 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4220 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4221 * trans_mgr.C: adjust
4223 * paragraph_funcs.C (readParToken): exception safety
4225 * lyxvc.h: store the vcs pointer in a scoped_ptr
4228 * lyxsocket.C (serverCallback): exception safety
4230 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4232 * ispell.C (clone): make it return a auto_ptr
4234 * factory.C (createInset): exception safety
4235 (readInset): exception safety
4237 * bufferlist.C (newBuffer): exception safety
4239 * Thesaurus.C (Thesaurus): use initialization for aik_
4241 * MenuBackend.C (expandToc): exception safety.
4243 2003-11-03 André Pönitz <poenitz@gmx.net>
4247 * bufferview_funcs.C: remove getInsetFromId()
4250 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4256 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4258 * PosIterator.C (distance, advance): new
4259 * bufferview_funcs.[Ch] (put_selection_at): new
4260 * iterators.[Ch] (lockPath): new
4262 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4264 * iterators.[Ch] (asPosIterator): added
4265 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4266 * PosIterator.[Ch]: added
4268 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4272 * cursor.C (dispatch):
4273 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4275 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4276 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4277 contructor, add a class function dispatched. Remove operator>=
4279 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4281 * debug.C: only use the default constructor for debugstream
4284 * main.C (main): include debug.h and setup the lyxerr streambuf
4287 2003-10-31 José Matos <jamatos@lyx.org>
4289 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4291 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4292 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4293 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4294 * paragraph_pimpl.C (simpleTeXSpecialC):
4295 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4296 add LatexRunParams argument.
4298 * exporter.C (Export): change call accordingly.
4300 * latexrunparams.h: add new member to take care of the other backends.
4301 2003-10-30 José Matos <jamatos@lyx.org>
4303 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4304 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4305 factorise code for paragraph output.
4307 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4310 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4312 * text3.C (dispatch):
4313 * lyxfunc.C (dispatch):
4314 * cursor.C (dispatch):
4315 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4317 * dispatchresult.h: make the dispatch_result_t ctor explicit
4319 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4322 * buffer.C: small refactoring of docbook stuff
4324 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4326 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4329 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4331 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4332 operator dispatch_result_t, and operators for == != and >=
4334 * cursor.C (dispatch): adjust for operator dispatch_result_t
4335 removal. comment out call to update
4337 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4339 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4347 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4350 * dispatchresult.h: new file, DispatchResult broken out of
4353 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4355 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4357 * text.C (rowBreakPoint): put a hack inside #if 0
4359 2003-10-28 André Pönitz <poenitz@gmx.net>
4363 * paragraph_funcs.C:
4366 * text2.C: general cleanup (lots of small stuff)
4368 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4370 * text2.C (cursorEnd): simple fix to the "end key goes to one
4371 before the end on last row" bug
4373 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4375 * text.C (backspace): fix the "zombie characters"
4377 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4379 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4381 2003-10-27 André Pönitz <poenitz@gmx.net>
4383 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4385 * factory.C: handle new InsetPagebreak, InsetLine
4387 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4388 and move handling into new InsetPagebreak, InsetLine
4390 * BufferView_pimpl.C:
4392 * ParagraphParameters.C:
4393 * ParameterStruct.h:
4398 * paragraph_funcs.C:
4399 * paragraph_pimpl.C:
4405 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4408 * lyxrow_funcs.[Ch]:
4414 * text3.C: remove lastPos uses in favour of Row::endpos
4416 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4418 * undo.C (performUndoOrRedo): fix two crashes by setting a
4419 cursor by hand and reordering some calls. Use bv->lockInset instead
4420 of inset->edit because the latter loses cursor information
4422 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4424 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4426 (rowBreakPoint): fix width. change point to point + 1.
4427 Add a missing check.
4429 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4432 * lyxfunc.C: fix (at least partly) the problems
4433 with the Nav menu and headers inside branch insets
4436 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4438 * paragraph.C (getChar): add strong asserts
4440 * lyxrow_funcs.C (lastPos): remove hideous hack
4442 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4443 (fill): adjust to that (avoid an infinite loop)
4445 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4447 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4449 2003-10-23 André Pönitz <poenitz@gmx.net>
4451 * RowList_fwd.h: change list<> to vector<> to gain speed
4452 after suggestion from Alfredo
4454 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4456 * lyxtext.h: move the bidi stuff from here...
4459 * Bidi.[Ch]: ... to here
4461 2003-10-23 André Pönitz <poenitz@gmx.net>
4464 * text.C (isLastRow, isFirstRow): new functions
4466 * paragraph.h: new width cache member
4468 * rowpainter.C: replace RowList::iterator with Row & where possible
4470 * lyxfunc.C: replace several view()->text with a single call
4472 * toc.C: fix 'unused' warning
4474 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4476 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4477 when woring with stream::pos_type
4478 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4480 2003-10-22 André Pönitz <poenitz@gmx.net>
4483 * text.C: use Row & instead of RowList::iterator
4485 * lyxrow.h: rename end() to endpos()
4491 2003-10-22 Angus Leeming <leeming@lyx.org>
4493 * buffer.[Ch] (fully_loaded): new member function, returning true
4494 only when the file has been loaded fully.
4495 Used to prevent the premature generation of previews and by the
4496 citation inset to prevent computation of the natbib-style label.
4498 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4499 templates are all set up.
4501 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4503 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4505 * text.C: fixed an "oops" in the "is a bit silly"
4508 2003-10-21 André Pönitz <poenitz@gmx.net>
4510 * FuncStatus.[Ch]: small stuff, whitespace
4512 * lyxfont.[Ch]: operator<<() for debug reasons
4516 * lyxtext.h: whitespace, spelling
4518 * paragraph.C: naming of variables
4521 * text2.C: small stuff
4524 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4526 * text.C: (1) finish off the inset display() work;
4527 (2) fix the "is a bit silly" bug (accessing char
4530 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4532 * text.C: re-introduce display() for insets, fixing the
4533 various bugs (stretch of line above, math inset
4536 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4538 * text.C (rightMargin): remove spurious semicolon
4540 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4543 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4545 * text3.C: fix one crash due to wrong cursor def
4547 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4549 * vc-backend.C (scanMaster): make the regex static
4551 * LaTeX.C (scanAuxFile): make the regexs static
4553 * text3.C (doInsertInset, dispatch, dispatch):
4554 * text2.C (cursorUp, cursorDown):
4555 * text.C (selectNextWordToSpellcheck):
4556 * BufferView_pimpl.C (dispatch):
4557 * lyxfunc.C (dispatch): localDispatch -> dispatch
4559 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4561 * lyxsocket.C: include <cerrno>
4563 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4565 * lyxfunc.C (dispatch): remove textcache stuff
4567 * bufferlist.C (release): remove textcache stuff
4570 * TextCache.C: delete file
4571 * TextCache.h: delete file
4573 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4575 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4576 delete of the bv_->text.
4577 (resizeCurrentBuffer): remove texcache stuff
4578 (workAreaResize): ditto
4580 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4582 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4585 2003-10-16 André Pönitz <poenitz@gmx.net>
4592 * text3.C: speed up by storing y positions per paragraph plus per-row
4593 offset instead of having a 'full' y position in the row.
4595 2003-10-15 André Pönitz <poenitz@gmx.net>
4599 * undo.[Ch]: make undo aware of inner insets
4601 2003-10-14 Angus Leeming <leeming@lyx.org>
4603 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4604 static member functions LyX::ref() and LyX::cref.
4605 (lastfiles): new accessor functions for the new lastfiles_ member var.
4606 (addLyXView, views_): add a new LyXView to the list of views_.
4607 (updateInset): loop over all LyXViews to call their own updateInset
4608 member function, returning a pointer to the Buffer owning the inset.
4610 * BufferView_pimpl.C (loadLyXFile):
4611 * MenuBackend.C (expandLastfiles):
4612 * bufferlist.C (MenuWrite, QuitLyX):
4613 lastfiles is no longer a global variable.
4614 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4616 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4617 static function. Access through LyX::cref().emergencyCleanup().
4619 2003-10-14 André Pönitz <poenitz@gmx.net>
4621 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4623 * undo.[Ch]: restoring part of 'undo in insets'
4626 * undo_funcs.[Ch]: merge with undo.[Ch]
4628 * tabular.C: small cleansing stuff
4630 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4632 * paragraph_funcs.C (readParToken): report unknown insets as error
4633 boxes. Use the outer paragraph as location (also for unknown
4636 * factory.C (readInset): do not abort on reading an unknown inset.
4637 Eat it and return 0.
4639 2003-10-13 Angus Leeming <leeming@lyx.org>
4641 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4643 * lyxrc.C: displayTranslator is now a function,
4644 declared in GraphicsTypes.h.
4646 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4648 * format.C: new placeholder $$a to pass the socket address.
4650 * bufferlist.[Ch]: new function getBufferFromTmp.
4652 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4653 files in the temporary dir.
4655 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4657 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4659 * Makefile.am: add lyxsocket.[Ch].
4661 * lyx_main.C (error_handler): handle SIGPIPE.
4663 2003-10-13 André Pönitz <poenitz@gmx.net>
4665 * BufferView_pimpl.C:
4670 * undo_funcs.[Ch]: use paroffset_type instead of
4671 ParagraphList::iterators to prevent multiple conversion
4672 (and get a more robust interface)
4674 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4676 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4678 * text3.C (dispatch): ditto
4680 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4682 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4683 move the onlyfile, use onlyfile instead of foundfile in a couple
4686 * DepTable.C (update): flush the error stream a bit more
4688 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4690 * lyxserver.C (callback): adjust
4692 * lyxfunc.C (getStatus): add a missing brace in commented code
4693 (ensureBufferClean): reindent
4694 (dispatch): delete version taking a string
4696 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4698 * LaTeX.C (deplog): move found file handlig from here...
4699 (handleFoundFile): .. to new function here.
4700 (deplog): make sure to discover several files mentioned on the
4703 2003-10-10 André Pönitz <poenitz@gmx.net>
4710 * text3.C: fix some of the tabular crashes
4712 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4714 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4716 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4718 2003-10-09 André Pönitz <poenitz@gmx.net>
4720 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4723 * BufferView_pimpl.C:
4724 * bufferview_funcs.C:
4735 * undo_funcs.C: adjust
4737 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4739 * text2.C (incrementItemDepth): new function, use a backtracking
4740 algorithm to discover the correct item depth.
4741 (resetEnumCounterIfNeeded): new function, use a backtracking
4742 algorithm to discover if counter reset is needed.
4743 (setCounter): use them. Simplify a bit. Add different labels for
4744 different item depths for itemize.
4746 * paragraph.C (Paragraph): remove initialization of enumdepth
4749 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4750 enumerate and itemize. Change the type of itemdepth to signed char.
4752 2003-10-08 André Pönitz <poenitz@gmx.net>
4754 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4759 * tabular.[Ch]: fix crash after 'row-insert'
4761 2003-10-08 Angus Leeming <leeming@lyx.org>
4763 Fix doxygen warnings.
4765 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4766 Remove CutAndPaste:: prefix from header file declaration.
4768 * LColor.h (fill): remove LColor:: prefix from declaration.
4770 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4771 use lyx::depth_type rather than Paragraph::depth_type so that
4772 header file and .C file match.
4774 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4776 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4777 * aspell.C: \file aspell_local.C -> \file aspell.C
4778 * gettext.C: \file gettext.C -> \file src/gettext.C
4779 * gettext.h: \file gettext.h -> \file src/gettext.h
4780 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4781 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4782 * text.C: \file text.C -> \file src/text.C
4784 * toc.C: move comment so that doxygen is not confused.
4786 2003-10-07 Angus Leeming <leeming@lyx.org>
4788 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4790 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4793 * aspell_local.h: add forgotten std::string's.
4795 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4802 * text3.C: The Box patch. Fancybox support, minipage, parbox
4804 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4810 * ParagraphParameters.h:
4820 * lyxtextclasslist.h:
4823 * paragraph_pimpl.C:
4824 * textcursor.h: add <string> and other small fixes to make Lars'
4825 std::string patch compile with STLport.
4827 2003-10-06 Angus Leeming <leeming@lyx.org>
4829 * LColor.h: Add missing #include <string>.
4831 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4833 * All most all file in all subdirs: Make <string> be the prefered
4834 way of getting to std::string, add using declarations.
4836 2003-10-06 André Pönitz <poenitz@gmx.net>
4838 * metricsinfo.C: initialize LyXFont before changing attribute.
4839 (fixes the 'math in \emph is upright' bug)
4841 2003-10-06 André Pönitz <poenitz@gmx.net>
4843 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4845 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4848 * paragraph_pimpl.C: Small fixes to build using STLport
4850 2003-10-02 André Pönitz <poenitz@gmx.net>
4853 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4855 2003-10-01 André Pönitz <poenitz@gmx.net>
4857 * factory.C: assert early
4859 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4861 * lyx_main.C: remove the global debug object
4863 * debug.h: adjust for new debugstream
4865 * debug.C: adjust for new debugstream and keep the global debug
4868 2003-09-22 Angus Leeming <leeming@lyx.org>
4870 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4871 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4872 an incomplete class LyXFont.
4874 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4876 * factory.C: bug fix in branches
4878 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4880 * lyxfunc.C (processKeySym): adjust
4882 (dispatch): change arg name from ev to func, adjust
4883 (sendDispatchMessage): ditto
4885 * lyx_main.C (defaultKeyBindings): adjust keybindings
4886 (deadKeyBindings): ditto
4888 * kbsequence.C (addkey): return a FuncRequest
4890 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4892 * kbmap.C (bind): take a FuncRequest as arg, adjust
4895 (defkey): change to take a FuncRequest as arg, adjust
4896 (findbinding): take a FuncRequest as arg, adjust.
4898 * funcrequest.h (operator=): added
4900 * funcrequest.C (FuncRequest): default kb_action changed from
4901 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4903 * buffer.C (dispatch): simplify
4904 (dispatch): adjust to take a FuncRequest as arg, adjust
4906 * boost.C (assertion_failed): change assertion message slightly
4908 * ToolbarBackend.C (read): simplify
4910 * MenuBackend.C (binding): adjust call to findbinding, add a
4911 message if no binding is found.
4913 (expandToc): correct by adding a empty FuncRequest
4915 * LyXAction.C: include <boost/assert.hpp>
4916 (isPseudoAction): delete function
4917 (LookupFunc): change name to...
4918 (lookupFunc): this. change return type to FuncRequest.
4919 (getActionName): take kb_action as arg, simplify
4920 (funcHasFlag): add an assert, simplify.
4922 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4924 * toc.C (action): return a FuncRequest, simplify
4926 * lyxfunc.C (processKeySym): adjust
4927 (getStatus): delete version that takes an int.
4929 (dispatch): delete version that takes action as int
4931 (sendDispatchMessage): simplify and adjust
4933 * funcrequest.C (getArg): take unsigned int as arg
4935 * ToolbarBackend.C (read): adjust
4936 (add): delete version that takes func as a string.
4937 (getIton): take a FuncRequest as arg
4939 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4942 * MenuBackend.C (MenuItem): add a new construct that only takes a
4943 Kind, simplify the constructor use for submenus.
4945 (expandLastfiles): adjust
4946 (expandDocuments): adjust
4947 (expandFormats): adjust
4948 (expandFloatListInsert): adjust
4949 (expandFloatInsert): adjust
4950 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4952 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4953 Remove class variables lyx_pseudo_map and lyx_arg_map
4955 * LyXAction.C (searchActionArg): delete function
4956 (getPseudoAction): delete function
4957 (retrieveActionArg): delete function
4958 (LookupFunc): make it return kb_action, simplify.
4959 (getActionName): simplify
4961 * factory.C (createInset): fix new bug
4963 2003-09-19 Angus Leeming <leeming@lyx.org>
4965 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4966 masterFilename_ parameter in the include inset.
4968 * factory.C (createInset): changes due to the changes to InsetInclude.
4970 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4972 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4974 2003-09-18 Angus Leeming <leeming@lyx.org>
4977 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4978 Inset::fillWithBibKeys.
4979 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4981 2003-09-18 Angus Leeming <leeming@lyx.org>
4983 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4985 (ctor): pass and store a 'Buffer const &'
4986 (buffer): new member function.
4988 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4989 '*this' to the LaTeXFeatures ctor.
4991 2003-09-18 Angus Leeming <leeming@lyx.org>
4997 * text.C: rename EnumLColor as LColor_color.
4999 2003-09-18 Angus Leeming <leeming@lyx.org>
5001 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5002 remove #include "insets/insetbase.h" from cursor.h.
5004 2003-09-18 Angus Leeming <leeming@lyx.org>
5006 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5007 InsetOld_code to remove #include "inset.h".
5009 * iterators.C: add #include "insets/inset.h"
5011 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5013 * BufferView.C: remove more locking stuff that apparently doesn't
5014 do anything sensible.
5016 2003-09-16 André Pönitz <poenitz@gmx.net>
5019 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5022 2003-09-16 Angus Leeming <leeming@lyx.org>
5024 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5026 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5029 * paragraph.h: remove #include "lyxfont.h". Forward declare
5032 2003-09-16 Angus Leeming <leeming@lyx.org>
5034 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5035 of support/textutils.h.
5036 (isWord): move the contents of support/textutils.h's IsWordChar here.
5042 * text2.C: add #include "paragraph.h".
5045 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5047 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5053 * LaTeX.C: use namespace alias for lyx::support::os
5055 2003-09-16 Angus Leeming <leeming@lyx.org>
5058 * bufferview_funcs.C:
5061 * paragraph_pimpl.C:
5063 * text.C: add #include "LColor.h".
5065 2003-09-16 Angus Leeming <leeming@lyx.org>
5067 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5068 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5070 Store the FontBits::color variable as an int rather than as an
5071 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5074 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5075 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5076 string calls together.
5078 * lyxrc.C: add #include "LColor.h".
5080 2003-09-15 Angus Leeming <leeming@lyx.org>
5082 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5085 2003-09-15 Angus Leeming <leeming@lyx.org>
5087 * LColor.h: add an EnumLColor wrapper for LColor::color.
5089 * lyxfont.[Ch] (color, setColor, realColor):
5090 * lyxtext.h, text.C (backgroundColor):
5091 pass EnumLColor args to/from the functions, rather than LColor::color
5095 * lyxtext.h: forward declare EnumLColor.
5097 * lyx_main.C: add #include "LColor.h".
5099 2003-09-15 Angus Leeming <leeming@lyx.org>
5101 * .cvsignore: add lyx-gtk.
5103 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5108 * ParagraphParameters.C
5112 * bufferview_funcs.C
5122 * vc-backend.C: remove usage of STRCONV
5124 2003-09-15 Angus Leeming <leeming@lyx.org>
5126 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5127 explicitly define the color passed to the painter.
5129 2003-09-15 Angus Leeming <leeming@lyx.org>
5131 * bufferparams.C (BufferParams): reorder member initializers to avoid
5134 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5136 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5137 * text.C (updateRowPositions): remove an unusual nop
5139 2003-09-12 André Pönitz <poenitz@gmx.net>
5141 * BufferView_pimpl.C:
5150 * Counters.[Ch]: finish the 'automatic counters' job
5152 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5154 * aspell.C: include <boost/assert.cpp> (compile fix)
5156 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5158 * boost.C (assertion_failed): use lyx::support::abort instead of
5161 2003-09-10 Angus Leeming <leeming@lyx.org>
5163 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5164 with their _fwd progeny.
5166 2003-09-09 Angus Leeming <leeming@lyx.org>
5168 134 files throughtout the source tree: replace 'using namespace abc;'
5169 directives with the appropriate 'using abc::xyz;' declarations.
5171 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5173 * boost.C (emergencyCleanup): moved here from LAssert.c
5174 (assertion_failed): new function, called by BOOST_ASSERT
5176 * several files: change Assert to BOOST_ASSERT
5178 2003-09-09 Angus Leeming <leeming@lyx.org>
5180 * buffer.[Ch]: Add an Impl class and move Buffer's member
5181 variables into it. As a result move several header files out of
5184 Add header files to lots of .C files all over the tree as a result.
5186 2003-09-09 Angus Leeming <leeming@lyx.org>
5188 * buffer.[Ch]: make Buffer's member variables private. Add
5191 Lots of changes all over the tree as a result.
5193 2003-09-08 Angus Leeming <leeming@lyx.org>
5195 * graph.C: #include <config.h>.
5197 2003-09-08 Angus Leeming <leeming@lyx.org>
5201 * BufferView_pimpl.C:
5230 * toc.C: remove redundant using directives.
5232 2003-09-07 Angus Leeming <leeming@lyx.org>
5234 * LaTeXFeatures.h: remove #include "support/types.h".
5235 * ToolbarBackend.h: remove #include <algorithm>.
5236 * changes.h: remove #include <ctime>.
5237 * debug.h: remove #include <iosfwd>.
5238 * graph.h: remove #include "support/std_string.h".
5239 * lyx_main.h: remove #include <csignal>.
5240 * lyxlex_pimpl.h: remove #include <fstream>.
5241 * sgml.h: remove #include <algorithm>, <utility>.
5242 * toc.h: remove #include "support/std_ostream.h".
5243 Add #include <iosfwd>.
5245 2003-09-07 Angus Leeming <leeming@lyx.org>
5247 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5249 * converter.h: forward declare LatexRunParams.
5250 * encoding.h: remove #include "lyxrc.h".
5251 * lyxtext.h: remove #include "LColor.h".
5252 * lyxtextclass.h: remove #include "support/types.h".
5253 * trans.h: remove #include "tex-accent.h".
5254 * trans_mgr.h: remove #include "tex-accent.h".
5255 * insets/inset.h: remove #include "support/types.h", <vector>.
5256 * insets/insetcollapsable.h: remove #include "LColor.h".
5257 * insets/insetinclude.h: remove #include "dimension.h".
5258 * insets/insetlatexaccent.h: remove #include "dimension.h".
5259 * insets/insetoptarg.h:: remove #include "insettext.h".
5260 * insets/insettext.h: remove #include "dimension.h",
5261 <boost/shared_ptr.hpp>
5263 * insets/renderers.h: add #include "dimension.h".
5264 * insets/updatableinset.h: add #include "support/types.h".
5266 * many .C files: Associated changes.
5268 2003-09-06 Angus Leeming <leeming@lyx.org>
5270 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5271 one, inside testInvariant.
5273 * PrinterParams.C: new file.
5274 * PrinterParams.[Ch]: move the function bodies out of line.
5276 2003-09-06 Angus Leeming <leeming@lyx.org>
5278 * ParagraphParameters.h: forward declare ParameterStruct rather than
5279 including its header file.
5280 (depth): moved out-of-line.
5282 2003-09-06 Angus Leeming <leeming@lyx.org>
5284 * BufferView_pimpl.h:
5287 * lyxfunc.h: forward declare LyXKeySym rather than
5288 #include "frontends/LyXKeySym.h".
5290 * BufferView_pimpl.C:
5293 * lyxfunc.C: associated changes.
5295 2003-09-06 Angus Leeming <leeming@lyx.org>
5297 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5298 As a result, can remove the #include "insets/inset.h" from BufferView.h
5300 2003-09-06 Angus Leeming <leeming@lyx.org>
5302 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5303 As a result, can remove the #include "insets/inset.h" from BufferView.h
5305 2003-09-06 Angus Leeming <leeming@lyx.org>
5311 * bufferview_funcs.C:
5312 * BufferView_pimpl.C:
5317 * ParagraphParameters.C:
5322 * frontends/controllers/ControlDocument.C:
5323 * insets/insetcaption.C: rearrange the #includes into some sort of
5326 * buffer.h: remove #includes ErrorList.h, undo.h
5328 2003-09-06 Angus Leeming <leeming@lyx.org>
5330 * support/types.h: add a 'depth_type' typedef, used to store the
5331 nesting depth of a paragraph.
5334 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5335 defining explicitly.
5338 * paragraph_funcs.h:
5339 * ParagraphParameters.h:
5340 * sgml.h: use lyx::depth_type rather than Paragraph or
5341 ParameterStruct's depth_type.
5344 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5347 * BufferView_pimpl.C:
5349 * ParagraphParameters.C:
5352 * bufferview_funcs.C:
5359 * frontends/LyXView.C:
5360 * frontends/controllers/ControlDocument.C:
5361 * frontends/controllers/ControlErrorList.C:
5362 * insets/insetbibitem.C:
5363 * insets/insetbranch.C:
5364 * insets/insetcaption.C:
5365 * insets/insetcollapsable.C:
5366 * insets/insetenv.C:
5367 * insets/insetert.C:
5368 * insets/insetfloat.C:
5369 * insets/insetfoot.C:
5370 * insets/insetfootlike.C:
5371 * insets/insetnewline.C:
5372 * insets/insetquotes.C:
5373 * insets/insettabular.C:
5374 * insets/insettext.C:
5375 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5377 * frontends/controllers/ControlChanges.C: #include "changes.h".
5379 2003-09-06 Angus Leeming <leeming@lyx.org>
5381 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5382 than #including paragraph.h.
5385 * RowList.h: deleted. Superfluous.
5395 * insets/insettext.h: use ParagraphList_fwd.h rather than
5398 * paragraph.h: don't forward declare ParagraphList.
5401 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5402 rather than ParagraphList.h. paragraph.h is still needed for the
5403 Paragraph::depth_type parameters.
5405 * textcursor.h: enable it to compile stand-alone in light of the
5408 * bufferview_funcs.C:
5420 * frontends/controllers/ControlParagraph.C:
5421 * frontends/controllers/ControlTabular.C:
5422 * insets/insetmarginal.C:
5423 * insets/insetminipage.C:
5424 * insets/insetnote.C:
5425 * insets/insetoptarg.C: add header files needed to compile again.
5427 2003-09-06 Angus Leeming <leeming@lyx.org>
5429 * RowList_fwd.h: new file, forward-declaring Row rather than
5430 #including lyxrow.h.
5435 * insets/insettext.h: use it instead of RowList.h
5437 * bufferview_funcs.C:
5444 * text3.C: #include "RowList.h".
5446 2003-09-05 Angus Leeming <leeming@lyx.org>
5448 * factory.C (createInset):
5449 * vspace.C (c-tor): replace sscanf call with an istringstream.
5450 * ispell.C: re-add missing HP/UX headers.
5451 * lyxserver.C: re-add missing os2 headers.
5453 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5462 * text3.C: re-add missing system headers, needed for 2.95.2.
5464 2003-09-05 Angus Leeming <leeming@lyx.org>
5466 Changes most place everywhere due to the removal of using directives
5467 from support/std_sstream.h.
5469 2003-09-05 Angus Leeming <leeming@lyx.org>
5471 Replace LString.h with support/std_string.h,
5472 Lsstream.h with support/std_sstream.h,
5473 support/LIstream.h with support/std_istream.h,
5474 support/LOstream.h with support/std_ostream.h.
5476 Changes resulting throughout the tree.
5478 2003-09-05 Angus Leeming <leeming@lyx.org>
5480 * sgml.h: ensure that the header file can be compiled stand-alone.
5481 * *.C: strip out redundant #includes. (320 in total.)
5483 2003-09-04 Angus Leeming <leeming@lyx.org>
5485 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5486 here (from getPackages).
5488 * debug.[Ch]: add a new EXTERNAL tag.
5490 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5492 * text2.C (cursorEnd): simplify
5494 (getColumnNearX): adjust
5496 * text.C (computeBidiTables): adjust
5499 * rowpainter.C (paintChars): adjust
5500 (paintSelection): adjust
5501 (paintChangeBar): adjust
5504 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5506 (numberOfSeparators): adjust
5508 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5514 * text3.C: Restricts the mouse click functionality
5515 of insets like bibtex, include, toc and floatlist to the visible
5516 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5517 up the dialogs. Cursor has to be in front of the inset (i.e.
5518 start of row) for this to function.
5520 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5522 * bufferview_funcs.C (currentState): output row information
5524 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5526 * bufferview_funcs.C (currentState): output paragraph position
5528 2003-09-04 Angus Leeming <leeming@lyx.org>
5530 * FloatList.h: move out #include "Floating.h".
5531 * LaTeX.h: move out #include "DepTable.h".
5532 * LyXAction.h: move out #include "funcrequest.h".
5533 * buffer.h: move out #include "author.h", "iterators.h".
5534 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5535 * lyx_main.h: move out #include "errorlist.h".
5536 * lyxfunc.h: move out #include "FuncStatus.h".
5537 * lyxtext: move out #include "lyxcursor.h".
5538 * paragraph_pimpl.h: move out #include "counters.h".
5540 2003-09-03 Angus Leeming <leeming@lyx.org>
5542 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5543 preamble_snippets list, enabling us to add snippets to the preamble
5544 only if the snippet was not there already.
5546 2003-09-04 Angus Leeming <leeming@lyx.org>
5548 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5550 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5552 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5555 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5557 * BranchList.C: point fix, earlier forgotten
5559 2003-09-02 Angus Leeming <leeming@lyx.org>
5561 * box.C (contains): renamed from 'contained' after a fantastic
5564 2003-09-02 John Levon <levon@movementarian.org>
5570 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5572 2003-09-02 John Levon <levon@movementarian.org>
5574 * text2.C: simplification of cursorEnd(), including partial
5577 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5579 * buffer.C (readFile): add a space
5581 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5583 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5585 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5587 * buffer.C (readFile): new function, take a filename and a
5588 ParagraphList::iterator
5590 (readFile): adjust, make it private. don't use setStream, make
5591 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5592 always contain the filename.
5594 * BufferView.C (insertLyXFile): simplify and make it work for
5597 2003-08-30 John Levon <levon@movementarian.org>
5599 * Makefile.am: fix dist (from Kayvan)
5601 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5603 * most files: change to use const Buffer refs
5605 2003-08-27 André Pönitz <poenitz@gmx.net>
5607 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5608 on top of ownerPar().
5610 2003-08-27 John Levon <levon@movementarian.org>
5612 * funcrequest.C: properly initialise POD members
5614 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5616 * lyxtext.h (top_y): move top_y from here
5621 * BufferView_pimpl.[Ch]: to here
5622 * frontends/screen.C:
5623 * insets/insettabular.C:
5624 * insets/insettext.C: adjust
5625 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5627 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5630 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5632 2003-08-26 André Pönitz <poenitz@gmx.net>
5634 * paragraph_func.[Ch] (outerPar): new function
5637 * paragraph_funcs.C:
5638 * paragraph_funcs.h:
5639 * paragraph_pimpl.C:
5640 * text2.C: remove Inset::par_owner
5642 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5647 * text2.C: eliminates the needFullRow/display() stuff
5648 altogether, putting the logic in metrics/draw in the insets.
5650 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5652 * text2.C (redoParagraphInternal, redoParagraphs):
5653 * text.C (redoParagraph): add a call to updateRowPositions at the
5654 end of each 'metrics-like' call. Remove all others.
5655 (getRow): remove the 'y-computing' version.
5656 (getRowNearY): do not compute nor return the real y. Solve the
5657 'y < 0' problem and simplify.
5659 2003-08-22 Angus Leeming <leeming@lyx.org>
5661 * *.[Ch]: clean-up of licence and author blurbs.
5662 Also move config.h out of a few .h files and into a few .C files.
5664 2003-08-22 André Pönitz <poenitz@gmx.net>
5666 * lyxrow.[Ch]: add x_ and *fill_ members
5671 * text2.C: adjust/remove prepareToPrint() calls
5673 2003-08-22 André Pönitz <poenitz@gmx.net>
5675 * lyxrow.[Ch]: add end_ member
5677 * lyxrow_funcs.C: use LyXRow::end_
5679 * lyxtext.h (singleWidth): add LyXFont parameter
5682 * text2.C: adjust LyXText::singleWidth() calls
5684 * text.C (redoParagraph): simplify row breaking logic
5687 2003-08-19 André Pönitz <poenitz@gmx.net>
5689 * funcrequest.C: initialize button_ member
5692 * rowpainter.[Ch]: interface consolidation
5694 2003-08-18 André Pönitz <poenitz@gmx.net>
5697 * BufferView_pimpl.C:
5699 * paragraph_funcs.C:
5701 * text3.C: remove LyXScreen::draw() and fitCursor calls
5703 * BranchList.h: remove spurious semicolons
5705 * MenuBackend.C: fix branchlist related crash
5707 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5715 * bufferparams.[Ch]:
5719 * text3.C: implements the 'branch inset'
5720 idea. This allows the output of various versions of a document
5721 from a single source version, selectively outputing or suppressing
5722 output of parts of the text.
5723 This implementation contains a 'branch list editor' in a separate
5724 tab of the document settings dialog. Branches are user definable
5725 and have a "display colour" to distinguish them on-screen.
5727 ColorHandler was somewhat cleaned up.
5728 (1) make possible a dynamically growing LColor list by allowing
5729 the graphic context cache to grow along (vector);
5730 (2) eliminate an IMHO unnecessary step in colour allocation.
5732 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5734 * BufferView_pimpl.C: compile fix
5736 2003-08-15 André Pönitz <poenitz@gmx.net>
5738 * rowpainter.C: remove extra metrics calls
5740 * lyxtext.h: merge the two constructors into a single one,
5741 pass reference to owner's par list
5743 * BufferView_pimpl.C:
5747 2003-08-15 André Pönitz <poenitz@gmx.net>
5749 * lyxrow_funcs.[Ch]:
5752 * paragraph_funcs.C:
5757 * text_funcs.C: split LyXText::rowlist_ into individual
5758 Paragraph::rows_ chunks
5761 * BufferView_pimpl.[Ch]:
5764 * text3.C: remove toggleSelection()
5766 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5768 * bufferlist.C: beautify two alerts (shorter text of buttons)
5769 * buffer.C: Remove redundant ' ' from message
5771 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5772 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5773 rename VALIGN_CENTER to VALIGN_MIDDLE
5775 2003-08-11 André Pönitz <poenitz@gmx.net>
5777 * lyxtext.h (getPar):
5778 * text.C: new function
5780 2003-08-11 André Pönitz <poenitz@gmx.net>
5783 * tracer.[Ch]: remove unneeded files
5785 * InsetList.[Ch]: remove resizeInsetsLyXText()
5790 * text3.C: merge insertParagraphs() and appendParagraph()
5791 remove breakAgain(), update()
5793 * BufferView_pimpl.[Ch]:
5794 * bufferview_funcs.[Ch]:
5798 * tabular.C: adjust after text & InsetList changes.
5800 2003-08-08 André Pönitz <poenitz@gmx.net>
5802 * text.C (insertChar, backspace): replace rowlist fiddling
5803 with rebreak of full par
5806 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5807 checkParagraph, updateInset): removed
5809 2003-08-07 André Pönitz <poenitz@gmx.net>
5812 * text3.C: merge some LFUN handlers, remove dead code
5814 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5816 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5818 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5820 * text2.C (DEPM): fix part of bug 1255 and 1256
5822 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5824 * BufferView_pimpl.C (workAreaDispatch): change to use
5825 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5826 that are no mouse related.
5828 2003-08-05 André Pönitz <poenitz@gmx.net>
5831 * BufferView_pimpl.[Ch]:
5832 * bufferview_funcs.C:
5834 * text3.C: rip out "deep update"
5836 * textcursor.[Ch] (last_sel_cursor): remove unused member
5838 2003-08-04 André Pönitz <poenitz@gmx.net>
5841 * BufferView_pimpl.[Ch]:
5842 * ParagraphParameters.C:
5843 * bufferview_funcs.C:
5849 * text3.C: replace "complicated" BufferView::update(...) calls with
5852 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5854 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5856 * Makefile.am (lyx_SOURCES): add paper.h
5858 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5860 * Makefile.am: move things around so that both lyx-qt and
5861 lyx-xforms can be built (according to --with-frontend). Then lyx
5862 is a symbolic link to lyx-[firstfrontend]
5864 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5866 * Always use std::endl with lyxerr
5868 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5870 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5872 2003-08-01 André Pönitz <poenitz@gmx.net>
5875 * BufferView_pimpl.[Ch]:
5877 * text3.C: merge BufferView::repaint() and BufferView::update()
5879 2003-08-01 José Matos <jamatos@lyx.org>
5881 * buffer.[Ch]: file_format is no longer a buffer data element.
5883 2003-08-01 André Pönitz <poenitz@gmx.net>
5888 * text2.C: make redoParagraph more independent of current cursor
5890 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5892 * text2.C: remove unneeded members
5894 2003-07-30 André Pönitz <poenitz@gmx.net>
5896 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5898 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5899 create a single function...
5901 * paragraph_funcs.C (moveItem): ... here.
5904 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5906 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5908 * LColor.[Ch]: Add comment and greyedout logical colors.
5910 2003-07-30 André Pönitz <poenitz@gmx.net>
5912 * tabular.C: don't use Assert too heavily. This crashes where it
5915 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5917 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5918 is disabled (bug 1232)
5920 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5922 * factory.C: limited 'arg' scope
5924 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5926 * factory.C: fixed Note submenu issues
5928 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5930 * factory.C: submenu for Note/Comment/Greyedout
5932 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5935 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5937 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5940 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5941 greyedout. Patch provided by Jürgen Spitzmüller.
5943 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5945 * kbmap.C (read): fix error message when reading bind files
5947 2003-07-29 Angus Leeming <leeming@lyx.org>
5949 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5950 certainly does not do what it purports to do. I am doing it, and
5951 us, a favour by killing it.
5953 2003-07-28 José Matos <jamatos@lyx.org>
5955 * buffer.C (readBody, do_writeFile):
5956 * paragraph.C(readParagraph): \end_document replaces \the_end.
5958 2003-07-29 André Pönitz <poenitz@gmx.net>
5961 * BufferView_pimpl.[Ch]:
5965 * textcursor.[Ch]: remove toggleToggle & Co
5967 2003-07-28 José Matos <jamatos@fep.up.pt>
5969 * buffer.C (readParagraph):
5970 * params_func (readParToken, readParagraph):
5971 * paragraph.C (write): \layout -> \begin_layout.
5973 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5975 * lyxlex_pimpl.C (setFile): clean up slightly.
5977 * bufferparams.h: add compressed var
5979 * buffer_funcs.C (readFile): adjust for LyXLex change
5980 (newFile): ditto + simplify
5982 * buffer.C (writeFile): handle writing of compressed files
5984 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5985 Check if the file is compressed and set a bufferparm if so.
5987 * Makefile.am (lyx_LDADD): remove explicit -lz
5989 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5991 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5992 makeDocBookFile): put the real LyX version in the first line of
5996 * version.C.in: remove lyx_docversion
5998 * tabular.C (write_attribute): add a template-based version to
5999 write enums properly
6001 2003-07-28 André Pönitz <poenitz@gmx.net>
6006 * text3.C: use doubles again for x-coordinates. They are needed.
6008 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6010 * messages.C (getLocaleDir): use lyx_localedir()
6012 * lyxlex_pimpl.C (setFile): compress stuff
6014 * buffer.C (writeFile): add some compression stuff
6015 (do_writeFile): new func, dont call expliti close... will this
6018 * Makefile.am (lyx_LDADD): add -lz
6020 2003-07-28 José Matos <jamatos@fep.up.pt>
6022 * buffer.C: increment file format.
6023 * paragraph_funcs (readParagraph, readParToken):
6024 * paragraph.C (readParagraph): add \end_layout.
6026 2003-07-27 Angus Leeming <leeming@lyx.org>
6028 * Makefile.am: remove special casing for configure-time setting of
6029 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6031 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6032 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6034 2003-07-26 André Pönitz <poenitz@gmx.net>
6036 * paragraph_func.[Ch]:
6037 * paragraph.C (realizeFont): inline it whereever it is used
6042 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6045 2003-07-26 André Pönitz <poenitz@gmx.net>
6049 * text2.C: get rid of LyXText::need_break_row
6051 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6053 * toc.[Ch]: put namespace toc inside namespace lyx
6055 * MenuBackend.C (expandToc2): adjust for lyx::toc
6058 * lyxfunc.C (dispatch): adjust for lyx::find
6060 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6061 lyx::find instead. Reorganize a bit.
6062 (LyXReplace): rename to replace
6063 (LyXFind): rename to find
6065 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6068 2003-07-26 André Pönitz <poenitz@gmx.net>
6070 * text.C (setHeightOfRow): restrict scope of temporary variable
6072 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6073 code (never has been used?)
6075 2003-07-27 Asger Alstrup <alstrup@local>
6077 * text.C (fill): Optimise algorithm to exploit that we can reuse
6078 the LyXFont for many characters.
6079 (setHeightOfRow): Same thing.
6080 (rowBreakPoint): Same thing.
6082 2003-07-26 Asger Alstrup <alstrup@local>
6084 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6086 * text.C (singleWidth): Spurious font copying in hot-spot
6087 singleWidth avoided. Reorder tests for arabic for efficiency.
6089 * text.C (fill): handle empty paragraphs better.
6091 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6094 * encoding.h: add includes
6096 * lyxrc.C: remove reading of bind files
6098 * lyx_main.C (init): setup bindings and menus only if we have a
6101 * kbmap.C (read): new method. Do the actual reading of bind
6104 * converter.C (dvipdfm_options):
6107 (output): adapt PAPER_* enums.
6109 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6111 * bufferparams.h: remove paper-related enums from there
6113 * paper.h: New file. A trivial header file to hold paper-related
6114 enums. It should later expand to contain many paper-related
6117 * lyxrc.C: declare extern displayTranslator
6119 2003-07-27 José Matos <jamatos@fep.up.pt>
6121 * tabular.[Ch] (linuxdoc): add support for tables and figures
6124 2003-07-27 José Matos <jamatos@fep.up.pt>
6126 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6127 consistency in both functions.
6128 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6130 2003-07-26 Asger Alstrup <alstrup@local>
6132 * rowpainter.C (paintRows): Change algorithm to work directly on
6133 the insets rather than asking every character in the document
6134 whether its an inset.
6136 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6138 * buffer.C (openFileWrite): factorize some code
6140 2003-07-26 Angus Leeming <leeming@lyx.org>
6143 * lyx_main.[Ch]: replace occurances of system_tempdir with
6146 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6148 * rename Inset to InsetOld
6150 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6152 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6153 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6154 which I think is a bit clearer. EDIT is gone, since it was
6155 premature optimisation, and broken for mathed anyway.
6156 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6157 with cursor positioning in insets as well (math insets still do not
6158 work, but that's a different story anyway.) It mysteriously
6159 crashes sometimes with undo in the first paragraph, but I'm fairly
6160 confident that this is a compiler bug.
6162 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6164 * paragraph.C (Paragraph): adjust for new clone return type
6166 (copyIntoMinibuffer): ditto
6168 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6170 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6171 by not having a special case, and always doing a full rebreak of
6172 the document after undo.
6174 2003-07-23 Angus Leeming <leeming@lyx.org>
6176 * factory.C (createInset): InsetExternal::setParams now takes a
6179 2003-07-23 Angus Leeming <leeming@lyx.org>
6181 * factory.C (createInset): changed interface to the external and
6182 graphics mailers' string2params functions.
6184 2003-07-23 Angus Leeming <leeming@lyx.org>
6186 * factory.C (createInset): pass a
6187 Buffer const * parameter to InsetExternalMailer's string2params.
6189 2003-07-22 John Levon <levon@movementarian.org>
6191 * Thesaurus.h: include the right aiksaurus header
6193 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6195 * MenuBackend.C (expand): check menu shortcuts unconditionally
6197 2003-07-21 Angus Leeming <leeming@lyx.org>
6199 * factory.C (createInset): pass a
6200 buffer_path parameter to InsetGraphicsMailer's string2params.
6202 2003-07-21 Angus Leeming <leeming@lyx.org>
6204 * BufferView_pimpl.C (buffer):
6207 * lyxfunc.C (dispatch):
6208 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6209 rather than the grfx shortcut.
6211 2003-07-21 André Pönitz <poenitz@gmx.net>
6213 * rowpainter.C: remove unused variables
6216 * tabular_funcs.h: move to tabular.C
6217 * Makefile.am: adjust
6219 * tabular.[Ch]: basic optical cleaning
6221 * author.h: pass references, not values
6223 2003-07-18 André Pönitz <poenitz@gmx.net>
6231 * text3.C: two-phase drawing for InsetText and InsetTabular
6232 some float -> int changes.
6234 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6236 * lyx_main.C: fix the fix
6238 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6240 * lyx_main.C: fix a crash in batch mode if no files specified
6243 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6245 * format.[Ch] (papersize): moved to BufferParams
6246 * converter.[Ch] (dvips_options): moved to BufferParams
6247 (dvipdfm_options): moved to anon namespace
6248 * bufferparams.[Ch]: added above functions.
6250 2003-07-17 André Pönitz <poenitz@gmx.net>
6254 * text2.C: don't call inset->update() anymore
6256 * metricsinfo.[Ch]: add convenience constructor
6258 2003-07-16 André Pönitz <poenitz@gmx.net>
6263 * text2.C: replace the LyXCursor::irow_ member with
6264 on-demand computation of the value
6266 2003-07-16 John Levon <levon@movementarian.org>
6268 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6270 2003-07-15 André Pönitz <poenitz@gmx.net>
6273 * text2.C: remove no more needed refresh_row
6275 2003-07-15 André Pönitz <poenitz@gmx.net>
6280 * text3.C: refresh_status tristate -> need_update bool
6282 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6284 * lyxtext.h (init): remove reinit argument (act as if always true)
6285 * text2.C: adjust to that
6287 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6289 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6290 * text3.C: use it to delete selections in some cases
6291 (bugs 441, 673, 702, 954).
6293 2003-07-14 André Pönitz <poenitz@gmx.net>
6295 * rowpainter.[Ch]: reduce interface
6297 2003-07-14 André Pönitz <poenitz@gmx.net>
6299 * BufferView_pimpl.C:
6300 * text2.C: adjust after removing unused BufferView * argument
6302 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6304 * text2.C (init): fix a crash fired on resize
6306 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6308 * buffer.[Ch]: added new closing signal
6309 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6310 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6311 BufferView::Pimpl via the closing the signal
6313 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6315 * buffer.[Ch]: take out all bv-related from buffer
6317 * BufferView_pimpl.[Ch]: connect to new signals
6318 * CutAndPaste.C: removed useless asserts
6319 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6322 * lyxfunc.C: moved view-related funciontality from vc here
6323 * paragraph.C: removed outdated comments
6326 2003-07-10 André Pönitz <poenitz@gmx.net>
6328 * BufferView_pimpl.C:
6332 * text2.C: remove InsetText::InnerCache, clean up consequences
6334 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6336 * ispell.C: fix two typos in error messages
6338 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6340 * Extend Note inset to other forms of annotation like Comment
6341 and Greyedout. Right button click gives dialog.
6343 Files modified or added (+):
6347 * ControlNote.[Ch] +
6349 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6350 frontends/controllers
6354 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6356 * aspell.C: add missing namespace lyx::support
6358 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6360 * BufferView.[Ch] (newFile): Add
6361 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6362 * LaTeX.[Ch] (message): added this signal and use it
6363 * buffer.[Ch] (busy, message): added these signals and use them
6364 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6368 * importer.C: use buffer signals instead of direct bv calling
6369 * lyx_cb.[Ch] (ShowMessage): removed
6372 * paragraph_funcs.C:
6373 * text2.C: use buffer signals
6375 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6377 * introduce namespace lyx::graphics
6379 2003-07-02 André Pönitz <poenitz@gmx.net>
6381 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6383 2003-07-01 André Pönitz <poenitz@gmx.net>
6390 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6391 text*.C to text_func.C
6393 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6395 * introduce namespace lyx::support
6397 2003-06-30 André Pönitz <poenitz@gmx.net>
6402 * text.C: re-enable --with-included-string
6404 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6406 * textcursor.C: add <config.h>
6408 * text.C (getWord): remove const from word_location arg
6410 * lyxvc.C (getLogFile): fix const type order
6412 * lyxtext.h: remove const from word_location arg, add arg name
6414 * lyxlayout.h: currect type on labeltype.
6416 * importer.C: correct \file
6418 * converter.C (intToFormat): use std:: on ret val, ws changes
6420 * bufferlist.h: correct \file
6422 * buffer.C (makeLinuxDocFile): fix const type order
6423 (makeDocBookFile): ditto
6424 (fillWithBibKeys): use std:: on stdlib args.
6426 * CutAndPaste.C: fix authors.
6427 (availableSelections): use std:: on return vector
6429 2003-06-27 André Pönitz <poenitz@gmx.net>
6431 * BufferView_pimpl.C:
6432 * bufferview_funcs.C:
6440 * text3.C: remove LyXCursor::row_ member
6443 * text.C: rename fullRebreak() to partialRebreak() and implement
6444 a fullRebreak() that really bereks fully
6446 * textcursor.h: new struct for cursor-related data
6448 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6450 * lyx_main.C (LyX): get full path of document loaded on the
6453 2003-06-26 André Pönitz <poenitz@gmx.net>
6455 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6456 remove unused/broken operator>,<,>=.
6458 * text.C: remove only use of broken operator<= in an Assert().
6460 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6462 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6463 moved errorlist_.clear to showErrorList
6465 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6467 * converter.C (scanLog, runLaTeX):
6468 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6469 move the bv->showErrorList call to the callers
6470 * lyxfunc.C: i.e. here...
6472 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6473 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6474 namespace, the second to...
6475 * buffer_funcs (BufferFormat, parseErrors): added
6476 * errorlist.C (ErrorList(TeXErrors const &)): removed
6478 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6480 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6482 2003-06-24 "Garst R. Reese" <reese@isn.net>
6486 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6488 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6490 * version.C.in: change docversion to 1.4
6492 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6494 * buffer.C: fix a bug just introduced
6496 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6498 * buffer.[Ch]: added the parseError signal and use it, removed
6500 * BufferView.[Ch] (addError): moved to ...
6501 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6502 to the Buffer::parseError signal to catch (guess what) parse errors
6503 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6505 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6507 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6508 ability to create a buffer and to return an existing one from
6509 the list. Moved these functions to...
6510 * buffer_funcs.[Ch]: added
6511 * BufferView.[Ch] (loadLyXFile): added
6512 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6513 job removed from bufferlist::loadLyXFile.
6514 * buffer.C (setReadOnly): make it work without view
6515 (i.e added an if (users))
6517 2003-06-19 Angus Leeming <leeming@lyx.org>
6520 * LyXAction.C (init):
6521 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6522 with LFUN_DIALOG_SHOW <name> <data>.
6524 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6526 * CutAndPaste.C (availableSelections): small compilation fix for
6527 ancient (gcc 2.9x) compilers
6529 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6531 * text3.C (cursorNext): add tmp var
6533 * text2.C (updateCounters): for function calling out of for clause
6534 (replaceSelectionWithString): ditto
6535 (insertStringAsParagraphs): ditto
6536 (getColumnNearX): add tmp var
6537 (setCursorFromCoordinates): add tmp var
6538 (cursorDownParagraph): add tmp var
6539 (deleteEmptyParagraphMechanism): add tmp var
6541 * text.C (insertChar): add tmp var
6543 * rowpainter.C (paintDepthBar): add tmp var
6545 * CutAndPaste.C (availableSelections): potentially check all
6546 paragraphs in a cut to fill the shown strings.
6548 2003-06-18 André Pönitz <poenitz@gmx.net>
6550 * kbmap.[Ch]: use vector<> instead of list<>
6552 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6554 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6555 pasteSelection with index
6557 * text2.C (pasteSelection): modify, call pasteSelection with index
6559 * paragraph.C (asString): reimplement version with no interval to
6560 call the one with interval.
6562 * lyxtext.h: add index arg to pasteSelection
6564 * MenuBackend.C (MenuItem): handle PasteRecent
6565 (Menu::read::Menutags): add md_pasterecent
6567 (expandPasteRecent): new function
6570 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6572 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6574 (availableSelections): new function
6576 2003-06-17 Angus Leeming <leeming@lyx.org>
6578 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6580 2003-06-17 Angus Leeming <leeming@lyx.org>
6583 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6585 * lyxfunc.C (dispatch): invoke it.
6587 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6589 * iterators.C (operator++, ParPosition): reintroduce some
6590 const_cast for the benefit of older compilers.
6592 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6594 * text3.C (dispatch): do not modify clipboard when doing
6595 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6596 LFUN_DELETE_SKIP on a selection selection
6598 2003-06-16 André Pönitz <poenitz@gmx.net>
6604 * tabular.[Ch]: IU of clone() and getLabelList();
6606 2003-06-13 André Pönitz <poenitz@gmx.net>
6608 * tabular.h: compactification
6610 2003-06-12 André Pönitz <poenitz@gmx.net>
6614 * tabular_funcs.h: some renaming plus whitespace
6616 2003-06-12 André Pönitz <poenitz@gmx.net>
6619 * BufferView_pimpl.C:
6625 * toc.C: Return a Paragraph & for ParIterator::operator*()
6627 2003-06-11 John Levon <levon@movementarian.org>
6631 * ToolbarBackend.C: add "Toolbars" section and
6634 2003-06-10 Angus Leeming <leeming@lyx.org>
6637 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6639 * lyxfunc.C (dispatch): invoke it.
6641 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6643 * main.C: protect <ios> with HAVE_IOS
6644 (main): protect sync_with_stdio with HAVE_IOS
6646 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6648 * text2.C (cutSelection): adjust
6649 (pasteSelection): adjust
6651 * messages.C: handle get of empty string
6653 * main.C (main): use sync_with_stdio(false)
6655 * lyxfunc.C (dispatch): adjust
6657 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6658 (WriteAs): remove unneeded BufferView arg.
6660 * bufferparams.h: use correct types on papersize, papersize2 and
6663 * bufferparams.C (readToken): adjust for type
6664 (writeLaTeX): add missing cases to switch.
6666 * bufferlist.C (quitWriteBuffer): adjust
6669 * buffer.C (asciiParagraph): remove some commented code.
6671 * CutAndPaste.C: remove current_view extern variable.
6672 (cutSelection): add BufferParams arg.
6673 (eraseSelection): add BufferParams arg.
6674 (pasteSelection): add Buffer const & arg
6676 2003-06-07 John Levon <levon@movementarian.org>
6679 * paragraph_funcs.C:
6680 * paragraph_pimpl.C:
6684 * paragraph.C: allow InsetERT to freely space lines,
6685 and some consolidation of code
6687 2003-06-06 José Matos <jamatos@fep.up.pt>
6689 * buffer.C (makeDocBookFile): fix bug #821
6691 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6693 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6695 2003-06-04 Angus Leeming <leeming@lyx.org>
6697 * buffer.C: bump format to 224.
6699 2003-06-05 André Pönitz <poenitz@gmx.net>
6701 * text2.C (redoParagraphs): remove two const_cast<>
6703 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6705 * ParagraphList.h: remove last remnants of NO_STD_LIST
6707 2003-06-03 Angus Leeming <leeming@lyx.org>
6709 * factory.C (createInset): small change to the way InsetExternal's params
6712 2003-06-04 André Pönitz <poenitz@gmx.net>
6714 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6716 * paragraph_pimpl.h:
6717 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6719 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6721 * undo_funcs.C: make some simple cases of undo work again
6723 2003-06-03 John Levon <levon@movementarian.org>
6725 * ispell.C: HPUX doesn't have sys/select.h
6728 2003-06-03 John Levon <levon@movementarian.org>
6730 * CutAndPaste.C: update tabular and include inset
6735 * paragraph.C: remove owningBuffer(), don't pass Buffer
6738 * factory.C: insetGraphicsParams changed
6740 2003-06-02 John Levon <levon@movementarian.org>
6746 * text3.C: remove insetparent
6748 2003-06-02 John Levon <levon@movementarian.org>
6751 * buffer.C: fix inset_iterator.end(), move out of line
6754 2003-06-01 John Levon <levon@movementarian.org>
6756 * text3.C: use a proper cut/paste when doing inset
6757 insert (from Jürgen Spitzmüller)
6759 2003-06-01 John Levon <levon@movementarian.org>
6761 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6763 2003-05-30 André Pönitz <poenitz@gmx.net>
6765 * rowpainter.C: unify second drawing phase
6767 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6769 * trans_mgr.C: remove one case of current_view
6771 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6773 * paragraph_funcs.h: remove paragraph.h include
6775 * paragraph.h: delete NO_STD_LIST stuff
6777 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6779 * buffer.h: remove paragraph.h include
6781 * ParagraphList.C: delete file
6783 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6785 * toc.C (getTocList): adjust
6787 * paragraph_pimpl.C (validate): adjust
6789 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6791 * paragraph.C (Paragraph): adjust
6792 (getPositionOfInset): use const_iterator, adjust
6793 (bibitem): use const_iterator, adjust
6794 (setInsetOwner): adjust
6796 * iterators.C (operator++): adjust
6798 * InsetList.[Ch]: Replace selfmade iterator with standard
6799 vector::iterator also introduce const_iterator. Remove getPos,
6800 getInset and setInset from InsetTable. Adjust accordingly.
6802 * BufferView.C (lockInset): adjust
6803 (ChangeInsets): adjust
6805 * tabular.[Ch]: delete commented same_id functions
6807 2003-05-28 John Levon <levon@movementarian.org>
6809 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6811 2003-05-28 André Pönitz <poenitz@gmx.net>
6813 * metricsinfo.[Ch]: remove 'fullredraw' member
6815 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6817 * lyxtextclass.C (operator): remove caching.
6819 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6823 * text2.C (cursorBottom): adjust
6824 (setCounter): use ParagraphList::find, adjust
6826 * text.C (workWidth): use ParagraphList::find, adjust
6828 * lyxcursor.C (LyXCursor): adjust
6830 * buffer.C (inset_iterator): adjust
6832 * ParagraphList.h: make iterator(value_type) private, make
6833 ParagraphList a friend of iterator.
6835 * ParagraphList.C (find): new function
6837 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6839 2003-05-27 André Pönitz <poenitz@gmx.net>
6841 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6843 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6845 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6847 2003-05-26 John Levon <levon@movementarian.org>
6849 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6851 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6853 * remove same_id from function signatures, adjust.
6855 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6857 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6859 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6861 * paragraph.C (Paragraph): get rid of same_ids parameter
6863 * ParagraphList.C (insert): adjust
6866 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6868 * paragraph_funcs.C (breakParagraph): adjust
6869 (breakParagraphConservative): adjust
6871 * buffer.C (readParagraph): adjust
6873 * ParagraphList.C (insert): take a reference instead of a pointer
6876 * paragraph.[Ch] (id): new function
6878 * bufferlist.C (newFile): adjust
6880 * ParagraphList.C (ParagraphList): adjust
6882 (push_back): take a reference instead of a pointer.
6884 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6886 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6889 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6890 set else use old code.
6892 * ParagraphList.C: remove all NO_NEXT code and only compile this
6893 code of NO_STD_LIST is set.
6895 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6897 * BufferView_pimpl.C:
6907 * graphics/GraphicsConverter.C:
6908 * graphics/PreviewLoader.C: header adjustment
6910 2003-05-23 Angus Leeming <leeming@lyx.org>
6912 * LaTeXFeatures.[Ch] (useBabel): new method.
6913 * bufferparams.C (writeLaTeX): use it.
6915 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6917 * ParagraphList.h (set): remove unused function.
6919 2003-05-23 André Pönitz <poenitz@gmx.net>
6922 * BufferView_pimpl.C:
6926 * undo_funcs.C: setUndo reworked
6928 * iterators.[Ch]: add access to topmost ParagraphList
6930 * lyxtext.[Ch] (workWidth): add a const
6932 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6934 * texrow.[Ch] (increasePos): remove function
6935 * exporter.C (export): removed unused var and outdated comment
6937 2003-05-23 Angus Leeming <leeming@lyx.org>
6939 * latexrunparams.h: rename fragile as moving_arg.
6940 * paragraph.C (simpleTeXOnePar): ditto.
6941 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6943 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6945 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6947 (textUndoOrRedo): comment out a currently unused var.
6949 * paragraph.h (NO_NEXT): enable NO_NEXT
6951 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6953 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6955 * exporter.C (Export): adjust for removeAutoInsets removal.
6957 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6959 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6961 * BufferView.[Ch] (removeAutoInsets): delete function
6963 2003-05-22 Angus Leeming <leeming@lyx.org>
6965 * latexrunparams.h: add a free_spacing variable.
6967 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6968 to pass moving_arg, as the data is stored in runparams.fragile.
6970 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6971 to Inset::latexOptional or to simpleTeXOnePar.
6973 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6974 free_spacing arg to Inset::latexOptional.
6976 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6979 2003-05-22 Angus Leeming <leeming@lyx.org>
6981 * latexrunparams.h: add fragile and use_babel variables.
6983 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6984 * buffer.C (makeLaTeXFile): store this returned value in
6985 runparams.use_babel, thus passing it to the inset::latex methods.
6987 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6988 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6990 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6991 longer has a fragile arg, as it is stored in runparams.fragile.
6993 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6994 moving_arg parameter as the data is stored in runparams.fragile.
6996 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6997 a fragile parameter as the data is stored in runparams.fragile.
6999 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7001 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7003 2003-05-22 Angus Leeming <leeming@lyx.org>
7005 * latexrunparams.h: add a 'bool nice' which defaults to false.
7007 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7008 now encapsulated within runparams.
7010 * bufferlist.C (updateIncludedTeXfiles):
7011 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7013 2003-05-22 Angus Leeming <leeming@lyx.org>
7015 * latexrunparams.h: new file containing struct LatexRunParams.
7016 * Makefile.am: add new file.
7018 * LaTeX.[Ch] (c-tor, run):
7019 * buffer.[Ch] (makeLaTeXFile):
7020 * bufferlist.[Ch] (updateIncludedTeXfiles):
7021 * converter.C (convert, scanLog):
7022 * converter.[Ch] (runLaTeX):
7023 * exporter.C (Export):
7024 * paragraph.[Ch] (simpleTeXOnePar):
7025 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7026 * paragraph_funcs.[Ch] (latexParagraphs):
7027 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7028 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7029 pass around a LatexRunParams parameter.
7031 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7033 * paragraph.[Ch]: remove unused constructor
7035 * ParagraphList.C (erase): new function, taking two iterators
7037 2003-05-22 André Pönitz <poenitz@gmx.net>
7039 * undo_funcs.C: remove duplicated code
7041 * iterator.[Ch]: operator=
7043 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7045 * tabular.C (SetMultiColumn): ws changes
7047 * rowpainter.C (paintFirst): get rid of a ->previous
7049 * lyx_cb.C (getPossibleLabel): parlist simplification
7051 * BufferView.C (ChangeInsets): simplify slightly.
7053 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7055 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7056 * lfuns.h: new LFUN_SPACE
7057 * lyxfunc.C: protected space has a new lfun
7058 * paragraph_funcs.C: read new space insets
7060 * factory.C: handle new space insets
7062 2003-05-22 André Pönitz <poenitz@gmx.net>
7065 * BufferView_pimpl.C:
7068 * undo_funcs.C: return a ParIterator from getParFromID.
7070 * iterators.[Ch]: add two const's
7072 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7074 * toc.C (getTocList): adjust
7076 * iterators.[Ch]: rework for parlist
7078 * buffer.C (par_iterator_begin): adjust
7079 (par_iterator_end): adjust
7081 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7083 * BufferView.C (removeAutoInsets): adjust
7084 (ChangeInsets): adjust
7086 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7088 * text.C (top_y): fix bug 1110
7090 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7092 * errorlist.[Ch]: added
7095 * BufferView_pimpl.C:
7096 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7099 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7101 * Makefile.am: ensure that lyx is relinked upon changes to the
7102 various "convenience" libs.
7104 2003-05-20 Angus Leeming <leeming@lyx.org>
7106 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7107 files are compiled in alphabetical order again.
7109 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7111 2003-05-19 Angus Leeming <leeming@lyx.org>
7113 * gettext.[Ch]: remove "char const * _(char const *)".
7115 2003-05-19 André Pönitz <poenitz@gmx.net>
7117 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7126 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7128 2003-05-19 André Pönitz <poenitz@gmx.net>
7132 * lyxtextclass.[Ch]:
7134 * paragraph_funcs.[Ch]:
7136 * text3.C: more insetenv work
7138 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7140 * ParagraphParameters.C (params2string): small bug fixed
7142 2003-05-16 André Pönitz <poenitz@gmx.net>
7145 * bufferview_funcs.C: patch from Kornel Benko to prevent
7146 crash when _(...) is called twice in a statement
7148 2003-05-16 André Pönitz <poenitz@gmx.net>
7155 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7157 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7159 * lyx_main.C (init): remove spurious static_cast
7161 2003-05-14 André Pönitz <poenitz@gmx.net>
7163 * BufferView.C: fix format string
7165 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7167 * BufferView.[Ch] (insertErrors): removed
7168 * BufferView.[Ch] (showErrorList): added
7169 * buffer.C (runChkTeX):
7170 * converter.C (scanLog): call showErrorList instead of inserterrors
7172 2003-05-13 André Pönitz <poenitz@gmx.net>
7174 * BufferView_pimpl.C:
7176 * bufferview_func.C:
7183 * tabular_funcs.h: tostr() from its own header
7185 * ParagraphParameters.C:
7190 * text3.C: STRCONV()
7192 2003-05-12 André Pönitz <poenitz@gmx.net>
7195 * BufferView_pimpl.C:
7199 * ParagraphParameters.C:
7203 * bufferview_funcs.C:
7216 * paragraph_funcs.C:
7220 * text3.C: boost::format -> bformat all over the place
7223 2003-05-09 André Pönitz <poenitz@gmx.net>
7225 * LColor.[Ch]: Pimpl the #include <map> away
7227 2003-05-09 John Levon <levon@movementarian.org>
7229 * bufferlist.C: never remove emergency saves
7231 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7233 * Makefile.am: better lib building
7235 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7237 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7239 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7240 (simpleTeXSpecialChars): adjust
7241 (simpleTeXSpecialChars): adjust
7242 * paragraph.C (simpleTeXOnePar): adjust
7243 * buffer.C (makeLaTeXFile): adjust
7245 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7247 * text2.C (changeDepth): parlist cleanup
7248 (getColumnNearX): ditto
7250 * rowpainter.C (getLabelFont): parlist cleanup
7252 * bufferlist.C (newFile): parlist cleanup
7254 * CutAndPaste.C (eraseSelection): parlist cleanup
7256 * BufferView_pimpl.C (trackChanges): parlist cleanup
7259 * BufferView.C (lockInset): parlist cleanup.
7260 (ChangeInsets): ditto
7262 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7264 * CutAndPaste.h: Update file header.
7266 * CutAndPaste.C: Update file header.
7267 Store the parts cut out of the Document in a limited_stack.
7268 (copySelection): adjust
7269 (pasteSelection): new function, takes the index in the limited stack.
7270 (nrOfParagraphs): adjust
7271 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7272 simplify error inset insertion.
7273 (checkPastePossible): adjust
7275 2003-05-06 John Levon <levon@movementarian.org>
7277 * text2.C: don't cast wrap inset to float
7279 2003-05-05 André Pönitz <poenitz@gmx.net>
7282 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7284 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7285 few naked Paragraph *.
7287 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7289 * bufferparams.C: Output warning if a document with missing
7290 TeX document class is loaded
7291 * exporter.C: Disable TeX exports if the document class is missing
7294 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7295 isTeXClassAvailable()
7297 2003-05-03 John Levon <levon@movementarian.org>
7300 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7301 explicit cursor show/hide
7303 * BufferView_pimpl.h:
7304 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7305 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7307 * lyxfunc.C: hide cursor before dispatching.
7312 * text3.C: remove explicit cursor hides
7314 2003-05-02 André Pönitz <poenitz@gmx.net>
7316 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7319 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7322 * text2.C: tiny whitespace
7324 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7326 * undo_funcs.C: almost only ws changes.
7328 * ParagraphList.C (splice): just return if pl is empty.
7330 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7332 * ParagraphList.C (splice): new function.
7334 * CutAndPaste.C (pasteSelection): use it
7336 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7338 * CutAndPaste.C (pasteSelection): remove the last next and
7339 previous from this file.
7341 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7343 * CutAndPaste.C (pasteSelection): more clean up, user proper
7344 ParagraphList functions for pasteing.
7346 * ParagraphList.C (insert): new function, three arg insert
7348 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7350 * ParagraphList.C (insert): new function, three arg insert
7352 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7355 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7357 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7359 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7361 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7363 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7365 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7366 (copySelection): clean up a bit.
7367 (pasteSelection): use make_pair
7369 * ParagraphList.C (ParagraphList): implement copy constructor
7370 (operator=): implement, base on copy constructor.
7373 * paragraph.C (erase): return a bool
7375 * paragraph_pimpl.C (erasePos): remove function, move contents...
7376 (erase): ... here. Return a bool.
7377 (erase): call erase instead of erasePos.
7379 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7381 * ParagraphList.h: define PitPosPair
7382 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7383 ParagraphList, fix a bug on pasting multiple pars
7384 * text2.C: change interface to C&P
7386 2003-04-30 André Pönitz <poenitz@gmx.net>
7388 * undo_func.C: revert part of yesterday's patch 2
7390 2003-04-30 John Levon <levon@movementarian.org>
7392 * LColor.C: s/tabular/table/
7394 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7396 * text3.C (dispatch): do not convert iterator -> pointer
7397 * undo_funcs.C (setCursorParUndo): ditto
7398 * text_funcs.C (transposeChars): ditto
7400 * text2.C (setLayout): ws changes only
7402 * text.C (breakParagraph): do not convert iterator -> pointer
7404 (acceptChange): ditto
7405 (rejectChange): ditto
7410 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7413 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7415 * text3.C (gotoInset): YABG (yet another bad getChar)
7417 2003-04-29 André Pönitz <poenitz@gmx.net>
7419 * paragraph.h: make operator= private unimplemented as long as
7422 * ParagraphList.C: whitespace
7425 * paragraph_pimpl.[Ch]:
7426 * paragraph_funcs.C:
7428 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7431 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7433 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7435 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7436 * paragraph.[Ch] (erase):
7437 * paragraph_pimpl.[Ch] (erase): change return type and value
7438 * text2.C (cutSelection): some rework
7440 2003-04-28 John Levon <levon@movementarian.org>
7442 * bufferlist.C: changes for unsaved changes dialog
7444 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7446 * bufferlist.C (newFile): set language (messages_) for new
7449 * buffer.C (readFile): ws changes only.
7451 2003-04-28 André Pönitz <poenitz@gmx.net>
7456 * BufferView_pimpl.C:
7457 * BufferView.C: getParFromID related ParagraphList::iterator changes
7459 2003-04-28 André Pönitz <poenitz@gmx.net>
7461 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7464 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7466 * messages.C: remove one more localedir class variable.
7468 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7470 * messages.C (getLocaleDir): singleton generation function
7472 (Messages): add a default constructor.
7474 * main.C (main): do not setup localedir here, do not call
7477 * gettext.C (_): use it.
7478 (gettext_init): delete funciton
7480 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7482 * gettext.C (getLyXMessages): new singleton generating function.
7484 * buffer.C (updateDocLang): adjust
7486 * Makefile.am (messages.o): add target
7487 (main.o): remove target
7489 2003-04-27 John Levon <levon@movementarian.org>
7494 * lyxvc.C: specify cancel button in Alert::prompt
7496 2003-04-26 John Levon <levon@movementarian.org>
7501 * LyXAction.C: add LFUN_INSET_SETTINGS
7503 * lyxfunc.C: don't enable tabular-feature when there's
7504 just any locking inset
7506 2003-04-26 John Levon <levon@movementarian.org>
7508 * bufferlist.C: re-add Cancel to buffer close question
7510 * lyxfunc.C: fix import UI a bit
7512 2003-04-25 John Levon <levon@movementarian.org>
7514 * gettext.C: remove the broken asserts for now
7516 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7518 * messages.C: make case where setlocale cannot comply work better.
7520 * buffer.C (updateDocLang): new function
7521 (changeLanguage): use it
7524 * text2.C (setCounter): use B_ a bit.
7526 * lyxlayout.C (Read): be sure to trim the label strings.
7528 * messages.C (Messages): fix typo in comment
7530 * buffer.C (readFile): set message_ after file is loaded.
7531 (makeDocBookFile): remove double return
7532 (changeLanguage): reset message_ upon language change.
7533 (B_): new func, use this to get translated buffer strings.
7535 * main.C: add myself and Jean Marc as authors.
7537 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7539 * messages.[hC]: pimplify Messages, and three different pimpls to be
7540 used in different circumstances.
7542 * gettext.[Ch]: change for use with new message code.
7544 2003-04-24 André Pönitz <poenitz@gmx.net>
7546 * factory.C: support for eqref
7548 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7550 * messages.[Ch]: add missing char
7552 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7554 * messages.[Ch]: New files
7556 2003-04-18 John Levon <levon@movementarian.org>
7560 * BufferView_pimpl.C:
7564 * text2.C: remove layout-copy/paste (bug 778)
7566 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7568 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7570 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7572 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7573 if they succeed. Act accordingly.
7575 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7577 * text2.C (setCharFont): adjust
7578 (setCounter): adjust
7579 (insertStringAsLines): adjust
7581 * text.C (leftMargin): adjust
7582 (setHeightOfRow): adjust
7584 * rowpainter.C (paintFirst): adjust
7587 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7589 (isFirstInSequence): ditto
7590 (getEndLabel): ditto
7593 * paragraph.C (getParLanguage): comment out some hard stuff.
7595 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7597 (simpleDocBookOnePar): ditto
7598 (makeDocBookFile): use ParagraphList::iterator
7600 * CutAndPaste.C (pasteSelection): adjust
7602 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7604 * text2.C (getFont): adjust
7605 (getLayoutFont): adjust
7606 (getLabelFont): adjust
7608 * paragraph_funcs.C (TeXOnePar): adjust
7610 * buffer.C (simpleLinuxDocOnePar): adjust
7611 (simpleDocBookOnePar): adjust
7613 * CutAndPaste.C (pasteSelection): adjust
7615 * BufferView.C (getEncoding): adjust
7617 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7619 2003-04-16 John Levon <levon@movementarian.org>
7621 * lyxfind.C: use parlist stuff for search/changes
7623 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7625 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7627 * text2.C (deleteEmptyParagraphMechanism): adjust
7629 * text2.[Ch] (ownerParagraph): delete func (both of them
7631 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7633 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7635 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7637 * ParagraphList.C: prepare for NO_NEXT
7639 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7641 * text2.C (getFont): adjust
7642 (getLayoutFont): adjust
7643 (getLabelFont): adjust
7645 * paragraph.C (getFont): adjust
7646 (getLabelFont): adjust
7647 (getLayoutFont): adjust
7649 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7651 2003-04-15 John Levon <levon@movementarian.org>
7655 * lyx_main.C: handle Include in .ui files
7657 2003-04-15 John Levon <levon@movementarian.org>
7659 * MenuBackend.C: make the doc files length shorter
7662 * ToolbarBackend.C: handle toolbar placement flags,
7665 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7667 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7670 * paragraph_funcs.C (TeXOnePar): adjust
7672 * paragraph.C (getLabelFont): add outerfont arg, adjust
7673 (getLayoutFont): ditto
7674 (simpleTeXOnePar): adjust
7676 * paragraph_pimpl.C (realizeFont): delete func
7678 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7680 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7681 row argument, constify cur argument.
7683 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7685 * text2.C (getFont): adjust
7686 (getLayoutFont): adjust
7687 (getLabelFont): adjust
7689 * paragraph_funcs.C (TeXOnePar): adjust
7690 (outerFont): new func...
7691 (realizeFont): ...moved out from here, changed this to facilitate
7694 * paragraph.C (getFont): take outerfont as arg, adjust
7695 (simpleTeXOnePar): add outerfont arg, adjust
7697 * buffer.C (simpleLinuxDocOnePar): adjust
7698 (simpleDocBookOnePar): adjust
7700 * CutAndPaste.C (pasteSelection): adjust
7702 * BufferView.C (getEncoding): adjust
7704 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7706 * text2.C (setCharFont): adjust
7707 (setCounter): adjust
7709 * text.C (leftMargin): adjust
7710 (setHeightOfRow): adjust
7712 * rowpainter.C (paintFirst): adjust
7715 * paragraph_pimpl.C (realizeFont): adjust
7717 * paragraph.C (isFirstInSequence): move from here...
7718 * paragraph_funcs.C (isFirstInSequence): ...to here
7720 * paragraph.C (outerHook): move from here...
7721 * paragraph_funcs.C (outerHook): ...to here
7723 * paragraph.C (depthHook): move from here...
7724 * paragraph_funcs.C (depthHook): ...to here
7726 * paragraph.C (getEndLabel): move from here...
7727 * paragraph_funcs.C (getEndLabel): ...to here
7729 * text2.C (realizeFont): move from here...
7730 * paragraph_funcs.C (realizeFont): ...to here
7732 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7734 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7736 2003-04-14 Angus Leeming <leeming@lyx.org>
7738 * LColor.[Ch]: scrap LColor mathcursor.
7740 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7742 * lyxlex.[Ch] (text): delete function
7743 * trans.C (Load): adjust
7744 * paragraph_funcs.C (readParToken): adjust
7746 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7748 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7749 vector<char> instead of a char[].
7751 * lyxlex_pimpl.C (getString): adjust
7753 (lex): use getString
7757 * lyxlex.C (text): use pimpl_->getString()
7761 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7763 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7764 (makeFontEntriesLayoutSpecific): temp var for par.size()
7765 (setLayout): temp var for ownerParagraphs().end()
7766 (fullRebreak): temp var for rows().end()
7767 (selectionAsString): temp var for boost::next(startpit), realize
7768 that the while really is a regular for loop.
7769 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7770 setCursor in one place.
7771 (setParagraph): temp vr for ownerParagraphs().end()
7772 (updateCounters): make the while loop a for loop
7773 (cutSelection): temp var for ownerParagraphs().end()
7774 (updateInset): make the do {} while() a regular for loop
7775 (getCursorX): use temp vars
7776 (setCurrentFont): use temp vars
7777 (getColumnNearX): use temp vars
7779 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7781 * text.C (transformChar): use temp var for getChar
7782 (computeBidiTables): use temp var for row->par()
7783 (fill): move temp vars for row->par() and pit->layout() earlier in
7785 (labelFill): use temp var for row->par()
7786 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7787 asc and desc, realize that pit never changes and that firstpit is
7788 just a duplicate and not needed. Exchange rit->par() with pit in a
7790 (breakAgain): use a temp var for boost::next(rit)
7791 (breakAgainOneRow): ditto
7792 (breakParagraph): use a temp var for rows().begin()
7793 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7794 (cursorRightOneWord): use temp var for cursor.par() and
7795 cursor.pos(), remove usage of tmpcursor.
7796 (cursorLeftOneWord): use temp var for cursor.par() and
7797 cursor.pos() only set cur at end of function.
7799 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7801 * text.C, text2.C: exchange all usage of Paragraph::next with
7802 boost::next(ParagraphList::iterator)
7804 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7806 * text2.C (cursorTop): simplify implementation
7807 (cursorBottom): ditto
7808 (setParagraph): use ParagraphList::iterator
7809 (setCurrentFont): adjust
7810 (getColumnNearX): adjust
7811 (cursorRight): adjust
7812 (cursorLeft): remove usage of Paragraph::previous
7813 (cursorUpParagraph): ditto
7814 (deleteEmptyParagraphMechanism): slight cleanup
7816 * text.C (isBoundary): take a Paragraph const & instead of a
7818 (addressBreakPoint): ditto
7819 (leftMargin): remove usage of Paragraph::previous.
7820 (setHeightOfRow): ditto
7821 (cursorLeftOneWord): ditto
7822 (selectNextWordToSpellcheck): ditto
7825 (breakParagraph): remove one usage of Paragraph::next
7826 (redoParagraph): ditto
7827 (acceptChange): ditto
7828 (insertChar): adjust
7829 (rowBreakPoint): adjust
7831 * bufferview_funcs.C (toggleAndShow): adjust
7833 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7835 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7836 methods to access it.
7838 * text.C: Added updateRowPositions to compute all row positions.
7839 Make top_y and getRowNearY() to use the cached y position
7841 2003-04-11 John Levon <levon@movementarian.org>
7843 * text.C (rowBreakPoint): reintroduce the labelEnd
7844 checks, code copied from the row fill stuff. Deep voodoo.
7846 * text.C (fill): add a comment and debugging for the
7849 2003-04-11 John Levon <levon@movementarian.org>
7851 * text.C: make sure fullrow insets get wrapped to the next line,
7852 even when they're in a manual label
7854 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7856 * text2.C (insertParagraph): make it take ParagraphList::iterator
7858 (setLayout): make it return ParagraphList::iterator
7859 (redoParagraphs): ditto
7861 (checkParagraph): ditto
7863 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7865 * text2.C: adjust several funcs.
7866 (realizeFont): take a ParagraphList::iterator as arg.
7867 (getLayoutFont): ditto
7868 (getLabelFont): ditto
7869 (setCharFont): ditto
7871 * text.C: adjust several funcs.
7873 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7875 * text.C (selectNextWordToSpellcheck): don't accidentally
7878 2003-04-10 John Levon <levon@movementarian.org>
7880 * ToolbarBackend.C (getIcon): special handling for
7883 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7885 * text2.C (cursorRight): a getChar assert fixed
7887 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7889 * text2.C (getFont): change to take a ParagraphList::iterator
7890 instead of Paragraph*
7891 Adjust several functions.
7893 * text.C (transformChar): change to take a ParagraphList::iterator
7894 instead of Paragraph*
7895 (singleWidth): ditto
7896 Adjust several functions.
7898 * rowpainter.C: adjust several functions
7899 * rowpainter.h:store a ParagraphList::iterator and not a
7903 2003-04-09 John Levon <levon@movementarian.org>
7908 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7909 and the "help" bits as well
7911 2003-04-09 John Levon <levon@movementarian.org>
7914 * ToolbarBackend.C: allow multiple toolbars
7916 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7918 * undo_funcs.C (setCursorParUndo): adjust
7920 * text_funcs.C (transposeChars): adjust
7922 * text3.C (gotoNextInset): adjust
7925 * text2.C (setLayout): adjust
7926 (changeDepth): adjust
7928 (redoParagraphs): adjust
7929 (selectionAsString): adjust
7930 (setParagraph): adjust
7931 (insertInset): adjust
7932 (cutSelection): adjust
7933 (copySelection): adjust
7934 (pasteSelection): adjust
7935 (insertStringAsLines): adjust
7936 (updateInset): adjust
7937 (setCursor): change to take a ParagraphList::iterator parameter
7938 (setCursorIntern): change to take a ParagraphList::iterator parameter
7939 (setCurrentFont): adjust
7940 (cursorLeft): adjust
7941 (cursorRight): adjust
7942 (deleteEmptyParagraphMechanism): adjust
7944 * text.C (breakParagraph): adjust
7945 (insertChar): adjust
7946 (acceptChange): adjust
7947 (rejectChange): adjust
7948 (selectNextWordToSpellcheck): adjust
7949 (changeCase): adjust
7953 * lyxfind.C (SearchForward): adjust
7954 (SearchBackward): adjust
7955 (nextChange): adjust
7957 * lyxcursor.C (par): adjust
7959 * lyxcursor.h: store a ParagraphList::iterator instead of a
7962 * lyx_cb.C (getPossibleLabel): adjust
7964 * bufferview_funcs.C (toggleAndShow): adjust
7966 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7969 * BufferView.C (removeAutoInsets): adjust
7970 (lockedInsetStoreUndo): adjust
7972 2003-04-09 John Levon <levon@movementarian.org>
7974 * ToolbarBackend.C: try icon without argument
7975 if with argument fails
7977 2003-04-08 John Levon <levon@movementarian.org>
7980 * ToolbarBackend.C: add getIcon(), handle tooltip,
7981 and change from "Icon" to "Item".
7983 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7985 * BufferView.C (lockInset): another bad getchar crunched
7987 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7989 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7992 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7994 * lyxfind.C (searchForward, searchBackwards): bug 782
7996 2003-04-07 John Levon <levon@movementarian.org>
7998 * paragraph.C: remove dead comment
8000 * text.C: remove troublesome depth-fiddling code
8001 in leftMargin() and rightMargin() (bug 1017)
8003 * text.C: fix breaking of rows in nested lists
8006 * text2.C (updateCounters): fix up depth values
8009 2003-04-07 John Levon <levon@movementarian.org>
8011 * BufferView_pimpl.C: clear message when doc finishes resizing,
8012 and after a mouse event
8014 * lyxfunc.C: clear message after exiting inset
8016 2003-04-07 John Levon <levon@movementarian.org>
8018 * bufferview_funcs.C: show math status not outside
8019 status in the statusbar
8021 2003-04-07 John Levon <levon@movementarian.org>
8023 * lyxfunc.C: note status changed after a depth change
8025 2003-04-04 Angus Leeming <leeming@lyx.org>
8027 * LaTeX.h: move AuxInfo operator==, != out of line.
8028 Remove LaTeX virtual destructor; nothing derives from it.
8029 Move operator()() out of public area and rename it startscript().
8030 Change protected for private.
8032 2003-04-04 Angus Leeming <leeming@lyx.org>
8035 * text2.C: remove unneeded #includes.
8037 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8039 * text2.C (dEPM): fix the heigth of the next row
8041 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8043 * text.C: squashed an invalid getChar requester + some ws changes
8045 2003-04-03 John Levon <levon@movementarian.org>
8047 * bufferview_funcs.h:
8048 * bufferview_funcs.C:
8051 * text2.C: make getStatus work for the env depth lfuns
8053 2003-04-03 John Levon <levon@movementarian.org>
8055 * bufferview_funcs.h:
8056 * bufferview_funcs.C:
8059 * text2.C: parlistize decDepth(), by merging it with incDepth()
8061 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8063 * lyxrow.h: store a ParagraphList::iterator instead of a
8064 Paragraph* and adjust other class functions to suit.
8066 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8069 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8071 * text2.C (setCursor): do not anchor to cursor row for the time being
8073 2003-04-02 John Levon <levon@movementarian.org>
8080 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8082 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8084 * paragraph.h: make ParagraphList and ParagraphList::iterator
8085 friends of Paragraph.
8087 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8089 * ParagraphList.C: Use the private next_ and previous_ from
8092 2003-04-01 John Levon <levon@movementarian.org>
8096 * Makefile.am: rename, remove defaults gunk
8099 * MenuBackend.C: remove defaults gunk
8102 * Languages.C: remove defaults gunk
8105 * lyx_main.C: error out if files couldn't be found.
8107 2003-04-02 John Levon <levon@movementarian.org>
8109 * text2.C: make incDepth() use parlist
8111 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8113 * undo_funcs.C (firstUndoParagraph): adjust
8115 * text3.C (gotoInset): adjust
8116 (dispatch): adjust, and rewrite loop.
8118 * text2.C (init): adjust, and rewrite loop.
8119 (redoParagraphs): adjust
8120 (updateInset): adjust, and rewrite loop.
8121 (deleteEmptyParagraphMechanism): adjust
8123 * tabular.C (LyXTabular): adjust
8124 (SetMultiColumn): adjust
8127 * lyxtext.[Ch] (ownerParagraph): delete function
8128 (ownerParagraphs): new function returns a ParagraphList.
8130 * BufferView.C (removeAutoInsets): adjust
8131 (insertErrors): adjust
8132 (setCursorFromRow): adjust
8134 2003-04-01 Angus Leeming <leeming@lyx.org>
8136 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8139 2003-04-02 John Levon <levon@movementarian.org>
8145 * text_funcs.C: make transposeChars a free function
8147 * lyxrow_funcs.C: remove wrong comment
8149 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8152 * rowpainter.C: adjust
8157 * lyxrow_funcs. [Ch]: new files
8159 * lyxrow.[Ch]: remove next and previous pointers
8160 (next,previous): remove accessor functions
8161 (isParEnd): move to lyxrow_funcs
8162 (lastPos): move to lyxrow_funcs
8163 (nextRowIsAllInset): move to lyxrow_funcs
8164 (lastPrintablePos): move to lyxrow_funcs
8165 (numberOfSeparators): move to lyxrow_funcs
8166 (numberOfHfills): move to lyxrow_funcs
8167 (numberOfLabelHfills): move to lyxrow_funcs
8168 (hfillExpansion): move to lyxrow_funcs
8172 * bufferview_funcs.C (toggleAndShow): adjust
8174 * RowList.h: Remove class RowList from file leave just a
8177 * RowList.C: delete file
8179 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8182 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8184 * text3.C (cursorPrevious): adjust
8185 (cursorNext): adjust
8188 * text2.C (redoHeightOfParagraph): adjust
8189 (redoDrawingOfParagraph): adjust
8192 * text.C (breakParagraph): adjust
8193 (insertChar): adjust
8196 * rowpainter.C (RowPainter): adjust
8197 (leftMargin): simplify and adjust
8198 (most rowpainter functions): adjust.
8200 * rowpainter.h: store the row as RowList::iterator not as Row*
8202 * lyxcursor.C (row): taka RowList::iterator as arg
8205 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8208 2003-04-01 Angus Leeming <leeming@lyx.org>
8210 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8211 stuff like bool Bool.
8213 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8215 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8218 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8220 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8223 * lyxtext.h (rows): drop one version and leve a const variant that
8224 returns a RowList::iterator.
8226 2003-03-31 Angus Leeming <leeming@lyx.org>
8228 * text.C (fill): ensure that the signature is the same as that in the
8231 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8233 * text2.C (redoParagraphs): adjust
8234 (updateCounters): adjust
8235 (checkParagraph): adjust
8236 (getColumnNearX): adjust and reformat a bit.
8238 * text.C (top_y): adjust
8240 (leftMargin): adjust
8241 (prepareToPrint): adjust
8243 (getRowNearY): adjust
8245 * lyxtext.h: make rowlist_ mutable.
8247 * RowList.h: add const_iterator
8248 * RowList.C: adjust for RowList::const_iterator.
8250 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8253 2003-03-31 John Levon <levon@movementarian.org>
8256 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8258 * lyx_main.C: set default fonts from using lyx_gui funcs
8260 * exporter.C: pdf_mode moved from lyxrc
8263 * lyxfunc.C: changes from above
8265 2003-03-31 John Levon <levon@movementarian.org>
8267 * lyx_main.C: fix to the last fix
8269 2003-03-31 John Levon <levon@movementarian.org>
8271 * bufferlist.C: "Load original" -> "Load Original"
8277 * format.C: more Alert cleanups
8279 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8281 * text2.C (removeParagraph): make it take a RowList::iterator as
8283 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8284 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8286 * text.C (anchor_row): make it take a RowList::iterator as arg,
8288 (computeBidiTables): make it take a const reference to Row instead
8289 of Row pointer, adjust.
8290 (leftMargin): make it take a RowList::iterator as arg, adjust.
8291 (rowBreakPoint): adjust
8292 (breakAgainOneRow): make it take a RowList::iterator as arg,
8294 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8296 * bufferview_funcs.C (toggleAndShow): adjust
8298 2003-03-30 John Levon <levon@movementarian.org>
8302 * boost-inst.C: moved to support
8304 * several files: changes as a result
8306 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8308 * text2.C (LyXText): adjust.
8310 (removeRow): make it take a RowList::iterator as arg, adjust.
8311 (fullRebreak): adjust
8312 (deleteEmptyParagraphMechanism): adjust
8313 (clearPaint): adjust
8316 * text.C (top_y): adjust
8317 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8318 (breakAgain): make it take a RowList::iterator as arg, adjust.
8319 (breakParagraph): adjust
8320 (insertChar): adjust
8323 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8324 need_break_row, and refresh_row.
8326 * text3.C (dispatch): adjust
8328 * text2.C (checkParagraph): adjust
8330 (setCursorFromCoordinates): adjust
8332 * text.C (top_y): adjust
8334 (getRow): make it return a RowList::iterator, adjust
8335 (getRowNearY): make it return a RowList::iterator, adjust
8337 * text2.C (init): adjust
8338 (insertRow): remove function
8339 (insertParagraph): adjust
8340 (redoParagraphs): adjust
8341 (fullRebreak): adjust
8342 (updateCounters): adjust
8344 * text.C (top_y): rewrite to use RowList iterators.
8346 (setHeightOfRow): rewrite to sue RowList iterators.
8347 (appendParagraph): adjust
8348 (breakAgain): adjust
8349 (breakAgainOneRow): adjust
8350 (breakParagraph): adjust
8352 (getRowNearY): adjust, and remove commented code.
8354 * lyxtext.h (firstRow): delete function
8355 (lastRow): delete function
8356 (rows): new function (const and non-const versions.)
8357 (insertRow): delete function
8359 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8361 2003-03-29 John Levon <levon@movementarian.org>
8363 * BufferView_pimpl.C: always update scrollbar top
8364 because pasting text when we're anchored could mean we
8365 miss an update altogether
8367 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8369 * text2.C (init): use rowlist_.end() and not 0.
8370 (insertRow): change to take a RowList::iterator as arg, adjust
8372 (insertParagraph): change to take a RowList::iterator as arg,
8374 (redoParagraphs): remove some debug msgs.
8376 * text.C (appendParagraph): change to take a RowList::iterator
8377 arg, adjust for this.
8378 (breakAgain): add an assert
8379 (breakAgainOneRow): ditto
8381 2003-03-29 John Levon <levon@movementarian.org>
8383 * text2.C: do not clear selection after inc/decDepth
8386 2003-03-29 John Levon <levon@movementarian.org>
8389 * buffer.C: fix broken strerrors according to Lars
8391 2003-03-29 John Levon <levon@movementarian.org>
8393 * converters.C: more Alert cleanups
8395 2003-03-29 John Levon <levon@movementarian.org>
8397 * bufferview_funcs.C: remove pointless Alert
8399 * buffer.C: fix confusing error message when
8400 a template is chmoded 000
8402 2003-03-29 John Levon <levon@movementarian.org>
8406 * BufferView_pimpl.C: Alert fixes
8410 * tabular-old.C: remove unused table compat reading
8412 2003-03-29 John Levon <levon@movementarian.org>
8417 * lyx_cb.C: more Alert cleanups
8419 * lyxfunc.C: don't allow chktex if not latex document
8421 2003-03-29 John Levon <levon@movementarian.org>
8425 * buffer.C: warnings pushed down from support/,
8428 2003-03-29 John Levon <levon@movementarian.org>
8430 * lyxfunc.C: safety check for C-r (revert)
8432 2003-03-29 John Levon <levon@movementarian.org>
8435 * bufferlist.C: several UI fixes using Alert::prompt.
8436 Fix the pointless looping quit code. Fix stupid revert
8441 * lyx_cb.C: use Alert::prompt
8443 * lyx_main.C: remove a silly question
8445 * lyxfunc.C: remove a couple of silly questions,
8448 2003-03-28 John Levon <levon@movementarian.org>
8450 * text2.C: fix bug 974 (End on empty par)
8452 2003-03-28 John Levon <levon@movementarian.org>
8454 * BufferView_pimpl.C:
8456 * lfuns.h: remove do-nothing math greek lfuns
8458 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8460 * lyxgluelength.h (isValidGlueLength): add default arg on
8461 parameter 2. Remove default arg from friend in class.
8463 * lyxlength.h (isValidLength): add default arg on parameter 2.
8464 Remove default arg from friend in class.
8466 * text2.C (LyXText): adjust, initialize refresh_row.
8470 (insertParagraph): adjst
8471 (redoParagraphs): adjust
8472 (fullRebreak): adjust
8473 (updateCounters): adjust
8474 (deleteEmptyParagraphMechanism): first attempt at fixing a
8477 * text.C (top_y): adjust
8478 (setHeightOfRow): adjust
8480 (getRowNearY): adjust
8482 * lyxtext.h: include RowList.h
8483 (~LyXText): not needed anymore, deleted.
8484 (firstRow): modify for RowList
8485 (lastRow): new function
8486 Delete firstrow and lastrow class variables, add a Rowlist
8487 rowlist_ class variable.
8489 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8492 * RowList.C (insert): fix case where it == begin().
8494 2003-03-26 Angus Leeming <leeming@lyx.org>
8496 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8497 the thesaurus dialog.
8499 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8501 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8503 * RowList.[Ch]: new files
8505 * ParagraphList.C (erase): handle the case where it == begin
8508 2003-03-25 John Levon <levon@movementarian.org>
8512 * aspell.C: add new aspell support
8515 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8518 2003-03-25 Angus Leeming <leeming@lyx.org>
8521 * LyXAction.C (init): new LFUN_INSET_INSERT.
8523 * BufferView_pimpl.C (dispatch): split out part of the
8524 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8526 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8529 2003-03-25 Angus Leeming <leeming@lyx.org>
8531 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8533 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8536 * text3.C: remove useless row->height(0)
8538 2003-03-25 John Levon <levon@movementarian.org>
8542 * text3.C: rename the refreshing stuff to better names
8544 2003-03-24 John Levon <levon@movementarian.org>
8546 * BufferView_pimpl.h:
8547 * BufferView_pimpl.C: update layout choice on a mouse
8550 2003-03-23 John Levon <levon@movementarian.org>
8552 * Makefile.am: fix commandtags.h reference
8554 2003-03-22 John Levon <levon@movementarian.org>
8556 * BufferView_pimpl.C:
8561 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8563 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8566 * text.C: take the rtl methods out of line
8568 2003-03-21 André Pönitz <poenitz@gmx.net>
8570 * metricsinfo.[Ch]: new files containing structures to be passed around
8571 during the two-phase-drawing...
8573 2003-03-21 André Pönitz <poenitz@gmx.net>
8575 * lyxtextclass.C: read 'environment' tag.
8577 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8579 * text2.C (removeRow): fix bug 964
8581 2003-03-20 John Levon <levon@movementarian.org>
8585 * text2.C: paint cleanups. Inset::update() dropped font
8588 2003-03-19 John Levon <levon@movementarian.org>
8590 * lyxfunc.C: only fitcursor/markDirty if available()
8592 2003-03-19 John Levon <levon@movementarian.org>
8594 * commandtags.h: rename to ...
8596 * lfuns.h: ... this, and renumber / cleanup
8598 2003-03-19 John Levon <levon@movementarian.org>
8600 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8601 fit the cursor after an lfun
8605 * BufferView_pimpl.h:
8606 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8608 * LyXAction.C: layout-character should have ReadOnly
8610 * ParagraphParameters.C:
8612 * bufferview_funcs.C:
8619 * undo_funcs.C: changes from above
8621 2003-03-18 John Levon <levon@movementarian.org>
8623 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8624 remove it from update()
8626 * lyxfunc.C: update layout choice after an lfun
8628 * text3.C: remove extra updateLayoutChoice()s
8630 2003-03-18 John Levon <levon@movementarian.org>
8632 * text.C: top_y change means full repaint, fix
8633 a drawing bug with cursor movement
8635 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8639 * text2.C: anchor row on setCursor
8641 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8643 * lyxtext.h: remove almost all mutable keywords
8646 * text3.C: remove const keywords accordingly
8648 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8650 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8652 (TeXEnvironment): ditto
8655 2003-03-17 John Levon <levon@movementarian.org>
8657 * text.C (rowBreakPoint): remove attempt to fix displayed
8658 math insets inside a manual label
8660 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8662 * lyxtext.h: remove BufferView* as first arg from almost all class
8664 * other files: adjust.
8666 2003-03-17 John Levon <levon@movementarian.org>
8670 * text2.C: more paint cleanups
8672 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8675 * rowpainter.C: remove "smart" background painting code
8677 2003-03-16 John Levon <levon@movementarian.org>
8682 * text3.C: add helper functions for setting refresh_row/y
8684 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8686 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8687 newline inset which *can* get inserted in the pass_thru layouts.
8688 This is primarily for literate documents.
8690 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8692 * buffer.C: increment LYX_FORMAT to 223
8694 2003-03-14 André Pönitz <poenitz@gmx.net>
8696 * textclass.h: prepare for environment handling, ws changes
8697 * lyxlayout.C: read latexheader and latexfooter tags
8699 2003-03-14 John Levon <levon@movementarian.org>
8701 * text2.C: rewrite ::status() a bit
8703 2003-03-13 John Levon <levon@movementarian.org>
8705 * lyxtext.h: add some docs
8707 2003-03-13 John Levon <levon@movementarian.org>
8712 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8714 2003-03-13 John Levon <levon@movementarian.org>
8716 * text3.C: fix appendix redrawing
8718 2003-03-13 John Levon <levon@movementarian.org>
8720 * text.C (setHeightOfRow):
8722 * rowpainter.C: make appendix mark have the text
8723 "Appendix" so the user knows what it is
8726 * LColor.C: s/appendixline/appendix/ from above
8728 2003-03-13 John Levon <levon@movementarian.org>
8730 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8732 * text.C: fix a getChar(pos) bug properly
8734 2003-03-13 Angus Leeming <leeming@lyx.org>
8737 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8738 Probably only temporary. Let's see how things pan out.
8740 * BufferView.C (unlockInset):
8741 * BufferView_pimpl.C (fitCursor):
8742 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8744 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8745 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8747 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8748 new functions that convert ParagraphParameters to and from a string.
8750 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8751 BufferView::Pimpl's dispatch.
8752 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8754 2003-03-13 André Pönitz <poenitz@gmx.net>
8758 * factory.C: make it aware of InsetEnv
8760 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8762 * text2.C (setCursor): never ask for one past last
8763 (setCursor): add some debugging messages.
8765 * text.C (singleWidth): never ask for one past last
8766 (singleWidth): ditto
8768 (rightMargin): ditto
8769 (rowBreakPoint): ditto
8770 (setHeightOfRow): ditto
8771 (prepareToPrint): ditto
8773 * rowpainter.C (paintBackground): never ask for one past last
8774 (paintText): never ask for one past last
8776 * paragraph_pimpl.C (getChar): make the assert stricter, never
8777 allow the one past last pos to be taken
8779 * paragraph.C (getChar): ws changes only
8781 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8782 (numberOfSeparators): ditto
8783 (numberOfHfills): ditto
8785 2003-03-12 John Levon <levon@movementarian.org>
8791 * paragraph_funcs.C: fix per-buffer authorlists
8793 2003-03-12 John Levon <levon@movementarian.org>
8795 * text.C: fix newline in right address
8797 2003-03-12 Angus Leeming <leeming@lyx.org>
8799 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8800 duplicate those in LyXFunc::dispatch.
8804 * ToolbarDefaults.C:
8805 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8806 Add LFUN_FONTFREE_UPDATE.
8808 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8809 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8811 * bufferview_func.[Ch]: several new functions to facilliate
8812 transfer of data to and from the character dialog.
8814 2003-03-12 John Levon <levon@movementarian.org>
8819 * paragraph_funcs.C:
8820 * paragraph_pimpl.C:
8824 * text3.C: remove META_NEWLINE in favour of an inset
8827 * rowpainter.C: remove paintNewline (done by inset)
8829 2003-03-12 John Levon <levon@movementarian.org>
8831 * paragraph_pimpl.C: complain about bad getChar()s
8832 for a while at least
8834 2003-03-12 John Levon <levon@movementarian.org>
8837 * buffer.C: move paragraph read into a separate function,
8838 a little renaming to reflect that.
8841 * bufferparams.C: remove the author_ids map, not necessary now
8844 * factory.C: moved Buffer::readInset to here
8846 * paragraph_funcs.h:
8847 * paragraph_funcs.C: readParagraph free function moved from
8850 * tabular.C: name change
8852 2003-03-12 John Levon <levon@movementarian.org>
8855 * ParagraphParameters.C: move par params input to
8858 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8859 behave like a normal read from the stream wrt reading
8860 a line vs. a \\token
8862 2003-03-12 John Levon <levon@movementarian.org>
8865 * ParagraphParameters.h:
8866 * ParagraphParameters.C: move output code to a
8869 2003-03-12 John Levon <levon@movementarian.org>
8871 * BufferView.C (insertLyXFile):
8874 * tabular.C: use a parlist iterator for creating the
8877 2003-03-12 John Levon <levon@movementarian.org>
8879 * buffer.C: make current_change static local not
8882 2003-03-12 John Levon <levon@movementarian.org>
8884 * buffer.C: fix insertStringAsLines for change tracking
8886 2003-03-12 John Levon <levon@movementarian.org>
8893 * bufferparams.C: move author list into params. Rename some
8894 functions. Move the header reading into a separate token
8895 loop. Move the header token reading into BufferParams.
8897 2003-03-12 John Levon <levon@movementarian.org>
8899 * changes.C: put debug inside lyxerr.debugging() checks
8901 2003-03-11 André Pönitz <poenitz@gmx.net>
8903 * factory.C: make it aware of InsetHFill
8905 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8907 * buffer.C (latexParagraphs): move function from here...
8908 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8911 2003-03-10 Angus Leeming <leeming@lyx.org>
8913 * LyXAction.C (init): fix bug in poplating array with multiple entries
8914 with the same LFUN (spotted by JMarc).
8916 2003-03-10 John Levon <levon@movementarian.org>
8919 * text2.C: move getColumnNearX() near its
8922 2003-03-10 John Levon <levon@movementarian.org>
8924 * text.C: fix break before a minipage
8926 2003-03-10 John Levon <levon@movementarian.org>
8928 * text.C: fix the last commit
8930 2003-03-09 John Levon <levon@movementarian.org>
8934 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8935 bug 365 (don't break before insets unless needed). Don't
8936 return a value > last under any circumstances.
8938 2003-03-09 Angus Leeming <leeming@lyx.org>
8940 * BufferView_pimpl.C (trackChanges, dispatch): call
8941 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8943 2003-03-09 Angus Leeming <leeming@lyx.org>
8945 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8946 than Dialogs::showAboutlyx().
8948 2003-03-09 Angus Leeming <leeming@lyx.org>
8950 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8951 than Dialogs::showTabularCreate().
8953 2003-03-09 John Levon <levon@movementarian.org>
8957 * text2.C: 3rd arg to nextBreakPoint was always the same.
8960 2003-03-08 John Levon <levon@movementarian.org>
8967 * text2.C: Remove the "main" bit from the "main body"
8970 2003-03-08 John Levon <levon@movementarian.org>
8972 * text.C (leftMargin): The left margin of an empty
8973 manual label paragraph should not include the label width
8976 * text.C (prepareToPrint): don't attempt to measure hfills
8977 for empty manual label paragraphs - the answer should be 0
8979 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8981 * CutAndPaste.C: remove commented code and reindent.
8983 2003-03-08 John Levon <levon@movementarian.org>
8986 * lyxfunc.C: move reloadBuffer()
8989 * BufferView.C: to here
8991 * lyxvc.C: add comment
8994 * vc-backend.C: call bv->reload() to avoid
8995 getStatus() check on MENURELOAD
8997 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8999 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9000 to an old format .dep file.
9002 2003-03-07 Angus Leeming <leeming@lyx.org>
9004 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9005 when the LFUN_MOUSE_RELEASE should have been handled by
9006 inset->localDispatch.
9008 2003-03-07 Angus Leeming <leeming@lyx.org>
9010 * BufferView_pimpl.C (dispatch):
9011 * LyXAction.C (init):
9012 * ToolbarDefaults.C (init):
9014 * lyxfunc.C (getStatus):
9015 remove LFUN_INSET_GRAPHICS.
9017 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9019 2003-03-07 Angus Leeming <leeming@lyx.org>
9022 * LyXAction.C (init):
9023 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9025 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9028 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9030 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9031 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9033 2003-03-07 Angus Leeming <leeming@lyx.org>
9035 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9038 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9040 * ParagraphList.C (front): new function
9043 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9045 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9046 and top_row_offset_. removed var first_y.
9048 * text2.C (LyXText, removeRow):
9050 * BufferView_pimpl.C:
9051 use these methods instead of using first_y
9053 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9055 * text2.C (pasteSelection): adjust for checkPastePossible
9057 * CutAndPaste.C: remove Paragraph * buf and replace with
9058 ParagraphList paragraphs.
9059 (DeleteBuffer): delete
9060 (cutSelection): change the tc type to textclass_type
9061 (copySelection): change the tc type to textclass_type
9062 (copySelection): adjust for ParagraphList
9063 (pasteSelection): change the tc type to textclass_type
9064 (pasteSelection): adjust for Paragraphlist
9065 (nrOfParagraphs): simplify for ParagraphList
9066 (checkPastePossible): simplify for ParagraphList
9067 (checkPastePossible): remove unused arg
9069 * ParagraphList.C (insert): handle the case where there are no
9072 * CutAndPaste.h: make CutAndPaste a namespace.
9074 * text3.C (dispatch): adjust
9076 * text.C (breakParagraph): add a ParagraphList as arg
9078 * paragraph_funcs.C (breakParagraph): change to take a
9079 BufferParams and a ParagraphList as args.
9080 (breakParagraphConservative): ditto
9081 (mergeParagraph): ditto
9082 (TeXDeeper): add a ParagraphList arg
9083 (TeXEnvironment): ditto
9086 * buffer.C (readLyXformat2): adjust
9087 (insertStringAsLines): adjust
9088 (latexParagraphs): adjust
9090 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9091 (cutSelection): adjust
9092 (pasteSelection): adjust
9094 * BufferView_pimpl.C (insertInset): adjust
9096 2003-03-05 Angus Leeming <leeming@lyx.org>
9099 * LyXAction.C (init):
9100 * BufferView_pimpl.C (dispatch):
9101 * lyxfunc.C (getStatus):
9102 remove LFUN_CHILD_INSERT.
9104 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9106 2003-03-05 Angus Leeming <leeming@lyx.org>
9109 * LyXAction.C (init):
9110 * src/factory.C (createInset):
9111 * lyxfunc.C (getStatus):
9112 * text3.C (dispatch):
9113 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9115 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9117 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9119 * ParagraphList.C (insert): handle insert right before end()
9120 (erase): fix cases where it can be first or last paragraph.
9122 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9124 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9125 Paragraph::next and Paragraph::previous
9128 * text.C (breakParagraph): adjust
9130 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9131 BufferParams& as arg.
9132 (breakParagraph): use ParagraphList::insert
9133 (breakParagraphConservative): take a Buffer* instead of a
9134 BufferParams& as arg.
9135 (breakParagraphConservative): use ParagraphList::insert.
9137 * buffer.C (insertStringAsLines): un-const it
9138 (insertStringAsLines): adjust
9140 * ParagraphList.C (insert): new function
9142 * CutAndPaste.C (pasteSelection): adjust
9144 * text.C (backspace): adjust
9146 * tabular.C (SetMultiColumn): adjust
9148 * CutAndPaste.C (cutSelection): adjust
9149 (pasteSelection): adjust
9151 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9152 Buffer const * as arg
9154 * ParagraphList.C (erase): new function
9155 * paragraph_funcs.C (mergeParagraph): use it
9156 (mergeParagraph): make it take a Buffer* instead of a
9157 BufferParams* as arg
9159 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9161 (breakParagraphConservative): ditto
9163 * paragraph.h: remove the breakParagraph friend
9165 * paragraph.C (eraseIntern): new function
9166 (setChange): new function
9168 * paragraph_funcs.C (mergeParagraph): make it take a
9169 ParagraphList::iterator instead of a Paragraph *, adjust
9172 * paragraph.h: move an #endif so that the change tracking stuff
9173 also works in the NO_NEXT case.
9175 2003-03-04 Angus Leeming <leeming@lyx.org>
9178 * LyXAction.C: new LFUN_INSET_MODIFY.
9180 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9181 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9183 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9185 * several files: ws changes only
9187 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9188 (TeXEnvironment): ditto
9191 * buffer.C (makeLaTeXFile): adjust
9192 (latexParagraphs): make it take ParagraphList::iterator as args
9194 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9196 * buffer.C (latexParagraphs): adjust
9198 * paragraph.C (TeXOnePar): move function...
9199 (optArgInset): move function...
9200 (TeXEnvironment): move function...
9201 * paragraph_pimpl.C (TeXDeeper): move function...
9202 * paragraph_funcs.C: ...here
9204 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9206 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9208 * buffer.C (readInset): remove compability code for old Figure and
9211 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9213 * buffer.C: ws changes
9216 * BufferView_pimpl.C: ditto
9219 * bufferlist.h: ditto
9223 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9225 * converter.[Ch]: split into itself +
9228 * Makefile.am: += graph.[Ch] + format.[Ch]
9235 * lyxrc.C: added #include "format.h"
9237 2003-02-27 Angus Leeming <leeming@lyx.org>
9239 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9242 * factory.C (createInset): add "label" to the factory.
9244 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9245 string and do no more.
9247 2003-02-27 Angus Leeming <leeming@lyx.org>
9250 * LyXAction.C (init):
9251 * factory.C (createInset):
9252 * BufferView_pimpl.C (dispatch):
9253 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9255 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9257 * lyxfunc.C (dispatch):
9258 * text3.C (dispatch): pass name to params2string.
9260 2003-02-26 Angus Leeming <leeming@lyx.org>
9262 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9264 Rearrange the ~includes. Strip out the unnecessary ones.
9266 * factory.C (createInset): reformat.
9267 create new insets for the various LFUN_XYZ_APPLY lfuns.
9269 2003-02-26 John Levon <levon@movementarian.org>
9272 * lyxrow.C: add isParStart,isParEnd helpers
9274 * paragraph.h: make isInserted/DeletedText take refs
9276 * paragraph_funcs.h:
9277 * paragraph_funcs.C: remove #if 0'd code
9282 * text.C: use lyxrow helpers above.
9283 Move draw and paint routines to RowPainter.
9284 Make several methods use refs not pointers.
9285 Make backgroundColor() const.
9286 Add markChangeInDraw(), isInInset().
9287 Merge changeRegionCase into changeCase.
9288 Make workWidth() shouldn't-happen code into an Assert.
9291 * rowpainter.C: new class for painting a row.
9294 * vspace.C: make inPixels take a ref
9296 2003-02-26 Angus Leeming <leeming@lyx.org>
9298 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9301 2003-02-25 John Levon <levon@movementarian.org>
9303 * ispell.C: give the forked command a more accurate name
9305 2003-02-22 John Levon <levon@movementarian.org>
9308 * toc.C: make TocItem store an id not a Paragraph *
9311 2003-02-21 Angus Leeming <leeming@lyx.org>
9313 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9314 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9315 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9316 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9317 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9318 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9320 * BufferView_pimpl.C (dispatch):
9321 * LyXAction.C (init):
9322 * factory.C (createInset):
9323 * lyxfunc.C (getStatus, dispatch):
9324 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9326 2003-02-21 Angus Leeming <leeming@lyx.org>
9328 * BufferView_pimpl.C (MenuInsertLyXFile):
9329 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9330 * lyxfunc.C (menuNew, open, doImport):
9331 no longer pass a LyXView & to fileDlg.
9333 2003-02-21 Angus Leeming <leeming@lyx.org>
9335 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9336 * LyXAction.C: change, BIBKEY to BIBITEM.
9337 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9338 Change InsetBibKey to InsetBibitem.
9339 Change BIBKEY_CODE to BIBITEM_CODE.
9340 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9341 * factory.C: replace insetbib.h with insetbibitem.h.
9342 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9343 * paragraph.C: replace insetbib.h with insetbibitem.h.
9344 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9345 Change bibkey() to bibitem().
9346 * text.C: remove insetbib.h.
9347 * text2.C: replace insetbib.h with insetbibitem.h.
9348 change bibkey() to bibitem().
9349 * text3.C: remove insetbib.h.
9350 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9352 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9354 * lyxrc.C (output): enclose user email in quotes (in case there are
9357 2003-02-18 John Levon <levon@movementarian.org>
9359 * buffer.h: add std::
9361 2003-02-17 John Levon <levon@movementarian.org>
9367 * pspell.C: reworking. Especially in ispell, a large
9368 number of clean ups and bug fixes.
9370 * lyxfunc.C: fix revert to behave sensibly
9372 2003-02-17 André Pönitz <poenitz@gmx.net>
9375 * commandtags.h: new LFUN_INSERT_BIBKEY
9385 * paragraph_func.C: remove special bibkey handling
9387 2003-02-17 John Levon <levon@movementarian.org>
9389 * text.C (Delete): fix case where delete at the end of
9390 the very first paragraph would not merge the pars
9392 2003-02-17 John Levon <levon@movementarian.org>
9394 * lyxrow.C: fix lastPrintablePos()
9396 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9398 * bufferparams.C (writeLaTeX): add a std:here
9400 * buffer.C: and remove a using directive there
9402 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9404 * buffer.C (makeLaTeXFile): move the code that generates the
9407 * bufferparams.C (writeLaTeX): ... in this new method
9409 * LaTeXFeatures.C (getEncodingSet): make const
9410 (getLanguages): make const
9412 * MenuBackend.C (binding): returns the binding associated to this
9414 (add): sets the status of each item by calling getStatus. Adds
9416 (read): add support for OptSubMenu
9417 (expand): remove extra separator at the end of expanded menu
9419 2003-02-15 John Levon <levon@movementarian.org>
9422 * BufferView_pimpl.C:
9424 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9425 inset code that had no actual effect. Remove unneeded status
9428 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9430 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9433 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9435 * text.C (drawLengthMarker): also draw an arrow marker for
9436 symbolic lengths (medskip...)
9438 2003-02-14 John Levon <levon@movementarian.org>
9441 * tabular.C: better method names
9443 2003-02-14 John Levon <levon@movementarian.org>
9445 * BufferView_pimpl.C:
9450 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9451 it's a more accurate name. Remove some pointless uses.
9453 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9455 * text2.C (LyXText): change order of initilizers to shut off
9458 2003-02-14 John Levon <levon@movementarian.org>
9460 * buffer.C: use ParIterator for getParFromID()
9464 * paragraph_pimpl.h:
9465 * paragraph_pimpl.C: remove unused getParFromID()
9467 2003-02-14 John Levon <levon@movementarian.org>
9469 * buffer.C: remove some very old #if 0'd parse code
9471 2003-02-13 John Levon <levon@movementarian.org>
9475 * text2.C: move hfillExpansion(), numberOfSeparators(),
9476 rowLast(), rowLastPrintable(), numberofHfills(),
9477 numberOfLabelHfills() ...
9480 * lyxrow.C: ... to member functions here.
9485 * text.C: remove LyXText::beginningOfMainBody(), and call
9486 p->beginningOfMainBody() directly. Move the check for
9487 LABEL_MANUAL into the latter.
9494 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9500 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9501 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9503 2003-02-13 John Levon <levon@movementarian.org>
9505 * CutAndPaste.C: remove debug
9507 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9509 * paragraph.C (asString): remove two unused variables
9511 * lyxtextclass.C (readTitleType):
9513 (LyXTextClass): handle new members titletype_ and titlename_
9515 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9517 2003-02-09 John Levon <levon@movementarian.org>
9520 * buffer.C: replace hand-coded list with a map for the dep clean
9522 2003-02-08 John Levon <levon@movementarian.org>
9524 * LaTeX.C: consolidate code into showRunMessage() helper
9526 2003-02-08 John Levon <levon@movementarian.org>
9531 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9532 and pass the size in explicitly
9534 * BufferView_pimpl.h:
9535 * BufferView_pimpl.C:
9537 * BufferView.C: add getCurrentChange()
9539 * BufferView_pimpl.h:
9540 * BufferView_pimpl.C: handle change lfuns
9542 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9543 for changes. Mark pasted paragraphs as new.
9545 * support/lyxtime.h:
9546 * support/lyxtime.C:
9547 * DepTable.C: abstract time_t as lyx::time_type
9550 * LColor.C: add colours for new text, deleted text, changebars
9552 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9553 package use "usenames" option.
9557 * LyXAction.C: add change lfuns
9561 * author.C: author handling
9564 * buffer.C: add a per-buffer author list, with first entry as
9565 current author. Handle new .lyx tokens for change tracking. Output
9566 author list to .lyx file. Output dvipost stuff to .tex preamble.
9567 Bump lyx format to 222.
9570 * bufferlist.C: add setCurrentAuthor() to reset current author details
9574 * bufferparams.C: add param for tracking
9576 * bufferview_funcs.C: output change info in minibuffer
9580 * changes.C: add change-tracking structure
9583 * debug.C: add CHANGES debug flag
9586 * lyxfind.C: add code for finding the next change piece
9589 * lyxrc.C: add user_name and user_email
9592 * lyxrow.C: add a metric for the top of the text line
9595 * text.C: implement accept/rejectChange()
9598 * text.C: paint changebars. Paint new/deleted text in the chosen
9599 colours. Strike through deleted text.
9603 * paragraph_pimpl.h:
9604 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9605 in the current change to the insert functions. Rework erase to
9606 mark text as deleted, adding an eraseIntern() and a range-based
9607 erase(). Implement per-paragraph change lookup and
9610 * paragraph_funcs.C: Fixup paste for change tracking.
9612 * tabular.C: mark added row/columns as new.
9614 * text.C: fix rowLast() to never return -1. Don't allow
9615 spellchecking of deleted text. Track transpose changes. Don't
9616 allow paragraph break or merge where appropriate.
9618 * text2.C: leave cursor at end of selection after a cut.
9620 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9622 * text.C (getLengthMarkerHeight):
9623 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9624 visible on screen too.
9626 2003-02-07 John Levon <levon@movementarian.org>
9628 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9630 2003-02-05 Angus Leeming <leeming@lyx.org>
9632 * lyxserver.C (read_ready): revert my patch of 11 September last year
9633 as it sends PC cpu through the roof. Presumably this means that
9634 the lyxserver will no longer run on an Alpha...
9636 2003-01-30 Angus Leeming <leeming@lyx.org>
9638 * factory.C (createInset): create an InsetCommandParam of type "index"
9639 and use it to 'do the right thing'.
9641 * text2.C (getStringToIndex): ensure that cursor position is always
9642 reset to the reset_cursor position.
9644 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9646 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9649 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9653 * lyxfunc.C: Output messages with identical spelling, punctuation,
9656 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9658 * MenuBackend.C (expandFormats): List only viewable export formats
9661 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9664 * lyxfunc.C (getStatus): Make sure that formats other than
9665 "fax" can also be disabled
9667 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9669 * text3.C (dispatch): put the lfuns that insert insets in 3
9670 groups, and call doInsertInset with appropriate arguments.
9671 (doInsertInset): new function, that creates an inset and inserts
9672 it according to some boolean parameters.
9674 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9676 * buffer.C (readFile): remember to pass on 'par' when calling
9677 readFile recursively.
9679 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9681 * MenuBackend.C (expandFormats): add "..." to import formats.
9683 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9685 * paragraph.C (asString): Remove XForms RTL hacks.
9687 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9688 * buffer.C: fix typo
9690 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9692 * Makefile.am (LIBS): delete var
9693 (lyx_LDADD): add @LIBS@ here instead.
9695 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9697 * Clarify the meaning of "wheel mouse jump"
9699 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9701 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9704 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9706 * importer.C (Loaders): do not preallocate 3 elements in the
9707 vector, since one ends up with 6 elements otherwise
9709 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9711 * DepTable.C (write): write the file name as last element of the
9712 .dep file (because it may contain spaces)
9713 (read): read info in the right order
9715 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9717 * paragraph_pimpl.C (simpleTeXBlanks):
9718 (simpleTeXSpecialChars):
9719 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9721 * tabular.C (latex): add some missing case statements. Reindent.
9723 * MenuBackend.C (expandToc): remove unused variable.
9725 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9734 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9737 2003-01-05 John Levon <levon@movementarian.org>
9740 * BufferView.C: add getEncoding()
9743 * kbsequence.C: do not store last keypress
9746 * lyxfunc.C: store last keypress here instead. Pass encoding
9749 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9751 * lyx_main.C (init): remove annoying error message when following
9752 symbolic links (bug #780)
9754 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9756 * text.C (insertChar):
9757 * lyxrc.C (getDescription): remove extra spaces
9759 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9761 * lyxrc.C (getDescription): remove extra spaces
9763 2002-12-20 John Levon <levon@movementarian.org>
9765 * text3.C: hack fix for page up/down across tall rows
9767 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9769 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9772 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9774 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9775 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9776 thesaurus is not compiled in
9778 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9780 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9782 2002-12-16 Angus Leeming <leeming@lyx.org>
9785 * lyx_main.C (init): remove override_x_deadkeys stuff.
9787 2002-12-12 John Levon <levon@movementarian.org>
9789 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9790 insert. Only remove shift modifier under strict
9793 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9795 * MenuBackend.C (expandToc): fix crash.
9797 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9799 * MenuBackend.C (expandToc): gettext on float names.
9801 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9803 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9804 implement bool empty() [bug 490]
9806 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9808 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9810 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9812 * several files: ws changes
9814 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9816 * text2.C (setCounter): clean up a bit, use boost.format.
9817 (updateCounters): initialize par upon declaration.
9819 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9820 if the layout exists. We do not just store the layout any more.
9821 (SwitchLayoutsBetweenClasses): use boost.format
9823 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9825 * converter.C (convert): if from and to files are the same, use a
9826 temporary files as intermediary
9828 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9831 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9833 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9835 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9837 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9839 * tabular.C (asciiPrintCell): use string(size, char) instead of
9842 * sgml.C (openTag): fix order of arguments to string constructor
9845 * lyxfunc.C (dispatch): use boost.format
9847 * lots of files: change "c" -> 'c'
9849 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9851 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9853 2002-11-25 Angus Leeming <leeming@lyx.org>
9855 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9857 * lyx_main.C (init): compile fix.
9859 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9861 * lyx_cb.C (start): boost.formatify
9862 do not include <iostream>
9864 * lengthcommon.C: ws only
9866 * boost-inst.C,BoostFormat.h: add more explict instantations
9868 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9870 * lots of files: handle USE_BOOST_FORMAT
9872 2002-11-21 John Levon <levon@movementarian.org>
9874 * pspell.C: fix compile
9876 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9878 * lyxfunc.C (dispatch): use boost::format
9882 * lyxfont.C (stateText): use boost::format
9884 * lyx_main.C (LyX): use boost::format
9886 (queryUserLyXDir): ditto
9889 (typedef boost::function): use the recommened syntax.
9891 * importer.C (Import): use boost::format
9893 * debug.C (showLevel): use boost::format
9895 * converter.C (view): use boost::format
9900 * bufferview_funcs.C (currentState): use boost::format
9902 * bufferlist.C (emergencyWrite): use boost::format
9904 * buffer.C (readLyXformat2): use boost::format
9905 (parseSingleLyXformat2Token): ditto
9907 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9909 * LaTeX.C (run): use boost::format
9911 * Chktex.C (scanLogFile): use boost::format
9913 * BufferView_pimpl.C (savePosition): use boost::format
9914 (restorePosition): ditto
9915 (MenuInsertLyXFile): ditto
9917 * BoostFormat.h: help file for explicit instation.
9919 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9921 * tabular.C (latex): Support for block alignment in fixed width
9924 2002-11-17 John Levon <levon@movementarian.org>
9926 * BufferView_pimpl.C:
9928 * lyxfunc.C: split filedialog into open/save
9930 2002-11-08 Juergen Vigna <jug@sad.it>
9932 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9933 by my last patch (hopefully).
9935 2002-11-08 John Levon <levon@movementarian.org>
9944 * toc.C: ParConstIterator, and use it (from Lars)
9946 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9948 * lyxtextclass.[Ch]: revise and add doxygen comments
9950 2002-11-07 John Levon <levon@movementarian.org>
9952 * text.C: fix progress value for spellchecker
9954 * toc.C: fix navigate menu for insetwrap inside minipage
9956 * paragraph_funcs.C: added FIXME for suspect code
9958 2002-11-07 John Levon <levon@movementarian.org>
9960 * BufferView_pimpl.C: fix redrawing of insets
9963 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9965 * text2.C (updateCounters): fix bug 668
9967 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9969 * text3.C (dispatch): Do not make the buffer dirty when moving the
9972 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9974 * vc-backend.C: STRCONV
9977 * text2.C (setCounter): STRCONV
9979 * paragraph.C (asString): STRCONV
9981 * lyxlength.C (asString): STRCONV
9982 (asLatexString): ditto
9984 * lyxgluelength.C (asString): STRCONV
9985 (asLatexString): ditto
9987 * lyxfunc.C (dispatch): STRCONV
9990 * lyxfont.C (stateText): STRCONV
9992 * importer.C (Import): STRCONV
9994 * counters.C (labelItem): STRCONV
9995 (numberLabel): ditto
9996 (numberLabel): remove unused ostringstream o
10001 * bufferview_funcs.C (currentState): STRCONV
10003 * buffer.C (readFile): STRCONV
10004 (asciiParagraph): ditto
10005 (makeLaTeXFile): ditto
10007 * Spacing.C (writeEnvirBegin): STRCONV
10009 * LaTeXFeatures.C (getLanguages): STRCONV
10010 (getPackages): ditto
10012 (getBabelOptions): ditto
10013 (getTClassPreamble): ditto
10014 (getLyXSGMLEntities): ditto
10015 (getIncludedFiles): ditto
10019 (scanAuxFile): ditto
10022 * LString.h: add the STRCONV macros
10024 * BufferView_pimpl.C (savePosition): STRCONV
10025 (restorePosition): ditto
10026 (MenuInsertLyXFile): ditto
10028 * vc-backend.C (scanMaster): change from submatch[...] to
10031 * funcrequest.C: include config.h
10033 * factory.C: include config.h
10035 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10037 * box.C: include config.h
10039 * LaTeX.C (scanAuxFile): change from submatch[...] to
10043 2002-10-25 Angus Leeming <leeming@lyx.org>
10045 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10047 * ispell.[Ch] (setError): new method.
10048 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10049 Use setError() insetead of goto END.
10051 * lyx_cb.C (AutoSave): move out child process into new class
10054 2002-10-30 John Levon <levon@movementarian.org>
10056 * text3.C: make start appendix undoable
10058 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10060 * lyxlength.C (inPixels): Fix returned value.
10062 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10065 2002-10-24 Angus Leeming <leeming@lyx.org>
10067 * lyxgluelength.h: no need to forward declare BufferParams
10068 or BufferView, so don't.
10070 2002-10-21 John Levon <levon@movementarian.org>
10072 * BufferView.C: menuUndo ->undo, redo
10074 * BufferView.h: document, remove dead, make some methods private
10076 * paragraph_funcs.h:
10077 * paragraph_funcs.C:
10078 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10083 * sgml.C: move sgml open/close tag into sgml.C
10085 * bufferview_funcs.h: unused prototype
10088 * lyxfunc.C: remove unused
10091 * text.C: remove unused
10093 2002-10-21 John Levon <levon@movementarian.org>
10097 * BufferView_pimpl.h:
10098 * BufferView_pimpl.C: fix mouse wheel handling based on
10099 patch from Darren Freeman
10101 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10103 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10105 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10107 * lyxlength.C (inPixels): Fix hanfling of negative length.
10108 Fix LyXLength::MU case.
10110 2002-10-16 John Levon <levon@movementarian.org>
10112 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10114 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10116 * converter.C (view): add support for $$i (file name) and $$p
10117 (file path) for the viewer command. If $$i is not specified, then
10118 it is appended to the command (for compatibility with old syntax)
10120 2002-10-14 Juergen Vigna <jug@sad.it>
10122 * undo_funcs.C (textHandleUndo): alter the order in which the
10123 new undopar is added to the LyXText, as we have to set first
10124 the right prev/next and then add it as otherwise the rebuild of
10125 LyXText is not correct. Also reset the cursor to the right paragraph,
10126 with this IMO we could remove the hack in "redoParagraphs()".
10128 2002-10-09 Angus Leeming <leeming@lyx.org>
10130 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10131 to turn off an optimisation if a new inset is to be inserted.
10133 2002-10-11 André Pönitz <poenitz@gmx.net>
10135 * lyxtext.h: make some functions public to allow access
10136 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10138 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10140 * text3.C (dispatch): when changing layout, avoid an infinite loop
10143 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10145 * lyxrc.C (read): treat a viewer or converter command of "none" as
10148 * MenuBackend.C (expandFormats): for an update, also allow the
10149 formats that are not viewable
10151 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10152 script if it is newer than the lyxrc.defaults in user directory
10154 2002-10-07 André Pönitz <poenitz@gmx.net>
10156 * text.C: Vitaly Lipatov's small i18n fix
10158 2002-09-25 Angus Leeming <leeming@lyx.org>
10160 * ispell.h: doxygen fix.
10162 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10164 * buffer.h (readFile): Add a new argument to the method, to allow
10165 reading of old-format templates.
10167 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10169 * toc.C (getTocList): Get TOC from InsetWrap.
10171 2002-09-16 John Levon <levon@movementarian.org>
10173 * lyxfunc.C: check tabular for cut/copy too
10175 2002-09-12 John Levon <levon@movementarian.org>
10177 * LyXAction.C: tidy
10180 * factory.C: add header
10182 * paragraph_funcs.h:
10183 * paragraph_funcs.C: cleanup
10185 2002-09-11 John Levon <levon@movementarian.org>
10187 * PrinterParams.h: odd/even default to true
10189 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10191 * PrinterParams.h: update printer parameters for new xforms dialog
10193 2002-09-11 Angus Leeming <leeming@lyx.org>
10195 * lyxserver.C (read_ready): re-write to make it more transparent
10196 and to make it work in coherent fashion under Tru64 Unix.
10198 2002-09-11 André Pönitz <poenitz@gmx.net>
10202 * text3.C: implement LFUN_WORDSEL
10204 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10206 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10207 make floatlist_ a boost::shared_ptr<FloatList>
10209 * lyxtextclass.C: include FloatList.h
10210 (LyXTextClass): initialize floatlist_
10211 (TextClassTags): add TC_NOFLOAT
10212 (Read): match "nofloat" to TC_NOFLOAT and use it.
10213 (readFloat): modify call to floatlist_
10217 * FloatList.[Ch] (FloatList): remove commented out float
10219 (erase): new function
10221 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10223 * MenuBackend.C (expandToc): fix crash when there is no document
10226 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10228 * many files: Add insetwrap.
10230 2002-09-09 John Levon <levon@movementarian.org>
10232 * text2.C: remove confusing and awkward depth wraparound
10234 2002-09-09 John Levon <levon@movementarian.org>
10236 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10239 * buffer.C: remove getIncludeonlyList()
10242 * lyxfunc.C: remove headers
10244 2002-09-09 Juergen Vigna <jug@sad.it>
10246 * text.C (getColumnNearX): fix form Michael this is most
10247 probably a cut&paste bug.
10249 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10251 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10253 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10254 references, ws changes.
10256 * text2.C (init): update counters after init
10257 (insertParagraph): no need to set counter on idividual paragraphs.
10258 (setCounter): access the counters object in the textclass object
10259 on in the buffer object.
10260 (updateCounters): ditto
10262 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10263 shared_ptr<Counters> to avoid loading counters.h in all
10265 (LyXTextClass): initialize ctrs_
10266 (TextClassTags): add TC_COUNTER, and ...
10267 (Read): use it here.
10268 (CounterTags): new tags
10269 (readCounter): new function
10270 (counters): new funtion
10271 (defaultLayoutName): return a const reference
10273 * counters.C (Counters): remove contructor
10274 (newCounter): remove a couple of unneeded statements.
10275 (newCounter): simplify a bit.
10276 (numberLabel): some small formatting changes.
10278 * buffer.[Ch]: remove all traces of counters, move the Counters
10279 object to the LyXTextClass.
10281 2002-09-06 Alain Castera <castera@in2p3.fr>
10283 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10284 package to set the horizontal alignment on fixed width columns.
10287 * lyx_sty.h: added tabularnewline macro def.
10289 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10291 2002-09-06 John Levon <levon@movementarian.org>
10293 * LyXAction.C: tooltips for sub/superscript
10295 * MenuBackend.C: a bit more verbose
10297 * lyxfunc.C: tiny clean
10299 * undo_funcs.C: document undo_frozen
10301 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10303 * counters.C (Counters): add missing algorithm counter.
10305 * text2.C (setCounter): lookup the counter with layouts latexname
10306 instead of by section number.
10307 (setCounter): use a hackish way to lookup the correct enum
10309 a float name->type change
10310 reset enum couners with counter name directly instead of depth value.
10312 * counters.C (Counters): remove the push_backs, change to use the
10313 float type not the float name.
10314 (labelItem): remove unused string, float name->type change
10316 * counters.h: don't include vector, loose the enums and sects vectors
10318 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10320 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10321 (Read): add float->TC_FLOAT to textclassTags
10322 (Read): and handle it in the switch
10323 (readFloat): new function
10325 * FloatList.C (FloatList): comment out the hardcoded float
10328 * lyxlayout.h: ws change.
10330 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10332 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10334 2002-09-03 Angus Leeming <leeming@lyx.org>
10336 * BufferView_pimpl.h: qualified name is not allowed in member
10337 declaration: WorkArea & Pimpl::workarea() const;
10339 * factory.C: added using std::endl directive.
10341 * text3.C: added using std::find and std::vector directives.
10343 2002-08-29 André Pönitz <poenitz@gmx.net>
10346 * text2.C: remove unused member number_of_rows
10349 * BufferView2.C: remove file, move contents to...
10350 * BufferView.C: ... here
10352 * BufferView_pimpl.C:
10353 * factory.C: move more inset creation to factory
10355 * vspace.C: avoid direct usage of LyXText, ws changes
10358 don't provide direct access to WorkArea, use two simple
10359 acessors haveSelction() and workHeight() instead
10362 2002-08-29 John Levon <levon@movementarian.org>
10364 * BufferView_pimpl.C (dispatch): do not continue when
10367 2002-08-28 André Pönitz <poenitz@gmx.net>
10369 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10372 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10374 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10376 * buffer.C: increment LYX_FORMAT to 221
10378 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10379 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10381 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10383 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10385 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10387 * factory.C (createInset): use LyXTextClass::floats
10389 * MenuBackend.C (expandFloatListInsert):
10390 (expandFloatInsert):
10393 * text2.C (setCounter):
10395 * LaTeXFeatures.C (useFloat):
10396 (getFloatDefinitions):
10398 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10400 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10401 floatlist_, with accessor floats().
10403 * FloatList.h: remove global FloatList
10405 2002-08-26 André Pönitz <poenitz@gmx.net>
10407 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10411 * BufferView_pimpl.C:
10412 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10414 2002-08-25 John Levon <levon@movementarian.org>
10416 * LyXAction.C: fix margin note description
10418 2002-08-24 John Levon <levon@movementarian.org>
10422 * bufferview_funcs.C:
10424 * undo_funcs.C: cleanups
10426 * lyxfunc.C: disable CUT/COPY when no selection
10428 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10430 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10431 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10433 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10434 Add backward compatibility to "mono", "gray" and "no".
10436 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10438 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10439 (and file_format >= 200).
10441 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10443 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10445 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10447 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10449 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10451 * BufferView_pimpl.C:
10458 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10459 inset and code to make it work with the paragraph code. The inset
10460 can be anywhere in the paragraph, but will only do the expected
10461 thing in LaTeX if the layout file contains the parameter line
10463 (or more generally, a nonzero value) for that layout.
10465 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10467 * paragraph.h: remove the declaration of undefined counters class
10470 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10472 * text2.C (setCounter): fixed enumeration mis-count as reported by
10473 Dr. Richard Hawkins.
10475 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10477 * paragraph_funcs.h: remove some unneeded includes
10479 * text.C (backspace): pasteParagraph now in global scipe
10481 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10482 (pasteSelection): ditto
10484 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10485 * paragraph_funcs.C (pasteParagraph): ... here
10487 2002-08-20 André Pönitz <poenitz@gmx.net>
10489 * commandtags.h: new LFUNs for swapping/copying table row/colums
10492 * lyxfunc.C: support for new lfuns
10494 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10497 * buffer.[Ch]: remove NO_COMPABILITY stuff
10499 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10501 * boost.C (throw_exception): new file, with helper function for
10502 boost compiled without exceptions.
10507 * ParameterStruct.h:
10508 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10510 * bufferlist.C (emergencyWriteAll): use boost bind
10512 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10514 * text.C: include paragraph_funcs.h
10515 (breakParagraph): breakParagraph is now in global scope
10517 * paragraph_funcs.[Ch]: new files
10519 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10522 * buffer.C: include paragraph_funcs.h
10523 (insertStringAsLines): breakParagraph is now in global scope
10525 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10528 * CutAndPaste.C: include paragraph_funcs.h
10529 (cutSelection): breakParagraphConservative is now in global scope
10530 (pasteSelection): ditto
10532 * buffer.h: declare oprator== and operator!= for
10533 Buffer::inset_iterator
10535 * bufferlist.C (emergencyWrite): don't use fmt(...)
10537 * text3.C: add using std::endl
10539 * BufferView.C (moveCursorUpdate): remove default arg
10541 2002-08-20 André Pönitz <poenitz@gmx.net>
10543 * buffer.[Ch]: move inline functions to .C
10546 * BufferView_pimpl.C:
10548 * buffer.[Ch]: use improved inset_iterator
10551 * paragraph.[Ch]: write one paragraph at a time
10553 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10555 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10556 style if style is not specified.
10558 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10560 * text2.C (setCounter): when searching for right label for a
10561 caption, make sure to recurse to parent insets (so that a caption
10562 in a minipage in a figure float works) (bug #568)
10564 2002-08-20 André Pönitz <poenitz@gmx.net>
10566 * text3.C: new file for LyXText::dispatch() and helpers
10568 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10570 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10572 2002-08-19 André Pönitz <poenitz@gmx.net>
10575 * text.C: new LyXText::dispatch()
10577 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10579 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10581 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10583 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10586 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10588 * Makefile.am: use $(variables) instead of @substitutions@
10590 2002-08-15 André Pönitz <poenitz@gmx.net>
10593 * BufferView_pimpl.C: streamlining mathed <-> outer world
10597 * LyXAction.C: remove unused LFUN_MATH
10599 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10601 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10603 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10605 * paragraph.C (Paragraph): reformat a bit
10606 (cutIntoMinibuffer): use builtin InsetList function instad of
10610 * buffer.C: include boost/bind.hpp, add using std::for_each
10611 (writeFileAscii): use ParagraphList iterators
10612 (validate): use for_each for validate traversal of paragraphs
10613 (getBibkeyList): use ParagraphList iterators
10614 (resizeInsets): use for_each to resizeInsetsLyXText for all
10616 (getParFromID): use ParagraphList iterators
10618 * BufferView2.C (lockInset): use paragraph list and iterators
10620 2002-08-14 John Levon <levon@movementarian.org>
10622 * lyxserver.C: remove spurious xforms include
10624 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10626 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10628 2002-08-13 André Pönitz <poenitz@gmx.net>
10631 * lyxfunc.C: further cleaning
10633 2002-08-13 André Pönitz <poenitz@gmx.net>
10635 * funcrequest.h: new constructor
10637 * funcrequest.C: move stuff here from .h
10640 * BufferView_pimpl.C:
10643 * lyxfunc.C: subsequent changes
10645 * lyxfunc.h: new view() member function
10647 * lyxfunc.C: subsequent changes
10649 2002-08-13 Angus Leeming <leeming@lyx.org>
10652 * BufferView_pimpl.C:
10660 changes due to the changed LyXView interface that now returns references
10661 to member variables not pointers.
10663 2002-08-13 Angus Leeming <leeming@lyx.org>
10665 * WordLangTuple (word, lang_code): return references to strings,
10670 * lyxtext.h: forward-declare WordLangTuple.
10675 * text.C: #include "WordLangTuple.h".
10678 * text.C: (selectNextWordToSpellcheck): constify return type.
10680 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10686 * paragraph_pimpl.h:
10689 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10690 suggested by Angus.
10691 Made updateCounter always count from start of buffer, and removed
10692 second argument (par).
10693 Reverted floats number display to '#'. Perhaps I'll try again when the
10694 code base is sanitized a bit.
10696 2002-08-12 Angus Leeming <leeming@lyx.org>
10698 * buffer.[Ch] (getLabelList): constify.
10700 2002-08-07 André Pönitz <poenitz@gmx.net>
10702 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10704 * funcrequest.h: extension to keep mouse (x,y) position
10706 2002-08-12 Juergen Vigna <jug@sad.it>
10708 * BufferView2.C (insertErrors): forbid undo when inserting error
10711 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10713 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10715 * ParagraphList.[Ch]: new files
10717 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10719 * BufferView2.C (lockInset): ParagraphList changes
10722 * bufferlist.C: ditto
10726 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10728 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10729 unused class variable counter_,
10731 * paragraph.[Ch] (getFirstCounter): delete unused function
10733 * counters.C: include LAssert.h
10734 (reset): add a new function with no arg, change other version to
10735 not have def. arg and to not allow empty arg.
10737 * text2.C (setCounter): remove empty arg from call to Counters::reset
10739 2002-08-11 John Levon <levon@movementarian.org>
10741 * Makefile.am: add WordLangTuple.h
10743 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10745 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10746 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10748 * insets/insettext.C: InsetList changes
10750 * graphics/GraphicsSupport.C (operator()): InsetList changes
10752 * toc.C (getTocList): InsetList changes
10754 * paragraph_pimpl.[Ch]: InsetList changes
10756 * paragraph.[Ch]: InsetList changes
10758 * buffer.C (inset_iterator): InsetList changes
10759 (setParagraph): ditto
10760 * buffer.h (inset_iterator): ditto
10761 * iterators.C (operator++): ditto
10762 * iterators.h: ditto
10764 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10766 * InsetList.[Ch]: new files, most InsetList handling moved out of
10769 * BufferView2.C (removeAutoInsets): InsetList changes
10771 (ChangeInsets): ditto
10773 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10775 * paragraph_pimpl.h (empty): new function
10777 * paragraph.[Ch] (empty): new function
10779 * other files: use the new Paragraph::empty function
10781 2002-08-09 John Levon <levon@movementarian.org>
10783 * lyxtext.h: remove unused refresh_height
10785 2002-08-09 John Levon <levon@movementarian.org>
10792 * paragraph.C: move sgml char escaping out of paragraph
10795 * paragraph.C: remove id setter
10799 * paragraph_pimpl.C: remove dead tex_code_break_column
10801 * bufferview_funcs.C: small cleanup
10803 * lyxfunc.C: remove dead proto
10805 * lyxtext.h: make some stuff private. Remove some dead stuff.
10807 * lyxgluelength.C: make as[LyX]String() readable
10809 2002-08-08 John Levon <levon@movementarian.org>
10814 * ToolbarDefaults.C:
10817 * toc.C: lyxaction cleanup
10819 2002-08-08 John Levon <levon@movementarian.org>
10821 * BufferView2.C: small cleanup
10824 * lyxfind.C: move unnecessary header into the .C
10826 2002-08-08 John Levon <levon@movementarian.org>
10828 * funcrequest.h: just tedious nonsense
10831 * lyx_main.C: cleanups
10834 * vspace.C: remove dead header lyx_main.h
10836 2002-08-07 Angus Leeming <leeming@lyx.org>
10839 * paragraph_pimpl.h:
10840 Forward declare class Counters in paragraph.h by moving the ctrs member
10841 variable into Paragraph::Pimpl.
10842 (counters): new method, returning a reference to pimpl_->ctrs.
10844 * text2.C: ensuing changes.
10846 2002-08-07 John Levon <levon@movementarian.org>
10848 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10850 * BufferView_pimpl.C: announce X selection on double/triple
10853 * lyx_main.C: use correct bool in batch dispatch
10855 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10857 2002-08-07 André Pönitz <poenitz@gmx.net>
10859 * funcrequest.h: new class to wrap a kb_action and its argument
10862 * BufferView_pimpl[Ch]:
10866 * lyxrc.C: subsequent changes
10869 2002-08-07 John Levon <levon@movementarian.org>
10871 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10872 document options change.
10874 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10879 * makefile.am: move counters functionality over from
10880 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10882 2002-08-06 John Levon <levon@movementarian.org>
10884 * WordLangTuple.h: new file for word + language code tuple
10895 * BufferView2.C: use WordLangTuple
10898 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10900 2002-08-06 John Levon <levon@movementarian.org>
10902 * lyx_main.C: fix cmdline batch handling
10904 2002-08-06 André Pönitz <poenitz@gmx.net>
10906 * lyxrc.C: set default for show_banner to true
10908 2002-08-06 John Levon <levon@movementarian.org>
10910 * pspell.C: fix a crash, and allow new aspell to work
10912 2002-08-06 John Levon <levon@movementarian.org>
10915 * kbmap.C: small cleanup
10918 * vspace.C: add const
10920 2002-08-05 John Levon <levon@movementarian.org>
10922 * LyXAction.C: back to tabular-insert
10924 2002-08-04 John Levon <levon@movementarian.org>
10927 * BufferView.C: cosmetic change
10929 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10939 * BufferView2.C: purge all "Lyx" not "LyX" strings
10942 * lyxcursor.C: attempt to add some documentation
10947 * ToolbarDefaults.C:
10948 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10949 merge with LFUN_TABULAR_INSERT
10956 * pspell.C: split up i/pspell implementations into separate
10957 files, many cleanups
10959 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10961 * text2.C: some cleanup
10963 * lyxfunc.C: don't check for isp_command == "none" any more, it
10964 didn't make any sense
10966 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10971 * makefile.am: move counters functionality over
10972 from text2.C/paragraph.[Ch] to counters.[Ch], and
10974 2002-08-02 John Levon <levon@movementarian.org>
10976 * buffer.C: s/lyxconvert/lyx2lyx/
10978 2002-08-02 Angus Leeming <leeming@lyx.org>
10980 * lyxlex.C: revert John's change as it breaks reading of the user
10983 2002-08-02 Angus Leeming <leeming@lyx.org>
10985 * importer.C (Import):
10986 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10987 changes due to LyXView::view() now returning a boost::shared_ptr.
10989 2002-08-02 John Levon <levon@movementarian.org>
10991 * lyxlex.C: small cleanup
10993 2002-08-02 John Levon <levon@movementarian.org>
10995 * text2.C (status): small cleanup, no logic change
10997 2002-08-01 John Levon <levon@movementarian.org>
11000 * buffer.C (writeFile): don't output alerts, caller
11004 * lyx_cb.C: from above
11006 * lyxfunc.C: allow to open non-existent files
11008 2002-07-31 John Levon <levon@movementarian.org>
11010 * lyxserver.C: don't let incidental errors get
11013 2002-07-30 John Levon <levon@movementarian.org>
11015 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11017 2002-07-30 John Levon <levon@movementarian.org>
11020 * lyxserver.C: remove I/O callback too
11022 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11024 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11027 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11029 * many files: strip,frontStrip -> trim,ltrim,rtrim
11031 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11033 * PrinterParams.h: remove extern containsOnly, and include
11034 support/lstrings.h instead.
11036 * LaTeX.C (scanAuxFile): modify because of strip changes
11038 * buffer.C (makeLaTeXFile): ditto
11039 * bufferparams.C (writeFile): ditt
11040 * lyxfont.C (stateText): ditto
11041 * lyxserver.C (read_ready): ditto
11042 * vc-backend.C (scanMaster): ditto
11044 * BufferView_pimpl.h: ws changes
11046 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11048 2002-07-26 André Pönitz <poenitz@gmx.net>
11050 * kb_sequence.C: remove unnedred usings
11052 2002-07-26 Juergen Vigna <jug@sad.it>
11054 * lyxfind.C (LyXReplace): we have to check better if the returned
11055 text is not of theLockingInset()->getLockingInset().
11057 2002-07-25 Juergen Vigna <jug@sad.it>
11059 * lyxfind.C (LyXReplace): don't replace if we don't get the
11062 * undo_funcs.C (createUndo): remove debugging code.
11064 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11066 * buffer.C (parseSingleLyXformat2Token): Use default placement
11067 when reading old floats.
11069 * FloatList.C (FloatList): Change the default placement of figure
11070 and tables to "tbp".
11072 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11074 * MenuBackend.C: using std::max
11076 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11078 * MenuBackend.C (expandToc):
11079 (expandToc2): code moved from xforms menu frontend. It is now
11080 generic and TOCs are transparent to menu frontends.
11082 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11084 * toc.C (getTocList): protect against buf=0
11086 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11087 Menu as first parameter. Now, this calls itself recursively to
11088 expand a whole tree (this will be useful for TOC handling)
11089 (expandFloatInsert): remove 'wide' version of floats
11091 * MenuBackend.h (submenuname): returns the name of the submenu.
11092 (submenu): returns the submenu itself, provided it has been
11093 created by MenuBackend::expand
11095 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11097 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11098 insets which have noFontChange == true. (bug #172)
11100 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11102 * BufferView_pimpl.C: add connection objects and use them...
11105 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11107 * MenuBackend.C (expandLastfiles):
11110 (expandFloatListInsert):
11111 (expandFloatInsert):
11112 (expand): split expand in parts
11114 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11116 * lyx_gui.C: use lyx_gui::exit()
11118 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11120 * LyXAction.C: show the failing pseudo action
11122 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11124 * buffer.C (readFile): Run the lyxconvert script in order to read
11127 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11131 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11133 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11137 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11139 2002-07-22 Herbert Voss <voss@lyx.org>
11142 * lyxlength.[Ch]: add support for the vertical lengths
11144 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11146 * toc.[Ch]: std:: fixes
11148 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11150 * lyxrc.C: do not include lyx_main.h
11152 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11158 * BufferView2.C: include "lyxlex.h"
11161 * bufferparams.h: do not #include "lyxlex.h"
11163 * lyxtextclasslist.C (Add): remove method
11164 (classlist): renamed to classlist_
11166 * paragraph_pimpl.C:
11170 * bufferview_funcs.C:
11175 * toc.C (getTocList): use BufferParams::getLyXTextClass
11177 * toc.C (getTocList): use InsetFloat::addToToc
11179 * toc.[Ch]: new files, containing helper functions to handle table
11182 * lyxfunc.C (dispatch): no need to remove spaces around command
11184 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11185 first command of the sequence; it is not very clever, but I do not
11186 have a better idea, actually
11188 * LyXAction.C (LookupFunc): make sure to remove space at the
11189 beginning and end of the command
11191 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11193 * MenuBackend.C (getMenubar): new method: return the menubar of
11195 (read): treat differently reading of menu and menubar (in
11196 particular, the menubar has no name now)
11197 (Menu::menubar): remove
11199 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11202 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11204 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11205 a bibitem inset in a RTL paragraph.
11207 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11209 * paragraph_pimpl.C: constify
11211 * BufferView_pimpl.C:
11213 * lyxfunc.C: fix dispatch in a nicer way
11215 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11217 * lyxfunc.C (dispatch):
11218 * BufferView_pimpl.C:
11219 * BufferView_pimpl.h:
11221 * BufferView.h: rename Dispatch() to dispatch()
11223 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11225 * lyxlayout.C (Read): honor DependsOn tag
11227 * lyxlayout.[Ch] (depends_on): new method
11229 * version.C.in: update lyx_docversion
11231 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11233 * paragraph.C (validate): remove from here...
11234 * paragraph_pimpl.C (validate): ... and move here
11235 (isTextAt): make it const
11237 * buffer.C (getLists): ws cleanup
11239 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11241 * language.C (read): Use iso8859-1 encoding in latex_lang
11242 (this prevents LyX from crashing when using iso10646-1 encoding).
11244 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11246 * text2.C (toggleInset): if cursor is inside an inset, close the
11247 inset and leave cursor _after_ it
11249 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11251 * lyxfunc.C: move minibuffer completion handling out of here
11253 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11255 * BufferView_pimpl.C:
11256 * LaTeX.C: fix dispatch calls
11258 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11260 * text.C (drawChars): Fix Arabic text rendering.
11262 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11266 * lyxfunc.C: remove message-push/pop
11270 * lyxfunc.C: rationalise some code by removing verboseDispatch
11271 in favour of a bool argument to dispatch()
11273 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11275 * lyx_main.C (init): make sure to read symlinks as absolute paths
11277 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11280 * lyxfunc.C: no need for commandshortcut to be a member
11282 2002-07-15 André Pönitz <poenitz@gmx.net>
11284 * converter.C: add support for $$s (scripts from lib/scripts dir)
11285 * lyx_main.C: white space
11287 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11291 * lyxrc.C: remove second exit confirmation
11293 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11298 * BufferView_pimpl.h:
11299 * BufferView_pimpl.C:
11300 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11302 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11304 * MenuBackend.C (expand): add numeric shortcuts to document menu
11306 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11308 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11310 * lyxfont.C (setLyXFamily):
11317 * buffer.C (asciiParagraph): use ascii_lowercase
11319 2002-07-15 Mike Fabian <mfabian@suse.de>
11321 * lyxlex_pimpl.C (search_kw):
11322 * lyxlex.C (getLongString):
11323 * converter.h (operator<):
11324 * converter.C (operator<):
11325 * buffer.C (parseSingleLyXformat2Token):
11327 * ToolbarDefaults.C (read):
11328 * MenuBackend.C (checkShortcuts):
11330 * LColor.C (getFromGUIName):
11331 (getFromLyXName): use the compare_ascii_no_case instead of
11332 compare_no_case, because in turkish, 'i' is not the lowercase
11333 version of 'I', and thus turkish locale breaks parsing of tags.
11335 2002-07-16 Angus Leeming <leeming@lyx.org>
11337 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11338 now takes a Buffer const & argument.
11340 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11342 * BufferView.C (resize): check there's a buffer to resize
11344 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11346 * lyxfunc.C: remove dead code
11349 * lyxserver.C: use lyx_guii::set_read_callback
11351 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11353 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11354 an inset in a RTL paragraph.
11356 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11358 * lyxfunc.C: repaint after a font size update
11360 2002-07-15 André Pönitz <poenitz@gmx.net>
11362 * lyxlength.C: inBP should be able to return negative values
11364 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11366 * lyxfunc.C: use lyx_gui::update_fonts()
11368 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11370 * lyxfunc.C: use lyx_gui::update_color()
11372 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11378 * lyxrc.C: remove file->new asks for name option, and let
11379 buffer-new take an argument
11381 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11383 * BufferView_pimpl.C: remove unneeded extra repaint()
11385 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11387 * LyXAction.C: allow command-sequence with NoBuffer
11389 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11391 2002-07-10 Angus Leeming <leeming@lyx.org>
11393 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11395 2002-07-09 Angus Leeming <leeming@lyx.org>
11397 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11399 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11401 * lengthcommon.h: whitespace
11403 * lyxfunc.C: update scrollbar after goto paragraph
11405 * lyxtext.h: factor out page break drawing, and fix it so
11406 page break/added space paints as selected nicely
11408 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11410 * BufferView_pimpl.C: add FIXMEs, clean up a little
11412 2002-07-09 André Pönitz <poenitz@gmx.net>
11414 * lyxfont.[Ch]: support for wasy symbols
11416 2002-07-08 André Pönitz <poenitz@gmx.net>
11418 * BufferView_pimpl.C: apply John's patch for #93.
11420 2002-07-05 Angus Leeming <leeming@lyx.org>
11422 * BufferView_pimpl.C (buffer): generate previews if desired.
11424 * LColor.h: add "preview" to the color enum.
11426 * LColor.C (LColor): add a corresponding entry to the items array.
11428 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11431 2002-07-05 Angus Leeming <leeming@lyx.org>
11433 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11434 The body of the code is now in the method that is passed an ostream &
11435 rather than a file name.
11436 Pass an additional only_preamble parameter, useful for the forthcoming
11439 2002-07-03 André Pönitz <poenitz@gmx.net>
11441 * lyxfunc.C: simplify getStatus() a bit for math stuff
11443 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11445 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11447 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11449 * text.C (changeRegionCase): do not change case of all the
11450 document when region ends at paragraph end (bug #461)
11452 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11454 * paragraph.C (startTeXParParams):
11455 (endTeXParParams): add \protect when necessary
11457 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11459 * BufferView_pimpl.C (workAreaExpose): remove warning
11461 2002-06-27 Angus Leeming <leeming@lyx.org>
11463 * Makefile.am: add lyxlayout_ptr_fwd.h.
11465 2002-06-26 André Pönitz <poenitz@gmx.net>
11467 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11469 2002-06-25 Angus Leeming <leeming@lyx.org>
11471 * lyxfunc.C (dispatch): Comment out the call to
11472 grfx::GCache::changeDisplay. The method no longer exists now that the
11473 pixmap generation part of the graphics loader has been moved into
11476 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11478 * text2.C: layout as layout
11480 * text.C: layout as layout
11482 * tabular.C (OldFormatRead): layout as layout
11484 * paragraph_pimpl.C (TeXDeeper): layout as layout
11485 (realizeFont): layout as layout
11487 * paragraph.C (writeFile): layout as layout
11488 (validate): layout as layout
11489 (getFont): layout as layout
11490 (getLabelFont): layout as layout
11491 (getLayoutFont): layout as layout
11492 (breakParagraph): layout as layout
11493 (stripLeadingSpaces): layout as layout
11494 (getEndLabel): layout as layout
11495 (getMaxDepthAfter): layout as layout
11496 (applyLayout): layout as layout
11497 (TeXOnePar): layout as layout
11498 (simpleTeXOnePar): layout as layout
11499 (TeXEnvironment): layout as layout
11500 (layout): layout as layout
11501 (layout): layout as layout
11503 * lyxtextclass.C (compare_name): new functor to work with
11504 shared_ptr, layout as layout
11505 (Read): layout as layout
11506 (hasLayout): layout as layout
11507 (operator): layout as layout
11508 (delete_layout): layout as layout
11509 (defaultLayout): layout as layout
11511 * lyxlayout_ptr_fwd.h: new file
11513 * lyxlayout.C (Read): layout as layout
11515 * lyx_cb.C (MenuInsertLabel): layout as layout
11517 * bufferlist.C (newFile): layout as layout
11519 * buffer.C (readLyXformat2): layout as layout
11520 (parseSingleLyXformat2Token): layout as layout
11521 (insertStringAsLines): layout as layout
11522 (asciiParagraph): layout as layout
11523 (latexParagraphs): layout as layout
11524 (makeLinuxDocFile): layout as layout
11525 (simpleLinuxDocOnePar): layout as layout
11526 (makeDocBookFile): layout as layout
11527 (simpleDocBookOnePar): layout as layout
11528 (getLists): layout as layout
11530 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11532 * CutAndPaste.C (cutSelection): layout as layout
11533 (pasteSelection): layout as layout
11534 (SwitchLayoutsBetweenClasses): layout as layout
11536 * BufferView_pimpl.C (Dispatch): layout as layout
11537 (smartQuote): layout as layout
11539 * BufferView2.C (unlockInset): layout as layout
11541 2002-06-24 André Pönitz <poenitz@gmx.net>
11543 * lyxfunc.C: fix #487
11545 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11549 * lyxfunc.C: remove display_shortcuts, show_banner
11551 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11553 * Buffer_pimpl.C: oops, update on resize
11555 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11562 * BufferView.C: use repaint()
11564 * BufferView_pimpl.h:
11565 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11566 as it's a clearer description. Remove superfluous
11569 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11571 * text.C: fix bug 488. Not ideal, but getting
11572 getWord() to work properly for the insets that
11573 matter is more difficult ...
11575 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11577 * BufferView_pimpl.C:
11580 * lyxfunc.C: remove the six million index lyxfuncs to just
11581 one, and DTRT (bug 458)
11583 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11587 * BufferView_pimpl.h:
11588 * BufferView_pimpl.C: clean up resize() stuff,
11589 and unnecessary updateScreen()s
11591 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11595 * BufferView_pimpl.h:
11596 * BufferView_pimpl.C:
11599 * minibuffer.C: remove focus management of workarea,
11600 not needed. Use screen's greyOut()
11602 2002-06-17 Herbert Voss <voss@lyx.org>
11604 * converter.C: (convert) do not post a message, when converting
11605 fails, let the calling function decide what to do in this case
11607 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11609 * lyxfunc.C: tidy up a little
11611 2002-06-16 <alstrup@diku.dk>
11613 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11614 Got rid of FORMS_H_LOCATION include. Now we are
11617 2002-06-15 LyX Development team <lyx@rilke>
11619 * buffer.[Ch] (sgmlOpenTag):
11620 (sgmlCloseTag): Added support for avoiding pernicious mixed
11621 content. Return number of lines written.
11623 (makeLinuxDocFile):
11624 (makeDocBookFile): Fixed calls to sgml*Tag.
11625 Simple white space clean.
11627 (simpleDocBookOnePar): Simple white space clean.
11629 * tabular.[Ch] (docBook): Renamed to docbook and got another
11630 argument to related with the pernicious mixed content.
11632 (docbookRow): Fixed calls for docbook inset method.
11634 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11636 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11637 so it's X11 independent.
11641 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11643 2002-06-15 Lyx Development team <lyx@electronia>
11645 * intl.h: Renamed getTrans to getTransManager.
11647 2002-06-14 Angus Leeming <leeming@lyx.org>
11649 * Makefile.am: nuke forgotten stl_string_fwd.h.
11651 2002-06-12 Angus Leeming <leeming@lyx.org>
11653 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11655 2002-06-13 Angus Leeming <leeming@lyx.org>
11658 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11660 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11662 * kbmap.C (getiso): add support for cyrillic and greek
11664 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11668 * BufferView_pimpl.h:
11669 * BufferView_pimpl.C: move bogus scrolling logic
11672 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11675 * BufferView_pimpl.C: view->resize() change
11677 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11679 * BufferView_pimpl.C: topCursorVisible
11682 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11686 * lyx_gui.C: move to frontends/
11690 * lyx_main.C: changes from above
11692 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11699 * lyx_main.C: minor tidy
11701 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11703 * BufferView_pimpl.h:
11704 * BufferView_pimpl.C:
11706 * BufferView.C: make painter() const,
11709 * BufferView2.C: use screen() accessor
11712 * lyx_main.C: some minor cleanup
11714 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11716 * BufferView_pimpl.h:
11717 * BufferView_pimpl.C: remove enter/leaveView,
11720 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11725 * BufferView_pimpl.h:
11726 * BufferView_pimpl.C: only construct screen once,
11729 * lyxrc.C: remove pointless comment
11731 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11734 * BufferView.C: remove active() and belowMouse()
11736 * BufferView_pimpl.h:
11737 * BufferView_pimpl.C: use workarea() not workarea_,
11738 and make it use a scoped_ptr instead
11740 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11742 * lyx_gui.C: add debug message on BadWindow
11744 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11746 * sp_spell.C: fdopen is not part of the C++ standard.
11748 * paragraph.C (InsetIterator): use >= instead of ==
11750 2002-06-07 Angus Leeming <leeming@lyx.org>
11752 Fixes needed to compile with Compaq cxx 6.5.
11753 * BufferView_pimpl.C:
11760 * lyxtextclasslist.C:
11765 all c-library variables have been moved into namespace std. Wrap
11766 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11771 Add a using std::abs declaration.
11773 * kbmap.h (modifier_pair):
11774 * paragraph.h (InsetTable, InsetList):
11775 * lyxfont.h (FontBits):
11776 type definition made public.
11778 * bufferlist.C (emergencyWriteAll): the compiler complains that
11779 there is more than one possible lyx::class_fun template to choose from.
11780 I re-named the void specialisation as lyx::void_class_fun.
11782 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11784 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11785 the compiler is is unable to find tostr in write_attribute.
11787 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11789 * buffer.C (sgmlError): hide #warning
11791 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11793 * xtl/*: get rid of xtl, which is not in use anyway
11795 * LyXAction.C (init):
11796 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11797 were unimplemented xtl experimentation
11799 2002-06-04 André Pönitz <poenitz@gmx.net>
11801 * lyxfunc.C: disable array operation on simple formulae
11803 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11805 * converter.C: constify a bit
11807 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11809 * lyx_gui.C: check xforms version correctly
11811 2002-04-30 Herbert Voss <voss@lyx.org>
11813 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11816 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11818 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11819 attempt to register it with a VCS)
11821 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11823 * lyx_main.C (init): honor variables LYX_DIR_13x and
11826 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11830 * lyx_main.C: fix a crash on bad command line,
11831 and give a useful exit status on error
11833 * lyxfunc.C (doImport): allow -i lyx to work
11835 2002-03-30 André Pönitz <poenitz@gmx.net>
11837 * lyxfunc.C: mathed font changes
11839 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11854 * trans_mgr.h: srcdocs, and some minor cleanups
11856 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11858 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11859 call getFont all the time)
11861 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11863 * switch from SigC signals to boost::signals
11865 2002-05-29 André Pönitz <poenitz@gmx.net>
11867 * paragraph_pimpl.C (getChar): don't call size() too often...
11869 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11871 * paragraph_pimpl.C (insertChar): do not try to update tables when
11872 appending (pos == size())
11874 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11875 in order to reduce drastically the number of comparisons needed to
11876 parse a large document
11878 2002-05-29 André Pönitz <poenitz@gmx.net>
11884 * textclasslist.[Ch]:
11885 * sp_ispell.h: whitespace change
11887 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11889 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11890 lyxaction directly now.
11892 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11896 * lyxvc.C: remove unused headers
11898 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11905 * undo_funcs.C: some cleanups. Use shared_ptr
11906 and a template for the undo stacks.
11908 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11910 * BufferView_pimpl.h:
11911 * BufferView_pimpl.C:
11918 * text2.C: use key_state/mouse_state
11920 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11922 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11925 * chset.C: change include order
11926 (loadFile): use boost regex and get rid of LRegex and LSubstring
11928 * Makefile.am (BOOST_LIBS): new variable
11929 (lyx_LDADD): use it
11931 * LaTeX.C: change include order.
11932 (scanAuxFile): use boost regex and get rid of LRegex and
11936 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11941 * FontInfo.C: moved to frontends/xforms/
11944 * FontLoader.C: moved into frontends for GUIIzation
11949 * lyxfunc.C: changes from above
11951 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11953 * LColor.C: remove spurious X include
11955 * BufferView_pimpl.C:
11960 * text2.C: move font metrics to frontends/
11962 2002-05-24 Juergen Vigna <jug@sad.it>
11964 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11965 setting the undo_cursor.
11967 * ParagraphParameters.h: include local includes first.
11969 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11971 * BufferView_pimpl.C:
11972 * BufferView_pimpl.h:
11976 * screen.C: move WorkArea into frontends/
11982 * BufferView2.C: move LyXScreen into frontends/
11986 * lyx_gui.C: move lyxlookup into frontends/xforms/
11988 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11991 * BufferView_pimpl.C:
12001 * bufferview_funcs.C:
12014 * vc-backend.C: move LyX/XFormsView into frontends/
12016 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12028 * text2.C: move Painter to frontends/
12030 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12032 * buffer.C: comment out some some code that depend upon lyx_format
12035 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12036 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12038 * buffer.h (NO_COMPABILITY): turn off compability
12040 * ColorHandler.C: include scoped_array.hpp
12042 * font.C: Use more specific smart_ptr header.
12045 * ShareContainer.h: ditto
12046 * lyx_main.h: ditto
12048 * FontInfo.h: ditto
12049 * BufferView_pimpl.h: ditto
12050 * ColorHandler.h: ditto
12052 * kbmap.C (defkey): change call to shared_ptr::reset
12054 2002-05-21 Juergen Vigna <jug@sad.it>
12056 * buffer.C (insertErtContents): fix to insert ert asis if it is
12057 non empty. Skip it completely if it contains only whitespaces.
12059 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12061 * BufferView_pimpl.C:
12062 * BufferView2.C: clear selection on paste (bug 393)
12064 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12066 * DepTable.C: include ctime
12068 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12070 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12072 2002-05-14 Juergen Vigna <jug@sad.it>
12074 * text.C (breakParagraph): fixed function to honor the keepempty
12075 layout in the right maner and also to permit the right breaking
12076 algorithm on empty or non empyt keepempty paragraphs.
12078 * paragraph.C (breakParagraph): we have to check also if the par
12079 is really empty (!size()) for isempty otherwise we do the wrong
12082 2002-05-10 Juergen Vigna <jug@sad.it>
12084 * buffer.[Ch] : The following are only changes to the ert
12085 compatibility read reading old LaTeX layout and font stuff and
12086 convert it to ERTInsets.
12088 * buffer.h: added isErtInset().
12090 * buffer.C (struct ErtComp): add a fromlayout bool to check
12091 if we're inside a LaTeX layout.
12092 (isErtInset): new helper function.
12093 (insertErtContents): look for other ert insets before this one
12094 and insert the contents there, so that we don't have subsequent
12095 ERT insets with nothing between them. This way we create only one
12096 inset with multiple paragraphs. Also check if we don't insert only
12097 spaces ' ' as they are ignored anyway afterwards in the .tex file
12098 so if we have only spaces we will ignore this latex part in the
12100 (parseSingleLyXformat2Token \\layout): better compatibility when
12101 reading layout-latex stuff.
12102 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12104 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12105 stuff after reading the inset only get the information back from
12108 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12110 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12112 * LaTeXFeatures.C (getBabelOptions): New method.
12114 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12116 * BufferView_pimpl.C (Dispatch): work around missing argument for
12119 2002-05-08 Juergen Vigna <jug@sad.it>
12121 * text.C (leftMargin): handle paragraph leftindent.
12123 * paragraph.C (writeFile): write the new \\leftindent tag.
12124 (validate): handle leftindent code.
12125 (TeXEnvironment): handle paragraphleftindent code again.
12127 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12129 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12130 for paragrap_extra indent code and new token \\leftindent.
12131 (latexParagraphs): handle the leftindent as environment.
12133 * ParameterStruct.h: added leftindent support.
12135 * ParagraphParameters.C (leftIndent): added support functions for
12136 the paragraph left indent.
12138 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12141 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12143 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12146 * text.C (computeBidiTables): No bidi in insetERT.
12148 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12151 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12153 * version.C.in: pre 5
12155 2002-05-02 José Matos <jamatos@fep.up.pt>
12156 * buffer.C (makeDocBookFile): white space changes, add newline to
12158 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12160 * tabular.C (docBook): fix typo.
12162 2002-05-03 Juergen Vigna <jug@sad.it>
12164 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12165 change in LyXText as we can not be sure it was not freed.
12166 (drawOneRow): remove unused code.
12168 * text.C (drawInset): redo the calculation of the need_break_row as
12169 it could have a row which was already freed.
12170 (draw): look at the return value of drawInset and return false if
12171 it also returned false.
12172 (paintRowText): look at the return value of draw and return false if
12173 it also returned false.
12175 * lyxtext.h: added bool return type to drawInset() and draw() so that
12176 if we have a change in the row so that the rowbreak has to be redone
12177 we abort drawing as it will be called again.
12179 2002-05-02 Juergen Vigna <jug@sad.it>
12181 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12182 a change in the maintext also if we're inside an inset.
12183 (Dispatch): set the cursor again after a break line and after the
12184 screen has been updated as it could be we're in a different row.
12186 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12187 to set the cursor behind the pargraph with > size().
12188 (setCursor): check also for the same paragraph when checking where
12189 to put the cursor if we have a NFR inset.
12191 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12192 parts of layout read further up as it still was in the wrong
12195 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12197 * screen.C (drawFromTo): change sine fullRebreak always return
12200 * buffer.C (parseSingleLyXformat2Token): reindent some
12202 * BufferView_pimpl.C (update): change since fullRebreak always
12204 (Dispatch): git rid of the last hardcoded "Standard"s.
12206 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12208 * text2.[Ch] (fullRebreak): make it return void now that we always
12211 2002-04-30 Juergen Vigna <jug@sad.it>
12213 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12214 ert compatibility check for "latex" layout.
12216 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12218 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12219 minipages: use col% instead of p%, and also use the current font.
12220 (makeLaTeXFile): Fix use babel condition.
12221 (parseSingleLyXformat2Token): Correct font when reading old floats.
12223 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12225 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12226 inserting list of floats.
12228 2002-04-25 Herbert Voss <voss@lyx.org>
12230 * MenuBackend.C (expand): don't add the graphics extensions to the
12233 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12235 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12236 non-existing layout, do not complain if it was the default layout
12237 of the original class (bug #342)
12239 2002-04-24 Juergen Vigna <jug@sad.it>
12241 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12242 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12244 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12246 * buffer.C (getBibkeyList): If using \bibliography, return the
12247 option field with the reference itself. Enables us to provide natbib
12248 support when using \bibliography.
12250 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12252 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12254 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12255 natbib is provided by the LaTeX class.
12257 2002-04-23 Juergen Vigna <jug@sad.it>
12259 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12262 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12264 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12266 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12268 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12269 ensuremath around textordmasculine, textordfeminine and
12272 2002-04-19 Juergen Vigna <jug@sad.it>
12274 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12275 reinitializing the buffer otherwise row-dimensions may be wrong.
12276 (update): reset also the selection cursors if they do exits otherwise
12277 their x/y positions may be wrong.
12279 * text2.C (cursorDown): don't enter the inset if we came from a row
12280 above and are one row over the inset.
12282 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12283 really leaving an inset.
12285 2002-04-18 Juergen Vigna <jug@sad.it>
12287 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12288 of the selected paragraph does not have the selected layout also if
12291 * text2.C (setLayout): fixed bug which did not change last selected
12294 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12295 changed the read and substituted \\end_float with \\end_inset!
12297 * BufferView_pimpl.C (cursorPrevious):
12298 (cursorNext): fixed to make it work with rows heigher than the work
12299 area without moving the cursor only the draw of the row.
12300 (workAreaMotionNotify): fix jumping over high rows.
12302 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12304 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12307 2002-04-16 Juergen Vigna <jug@sad.it>
12309 * text2.C (setCursor): set also the irow().
12310 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12312 (cursorDown): support for locking an inset if the x_fix value goes
12313 inside it. That way I can transverse insets too with cursor up/down.
12315 * lyxrow.h: added irow helper function same as other (i) functions.
12317 * BufferView_pimpl.C (cursorPrevious):
12318 (cursorNext): fixed for insets!
12320 2002-04-15 Juergen Vigna <jug@sad.it>
12322 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12323 position otherwise it is wrong in some cases.
12325 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12326 inside the inset before the call.
12328 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12330 * buffer.[Ch] (getBibkeyList): make it const.
12332 2002-04-12 Juergen Vigna <jug@sad.it>
12334 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12336 * text2.C (getCursorX): new helper function
12337 (setCursor): compute also ix_
12338 (setCursorFromCoordinates): set also ix.
12340 * lyxcursor.h: added ix_ and helper functions.
12342 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12344 * buffer.C (insertStringAsLines): dont break paragraph if the this
12345 paragraph is inside an inset which does not permit it!
12347 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12348 also with no chars on this paragraph.
12349 (paintRowText): only paint stuff if it's inside the workarea!
12351 * paragraph.C (breakParagraph): honor keepempty flag and break the
12352 paragraph always below not above.
12354 * BufferView2.C (unlockInset): update the paragraph layout on inset
12355 unlock as we changed paragraph in such a case.
12357 * lyxfind.C (LyXFind): clear the former selection if not found!
12359 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12360 again called in insertChar().
12362 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12363 an inset which uses the whole row!
12364 (rightMargin): ditto.
12365 (insertChar): force a rebreak if we inserted an inset!
12367 2002-03-28 Herbert Voss <voss@lyx.org>
12369 * lyxlength.[Ch]: add inBP() to get the right PS-point
12370 units (BigPoint). With inPixels we have rounding errors
12372 2002-04-11 Juergen Vigna <jug@sad.it>
12374 * text2.C (setCursorFromCoordinates): set iy to the right value.
12375 (setCursor): add check if row->previous exists!
12377 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12378 an old float_type as this was the case in the old code!
12380 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12382 * BufferView2.C (showLockedInsetCursor): use iy
12383 (fitLockedInsetCursor): ditto
12385 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12386 locked insets as there we have the right value now.
12388 * lyxcursor.C: added iy_ variable and iy functions to set to the
12389 baseline of cursor-y of the locked inset.
12391 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12392 (setCursor): fixed for insets which need a full row.
12394 * text.C (rowLastPrintable): don't ignore the last space when before
12395 an inset which needs a full row.
12396 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12397 as last character of a row when before a inset which needs a full row.
12399 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12401 * version.C.in: update date
12403 * text2.C (fullRebreak): try to always return true and see what
12406 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12408 * MenuBackend.C (expand): use Floating::listName
12410 * FloatList.C (FloatList): add listName argument to the built-in
12413 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12414 text associated with the float.
12416 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12418 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12420 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12422 * ShareContainer.h: add a couple of missing typenames.
12424 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12426 * lyxrc.C (getDescription): use _() correctly rather than N_().
12428 2002-03-28 Herbert Voss <voss@lyx.org>
12430 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12431 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12433 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12435 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12436 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12438 2002-03-29 Juergen Vigna <jug@sad.it>
12440 * lyxfunc.C (dispatch): add a missing fitCursor call.
12442 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12443 it was scrolled by a cursor move, so return the bool status.
12445 * BufferView.C (fitCursor): return the bool flag also to the outside
12446 world as this is needed.
12448 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12450 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12451 call the edit() as it is not needed (and wrong) IMO.
12452 (workAreaButtonPress): set the screen_first variable before evt.
12453 unlock the inset as this may change screen_first and then we have
12454 a wrong y position for the click!
12456 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12458 * MenuBackend.C (expand): another translation that I missed
12460 2002-03-28 Juergen Vigna <jug@sad.it>
12462 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12464 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12466 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12468 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12470 * MenuBackend.C (expand): fix export/view/update when there is no
12473 2002-03-27 Herbert Voss <voss@lyx.org>
12475 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12478 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12480 * bufferview_funcs.C (currentState): only show paragraph number
12481 for is DEVEL_VERSION is set.
12483 * lyxfunc.C (dispatch): put warning in INFO channel
12485 * MenuBackend.C (expand): translate the name of floats
12487 * FloatList.C (FloatList): mark the float names for translation
12489 * converter.C (convert): use LibScriptSearch
12491 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12493 * MenuBackend.C (defaults): fix default menu (we might as well get
12496 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12498 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12501 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12503 * lyxvc.C: reorder includes.
12505 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12507 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12510 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12512 * CutAndPaste.C: change layouts earlier on paste
12513 to avoid crashing when calling getFont()
12515 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12517 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12520 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12522 * WorkArea.C: remove 'Pending' debug message.
12524 * most files: ws cleanup
12526 * buffer.[Ch]: ws changes
12528 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12530 2002-03-21 Juergen Vigna <jug@sad.it>
12532 * tabular.C (SetMultiColumn): collapse also the contents of the
12533 cells and set the last border right. Added a Buffer const * param.
12535 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12537 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12540 2002-03-19 Juergen Vigna <jug@sad.it>
12542 * text2.C (clearSelection): reset also xsel_cache.
12544 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12545 where it needs to be called (John tells us to do so too :)
12546 (selectionLost): reset sel_cache.
12548 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12550 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12552 * text2.C (setCursorIntern): put debuging code in INSETS channel
12554 2002-03-19 André Pönitz <poenitz@gmx.net>
12556 * lyxfunc.C: tiny whitespace change
12558 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12560 * ToolbarDefaults.C (init):
12561 * LyXAction.C (init):
12563 * BufferView_pimpl.C (Dispatch):
12564 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12566 2002-03-19 Allan Rae <rae@lyx.org>
12568 * exporter.C (Export): removeAutoInsets before doing anything else.
12569 While I've just introduced a dependency on BufferView this really is
12570 the best place to clean the buffer otherwise you need to cleanup in
12571 a dozen places before calling export or cleanup in a dozen functions
12574 * converter.C (runLaTeX):
12575 (scanLog): Better handling of removeAutoInsets and screen updates.
12577 * lyxfunc.C (dispatch): small whitespace changes
12579 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12581 * WorkArea.C (C_WorkAreaEvent): return a value.
12582 (event_cb): return 1 if we handled the event, 0 otherwise.
12584 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12586 2002-03-18 Juergen Vigna <jug@sad.it>
12588 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12589 (GetAdditionalWidth): ditto.
12590 (RightLine): ditto.
12593 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12594 inset if we're there actually (probably not used right now but this
12595 is the direction to go for unifying code).
12596 (paste): disable code to clear the selection.
12598 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12599 inside an InsetText and move the check further up as it is in the
12602 * text2.C (pasteSelection): set a selection over the pasted text.
12604 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12606 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12607 and libgraphics to build on Cygwin.
12609 2002-03-15 Juergen Vigna <jug@sad.it>
12611 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12612 inserting an Inset into the paragraph. I know this is not the best
12613 fix but we already use current_view in CutAndPaste so we will remove
12614 all of it's using at the same time.
12616 * buffer.C (sgmlError): deactivated function till it is rewritten in
12617 the right mode, now it can create problems.
12619 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12620 before accessing it.
12622 2002-03-14 Juergen Vigna <jug@sad.it>
12624 * undo_funcs.C (textHandleUndo): do the right thing when updating
12625 the inset after the undo/redo.
12627 * text2.C (setCursor): just some testcode for #44 not ready yet.
12629 * undo_funcs.C (textHandleUndo): set the next() and previous()
12630 pointers of the paragraph to 0 before deleting otherwise we have
12631 problems with the Paragraph::[destructor].
12633 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12634 on a paragraph insertion.
12636 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12638 * buffer.C (asciiParagraph): use += operator for char append to
12641 * paragraph.C (getFontSettings): compare >= not just >
12642 (highestFontInRange): ditto
12645 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12647 * paragraph.C: change several algorithm to be more appripriate for
12648 the problem domain. This is lookip in FontList and in the InsetList.
12650 2002-03-13 André Pönitz <poenitz@gmx.net>
12653 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12655 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12660 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12662 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12664 * Painter.C (display): anon helper function, adjust code for this
12666 (pixmap): remove function.
12668 * Painter.h: remove private display variable.
12670 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12672 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12674 * WorkArea.[Ch]: remove figinset_canvas cruft.
12676 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12678 * lyxtextclass.C (operator): add one item cache optimization.
12680 * bufferlist.h: doxy changes
12682 * bufferlist.C: ws changes
12684 * DepTable.[Ch] (ext_exist): place const in the right spot.
12686 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12688 (workAreaExpose): call resizeInsets when the with BufferView changes.
12689 (Dispatch): adjust for protectedBlank removal
12690 (specialChar): call updateInset if the insert went ok.
12692 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12693 specialChar instead.
12695 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12697 * BufferView.h: doxy change
12699 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12701 * lyxtextclass.C (operator[]): remove non-const version
12702 (defaultLayout): remove non-const version
12704 2002-03-12 Juergen Vigna <jug@sad.it>
12706 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12707 did resize the LyXText too.
12709 * buffer.C (readLyXformat2): set layout information on newly allocated
12712 * tabular.C (OldFormatRead): set layout information on the paragraph.
12714 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12716 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12718 2002-03-11 Juergen Vigna <jug@sad.it>
12720 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12722 (resizeCurrentBuffer): force also the insets to resize themselfes.
12723 (moveCursorUpdate): fixed up for InsetText.
12725 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12728 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12729 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12730 value of Dialogs::tooltipsEnabled().
12731 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12733 2002-03-08 Juergen Vigna <jug@sad.it>
12735 * BufferView_pimpl.C (updateInset): update inset inside inset also
12736 if it isn't inside theLockingInset().
12738 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12740 * buffer.C (asciiParagraph): redo some of the word and line length
12742 (getLists): look for Caption instead of caption.
12744 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12746 * buffer.C (Buffer): initialize niceFile to true
12748 (makeLinuxDocFile):
12749 (makeDocBookFile): make sure niceFile is true on exit
12751 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12753 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12755 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12757 * LyXSendto.C: remove.
12758 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12759 * lyx_gui.C: remove now-redundant comment.
12760 * ColorHandler.h: remove forward declaration of class WorkArea.
12761 * lyxfunc.C: remove #include "WorkArea.h".
12763 2002-03-07 Juergen Vigna <jug@sad.it>
12765 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12766 got moved away with the DEPM and also set the inset_owner always
12767 right which before could have been omitted.
12769 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12771 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12772 wanted layout is not found.
12774 2002-03-07 Juergen Vigna <jug@sad.it>
12776 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12778 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12780 * paragraph.C (breakParagraph): use default layout not layout of
12782 (Paragraph): clear ParagraphParameters.
12784 2002-03-06 Juergen Vigna <jug@sad.it>
12786 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12787 otherwise it would not be a valid lenght. Fixed a special case in
12788 the minipage compatibility read where we end the document with a
12791 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12792 was set as it could be 0 for InsetTexts first entry.
12794 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12796 * paragraph.C (writeFile): if layout is empty write out
12797 defaultLayoutName().
12799 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12800 file without named layout we set layout to defaultLayoutName().
12802 2002-03-06 Juergen Vigna <jug@sad.it>
12804 * CutAndPaste.C (copySelection): set layout for new paragraph.
12806 * text.C (prepareToPrint): leave ERT inset left aligned
12807 (leftMargin): don't indent paragraphs inside ERT insets
12809 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12811 * paragraph.C (breakParagraph): dont call clear do the work manually
12813 * paragraph.[Ch] (clear): remove function
12815 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12817 * paragraph.C (Paragraph): dont call clear, the work has already
12820 * lyxtextclass.C (operator): assert if n is empty
12822 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12823 work manually instead.
12825 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12827 * BufferView_pimpl.C: protect selectionLost against text == 0
12829 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12831 * text.C (breakParagraph): fix a setting layout to '0' problem.
12833 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12835 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12836 final location of file, for the included files, and graphics.
12838 2002-03-05 Juergen Vigna <jug@sad.it>
12840 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12842 2002-03-04 Juergen Vigna <jug@sad.it>
12844 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12846 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12847 last column of multicolumn cells.
12848 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12850 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12852 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12853 file if it doesn't go to a temporary file.
12855 * buffer.C (sgmlOpenTag):
12856 (sgmlCloseTag): remove extra newline insertion.
12858 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12860 * text.C (getRowNearY): comment out debug msg
12862 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12864 * text2.C: first -> first_y
12866 * text.C (getRowNearY): add some attemts at a possible
12867 optimization, not working.
12869 * tabular.[Ch]: add BufferParams to several function so that newly
12870 created paragraph can be initialized to he default layotu for the
12873 * tabular-old.C (ReadOld): add buf->params to call of Init
12875 * screen.C: rename text->first to text->first_y
12877 * paragraph.C (breakParagraph): always set layout in the broken
12880 * lyxtextclass.C (Read): remove lowercase
12883 (delete_layout): ditto
12885 * lyxtext.h: rename first -> first_y
12887 * lyxlayout.C (Read): remove lowercase
12890 (obsoleted_by): ditto
12892 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12894 * buffer.C (insertErtContents): add params are to InsetERT
12895 (parseSingleLyXformat2Token): add code to check if a paragraphs
12896 layout really exist.
12897 (parseSingleLyXformat2Token): add params to several inset
12899 (asciiParagraph): remove lowercase, do the layout comparisons with
12902 * BufferView_pimpl.C (cursorNext): first -> first_y
12903 (resizeCurrentBuffer): first -> first_y
12904 (updateScrollbar): first -> first_y
12905 (scrollCB): first -> first_y
12906 (workAreaMotionNotify): first -> first_y
12907 (workAreaButtonPress): first -> first_y
12908 (checkInsetHit): first -> first_y
12909 (cursorPrevious): first -> first_y
12910 (cursorNext): first -> first_y
12911 (Dispatch): add buffer_->params to severl inset contructors
12913 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12915 * lyxlayout.C (Read): remove some debug info that I forgot.
12917 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12918 clean up the code slightly.
12919 (makeLinuxDocFile): ditto
12920 (makeDocBookFile): ditto
12922 * text2.C: layout as string
12924 * text.C: layout as string
12926 * paragraph_pimpl.C: layout as string
12928 * paragraph.[Ch]: layout as string
12930 * lyxtextclasslist.[Ch]: layout as string
12932 * lyxtextclass.[Ch]: layout as string
12934 * lyxtext.h: layout as string
12936 * lyxlayout.[Ch]: layout as string
12938 * lyx_cb.C: layout as string
12940 * bufferview_funcs.C: layout as string
12942 * bufferparams.C: layout as string
12944 * buffer.C: layout as string
12946 * LyXView.[Ch]: layout as string
12948 * LaTeXFeatures.[Ch]: layout as string
12950 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12952 * BufferView_pimpl.C: change current_layout to string, remove
12957 (workAreaButtonRelease): layout as string
12959 * BufferView2.C (unlockInset): adjust
12961 * vspace.C (asLatexCommand): use an explict temp variable.
12963 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12965 * Makefile.am: use FRONTEND_*
12967 2002-03-01 Juergen Vigna <jug@sad.it>
12969 * tabular.C (SetWidthOfMulticolCell): changed to something better
12970 I hope but still work in progress.
12971 (recalculateMulticolumnsOfColumn): renamed function from
12972 recalculateMulticolCells as it is more appropriate now.
12973 (SetWidthOfCell): calculate multicols better.
12975 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12977 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12979 * lyxfunc.C (processKeySym): print sequence also if it is
12980 `deleted' (complete)
12982 * kbsequence.C (print): print sequence even if it is deleted
12983 (complete would be a better word, actually).
12985 * lyxfunc.C (dispatch): print complete options after a prefix key
12987 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12989 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12991 * text2.C (setCharFont): eliminate setCharFont code duplication.
12993 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12995 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12996 LFUN_TABULAR_FEATURE (bug #177)
12998 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13000 * Makefile.am: remove figure.h
13002 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13004 * Bufferview_pimpl.C:
13016 * text2.C: remove #include "lyx_gui_misc.h".
13018 * LaTeX.C: added #include <cstdio>
13020 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13022 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13023 that the paragraph following this one can have.
13025 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13027 * vspace.C (asLatexCommand): fix bogus gcc warning
13029 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13031 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13033 * text2.C (setLayout): get rid of redundant code
13035 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13037 * text2.C (incDepth): make sure depth cannot be increased beyond
13040 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13042 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13043 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13045 * PainterBase.h (image):
13046 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13047 a LyXImage const *.
13049 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13053 * BufferView_pimpl.C:
13054 * BufferView_pimpl.h:
13074 * sp_spell.C: remove fig inset, and the crap house of
13075 cards that follows it
13077 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13082 * os2_errortable.h:
13083 * nt_defines.h: move .h into support/
13085 * vms_defines.h: remove
13087 * WorkArea.C: add space in debug output
13091 * buffer.C: add WITH_WARNINGS
13095 * bufferlist.C: s/retrive/retrieve/, add docs
13104 * chset.C: add docs
13106 * lyxgui.C: add ID to X error handler
13108 * lyxtestclass.c: fix typo
13110 2002-02-26 Juergen Vigna <jug@sad.it>
13112 * tabular_funcs.C (write_attribute): changed so that some default
13113 attributes are not written at all.
13114 (getTokenValue): set default values before trying to read the
13115 value so we have the return value always set as default if we don't
13116 find the token we search for.
13118 * tabular.C (Write): write bools as bools not as strings!
13120 2002-02-22 Juergen Vigna <jug@sad.it>
13122 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13123 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13125 * text.C (leftMargin): don't add an indent for paragraphs inside
13126 tabular cells (fix #208).
13128 2002-02-21 José Matos <jamatos@fep.up.pt>
13130 * tabular.C (docBook): fixed support for long tables.
13132 2002-02-20 Juergen Vigna <jug@sad.it>
13134 * text2.C (getFont): get the drawing font of the Inset if this
13135 paragraph is inside an inset (only important for InsetERT for now).
13137 * buffer.C (insertErtContents): use new lanugage params in ERT
13140 * CutAndPaste.C: commenting out seemingly uneeded code.
13142 2002-02-19 Allan Rae <rae@lyx.org>
13144 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13145 Iterators might be simple to use but they also get invalidated.
13146 (removeAutoInsets): renamed saved cursor tracking variables and added
13147 some comments to clarify what everything does.
13149 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13156 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13157 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13160 * vc-backend.h: remove #include "support/syscall.h"
13164 * converter.C: rearrange #includes in Lars' approved fashion.
13166 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13167 forward declare class Timeout in the header file.
13169 * XFormsView.C: changes due to the above.
13171 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13172 similar to LyXView.
13174 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13175 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13177 2002-02-18 José Matos <jamatos@fep.up.pt>
13179 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13182 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13184 * a lot of small ws changes
13185 * add a lot of using std::XXX
13186 * use std construcs some places where approp.
13187 * use some exisint stuff from lyxfunctional where approp.
13188 * Make file changes to use partial linking (lets test this now...)
13190 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13194 remove #include "support/syscontr.h" as it's redundant. Always has been.
13202 change Systemcalls::System to Systemcalls::Wait and
13203 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13204 No change of functionality, just reflects the stripped down Systemcalls
13207 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13209 * debug.[Ch]: add a GRAPHICS type to the enum.
13211 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13213 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13215 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13218 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13220 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13221 match the changes below.
13223 * text2.C (toggleInset): if there is not editable inset at cursor
13224 position, try to see if cursor is _inside_ a collapsable inset
13227 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13229 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13230 document menu has a nice checkbox
13232 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13234 * lyxlength.C (asLatexString): change PW to output as percent of
13237 * lengthcommon.C: change '%' to 't%'
13239 * lyxfunc.C (dispatch): a few comments from Martin
13241 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13245 * BufferView_pimpl.h:
13246 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13249 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13251 * vspace.C (inPixels): fix compiler warning
13253 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13255 * lyxfunc.C (getStatus): fix status message for disabled commands.
13257 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13259 * BufferView_pimpl.C: fix crash on close buffer
13260 during selection (#227)
13262 2002-01-27 Herbert Voss <voss@lyx.org>
13264 * buffer.C: link old Figure to new graphic inset
13266 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13268 * FontLoader.C (getFontinfo): Change the latex font names in order
13269 to match the names of type1inst.
13271 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13273 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13275 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13276 (extchanged): ditto
13278 (remove_files_with_extension): ditto
13279 (remove_file): ditto
13282 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13283 document is smaller than the work area height. Do not initialize
13284 static variables to 0.
13286 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13288 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13290 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13291 LFUN_LAYOUT_PARAGRAPHS.
13293 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13294 tabular. It is possible to provide a possible cell, which will
13295 typically be the actcell from the corresponding insettabular
13297 * lyxfunc.C (getStatus): small cleanup; disable
13298 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13301 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13303 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13305 * paragraph.C (startTeXParParams):
13306 (endTeXParParams): new methods. The LaTeX code to
13307 start/end paragraph formatting
13308 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13309 empty (fixes bug #200)
13311 * vspace.C (inPixels): adapt to the change below
13312 (inPixels): [later] more cleanups (remove unused variables)
13314 * lyxlength.C (inPixels): change to use a width and a height as
13317 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13319 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13320 Replaced with \paperwidth
13322 * DepTable.C (insert): add std:: qualifier
13324 2002-01-18 Allan Rae <rae@lyx.org>
13326 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13329 * text.C (drawInset): Turned out I didn't know enough about how
13330 rebreaking worked. This fixes most of the redraw problems. I see
13331 an occasional cursor trail when a line is broken now and the cursor
13332 placement can seem out by a few pixels also after a rebreak.
13334 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13336 * buffer.C (parseSingleLyXformat2Token): update because minipage
13337 width is now a LyXLength
13339 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13341 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13344 2002-01-17 Juergen Vigna <jug@sad.it>
13346 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13348 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13349 is set correctly and the inset is updated correctly.
13351 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13353 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13354 the beginning of the loop.
13356 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13358 * lyxrc.C: improve help for use_scalable_fonts
13360 2002-01-17 Allan Rae <rae@lyx.org>
13362 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13364 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13366 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13367 make sure to set their inset_owner to the right value (bug #171)
13369 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13372 * DepTable.C: Implement mtime checking to reduce time spent doing
13375 2002-01-16 Juergen Vigna <jug@sad.it>
13377 * tabular.C (GetAdditionalHeight): one of error fixed.
13379 * lyxrc.C (output): small fix in writing use_pspell.
13381 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13383 * sp_base.h: #include LString.h
13385 2002-01-16 Allan Rae <rae@lyx.org>
13387 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13388 Can someone check this please?
13390 * text.C (drawInset): It was possible that p.row would be removed by
13391 breakAgainOneRow upsetting a few other settings. There may be another
13392 small tweak possible by setting need_break_row = 0 when p.row has been
13393 removed but I don't know enough about the logic here.
13395 2002-01-15 Allan Rae <rae@lyx.org>
13397 * text.C (insertChar): removed conditional truism.
13399 * BufferView2.C (removeAutoInsets): More tweaks.
13400 cur_par_prev could be a stray pointer. Check for trailing empty line
13401 in case last line was cur_par and only had an error inset on it.
13403 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13405 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13408 * vc-backend.C (most methods):
13409 * exporter.C (Export):
13410 * converter.C (convert):
13412 * LyXSendto.C (SendtoApplyCB):
13413 * lyxfunc.C (dispatch):
13417 * lyx_cb.C (AutoSave):
13419 * BufferView_pimpl.C (MenuInsertLyXFile):
13420 * buffer.C (runChktex): use Buffer::filePath().
13422 * buffer.h: rename filename to filename_; rename filepath to
13423 filepath_ and make it private
13424 (filePath): new method
13426 * buffer.C (writeFile): use fileName()
13429 * lyx_main.C (init): fix starting of LyX when the binary is a
13430 link from so,ewhere else.
13432 * minibuffer.C: include <cctype> for isprint
13434 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13436 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13437 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13438 name clash with InsetCollapsable's width function.
13440 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13442 * lastfiles.C: include <iterator>
13444 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13446 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13449 * buffer.C (makeLaTeXFile): ditto.
13450 Also make loop operation more transparent.
13452 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13454 * ToolbarDefaults.C: remove trailing comma closing namespace.
13456 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13458 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13461 * trans.C (Load): comment out unused variable, allowed.
13463 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13465 * minibuffer.[Ch] (append_char): new method to recieve input from the
13466 drop-down completion browser. If a key was pressed, then recieve this
13467 char and append it to the existing string.
13468 (peek_event): modify the positioning data passed to the completion
13469 browser so that it can be placed above the minibuffer rather than below.
13470 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13472 * LyXAction.C (init): alloe error-next for readonly documents.
13474 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13477 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13479 * bufferlist.C (readFile): create the buffer _after_ checking that
13482 * lyxfunc.C (verboseDispatch): fix handling of arguments
13484 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13486 * lyxrc.C: use string::erase() instead of initializing to "".
13489 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13491 * BufferView_pimpl.h:
13492 * BufferView_pimpl.C:
13495 * text2.C: tell X when we have made a selection for copying
13497 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13499 * BufferView_pimpl.C (MenuInsertLyXFile):
13500 * lyxfunc.C (menuNew):
13502 (doImport): add shortcuts to directory buttons
13504 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13507 * lyxfunc.C (setStatusMessage):
13508 (getStatusMessage): new methods
13509 (getStatus):use setStatusMessage instead of setErrorMessage
13510 (dispatch): when function is disabled, set error message here
13511 [instead of in getStatus previously]
13513 * BufferView_pimpl.C (workAreaButtonRelease): update
13514 toolbar/menubar here too.
13516 2002-01-13 Allan Rae <rae@lyx.org>
13518 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13519 Now seems indestructible. Remaining task is to audit all other
13520 code affected by deleteEmptyParagraphMechanism. One small quirk
13521 left is that an empty document with an error in the preamble can
13522 be made to report an error but no error box appears. I don't know
13524 (removeAutoInsets): Improved comments.
13526 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13529 * Thesaurus.C: update for Aiksaurus 0.14
13531 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13533 * text2.C (firstParagraph): removed member function, all uses
13534 replaces with ownerParagraph
13535 (redoParagraphs): here
13536 (updateInset): here
13537 (toggleAppendix): here
13538 * BufferView2.C (insertErrors): here
13539 (setCursorFromRow): here
13541 2002-01-13 Allan Rae <rae@lyx.org>
13543 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13544 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13545 There is still a way to segfault this although you may have to do this
13546 multiple times: Have an InsetERT with an unknown command in it.
13547 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13548 <down-arrow>, <Enter> again, View->DVI, BANG!
13550 * text2.C (setCursor):
13551 (deleteEmptyParagraphMechanism):
13552 * lyxtext.h (setCursor):
13553 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13554 Making use of the return value may help fix other bugs.
13556 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13558 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13560 * LyXView.C (updateMenubar): call MenuBar::update here
13561 (updateToolbar): but not here
13562 (showState): do not update toolbar/menubar
13564 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13565 should need to care about that.
13567 * lyxfunc.C (verboseDispatch): simplify a bit
13568 (getStatus): have a version which takes a pseudoaction, and
13569 another which requires a (kb_action,string).
13571 * LyXAction.C (retrieveActionArg): make it work also when action
13572 is not a pseudo-action.
13573 (getActionName): simplify a bit
13576 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13578 * lyxfunc.C (verboseDispatch): new families of methods with
13579 several ways to specify a command and a bool to indicate whether
13580 the command name and shortcut should be displayed in minibuffer
13581 (eventually, we could extend that to a finer bitmask like
13582 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13583 (dispatch): the pristine dispatch command which just, well,
13584 dispatchs! Note it still sets its result to minibuffer; I'm not
13587 * lyxfunc.h: remove setHintMessage
13589 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13591 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13593 * BufferView_pimpl.C (specialChar): delete new inset if we have
13594 not been able to insert it.
13596 * kbmap.C: revert to using int instead of kb_action, since all we
13597 are dealing with is pseudo-actions.
13599 * LyXAction.C (searchActionArg): change to return int instead of
13600 kb_action, since the result is a pseudoaction.
13602 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13604 * buffer.C (insertErtContents): Fix (partially) the font bug.
13606 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13608 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13609 as the other one is broken on my machine!
13611 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13614 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13616 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13618 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13619 reflect their actual use. Provide compatibility code for older lyxrc
13622 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13624 change names of popup font variables in line with the changes to lyxrc.C
13626 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13628 * buffer.C (asciiParagraph): avoid outputing a word twice after
13631 * lyxrc.C (getDescription): document that document_path and
13632 template_path can be empty.
13634 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13636 * LaTeXFeatures.C (getMacros):
13637 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13639 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13641 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13643 (getPackages): rename feature "floats" to "float". Use an array to
13644 iterate over 'simple' features (i.e. just a \usepackage). Add
13645 handling of "amsmath" (renamed from "amsstyle").
13647 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13649 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13652 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13654 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13655 FuncStaus::FuncStatus & FuncStaus::some_method().
13657 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13659 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13660 of the func_satus stuff. Edited and massaged in various ways by
13663 * lyxfunc.C (getStatus): use FuncStatus
13665 2002-01-08 Juergen Vigna <jug@sad.it>
13667 * text.C (nextBreakPoint): use function Inset::isChar().
13669 * paragraph.C (TeXOnePar): use function
13670 Inset::forceDefaultParagraphs.
13672 * buffer.C (latexParagraphs): use function
13673 Inset::forceDefaultParagraphs.
13675 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13677 * lyx_gui.C (init): set the style of the menu popups to
13678 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13680 2002-01-07 Juergen Vigna <jug@sad.it>
13682 * text.C (setHeightOfRow): small fix
13683 (prepareToPrint): don't look at alignment if we don't have the place
13686 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13688 * box.C: New file. Move the Box methods and functions out of box.h,
13689 following Lars' suggestion.
13691 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13693 * box.h: #include "support/LOstream.h", needed for inlined function.
13696 * lyxtextclasslist.C: added some using std declarations.
13698 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13700 * box.h: make signed dimensions to allow insets wider than
13701 the screen (bug #162)
13703 * BufferView_pimpl.C: add some insetHit debug
13705 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13707 * vc-backend.C: add FIXME
13709 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13711 * lyxfunc.C (getStatus): enable code for showing math font status
13714 2002-01-07 Juergen Vigna <jug@sad.it>
13716 * text.C (nextBreakPoint): removed debug output not needed anymore.
13718 2002-01-06 Juergen Vigna <jug@sad.it>
13720 * text.C (nextBreakPoint): fixed up this function we had this bug
13721 since ever but now hopefully we break row better.
13722 (insertChar): we have to check if an inset is the next char as it
13723 could now happen that a large inset is causing a break.
13725 2002-01-05 Juergen Vigna <jug@sad.it>
13727 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13728 if it doesn't like to be drawed.
13730 2002-01-04 Juergen Vigna <jug@sad.it>
13732 * BufferView2.C (lockInset): forgot to set a cursor.
13734 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13736 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13738 * FormMathsPanel.C:
13741 * form_maths_panel.C:
13742 * form_maths_panel.h:
13743 * form_maths_panel.fd: implemented sub- and super- buttons in math
13746 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13747 (or ^ space) to be used as in TeX (req'd by André).
13749 * lyxfunc.C: Allow ^ and _ again to be used both as
13750 super/subscript (mathed) and as themselves (in text).
13752 2002-01-03 Allan Rae <rae@lyx.org>
13754 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13755 "LyX" or the filename of the current buffer if it has one. This is a
13756 modified form of John Levon's patch.
13758 * XFormsView.C (setWindowTitle): also set icon title.
13760 * LyXView.h (setWindowTitle): signature changed.
13761 * XFormsView.h (setWindowTitle): ditto.
13763 2002-01-02 Juergen Vigna <jug@sad.it>
13765 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13767 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13769 * screen.C (topCursorVisible): introduce a temp var for
13770 text->cursor.row(), handle the case where this row is null. (kindo
13773 * text2.C (setCursor): add a couple of asserts.
13775 * paragraph.h (inset_iterator): add -> operator
13777 * paragraph.[Ch] (autoDeleteInsets): remove member function
13779 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13780 cursor pos correctly and handle inset deletion by itself.
13781 (insertErrors): move iterator declaration out of for expression
13783 * lyxtextclass.C: add <algorithm>
13785 * Makefile.am: added the new files to sources, removed layout.C
13787 * layout.C: removed file
13789 * layout.h: remove LYX_DUMMY_LAYOUT
13791 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13795 * lyxtextclass.[Ch]:
13796 * lyxtextclasslist.[Ch]: new files
13798 * include order changes to a lot of files, also changes because of
13801 2001-12-27 Juergen Vigna <jug@sad.it>
13803 * buffer.C (asciiParagraph): more fixes.
13805 * tabular.C (ascii): make ascii export support export of only the
13806 data separated by a column-delimiter.
13807 (ascii): better support for ascii export.
13809 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13811 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13813 * tabular_funcs.C: use a "using std::getline" instead of the
13814 previous fix from Angus (necessary for cxx + lyxstring)
13816 2001-12-24 Juergen Vigna <jug@sad.it>
13818 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13820 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13821 problems. First check a minipage also if we have some ert-contents
13822 (not only on par->size(), second set the right depth of the paragraph
13823 on the relink to the root-paragraph-list!
13825 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13826 which then did not anymore update the main paragraphs on undo/redo!
13828 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13830 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13831 code. Support all font-changing funcs (even those which are not in
13832 menu currently). Support for reporting font settings in
13833 mathed (disabled until Andre provides a function on mathed's side).
13835 * func_status.h (toggle): small helper function to set toggle
13838 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13840 * tabular_funcs.C: getline -> std::getline
13842 2001-12-21 Juergen Vigna <jug@sad.it>
13844 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13845 accessed and could be 0 (I couldn't generate this but it seems
13848 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13850 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13851 * tabular_funcs.h: here and include iosfwd
13853 2001-12-20 Juergen Vigna <jug@sad.it>
13855 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13856 inside inset but undo_par was.
13858 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13860 * Thesaurus.C: always include <config.h> in sources.
13864 * box.h: do not include <config.h> in header files
13866 * text.C (paintLastRow): remove unused variable
13868 * text.C (transformChar):
13870 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13872 * Painter.C (text):
13873 * font.C (width): rewrite to use uppercase() instead of
13876 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13878 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13880 * lyxfind.C: clean up of find failure position change
13882 2001-12-20 Juergen Vigna <jug@sad.it>
13884 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13886 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13887 (TeXRow): added to LaTeX a single tabular row.
13888 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13889 (Latex): simplified and finally good LT-h/f support.
13890 (various_functions): just small adaptions for LT-h/f support.
13892 * tabular_funcs.[hC]: added and moved here all not classfunctions
13895 2001-12-19 Juergen Vigna <jug@sad.it>
13897 * tabular.[Ch]: better support for longtabular options (not finished
13900 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13902 * text.C (paintLastRow): use the label font instead of the font of
13903 the last character to compute the size of *_BOX. This makes more
13904 sense and avoids a crash with empty paragraphs.
13905 Use Painter::rectangle to draw EMPTY_BOX.
13907 2001-12-19 Juergen Vigna <jug@sad.it>
13909 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13910 the paragraphs if the replaced paragraph is not the first one!
13911 Tried to delete not used paragraphs but does not work yet so for
13912 now it's inside #ifdef's and by default off!
13914 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13916 * MenuBackend.C: include "lyx_main.h" instead of declaring
13917 lastfiles (actually was declared as LastFiles* instead of a
13920 2001-12-17 Juergen Vigna <jug@sad.it>
13922 * tabular.C (AppendColumn): applied John's fix
13924 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13928 * BufferView_pimpl.h:
13929 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13932 * box.h: new start of class for above
13934 * lyxfunc.C: ignore space-only minibuffer dispatches.
13935 Show the command name when it doesn't exist
13937 * minibuffer.C: don't add empty lines to the history
13939 * minibuffer.C: add a space on dropdown completion
13941 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13943 * text.C: fix line above/below drawing in insets
13945 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13947 * lyxlength.C (LyXLength): Initialize private variables.
13949 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13951 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13952 when inserting error insets.
13954 2001-12-13 Juergen Vigna <jug@sad.it>
13956 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13957 actually sometimes the before-paragraph.
13958 (setUndo): don't clear the redostack if we're not actually undoing!
13960 2001-12-06 Juergen Vigna <jug@sad.it>
13962 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13963 and fixed redoing of main paragraph, so we can use it now ;)
13965 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13967 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13969 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13972 2001-12-13 André Pönitz <poenitz@gmx.net>
13975 * undo_func.C: minor cleanup
13977 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13979 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13980 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13981 font in urw-fonts package which is marked as -urw-fontspecific and
13982 does not work (incidentally, changing the encoding in the
13983 fonts.dir of this package to -adobe-fontspecific fixes the
13986 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13987 is a crash when undoing first paragraph (Juergen, please take a
13988 look). THis does not mean the undo fix is wrong, just that it
13991 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13992 the (Paragraph*) version when needed instead of duplicating the
13995 * text.C (workWidth): use Inset::parOwner to find out where the
13996 inset has been inserted. This is a huge performance gain for large
13997 documents with lots of insets. If Inset::parOwner is not set, fall
13998 back on the brute force method
14000 * paragraph_pimpl.C (insertInset):
14001 * paragraph.C (Paragraph):
14002 (cutIntoMinibuffer): set parOwner of insets when
14003 inserting/removing them
14005 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14007 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14013 * mathed/formulabase.C:
14014 * mathed/math_cursor.[Ch]:
14015 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14018 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14020 * lyxlength.[Ch] (operator!=): new function
14022 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14024 * text.C (workWidth): use Inset::parOwner to find out where the
14025 inset has been inserted. This is a huge performance gain for large
14026 documents with lots of insets. If Inset::parOwner is not set, fall
14027 back on the brute force method
14029 * paragraph_pimpl.C (insertInset):
14030 * paragraph.C (Paragraph):
14031 (cutIntoMinibuffer): set parOwner of insets when
14032 inserting/removing them
14034 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14036 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14038 * tabular-old.C (getTokenValue):
14039 * tabular.C (getTokenValue):
14040 (write_attribute): new versions for LyXLength
14041 (everywhere): adjust the use of widths
14043 * tabular.h: change the type of widths from string to LyXLength
14045 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14047 * paragraph.C: fixed missing line number count when exporting
14048 Environments to LaTeX file
14050 * buffer.C: added informational message for checking line numbers.
14052 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14054 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14055 paragraph, do the 'double space' part, but not the 'empty
14058 * text.C (workWidth): small optimization
14059 (getLengthMarkerHeight): use minimal size for negative lengths.
14061 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14063 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14065 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14067 2001-12-11 André Pönitz <poenitz@gmx.net>
14070 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14072 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14074 * text2.C: keep selection on a setFont()
14076 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14078 * lyx_cb.C: another bv->text misuse, from insert label
14080 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14083 * kbsequence.C: re-instate nmodifier mask
14085 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14087 * lyx_main.h: make lyxGUI private.
14089 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14091 * lyxfind.C: place the cursor correctly on failed search
14093 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14095 * text.C (getLengthMarkerHeight): for small heights, the arrows
14096 are not always on top/bottom of the text
14097 (drawLengthMarker): smaller arrows; take the left margin in
14098 account; draw also vfills.
14100 (paintLastRow): remove special code for vfill and standard spaces,
14101 since everything is handled in drawLengthMarker now.
14103 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14105 * buffer.C (insertErtContents): try to handle font and language
14106 interaction a bit better.g
14108 * ColorHandler.C (updateColor): change the hash to cover the whole
14109 LColor enum, ws cleanup
14110 (getGCLinepars): ditto
14111 (getGCLinepars): only lookup in the linecache once.
14113 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14115 * iterators.C (operator++): Make the iterator more robust
14117 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14119 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14121 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14124 * text.C: better added space drawing
14126 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14129 * BufferView2.C: fix layout combo update on inset unlock
14131 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14133 * Makefile.am: don't compile unused files
14135 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14139 * LyXAction.C: remove old LFUN_LAYOUTNO
14141 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14143 * paragraph_pimpl.h:
14144 * paragraph_pimpl.C: isTextAt() doesn't need font param
14146 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14149 * lyxlex.C: little cleanup
14151 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14153 * BufferView_pimpl.C: fix insertAscii for insets
14155 2001-12-05 Juergen Vigna <jug@sad.it>
14157 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14158 set the right font on the "multi" paragraph paste!
14160 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14166 * lyxlength.C: remove out-commented code.
14168 * BufferView_pimpl:
14182 * vc-backend.C: change "while(" to "while ("
14184 * lyxlength.[Ch]: add zero function to check if length is zero or
14186 * lyxgluelength.C: use it
14188 2001-12-05 Allan Rae <rae@lyx.org>
14190 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14191 Works for 2.95.3, from what I understand of Garst's reports this should
14192 work for other g++ versions. We're screwed if the abs(int) definition
14193 changed between bugfix releases of gcc.
14195 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14197 * text.C: fix chapter label offset !
14199 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14202 * text.C: fix hfill at end of line, clean up
14204 2001-12-04 Juergen Vigna <jug@sad.it>
14206 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14207 that we force an update of the inset and it's owners if neccessary.
14209 2001-12-03 Juergen Vigna <jug@sad.it>
14211 * text.C (rowLast): simplified code
14213 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14215 * lyxfunc.C: fix show options on timeout
14217 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14219 * screen.C (topCursorVisible): scroll half a page when the cursor
14220 reached top of bottom of screen
14222 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14224 * minibuffer.C: deactivate on loss of focus
14226 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14228 * vspace.[Ch] (operator!=): add operator.
14230 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14232 * BufferView_pimpl.C: refuse to open an inset when
14233 there's a selection.
14235 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14237 * BufferView_pimpl.C: allow to click on RHS of full row insets
14239 2001-11-30 Juergen Vigna <jug@sad.it>
14241 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14242 insets for undo reasons.
14244 2001-11-28 André Pönitz <poenitz@gmx.net>
14246 * vspace.[Ch]: cosmetical changes
14248 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14258 * kbsequence.C: part re-write of old kb code
14261 * WorkArea.C: remove Lgb_bug_find_hack
14263 2001-11-30 José Matos <jamatos@fep.up.pt>
14265 * buffer.C (makeDocBookFile): add a comment to point a hack.
14266 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14267 Fixed a double write of labels.
14269 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14272 * LaTeX.h Fixed bug in LaTeX class where it would not
14273 re-run latex if no depfiles were changed, but the .dvi was removed.
14275 2001-11-28 André Pönitz <poenitz@gmx.net>
14277 * all the files from the change on 2001/11/26:
14278 use lyx::layout_type instead of LyXTextClass::size_type
14279 use lyx::textclass_type instead of LyXTextClassList::size_type
14281 2001-11-29 Juergen Vigna <jug@sad.it>
14283 * text.C: added support for paragraph::isFreeSpacing()
14285 * buffer.C: same as above
14287 * paragraph.h: inserted isFreeSpacing() function to enable
14288 FreeSpacing inside InsetERT.
14290 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14291 of the paragraph's in the cut/copy buffer to 0!
14293 * text2.C (removeRow): remove the assert as it can!
14295 * lyxtext.h: added helper function firstRow returning firstrow and
14296 made firstrow private again.
14298 * BufferView2.C (lockInset): don't relock if we're already locked!
14300 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14301 the only paragraph.
14302 (removeRow): added Assert::(firstrow)
14304 * debug.C: forgot to add INSETTEXT here.
14306 2001-11-28 Juergen Vigna <jug@sad.it>
14308 * sp_spell.C (initialize): changed error text to more general
14309 spellchecker command use (not only ispell!)
14311 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14313 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14315 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14317 * vspace.C: initialise lyxgluelength on failure
14319 2001-11-28 Allan Rae <rae@lyx.org>
14321 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14322 declaration & definition that looks like a function declaration.
14324 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14326 * BufferView2.C (copy):
14327 (copyEnvironment): do not clear the selection when doing a copy.
14329 * text.C (paintFirstRow): compilation fix
14331 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14333 * tabular.C (Latex): correct line count when writing latex.
14335 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14337 * paragraph_pimpl.h:
14338 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14341 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14345 * LColor.C: change vfillline->added_space
14347 * text.C: add markers and text for added space
14349 * vspace.C: fix comment
14351 2001-11-28 André Pönitz <poenitz@gmx.net>
14353 * paragraph.C: whitespace changes
14354 * all the other files from the change on 2001/11/26:
14355 change *::pos_type into lyx::pos_type
14357 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14359 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14360 language of the document when inserting error insets.
14362 2001-11-26 André Pönitz <poenitz@gmx.net>
14364 * BufferView_pimpl.[Ch]:
14372 * paragraph_pimpl.[Ch]:
14375 * text2.C: reduce header dependencies, introduce type for positions
14377 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14379 * <various>: change to use Alert.h
14381 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14383 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14384 when encountering an unknown token.
14385 (readLyXformat2): Show an error message if there were unknown tokens.
14387 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14390 * BufferView_pimpl.C:
14394 * text2.C: use par->isInset()
14396 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14398 * paragraph_pimpl.h:
14399 * paragraph_pimpl.C: cleanup
14401 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14403 * text2.C (removeRow):
14404 * text.C (setHeightOfRow): remove useless (and costly) call to
14407 2001-11-20 Allan Rae <rae@lyx.org>
14409 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14410 Now need Inset*::checkInsertChar() to return true for appropriate
14411 cases so that the characters in the minibuffer will actually be
14414 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14416 * text.C: change the order of the includes.
14417 (workWidth): initialize it at once.
14418 (workWidth): make maxw unsigned
14419 (setHeightOfRow): remove unused variable (inset)
14420 (selectSelectedWord): remove unused variable (inset)
14421 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14423 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14425 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14426 server is not running.
14428 (closeConnection): add debug info when server is disabled.
14430 * ColorHandler.C (getGCForeground): send debug message to GUI
14433 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14435 * kbmap.C (bind): modify because return conventions of
14436 kb_sequence::parse have changed.
14438 * kbsequence.C (parse): only ignore spaces and not any stupid
14439 control character. This avoids tests like s[i] <= ' ', which are
14440 guaranteed to fail with 8bit characters and signed chars.
14441 Change return code to string::npos when there have been no error
14442 (0 was a bad idea when error is at first character)
14444 2001-11-14 José Matos <jamatos@fep.up.pt>
14447 * buffer.C (simpleDocBookOnePar): removed unused argument.
14449 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14451 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14452 insets which are part of a word. Paragraph::isLetter takes care of
14453 that now. Use Paragraph::isInset to identify insets.
14454 (selectSelectedWord): do not test for hyphenation break.
14456 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14457 that protected spaces are considered as spaces.
14459 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14462 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14465 * lyxserver.C: fix it. and small cleanup.
14467 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14469 * BufferView_pimpl.C: use inline helpers
14472 * LaTeXFeatures.C: fix typos
14475 * Spacing.C: move spacing_string into class
14477 * ToolbarDefaults.C: move stuff into namespace anon
14479 * layout.h: update enum
14481 * lyxfunc.C: use better debug
14483 * minibuffer.h: fix typo
14487 * WorkArea.C: add and use Debug::WORKAREA
14491 * text2.C: code re-organisation, inline helpers
14493 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14495 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14496 std::vector.empty().
14498 2001-11-09 Allan Rae <rae@lyx.org>
14500 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14501 '\n's after tables. Tabular and ERT inset work now makes this no
14504 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14507 * minibuffer.C: fix crash, improve drop-down completion
14509 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14512 * lyxserver.C: invalidate fd's when doing endPipe()
14514 2001-11-08 José Matos <jamatos@fep.up.pt>
14516 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14517 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14520 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14522 2001-11-07 José Matos <jamatos@fep.up.pt>
14525 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14528 * buffer.C (sgmlOpenTag):
14529 * buffer.C (sgmlCloseTag): removed debug info.
14531 * buffer.h (sgmlOpenTag):
14532 * buffer.h (sgmlCloseTag): made public.
14534 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14536 * buffer.C (saveParamsAsDefaults):
14537 * lyx_cb.C (MenuLayoutSave): remove
14539 * LyXAction.C (init):
14541 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14543 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14545 * buffer.C (setPaperStuff): removed from here...
14547 * bufferparams.C (setPaperStuff): ... and moved there.
14549 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14553 * XFormsView.C: add support for drop-down completion
14555 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14557 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14560 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14562 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14565 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14567 * lyx_main.C: change ref to known bugs
14569 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14571 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14572 to work around older babel problems.
14574 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14576 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14578 2001-10-24 Juergen Vigna <jug@sad.it>
14580 * tabular-old.C (ReadOld): below variable changes reflected.
14582 * tabular.[Ch]: added ltType struct for longtable header/footer
14583 defines and changed all instances where they are used. Added
14584 future support for double top/bottom rows.
14586 2001-10-24 José Matos <jamatos@fep.up.pt>
14588 * buffer.h (docbookHandleCaption):
14589 * buffer.C (docbookHandleCaption): removed unused function.
14590 (makeDocBookFile): moved docbook supported version to v4.1.
14592 2001-10-24 José Matos <jamatos@fep.up.pt>
14595 * tabular.C (docbookRow): new function to export docbook code of a row.
14596 (DocBook): now honors the longtable flags.
14598 2001-10-23 José Matos <jamatos@fep.up.pt>
14601 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14602 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14604 * buffer.C (makeLinuxDocFile):
14605 (makeDocBookFile): reworked the preamble, more clean, and with
14606 support for lyx defined entities. Changed the document declaration
14607 to be more XML friendly.
14609 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14610 if we need to output XML that should be done with a filter.
14612 2001-10-22 Juergen Vigna <jug@sad.it>
14614 * sp_pspell.h (class PSpell): add alive function needed in the
14615 controller to see if the spellchecker could be started.
14617 2001-10-22 Juergen Vigna <jug@sad.it>
14619 * buffer.C (insertStringAsLines): modify the font for inserting
14620 chars in certain conditions by calling checkInsertChar(font).
14622 2001-10-19 Juergen Vigna <jug@sad.it>
14624 * text.C (workWidth): use getRow instead of wrong algorithm.
14625 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14627 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14632 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14634 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14636 * text.C (workWidth): do not search for the exact row when
14637 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14638 optimization for big documents.
14640 2001-10-18 Juergen Vigna <jug@sad.it>
14642 * text.C (workWidth): new function with added Inset * parameter.
14644 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14646 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14648 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14649 change return type of getColumnNearX.
14652 * text.C (changeRegionCase): use uppercase/lowercase instead of
14655 (rightMargin): simplify code by factoring out the uses of
14660 (appendParagraph): use Paragraph::size_type
14662 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14664 * vspace.C (asLatexString): add a missing break
14666 2001-10-15 Herbert Voss <voss@perce.de>
14668 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14670 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14672 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14675 2001-10-10 André Pönitz <poenitz@gmx.net>
14677 * lyxfunc.C: removed greek_kb_flag.
14679 2001-10-10 Herbert Voss <voss@perce.de>
14681 * lyx_main.C: delete global string help_lyxdir.
14683 2001-10-09 Herbert Voss <voss@perce.de>
14685 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14687 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14689 * lyx_main.C: added global string help_lyxdir.
14691 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14693 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14695 * lyxrc.C (set_font_norm_type): support iso8859-4
14697 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14699 * LaTeX.C (deplog): add another regex for MikTeX
14701 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14703 * lyxrc.C (set_font_norm_type): support iso8859-3
14705 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14707 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14709 * LaTeXFeatures.C: remove special case of french and index
14711 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14712 before \begin{document}). This solves several incompatibilities.
14714 2001-10-03 Garst Reese <reese@isn.net>
14716 * lyx_cb.C: change CheckTex error msg.
14718 2001-10-03 José Matos <jamatos@fep.up.pt>
14720 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14722 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14724 * .cvsignore: update
14726 * lyx_main.C (commandLineVersionInfo): use new style version info.
14728 * buffer.C (writeFile):
14730 (makeLinuxDocFile):
14731 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14733 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14735 * version.h: update to use stuff in version.C
14737 * version.C.in: new file. Contains version information determined
14738 at compile time. This is a merging of version.h and
14741 2001-10-03 Juergen Vigna <jug@sad.it>
14743 * BufferView_pimpl.C (update): don't change "dirty" status in
14746 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14748 * WorkArea.C (c-tor): re-position version string slightly.
14750 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14752 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14753 revert to previous code.
14755 WorkArea.[Ch]: (show, destroySplash): methods removed.
14757 WorkArea.C: rework code so that it's an amalgam of the codes before and
14758 after the splash screen was moved to WorkArea.
14760 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14763 * vspace.C (inPixels):
14766 * buffer.C (insertStringAsLines):
14767 (asciiParagraph): fix types to be large enough
14769 * lyxlex_pimpl.h: change member status from short to int
14771 * layout.h: fix type of endlabeltype
14774 * kbsequence.C (parse): change return type to string::size_type
14776 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14779 * Bullet.C (bulletSize):
14780 (bulletEntry): do not use short ints as parameters
14782 * BufferView2.C (insertLyXFile): change a char to an int.
14784 * WorkArea.C (WorkArea): remove unneeded floats in computation
14786 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14788 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14790 * paragraph.C (asString): Do not ignore newline/hfill chars when
14791 copying to the clipboard.
14793 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14795 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14796 after a multi-line inset.
14798 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14800 * paragraph.C (validate): Set NeedLyXFootnoteCode
14802 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14804 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14805 and decrease-error to decrease.
14807 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14809 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14810 it more readable (should be equivalent)
14812 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14814 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14816 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14818 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14819 of a cursor (row, etc.) after a character has been deleted
14820 (deleteEmptyParagraphMechanism): call the method above on _all_
14821 cursors held by the LyXText when a double space has been
14824 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14826 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14828 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14830 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14831 background. Use greyOut() and the new show() methods to toggle between
14832 the foreground and background. Add code to remove the splash after
14833 its initial showing.
14835 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14836 (create_forms): no longer call Dialogs::showSplash.
14838 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14840 * .cvsignore: add version_info.h
14842 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14844 * version_info.h.in: new file
14846 * Makefile.am: add version_info.h.in
14848 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14849 version_info.h instead of VERSION_INFO
14851 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14853 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14854 The ERT inset now returns string().
14856 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14858 * lyxtext.h, text.C (selectNextWord): renamed as
14859 selectNextWordToSpellcheck.
14861 * text.C (selectNextWordToSpellcheck): Modified to not select
14862 words inside an ERT inset.
14864 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14866 * lyx_cb.C (MenuLayoutSave): change a bit the question
14868 * sp_base.h: include <sys/types.h>
14870 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14872 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14874 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14876 * several files: fix typos in user-visible strings
14878 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14880 * text2.C (pasteSelection): do not set the selection, since it
14881 will be cleared later. Actually, the intent was to fix the way the
14882 selection was set, but I figured rmoving the code was just as good.
14884 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14886 * FontLoader.C (available): Check if font is available without
14889 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14891 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14893 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14895 * lyxrc.[Ch]: added display_graphics variable and associated code.
14897 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14899 * bufferparams.C (hasClassDefaults): new method. Returns true if
14900 the buffer parameters correspond to known class defaults
14902 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14904 * XFormsView.C (show): set minimum size to the main window.
14906 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14908 * text2.C (copySelection):
14910 * lyxfind.C (LyXReplace):
14911 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14912 LyXText::selectionAsString.
14914 * paragraph.C (asString): add "label" argument to the second form
14916 * text2.C (selectionAsString): add "label" argument and pass it to
14917 Paragraph::asString.
14919 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14921 * lyx_main.C (commandLineHelp): remove version information
14923 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14925 * lyx_main.C: add -version commandline option
14927 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14929 * paragraph.h: make the optional constructor arg required instead.
14930 some modifications to other files because of this.
14932 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14934 * lyxserver.C (C_LyXComm_callback): make it static
14936 * lyx_main.C (error_handler): make it static
14938 * lyx_gui.C (LyX_XErrHandler): make it static
14940 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14942 * WorkArea.C: make the extern "C" methods static.
14944 * Makefile.am (lyx_LDADD): simplify
14946 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14948 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14949 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14951 * LyXAction.C (init):
14952 * lyxfunc.C (dispatch): associated code removal.
14954 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14956 * lyxfont.h (isSymbolFont): shut off warning
14958 * text.C (setHeightOfRow):
14959 (getVisibleRow): fix crash with empty paragraphs which have a
14962 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14964 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14967 2001-09-04 José Matos <jamatos@fep.up.pt>
14970 * tabular.C (docbook): rename docBook method to docbook.
14972 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14974 * Makefile.am: add dependencies to main.o.
14976 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14978 * FontLoader.C (available): Return false if !lyxrc.use_gui
14980 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14982 * FontInfo.C (query):
14983 * converter.C (view):
14984 * importer.C (Import):
14985 * exporter.C (Export): Can not -> cannot.
14987 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14989 * BufferView_pimpl.C: allow to create index inset even if
14992 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14994 * buffer.C (getLists): replace boost::tie code with an explicit pair
14995 as boost::tie can break some compilers.
14997 * iterators.h: Added a std:: declaration to the return type of
15000 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15002 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15005 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15007 * iterators.[Ch]: New files. Provide paragraph iterators.
15009 * buffer.C (changeLanguage): Use paragraph iterators.
15010 (isMultiLingual): ditto
15012 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15014 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15016 * FontLoader.C: Support for cmr font.
15018 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15020 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15021 (available): New method.
15023 * FontInfo.C (getFontname): Use scalable fonts even when
15024 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15027 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15029 * converter.C (Formats::view): reverted! Incorrect fix.
15031 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15033 * converter.C (Formats::view): only output the -paper option
15034 if the dvi viewer is xdvi, thereby fixing bug #233429.
15036 2001-08-23 Herbert Voss <voss@perce>
15038 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15040 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15042 * Spacing.h (Spacing): Set space to Default on in the default
15045 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15047 * vc-backend.h (RCS::versionString): add RCS to version
15048 (CVS::versionString): add CVS to version
15050 * vc-backend.C (scanMaster): do not add CVS to version.
15051 (scanMaster): do not add RCS to version
15053 * lyxvc.C (versionString): new method
15055 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15057 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15059 * Spacing.C (set): initialize fval
15061 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15063 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15066 2001-08-16 Juergen Vigna <jug@sad.it>
15068 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15070 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15072 * BufferView_pimpl.C:
15075 * text2.C: setParagraph takes linespacing now
15077 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15079 * LyxAction.C: add internal LFUN_CITATION_INSERT
15081 * LyXView.C: actually apply fix
15083 * bufferlist.C: fix open non-existent file
15085 * lyxfind.C: fix indentation
15087 * lyxfunc.C: remove unneeded assert, fix typo
15089 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15091 * MenuBackend.C: use "Floatname List"
15093 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15095 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15096 when converting LaTeX layout to insetERT.
15097 Generate a non-collapsed float when reading old float
15099 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15101 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15104 2001-08-13 Juergen Vigna <jug@sad.it>
15106 * text.C (fill): return 0 instead of 20 as this seems to be the more
15109 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15111 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15114 2001-08-13 Juergen Vigna <jug@sad.it>
15116 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15118 (SearchBackward): comment out the unlocking of the inset_owner this
15119 should not be needed!
15121 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15123 * Many files: Remove inherit_language, and add latex_language
15125 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15126 collapsible insets.
15128 2001-08-10 Juergen Vigna <jug@sad.it>
15130 * text.C (prepareToPrint): fixed hfill-width in draw!
15132 * BufferView2.C (selectLastWord): save the selection cursor as this
15133 now is cleared in the function LyXText::clearSelection!
15135 2001-08-08 Juergen Vigna <jug@sad.it>
15137 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15138 BACKSPACE type functions.
15140 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15141 is only cutted from the document but not put in the cut-buffer, where
15142 still the old stuff should be.
15144 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15146 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15148 * tabular.C (SetWidthOfCell): fixed special case where the width
15150 (LeftLine): handle '|' in align_special.
15152 (LeftAlreadyDrawed): ditto
15153 (SetWidthOfCell): ditto
15155 2001-08-07 Juergen Vigna <jug@sad.it>
15157 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15159 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15161 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15162 * lyxlex.[hC]: ditto
15164 2001-08-06 Juergen Vigna <jug@sad.it>
15166 * text.C (getVisibleRow): fix up row clearing a bit.
15168 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15170 * minibuffer.C: make sure the X server sees the changes in the input.
15172 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15174 * paragraph.C (getFont): split into...
15175 (getLabelFont): this
15176 (getLayoutFont): and this
15177 * paragraph_pimpl.C (realizeFont): calling this
15179 * text2.C (getFont): split into...
15180 (getLayoutFont): this
15181 (getLabelFont): and this
15182 (realizeFont): all three calling this
15184 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15187 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15189 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15191 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15193 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15194 layouts from the Quote inset insertion.
15196 2001-08-03 Juergen Vigna <jug@sad.it>
15198 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15200 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15201 only if status not is already CHANGED_IN_DRAW (second level).
15203 * text.C (draw): don't set the need_break_row when inside an
15206 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15208 * buffer.C (parseSingleLyXformat2Token): handle more latex
15211 * bufferview_funcs.[hC]: change function names to
15212 begin with small char, adjust other files.
15214 2001-08-02 André Pönitz <poenitz@gmx.net>
15217 BufferView_pimpl.C: remove broken special code for math-greek
15219 2001-08-02 Juergen Vigna <jug@sad.it>
15221 * BufferView_pimpl.C (update): redone this function so that we
15222 update the text again if there was a CHANGE_IN_DRAW.
15224 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15225 (drawFromTo): added a new internal bool which is used by draw() and
15227 (general): some cursor drawing problems fixed.
15229 2001-08-01 Juergen Vigna <jug@sad.it>
15231 * lyxfind.C (LyXFind): fixed
15232 (SearchForward): ditto
15233 (SearchBackward): ditto
15235 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15236 spurius drawing of the cursor in the main area.
15238 * text2.C (status): small fix which could lead to a segfault!
15239 (clearSelection): remove unneeded BufferView param.
15241 2001-08-01 André Pönitz <poenitz@gmx.net>
15243 * lyxfunc.C: small change due to changed mathed interface
15245 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15247 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15249 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15251 * lyxfunc.c: fail gracefully if file doesn't exist
15256 * BufferView_pimpl.C: IsDirWriteable() proto changed
15258 * LyXView.C: fix updateWindowTitle() to store the last title
15260 2001-07-31 Juergen Vigna <jug@sad.it>
15262 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15263 the font (wrong since using of Paragraph::highestFontInRange).
15265 * paragraph.C (highestFontInRange): added a default_size parameter.
15267 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15268 (setHeightOfRow): reformat
15270 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15272 * converter.[hC] + affected files: move to (inital-char)lowercase
15275 * ParagraphParameters.C (ParagraphParameters): remove commented code
15277 * PainterBase.[Ch]: remove commented code
15279 * LaTeXFeatures.h: add "bool floats" for float.sty
15281 * LaTeXFeatures.C (LaTeXFeatures): init floats
15282 (require): handle float
15283 (getPackages): do it with floats
15285 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15287 * BufferView_pimpl.C (Dispatch): improve handling of
15288 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15290 * commandtags.h: #include lyxfont.h here temporarily to avoid
15293 * bufferlist.h: include LString.h here.
15295 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15297 * text2.C (getStringToIndex): new method.
15299 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15301 * *: Reduced header file dependencies all over.
15303 2001-07-30 Baruch Even <baruch@lyx.org>
15305 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15307 2001-07-29 Baruch Even <baruch@lyx.org>
15309 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15311 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15313 * ParameterStruct.h (endif): add a default constructor to make
15314 sure that all variables is initialized.
15316 * ParagraphParameters.C (ParagraphParameters): adjust
15318 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15320 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15321 index; also, check that there is something to index, and that it
15322 does not span over several paragraphs.
15323 (doubleClick): use WHOLE_WORD_STRICT for double click.
15325 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15327 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15330 2001-07-26 Baruch Even <baruch@lyx.org>
15332 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15333 an InsetFig figure, backwards compatible reading of old figure code.
15335 2001-07-27 Juergen Vigna <jug@sad.it>
15337 * text2.C: font.realize function adaption.
15339 * text.C (draw): add a warnings lyxerr text if needed.
15341 * layout.C: font.realize function adaption.
15343 * language.C: add inherit_language and implement it's handlings
15345 * bufferview_funcs.C (StyleReset): remove language parameter from
15346 font creation (should be language_inherit now).
15348 * bufferparams.C (writeFile): handle ignore_language.
15350 * paragraph.C (getFontSettings): the language has to be resolved
15351 otherwise we have problems in LyXFont!
15353 * lyxfont.C (lyxWriteChanges): added document_language parameter
15354 (update): removed unneeded language parameter
15356 * paragraph.C (validate): fixed wrong output of color-package when
15357 using interface colors for certain fonts in certain environments,
15358 which should not seen as that on the final output.
15360 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15362 * BufferView_pimpl.C:
15367 * LyXAction.C: add thesaurus support
15370 * lyxfind.C: add "once" parameter, for thesaurus, to not
15371 move to the next match
15373 2001-07-26 Juergen Vigna <jug@sad.it>
15375 * lyxfont.C (realize): honor ignore_language too!
15378 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15380 * text.C (draw): one place more for ignore_language to not draw
15383 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15385 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15387 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15389 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15390 the minipage conversion problem.
15392 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15394 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15397 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15399 * BufferView.h: don't forward declare WorkArea
15401 * BufferView.C: don't include WorkArea.h
15403 2001-07-25 André Pönitz <poenitz@gmx.net>
15407 * lyxfunc.C: new LFUN 'math-space'
15409 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15411 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15413 * text2.C (toggleInset): call open/close
15415 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15417 * lyxfunc.C (dispatch): add debug for the disabled case
15419 * font.C (buttonText): make similar to rectText
15421 * buffer.C (readInset): comment out parsing of insetlist and
15424 * PainterBase.C (rectText): small correction
15426 * BufferView_pimpl.C: comment out insettheorem and insetlist
15427 * LyXAction.C: ditto
15428 * commandtags.h: ditto
15430 2001-07-24 Juergen Vigna <jug@sad.it>
15432 * text.C (draw): honor the ignore_language.
15434 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15436 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15438 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15441 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15443 * lyxtext.h: remove unused (and unimplemented) methods
15445 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15447 * text.C (getVisibleRow): honor background color
15450 * Painter.h: remove default color argument for fillRectangle
15452 * text.C (backgroundColor): new method
15454 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15456 * text.C (getVisibleRow): adjust
15458 * font.[Ch] (rectText): new method, metrics
15459 (buttonText): new method, metrics
15461 * PainterBase.[hC]: make rectText and buttonText always draw and take
15464 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15466 * ToolbarDefaults.C (read):
15467 * MenuBackend.C (read): allow escaping in all strings
15469 * BufferView_pimpl.C (insertAndEditInset): new method.
15470 (Dispatch): use insertAndEditInset whenever appropriate.
15472 * BufferView_pimpl.C (insertNote): removed
15474 * BufferView_pimpl.C (smartQuote): new method, moved from
15475 BufferView; if an insetquote cannot be inserted, insert a '"'
15478 * BufferView2.C: remove insertCorrectQuote();
15480 * lyxfunc.C (getStatus): Add support for all remaingin
15481 inset-insert lfuns.
15483 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15485 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15486 command (necessary to pass " as parameter of self-insert.
15488 * text.C (selectWordWhenUnderCursor):
15489 (selectWord): add word_location parameter
15490 (selectWordWhenUnderCursor): same + remove special code for word
15492 (selectNextWord): use kind() to guess type of insetspecialchar,
15495 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15496 (insertErtContents): create ert insets as collapsed.
15497 (readInset): better compatibility code for Info inset.
15499 2001-07-20 Juergen Vigna <jug@sad.it>
15501 * lyxfunc.C (dispatch): use always LyXFind now!
15503 * text2.C (init): add a reinit flag so that the LyXText can be
15504 reinited instead of deleted and reallocated (used in InsetText).
15506 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15512 2001-07-18 Juergen Vigna <jug@sad.it>
15514 * text.C (selectNextWord): handle insets inside inset by calling
15515 always the bv->text functions so that we can go up the_locking_inset!
15517 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15518 in strange locations when inside an inset!
15520 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15521 handling to include insets.
15523 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15525 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15527 * LyXAction.C (init):
15529 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15530 LIGATURE_BREAK, since the name is so stupid.
15532 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15534 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15537 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15539 * sp_form.[Ch]: remove.
15541 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15543 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15546 * src/buffer.C (readInset): ditto.
15548 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15550 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15551 menuSeparator(), endOfSentenceDot(), ldots() and
15552 hyphenationPoint(), which are therefore removed.
15553 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15555 * LyXAction.C (init):
15556 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15558 * paragraph.C (getWord): removed.
15560 * BufferView_pimpl.C (Dispatch): use last word or selection for
15561 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15563 * lyx_main.C (queryUserLyXDir): do not ask before creating
15564 user_dir, except if it has been named explicitely.
15566 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15568 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15569 a document of zero size.
15571 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15573 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15574 approriately in the c-tor and in require().
15575 (getPackages): output the appropriate LaTeX for natbib support.
15577 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15578 variables "use_natbib" and "use_numerical_citations" when reading the
15580 (readInset): read the various natbib cite commands.
15581 (validate): white-space change.
15583 * bufferparams.[Ch]: new variables "bool use_natbib" and
15584 "bool use_numerical_citations".
15585 (writeFile): output them in the LyX file.
15587 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15589 * lyxfunc.C (getStatus): add support for all the inset insertion
15592 * text2.C (insertInset):
15593 * paragraph.C (insetAllowed):
15594 * BufferView_pimpl.C (insertInset): update to take in account the
15595 renaming of insertInsetAllowed
15597 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15599 * text2.C (getInset): new method. returns inset at cursor position.
15601 * BufferView_pimpl.C (Dispatch): changes because of this.
15603 * LyXAction.C (init): rename open-stuff to inset-toggle.
15605 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15607 * text2.C (toggleInset): renamed from openStuff; use
15610 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15612 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15614 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15616 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15618 * buffer.C (readLyXformat2): Add filename to the error dialog
15620 2001-07-18 Juergen Vigna <jug@sad.it>
15622 * tabular.C (GetCellNumber): put an assert here instead of the check!
15624 2001-07-17 Juergen Vigna <jug@sad.it>
15626 * BufferView_pimpl.C (toggleSelection): adapted too.
15628 * text.C (selectNextWord): adapted for use with insets.
15629 (selectSelectedWord): ditto
15631 2001-07-17 Juergen Vigna <jug@sad.it>
15633 * sp_spell.C (PSpell): fix initialitation order.
15635 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15637 * paragraph.C: spacing
15639 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15641 * sp_spell.C: repair language selection for pspell
15643 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15645 * lyxfunc.h: change more methods to begin with lower char.
15647 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15649 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15650 for unknown layouts.
15652 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15654 * buffer.C (readLyXformat2): Generate an error dialog if there are
15657 2001-07-16 Juergen Vigna <jug@sad.it>
15659 * sp_spell.C: always compile ISpell part.
15661 * lyxrc.C: added use_pspell entry and it's handling.
15663 2001-07-13 Juergen Vigna <jug@sad.it>
15665 * sp_spell.C: removed double includes.
15667 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15669 Consistent use of Lsstream.h:
15670 * Lsstream.h: added using std::stringstream for consistencies sake.
15672 * buffer.C: removed using std::stringstream
15674 * lyxfont.C (stateText):
15675 * paragraph.C (asString):
15676 * text.C (selectNextWord, selectSelectedWord):
15677 * text2.C (setCounter):
15678 * vspace.C (asString, asLatexString):
15679 std::ostringstream -> ostringstream.
15681 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15683 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15684 * commandtags.h: add LFUN_HELP_ABOUTLYX
15685 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15687 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15689 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15691 * lyx_gui_misc.C: remove spellchecker
15692 * lyxfunc.C: showSpellchecker
15694 * sp_ispell.h: added
15695 * sp_pspell.h: added
15696 * sp_spell.C: added
15697 * sp_form.[Ch]: removed
15698 * spellchecker.[Ch]: removed
15700 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15702 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15704 (simpleTeXSpecialChars): Simply print the input character without
15705 any special translation if pass_thru is set.
15707 * layout.h: Added bool pass_thru to layout class for being able to
15708 implement pass through of a paragraph for Literate Programming.
15710 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15711 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15712 * layout.C (Read): add "passthru" to list of layout tags and add
15713 code to set the pass_thru boolean when it is read.
15715 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15717 * trans_decl.h: remove allowed from KmodInfo
15719 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15720 remove allowed code
15723 * paragraph_pimpl.C (erase): use boost::prior
15725 * Painter.C (text): use data() instead of c_str() when length is
15727 * WorkArea.C (putClipboard): ditto
15728 * font.h (width): ditto
15730 * BufferView2.C: use it-> instead of (*it). for iterators
15732 * paragraph_pimpl.C: ditto
15733 * paragraph.C: ditto
15734 * minibuffer.C: ditto
15735 * language.C: ditto
15737 * encoding.C: ditto
15738 * counters.C: ditto
15739 * converter.C: ditto
15741 * Variables.C: ditto
15742 * TextCache.C: ditto
15743 * MenuBackend.C: ditto
15744 * LyXAction.C: ditto
15746 * FloatList.C: ditto
15747 * DepTable.C: ditto
15748 * ColorHandler.C (LyXColorHandler): ditto
15750 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15752 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15754 * text2.C (openStuff): reintroduce this method (which had been
15755 nuked in NEW_INSETS frenzy).
15757 * lyxfunc.C (Dispatch): when an action has not been handled, use
15758 its name in the error message, not its number.
15760 * paragraph.C (inInset): change method name to begin with lowercase.
15763 * text2.C: updates because of this.
15765 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15767 * ToolbarDefaults.C (add): add spaces in error message
15769 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15771 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15772 (readLyXformat2): rename return_par to first_par, use lyxlex's
15773 pushToken and remove the manual push handling.
15774 (parseSingleLyXformat2Token): add another ert comp. variable:
15775 in_tabular, rename return_par to first_par. handle newlines better
15777 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15779 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15781 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15783 * text2.C (getParFromID): removed
15785 * buffer.C (getParFromID): new method moved form lyxtext.
15786 * BufferView2.C (insertErrors): adjust
15787 (setCursorFromRow): adjust
15788 * BufferView_pimpl.C (restorePosition): adjust
15789 * lyxfunc.C (Dispatch): adjust
15790 * undo_funcs.C (textUndo): adjust
15792 (textHandleUndo): adjust
15793 (textHandleUndo): adjust
15795 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15797 * buffer.C: up' the LYX_FORMAT
15799 * lyxfont.h: turn NO_LATEX on as default
15801 * buffer.C (insertErtContents): new methods of tex style compability.
15802 (parseSingleLyXformat2Token): use it several places.
15803 * tabular.C (OldFormatRead): and here
15805 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15807 * text2.C: remove some commented code.
15810 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15811 * trans.C: changes because of the above.
15813 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15815 * text2.C (setCounter): Fix counters bug with bibliography layout.
15817 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15819 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15820 own member functions
15821 (simpleTeXSpecialChars): ditto
15823 2001-07-06 Juergen Vigna <jug@sad.it>
15825 * a lot of files: changed the access to LyXText::status and the
15826 call of undo-functions.
15828 * undo.[Ch]: added a inset_id to the undo informations.
15830 * undo_funcs.[Ch]: added and moved here all undo functions.
15832 * lyxtext.h: give the status enum a weight, made status_ a private
15833 variable and made accessor functions for it, removed the whole bunch
15834 of undo-functions as they are now in their own file, make some
15835 functions publically available. Added function ownerParagraph with
15838 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15839 made InInset() a const function, added getParFromID() function.
15841 * buffer.[Ch]: added const version for inset_iterator functions,
15842 added getInsetFromID() function.
15844 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15845 changed undo functions for new version.
15847 2001-07-05 Juergen Vigna <jug@sad.it>
15849 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15850 unknow mechanism does not call the proper constructor but only this
15851 one also if I request the other!?
15853 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15855 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15857 * text2.C (LyXText): use initialization lists.
15859 * lyxtext.h (Selection): initialize set_ and mark_
15860 (init): remove method
15862 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15864 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15866 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15868 * screen.[Ch]: change method names to begin with lowercase
15870 * BufferView_pimpl.C (updateScrollbar): simplify further and
15871 hopefully make it a bit faster.
15873 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15875 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15876 calling directly xforms functions.
15878 * Painter.C (Painter):
15879 * lyx_cb.C (MenuWrite):
15880 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15883 * lyx_gui.C: remove bogus guiruntime extern declaration.
15885 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15887 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15889 (redoDrawingOfParagraph): ditto
15890 (redoParagraphs): ditto
15891 (cutSelection): don't create a object for CutAndPaste use the
15892 static method directly
15893 (pasteSelection): ditto
15895 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15898 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15900 * modifications to some other files because of this.
15902 * Makefile.am (lyx_SOURCES): add XFormsView
15904 * XFormsView.[Ch]: new files
15906 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15907 the main window. Move the gui dependent stuff to XFormsView
15909 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15911 * tabular.C (GetCellInset): update cur_cell also in the row/col
15912 version of this function.
15914 * lyxfunc.C: no need to include figure_form.h here.
15920 * lyxvc.C: no need to include forms.h here.
15922 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15924 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15926 * lyxfunc.C (Dispatch):
15928 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15929 constructor argument.
15931 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15933 * paragraph.C (Paragraph): dont't clear, and just set layout.
15934 (makeSameLayout): use params's copy contructor.
15936 * ParagraphParameters.[Ch] (makeSame): delete method
15938 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15940 * Variables.[Ch]: fix indentation, rename set to isSet
15942 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15944 * lyxfunc.C (Dispatch): fix typo
15946 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15948 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15951 * bufferlist.C: include assert.h for emergencyWrite().
15953 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15955 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15956 give up at last (bug #425202) !
15958 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15964 * spellchecker.C: strip spellchecker options and bring up
15965 preferences tab instead
15967 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15969 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15970 the istringstream constructor
15972 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15974 * paragraph.C (getLayout): fix return value
15976 * paragraph.h: do not declare getLayout as inline.
15978 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15980 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15982 * lyxcursor.h (operator<): new func
15983 (operator>): new func
15984 (operator>=): new func
15985 (operator<=): new func
15987 * text.C (changeCase): use selection.start and selection.end
15988 (changeRegionCase): require from to be <= to. Require par to be a
15991 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15993 2001-06-27 Juergen Vigna <jug@sad.it>
15995 * text.C (cursorLeftOneWord): changed to return the cursor and added
15996 overlay with BufferView * parameter which calls this one.
15998 (selectWord): use new getWord function.
15999 (changeCase): renamed from changeWordCase as and extended to work
16000 also on selections.
16002 * lyxtext.h: added enum word_location
16004 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16005 changeCase as this operates now also on selections.
16007 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16009 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16011 * many files: send debug output to Debug::INFO instead of
16014 * converter.C (View):
16016 (Move): send debug output to Debug::FILES instead of console.
16018 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16020 * lyxfunc.C (getStatus): use func_status
16022 * func_status.h: new header, describing the results of
16023 LyXFunc::getStatus;
16025 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16028 2001-06-25 The LyX Project <jug@sad.it>
16030 * buffer.C (sgmlOpenTag):
16032 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16034 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16036 * text2.C: remove some dead code
16038 * tabular.C (GetCellInset): store the last cell checked (gotten)
16040 * tabular.h: add the helper for the speedup
16042 * lyxtext.h: remove some dead code
16044 2001-06-26 The LyX Project <Asger>
16046 * paragraph.C: Change export to LaTeX of alignment to
16047 \begin{center} and family for better roundtrip work with reLyX.
16049 * Tune the math drawing a bit.
16051 2001-06-25 The LyX Project <Asger>
16053 * LColor.C (LColor): New color for math background. New color
16056 2001-06-25 The LyX Project <jug@sad.it>
16058 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16060 * lyxfunc.C (Open):
16061 * bufferlist.C (newFile): do not restrict to files ending with
16064 * BufferView_pimpl.C (MenuInsertLyXFile):
16066 2001-06-24 The LyX Project <jug@sad.it>
16068 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16071 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16073 * lyxtext.h: rename most methods to begin with a small char.
16074 Lots of changes because of this.
16076 * paragraph.C (Paragraph): do not call fitToSize
16077 (erase): call Pimpl::erase
16078 (insertChar): call Pimpl::insertChar
16079 (insertInset): call Pipl::insertInset
16080 (breakParagraph): do not call fitToSize
16081 (breakParagraphConservative): do not call fitToSize
16082 (fitToSize): remove method
16084 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16086 2001-06-24 The LyX Project <Asger>
16088 * Fix Qt compilation^2
16090 2001-06-24 The LyX Project <jug@sad.it>
16092 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16093 depthHook(getDepth()-1).
16096 * ParagraphParameters.h:
16097 * ParameterStruct.h: change type of depth to unsigned int ==
16098 depth_type. Many adaptations to other files before of that.
16100 2001-06-24 The LyX Project <Asger>
16102 * Fix Qt compilation.
16104 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16106 * paragraph.h: renamed several methods to begin with small letter.
16107 several changes to many parts of the code because of this.
16109 2001-06-23 The LyX Project <jug@sad.it>
16111 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16112 rewritten to discard all double spaces when KeepEmpty is off
16113 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16114 to only handle newlines but not fiddle with spaces and friends.
16116 * lyxfunc.C (MenuNew): when doing 'new from template', use
16117 template_path as default directory
16119 2001-06-23 The LyX Project <Asger>
16121 * Clean-up of header file includes all over
16122 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16124 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16126 * paragraph.h: renamed from lyxparagraph.h
16128 2001-06-23 Asger <lyx@violet.home.sad.it>
16130 * Buffer.h: Removed Buffer::resize
16131 * BufferList.h: Removed BufferList::resize
16132 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16133 the document lazily when we change the width, or the font settings.
16135 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16137 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16139 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16141 * buffer.h: remove out of date comment
16143 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16146 * screen.C: fix "theoretical" GC leak
16148 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16150 * LaTeX.C (scanAuxFile):
16151 (deplog): remove trailing \r when reading stream (useful under
16154 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16156 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16157 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16158 and BufferView::theLockingInset(Inset*), so should use them and not
16159 access bv_->text->the_locking_inset directly.
16161 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16163 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16166 * tex-defs.h: remove old unused file
16168 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16170 * BufferView_pimpl.C: fix typo, remove minibuffer message
16171 when buffer has loaded
16173 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16175 * lyxfunc.C (Dispatch): use stringstream
16176 (MenuNew): use stringstream
16177 (Open): use stringstream
16179 * importer.C (Import): use stringstream
16181 * bufferview_funcs.C (CurrentState): use stringstream
16183 * LaTeX.C (run): use stringstream
16185 * BufferView_pimpl.C (savePosition): use stringstream
16186 (restorePosition): use stringstream
16187 (MenuInsertLyXFile): use stringstream
16189 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16202 * vspace.C: removed // -*- C++ -*- as first line.
16205 * version.h: added // -*- C++ -*- as first line.
16207 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16209 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16211 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16214 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16216 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16219 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16221 * gettext.C: include LString.h even when --disable-nls is on.
16223 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16225 * converter.h (Get): changed argument type from int to
16226 FormatList::size_type to avoid unnecessary conversion.
16228 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16231 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16233 * gettext.h: include LString.h even when --disable-nls is on.
16235 2001-06-07 Juergen Vigna <jug@sad.it>
16237 * text.C (BreakAgain): subst spaces with tabs.
16239 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16240 (resizeInsetsLyXText): set force on resizeLyXText.
16242 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16244 * gettext.h (gettext_init):
16245 (locale_init): use a real definition instead of a macro
16247 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16249 * Bufferview_pimpl.C:
16251 * LColor.C: further lcolor tidies
16253 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16255 * BufferView_pimpl.C (updateScrollbar): simplify.
16257 * BufferView2.C: don't include insets/insetinfo.h, change
16258 prototype for insertInset and call the Pimpl version. let
16259 updateInset call Pimpl version.
16261 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16262 gotoInset to BufferView::Pimpl
16264 2001-06-01 Juergen Vigna <jug@sad.it>
16266 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16267 inside a LockingInset (is the update needed at all?).
16269 2001-05-31 Juergen Vigna <jug@sad.it>
16271 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16272 here not the old one otherwise how should we compare it afterwards
16275 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16280 * FontInfo.C: bring C functions into global namespace when
16283 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16285 * LString.h: make sure config.h has been loaded before LString.h.
16287 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16288 (one for each char read by EatLine!).
16290 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16293 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16295 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16296 to the same as the par we break from
16298 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16300 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16302 * MenuBackend.C (expand): also create menu entries for wide
16303 versions of the floats.
16305 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16307 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16309 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16310 frontends/Makefile.am
16316 * tabular.C (getTokenValue): add std::
16318 * tabular-old.C (getTokenValue): add std::
16319 (getTokenValue): ditto
16320 (getTokenValue): ditto
16322 * screen.C (ToggleSelection): adjust
16324 * lyxtext.h: put selection cursors inside a Selection struct.
16326 * lyxfunc.C (moveCursorUpdate): adjust
16328 * lyxfont.C (latexWriteStartChanges): add std::
16330 * lyxfind.C: adjust
16332 * font.h: delete with(char const *, LyXFont const &)
16334 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16336 * FontInfo.C (getFontname): add std::
16338 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16339 (workAreaButtonPress): adjust
16340 (tripleClick): adjust
16342 (moveCursorUpdate): adjust
16345 * BufferView2.C (gotoInset): adjust
16347 2001-05-30 Juergen Vigna <jug@sad.it>
16349 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16350 to check pspell I add this as default as I now have new pspell
16351 libraries and they seem to use this.
16353 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16355 * text2.C (CutSelection): make the cursor valid before the call to
16358 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16360 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16361 relied on 0 terminated strings and other horrors. Bug found due to
16362 the new assert in lyxstring!
16364 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16367 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16369 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16372 * lyxfunc.C (processKeySym): change method of getting to the
16375 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16376 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16377 * BufferView_pimpl.[Ch]: here as private methods.
16379 2001-05-28 Juergen Vigna <jug@sad.it>
16381 * text.C (SetHeightOfRow): added the update() call again as it is
16382 needed to initialize inset dimensions!
16384 2001-05-16 Juergen Vigna <jug@sad.it>
16386 * text2.C (SetCharFont): Add new function with BufferView * and
16387 bool toggleall parameters for setting insets internal fonts.
16388 (SetFont): Freeze the undo as we may change fonts in Insets and
16389 all this change should be inside only one Undo!
16391 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16392 setting font's in insets as for them we have the SetFont function!
16394 2001-05-15 Juergen Vigna <jug@sad.it>
16396 * text2.C (ClearSelection): to be sure we REALLY don't have any
16399 * tabular.C (TeXCellPreamble): fixed the left border problem for
16402 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16404 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16407 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16409 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16410 LFUN_BREAKPARAGRAPH.
16412 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16413 help test to "internal only", similar for LFUN_INSERT_URL
16415 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16416 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16417 auto_region_delete and deadkeys.
16419 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16422 * LColor.C: remove some dead entries, tidy a little
16424 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16426 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16428 (Dispatch): implement LFUN_ESCAPE
16430 * commandtags.h: add LFUN_ESCAPE
16432 * LyXAction.C (init): add entry for LFUN_ESCAPE
16434 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16435 Remove commented code.
16436 (insertNote): moved here
16437 (open_new_inset): moved here
16439 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16442 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16444 * kbmap.C (findbinding): clean it up and make it work correctly.
16446 * lyx_main.C (init): do not pass argc and argv as parameters
16448 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16450 * buffer.C: fix path for OS/2 & Win32
16454 * lyx_main.C: Added os:: class.
16456 * os2_defines.h: update
16458 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16460 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16461 better by trying again with reduced state.
16463 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16465 * lyxrc.C (read): print error about invalid key sequence only when
16466 debugging (because not all latinX keysyms are known to some X
16469 * kbsequence.C (getiso): add a few std:: qualifiers
16470 (getiso): comment out extra return statement.
16472 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16474 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16476 (Dispatch): enhance the accent inset a bit. (not perfect)
16478 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16480 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16482 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16484 * bufferlist.C (emergencyWrite): fix assert() call
16486 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16488 * text.C (InsertChar): Added trivial patch to only send the "you
16489 can not do multiple spaces this way" message once during a
16492 2001-05-08 Baruch Even <baruch@lyx.org>
16494 * Makefile.am: Changed order of libraries to get LyX to link properly
16495 with the gnome frontend.
16497 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16499 * LaTeXFeatures.h: add a std:: qualifier
16501 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16503 * paragraph.C (String): use stringstream
16505 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16507 * paragraph.C (writeFile): remove footflag arg
16509 * buffer.C (makeLaTeXFile): use stringstream
16510 (latexParagraphs): remove footnot gurba
16512 * LaTeXFeatures.C (getPackages): use stringstream
16513 (getMacros): likewise
16514 (getTClassPreamble): likewise
16515 (getFloatDefinitions): new method
16517 * paragraph.C (writeFile): reindent
16520 * WorkArea.h: revert the xpos + etc changes.
16522 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16524 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16526 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16527 (pasteSelection): likewise
16528 * text2.C (CreateUndo): likewise
16530 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16532 * minibuffer.C (peek_event): temporarily reduce the functionality
16533 of the minibuffer (to allow args on lfuns)
16535 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16536 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16538 * buffer.C (readInset): add compability reading of old float
16539 lists, add reading of new style float list.
16540 (readInset): avoid reevaluation of inscmd.getCmdName()
16541 (getLists): reindent
16543 * MenuBackend.C (MenuItem): implement parsing of
16544 md_floatlistinsert and md_floatinsert.
16545 (expand::LastFiles): move initalizaton of iterators out of loop,
16546 avoid reevaluation.
16547 (expand::Documents): introduce typdedef vector<string> Strings,
16549 (expand::ExportFormats): introduce typedef vector<Format const *>
16550 Formats, and use it.
16551 (expand): implement FloatListInsert and FloatInsert.
16553 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16554 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16555 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16557 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16559 (Dispatch::LFUN_FLOAT_LIST): implement
16561 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16563 * LaTeX.C (run): Fix problem with --export code.
16565 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16567 * BufferView.[Ch] (workarea): removed.
16568 (getClipboard) new method; wrapper for workarea()->getClipboard()
16570 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16573 * WorkArea.h (width, height, xpos, ypos): These methods all
16574 returned the dimensions of the work_area sub-area of WorkArea,
16575 resulting in a position error if the WorkArea were resized. Now
16576 return the dimensions of the entire WorkArea.
16578 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16580 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16582 * LaTeX.C (deplog): correct the syntax of regex reg1
16584 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16586 * undo.C: remove !NEW_INSETS cruft
16588 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16590 * text2.C: remove !NEW_INSETS cruft
16592 * text.C: remove !NEW_INSETS cruft
16594 * tabular.C: remove !NEW_INSETS cruft
16596 * spellchecker.C: remove !NEW_INSETS cruft
16598 * lyxtext.h: remove !NEW_INSETS cruft
16600 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16602 * lyxfunc.C: remove !NEW_INSETS cruft
16604 * lyxfind.C: remove !NEW_INSETS cruft
16606 * lyx_cb.C: remove !NEW_INSETS cruft
16608 * figureForm.C: remove !NEW_INSETS cruft
16610 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16612 * buffer.[Ch]: remove !NEW_INSETS cruft
16614 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16616 * CutAndPaste.C: remove !NEW_INSETS cruft
16618 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16620 * BufferView2.C: remove !NEW_INSETS cruft
16622 * BufferView.h: remove !NEW_INSETS cruft
16624 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16626 * Lsstream.h: include LString.h before the sstream headers to
16627 fix problem with gcc 2.95.3 and lyxstring
16629 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16631 * lyx_main.C: add using directives when needed for C functions
16632 declared in std:: namespace.
16634 2001-04-27 Juergen Vigna <jug@sad.it>
16636 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16637 (SetHeightOfRow): comment out the update call should not be needed!
16639 2001-04-13 Juergen Vigna <jug@sad.it>
16641 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16642 (LyXTabular): tried to minimize operator= operations (and realized
16643 hopfully Lars wish).
16645 2001-04-27 Juergen Vigna <jug@sad.it>
16647 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16649 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16651 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16653 * buffer.C (readInset): hack to make listof algorithm work
16655 * BufferView_pimpl.C: hack to make listof algorithm work
16657 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16659 * LyXAction.C: removed all !NEW_INSETS cruft
16660 (init): moved lfun_item in method
16662 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16664 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16666 * BufferView2.C (theLockingInset): white space.
16668 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16670 * minibuffer.C: include <iostream>
16672 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16674 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16676 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16678 * text.[Ch] (TransposeChars): new method
16680 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16682 * call message directly through LyXView instead of through LyXFunc
16683 * BufferView2.C: adjust
16684 * BufferView_pimpl.C: adjust
16685 * FontLoader.C: adjust
16687 * bufferview_funcs.C: adjust
16688 * converter.C: adjust
16689 * figureForm.C: adjust
16690 * importer.C: adjust
16692 * lyx_gui_misc.C: adjust
16693 * lyxfunc.C: adjust
16696 + more files in subdirs
16698 * lyxparagraph.h (size): move up int file
16701 * adjust all uses of Assert to lyx::Assert.
16703 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16704 lyxfunctional in namespace lyx
16705 * layout.C (hasLayout): ditto
16708 (delete_layout): ditto
16709 (NumberOfClass): ditto
16710 * converter.C (GetFormat): ditto
16715 * bufferlist.C (getFileNames): ditto
16716 (emergencyWriteAll): ditto
16719 * MenuBackend.C (hasSubmenu): ditto
16722 * BufferView_pimpl.C (getInsetByCode): ditto
16724 2001-04-18 Juergen Vigna <jug@sad.it>
16726 * vspace.C (asLatexString): fixed the 100% problem.
16728 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16730 * lyxfunc.C (Dispatch):
16732 * minibuffer.h: add a few std:: qualifiers
16734 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16736 * minibuffer.[Ch]: reimplement so that commands is initiated and
16737 run from lyxfunc, simplified som handling, and made the completion
16738 and history code for complete. wip.
16740 * lyxfunc.C (processKeySym): call message
16741 (miniDispatch): new temporary method
16742 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16743 (LFUN_MESSAGE): implement
16744 (LFUN_MESSAGE_PUSH): implement
16745 (LFUN_MESSAGE_POP): implement
16746 (initMiniBuffer): the initial/defualt minibuffer message.
16748 * lyxfont.[Ch]: inline some more getters
16750 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16752 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16754 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16755 (AutoSave): use LFUN_MESSAGE
16756 (Reconfigure): ditto
16758 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16760 * figureForm.C: use LFUN_MESSAGE
16762 * converter.C (runLaTeX): use LFUN_MESSAGE
16764 * bufferview_funcs.C: use LFUN_MESSAGE
16766 (changeDepth): ditto
16768 * bufferparams.h: use boost::
16770 * bufferlist.h: inherit privately from noncopyable
16772 * bufferlist.C (loadLyXFile): remove some commented code.
16774 * buffer.C (runChktex): use LFUN_MESSAGE
16776 * ShareContainer.h: inherit privately from noncopyable
16778 * ParagraphParameters.[hC] (depth): inline it.
16780 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16782 (message): new method
16783 (messagePush): ditto
16784 (messagePop): ditto
16785 (show): init minibuffer
16786 (showState): direct call
16788 * LaTeX.[Ch]: inherit privately from noncopyable
16789 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16790 instead of WriteStatus.
16792 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16794 * BufferView_pimpl.C (buffer): don't init minibuffer
16795 (workAreaButtonPress): use LFUN_MESSAGE
16796 (workAreaButtonRelease): ditto
16797 (savePosition): ditto
16798 (restorePosition): ditto
16799 (MenuInsertLyXFile): ditto
16800 (workAreaExpose): don't init minibuffer
16801 (update): remove commented code, simplify
16803 * BufferView2.C (openStuff): use LFUN_MESSAGE
16804 (toggleFloat): ditto
16807 (copyEnvironment): ditto
16808 (pasteEnvironment): ditto
16813 (updateInset): remove some commented code
16815 * lastfiles.h: inherit privately from noncopyable
16818 * lyx_main.h: ditto
16820 * lyxlex_pimpl.h: ditto
16822 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16823 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16824 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16826 * LyXAction.h: inherit privately from noncopyable, add methods
16827 func_begin, func_end, returning iterators to the func map.
16829 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16830 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16831 (func_begin): new method
16832 (func_end): new method
16834 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16836 (copySelection): ditto
16837 (pasteSelection): ditto
16839 * BufferView.C: whitespace change
16840 * BufferView.h: inherit privately from noncopyable
16842 2001-04-16 Allan Rae <rae@lyx.org>
16844 * tabular-old.C (l_getline):
16845 * spellchecker.C (sc_check_word):
16846 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16847 an unrecognised preprocessor directive. So ensure they're wrapped.
16849 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16851 * src/exporter.C (Export): Give an error message when path to file
16854 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16856 * LaTeX.C (deplog): Always check that foundfile exists.
16858 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16861 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16863 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16865 * tabular.[Ch] (getLabelList): implement new method
16867 * minibuffer.h: comment ouf setTiimer
16869 * minibuffer.C (ExecutingCB): constify res
16870 (peek_event): constify s
16871 (Set): constify ntext
16872 (Init): constify nicename
16874 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16876 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16877 (savePosition): use two params to Minibuffer::Set
16878 (restorePosition): ditto
16880 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16882 * lyx_main.C: include language.h
16884 * Makefile.am (lyx_main.o): add language.h
16886 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16892 * CutAndPaste.C: include gettext.h
16894 * lyxfont.h: remove old hack with ON and OFF.
16897 * lyxfont.h: do not include language.h...
16902 * bufferview_funcs.C:
16908 * paragraph.C: ... but do it here instead
16910 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16912 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16914 * tabular.C: small reformat
16916 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16919 (BreakParagraph): ditto
16920 (SetOnlyLayout): ditto
16923 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16926 * lastfiles.C: removed most using decl, add std:: where needed
16928 * buffer.C: ws changes
16930 * MenuBackend.C (class compare_format): put into anon namespace
16931 (expand): constify label, names, action, action2
16934 * text.C (SingleWidth): constify font
16935 (IsBoundary): constify rtl2
16936 (GetVisibleRow): constify ww
16938 * LaTeX.C (deplog): constify logfile
16940 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16942 (workAreaExpose): constify widthChange, heightChange
16944 * lyxrow.C (par): moved
16947 * lyxrow.h: as inlines here
16949 * lyxfont.h (shape): moved from lyxfont.C
16950 (emph): moved from lyxfont.C
16952 * lyxfont.C (LyXFont): use initialization list for all
16954 (shape): move to lyxfont.h as inline
16955 (emph): move to lyxfont.h as inline
16958 2001-04-04 Juergen Vigna <jug@sad.it>
16960 * vspace.C: had to include stdio.h for use of sscanf
16962 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16965 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16966 independent of xforms.
16968 2001-04-02 Juergen Vigna <jug@sad.it>
16970 * spellchecker.C: fixed namespace placing!
16972 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16974 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16975 the LyXParagraph * is 0.
16977 2001-03-29 Juergen Vigna <jug@sad.it>
16979 * vspace.C: added support for %, c%, p%, l%.
16980 (stringFromUnit): added helper function.
16981 (asLatexString): changed to give right results for the %-values.
16983 * buffer.C: convert the widthp in a width%.
16985 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16987 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16990 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16991 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16993 * lyx_cb.[Ch]: see above.
16995 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16999 * lyx.[Ch]: replaced by figure_form.[Ch].
17003 * lyxfunc.C: changed headers associated with above changes.
17005 2001-03-27 Juergen Vigna <jug@sad.it>
17007 * BufferView_pimpl.C: set the temporary cursor right!
17009 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17011 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17013 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17015 * LString.h: removed "using std::getline"!
17017 * BufferView_pimpl.C (Dispatch): changes due to changes in
17018 InsetInclude::Params.
17020 * buffer.C (tag_name): removed redundant break statements as they were
17021 producing lots of warnings with my compiler.
17023 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17025 * LString.h: add "using std::getline" when using the real <string>.
17027 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17029 * buffer.C: removed bitset usage.
17030 PAR_TAG moved to an anonymous name space.
17031 (tag_name): new funtion, also in the anonymous namespace.
17032 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17033 (makeDocBookFile): clean code. Completed transition from string arrays
17035 (SimpleDocBookOnePar): code clean.
17037 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17039 * tabular.C: add some comments.
17041 2001-03-22 Juergen Vigna <jug@sad.it>
17043 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17044 compatibility read a bit and fixed bug with minipage in different
17047 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17049 * buffer.C (pop_tag): removed.
17050 (push_tag): removed.
17051 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17052 array replaced with vector. Added support for CDATA sections.
17053 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17055 (makeDocBookFile): XML conformant declaration of CDATA section,
17056 fixed bug related to <emphasis> in the first paragraph char.
17057 (sgmlOpenTag): exclude empty tags.
17058 (sgmlCloseTag): ditto.
17060 * buffer.h (pop_tag): removed.
17061 (push_tag): removed.
17063 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17065 * language.h (Languages): added size_type and size().
17067 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17069 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17070 response on compability reading of minipages. One probliem is that
17071 the old usage of minipages was «flertydig»
17073 * several files here and in subdirs: don't use static at file
17074 scope use anon namespaces instead.
17076 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17078 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17079 LaTeX output. This is necessary for Literate document
17082 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17084 * buffer.C: insert hfill when needed.
17086 * tabular.C (l_getline): use string::erase, small whitespace change.
17088 * BufferView_pimpl.C: try the anon namespace.
17089 * WorkArea.C: ditto
17091 2001-03-16 Juergen Vigna <jug@sad.it>
17093 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17094 otherwise it won't open options-dialogs.
17096 * buffer.C: honor pextraWidth(p) on converting minipages.
17098 * tabular.C (l_getline): changed the functions to strip trailing \r.
17100 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17102 * BufferView_pimpl.C:
17103 * minibuffer..C: added "using SigC::slot" declaration.
17105 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17107 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17113 * paragraph.C: ditto
17115 * lyxtext.h: NO_PEXTRA
17117 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17119 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17120 * ParameterStruct.h: ditto
17121 * ParagraphParameters.h: ditto
17122 * lyxparagraph.h: ditto
17124 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17126 * buffer.C: add compability for minipage alignment.
17127 (latexParagraphs): remove unwanted pextra check.
17129 * several files: remove CXX_WORKING_NAMESPACES
17131 * buffer.C (pop_tag): tie is in namespace boost
17133 * BufferView.h: noncopyable is in namespace boost
17135 * lyx_main.h: ditto
17138 * lastfiles.h: ditto
17139 * bufferlist.h: ditto
17140 * ShareContainer.h: ditto
17142 * LyXAction.h: ditto
17145 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17147 * Merging changes from BRANCH_MVC back into HEAD.
17149 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17151 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17153 * BufferView_pimpl.C: change from intl.C
17157 * Makefile.am: move combox.*
17163 * intl.C: remove dialog (covered by prefs)
17165 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17167 * lyxfunc.C (Dispatch): removed redundant break statement.
17169 2001-03-14 Juergen Vigna <jug@sad.it>
17171 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17173 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17175 * buffer.C: add hack to fix compability reading of minipages.
17177 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17179 * buffer.C (getLists): Cleanup.
17181 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17183 * lyxfont.C (update): don't honor toggleall on font size.
17185 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17189 * Makefile.am: moved to frontends/xforms/
17193 * BufferView_pimpl.C: changes for moved mathpanel
17195 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17197 * gettext.h: fix gettext_init() in --disable-nls
17199 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17201 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17203 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17206 * lyx.h: strip external form
17208 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17210 * BufferView_pimpl.C: add comment, destroySplash()
17212 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17214 * BufferView_pimpl.C:
17218 * lyxfunc.C: use re-worked insetinclude
17220 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17222 * buffer.C: add using std::stringstream.
17224 * lyx_cb.C: readd using std::ios.
17226 * buffer.C: add using std::map.
17228 * BufferView_pimpl.C: add using std::vector.
17230 * ShareContainer.h: add std:: to swap.
17232 * buffer.h: add some typedefs
17233 * buffer.C (getLists): use them
17234 (getLists): renamed from getTocList.
17235 add a counter for the different float types and use it in the
17237 (getLists): use the same counter for the NEW_INSETS and the "non"
17240 * lyx_cb.h: remove unused items, includes, using etc.
17242 * ShareContainer.h: remove some commented code, add more comments
17243 and "documentation".
17245 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17247 * buffer.C (getTocList): make the list also when NEW_INSETS is
17250 * buffer.h: remove TocType
17252 * buffer.C (getTocList): change to return a map<string,
17253 vector<TocItem> >, implement for dynamic number of list.
17255 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17256 * text2.C (PasteSelection): adjust
17257 * CutAndPaste.C (pasteSelection): adjust
17259 * FloatList.C (FloatList): update from the new_insets branch.
17260 * Floating.[Ch]: ditto
17261 * LaTeXFeatures.C: ditto
17263 * lyxlex_pimpl.C: ditto
17265 * paragraph.C (Last): remove when NEW_INSETS is defined.
17267 * other file: changes because of the above.
17269 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17271 * lyxparagraph.h: rename next to next_, previous to previous_,
17272 make them private for NEW_INSETS. Rename Next() to next(),
17273 Previous() to previous().
17275 * other files: changes because of the above.
17277 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17280 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17283 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17285 * main.C (main): pass lyx_localedir to gettext_init().
17287 * gettext.h: remove locale_init and gettext_init macros
17289 * gettext.C (locale_init): new function
17290 (gettext_init): new function
17292 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17295 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17297 * Moved credits to frontends:
17298 * credits.[Ch]: removed
17299 * credits_form.[Ch]: removed
17300 * lyx_gui_misc.C: remove credits stuff
17303 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17305 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17307 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17308 unneeded destructor.
17310 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17311 a standalone pointer again.
17313 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17315 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17321 * ToolbarDefaults.C:
17330 * BufferView_pimpl.C: use new file dialog in GUII
17333 * lyx_cb.C: remove LayoutsCB to Toolbar
17335 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17337 * ShareContainer.h (get): add std:: qualifier
17339 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17341 * ShareContainer.h: define a proper ShareContainer::value_type
17342 type (and use typename to please compaq cxx)
17344 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17346 * lyxparagraph.h: move serveral local vars to
17347 ParameterStruct/ParagraphParameters., use ShareContainer in
17348 FontTable., make vars in FontTable private and add getter and
17351 * paragraph.C: changes because of the above.
17353 * lyxfont.h: remove copy constructor and copy assignment. (the
17354 default ones is ok), move number inside FontBits. move inlines to
17357 * lyxfont.C: add number to initializaton of statics, move several
17358 inlines here. constify several local vars. some whitespace
17359 cleanup. Dont hide outerscope variables.
17361 * Spacing.h: add two new constructors to match the set methods.
17363 * ShareContainer.h: new file, will perhaps be moved to support
17365 * ParameterStruct.h: new file
17367 * ParagraphParameters.h: new file
17369 * ParagraphParameters.C: new file
17371 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17372 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17374 * BufferView_pimpl.C: ParagraphParameter changes.
17375 * buffer.C: Likewise.
17376 * bufferview_funcs.C: Likewise.
17377 * text.C: Likewise.
17378 * text2.C: Likewise.
17380 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17382 * lyxfind.C (LyXReplace): do not redefine default argument in
17384 (IsStringInText): ditto
17385 (SearchForward): ditto
17386 (SearchBackward): ditto
17388 2001-03-06 Juergen Vigna <jug@sad.it>
17390 * lyxfind.C (IsStringInText): put parentes around expressions.
17392 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17394 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17396 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17398 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17400 * stl_string_fwd.h: add comment
17402 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17405 * tabular.C: remove unused DocBook methods
17411 killed DO_USE_DEFAULT_LANGUAGE
17413 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17415 * lyx_gui.C: do not include language.h.
17417 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17418 arguments in function implementation.
17420 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17422 * BufferView_pimpl.C: add <ctime>
17424 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17426 * BufferView_pimpl.C: add using std::find_if
17428 2001-02-27 José Matos <jamatos@fep.up.pt>
17430 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17433 2001-02-11 José Matos <jamatos@fep.up.pt>
17435 * buffer.C (makeDocBookFile): command styles now have a parameter as
17436 "title" by default.
17438 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17440 * layout_forms.[Ch]: removed
17441 * lyx_cb.[Ch]: out character
17442 * lyx_gui.C: out character
17443 * lyx_gui_misc.C: out character
17444 * bufferview_funcs.C: : out character,
17445 added toggleall as parameter in ToggleAndShow
17447 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17449 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17451 * text2.C (SetCurrentFont): Disable number property at boundary.
17453 2001-02-26 Juergen Vigna <jug@sad.it>
17455 * lyxfunc.C (getStatus): added a string argument override function so
17456 that this is correctly called from LyXFunc::Dispatch if it contains a
17457 do_not_use_argument which is used!
17458 (Dispatch): added check for "custom" export and call appropriate func.
17460 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17462 * lyxrc.C: Add language_command_local, language_use_babel and
17463 language_global_options.
17465 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17467 * buffer.C (makeLaTeXFile): Use language_use_babel and
17468 language_global_options.
17470 2001-02-23 Juergen Vigna <jug@sad.it>
17472 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17473 which works with LyXText and putted it inside BufferView. Here now we
17474 only call for that part the BufferView::Dispatch() function.
17476 * BufferView.C (Dispatch): added.
17478 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17479 functions which needs to use a LyXText over from LyXFunc.
17480 (MenuInsertLyXFile): added
17481 (getInsetByCode): added
17482 (moveCursorUpdate): added
17483 (static TEXT): added
17485 2001-02-22 Juergen Vigna <jug@sad.it>
17487 * BufferView_pimpl.C (update): call a status update to see if LyXText
17490 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17492 * vc-backend.C (revert): implement for CVS
17493 (getLog): implement for CVS
17495 2001-02-20 Juergen Vigna <jug@sad.it>
17497 * text2.C (ClearSelection): added BufferView param for inset_owner call
17499 * lyxfunc.C (TEXT): added this function and use it instead of
17500 directly owner->view()-text of getLyXText().
17502 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17504 * src/layout_forms.C: out preamble
17505 * src/layout_forms.h: out preamble
17506 * src/lyx_cb.C: out preamble
17507 * src/lyx_cb.h: out preamble
17508 * src/lyx_gui.C: out preamble
17509 * src/lyx_gui_misc.C: out preamble
17510 * src/lyxfunc.C: connect with guii preamble
17512 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17514 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17516 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17518 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17519 whether to run bibtex.
17521 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17523 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17525 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17527 * Makefile.am (lyx_SOURCES): removed bibforms.h
17529 * vspace.h: doxygen
17531 * text.C (GetVisibleRow): make several local vars const
17533 * tabular.C: small cleanup.
17535 * lyxserver.C (callback): use compare instead of strncmp
17537 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17538 inlines to after class or to paragraph.C
17540 * lyxfont.h: remove friend operator!=
17542 * converter.h: move friend bool operator< to non friend and after
17545 * combox.h: small cleanup
17547 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17548 to inlines after class def.
17550 * buffer.C (pop_tag): use string operations instead of strcmp
17552 * bmtable.c: doxygen, small cleanup
17554 * LaTeX.h: remove friend operator==
17556 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17568 * BufferView_pimpl.C:
17569 * BufferView.[Ch]: remove cruft
17571 2001-02-14 Juergen Vigna <jug@sad.it>
17573 * lyxfunc.C: removed #if 0 unused code
17575 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17577 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17579 * text2.C (SetSelection): added a BufferView * parameter
17581 2001-02-13 Juergen Vigna <jug@sad.it>
17583 * lyxfunc.C (Dispatch): fixed protected blank problem.
17584 * BufferView2.C (protectedBlank): added LyxText * parameter.
17586 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17587 (AppendColumn): same as above for column_info.
17589 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17590 (moveCursorUpdate): use a LyXText param for support of InsetText.
17592 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17593 (tripleClick): ditto
17595 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17597 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17599 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17601 * text2.C (SetSelection): set correct update status if inset_owner
17602 (ToggleFree): ditto
17604 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17606 * tabular.C: remove some commented code.
17608 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17610 * BufferView_pimpl.C: call hideSplash()
17612 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17615 * bibforms.h: remove
17618 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17619 add LFUN_CHILD_CREATE
17621 * counters.h: fix tiny typo
17626 * lyx.C: move splash to frontends/xforms/
17628 * lyx_gui_misc.C: move Include and Bibform to frontends
17630 * lyxvc.h: clarify comment
17632 * vspace.C: tiny housekeeping
17634 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17636 * text.C (PrepareToPrint): RTL Fix.
17638 * paragraph.C (GetUChar): New method.
17639 (String): Use GetUChar.
17641 * buffer.C (asciiParagraph): Use GetUChar.
17643 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17645 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17647 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17650 * buffer.C: rename to getLogName(), handle
17651 build log / latex log nicely
17653 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17656 * MenuBackend.h: remove support for reference menuitem type.
17658 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17660 * BufferView_pimpl.C: housekeeping
17661 * BufferView_pimpl.h:
17666 * minibuffer.h: move Timeout GUI-I
17668 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17670 * lyxrc.C (read): Update converters data-structures.
17672 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17674 * LaTeX.h (operator!=): add operator != for Aux_Info
17676 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17678 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17680 * LaTeXLog.C: deleted, useful code moved to Buffer
17683 * buffer.C: new function getLatexLogName()
17689 * lyxfunc.C: use frontends for LaTeX and VC logs
17691 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17693 * LaTeX.h: yet another std:: that Allan forgot.
17695 * Variables.C (set): renamed from isset(), because this clashes
17696 with some HP-UX macros (grr).
17698 2001-02-06 Allan Rae <rae@lyx.org>
17700 * LaTeX.h: Another bug fix. Missing std:: this time.
17702 2001-02-04 Allan Rae <rae@lyx.org>
17704 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17705 floats problem. I've left it commented out because it's not quite
17706 correct. It should also test that the current object is a table or
17707 figure inset. But I haven't gotten around to figuring out how to do
17708 that. I *think* it'll be something like: "table" == inset.type()
17710 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17713 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17715 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17716 all the citation/databases/styles in the auxilary file.
17717 (run): Rerun latex if there was a babel language error.
17719 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17721 * text.C (Backspace): Preserve the font when changing newline char
17723 (BreakParagraph): If the cursor is before a space, delete the space.
17725 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17727 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17729 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17730 new argument (code).
17731 (ChangeCitationsIfUnique): New method.
17733 * paragraph.C (GetPositionOfInset): Handle bibkey.
17735 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17737 * BufferView_pimpl.h: change type of Position::par_pos to
17738 LyXParagraph::size_type.
17740 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17742 * BufferView_pimpl.C (savePosition, restorePosition): Write
17743 messages to minibuffer.
17745 2001-01-28 José Matos <jamatos@fep.up.pt>
17747 * buffer.C (makeDocBookFile): adds support for document language.
17748 A silly restriction on the name of LatexCommand types where removed.
17749 Added support for CDATA sections, allows to chars unescaped, used
17750 among others in code, to avoid escape < and >.
17752 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17754 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17755 saved positions instrad of a stack. Furthermore, a position is
17756 stored using paragraph id/paragraph position.
17758 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17759 Remove LFUN_REF_BACK.
17761 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17763 * converter.C (dvipdfm_options): New method.
17765 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17767 * vspace.C (isValidLength): Fix for empty input string.
17769 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17771 * LyXAction.C (init): change description of LFUN_FIGURE to
17774 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17776 * LaTeX.C: add using directive
17778 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17780 * MenuBackend.C (expand): Fix the sorting of the formats.
17782 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17784 * lyx_main.C: tiny error message fix
17786 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17788 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17789 calling fl_initialize(). This fixes the problem with ',' as
17790 decimal separator in text files.
17792 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17794 * trans.C (process): Fix the keymap bug.
17796 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17798 * LaTeX.C (scanAuxFiles): New method. Provides support for
17799 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17800 (scanLogFile) Scan for "run BibTeX" messages.
17802 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17803 OT1 font encoding. Also, load the aecompl package if the ae
17806 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17808 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17810 * texrow.C (increasePos): turn two error messages into debug
17813 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17815 * LaTeX.C (scanAux): Handle the \@input macro.
17816 (runBibTeX): Use scanAux().
17818 * language.C (latex_options_): New field.
17820 * LaTeXFeatures.C (getMacros): Add language macros.
17822 * buffer.C (makeLaTeXFile): Small fix.
17824 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17826 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17828 * text2.C: add a using directive.
17830 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17835 * lyxfunc.C: kill LyXBell.
17837 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17839 * text.C (IsBoundary): Remove the error message
17841 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17843 * lyxrc.C (setDefaults): Correct initialization value for
17846 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17848 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17851 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17852 and GotoNextNote().
17854 * src/LyXAction.C: Added reference-next.
17856 * text.C (InsertChar): Use contains instead of strchr.
17858 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17860 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17862 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17863 alignment commands (when needed).
17865 * text.C (InsertChar): Add ':' to number separator chars.